/* ============================================================
   DogWalkJobs.com — Main Stylesheet
   Design: Warm earthy greens & browns, editorial clarity
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --green-900: #003d61;
  --green-800: #005280;
  --green-700: #0070b2;
  --green-600: #0070b2;
  --green-500: #1a7fbd;
  --green-400: #4fc3f7;
  --green-100: #dceef8;
  --green-50:  #f0f8ff;

  --brown-900: #3b1f0a;
  --brown-700: #6b3a1f;
  --brown-500: #a0623a;
  --brown-300: #c99a7a;
  --brown-100: #f5ede4;
  --brown-50:  #fdf7f2;

  --gold:      #d4a847;
  --gold-lt:   #f0d68a;

  --gray-900: #1a1a1a;
  --gray-700: #3d3d3d;
  --gray-500: #6e6e6e;
  --gray-300: #b5b5b5;
  --gray-100: #f0f0f0;
  --gray-50:  #f8f8f8;

  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-w: 1200px;
  --content-w: 780px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--green-900);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin: 2.4rem 0 .9rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 700; margin: 1.8rem 0 .6rem; }
h4 { font-size: 1.1rem; font-weight: 700; margin: 1.4rem 0 .4rem; }
p  { margin-bottom: 1.1rem; font-size: 1.05rem; }
strong { font-weight: 600; }
em { font-style: italic; }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  background: var(--green-900);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  text-decoration: none;
}
.site-logo span { color: var(--green-400); }
.site-logo:hover { text-decoration: none; color: var(--white); }

.main-nav { display: flex; gap: .15rem; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
}
.nav-cta {
  background: var(--green-600) !important;
  color: var(--white) !important;
  padding: .48rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-700) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: .3s;
}

/* ── Hero (Homepage) ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  border-radius: 99px;
  padding: .28rem .9rem;
  font-size: .88rem;
  font-weight: 500;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); color: var(--white); text-decoration: none; }
.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.btn-white:hover { background: var(--green-50); color: var(--green-900); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-600);
}
.btn-outline:hover { background: var(--green-700); color: var(--white); text-decoration: none; }
.btn-gold {
  background: var(--gold);
  color: var(--brown-900);
  border-color: var(--gold);
}
.btn-gold:hover { background: #c49a3d; text-decoration: none; color: var(--brown-900); }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.article-body { min-width: 0; }
.sidebar { min-width: 0; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .6rem 1.5rem;
  font-size: .88rem;
  color: var(--gray-500);
}
.breadcrumb-inner a { color: var(--green-700); }
.breadcrumb-inner span { margin: 0 .4rem; }

/* ── Article Header ────────────────────────────────────── */
.article-header {
  padding: 2.5rem 1.5rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.article-header .category-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  padding: .25rem .8rem;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .9rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--gray-500);
  font-size: .9rem;
  margin-top: .9rem;
  flex-wrap: wrap;
}
.updated-badge {
  background: var(--green-100);
  color: var(--green-800);
  padding: .2rem .7rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
}

/* ── Affiliate Disclosure ──────────────────────────────── */
.affiliate-disclosure {
  background: var(--brown-50);
  border: 1px solid var(--brown-300);
  border-left: 4px solid var(--brown-500);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: .9rem;
  color: var(--brown-700);
  margin: 1.5rem 0;
}
.affiliate-disclosure a { color: var(--brown-700); font-weight: 600; }

/* ── Stat Box ──────────────────────────────────────────── */
.stat-box {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-400);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-top: .3rem;
}

/* ── Comparison Table ──────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th {
  background: var(--green-800);
  color: var(--white);
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .95rem;
}
.compare-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: .95rem;
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table .winner { color: var(--green-700); font-weight: 600; }
.compare-table .check { color: var(--green-600); }
.compare-table .x { color: #c0392b; }

/* ── Callout Boxes ─────────────────────────────────────── */
.callout {
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  border-left: 4px solid;
}
.callout-tip {
  background: var(--green-50);
  border-color: var(--green-600);
  color: var(--green-900);
}
.callout-warn {
  background: #fff8e1;
  border-color: var(--gold);
  color: #5a4200;
}
.callout-info {
  background: #e8f4fd;
  border-color: #2196f3;
  color: #0d3b5e;
}
.callout-title {
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .4rem;
}

