:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#666666;
  --line:#e6e6e6;
  --accent:#1b3d6d; /* classic news blue */
  --accent-soft: rgba(11, 74, 162, 0.08);

  /* Darker, matte shadow (more depth without looking glossy) */
  --shadow: 0 12px 34px rgba(0,0,0,0.20);

  /* Headline typography (skinnier, closer to major news sites) */
  --headline-font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", "Liberation Sans", sans-serif;
  --headline-weight: 600;        /* skinnier than 800/900 */
  --headline-weight-strong: 700; /* for hero/article H1 */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.5;
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  /* Wider “news site” feel */
  width:min(1320px, calc(100% - 2rem));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:.5rem .75rem;
  background:var(--accent);
  color:#fff;
}
.skip-link:focus{ left:1rem; top:1rem; z-index:9999; }

.site-header{
  border-bottom:1px solid var(--line);
  background:var(--bg);
}

.topbar{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:1.15rem 0 .75rem 0;
}

.brand{
  font-family: "Imprint MT Shadow", "Times New Roman", serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 3.4rem); /* scales down on mobile */
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
  padding: 0 .25rem; /* prevents edge clipping */
  text-align: center;
  display: inline-block;
}

@media (max-width: 420px){
  .brand{ font-size: 2.35rem; }
}

.brand .dot{ color:var(--accent); }

.tagline{
  margin-top: -0.25rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 700px){
  .tagline{ font-size: 0.9rem; }
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:center;
}
.nav a{
  color:var(--text);
  font-weight:650;
  font-size:.92rem;
  padding:.25rem .15rem;
  border-bottom:2px solid transparent;
}
.nav a:hover{ text-decoration:none; border-bottom-color:var(--accent); }
.nav a.active{ border-bottom-color:var(--accent); }

.ticker{
  width:min(1320px, calc(100% - 2rem));
  margin:0 auto;
  display:grid;
  grid-template-columns: 125px 1fr;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
}
.ticker__label{
  background:var(--accent);
  color:#fff;
  font-weight:800;
  letter-spacing:.06em;
  font-size:.78rem;
  padding:.55rem .75rem;
}
.ticker__track{
  overflow:hidden;
  border-left:1px solid rgba(255,255,255,0.25);
  padding:.45rem 0;
}
.ticker__items{
  display:inline-flex;
  align-items:center;
  gap:1.25rem;
  padding:0 1rem;
  white-space:nowrap;
  will-change:transform;
}
.ticker__items.is-animating{
  animation: ticker-ltr 28s linear infinite; /* medium speed */
}
@keyframes ticker-ltr{
  from{ transform: translateX(0%); }
  to{ transform: translateX(-50%); }
}
.ticker__item{
  color:var(--text);
  font-weight:600;
  font-size:.92rem;
}
.ticker__sep{
  color:var(--muted);
}

.page-head{
  padding:1.5rem 0 1rem 0;
  border-bottom:1px solid var(--line);
  margin-bottom:1.25rem;
}
.page-head h1{
  margin:0 0 .35rem 0;
  font-size:2rem;
  letter-spacing:-0.02em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}
.muted{ color:var(--muted); margin:0; }

.section-header{
  margin-top:2rem;
  margin-bottom:1rem;
  padding-top:.25rem;
  border-top:1px solid var(--line);
}
.section-header h2{
  margin:.75rem 0 .25rem 0;
  font-size:1.35rem;
  letter-spacing:-0.01em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}

.lead{
  padding:1.25rem 0 1rem 0;
}
.lead__inner{
  border:1px solid var(--line);
  border-radius:14px;
  padding:1.25rem 1.25rem 1rem 1.25rem;
  background: linear-gradient(180deg, var(--accent-soft), transparent 55%);
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-block;
  font-weight:900;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--accent);
}
.lead-title{
  margin:.45rem 0 .35rem 0;
  font-size:1.85rem;
  line-height:1.14;
  letter-spacing:-0.02em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}
.dek{
  margin:0 0 .75rem 0;
  font-size:1.03rem;
  color:#222;
}
.meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1rem;
  font-size:.9rem;
  color:var(--muted);
}
.meta strong{ color:var(--text); }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
  padding-bottom:1.5rem;
}
.card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem;
  background:#fff;
  transition: transform .08s ease, box-shadow .08s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card .title{
  margin:.35rem 0 .45rem 0;
  color:var(--text);
  font-size:1.05rem;
  line-height:1.18;
  letter-spacing:-0.01em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight);
}
.card .dek{
  margin:0 0 .75rem 0;
  color:#222;
  font-size:.95rem;
}
.card .meta{ font-size:.85rem; }

