/* Wendy's Daily News - fan news site styles (original design) */
:root {
  --red: #d2342a;
  --red-dark: #a9241c;
  --red-light: #fdecea;
  --ink: #202124;
  --muted: #5f6368;
  --line: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #faf7f5;
  --radius: 12px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; flex-shrink: 0;
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: .2px; line-height: 1.1; }
.brand-tag { font-size: 12px; opacity: .9; font-weight: 400; }

.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a { color: #fff; font-weight: 600; font-size: 16px; }
.main-nav a:hover, .main-nav a.active { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none; background: none; border: 2px solid #fff;
  color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 18px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; padding: 56px 0;
}
.hero h1 { font-size: 40px; line-height: 1.2; margin-bottom: 12px; }
.hero p { font-size: 18px; opacity: .95; max-width: 640px; }
.fan-badge {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 4px 14px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}

/* ---------- Ad slots (reserved for Google AdSense) ---------- */
.ad-slot {
  background: var(--bg-soft);
  border: 1px dashed #cfcfcf;
  border-radius: 8px;
  color: #9a9a9a;
  font-size: 12px;
  text-align: center;
  padding: 18px 10px;
  margin: 28px auto;
  max-width: 100%;
}
.ad-slot::after { content: "Advertisement space (reserved)"; }
.ad-leaderboard { min-height: 100px; max-width: 970px; }
.ad-sidebar { min-height: 250px; }
.ad-inarticle { min-height: 120px; }

/* ---------- Article cards ---------- */
.section-title {
  font-size: 26px; margin: 40px 0 20px; padding-bottom: 10px;
  border-bottom: 3px solid var(--red); display: inline-block;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.card:hover a.card-title { text-decoration: underline; }
.card-art { height: 170px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 52px; font-weight: 800; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.art-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.art-cream { background: linear-gradient(135deg, #e8a13c, #c97a1e); }
.art-green { background: linear-gradient(135deg, #2e7d4f, #1d5c36); }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); }
a.card-title { color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.35; }
.card-excerpt { color: var(--muted); font-size: 15px; flex: 1; }
.card-meta { font-size: 13px; color: var(--muted); }

/* ---------- Article page ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin: 36px 0 60px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 24px 0 8px; }
.article-hero { border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 64px; font-weight: 800; margin-bottom: 24px; }
.article h1 { font-size: 34px; line-height: 1.25; margin-bottom: 10px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article-body h2 { font-size: 24px; margin: 32px 0 12px; color: var(--red-dark); }
.article-body p { margin-bottom: 18px; }
.article-hero-img { margin-bottom: 24px; text-align: center; }
.article-hero-img img { border-radius: var(--radius); width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.article-figure { margin: 0 0 22px; }
.article-figure img { border-radius: var(--radius); }
.article-figure figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--red); padding: 8px 18px; margin: 24px 0;
  background: var(--red-light); border-radius: 0 8px 8px 0; font-style: italic;
}
.sidebar .widget { margin-bottom: 28px; }
.widget-title { font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.related-list { list-style: none; }
.related-list li { margin-bottom: 12px; font-size: 15px; }
.related-list a { color: var(--ink); font-weight: 600; }
.fan-note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 18px; font-size: 14px; color: var(--muted); margin-top: 32px;
}

/* ---------- Static pages ---------- */
.page { max-width: 760px; margin: 40px auto 64px; }
.page h1 { font-size: 34px; margin-bottom: 16px; }
.page h2 { font-size: 22px; margin: 28px 0 10px; color: var(--red-dark); }
.page p { margin-bottom: 16px; }
.page ul { margin: 0 0 16px 24px; }
.contact-form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 16px; font-family: inherit;
}
.btn {
  display: inline-block; background: var(--red); color: #fff;
  border: none; border-radius: 8px; padding: 12px 28px;
  font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 18px;
}
.btn:hover { background: var(--red-dark); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #191919; color: #cfcfcf; padding: 44px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid h3 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #cfcfcf; }
.disclaimer {
  border-top: 1px solid #333; padding-top: 20px; font-size: 13px; color: #9a9a9a; line-height: 1.6;
}
.copyright { margin-top: 14px; font-size: 13px; color: #7a7a7a; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .article h1 { font-size: 27px; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.2); }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
}

.brand-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
