/* The Mirror Dispatch — Modern Magazine Archetype */
/* Bold, visual-first, large typography, dark header band */

:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --ink: #111;
  --muted: #777;
  --accent: #0057b8;
  --accent2: #e8372c;
  --border: #e0e0e0;
  --header-bg: #0a0a0a;
  --header-fg: #fff;
  --tag-bg: #0057b8;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Arial', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-block img[data-campaign-logo] {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  color: #ccc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.header-nav a:hover, .header-nav a.active {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ── HERO IMAGE ── */
.hero-image-section {
  width: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-image-section .hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  opacity: 0.75;
  display: block;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-caption .hero-kicker {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
  width: fit-content;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-caption p {
  font-size: 1.05rem;
  color: #ddd;
  max-width: 560px;
}

/* ── CAMPAIGN BLOCK ── */
.campaign-wrap {
  background: #fff;
  border-top: 3px solid var(--accent);
  margin: 0;
}

.campaign-wrap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.campaign-block {
  display: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.campaign-creative-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  margin-bottom: 16px;
}

.campaign-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.campaign-logo-img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.campaign-copy { flex: 1; min-width: 200px; }

.campaign-label-tag {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.campaign-hl {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
}

.campaign-dsc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

.campaign-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.campaign-btn:hover { background: #004090; color: #fff; text-decoration: none; }

/* ── PAGE LAYOUT ── */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 20px;
}

.section-header .sh-line {
  flex: 1;
  height: 2px;
  background: var(--border);
}

.section-header .sh-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ── MAGAZINE GRID ── */
.mag-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.mag-featured {
  background: var(--surface);
  overflow: hidden;
}

.mag-featured img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.mag-featured-body {
  padding: 20px;
}

.mag-featured-body .tag {
  display: inline-block;
  background: var(--tag-bg);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.mag-featured-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}

.mag-featured-body h2 a { color: var(--ink); }
.mag-featured-body h2 a:hover { color: var(--accent); text-decoration: none; }

.mag-featured-body .byline {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.mag-featured-body p { font-size: 0.92rem; color: #444; line-height: 1.6; }

.mag-stack { display: flex; flex-direction: column; gap: 1px; background: var(--border); }

.mag-stack-item {
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mag-stack-item .tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.mag-stack-item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.mag-stack-item h3 a { color: var(--ink); }
.mag-stack-item h3 a:hover { color: var(--accent); text-decoration: none; }

.mag-stack-item .byline { font-size: 0.7rem; color: var(--muted); }

/* ── CARD ROW ── */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.card-item {
  background: var(--surface);
  padding: 18px;
}

.card-item .tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  display: block;
  margin-bottom: 6px;
}

.card-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--ink);
}

.card-item h3 a { color: var(--ink); }
.card-item h3 a:hover { color: var(--accent); text-decoration: none; }

.card-item .byline { font-size: 0.7rem; color: var(--muted); margin-bottom: 8px; }
.card-item p { font-size: 0.88rem; color: #555; line-height: 1.55; }

/* ── ARTICLE PAGE ── */
.article-wrap {
  max-width: 780px;
  margin: 40px auto;
  padding: 0 20px;
}

.article-wrap .art-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.article-wrap h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.article-wrap .art-meta {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-body { font-size: 1.02rem; line-height: 1.8; }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2em 0 0.6em;
  color: var(--ink);
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: #f0f4fa;
  font-style: italic;
  color: #444;
}

.author-card {
  background: #f0f4fa;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin-top: 32px;
}

.author-card .ac-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.author-card p { font-size: 0.88rem; color: #555; line-height: 1.55; }

/* ── LEGAL ── */
.legal-page { padding: 40px 0; max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.legal-page .legal-date { font-size: 0.8rem; color: var(--muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.legal-page h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: 2em 0 0.6em; color: var(--ink); }
.legal-page h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 1.4em 0 0.4em; }
.legal-page p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1em; color: #333; }
.legal-page ul { margin: 0.6em 0 1em 1.4em; }
.legal-page ul li { font-size: 0.95rem; line-height: 1.7; color: #333; margin-bottom: 4px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.88rem; }
.legal-page table th { background: #e8f0fb; padding: 8px 12px; text-align: left; font-weight: 700; border: 1px solid var(--border); }
.legal-page table td { padding: 8px 12px; border: 1px solid var(--border); color: #333; }

/* ── FOOTER ── */
.site-footer {
  background: #0a0a0a;
  color: #aaa;
  margin-top: 48px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid #222;
}

.footer-brand-col .brand-title { color: #fff; font-size: 1.2rem; }
.footer-brand-col .brand-sub { color: #666; margin-top: 4px; }
.footer-brand-col p { font-size: 0.82rem; color: #666; margin-top: 12px; line-height: 1.55; }
.footer-brand-col img[data-campaign-logo] { max-height: 36px; width: auto; object-fit: contain; margin-bottom: 8px; filter: brightness(0.6); }

.footer-col h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 0.82rem; color: #888; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: 0.75rem; color: #555; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0; }
.contact-layout h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 4px; margin-top: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 9px 12px; border: 1px solid var(--border); font-size: 0.95rem; outline: none; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { margin-top: 18px; background: var(--accent); color: #fff; border: none; padding: 11px 28px; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.contact-form button:hover { background: #004090; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; margin-top: 20px; }
.contact-info p { font-size: 0.88rem; color: #555; line-height: 1.6; margin-bottom: 8px; }

/* ── ABOUT ── */
.about-page { padding: 40px 0; max-width: 860px; margin: 0 auto; }
.about-page h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-page p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.1em; color: #333; }
.about-page h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: 2em 0 0.6em; }

/* ── ARTICLES LIST ── */
.articles-page { padding: 40px 0; }
.articles-page h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.art-list-item { display: grid; grid-template-columns: 1fr; gap: 0; padding: 20px 0; border-bottom: 1px solid var(--border); }
.art-list-item .tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.art-list-item h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.art-list-item h2 a { color: var(--ink); }
.art-list-item h2 a:hover { color: var(--accent); text-decoration: none; }
.art-list-item .meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.art-list-item p { font-size: 0.9rem; color: #444; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .mag-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-caption h1 { font-size: 2rem; }
  .hero-caption { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .header-inner { height: auto; padding: 12px 16px; flex-direction: column; gap: 10px; }
  .header-nav { flex-wrap: wrap; justify-content: center; }
  .card-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-image-section .hero-img { height: 320px; }
  .hero-caption h1 { font-size: 1.5rem; }
}
