/* ========================================================
   Netoutsource – Magazin-Design
   ======================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }

html, body { overflow-x: hidden; }
body { width: 100%; }

:root {
  --ink:       #0f172a;
  --ink2:      #1e293b;
  --muted:     #64748b;
  --muted2:    #94a3b8;
  --border:    #e2e8f0;
  --bg:        #ffffff;
  --bg2:       #f8fafc;
  --bg3:       #f1f5f9;
  --accent:    #0ea5e9;
  --accent2:   #0284c7;
  --red:       #ef4444;
  --green:     #22c55e;
  --amber:     #f59e0b;
  --purple:    #8b5cf6;
  --teal:      #14b8a6;
  --rose:      #f43f5e;
  --r:         8px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --transition: .2s ease;
  --max-w:     1200px;
  --serif:     Georgia, "Times New Roman", serif;
  --sans:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.5rem; }
th, td { padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
th { background: var(--bg3); font-weight: 600; color: var(--ink2); }
blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--bg2); border-radius: 0 var(--r) var(--r) 0; font-style: italic; color: var(--ink2); }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* ── Topbar ── */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  max-width: 100vw;
  overflow: hidden;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-links { display: flex; gap: 1rem; }
.topbar-links a { color: rgba(255,255,255,.65); font-size: .78rem; }
.topbar-links a:hover { color: #fff; }
.topbar-email a { color: rgba(255,255,255,.7); font-size: .78rem; }
.topbar-email a:hover { color: #fff; }

/* ── Header ── */
.site-header {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  max-width: 100vw;
  overflow: hidden;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 1rem;
  min-width: 0;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
.logo-tagline { font-size: .72rem; color: var(--muted); margin-top: -2px; }

.site-nav { display: flex; gap: 2px; align-items: center; flex: 1; justify-content: center; min-width: 0; overflow: hidden; }
.site-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink2);
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { background: var(--bg3); color: var(--ink); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-subscribe {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .83rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-subscribe:hover { background: var(--accent2); color: #fff; text-decoration: none; }

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.burger-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* ── Category Nav ── */
.cat-nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: flex; gap: 0; white-space: nowrap; }
.cat-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 14px;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.cat-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }
.cat-nav a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }

/* ── Category Tags ── */
.cat-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  margin-bottom: .5rem;
  text-decoration: none;
}
.cat-tag:hover { opacity: .85; text-decoration: none; color: #fff; }
.cat-psyche    { background: #8b5cf6; }
.cat-kinder    { background: #f59e0b; }
.cat-leben     { background: #14b8a6; }
.cat-geld      { background: #22c55e; }
.cat-nachrichten { background: #0ea5e9; }
.cat-sinn      { background: #f43f5e; }
.cat-news      { background: #ef4444; }

/* ── Article Meta ── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.article-meta .author { display: flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink2); }
.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink2);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* ── Hero (Homepage) ── */
.hero-featured {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.hero-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.hero-featured-img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-featured-content { padding: .5rem 0; }
.hero-featured-content h1 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: .75rem;
  font-weight: 700;
}
.hero-featured-content h1 a { color: var(--ink); }
.hero-featured-content h1 a:hover { color: var(--accent2); text-decoration: none; }
.hero-featured-content .intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.read-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.read-more:hover { color: var(--accent2); text-decoration: none; }

/* ── Section Headers ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border);
  padding-bottom: .6rem;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-header h2::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
}
.sh-psyche h2::before    { background: #8b5cf6; }
.sh-kinder h2::before    { background: #f59e0b; }
.sh-leben h2::before     { background: #14b8a6; }
.sh-geld h2::before      { background: #22c55e; }
.sh-nachrichten h2::before { background: #0ea5e9; }
.sh-sinn h2::before      { background: #f43f5e; }
.see-all { font-size: .82rem; color: var(--muted); font-weight: 500; }
.see-all:hover { color: var(--accent); text-decoration: none; }

/* ── Article Cards ── */
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: .75rem;
  background: var(--bg3);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .card-img img { transform: scale(1.03); }
.card-body { flex: 1; }
.card-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .4rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--accent2); text-decoration: none; }
.card-body .card-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.55; margin-bottom: .5rem; }
.card-footer { font-size: .78rem; color: var(--muted2); display: flex; gap: .5rem; align-items: center; }

/* Card Grids */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* List card (horizontal) */
.list-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.list-card:last-child { border-bottom: none; }
.list-card-img {
  width: 88px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
}
.list-card-img img { width: 100%; height: 100%; object-fit: cover; }
.list-card-body { flex: 1; }
.list-card-body h4 {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .2rem;
}
.list-card-body h4 a { color: var(--ink); }
.list-card-body h4 a:hover { color: var(--accent2); text-decoration: none; }
.list-card-body .lc-meta { font-size: .76rem; color: var(--muted2); }

/* ── Homepage Layout ── */
.homepage-section { padding: 2.5rem 0; }
.homepage-section + .homepage-section { border-top: 1px solid var(--border); }

.home-2col { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.home-main { /* left col */ }
.home-sidebar { /* right col */ }

/* ── Sidebar ── */
.sidebar-widget { margin-bottom: 2rem; }
.sidebar-widget .sw-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--ink2); font-weight: 500; }
.sidebar-list a:hover { color: var(--accent); }

/* Newsletter Box */
.newsletter-box {
  background: var(--ink);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--r);
  margin-bottom: 2rem;
}
.newsletter-box h3 { color: #fff; font-size: .95rem; margin-bottom: .4rem; }
.newsletter-box p { font-size: .83rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; line-height: 1.5; }
.newsletter-input { width: 100%; padding: 8px 12px; border-radius: 6px; border: none; font-size: .88rem; margin-bottom: .5rem; }
.newsletter-btn { width: 100%; background: var(--accent); color: #fff; border: none; padding: 9px; border-radius: 6px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.newsletter-btn:hover { background: var(--accent2); }
.newsletter-note { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: .4rem; line-height: 1.4; }

/* ── Article Page ── */
.article-hero { padding: 2.5rem 0 0; }
.article-hero-inner { max-width: 820px; margin: 0 auto; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}
.article-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.article-hero-img {
  margin-top: 1.5rem;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-img figcaption { font-size: .78rem; color: var(--muted); padding: .4rem 0; line-height: 1.4; }

/* Article Body */
.article-body {
  padding: 2rem 0 3rem;
}
.article-body-inner { max-width: 820px; margin: 0 auto; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink2);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.article-body p { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: .4rem; line-height: 1.65; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg2);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--ink2);
  font-size: 1.05rem;
}
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--r); width: 100%; }
.article-body figcaption { font-size: .8rem; color: var(--muted); padding-top: .4rem; }
.article-body table { font-size: .9rem; }
.article-body th { background: var(--bg3); }

/* Info box */
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .93rem;
}
.info-box strong { color: #1d4ed8; }

/* Warning box */
.warn-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .93rem;
}

/* ── Related Articles ── */
.related-section {
  border-top: 2px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
}
.related-section h3 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb .sep { color: var(--border); }

/* ── Archive / All Articles ── */
.archive-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.archive-header h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: .25rem; }
.archive-header p { color: var(--muted); font-size: .95rem; }
.archive-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.filter-btn {
  font-size: .8rem;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 0;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}
.footer-logo-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-brand address { font-style: normal; font-size: .8rem; margin-top: .75rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.4); margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--r);
  display: none;
  align-items: center;
  gap: 1.25rem;
  max-width: 600px;
  width: calc(100% - 2rem);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: .83rem; color: rgba(255,255,255,.75); line-height: 1.5; margin: 0; flex: 1; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-accept { background: var(--accent); border: none; color: #fff; padding: 7px 16px; border-radius: 6px; font-size: .83rem; font-weight: 600; cursor: pointer; }
.cookie-reject { background: transparent; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.65); padding: 7px 14px; border-radius: 6px; font-size: .83rem; cursor: pointer; }
.cookie-reject:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── Legal Pages ── */
.legal-page { padding: 3rem 0 4rem; }
.legal-content { max-width: 780px; }
.legal-content h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: .25rem; }
.legal-content .updated { font-size: .8rem; color: var(--muted); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: 2rem; margin-bottom: .5rem; }
.legal-content p, .legal-content li { font-size: .93rem; line-height: 1.75; color: #374151; }
.legal-content ul { margin-bottom: 1rem; }

/* ── Mobile Nav ── */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: var(--bg);
  z-index: 201;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; float: right; color: var(--ink); }
