/* Daily Mirror News — Local Newspaper Archetype */
/* Classic broadsheet aesthetic, column-heavy, ink-on-paper feel */

:root {
  --ink: #1a1a1a;
  --paper: #f9f6f0;
  --accent: #c0392b;
  --rule: #2c2c2c;
  --muted: #666;
  --border: #d0ccc4;
  --col-bg: #fff;
  --header-bg: #1a1a1a;
  --header-fg: #f9f6f0;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Arial', 'Helvetica Neue', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.65;
}

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);
  color: var(--header-fg);
  padding: 0;
  border-bottom: 4px solid var(--accent);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid #333;
}

.header-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

.header-brand {
  text-align: center;
  flex: 1;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-wrap img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-svg-fallback {
  display: inline-block;
}

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

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #bbb;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── NAV ── */
.site-nav {
  background: var(--rule);
  padding: 0 24px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav ul li a {
  display: block;
  padding: 10px 14px;
  color: #e0e0e0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

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

/* ── HERO IMAGE SECTION ── */
.hero-image-section {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #111;
}

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

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  padding: 32px 32px 24px;
  color: #fff;
}

.hero-image-overlay h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-image-overlay p {
  font-size: 1rem;
  color: #ddd;
  max-width: 640px;
}

.hero-image-overlay .hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* ── CAMPAIGN BLOCK ── */
.campaign-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  margin: 20px 24px;
  overflow: hidden;
}

.campaign-creative-wrap img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

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

.campaign-logo-wrap img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

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

.campaign-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

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

.campaign-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

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

.campaign-cta:hover { background: #a93226; text-decoration: none; color: #fff; }

/* ── LAYOUT WRAPPER ── */
.page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── SECTION RULE ── */
.section-rule {
  border: none;
  border-top: 3px double var(--rule);
  margin: 24px 0 16px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* ── ARTICLE GRID ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--rule);
}

.article-card {
  padding: 18px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-card:nth-child(3n) { border-right: none; }

.article-card .card-category {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}

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

.article-card .card-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.55;
}

/* ── LEAD STORY ── */
.lead-story {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.lead-story-text {
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--border);
}

.lead-story-text .lead-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.lead-story-text h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.lead-story-text h2 a { color: var(--ink); }
.lead-story-text h2 a:hover { color: var(--accent); text-decoration: none; }

.lead-story-text .lead-byline {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.lead-story-text p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.65;
}

.lead-story-sidebar {
  padding: 24px 0 24px 20px;
}

.sidebar-story {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-story:last-child { border-bottom: none; }

.sidebar-story .s-cat {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.sidebar-story h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.sidebar-story h4 a { color: var(--ink); }
.sidebar-story h4 a:hover { color: var(--accent); text-decoration: none; }

.sidebar-story .s-meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── ARTICLE PAGE ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 32px 0;
}

.article-main {}

.article-header { margin-bottom: 24px; }

.article-header .art-category {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.article-header .art-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  margin-bottom: 20px;
}

.article-body { font-size: 1rem; line-height: 1.75; }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 18px;
  margin: 1.5em 0;
  color: #444;
  font-style: italic;
  background: #f4f1eb;
}

.author-bio {
  background: #f4f1eb;
  border: 1px solid var(--border);
  padding: 18px 20px;
  margin-top: 32px;
}

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

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

.article-sidebar {}

.sidebar-widget {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget:last-child { border-bottom: none; }

.widget-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--rule);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--rule);
  color: #ccc;
  margin-top: 40px;
  border-top: 4px solid var(--accent);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 16px;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand-name { font-size: 1.3rem; color: #fff; }
.footer-brand .brand-tagline { color: #888; margin-top: 4px; }
.footer-brand p { font-size: 0.82rem; color: #999; margin-top: 10px; line-height: 1.5; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #aaa;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #444;
  padding: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #777;
}

.footer-logo-wrap img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.7);
}

/* ── LEGAL PAGES ── */
.legal-page { padding: 40px 0; }

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--rule);
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2em 0 0.6em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.legal-page h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  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: #f0ece4; padding: 8px 12px; text-align: left; font-family: var(--font-sans); font-weight: 700; border: 1px solid var(--border); }
.legal-page table td { padding: 8px 12px; border: 1px solid var(--border); color: #333; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 40px 0;
}

.contact-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  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);
  background: #fff;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ink);
  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-family: var(--font-sans);
  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: #a93226; }

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.contact-info p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

/* ── ABOUT PAGE ── */
.about-layout { padding: 40px 0; }

.about-layout h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.about-layout p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.1em; color: #333; }

.about-layout h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2em 0 0.6em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

/* ── ARTICLES LIST PAGE ── */
.articles-list { padding: 32px 0; }

.articles-list h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule);
}

.article-list-item {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.article-list-item:last-child { border-bottom: none; }

.ali-text .ali-cat {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.ali-text h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

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

.ali-text .ali-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.ali-text p { font-size: 0.9rem; color: #444; line-height: 1.6; }

.ali-img img { width: 100%; height: 120px; object-fit: cover; }

/* ── EDITORIAL POLICY ── */
.editorial-page { padding: 40px 0; }
.editorial-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.editorial-page p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1em; color: #333; }
.editorial-page h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2em 0 0.6em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lead-story { grid-template-columns: 1fr; }
  .lead-story-sidebar { border-top: 1px solid var(--border); padding: 20px 0 0; }
  .lead-story-text { border-right: none; padding-right: 0; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .article-card:nth-child(2n) { border-right: none; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-list-item { grid-template-columns: 1fr; }
  .ali-img { display: none; }
}

@media (max-width: 600px) {
  .brand-name { font-size: 1.4rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card { border-right: none; }
  .hero-image-overlay h2 { font-size: 1.3rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; gap: 8px; text-align: center; }
  .site-nav ul { justify-content: center; }
  .campaign-info { flex-direction: column; }
}
