/* Magazin-Hub / Ausgabe — Portal-Erweiterung */
.mag-hub-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .mag-hub-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }
}
.mag-hub-copy h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
  font-weight: var(--heading-weight, 700);
}
.mag-issue-meta {
  font-weight: 700;
  color: var(--portal-accent, #c41e3a);
  margin: 0 0 0.6rem;
}
.mag-cta-row {
  margin-top: 1rem;
  flex-wrap: wrap;
}
.mag-epaper-lock-note {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  line-height: 1.45;
}
.mag-hub-copy .share-bar,
.mag-issue-page .share-bar {
  margin-top: 1.1rem;
}

/* Hover nie weiss-auf-weiss (überschreibt globale a:hover / btn-ghost) */
.mag-hub a.btn:not(.btn-ghost),
.mag-issue-page a.btn:not(.btn-ghost),
.portal-mag a.btn:not(.btn-ghost) {
  background: #0f2744;
  border: 1px solid #0f2744;
  color: #fff;
}
.mag-hub a.btn:not(.btn-ghost):hover,
.mag-hub a.btn:not(.btn-ghost):focus-visible,
.mag-issue-page a.btn:not(.btn-ghost):hover,
.mag-issue-page a.btn:not(.btn-ghost):focus-visible,
.portal-mag a.btn:not(.btn-ghost):hover,
.portal-mag a.btn:not(.btn-ghost):focus-visible {
  background: #0f2744;
  border-color: #0f2744;
  color: #fff;
}
.mag-hub a.btn.btn-ghost,
.mag-issue-page a.btn.btn-ghost,
.portal-mag a.btn.btn-ghost {
  background: #fff;
  border: 1px solid #d7d2c8;
  color: #0f2744;
}
.mag-hub a.btn.btn-ghost:hover,
.mag-hub a.btn.btn-ghost:focus-visible,
.mag-issue-page a.btn.btn-ghost:hover,
.mag-issue-page a.btn.btn-ghost:focus-visible,
.portal-mag a.btn.btn-ghost:hover,
.portal-mag a.btn.btn-ghost:focus-visible {
  background: #0f2744;
  border-color: #0f2744;
  color: #fff;
}
.mag-archive-card:hover {
  color: inherit;
}
.mag-archive-card:hover strong,
.mag-archive-card:hover .mag-archive-title {
  color: #8a7020;
}
.mag-cover-link:hover {
  opacity: 0.96;
}
.mag-hub-cover img,
.mag-cover-link img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 210 / 297;
  object-fit: cover;
  display: block;
  border: 1px solid color-mix(in srgb, var(--portal-ink, #121820) 12%, transparent);
  box-shadow: 0 12px 28px rgba(13, 19, 28, 0.14);
  background: #f3f4f6;
}
.mag-cover-link { display: inline-block; max-width: 100%; }
.mag-cover-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 210 / 297;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0f2744, #0f2744);
  color: #fff;
  font-weight: 700;
  padding: 1rem;
  text-align: center;
}
.mag-cover-placeholder-sm { max-width: none; min-height: 0; }
.mag-empty { margin-top: 0.8rem; }
.mag-about-text {
  max-width: 42rem;
  line-height: 1.55;
}
.mag-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
@media (min-width: 700px) {
  .mag-archive-grid {
    /* Immer 4 Magazine pro Reihe, nächste Reihe wieder 4, … */
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .mag-archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}
.mag-archive-card {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.mag-archive-card strong,
.mag-archive-card .mag-archive-title {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  font-family: var(--sans, system-ui, sans-serif);
}
.mag-archive-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef0f3;
  border: 1px solid var(--line, #e2e5ea);
  border-radius: 6px;
}
.region-mag-archive .mag-archive-cover,
.region-mag-archive .region-mag-cover {
  aspect-ratio: 3 / 4;
}
.region-mag-archive .region-mag-cover img {
  object-fit: contain;
}
.mag-archive-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mag-ads-cta { max-width: 40rem; }

.portal-mag-cover {
  aspect-ratio: 210 / 297;
  max-width: 220px;
  overflow: hidden;
  background: #eef0f3;
  border: 1px solid var(--line, #e2e5ea);
}
.portal-mag-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-mag.has-cover {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 700px) {
  .portal-mag.has-cover {
    grid-template-columns: 1fr 220px;
  }
}
/* Mobile: Cover volle Wrap-Breite, CTAs gestapelt */
@media (max-width: 699px) {
  .portal-mag.has-cover {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .portal-mag-cover {
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }
  .portal-mag .portal-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .portal-mag .portal-cta-row .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.region-mag-coming-soon-text {
  text-align: center;
  max-width: 28rem;
  margin: 1.25rem auto;
  font-size: 1.05rem;
}
.region-mag-preview-banner {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  background: #fff3cd;
  color: #5c4a00;
  border-radius: 8px;
  text-align: center;
}
