/* ============================================================
   blog-city.css — SeniorMatch City Blog Template
   Reusable across all US city pages
   Designed for 50+ readers: larger type, warm palette, clear hierarchy
   ============================================================ */

/* ── Custom properties ── */
:root {
  --forest:       #1a3a2a;
  --forest-mid:   #2d5c42;
  --forest-light: #3d7a58;
  --sage:         #a8c5b0;
  --sage-light:   #d4e8da;
  --cream:        #f7f3ed;
  --warm-white:   #fefcf8;
  --gold:         #c9a84c;
  --gold-light:   #e8c97a;
  --gold-pale:    #faf3e0;
  --text-dark:    #1c1c1a;
  --text-mid:     #3e3e3a;
  --text-muted:   #6e6e66;
  --border:       rgba(26,58,42,0.10);
  --border-mid:   rgba(26,58,42,0.18);
  --red-soft:     #b94040;
  --red-bg:       #fdf2f2;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;

  --max-w:   740px;
  --wide-w: 1060px;
  --radius:    10px;
  --radius-lg: 16px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px; /* 50+ readers: intentionally larger base */
}

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--forest-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

/* ── Navigation ── */
.site-nav {
  background: var(--forest);
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid rgba(201,168,76,0.3);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}
.nav-logo span { color: rgba(255,255,255,0.85); font-weight: 400; }
.nav-cta {
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-ui);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 1.2rem;
  border-radius: 24px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); color: var(--forest); }

/* ── Hero ── */
.article-hero {
  background: linear-gradient(160deg, rgba(26,58,42,0.90) 0%, rgba(26,58,42,0.72) 60%, rgba(26,58,42,0.85) 100%),
              var(--hero-bg, #2d5c42) center/cover no-repeat;
  min-height: 380px;
  display: flex; align-items: flex-end;
  padding: 3rem 2rem 2.5rem;
}
.hero-inner {
  max-width: var(--wide-w);
  margin: 0 auto; width: 100%;
}
.hero-breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.hero-breadcrumb a { color: var(--gold-light); text-decoration: none; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb span { margin: 0 6px; opacity: 0.5; }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.15;
  color: #fff;
  max-width: 680px;
  margin-bottom: 1rem;
}
.hero-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.60);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.hero-meta .dot { opacity: 0.4; }
.hero-tag-pill {
  background: rgba(201,168,76,0.22);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}

/* ── Layout ── */
.article-wrap {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 3.5rem;
  align-items: start;
}
.article-body { min-width: 0; }
.article-sidebar { position: sticky; top: 80px; }

/* ── Typography: article body ── */
.article-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 2.8rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--sage-light);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--forest);
  margin: 2rem 0 0.6rem;
}
.article-body h4 {
  font-family: var(--font-ui);
  font-size: 0.9rem; font-weight: 600;
  color: var(--forest-mid);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 1.5rem 0 0.4rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
  color: var(--text-mid);
}
.article-body li {
  margin-bottom: 0.45rem;
  line-height: 1.75;
}
.article-body strong { color: var(--text-dark); font-weight: 600; }

/* ── Lead paragraph ── */
.lead {
  font-size: 1.15rem !important;
  color: var(--text-dark) !important;
  font-weight: 400;
  line-height: 1.75 !important;
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin-bottom: 2rem !important;
}

/* ── Stat strip ── */
.stat-strip {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
  letter-spacing: 0.03em;
}

/* ── Pull quote / insight box ── */
.insight-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}
.insight-box p {
  font-size: 1rem !important;
  color: var(--text-dark) !important;
  margin: 0 !important;
  font-style: italic;
  line-height: 1.7 !important;
}
.insight-box cite {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 0.5rem;
}

/* ── Barrier cards ── */
.barrier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.barrier-card {
  background: var(--warm-white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.barrier-icon {
  font-family: var(--font-ui);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.4rem;
}
.barrier-card h4 {
  font-family: var(--font-ui) !important;
  font-size: 0.88rem !important; font-weight: 600 !important;
  color: var(--text-dark) !important;
  text-transform: none !important; letter-spacing: 0 !important;
  margin: 0 0 0.5rem !important;
}
.barrier-card p {
  font-size: 0.85rem !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}
.barrier-card .solution {
  margin-top: 0.7rem !important;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem !important;
  color: var(--forest-mid) !important;
  font-style: italic;
}
.barrier-card .solution a {
  color: var(--forest);
  font-weight: 600;
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.barrier-card .solution a:hover { color: var(--forest-light); }

/* ── Message templates ── */
.message-box {
  background: var(--cream);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0.6rem 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  position: relative;
}
.message-box::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--sage);
  position: absolute;
  top: -4px; left: 10px;
  line-height: 1;
}
.message-label {
  font-family: var(--font-ui);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.5rem;
}

/* ── Timeline plan ── */
.timeline { margin: 1.5rem 0 2rem; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--sage-light);
}
.timeline-item {
  display: flex; gap: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.timeline-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
}
.timeline-content { padding-top: 6px; flex: 1; }
.timeline-content h4 {
  font-family: var(--font-ui) !important;
  font-size: 0.92rem !important; font-weight: 600 !important;
  color: var(--text-dark) !important;
  text-transform: none !important; letter-spacing: 0 !important;
  margin: 0 0 0.35rem !important;
}
.timeline-content p {
  font-size: 0.88rem !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}

