/* =====================================================================
   Entwurf 2 — Magazin-Sektion: Masthead, Featured-Article, Artikel-Grid.
   Portiert aus mockups/entwurf-2/assets/css/site.css (Abschnitt 9).
   ===================================================================== */

/* ---------- Artikel-Masthead ---------- */
.entwurf2 .masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--navy);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.entwurf2 .masthead__label {
  font-family: var(--f-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.entwurf2 .masthead__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw + 0.4rem, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
  margin: 0;
}

.entwurf2 .masthead__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--water);
}

.entwurf2 .masthead__meta {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-align: right;
}

.entwurf2 .masthead__meta a {
  color: var(--water);
  font-weight: 700;
  border-bottom: 1px solid currentcolor;
  padding-bottom: 1px;
}

.entwurf2 .masthead__meta a:hover {
  color: var(--red);
}

/* ---------- Featured Article ---------- */
.entwurf2 .featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (width <= 880px) {
  .entwurf2 .featured {
    grid-template-columns: 1fr;
  }
}

.entwurf2 .featured__visual {
  position: relative;
}

.entwurf2 .featured__img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--water-100);
  border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgb(10 44 78 / 0.4);
  overflow: hidden;
}

/* Beitragsbild des Featured-Artikels (the_post_thumbnail) — füllt den
   Container; ohne Bild bleibt der hellblaue Platzhalter sichtbar. */
.entwurf2 .featured__img-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entwurf2 .featured__caption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.015em;
  font-style: italic;
  padding-left: 0.85rem;
  position: relative;
}

.entwurf2 .featured__caption::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--water);
  font-style: normal;
}

.entwurf2 .featured__body {
  padding-top: 0.5rem;
}

.entwurf2 .article-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.entwurf2 .article-meta .cat {
  color: var(--water);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.entwurf2 .article-meta .sep {
  color: var(--line);
}

.entwurf2 .featured__headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.4vw + 0.5rem, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.entwurf2 .featured__sub {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.6vw + 0.7rem, 1.2rem);
  line-height: 1.35;
  color: var(--water-700);
  margin: 0 0 1.1rem;
  font-style: italic;
}

.entwurf2 .featured__lede {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1rem;
  font-weight: 500;
}

.entwurf2 .featured__body p:not(.featured__lede, .featured__sub) {
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.entwurf2 .featured__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--water);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--water);
  transition:
    gap 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.entwurf2 .featured__more:hover {
  gap: 0.9rem;
  color: var(--red);
  border-color: var(--red);
}

/* ---------- Artikel-Grid ---------- */
.entwurf2 .article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

@media (width <= 880px) {
  .entwurf2 .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 600px) {
  .entwurf2 .article-grid {
    grid-template-columns: 1fr;
  }
}

.entwurf2 .article-card {
  display: block;
  position: relative;
  transition: transform 0.35s var(--ease);
}

.entwurf2 .article-card:hover {
  transform: translateY(-3px);
}

.entwurf2 .article-card__img {
  aspect-ratio: 5 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--water-100);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.entwurf2 .article-card__img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--water-100);
  transition: transform 1.2s var(--ease);
}

/* Beitragsbild der Karte (the_post_thumbnail) — füllt den Container;
   ohne Bild bleibt der hellblaue Platzhalter (__img-inner) sichtbar. */
.entwurf2 .article-card__img-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.entwurf2 .article-card:hover .article-card__img-inner,
.entwurf2 .article-card:hover .article-card__img-photo {
  transform: scale(1.05);
}

.entwurf2 .article-card__headline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 0.5vw + 0.7rem, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 0.55rem;
  transition: color 0.25s var(--ease);
}

.entwurf2 .article-card:hover .article-card__headline {
  color: var(--water);
}

.entwurf2 .article-card__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

.entwurf2 .article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--water);
  transition:
    gap 0.25s var(--ease),
    color 0.25s var(--ease);
}

.entwurf2 .article-card:hover .article-card__more {
  gap: 0.7rem;
  color: var(--red);
}