/* ── Step List ─────────────────────────────────────────── */
.step-list { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.step-list li::before {
  content: counter(steps);
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ── CTA Block ─────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-block h3 {
  color: var(--white);
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.4rem;
}
.cta-block p { color: rgba(255,255,255,.85); margin-bottom: 1.2rem; }

/* ── FAQ Section ───────────────────────────────────────── */
.faq-section { margin: 2.5rem 0; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--gray-50);
  border: none;
  text-align: left;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  transition: background .18s;
}
.faq-question:hover { background: var(--green-100); }
.faq-question .faq-icon {
  color: var(--green-700);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-answer.open { max-height: 800px; padding: 1rem 1.2rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Table of Contents ─────────────────────────────────── */
.toc {
  background: var(--brown-50);
  border: 1px solid var(--brown-300);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0 2.2rem;
}
.toc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-700);
  margin-bottom: .8rem;
}
.toc ol { margin: 0; }
.toc li { margin-bottom: .3rem; font-size: .95rem; }
.toc a { color: var(--green-800); font-weight: 500; }

/* ── Sidebar ───────────────────────────────────────────── */
.sidebar-widget {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.8rem;
}
.sidebar-widget h3,
.sidebar-widget h4 {
  color: var(--green-900);
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--green-600);
}
.sidebar-widget ul { padding: 0; list-style: none; }
.sidebar-widget ul li { padding: .35rem 0; border-bottom: 1px solid var(--gray-100); font-size: .93rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--green-800); font-weight: 500; }
.sidebar-signup {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.8rem;
  text-align: center;
}
.sidebar-signup h3,
.sidebar-signup h4 { color: var(--white); border-color: var(--green-400); }
.sidebar-signup p { color: rgba(255,255,255,.8); font-size: .92rem; margin-bottom: 1rem; }

/* ── Category Grid (Homepage) ──────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-400);
  text-decoration: none;
}
.category-card .cat-icon {
  font-size: 2.2rem;
  margin-bottom: .9rem;
}
.category-card h3 {
  color: var(--green-900);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: .5rem;
}
.category-card p { color: var(--gray-500); font-size: .93rem; margin: 0; }

/* ── Platform Cards ────────────────────────────────────── */
.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.platform-card {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.platform-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.platform-card .platform-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: .3rem;
}
.platform-card .platform-pay {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: .2rem;
}
.platform-card .platform-label { font-size: .82rem; color: var(--gray-500); margin-bottom: .9rem; }

/* ── Article List (Category pillar) ────────────────────── */
.article-list { list-style: none; padding: 0; }
.article-list li {
  border-bottom: 1px solid var(--gray-100);
  padding: .9rem 0;
}
.article-list li:last-child { border-bottom: none; }
.article-list a { font-weight: 600; color: var(--green-800); font-size: 1rem; }
.article-list .article-meta-small { font-size: .85rem; color: var(--gray-500); margin-top: .2rem; }

/* ── Section Wrapper ───────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--green-900); color: var(--white); }
.section-brown { background: var(--brown-50); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green-900);
  margin-bottom: .5rem;
}
.section-dark .section-title { color: var(--white); }
.section-sub { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 2rem; }
.section-dark .section-sub { color: rgba(255,255,255,.75); }

/* ── Form Styles ───────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--gray-700);
}
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .18s;
}
.form-control:focus {
  outline: none;
  border-color: var(--green-600);
}
select.form-control { cursor: pointer; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}
.footer-brand .site-logo { font-size: 1.3rem; }
.footer-brand p { font-size: .9rem; margin-top: .7rem; color: rgba(255,255,255,.6); }
.footer-col h3,
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ── Trust Badges ──────────────────────────────────────── */
.trust-bar {
  background: var(--green-100);
  padding: .75rem 1.5rem;
  text-align: center;
  font-size: .88rem;
  color: var(--green-800);
  font-weight: 500;
}
.trust-bar span { margin: 0 1rem; }

