/* Custom CSS für Wüsten-Thema */

/* Rakkas, locally hosted under the SIL Open Font License (see fonts/rakkas). */
@font-face {
  font-family: "Rakkas";
  src: url("../fonts/rakkas/Rakkas-Regular.31e6baa7bce2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Hintergrundbild */
body {
  background-image: url("../images/wueste-hintergrund.fbdf4b7b9830.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* Navbar-Styling */
.navbar {
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar-brand {
  color: #fff;
  font-weight: bold;
}

.navbar-nav .nav-link {
  color: #fff;
}

.navbar-nav .nav-link:hover {
  color: #ffcc00;
}

/* Hero-Bereich */
.hero {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3em 0;
  text-align: center;
}

.hero .container {
  background-image: url("../images/wueste-hintergrund.fbdf4b7b9830.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero .container.presse {
  background-image: url("../images/wueste-hintergrund-2.ee3b862e9f2e.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero .container.moschee {
  background-image: url("../images/sunset-3169556_640.9a0ce3a90baf.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero .container.stadt {
  background-image: url("../images/morocco-2349647_640.21605c23fe5e.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero .container p {
}


.hero .hero-title {
  color: white;
  text-shadow: 2px 2px 4px black;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  color: #000000;
  text-shadow: 2px 2px 4px white;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero .hero-cta {
  background-color: #ffcc00;
  color: #000;
  border-color: #ffcc00;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
}

.hero .hero-cta:hover {
  background-color: #fff;
  color: #000;
}

/* Hauptinhalt */
.main-content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px 0;
  text-align: center;
}

/* Keep long articles readable even on wide desktop screens. */
.main-content > .container {
  max-width: 48rem;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.main-content a {
  color: #87401f;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.main-content a:visited {
  color: #70443b;
}

.main-content a:hover,
.main-content a:focus-visible {
  color: #57270f;
  text-decoration-thickness: 2px;
}

.main-content a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.main-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Semantic headings keep the established visual hierarchy. */
.main-content h1, .main-content .section-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}
.main-content .article-detail h1,
.main-content .page-subtitle {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.main-content .article-subtitle {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 18px;
}
.article-list { text-align: left; padding-left: 1.5rem; }
.article-list li { margin-bottom: 1rem; }
.main-content h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.main-content h4 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 18px;
}

.main-content p {
  font-size: 16px;
  margin-bottom: 30px;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-content figcaption {
  font-style: italic;
}

/* Footer-Styling */
.footer {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 0;
  text-align: center;
}

.footer p {
  color: #fff;
  font-size: 14px;
}


/* Body headings use their actual semantic level in editor, storage and output. */
.main-content .article-content h2 { font-size: 24px; font-weight: bold; margin-bottom: 20px; }
.main-content .article-content h3 { font-size: 20px; font-weight: bold; margin-bottom: 18px; }
.main-content .article-content h4 { font-size: 18px; font-weight: bold; margin-bottom: 16px; }
.main-content .article-content h5 { font-size: 17px; font-weight: bold; margin-bottom: 14px; }
.main-content .article-content h6 { font-size: 16px; font-weight: bold; margin-bottom: 12px; }

/* Rakkas provides one regular weight; avoid synthesized bold headings. */
.hero .hero-title,
.hero .hero-subtitle,
.main-content .page-subtitle,
.main-content .article-subtitle,
.main-content :is(h1, h2, h3, h4, h5, h6, .section-title),
.main-content .article-detail h1,
.main-content .article-content :is(h2, h3, h4, h5, h6) {
  font-family: "Rakkas", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.3;
}

.hero .hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
}
