body {
  font-family: 'Brygada 1918', serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Caladea', serif;
  color: #A40000;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

header {
  position: relative;
  background-color: #2E2E2E;
  color: #FFFFFF;
  padding: 1.5rem 1rem;
  text-align: center;
  overflow: hidden;
  line-height: 1.2;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/naglowek.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
  z-index: 0;
}


header h1 {
  position: relative;
  z-index: 1; /* tekst nad tłem */
  font-size: 3.55rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

header .subtitle {
  position: relative;
  z-index: 1; /* tekst nad tłem */

}

header .motto {
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
//  color: #ffecd2; /* jasny kontrast na tle #2E2E2E */
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1; /* tekst nad tłem */
}


footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover,
footer a:focus {
  color: #fff;
//  text-decoration: underline;
  outline: 2px solid #ffcc00;
  outline-offset: 3px;
  background-color: #444;
  border-radius: 4px;
}

footer i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}


footer {
  background: #2E2E2E;
  color: #FFFFFF;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}


.subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-weight: bold;
  border: none;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
}








#menu-toggle {
  display: none;
  background-color: #007b5e;
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
}

#menu-toggle:focus {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}

nav ul.nav-menu {
  background-color: #2E2E2E;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  margin: 0;
  padding: 0.5rem;
}

nav ul.nav-menu li {
  margin: 0 1rem;
}

nav ul.nav-menu a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

nav ul.nav-menu a:focus,
nav ul.nav-menu a:hover {
  outline: 2px solid #ffcc00;
  background-color: #444444;
  color: #fff;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 2rem;
}





@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    margin: 1rem auto;
    width: 100%;
    text-align: left;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    display: none;
    text-align: center;
    background-color: #2E2E2E;
    padding: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 0.5rem 0;
  }
}

a:focus, button:focus {
  outline: 3px solid #ffcc00;
  outline-offset: 3px;
  background-color: #fff6c1;
  color: #000;
}


depart {
//  max-width: 900px;
//  margin: 0rem auto;
//  font-family: 'Brygada 1918', serif;
//  color: #000;
//  padding: 0 1rem;
border: 1px solid;
}




article {
  max-width: 900px;
  margin: 2rem auto;
  margin-top: 0;
  font-family: 'Brygada 1918', serif;
  color: #000;
  padding: 1rem;

}



article .linie-top,
article .linie-under-h1,
article .linie-under-h2 {
  border: none;
  border-top: 1px solid #000;
  margin: 0rem 0;
}



article .intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-direction: row;
}

article .intro img {
  width: 350px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #000;
}

article .intro-text {
  flex: 1;
  min-width: 200px;
}


article .intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

article h1 {
  color: #8B0000;
  font-variant: small-caps;
  font-size: 4.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

article h2 {
  color: #8B0000;
  font-variant: small-caps;
  font-size: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 0.3rem;
}

article h3.depart {
  color: #000000;
  font-variant: small-caps;
  text-align: left;
  font-size: 2.0rem;
  margin-top: 0rem;
  margin-bottom: 0rem;

}
article h3 {
  color: #8B0000;
  font-variant: small-caps;
  text-align: center;
  font-size: 2.0rem;
  margin-top: 3rem;
  margin-bottom: 0.3rem;
}

article p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.75rem 0;
}

article h3 + p {
  font-size: 1.1rem;
//  background-color: #f4f4f4;
  padding: 1rem;
  border-left: 4px solid #8B0000;
//  font-style: italic;
  margin-top: 1rem;
}

article blockquote {
  font-size: 1.1rem;
  background-color: #f4f4f4;
  padding: 1rem;
  border-left: 4px solid #8B0000;
  font-style: italic;
  margin-top: 1rem;
}

article p.author {
  font-size: 0.5rem;
  line-height: 1.6;
  margin: 0.75rem 0;
}


.czytaj-wiecej-link {
  font-weight: 600;
  font-size: 1rem;
  color: #8B0000;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease-in-out;
}

.czytaj-wiecej-link:hover,
.czytaj-wiecej-link:focus {
  color: #a60000;
  outline: 2px solid #ffcc00;
  outline-offset: 3px;
}