/* ── Highlight Box ─────────────────────────────────────── */
.highlight-box {
  background: var(--gold-lt);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: .97rem;
}

/* ── Rating Stars ──────────────────────────────────────── */
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.rating-row { display: flex; align-items: center; gap: .5rem; }
.rating-num { font-weight: 700; font-size: 1.1rem; }

/* ── Verdict Banner ────────────────────────────────────── */
.verdict-banner {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.verdict-emoji { font-size: 2rem; flex-shrink: 0; }
.verdict-text p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.verdict-text strong { color: var(--white); font-size: 1.05rem; display: block; margin-bottom: .2rem; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--green-900); padding: 1rem; }
  .main-nav.open { display: flex; }
  .hamburger { display: block; }
  .hero { padding: 3rem 1.2rem 2.5rem; }
  .stat-box { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .verdict-banner { flex-direction: column; text-align: center; }
  .content-grid { padding: 1.5rem 1rem; }
}

/* ── Utility ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green-700); }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.gap-1 { gap: .5rem; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }

/* Article index on pillar pages */
.article-index {
  background: var(--brown-50, #fdf7f2);
  border-left: 4px solid var(--green-700, #0070b2);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  margin: 1.5rem 0 2rem 0;
}
.article-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .article-index-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }
}
.article-index-list li {
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
  font-size: 0.95rem;
}
.article-index-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-700, #0070b2);
  font-weight: bold;
}
.article-index-list a {
  color: var(--green-900, #003d61);
  text-decoration: none;
}
.article-index-list a:hover {
  text-decoration: underline;
}
.article-index-list strong {
  font-weight: 600;
}


/* Popular Guides section on homepage */
.popular-guides {
  background: var(--brown-50, #fdf7f2);
  padding: 4rem 0;
  margin-top: 3rem;
}
.popular-guides h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--green-900, #003d61);
  margin-bottom: 0.5rem;
}
.popular-guides .section-subtitle {
  text-align: center;
  color: #5a5a5a;
  margin-bottom: 2.5rem;
}
.popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .popular-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .popular-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.popular-card {
  display: block;
  background: white;
  border: 1px solid #e8d8c8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 122, 88, 0.12);
  border-color: var(--green-700, #0070b2);
}
.popular-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05rem;
  color: var(--green-900, #003d61);
  font-weight: 600;
}
.popular-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.45;
}


/* Related Reading box */
.related-reading {
  background: #f5f0e8;
  border-left: 3px solid var(--gold, #d4a847);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}
.related-reading-title {
  font-weight: 600;
  color: var(--green-900, #003d61);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.related-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-reading li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
}
.related-reading li:before {
  content: "→ ";
  color: var(--green-700, #0070b2);
  margin-right: 0.25rem;
}
.related-reading a {
  color: var(--green-900, #003d61);
  text-decoration: none;
}
.related-reading a:hover {
  text-decoration: underline;
}


/* HTML Sitemap page styling */
.sitemap-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
@media (min-width: 700px) {
  .sitemap-categories {
    grid-template-columns: 1fr 1fr;
  }
}
.sitemap-cat {
  background: var(--brown-50, #fdf7f2);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--green-700, #0070b2);
}
.sitemap-cat h2 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}
.sitemap-cat h2 a {
  color: var(--green-900, #003d61);
  text-decoration: none;
}
.sitemap-cat h2 a:hover {
  text-decoration: underline;
}
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #e8d8c8;
  font-size: 0.95rem;
}
.sitemap-list li:last-child {
  border-bottom: none;
}
.sitemap-list a {
  color: var(--green-900, #003d61);
  text-decoration: none;
}
.sitemap-list a:hover {
  color: var(--green-700, #0070b2);
  text-decoration: underline;
}

/* ── Utility ─────────────────────────────────────────── */
.nowrap { white-space: nowrap; }

/* ── Scroll-reveal animations ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.revealed { opacity: 1; transform: none; }
