/* === WYŁĄCZENIE PODKREŚLENIA DLA TYTUŁU STRONY W NAGŁÓWKU === */
.container-header .site-title a,
.container-header .brand a {
  text-decoration: none !important;
}

.container-header .site-title a:hover,
.container-header .brand a:hover {
  text-decoration: none !important;  /* brak podkreślenia po najechaniu */
  color: #fff !important;            /* pozostaje biały */
}
/* === NAGŁÓWEK === */
.container-header {
  background-color: #A25138;
  background-image: url('/images/brick.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* === KOLORY GLOBALNE === */
:root {
  --cassiopeia-color-primary: #A25138;
  --cassiopeia-color-primary-hover: #993333;
  --cassiopeia-color-primary-contrast: #ffffff;
}

/* === TŁO STRONY === */
body {
  background-color: #f6f6f6;
}

/* === BOCZNE KOLUMNY === */
.grid-child {
  background: none !important;
  padding: 1rem;
}

/* === NAGŁÓWKI ARTYKUŁÓW === */
h2, h3, .page-header h2 a {
  color: #A25138 !important;
}

.page-header h2 a:hover {
  color: #993333 !important;
}

/* === STOPKA === */
.footer {
  background-color: #A25138;
  background-image: url('/images/brick.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* === LINKI W STOPCE === */
.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer a:hover {
  color: #ffd2b1;
}

/* === MENU ROZWIJANE (PODPOZYCJE) === */
.mod-menu .nav-item .dropdown-menu {
  background-color: rgba(178, 34, 34, 0.95);
  background-image: url('/images/brick.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.mod-menu .nav-item .dropdown-menu a.dropdown-item {
  color: #fff !important;
  padding: 0.6rem 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.mod-menu .nav-item .dropdown-menu a.dropdown-item:hover,
.mod-menu .nav-item .dropdown-menu a.dropdown-item:focus {
  background-color: rgba(139, 26, 26, 0.9) !important;
  color: #fff !important;
}

.mod-menu .nav-item .dropdown-menu .active > a {
  background-color: rgba(153, 51, 51, 0.95) !important;
  color: #fff !important;
}

/* === KOLORY LINKÓW (GLOBALNIE, POZA STOPKĄ I MENU) === */
a,
a:link {
  color: #A25138;
  text-decoration: none;
}

a:hover {
  color: #7C3D2B; /* lekko ciemniejszy ceglasty */
  text-decoration: underline;
}

a:visited {
  color: #8C4631; /* przygaszony, ale nadal ceglasty */
}

/* wyjątek — nie zmieniaj linków w stopce ani menu */
.footer a,
.container-header a,
.mod-menu a {
  color: inherit !important;
}