/* ── Story cards ── */
.story-card {
  background: var(--warm-white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.story-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 0.85rem;
}
.story-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 2px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 600;
  color: var(--forest);
  flex-shrink: 0;
}
.story-person { font-family: var(--font-ui); }
.story-name { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.story-detail { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.story-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--forest-light);
  background: var(--sage-light);
  padding: 3px 9px; border-radius: 20px;
  margin-left: auto;
}
.story-card p {
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  margin-bottom: 0.7rem !important;
}
.story-card p:last-child { margin-bottom: 0 !important; }
.story-card .story-outcome {
  font-size: 0.85rem !important;
  color: var(--forest-mid) !important;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem !important;
  font-style: italic;
}

/* ── Safety checklist ── */
.safety-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.safety-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}
.safety-list li:last-child { border-bottom: none; }
.safety-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0; margin-top: 2px;
}
.safety-icon.ok  { background: #e1f5ee; color: #085041; }
.safety-icon.warn { background: var(--red-bg); color: var(--red-soft); }

/* ── Warning / red-flag box ── */
.warning-box {
  background: var(--red-bg);
  border-left: 4px solid var(--red-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.2rem 0;
}
.warning-box p {
  font-size: 0.88rem !important;
  color: #6b2020 !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}
.warning-box strong { color: var(--red-soft) !important; }

/* ── Date spots ── */
.spots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.spot-card {
  background: var(--warm-white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.spot-type {
  font-family: var(--font-ui);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.spot-card h4 {
  font-family: var(--font-ui) !important;
  font-size: 0.9rem !important; font-weight: 600 !important;
  color: var(--text-dark) !important;
  text-transform: none !important; letter-spacing: 0 !important;
  margin: 0 0 0.35rem !important;
}
.spot-card p {
  font-size: 0.82rem !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
}
.spot-tip {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--forest-light);
  margin-top: 0.4rem;
}

/* ── CTA block (inline) ── */
.cta-block {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-block h3 {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important; font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 0.6rem !important;
}
.cta-block p {
  font-family: var(--font-ui);
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.72) !important;
  margin: 0 0 1.2rem !important;
  line-height: 1.6 !important;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-ui);
  font-size: 0.92rem; font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--gold-light); color: var(--forest); }
.cta-note {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.6rem;
  display: block;
}

/* ── FAQ accordion ── */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border-bottom: 1px solid var(--border-mid);
}
.faq-item:first-child { border-top: 1px solid var(--border-mid); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1rem 0;
  font-family: var(--font-ui);
  font-size: 0.97rem; font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  line-height: 1.45;
}
.faq-q:hover { color: var(--forest); }
.faq-arrow {
  font-size: 1.1rem; color: var(--forest-light);
  flex-shrink: 0; transition: transform 0.25s;
  font-style: normal;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0;
}
.faq-a-inner {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding-bottom: 1rem;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ── Sidebar ── */
.sidebar-card {
  background: var(--warm-white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h3 {
  font-family: var(--font-ui) !important;
  font-size: 0.78rem !important; font-weight: 600 !important;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-muted) !important;
  margin: 0 0 0.85rem !important;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 0.1rem; }
.toc-list a {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  color: var(--text-mid);
  text-decoration: none;
  display: block; padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 0.15s;
  line-height: 1.4;
}
.toc-list a:hover {
  color: var(--forest);
  border-left-color: var(--gold);
}
.toc-list a.active {
  color: var(--forest);
  border-left-color: var(--gold);
  font-weight: 500;
}
.sidebar-cta {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.sidebar-cta p {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 0.85rem;
  line-height: 1.6;
}
.sidebar-cta .cta-btn { width: 100%; display: block; font-size: 0.85rem; padding: 0.65rem; }
.sidebar-cta .cta-note { margin-top: 0.4rem; }
.sidebar-stat {
  text-align: center;
  padding: 0.5rem 0;
}
.sidebar-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--forest);
  display: block;
}
.sidebar-stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Footer ── */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--wide-w); margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--gold-light); text-decoration: none;
}
.footer-logo span { color: rgba(255,255,255,0.75); font-weight: 400; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  max-width: var(--wide-w); margin: 1.25rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .article-wrap {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 4rem;
  }
  .article-sidebar { display: none; }
  .barrier-grid,
  .spots-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .article-hero { min-height: 280px; padding: 2rem 1.25rem 2rem; }
}
@media (max-width: 480px) {
  html { font-size: 17px; }
  .stat-strip { grid-template-columns: 1fr; gap: 0.75rem; }
  .article-hero h1 { font-size: 1.65rem; }
}
