/* ===================================================
   Midlands Chronicle — Regional Press, Minimal Style
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1c2b4a;
  --navy-mid: #2a3f6e;
  --gold: #c8a84b;
  --ink: #1a1a1a;
  --ink-mid: #3a3a3a;
  --ink-soft: #6a6a6a;
  --bg: #f8f8f6;
  --bg-white: #ffffff;
  --rule: #d8d4cc;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Arial', 'Helvetica Neue', sans-serif;
  --max-w: 1100px;
}

body { background: var(--bg); color: var(--ink); font-family: var(--font-serif); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* HEADER */
.site-header { background: var(--bg-white); border-bottom: 4px solid var(--navy); }
.header-utility {
  background: var(--navy);
  max-width: var(--max-w); margin: 0 auto;
  padding: 5px 20px;
  display: flex; justify-content: space-between;
  font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.6);
}
.header-utility a { color: rgba(255,255,255,0.7); margin-left: 12px; }
.header-utility a:hover { color: #fff; }
.header-identity {
  max-width: var(--max-w); margin: 0 auto;
  padding: 20px 20px 14px;
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.identity-left { display: flex; align-items: center; gap: 14px; }
.identity-left img { max-height: 48px; width: auto; display: block; }
.pub-name { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.5px; }
.pub-edition { font-family: var(--font-sans); font-size: 11px; color: var(--ink-soft); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }
.identity-right { font-family: var(--font-sans); font-size: 12px; color: var(--ink-soft); text-align: right; }
.main-nav {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 20px;
  display: flex; gap: 0;
  border-bottom: 1px solid var(--rule);
}
.main-nav a {
  display: block; padding: 10px 16px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  color: var(--ink-mid); border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); border-bottom-color: var(--gold); text-decoration: none; }

/* HERO SECTION - Contained */
.hero-section { position: relative; height: 480px; background: #1a1a1a; overflow: hidden; margin-bottom: 30px; border-radius: 4px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 30px; background: linear-gradient(to top, rgba(28,43,74,0.9) 0%, transparent 100%); color: #fff; }
.hero-content { max-width: var(--max-w); margin: 0 auto; }
.hero-label { display: inline-block; background: var(--gold); color: #fff; padding: 3px 9px; font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.hero-title { font-size: 2.8rem; line-height: 1.1; margin-bottom: 15px; font-weight: 700; }
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--gold); text-decoration: none; }
.hero-standfirst { font-size: 1.1rem; max-width: 750px; color: #eee; font-style: italic; line-height: 1.6; }

/* CAMPAIGN */
.campaign-block { background: var(--bg-white); border: 1px solid var(--rule); margin-bottom: 30px; display: none; border-radius: 4px; }
.campaign-inner { padding: 24px; }
.camp-creative-wrap { margin-bottom: 16px; }
.camp-creative-img { width: 100%; max-height: 420px; object-fit: cover; display: block; border: 1px solid var(--rule); }
.camp-info { display: flex; gap: 16px; align-items: flex-start; }
.camp-logo-img { max-height: 48px; max-width: 140px; width: auto; object-fit: contain; flex-shrink: 0; }
.camp-text { flex: 1; }
.camp-headline { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.camp-desc { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 12px; }
.camp-cta { display: inline-block; background: var(--navy); color: #fff; padding: 9px 22px; font-family: var(--font-sans); font-size: 13px; font-weight: 700; }

/* MAIN */
.site-main { max-width: var(--max-w); margin: 0 auto 40px; padding: 0 20px; }

/* FRONT PAGE LAYOUT */
.front-layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; }

/* MAIN COLUMN */
.main-column { }
.section-rule { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); border-bottom: 2px solid var(--navy); padding-bottom: 5px; margin-bottom: 20px; }

.lead-story { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.lead-story h2 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 8px; }
.lead-story h2 a { color: var(--ink); }
.lead-story h2 a:hover { color: var(--navy); text-decoration: none; }
.lead-story .standfirst { font-size: 1rem; color: var(--ink-mid); margin-bottom: 10px; font-style: italic; }
.lead-story .byline { font-family: var(--font-sans); font-size: 12px; color: var(--ink-soft); }
.lead-story .byline strong { color: var(--ink-mid); }

.story-list { }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.story-row:last-child { border-bottom: none; }
.story-item { }
.story-item .tag { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); margin-bottom: 5px; }
.story-item h4 { font-size: 1rem; line-height: 1.3; margin-bottom: 5px; }
.story-item h4 a { color: var(--ink); }
.story-item h4 a:hover { color: var(--navy); text-decoration: none; }
.story-item .meta { font-family: var(--font-sans); font-size: 11px; color: var(--ink-soft); }

/* RIGHT COLUMN */
.right-column { }
.widget { background: var(--bg-white); border: 1px solid var(--rule); padding: 16px; margin-bottom: 20px; }
.widget-head { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 5px; margin-bottom: 12px; }
.widget-list { list-style: none; }
.widget-list li { padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 0.88rem; }
.widget-list li:last-child { border-bottom: none; }
.widget-list li a { color: var(--ink); }
.widget-list li a:hover { color: var(--navy); }
.widget-quote { font-style: italic; font-size: 0.95rem; color: var(--ink-mid); line-height: 1.5; margin-bottom: 8px; }
.widget-attr { font-family: var(--font-sans); font-size: 11px; color: var(--ink-soft); }
.region-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.region-tag { background: var(--bg); border: 1px solid var(--rule); color: var(--ink-mid); font-family: var(--font-sans); font-size: 11px; padding: 4px 10px; }
.region-tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); margin-top: 40px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand img { max-height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col h5 { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.87rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 12px 20px; font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.3); }

