/* ===================================================
   The Guardian Plus — Modern Magazine Style
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #1a3a2a;
  --forest-mid: #2d5a3d;
  --leaf: #4caf50;
  --leaf-light: #81c784;
  --ink: #111;
  --ink-mid: #333;
  --ink-soft: #666;
  --bg: #fafafa;
  --bg-card: #ffffff;
  --rule: #e0e0e0;
  --accent: #e65100;
  --font-display: 'Georgia', serif;
  --font-body: 'Arial', sans-serif;
  --max-w: 1200px;
}

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

/* HEADER */
.site-header { background: var(--forest); color: #fff; }
.header-strip {
  max-width: var(--max-w); margin: 0 auto;
  padding: 8px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
}
.header-strip a { color: rgba(255,255,255,0.7); margin-left: 14px; }
.header-strip a:hover { color: #fff; }
.header-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-block { display: flex; align-items: center; gap: 14px; }
.site-logo-img { max-height: 48px; width: auto; display: block; }
.brand-name { font-family: var(--font-display); font-size: 1.9rem; color: #fff; font-weight: 700; letter-spacing: -0.5px; }
.brand-sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.header-nav { display: flex; gap: 4px; }
.header-nav a {
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 3px;
}
.header-nav a:hover, .header-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }

/* HERO SECTION - Contained */
.hero-section { position: relative; height: 450px; background: #111; overflow: hidden; margin-bottom: 40px; border-radius: 4px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 50px 30px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); color: #fff; }
.hero-cat { display: inline-block; background: var(--leaf); color: #fff; padding: 3px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; margin-bottom: 12px; }
.hero-title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1; margin-bottom: 12px; font-weight: 700; }
.hero-title a { color: #fff; }
.hero-deck { font-size: 1.1rem; max-width: 700px; color: #ccc; line-height: 1.6; }

/* CAMPAIGN */
.campaign-block { background: #fff; border: 1px solid var(--rule); margin-bottom: 40px; border-radius: 4px; }
.campaign-inner { padding: 24px; }
.camp-creative-wrap { margin-bottom: 20px; }
.camp-creative-img { width: 100%; max-height: 380px; object-fit: cover; display: block; border-radius: 4px; }
.camp-info { display: flex; gap: 18px; align-items: flex-start; }
.camp-logo-img { max-height: 40px; max-width: 120px; width: auto; object-fit: contain; flex-shrink: 0; }
.camp-text { flex: 1; }
.camp-headline { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.camp-desc { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 12px; }
.camp-cta {
  display: inline-block; background: var(--forest); color: #fff;
  padding: 8px 20px; border-radius: 3px; font-size: 12px; font-weight: 700;
}

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

/* FEATURED GRID */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--rule);
  margin-bottom: 40px;
  border: 1px solid var(--rule);
}
.featured-grid > * { background: var(--bg-card); }
.feat-main { grid-row: 1 / 3; padding: 28px; }
.feat-main .cat-pill { display: inline-block; background: var(--leaf); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 3px 9px; border-radius: 2px; margin-bottom: 12px; }
.feat-main h2 { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; margin-bottom: 10px; }
.feat-main h2 a { color: var(--ink); }
.feat-main .excerpt { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.feat-main .byline { font-size: 13px; color: var(--ink-soft); }
.feat-secondary { padding: 20px; }
.feat-secondary .cat-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; margin-bottom: 8px; }
.feat-secondary h3 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; margin-bottom: 8px; }
.feat-secondary h3 a { color: var(--ink); }
.feat-secondary .byline { font-size: 12px; color: var(--ink-soft); }

/* STREAM */
.content-stream { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.stream-heading { font-family: var(--font-display); font-size: 1.1rem; border-bottom: 2px solid var(--forest); padding-bottom: 8px; margin-bottom: 22px; color: var(--forest); }
.stream-item { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.stream-item:last-child { border-bottom: none; }
.stream-item-img { background: linear-gradient(135deg, #c8e6c9, #a5d6a7); height: 80px; border-radius: 3px; }
.stream-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--forest); margin-bottom: 5px; }
.stream-item h4 { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; margin-bottom: 5px; }
.stream-item h4 a { color: var(--ink); }
.stream-item .meta { font-size: 12px; color: var(--ink-soft); }

/* SIDEBAR */
.sidebar-panel { }
.panel-block { background: var(--bg-card); border: 1px solid var(--rule); padding: 18px; margin-bottom: 22px; border-radius: 3px; }
.panel-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--forest); border-bottom: 2px solid var(--leaf); padding-bottom: 6px; margin-bottom: 14px; }
.panel-list { list-style: none; }
.panel-list li { padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 0.88rem; }
.panel-list li a { color: var(--ink); }
.topics-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-tag { background: var(--bg); border: 1px solid var(--rule); color: var(--ink-mid); font-size: 12px; padding: 4px 11px; border-radius: 20px; }
.topic-tag:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* FOOTER */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.75); margin-top: 48px; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .site-logo-img { max-height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.6; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: rgba(255,255,255,0.65); 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: 14px 24px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ARTICLE */
.article-wrap { max-width: 780px; margin: 32px auto; padding: 0 24px 48px; }
.art-cat { display: inline-block; background: var(--leaf); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-bottom: 14px; }
.art-title { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.2; margin-bottom: 14px; }
.art-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.art-meta span { margin-right: 16px; }
.art-body p { margin-bottom: 1.2em; }
.art-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 1.6em 0 0.6em; color: var(--forest); }
.author-card { background: #f1f8e9; border-left: 4px solid var(--leaf); padding: 16px; margin-top: 32px; font-size: 0.9rem; }
.author-card strong { display: block; margin-bottom: 4px; color: var(--forest); }

/* PAGE */
.page-wrap { max-width: 820px; margin: 32px auto; padding: 0 24px 48px; }
.page-wrap h1 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 20px; color: var(--forest); border-bottom: 2px solid var(--leaf); padding-bottom: 10px; }
.page-wrap h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 1.5em 0 0.5em; color: var(--forest); }
.page-wrap p { margin-bottom: 1em; }
.page-wrap ul { margin: 0.8em 0 1em 1.4em; }
.page-wrap ul li { margin-bottom: 0.4em; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; 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-body); font-size: 15px; background: #fafafa; border-radius: 3px; }
.contact-form button { margin-top: 14px; background: var(--forest); color: #fff; border: none; padding: 11px 28px; font-size: 14px; font-weight: 700; border-radius: 3px; cursor: pointer; }

@media (max-width: 960px) {
  .hero-section { height: 350px; }
  .hero-title { font-size: 2rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .feat-main { grid-row: auto; }
  .content-stream { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-section { height: 300px; padding: 20px; }
  .hero-overlay { padding: 20px; }
  .hero-title { font-size: 1.6rem; }
  .header-main { flex-direction: column; gap: 12px; }
  .header-nav { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .stream-item { grid-template-columns: 1fr; }
  .stream-item-img { display: none; }
  .site-logo-img { max-height: 36px; }
  .camp-logo-img { max-height: 36px; }
}
