/* Christmas Gift Guide 2026 — festive magazine theme */
:root {
  --ink: #2d1f1f;
  --muted: #6f5a52;
  --accent: #b91c1c;
  --accent-dark: #7f1d1d;
  --accent-soft: #fdecec;
  --gold: #b45309;
  --gold-soft: #fef6e7;
  --pine: #14532d;
  --bg: #fffdfa;
  --wash: #fbf5f1;
  --card: #ffffff;
  --line: #efdcd3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.1rem;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--accent-dark);
}
.hero img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(90,12,12,0.45) 0%, rgba(90,12,12,0.80) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 92px 22px 74px;
  max-width: 860px;
  margin: 0 auto;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd9d9;
  background: rgba(185,28,28,0.55);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  max-width: 680px;
}
.hero p.sub {
  font-size: 1.12rem;
  color: #ffe9e9;
  max-width: 640px;
  margin: 0 0 28px;
}
.btn {
  display: inline-block;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: #ffe9e9; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  margin-left: 10px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }

/* ---------- Magazine strip ---------- */
.ticker {
  background: var(--pine);
  color: #e9f7ee;
  font-size: 0.86rem;
  padding: 10px 0;
}
.ticker .wrap { display: flex; gap: 26px; flex-wrap: wrap; }
.ticker span { white-space: nowrap; }

/* ---------- Sections ---------- */
main { padding: 46px 0 56px; }
.section-title {
  font-size: 1.45rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--muted); margin: 0 0 10px; max-width: 700px; }
.hr-festive {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 46px 0;
  position: relative;
}
.hr-festive::after {
  content: "🎄";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
}

/* Featured story */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
  margin: 28px 0 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.feature:hover { box-shadow: 0 14px 34px rgba(185,28,28,0.12); }
.feature img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.feature-body { padding: 30px 30px 30px 4px; }
.feature .kicker {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: var(--line);
}
.feature h3 { margin: 0 0 10px; font-size: 1.5rem; line-height: 1.3; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.feature p { color: var(--muted); margin: 0 0 16px; }

/* Article cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(185,28,28,0.14);
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 10px;
}
.tag.gold { color: #92400e; background: var(--gold-soft); }
.card h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.35; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 0.94rem; flex: 1; }
.read-more {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

/* Quick tips strip */
.tips-strip {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  margin-top: 46px;
}
.tips-strip h2 { margin: 0 0 14px; font-size: 1.25rem; }
.tips-strip ul { margin: 0; padding-left: 20px; color: var(--muted); }
.tips-strip li { margin-bottom: 8px; }
.tips-strip li strong { color: var(--ink); }

/* ---------- Article pages ---------- */
.post-hero {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line);
}
.post-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.post h1 { font-size: 2rem; margin: 0 0 6px; letter-spacing: -0.02em; line-height: 1.25; }
.post .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.post h2 {
  font-size: 1.32rem;
  margin: 38px 0 12px;
  padding-top: 6px;
}
.post h2:not(:first-of-type) { border-top: 1px solid var(--line); padding-top: 26px; }
.post ul, .post ol { padding-left: 22px; }
.post li { margin-bottom: 8px; }
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 26px 0;
  font-size: 0.98rem;
}
.callout strong { color: var(--accent-dark); }
.callout.gold {
  background: var(--gold-soft);
  border-left-color: var(--gold);
}
.callout.gold strong { color: #92400e; }
.back { display: inline-block; margin-bottom: 22px; color: var(--accent); text-decoration: none; font-weight: 600; }
.back:hover { text-decoration: underline; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.post-nav a { color: var(--accent); font-weight: 600; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid var(--accent);
  background: var(--wash);
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .disclaimer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}
.site-footer .footer-nav { margin: 14px 0 6px; }
.site-footer .footer-nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
.site-footer .footer-nav a:hover { text-decoration: underline; }
.site-footer .ai-disclosure { font-size: .85em; opacity: .85; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature img { min-height: 200px; }
  .feature-body { padding: 4px 22px 26px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-inner { padding: 64px 22px 52px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
