/* ============================================================
   CARTELERA HOY — cartelera.vedicvibe.online
   One stylesheet for the whole site. No external fonts, no
   external images — system font stacks only, so pages stay
   fast everywhere. LIGHT news theme (since 27 Nov 2026,
   matching the redesigned homepage): white background,
   near-black text, one accent (news red #d61f2c).
   The homepage additionally carries its own inline hp- styles;
   this file is the theme for article/info pages.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --bg-card: #ffffff;
  --line: #e8e8e3;
  --text: #17171c;
  --text-soft: #55555f;
  --accent: #d61f2c;        /* news red — same accent as the homepage */
  --accent-dark: #a3121e;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .headline {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.2;
  margin: 0 0 .5em;
}

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

img { max-width: 100%; height: auto; }

/* ---------- Lead images (our own generated artwork) ---------- */
.lead-img, .hero-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.lead-img { margin: 0 0 24px; }
.photo-credit { font-size: 13px; color: var(--muted, #777); margin: -16px 0 22px; }
.hero-img { margin: 0 0 22px; }
.card img.thumb-img {
  display: block; width: 100%; height: 150px; object-fit: cover;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 3px solid var(--accent);
  background: #ffffff;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 8px rgba(20,20,30,.08);
}
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 16px; padding-top: 18px; padding-bottom: 14px;
}
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem; font-weight: 700; letter-spacing: .04em;
  color: var(--text);
}
.logo .gold { color: var(--accent); }
.logo:hover { text-decoration: none; }
.tagline { color: var(--text-soft); font-size: .92rem; margin: 0; }
/* Slim sticky bar on phones: logo only, so reading keeps the screen */
@media (max-width: 720px) {
  .masthead .wrap { padding-top: 10px; padding-bottom: 9px; align-items: center; }
  .masthead .logo { font-size: 1.35rem; }
  .masthead .tagline { display: none; }
}

/* ---------- Category nav ---------- */
.catnav { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.catnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 10px; padding-bottom: 10px; }
.catnav a {
  color: var(--text); font-size: .95rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.catnav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Hero / top story ---------- */
.hero {
  margin: 26px 0 8px;
  border-radius: var(--radius);
  padding: 42px 30px;
  background: linear-gradient(135deg, #fdf0f1 0%, #ffffff 70%);
  border: 1px solid var(--line);
}
.hero .kicker, .kicker {
  display: inline-block;
  color: #ffffff; background: var(--accent);
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.1rem; max-width: 22em; }
.hero p.dek { color: var(--text-soft); font-size: 1.08rem; max-width: 44em; }
.hero a.read { font-weight: 700; }

/* ---------- Section headings ---------- */
.section-title {
  font-size: 1.45rem; margin: 34px 0 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.section-title .gold { color: var(--accent); }

/* ---------- News grid / cards ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 10px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(20,20,30,.05);
}
.card .thumb {
  min-height: 110px; padding: 16px;
  display: flex; align-items: flex-end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem; font-weight: 700; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.thumb-gold  { background: linear-gradient(135deg, #6d4c08, #241a04); }
.thumb-red   { background: linear-gradient(135deg, #6e1420, #20060a); }
.thumb-blue  { background: linear-gradient(135deg, #14365e, #060d1c); }
.thumb-green { background: linear-gradient(135deg, #14532d, #071a0e); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { color: var(--text-soft); font-size: .95rem; margin: 0; flex: 1; }
.card .meta { color: var(--text-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Article page ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 28px 18px 10px; }
.article .meta-line { color: var(--text-soft); font-size: .9rem; margin-bottom: 18px; }
.article-hero {
  border-radius: var(--radius); padding: 46px 28px; margin-bottom: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fdf0f1 0%, #ffffff 65%);
}
.article-hero.red  { background: linear-gradient(135deg, #fbdfe2 0%, #ffffff 65%); }
.article-hero.blue { background: linear-gradient(135deg, #e3ecfd 0%, #ffffff 65%); }
.article-hero h1 { font-size: 2rem; margin: 0; }
.article h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.article p { margin: 0 0 1.05em; }
.article .standfirst { font-size: 1.13rem; color: var(--text); }
.figure { color: var(--accent); font-weight: 700; white-space: nowrap; }
.est-note {
  background: var(--bg-soft); border-left: 4px solid var(--accent);
  padding: 12px 16px; border-radius: 0 8px 8px 0;
  color: var(--text-soft); font-size: .95rem; margin: 0 0 1.4em;
}

/* FAQ block */
.faq { margin: 30px 0 6px; }
.faq h2 { margin-bottom: 12px; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 2px; color: var(--text-soft); }

/* Share line */
.share {
  margin: 26px 0; padding: 14px 16px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; color: var(--text-soft);
}
.share a { font-weight: 700; margin-right: 14px; }

/* Related stories */
.related { max-width: 760px; margin: 0 auto; padding: 0 18px 8px; }

/* ---------- Footer ---------- */
footer {
  margin-top: 44px; background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--text-soft); font-size: .92rem;
}
footer .wrap { padding-top: 26px; padding-bottom: 30px; }
footer .foot-logo {
  font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem;
  color: var(--text); font-weight: 700;
}
footer .foot-logo .gold { color: var(--accent); }
footer p { margin: 6px 0; max-width: 46em; }
footer nav { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a { color: var(--text-soft); }
footer nav a:hover { color: var(--accent); }
footer .foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
footer .foot-col h4 {
  color: var(--text); font-size: .92rem; margin: 2px 0 10px;
  letter-spacing: .05em; text-transform: uppercase;
}
footer .foot-col nav { display: flex; flex-direction: column; gap: 7px; margin: 0; }
footer .foot-bottom {
  border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px;
  display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between;
}
@media (max-width: 720px) {
  footer .foot-cols { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 70px 18px; }
.notfound h1 { font-size: 3rem; color: var(--accent); }