.section-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
  padding-bottom:2rem;
}
.section-tile{
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem;
  color:var(--text);
  background:#fff;
}
.section-tile:hover{ text-decoration:none; box-shadow:var(--shadow); }
.section-tile h3{
  margin:.35rem 0 .35rem 0;
  font-size:1.15rem;
  line-height:1.18;
  letter-spacing:-0.01em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight);
}
.section-tile p{ margin:0; color:var(--muted); }

.story-list{
  display:grid;
  grid-template-columns: 1fr;
  gap:.9rem;
  padding-bottom:2rem;
}
.story-row{
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem;
  background:#fff;
}
.story-row .row-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.story-row .row-title{
  margin:.35rem 0 .25rem 0;
  font-size:1.2rem;
  line-height:1.18;
  letter-spacing:-0.01em;
  color:var(--text);
  font-family: var(--headline-font);
  font-weight: var(--headline-weight);
}
.story-row p{ margin:.35rem 0 .5rem 0; color:#222; }

.crumbs{
  padding:1rem 0 0 0;
  font-size:.92rem;
}

.article{
  padding:1rem 0 2rem 0;
  border-bottom:1px solid var(--line);
}
.article h1{
  margin:.35rem 0 .45rem 0;
  font-size:2.2rem;
  line-height:1.12;
  letter-spacing:-0.02em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}
.article .dek{ font-size:1.05rem; }

/* Article typography: serif body like a traditional news site */
.article .content{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.06rem;
  line-height: 1.7;
}
.article .content p{ margin:0 0 1rem 0; }
.article .content li{ margin:0 0 .5rem 0; }

/* Keep headings inside article content in the site’s sans UI font */
.article .content h2,
.article .content h3,
.article .content h4{
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}

.quote{
  border-left:4px solid var(--accent);
  padding:.25rem 0 .25rem 1rem;
  margin:1rem 0;
  color:#222;
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.65;
}

.more{
  padding:1.5rem 0 2rem 0;
}
.more h2{
  margin:0 0 1rem 0;
  font-size:1.35rem;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}

.prose{
  padding-bottom:2rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose h2{
  margin:1.25rem 0 .5rem 0;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}
.prose p{ margin:.5rem 0; color:#222; }
.prose ul, .prose ol{ margin:.5rem 0 .5rem 1.25rem; }

.form{
  display:grid;
  gap:.9rem;
  max-width:680px;
  margin-top:1rem;
}
label{ display:grid; gap:.35rem; font-weight:700; }
input, textarea{
  width:100%;
  padding:.75rem .8rem;
  border:1px solid var(--line);
  border-radius:12px;
  font: inherit;
}
.inline{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-weight:600;
}
.inline input{ width:auto; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  background:var(--accent);
  color:#fff;
  border:0;
  border-radius:12px;
  padding:.75rem 1rem;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{ filter: brightness(0.95); }
.btn.btn-ghost{
  background:transparent;
  color:var(--accent);
  border:1px solid var(--accent);
}
.row{ display:flex; gap:.75rem; flex-wrap:wrap; }
.tip-output{
  margin-top:1.25rem;
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem;
  background:#fff;
}
pre{
  background:#fafafa;
  border:1px solid var(--line);
  border-radius:12px;
  padding:1rem;
  overflow:auto;
}

.site-footer{
  border-top:1px solid var(--line);
  padding:1.25rem 0;
  background:#fff;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.footer-links{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}
.footer-links a{ color:var(--text); font-weight:650; }
.footer-links a:hover{ color:var(--accent); text-decoration:none; }

@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
  .section-grid{ grid-template-columns: 1fr; }
  .ticker{ grid-template-columns: 110px 1fr; }
  .topbar{ align-items:center; }
}

/* ===== Home “newsroom” layout (3 columns like a real news site) ===== */

.home-grid{
  display:grid;
  grid-template-columns: 320px 1fr 360px;
  grid-template-areas: "latest center right";
  gap:1.25rem;
  padding:1.25rem 0 2rem;
}

.home-latest{ grid-area: latest; }
.home-center{ grid-area: center; }
.home-right{ grid-area: right; }

.panel-head{
  border-bottom:1px solid var(--line);
  padding:.25rem 0 .75rem;
  margin-bottom:.75rem;
}
.panel-title{
  margin:0;
  font-size:1.1rem;
  letter-spacing:.08em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}

.latest-list{
  display:grid;
  gap:.85rem;
}

.latest-item{
  border-bottom:1px solid var(--line);
  padding-bottom:.85rem;
}
.latest-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.latest-item .cat{
  font-weight:900;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase;
}
.latest-item .headline{
  margin:.25rem 0 .25rem;
  line-height:1.18;
  letter-spacing:-0.01em;
  color:var(--text);
  font-family: var(--headline-font);
  font-weight: var(--headline-weight);
}
.latest-item .byline{
  font-size:.85rem;
  color:var(--muted);
}

/* HERO */
.hero{
  position:relative;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
}

.hero-slide{
  display:block;
  text-decoration:none;
  color:inherit;
  min-height:360px;
  position:relative;
}

.hero-media{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
}

.hero-media.ph{
  /* Darker, matte placeholder background */
  background:
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.05)),
    radial-gradient(circle at 30% 20%, rgba(11,74,162,.20), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.18), transparent 55%);
  filter: saturate(.92) contrast(.98);
}

.hero-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:1.1rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92) 40%, rgba(255,255,255,.98));
}

