/* ============================================================
   It's Not Babysitting — shared stylesheet
   itsnotbabysitting.com
   ============================================================ */

/* 1. Custom Properties
   ---------------------------------------------------------- */
:root {
  --navy:       #1a365d;
  --navy-dark:  #0d2438;
  --orange:     #ff6b35;
  --ink:        #333;
  --muted:      #475569;
  --bg:         #f7f9fc;
  --card:       #fff;
  --line:       #e2e8f0;
}

/* 2. Reset + Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; }

ul { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* 3. Navigation
   ---------------------------------------------------------- */
nav {
  background: #1a2f1c;
  border-bottom: 3px solid #e85d2a;
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: #f2bc3b; }

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover { color: #f2bc3b; }

/* 4. Footer
   ---------------------------------------------------------- */
footer {
  background: #0f1e10;
  color: #a8b5a0;
  text-align: center;
  padding: 2rem;
  font-size: 0.92rem;
  margin-top: 2rem;
  border-top: 3px solid #e85d2a;
}
footer p { margin: 0; }
footer p + p { margin-top: 0.6rem; }
footer a {
  color: #f2bc3b;
  text-decoration: none;
}

/* 5. Card Grid Layout (shared across all listing pages)
   ---------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.badge {
  display: inline-block;
  background: #fff3e6;
  color: #b4471f;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card h2,
.card h3 {
  margin: .6rem 0 .5rem;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: #555;
  font-size: .95rem;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .7rem;
  border: 1px solid var(--line);
}

/* 6. Hero — Listing / Section style
   ---------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 3rem 1.25rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 {
  margin: 0 0 .7rem;
  font-size: 2.2rem;
  line-height: 1.15;
}
.hero p {
  margin: 0;
  opacity: .92;
  max-width: 760px;
  font-size: 1.06rem;
}

/* 7. Homepage — extended hero
   ---------------------------------------------------------- */
.hero-home .hero-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: center;
}
.hero-home h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 .8rem;
}
.hero-home p {
  opacity: .93;
  margin: 0 0 1.3rem;
  font-size: 1.08rem;
  max-width: 62ch;
}

