/* ==========================================
   WhenToPlant — Design System
   Earthy greens + warm soil + sunshine yellow
   ========================================== */

/* --- RESET & FOUNDATION --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary palette */
  --green-deep: #2D5F2D;
  --green-mid: #3A7D44;
  --green-light: #5B9A3D;
  --green-pale: #E8F0E4;
  --green-faint: #F4F8F2;

  /* Earth tones */
  --soil-dark: #5C3D2E;
  --soil-mid: #8B6B4A;
  --soil-light: #C4A882;
  --soil-pale: #F0E8DE;

  /* Sunshine accent */
  --sun-bright: #E8A838;
  --sun-warm: #F2C94C;
  --sun-pale: #FFF8E7;

  /* Neutrals */
  --cream: #FAFAF5;
  --cream-warm: #F5F2EB;
  --white: #FFFFFF;
  --border: #E0DDD5;
  --border-green: #C5D9BE;

  /* Text */
  --text-dark: #1C2B1C;
  --text-mid: #3D4F3D;
  --text-light: #6B7D6B;
  --text-muted: #8A9A8A;

  /* Functional */
  --frost-blue: #4A90D9;
  --frost-light: #E8F0FA;
  --harvest-orange: #D4732A;
  --harvest-light: #FDF0E6;
  --seed-purple: #7B5EA7;
  --seed-light: #F0EAF6;
  --transplant-teal: #2B8F8F;
  --transplant-light: #E6F5F5;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 62, 44, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 62, 44, 0.1);
  --shadow-lg: 0 8px 32px rgba(44, 62, 44, 0.12);
  --shadow-card: 0 2px 8px rgba(44, 62, 44, 0.06), 0 0 0 1px rgba(44, 62, 44, 0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2em; margin-bottom: 0.6em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-top: 1.5em; margin-bottom: 0.5em; }

h1 em, h2 em {
  font-style: italic;
  color: var(--green-mid);
}

p { margin-bottom: 1.2em; max-width: 72ch; }
a { color: var(--green-mid); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--green-deep); }

strong { font-weight: 600; }

/* --- ACCESSIBILITY --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* --- NAVIGATION --- */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-deep);
}
.logo-icon {
  width: 32px;
  height: 32px;
}
.logo span { color: var(--sun-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--green-pale); color: var(--green-deep); }
.nav-cta {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover { background: var(--green-deep) !important; }

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--cream-warm) 50%, var(--sun-pale) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-green);
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 0.4em;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* --- HERO TOOL --- */
.hero-tool {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.tool-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tool-input-group { margin-bottom: 1.25rem; }
.tool-input-group input,
.tool-input-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-input-group input:focus,
.tool-input-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(58, 125, 68, 0.12);
  outline: none;
}
.tool-input-group input::placeholder { color: var(--text-muted); }

.tool-btn {
  width: 100%;
  padding: 0.95rem;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.tool-btn:hover { background: var(--green-deep); }
.tool-btn:active { transform: scale(0.98); }

/* --- RESULTS PANEL --- */
.results-panel {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-green);
}
.results-panel.visible { display: block; }