.hero-kicker{
  display:inline-block;
  font-weight:900;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--accent);
  text-transform:uppercase;
}

.hero-title{
  margin:.35rem 0 .35rem;
  font-size:1.8rem;
  line-height:1.13;
  letter-spacing:-0.02em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}

.hero-dek{
  margin:0 0 .6rem;
  color:#222;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1rem;
  color:var(--muted);
  font-size:.9rem;
}

.hero-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  cursor:pointer;
  font-size:1.4rem;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-btn:hover{ filter:brightness(.97); }
.hero-btn.prev{ left:.75rem; }
.hero-btn.next{ right:.75rem; }

/* Mini grid under hero */
.mini-grid{
  margin-top:1rem;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1rem;
}

.mini{
  border:1px solid var(--line);
  border-radius:14px;
  padding:.9rem;
  background:#fff;
}
.mini:hover{ box-shadow: var(--shadow); }
.mini .kicker{
  color:var(--muted);
  text-transform:uppercase;
}
.mini .t{
  margin:.35rem 0 .35rem;
  color:var(--text);
  line-height:1.18;
  letter-spacing:-0.01em;
  font-family: var(--headline-font);
  font-weight: var(--headline-weight);
}
.mini .m{
  color:var(--muted);
  font-size:.85rem;
}

/* Right widgets */
.widget{
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem;
  background:#fff;
  margin-bottom:1rem;
}
.widget-title{
  font-weight:900;
  letter-spacing:.08em;
  font-size:.78rem;
  color:var(--muted);
  margin-bottom:.6rem;
}
.widget.feature .feat-cat{
  font-weight:900;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase;
}
.widget.feature .feat-title{
  margin:.35rem 0 .35rem;
  font-size:1.35rem;
  line-height:1.14;
  letter-spacing:-0.01em;
  color:var(--text);
  font-family: var(--headline-font);
  font-weight: var(--headline-weight-strong);
}
.widget.feature .feat-meta{
  color:var(--muted);
  font-size:.85rem;
}

.listen-card{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr;
}
.listen-badge{
  background:var(--accent);
  color:#fff;
  font-weight:900;
  letter-spacing:.08em;
  padding:.5rem .75rem;
  font-size:.75rem;
  width:max-content;
}
.listen-body{
  padding:.9rem;
  display:grid;
  gap:.5rem;
}
.listen-head{
  font-weight:900;
  color:var(--text);
}

.poll-q{
  font-weight:800;
  margin-bottom:.6rem;
}
.poll-opt{
  display:flex;
  gap:.5rem;
  align-items:center;
  font-weight:650;
  margin:.35rem 0;
}
.poll-opt input{ width:auto; }

.signup-row{
  display:grid;
  gap:.5rem;
}
.signup-input{
  padding:.75rem .8rem;
  border:1px solid var(--line);
  border-radius:12px;
  font: inherit;
}
.signup-btn{ width:100%; }

/* Responsive */
@media (max-width: 1100px){
  .home-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "latest"
      "right";
  }
  .mini-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px){
  .mini-grid{ grid-template-columns: 1fr; }
  .hero-slide{ min-height:320px; }
}

/* ===== Home layout tweaks: tighter, squarer “news site” feel ===== */
.home-latest .widget,
.home-right .widget,
.hero,
.mini,
.listen-card{
  border-radius: 0;
}

.home-latest .panel-title{
  font-weight: var(--headline-weight-strong);
  font-size: 1.05rem;
}

.latest-item .headline{
  font-size: 1.02rem;
}

.mini{
  padding: .75rem;
}

.widget{
  padding: .9rem;
}

.hero-slide{
  min-height: 380px;
}

@media (max-width: 700px){
  .hero-slide{ min-height: 320px; }
}