/* ARTICLE */
.article-wrap { max-width: 740px; margin: 32px auto; padding: 0 20px 48px; }
.art-section { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; }
.art-title { font-size: 2rem; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.art-standfirst { font-size: 1.05rem; font-style: italic; color: var(--ink-mid); margin-bottom: 14px; }
.art-meta { font-family: var(--font-sans); font-size: 12px; color: var(--ink-soft); margin-bottom: 22px; border-bottom: 2px solid var(--rule); padding-bottom: 10px; }
.art-meta span { margin-right: 14px; }
.art-body p { margin-bottom: 1.2em; }
.art-body h3 { font-size: 1.15rem; margin: 1.5em 0 0.5em; color: var(--navy); }
.author-note { background: #f0ede6; border-left: 3px solid var(--gold); padding: 14px; margin-top: 28px; font-size: 0.9rem; }
.author-note strong { display: block; margin-bottom: 4px; }

/* PAGE */
.page-content { max-width: 780px; margin: 32px auto; padding: 0 20px 48px; }
.page-content h1 { font-size: 1.8rem; margin-bottom: 18px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.page-content h2 { font-size: 1.15rem; margin: 1.5em 0 0.5em; color: var(--navy); }
.page-content p { margin-bottom: 1em; }
.page-content ul { margin: 0.8em 0 1em 1.4em; }
.page-content ul li { margin-bottom: 0.4em; }
.contact-form label { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; margin-top: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid var(--rule); font-family: var(--font-serif); font-size: 15px; background: #faf9f7; }
.contact-form button { margin-top: 12px; background: var(--navy); color: #fff; border: none; padding: 11px 28px; font-family: var(--font-sans); font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer; }

/* ARTICLES PAGE */
.articles-page { max-width: var(--max-w); margin: 32px auto; padding: 0 20px 48px; }
.articles-page h2 { font-size: 1.6rem; margin-bottom: 22px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.art-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card { background: var(--bg-white); border: 1px solid var(--rule); padding: 16px; }
.art-card .tag { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); margin-bottom: 6px; }
.art-card h4 { font-size: 1rem; margin-bottom: 6px; }
.art-card h4 a { color: var(--ink); }
.art-card p { font-size: 0.87rem; color: var(--ink-soft); }
.art-card .meta { font-family: var(--font-sans); font-size: 11px; color: var(--ink-soft); margin-top: 7px; }

@media (max-width: 900px) {
  .hero-section { height: 380px; }
  .hero-title { font-size: 2.1rem; }
  .front-layout { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .art-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-section { height: 300px; padding: 20px; }
  .hero-overlay { padding: 30px 20px; }
  .hero-title { font-size: 1.7rem; }
  .pub-name { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .art-list { grid-template-columns: 1fr; }
  .identity-left img { max-height: 36px; }
  .camp-logo-img { max-height: 36px; }
}