.result-header {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.result-summary {
  background: var(--green-faint);
  border-left: 4px solid var(--green-mid);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

.date-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.date-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.date-card.frost { background: var(--frost-light); border: 1px solid rgba(74, 144, 217, 0.2); }
.date-card.seed { background: var(--seed-light); border: 1px solid rgba(123, 94, 167, 0.2); }
.date-card.transplant { background: var(--transplant-light); border: 1px solid rgba(43, 143, 143, 0.2); }
.date-card.harvest { background: var(--harvest-light); border: 1px solid rgba(212, 115, 42, 0.2); }

.date-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.date-card.frost .date-card-label { color: var(--frost-blue); }
.date-card.seed .date-card-label { color: var(--seed-purple); }
.date-card.transplant .date-card-label { color: var(--transplant-teal); }
.date-card.harvest .date-card-label { color: var(--harvest-orange); }

.date-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* --- SECTION LAYOUTS --- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header p {
  margin-left: auto;
  margin-right: auto;
  color: var(--text-mid);
}

/* --- CARD GRIDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card-grid-small {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 0; }

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}
.card-category.warm { background: var(--harvest-light); color: var(--harvest-orange); }
.card-category.cool { background: var(--frost-light); color: var(--frost-blue); }
.card-category.root { background: var(--soil-pale); color: var(--soil-dark); }
.card-category.flower { background: #F6E8F0; color: #8E4475; }
.card-category.herb { background: var(--green-pale); color: var(--green-deep); }
.card-category.fruit { background: var(--harvest-light); color: #B83E3E; }
.card-category.bulb { background: var(--seed-light); color: var(--seed-purple); }
.card-category.lawn { background: var(--green-pale); color: var(--green-mid); }

/* --- PLANT PAGE LAYOUT --- */
.plant-hero {
  background: linear-gradient(135deg, var(--green-faint) 0%, var(--cream-warm) 100%);
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border-green);
}
.plant-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}
.plant-hero h1 { margin-bottom: 0.3em; }
.plant-hero .plant-tagline {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.quick-fact {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.quick-fact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.quick-fact-value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

/* --- STATE PAGE LAYOUT --- */
.state-hero {
  background: linear-gradient(135deg, var(--soil-pale) 0%, var(--cream-warm) 50%, var(--green-faint) 100%);
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.zone-badge {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.1rem;
}

/* --- FROST DATE TABLE --- */
.frost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.frost-table th {
  background: var(--green-pale);
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--green-deep);
  border-bottom: 2px solid var(--border-green);
}
.frost-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.frost-table tr:hover td { background: var(--green-faint); }

/* --- TIMELINE --- */
.planting-timeline {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.timeline-month {
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--cream-warm);
  border: 1px solid var(--border);
}
.timeline-month.active-seed { background: var(--seed-light); border-color: rgba(123, 94, 167, 0.3); color: var(--seed-purple); }
.timeline-month.active-transplant { background: var(--transplant-light); border-color: rgba(43, 143, 143, 0.3); color: var(--transplant-teal); }
.timeline-month.active-sow { background: var(--green-pale); border-color: var(--border-green); color: var(--green-deep); }
.timeline-month.active-harvest { background: var(--harvest-light); border-color: rgba(212, 115, 42, 0.3); color: var(--harvest-orange); }

/* --- FAQ SECTION --- */
.faq-section { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 2.5rem 1rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--green-mid); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* --- BREADCRUMBS --- */
.breadcrumb {
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.breadcrumb li::after { content: '›'; margin-left: 0.5rem; color: var(--text-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-mid); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-dark); font-weight: 500; }

/* --- FOOTER --- */
.site-footer {
  background: var(--text-dark);
  color: var(--cream-warm);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--sun-warm); }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sun-warm); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- DISCLAIMER BAR --- */
.disclaimer-bar {
  background: var(--sun-pale);
  border: 1px solid rgba(232, 168, 56, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 1.5rem 0;
}

/* --- TRUST SECTION --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 1.5rem;
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.trust-item h3 { margin-top: 0; font-size: 1.1rem; }
.trust-item p { color: var(--text-mid); font-size: 0.95rem; margin: 0 auto; }

/* --- CTA SECTION --- */
.bottom-cta {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--white);
}
.bottom-cta h2 {
  color: var(--white);
  margin-top: 0;
}
.bottom-cta p { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }
.bottom-cta .tool-btn {
  max-width: 320px;
  margin: 1rem auto 0;
  background: var(--sun-bright);
  color: var(--text-dark);
  font-weight: 700;
}
.bottom-cta .tool-btn:hover { background: var(--sun-warm); }

/* --- COMPANIONS LIST --- */
.companions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0;
}
.companion-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}
.companion-tag.good { background: var(--green-pale); color: var(--green-deep); }
.companion-tag.bad { background: #FCE4E4; color: #8B3A3A; }

/* --- STATE LIST --- */
.state-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}
.state-list a {
  display: block;
  padding: 0.6rem 0.8rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.state-list a:hover {
  border-color: var(--green-mid);
  background: var(--green-faint);
}

/* --- CONTENT PAGES --- */
.content-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.content-page h1 { margin-bottom: 0.3em; }
.content-page .last-reviewed {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- RELATED LINKS --- */
.related-section { margin-top: 2.5rem; }
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.related-link {
  display: block;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-link:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.related-link small { display: block; color: var(--text-light); font-weight: 400; font-size: 0.85rem; margin-top: 0.2rem; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }

  .hero { padding: 3rem 1rem; }
  .hero-tool { padding: 1.5rem; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .card-grid { grid-template-columns: 1fr; }
  .date-cards { grid-template-columns: 1fr 1fr; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .state-list { grid-template-columns: 1fr 1fr; }

  .planting-timeline {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .date-cards { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
}

/* Article content */
.article-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--green-deep);
  margin: 2.5rem 0 0.75rem;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}
.article-content p {
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--text-mid);
}
.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.75;
  color: var(--text-mid);
}
.article-content li { margin-bottom: 0.4rem; }
.article-content a { color: var(--green-mid); }
.article-content a:hover { color: var(--green-deep); }
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-footer a { color: var(--green-mid); font-weight: 500; }
@media (max-width: 768px) {
  .article-content h1 { font-size: 1.7rem; }
  .article-content h2 { font-size: 1.3rem; }
}
