/* Braker Zeitung · redaktioneller Artikelkopf v1 · 19.08.2026
   Ziel: klare mobile Zeitungs-Hierarchie ohne neue Inhaltssektionen.
   Bestehende Elemente werden nur neu angeordnet: Kicker > Titel > Vorspann > Meta > Aufmacherbild > Text.
*/

/* Artikelkopf liegt bei den modernisierten Artikeln direkt im article-shell. */
.article-shell > .kicker,
.article-shell > h1,
.article-shell > .dek,
.article-shell > .meta,
.article-shell > .update-strip {
  margin-left: clamp(28px, 4.8vw, 64px) !important;
  margin-right: clamp(28px, 4.8vw, 64px) !important;
  max-width: 980px;
}

.article-shell > .kicker {
  margin-top: clamp(34px, 4.5vw, 54px) !important;
  margin-bottom: 12px !important;
}

.article-shell > h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 980px !important;
  font-size: clamp(2.55rem, 4.5vw, 4.8rem) !important;
  line-height: .99 !important;
  letter-spacing: -.042em !important;
  text-wrap: balance;
  hyphens: auto;
}

.article-shell > .dek {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  max-width: 900px !important;
  color: #293845 !important;
  font-size: clamp(1.18rem, 1.75vw, 1.5rem) !important;
  line-height: 1.46 !important;
  font-weight: 620 !important;
}

.article-shell > .meta {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  max-width: 900px !important;
  gap: 7px 14px !important;
  line-height: 1.45 !important;
}

.article-shell > .meta span:not(:last-child)::after {
  content: "·";
  display: inline-block;
  margin-left: 14px;
  color: #9aa5ad;
}

.article-shell > .update-strip {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.article-shell > .hero-image {
  margin-top: clamp(28px, 3.5vw, 42px) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-shell > .hero-image img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

/* Nach dem Aufmacher beginnt der eigentliche Lesebereich ohne zweiten großen Leerraum. */
.article-main {
  padding-top: clamp(30px, 3.2vw, 44px) !important;
}

.article-main > .article-body {
  margin-top: 0 !important;
}

@media (max-width: 859px) {
  .article-hero {
    padding-top: 8px !important;
  }

  .article-hero > .wrap {
    width: 100% !important;
  }

  .article-shell {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }

  .article-shell > .kicker,
  .article-shell > h1,
  .article-shell > .dek,
  .article-shell > .meta,
  .article-shell > .update-strip {
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: none !important;
  }

  .article-shell > .kicker {
    margin-top: 28px !important;
    margin-bottom: 10px !important;
    font-size: 10.5px !important;
    letter-spacing: .13em !important;
  }

  .article-shell > h1 {
    font-size: clamp(2.15rem, 10vw, 2.85rem) !important;
    line-height: 1.015 !important;
    letter-spacing: -.038em !important;
    text-wrap: pretty;
  }

  .article-shell > .dek {
    margin-top: 18px !important;
    font-size: clamp(1.12rem, 4.7vw, 1.28rem) !important;
    line-height: 1.48 !important;
    font-weight: 570 !important;
  }

  .article-shell > .meta {
    margin-top: 18px !important;
    font-size: 12.5px !important;
    color: #66727c !important;
  }

  .article-shell > .hero-image {
    margin-top: 26px !important;
  }

  .article-shell > .hero-image img {
    aspect-ratio: 16 / 10 !important;
  }

  .article-main {
    padding: 28px 20px 26px !important;
  }

  .article-main > .article-body p {
    font-size: 17.5px !important;
    line-height: 1.7 !important;
  }

  .article-sidebar {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 520px) {
  .article-hero {
    padding-top: 0 !important;
  }

  .article-shell > .kicker,
  .article-shell > h1,
  .article-shell > .dek,
  .article-shell > .meta,
  .article-shell > .update-strip {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .article-shell > .kicker {
    margin-top: 24px !important;
  }

  .article-shell > h1 {
    font-size: clamp(2.08rem, 10.4vw, 2.7rem) !important;
    line-height: 1.02 !important;
  }

  .article-shell > .dek {
    font-size: 1.12rem !important;
    line-height: 1.5 !important;
  }

  .article-shell > .meta {
    display: block !important;
    line-height: 1.55 !important;
  }

  .article-shell > .meta span {
    display: inline !important;
  }

  .article-shell > .meta span:not(:last-child)::after {
    margin-left: 7px;
    margin-right: 7px;
  }

  .article-shell > .hero-image {
    margin-top: 22px !important;
  }

  .article-shell > .hero-image img {
    aspect-ratio: 4 / 3 !important;
  }

  .photo-credit {
    padding: 9px 18px 11px !important;
  }

  .article-main {
    padding: 24px 18px 24px !important;
  }

  .article-main > .article-body p {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }

  .article-sidebar {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Sonderfälle aus älteren Artikellayouts: gleiche Hierarchie, ohne Inhalte umzubauen. */
.article-shell > .lead {
  margin-left: clamp(28px, 4.8vw, 64px) !important;
  margin-right: clamp(28px, 4.8vw, 64px) !important;
  max-width: 900px !important;
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  color: #293845 !important;
  font-size: clamp(1.18rem, 1.75vw, 1.5rem) !important;
  line-height: 1.46 !important;
  font-weight: 620 !important;
}

.article-shell > .hero {
  margin-top: clamp(28px, 3.5vw, 42px) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-shell > .hero img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.article-shell > .hero-image--party-logo img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

.article-inner > .body {
  margin-top: 0 !important;
}

@media (max-width: 859px) {
  .article-shell > .lead {
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: none !important;
    margin-top: 18px !important;
    font-size: clamp(1.12rem, 4.7vw, 1.28rem) !important;
    line-height: 1.48 !important;
    font-weight: 570 !important;
  }

  .article-shell > .hero {
    margin-top: 26px !important;
  }

  .article-shell > .hero img {
    aspect-ratio: 16 / 10 !important;
  }

  .article-inner {
    width: auto !important;
    margin: 0 !important;
    padding: 28px 20px 26px !important;
  }

  .article-inner > .body {
    font-size: 17.5px !important;
    line-height: 1.7 !important;
  }
}

@media (max-width: 520px) {
  .article-shell > .lead {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 1.12rem !important;
    line-height: 1.5 !important;
  }

  .article-shell > .hero {
    margin-top: 22px !important;
  }

  .article-shell > .hero img {
    aspect-ratio: 4 / 3 !important;
  }

  .article-inner {
    padding: 24px 18px !important;
  }

  .article-inner > .body {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
}