.mobile-nav nav { margin-top: 2.5rem; }
.mobile-nav nav a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--border); color: var(--ink2); font-weight: 500; font-size: .95rem; }
.mobile-nav nav a:hover { color: var(--accent); text-decoration: none; }
.mobile-nav-categories { margin-top: 1.5rem; }
.mobile-nav-categories h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: .5rem; font-weight: 700; }

/* ── Paywall ── */
.paywall-blur {
  position: relative;
  max-height: 260px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.paywall-blur::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.97) 60%, #fff 100%);
}
.paywall-cta {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.paywall-lock { font-size: 2rem; margin-bottom: .75rem; }
.paywall-cta h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: .5rem;
}
.paywall-cta p { font-size: .95rem; color: var(--muted); max-width: 480px; margin: 0 auto .75rem; line-height: 1.6; }
.paywall-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .75rem;
  text-decoration: none;
}
.paywall-btn:hover { background: var(--ink2); color: #fff; text-decoration: none; }
.paywall-note { font-size: .78rem; color: var(--muted2); margin: 0; }

/* ── MGid Slots ── */
.mgid-slot { margin: 1.75rem 0; }
.mgid-slot--inline { margin: 1.5rem 0; }
.mgid-slot--bottom { margin: 2rem 0; border-top: 1px solid var(--border); padding-top: 1.5rem; }
/* Placeholder styling – replace with actual MGid script */
.mgid-placeholder {
  background: var(--bg3);
  border: 1px dashed var(--border);
  border-radius: var(--r);
  padding: 2rem;
  text-align: center;
  font-size: .78rem;
  color: var(--muted2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Subscription Page ── */
.pricing-hero { padding: 4rem 0 2rem; text-align: center; }
.pricing-hero h1 { font-family: var(--serif); font-size: 2.5rem; margin-bottom: .75rem; }
.pricing-hero p { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 400px); gap: 1.5rem; justify-content: center; padding: 3rem 0; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.25rem;
  background: var(--bg);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 14px;
  border-radius: 20px;
}
.pricing-card h3 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 1rem; }
.pricing-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .25rem; }
.pricing-price .amount { font-size: 2.75rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pricing-price .currency { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.pricing-price .period { font-size: .88rem; color: var(--muted); }
.pricing-subtext { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.pricing-features li { padding: .4rem 0; font-size: .9rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .5rem; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.pricing-btn-primary { background: var(--ink); color: #fff; }
.pricing-btn-primary:hover { background: var(--ink2); color: #fff; text-decoration: none; }
.pricing-btn-secondary { background: var(--bg3); color: var(--ink); border: 1px solid var(--border); }
.pricing-btn-secondary:hover { background: var(--border); color: var(--ink); text-decoration: none; }
.pricing-note { text-align: center; font-size: .78rem; color: var(--muted2); padding-bottom: 3rem; }
.pricing-faq { max-width: 660px; margin: 0 auto; padding-bottom: 4rem; }
.pricing-faq h2 { font-size: 1.5rem; font-family: var(--serif); margin-bottom: 1.5rem; text-align: center; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-q { font-weight: 600; font-size: .95rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { font-size: .9rem; color: var(--muted); line-height: 1.65; padding-top: .5rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-q::after { content: '↓'; transition: transform .2s; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-featured-grid { grid-template-columns: 1fr; }
  .hero-featured-img { aspect-ratio: 16/7; }
  .home-2col { grid-template-columns: 1fr; }
  .home-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Nav collapses to burger at 1100px — 6 nav items + logo + 2 buttons need ~1100px */
@media (max-width: 1100px) {
  .site-nav, .header-cta .btn-subscribe { display: none; }
  .burger-btn { display: flex; }
}
@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 3px; }
  .topbar-email { order: 1; }
  .topbar-links { order: 2; flex-wrap: wrap; gap: .5rem; }
  .hero-featured-content h1 { font-size: 1.5rem; }
  .article-hero h1 { font-size: 1.65rem; }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-nav-inner { padding: 0 4px; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .archive-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
  }
  .filter-btn { text-align: center; width: 100%; }
}
@media (max-width: 480px) {
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .topbar { padding: 6px 0 8px; }
}