.ctas {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: .82rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.btn-main { background: var(--orange); color: #fff; }
.btn-main:hover { opacity: .93; }
.btn-alt {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 1rem;
}
.hero-card h3 {
  margin: .1rem 0 .4rem;
  font-size: 1rem;
  color: #ffceb9;
}
.hero-card p {
  margin: 0;
  font-size: .95rem;
  opacity: .95;
}

.trust {
  max-width: 1200px;
  margin: -22px auto 0;
  padding: 0 1.25rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem .9rem;
  font-size: .93rem;
  color: #334155;
}
.trust-item strong { color: var(--navy); }

.section {
  max-width: 1200px;
  margin: 2.1rem auto;
  padding: 0 1.25rem;
}
.section h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.55rem;
}

.strip {
  background: #eef6ff;
  border: 1px solid #d4e7ff;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}
.strip strong { color: #0b4a8f; }

/* 8. Listing page wrappers
   ---------------------------------------------------------- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.section-title {
  margin: 1.8rem 0 1rem;
  color: var(--navy);
  font-size: 1.4rem;
}

.pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.pill {
  background: #e9eef7;
  color: var(--navy);
  padding: .4rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}

/* 9. Gear Reviews listing
   ---------------------------------------------------------- */
.topline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin: 0 0 1rem;
}
.topchip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .8rem;
  font-size: .9rem;
}
.topchip strong { color: var(--navy); }

.cta-box {
  margin-top: 1.1rem;
  padding: 1rem;
  background: #eef6ff;
  border: 1px solid #d4e7ff;
  border-radius: 12px;
}
.cta-box a {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

/* 10. Article page — Template A (hero-based layout)
   ---------------------------------------------------------- */
.breadcrumb {
  background: #f0f4f8;
  padding: .75rem 2rem;
  font-size: .92rem;
}
.breadcrumb .container {
  max-width: 1000px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.hero-article {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 3.25rem 2rem;
  color: #fff;
}
.hero-article .container {
  max-width: 1000px;
  margin: 0 auto;
}
.hero-article .category {
  display: inline-block;
  background: rgba(255, 107, 53, .15);
  border: 1px solid rgba(255, 107, 53, .35);
  color: var(--orange);
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-article h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: .8rem 0 .65rem;
}
.hero-article p {
  font-size: 1.15rem;
  max-width: 800px;
  opacity: .92;
  margin: 0;
}

.main {
  padding: 2.5rem 2rem;
  background: #fff;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}

.article { max-width: 820px; }
.article p { margin: 1rem 0; color: #444; font-size: 1.06rem; }
.article h2 { margin: 2.1rem 0 .75rem; color: var(--navy); font-size: 1.7rem; line-height: 1.25; }
.article h3 { margin: 1.45rem 0 .5rem; color: var(--navy); font-size: 1.22rem; line-height: 1.3; }
.article a { color: var(--orange); font-weight: 650; text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article ul,
.article ol { margin: .75rem 0 .75rem 1.25rem; color: #444; font-size: 1.06rem; }

.callout {
  background: #f8f9fa;
  border-left: 5px solid var(--orange);
  padding: 1.1rem;
  margin: 1.25rem 0;
  border-radius: 10px;
}
.callout strong { color: var(--navy); }

.table-wrap {
  overflow-x: auto;
  margin: 1.1rem 0;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 680px;
}
th, td {
  padding: .85rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: left;
}
th {
  background: #f0f4f8;
  color: var(--navy);
  font-weight: 800;
}
tr:hover td { background: #fafafa; }

.disclosure {
  margin-top: 2.2rem;
  padding: 1.15rem;
  border-radius: 12px;
  background: #f0f4f8;
  color: #555;
  font-size: .95rem;
}
.disclosure strong { color: var(--navy); }

.related { padding: 3rem 2rem; background: #fff; border-top: 1px solid #eef2f7; }
.related h3 { color: var(--navy); text-align: center; margin-bottom: 1.25rem; }
.related-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.related-links a {
  background: #f0f4f8;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
}
.related-links a:hover { background: var(--navy); color: #fff; }

.featured-media { margin: 1rem 0 1.5rem; }
.featured-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* 11. Article page — Template B (legacy container layout)
   ---------------------------------------------------------- */
.intro {
  background: #fff;
  padding: 2rem 1.5rem;
  margin: 0 0 2rem;
  border-bottom: 3px solid var(--orange);
}
.intro h2 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.75rem;
  line-height: 1.3;
}
.intro p { font-size: 1.05rem; }

.container-b {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

.box {
  background: var(--card);
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.product {
  background: var(--card);
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.product h3 { color: var(--navy); margin: 0 0 1rem; font-size: 1.35rem; }

.specs {
  background: #f5f7fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.specs ul { margin: .5rem 0 0; padding-left: 1.5rem; }
.specs li { margin-bottom: .3rem; font-size: .95rem; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.pros { background: #e8f5e9; padding: 1rem; border-radius: 8px; }
.cons { background: #ffebee; padding: 1rem; border-radius: 8px; }

.why-like {
  background: #fff8e1;
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid var(--orange);
}

.protip {
  background: #fff8e1;
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid var(--orange);
}

.checklist {
  background: #f5f7fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.rating { color: #1a7; font-weight: 600; }
.review-count { color: #666; font-size: .9rem; }

.buy-btn {
  background: var(--orange);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  min-width: 120px;
  font-size: .9rem;
}

/* Override: make h2 in Template B articles use accent style */
.container-b h2 {
  color: var(--navy);
  border-left: 5px solid var(--orange);
  padding-left: 1rem;
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}
.container-b h3 {
  color: var(--navy);
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

/* 12. Article enhancements (injected by site-layout.js)
   ---------------------------------------------------------- */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin: 0 0 1rem;
}
.meta-chip {
  background: #eef2ff;
  color: var(--navy);
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}

.toc-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0 1.4rem;
}
.toc-box h3 { margin: 0 0 .45rem; color: var(--navy); font-size: 1rem; }
.toc-box ul { margin: .2rem 0 0; padding-left: 1rem; }
.toc-box li { margin: .3rem 0; }
.toc-box a { color: var(--orange); text-decoration: none; font-weight: 700; }

.article-next {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.article-next h3 { margin: .2rem 0 1rem; color: var(--navy); }

.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
}
.next-card {
  display: block;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem;
  text-decoration: none;
  color: inherit;
}
.next-card:hover { background: #f1f5f9; }
.next-tag {
  display: inline-block;
  background: #fff3e6;
  color: #b4471f;
  font-size: .7rem;
  font-weight: 800;
  padding: .15rem .45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.next-card h4 { margin: .45rem 0 .35rem; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.next-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.share-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}
.share-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: .45rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

/* 13. Responsive
   ---------------------------------------------------------- */
@media (min-width: 600px) {
  .pros-cons { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .container-b { padding: 2rem; }
  .intro { padding: 3rem; }
  .intro h2 { font-size: 2rem; }
  .container-b h2 { font-size: 1.75rem; }
  .box { padding: 2rem; }
  .product { padding: 2rem; }
}

@media (max-width: 880px) {
  .hero-home .hero-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topline { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 1rem; }
  .breadcrumb { padding: .7rem 1rem; }
  .hero-article { padding: 2.5rem 1rem; }
  .hero-article h1 { font-size: 2.05rem; }
  .main { padding: 2rem 1rem; }
  .article p { font-size: 1.02rem; }
  .hero h1 { font-size: 1.8rem; }
  .wrap { padding: 1.5rem 1rem 2rem; }
}

@media (max-width: 400px) {
  body { font-size: 15px; }
  .intro h2 { font-size: 1.5rem; }
  .container-b h2 { font-size: 1.35rem; }
  .buy-btn { width: 100%; display: block; }
}

/* 14. Homepage — "Field Guide" Edition
   ---------------------------------------------------------- */

/* Page-level */
.home-page {
  font-family: 'Figtree', -apple-system, system-ui, 'Segoe UI', sans-serif;
  color: #1a1a14;
  background: #f5f0e6;
  --h-forest:  #1a2f1c;
  --h-forest2: #2a4a2e;
  --h-ember:   #e85d2a;
  --h-honey:   #f2bc3b;
  --h-cream:   #f5f0e6;
  --h-paper:   #fdf9f2;
  --h-ink:     #1a1a14;
  --h-muted:   #696959;
  --h-line:    #ddd8cc;
}

/* Main wrapper */
.home-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.4rem 0;
}

/* Hero */
.home-hero { margin: 0 0 1.4rem; }

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 47, 28, 0.24);
}

.home-hero-copy {
  background: #1a2f1c;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.022) 0px,
    rgba(255,255,255,0.022) 1px,
    transparent 1px,
    transparent 22px
  );
  color: #f5f0e6;
  padding: 2.8rem 2.6rem 2.8rem;
  position: relative;
  overflow: hidden;
}

.home-hero-copy::before {
  content: 'DAD';
  position: absolute;
  right: -1.5rem;
  bottom: -3rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 16rem;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* Staggered entrance animation */
@keyframes hFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-hero-copy > * {
  animation: hFadeUp 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.home-hero-copy .eyebrow     { animation-delay: 0.05s; }
.home-hero-copy h1           { animation-delay: 0.15s; }
.home-hero-copy .hero-sub    { animation-delay: 0.25s; }
.home-hero-copy .ctas        { animation-delay: 0.35s; }
.home-hero-copy .hero-points { animation-delay: 0.45s; }
.hero-rail { animation: hFadeUp 0.55s 0.2s cubic-bezier(0.22, 0.61, 0.36, 1) backwards; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f2bc3b;
  border: 1px solid rgba(242, 188, 59, 0.4);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.home-hero-copy h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  line-height: 1.07;
  margin: 0 0 1.1rem;
  color: #f5f0e6;
}

.h1-highlight {
  background: #e85d2a;
  color: #fff;
  padding: 0.04em 0.22em;
  border-radius: 6px;
  display: inline-block;
}

.hero-sub {
  font-size: 1.04rem;
  line-height: 1.68;
  color: rgba(245, 240, 230, 0.8);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.home-page .ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.home-page .btn {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  padding: 0.78rem 1.35rem;
  border-radius: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.14s, box-shadow 0.14s;
}

.home-page .btn:hover { transform: translateY(-2px); }

.home-page .btn-main {
  background: #e85d2a;
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 93, 42, 0.4);
}

.home-page .btn-main:hover {
  opacity: 1;
  box-shadow: 0 10px 28px rgba(232, 93, 42, 0.5);
}

.btn-ghost {
  background: rgba(245, 240, 230, 0.1);
  color: #f5f0e6;
  border: 1.5px solid rgba(245, 240, 230, 0.28);
}

.btn-ghost:hover { background: rgba(245, 240, 230, 0.18); }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-points li {
  font-size: 0.9rem;
  color: rgba(245, 240, 230, 0.72);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-points li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  background: rgba(242, 188, 59, 0.14);
  border: 1px solid rgba(242, 188, 59, 0.32);
  color: #f2bc3b;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: 900;
  flex-shrink: 0;
}

/* Hero rail (right side) */
.hero-rail {
  background: #fdf9f2;
  padding: 1.8rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  border-left: none;
}

.hero-rail h2 { display: none; }

.rail-header { margin-bottom: 1rem; }

.rail-badge {
  display: inline-block;
  background: #1a2f1c;
  color: #f2bc3b;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.32rem 0.72rem;
  border-radius: 4px;
}

.rail-item {
  display: block;
  padding: 0.82rem 0.9rem 0.82rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8e2d6;
  border-left-width: 3px;
  margin-bottom: 0.6rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.14s, box-shadow 0.14s, transform 0.14s;
}

.rail-item:nth-child(2) { border-left-color: #6c4ab6; }
.rail-item:nth-child(3) { border-left-color: #e85d2a; }
.rail-item:nth-child(4) { border-left-color: #0b7a6e; }
.rail-item:nth-child(5) { border-left-color: #c0392b; }

.rail-item:last-child { margin-bottom: 0; }

.rail-item:hover {
  border-color: #c8c0b4;
  box-shadow: 0 4px 14px rgba(26, 47, 28, 0.1);
  transform: translateX(3px);
}

.rail-category {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.rail-category.bedtime   { color: #6c4ab6; }
.rail-category.mornings  { color: #e85d2a; }
.rail-category.travel    { color: #0b7a6e; }
.rail-category.meltdowns { color: #c0392b; }

.rail-item strong {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: #1a1a14;
  line-height: 1.38;
}

/* Field strip (stats bar) */
.field-strip {
  background: #1a2f1c;
  border-radius: 14px;
  margin: 0 0 1.4rem;
  overflow: hidden;
  animation: hFadeUp 0.55s 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.field-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.15rem 1.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.field-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  text-align: center;
}

.field-note strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #f2bc3b;
  line-height: 1;
}

.field-note span {
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.65);
  font-weight: 500;
}

.field-divider {
  color: rgba(245, 240, 230, 0.2);
  font-size: 1.5rem;
  line-height: 1;
}

/* Ad slot */
.home-page .ad-slot {
  background: #fdf9f2;
  border: 1px dashed #c8c0b4;
  border-radius: 12px;
  margin: 0 0 1.4rem;
  min-height: 88px;
  display: grid;
  place-items: center;
}

.ad-slot span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  font-weight: 800;
}

/* Sections */
.home-page .section {
  max-width: unset;
  padding: 0;
  margin: 0 0 2.4rem;
}

.section-label {
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e85d2a;
  margin: 0 0 0.35rem;
}

.section-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a2f1c;
  margin: 0 0 1.2rem;
  line-height: 1.2;
}

.home-page .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.home-page .section-head .section-h2 { margin: 0; }

.home-page .section-head a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e85d2a;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .section-head a:hover { text-decoration: underline; }

/* Goal grid */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.goal-card {
  background: #fdf9f2;
  border: 1.5px solid #ddd8cc;
  border-radius: 14px;
  padding: 1.3rem 1.1rem 1.1rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
  position: relative;
  border-top-width: 4px;
}

.goal-card:nth-child(1) { border-top-color: #6c4ab6; }
.goal-card:nth-child(2) { border-top-color: #e85d2a; }
.goal-card:nth-child(3) { border-top-color: #c0392b; }
.goal-card:nth-child(4) { border-top-color: #0b7a6e; }

.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 47, 28, 0.12);
  border-color: #c8c0b4;
}

.goal-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  line-height: 1;
  display: block;
}

.goal-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #1a2f1c;
  margin: 0 0 0.42rem;
}

.goal-card p {
  font-size: 0.87rem;
  color: #696959;
  margin: 0;
  line-height: 1.55;
}

/* 3-column grid override (6-article section) */
.home-page .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .home-page .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .home-page .grid-3 { grid-template-columns: 1fr; }
}

/* Article / gear cards */
.home-page .card {
  background: #fdf9f2;
  border: 1.5px solid #ddd8cc;
  border-radius: 14px;
  transition: transform 0.14s, box-shadow 0.14s;
}

.home-page .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 47, 28, 0.12);
}

.home-page .card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: #1a2f1c;
}

.home-page .card p { color: #696959; }

.home-page .badge {
  background: rgba(26, 47, 28, 0.08);
  color: #1a2f1c;
  border-radius: 5px;
}

/* Bottom CTA */
.home-cta {
  background: #1a2f1c;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.022) 0px,
    rgba(255,255,255,0.022) 1px,
    transparent 1px,
    transparent 22px
  );
  border-radius: 20px;
  padding: 3.2rem 2.5rem;
  text-align: center;
  color: #f5f0e6;
  border: none;
  margin-bottom: 0;
}

.home-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #f5f0e6;
  margin: 0 0 0.7rem;
  line-height: 1.15;
}

.home-cta p {
  color: rgba(245, 240, 230, 0.75);
  max-width: 54ch;
  margin: 0 auto 1.7rem;
  font-size: 1.05rem;
}

.home-cta .ctas { justify-content: center; }

.home-page .btn-alt-dark {
  background: rgba(245, 240, 230, 0.12);
  color: #f5f0e6;
  border: 1.5px solid rgba(245, 240, 230, 0.25);
}

.home-page .btn-alt-dark:hover { background: rgba(245, 240, 230, 0.2); }

/* Footer */
.home-page footer {
  background: #111a12;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1060px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-rail { border-top: 1px solid #ddd8cc; padding: 1.4rem; }
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .home-main { padding: 1rem 1rem 0; }
  .home-hero-copy { padding: 2rem 1.5rem 1.8rem; }
  .home-hero-copy::before { display: none; }
  .field-strip-inner { gap: 1rem; }
  .field-divider { display: none; }
  .home-page .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero-copy { padding: 1.6rem 1.1rem 1.6rem; }
  .home-cta { padding: 2.2rem 1.4rem; }
}

/* 15. Articles Hub
   ---------------------------------------------------------- */
.articles-page {
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  color: #2c1f0f;
  background: #fdf9f2;
}

.articles-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.2rem 0;
}

.articles-hero {
  margin: 0 0 1.25rem;
}

.articles-hero-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  color: #fff;
  background: #1a2f1c;
  box-shadow: 0 16px 40px rgba(26, 47, 28, .28);
}

.articles-hero-inner::before {
  content: 'READ';
  position: absolute;
  right: -1rem;
  bottom: -2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
}

.articles-hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(255,255,255,.018) 5px,
    rgba(255,255,255,.018) 6px
  );
  pointer-events: none;
}

.articles-hero-inner .eyebrow {
  font-family: 'Figtree', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #f2bc3b;
  margin: 0 0 .6rem;
}

.articles-hero-inner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 .7rem;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  font-weight: 900;
}

.articles-hero-inner p {
  margin: 0;
  max-width: 68ch;
  opacity: .9;
  font-size: 1.05rem;
  line-height: 1.65;
}

.articles-hero-inner a {
  color: #f2bc3b;
  font-weight: 700;
  text-decoration: underline;
}

.articles-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin: 0 0 1.25rem;
}

.featured-card {
  background: #fff;
  border: 1px solid rgba(26, 47, 28, .1);
  border-top: 4px solid #e85d2a;
  border-radius: 12px;
  padding: 1.1rem 1rem;
  color: inherit;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 14px rgba(26, 47, 28, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(26, 47, 28, .13);
}

.articles-featured .featured-card:nth-child(2) { border-top-color: #1a2f1c; }
.articles-featured .featured-card:nth-child(3) { border-top-color: #f2bc3b; }

.featured-card span {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #e85d2a;
  margin-bottom: .5rem;
}

.articles-featured .featured-card:nth-child(2) span { color: #1a2f1c; }
.articles-featured .featured-card:nth-child(3) span { color: #b08a00; }

.featured-card h2 {
  margin: 0 0 .4rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  color: #1a2f1c;
  line-height: 1.35;
  font-weight: 700;
}

.featured-card p {
  margin: 0;
  color: #5a4a3a;
  font-size: .9rem;
  line-height: 1.55;
}

.articles-filter-wrap {
  border: 1px solid rgba(26, 47, 28, .1);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(26, 47, 28, .06);
}

.results-count {
  margin: 0;
  color: #7a6a5a;
  font-size: .88rem;
  font-weight: 600;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1rem;
}

.filter-chip {
  border: 1.5px solid rgba(26, 47, 28, .18);
  background: #f5f0e6;
  color: #2c1f0f;
  font-family: 'Figtree', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .4rem .8rem;
  cursor: pointer;
  transition: background .14s, border-color .14s, color .14s;
}

.filter-chip:hover {
  background: #e8e0d0;
  border-color: rgba(26, 47, 28, .3);
}

.filter-chip.active {
  background: #1a2f1c;
  color: #f5f0e6;
  border-color: #1a2f1c;
}

.articles-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.article-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #1a2f1c;
}

.article-card p {
  color: #5a4a3a;
}

@media (max-width: 980px) {
  .articles-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .articles-main {
    padding: .9rem .9rem 0;
  }
  .articles-hero-inner {
    padding: 1.5rem 1.1rem;
  }
}

/* 16. Gear Reviews Hub
   ---------------------------------------------------------- */
.gear-page {
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  color: #2c1f0f;
  background: #fdf9f2;
}

.gear-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.2rem 0;
}

.gear-hero {
  margin: 0 0 1.25rem;
}

.gear-hero-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  color: #fff;
  background: #1a2f1c;
  box-shadow: 0 16px 40px rgba(26, 47, 28, .28);
  border-bottom: 4px solid #e85d2a;
}

.gear-hero-inner::before {
  content: 'GEAR';
  position: absolute;
  right: -1rem;
  bottom: -2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
}

.gear-hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(255,255,255,.018) 5px,
    rgba(255,255,255,.018) 6px
  );
  pointer-events: none;
}

.gear-hero-inner .eyebrow {
  font-family: 'Figtree', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #f2bc3b;
  margin: 0 0 .6rem;
}

.gear-hero-inner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 .7rem;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  font-weight: 900;
}

.gear-hero-inner p {
  margin: 0;
  max-width: 68ch;
  opacity: .9;
  font-size: 1.05rem;
  line-height: 1.65;
}

.gear-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin: 0 0 .85rem;
}

.gear-featured .featured-card { border-top-color: #e85d2a; }
.gear-featured .featured-card:nth-child(2) { border-top-color: #1a2f1c; }
.gear-featured .featured-card:nth-child(3) { border-top-color: #f2bc3b; }

.gear-featured .featured-card span { color: #e85d2a; }
.gear-featured .featured-card:nth-child(2) span { color: #1a2f1c; }
.gear-featured .featured-card:nth-child(3) span { color: #b08a00; }

.gear-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0 0 1.25rem;
}

.note-card {
  background: #f5f0e6;
  border: 1px solid rgba(26, 47, 28, .1);
  border-left: 3px solid #e85d2a;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(26, 47, 28, .05);
}

.gear-notes .note-card:nth-child(2) { border-left-color: #1a2f1c; }
.gear-notes .note-card:nth-child(3) { border-left-color: #f2bc3b; }

.note-card h3 {
  margin: 0 0 .4rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #1a2f1c;
  font-weight: 700;
}

.note-card p {
  margin: 0;
  font-size: .9rem;
  color: #5a4a3a;
  line-height: 1.55;
}

.gear-filter-wrap {
  border: 1px solid rgba(26, 47, 28, .1);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(26, 47, 28, .06);
}

.gear-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.gear-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #1a2f1c;
}

.gear-card p {
  color: #5a4a3a;
}

@media (max-width: 980px) {
  .gear-featured,
  .gear-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gear-main {
    padding: .9rem .9rem 0;
  }
  .gear-hero-inner {
    padding: 1.5rem 1.1rem;
  }
}

/* 17. Single Article Refresh
   ---------------------------------------------------------- */
.article-page {
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  color: #2c1f0f;
  background: #fdf9f2;
}

.article-page .breadcrumb {
  background: transparent;
  padding: .75rem 1rem .1rem;
  font-family: 'Figtree', sans-serif;
}

.article-page .crumb-inner {
  max-width: 900px;
  margin: 0 auto;
  color: #7a6a5a;
  font-size: .85rem;
}

.article-page .crumb-inner a {
  color: #1a2f1c;
  font-weight: 700;
  text-decoration: none;
}

.article-page .crumb-inner a:hover {
  color: #e85d2a;
}

.article-page .article-shell {
  max-width: 900px;
  margin: .5rem auto 2rem;
  padding: 0 1.1rem 1rem;
}

.article-page .article-shell .featured-media {
  margin: 0 0 1.1rem;
}

.article-page .article-shell .featured-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(26, 47, 28, .12);
  box-shadow: 0 14px 32px rgba(26, 47, 28, .12);
}

/* Intro card */
.article-page .article-shell .intro {
  margin: 0 0 1.25rem !important;
  padding: 1.5rem 1.4rem !important;
  border: 1px solid rgba(26, 47, 28, .1) !important;
  border-top: 4px solid #1a2f1c !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(26, 47, 28, .08) !important;
}

.article-page .article-shell .intro h1,
.article-page .article-shell .intro h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: #1a2f1c !important;
  margin: 0 0 .5rem !important;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Reading time + updated chips */
.article-page .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .5rem 0 1.1rem;
}

.article-page .meta-chip {
  display: inline-block;
  background: #f5f0e6;
  color: #5a4a3a;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-radius: 999px;
  padding: .28rem .7rem;
  border: 1px solid rgba(26, 47, 28, .12);
}

/* Body text */
.article-page .article-shell p {
  color: #3a2c1e;
  line-height: 1.8;
  font-size: 1.04rem;
}

/* Section headings */
.article-page .article-shell h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  margin: 2rem 0 .75rem !important;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #1a2f1c !important;
  border: 0 !important;
  border-left: 4px solid #e85d2a !important;
  padding: 0 0 0 .75rem !important;
}

.article-page .article-shell h3 {
  font-family: 'Figtree', sans-serif !important;
  margin: 1.4rem 0 .5rem !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #1a2f1c !important;
}

/* Inline links */
.article-page .article-shell a {
  color: #c04a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 93, 42, .4);
}

.article-page .article-shell a:hover {
  color: #e85d2a;
  text-decoration-color: #e85d2a;
}

/* Buy / CTA buttons */
.article-page .article-shell a.btn,
.article-page .article-shell a.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: .4rem;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid #c04a1a;
  background: #e85d2a;
  color: #fff !important;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(232, 93, 42, .3);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.article-page .article-shell a.btn:hover,
.article-page .article-shell a.buy-btn:hover {
  background: #c04a1a;
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(232, 93, 42, .35);
}

/* Lists */
.article-page .article-shell ul,
.article-page .article-shell ol {
  margin: .6rem 0 1rem 1rem;
  padding-left: .9rem;
}

.article-page .article-shell li {
  margin-bottom: .45rem;
  color: #3a2c1e;
  line-height: 1.7;
}

/* Tables */
.article-page .article-shell table {
  width: 100%;
  display: table;
  min-width: 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(26, 47, 28, .12);
  margin: 1.3rem 0;
  box-shadow: 0 6px 18px rgba(26, 47, 28, .07);
}

.article-page .article-shell th {
  background: #1a2f1c;
  color: #f5f0e6;
  border: 0;
  white-space: normal;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}

.article-page .article-shell td {
  border-bottom: 1px solid rgba(26, 47, 28, .08);
  font-size: .96rem;
  color: #3a2c1e;
}

.article-page .article-shell tr:last-child td {
  border-bottom: 0;
}

/* Content boxes */
.article-page .article-shell .box,
.article-page .article-shell .product,
.article-page .article-shell .checklist,
.article-page .article-shell .protip,
.article-page .article-shell .script,
.article-page .article-shell .answer-box,
.article-page .article-shell .callout,
.article-page .article-shell .disclosure {
  border-radius: 12px;
  border: 1px solid rgba(26, 47, 28, .1);
  box-shadow: none;
}

.article-page .article-shell .box,
.article-page .article-shell .product {
  background: #f5f0e6 !important;
  border-left: 4px solid #1a2f1c !important;
}

.article-page .article-shell .checklist {
  background: #f5f0e6 !important;
  border-left: 4px solid #f2bc3b !important;
}

.article-page .article-shell .answer-box,
.article-page .article-shell .protip,
.article-page .article-shell .callout,
.article-page .article-shell .script {
  background: #fff8f0 !important;
  border-left: 4px solid #e85d2a !important;
}

.article-page .article-shell .disclosure {
  background: rgba(26, 47, 28, .04) !important;
  border-left: 4px solid #1a2f1c !important;
}

/* TOC box */
.article-page .toc-box {
  background: #fff;
  border: 1px solid rgba(26, 47, 28, .12);
  border-top: 3px solid #1a2f1c;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 47, 28, .07);
}

.article-page .toc-box h3 {
  color: #1a2f1c !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: .85rem !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 .6rem !important;
}

.article-page .toc-box a {
  color: #3a2c1e;
  text-decoration: none;
}

.article-page .toc-box a:hover {
  color: #e85d2a;
}

/* Read next section */
.article-page .article-next {
  border: 1px solid rgba(26, 47, 28, .12);
  border-top: 3px solid #e85d2a;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(26, 47, 28, .08);
  background: #fff;
}

.article-page .article-next h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: #1a2f1c !important;
  font-size: 1.25rem !important;
  margin: 0 0 1rem !important;
}

.article-page .next-card {
  background: #f5f0e6;
  border: 1px solid rgba(26, 47, 28, .1);
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.article-page .next-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 47, 28, .12);
}

.article-page .next-tag {
  background: #1a2f1c;
  color: #f5f0e6;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 999px;
  padding: .22rem .6rem;
}

.article-page .next-card h4 {
  color: #1a2f1c !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

.article-page .next-card p {
  color: #5a4a3a;
  font-size: .88rem;
}

/* Share buttons */
.article-page .share-btn {
  background: #1a2f1c;
  color: #f5f0e6 !important;
  border: 0;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  border-radius: 8px;
  padding: .5rem .9rem;
  cursor: pointer;
  transition: background .14s;
  text-decoration: none;
}

.article-page .share-btn:hover {
  background: #e85d2a;
}

.article-page footer {
  margin-top: 0;
}

@media (max-width: 760px) {
  .article-page .breadcrumb {
    padding: .65rem .9rem .1rem;
  }
  .article-page .article-shell {
    padding: 0 .85rem 1rem;
  }
  .article-page .article-shell .intro {
    padding: 1.1rem 1rem !important;
  }
  .article-page .article-shell p {
    font-size: 1rem;
  }
  .article-page .article-shell h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
  }
}
