/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #071009 0%,
    #0d1812 15%,
    #112018 30%,
    #1a2e23 55%,
    #2d5a3d 80%,
    #3a6e4d 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  pointer-events: none;
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-mountains-svg {
  width: 100%;
  height: 50vh;
  min-height: 240px;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  padding: 6rem 1.25rem 26vh;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 7rem 2rem 28vh;
    max-width: 680px;
    padding-left: clamp(2rem, 8vw, 6rem);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 106, 79, 0.25);
  border: 1px solid rgba(45, 106, 79, 0.45);
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6dcfa0;
}

.hero-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-heading-em {
  font-style: italic;
  color: #6dcfa0;
}

.hero-sub {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2d6a4f;
  color: #ffffff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s;
}

.hero-btn-primary:hover {
  background-color: #1d4d39;
  color: #ffffff;
}

.hero-btn-primary:focus-visible {
  outline: 2px solid #6dcfa0;
  outline-offset: 3px;
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s;
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hero-btn-ghost:focus-visible {
  outline: 2px solid #6dcfa0;
  outline-offset: 3px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 0 0;
}

.hero-stat-val {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  animation: heroScroll 2s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.35);
}

.hero-scroll span {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
  50% { transform: translateX(-50%) translateY(5px); opacity: 0.6; }
}

/* ══════════════════════════════════════════
   EXPLORE TILES
══════════════════════════════════════════ */
.explore-tile {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.explore-tile:hover {
  background: rgba(45, 106, 79, 0.25);
  border-color: rgba(45, 106, 79, 0.5);
  transform: translateY(-2px);
}

.explore-tile-icon {
  color: #6dcfa0;
  margin-bottom: 1rem;
}

.explore-tile-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.explore-tile-desc {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.explore-tile-link {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #6dcfa0;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   RESOURCE CENTRE SECTION PILLS
══════════════════════════════════════════ */
.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.15s, color 0.15s;
}

.section-pill:hover {
  background: rgba(45, 106, 79, 0.3);
  color: #ffffff;
}

.section-pill:focus-visible {
  outline: 2px solid #6dcfa0;
  outline-offset: 2px;
}

.section-pill-active {
  background: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* ── Skip to main content (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  background: #2d6a4f;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #b45309;
  outline-offset: 2px;
}

/* ── Article body typography ── */
.article-body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #292524;
}
.article-body h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #1a2e23;
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a2e23;
  margin: 1.75rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.article-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a2e23;
  margin: 1.5rem 0 0.5rem;
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body a {
  color: #2d6a4f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: #1d4d39;
}
.article-body a:focus-visible {
  outline: 2px solid #2d6a4f;
  outline-offset: 2px;
  border-radius: 2px;
}
.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body ul {
  list-style-type: disc;
}
.article-body ol {
  list-style-type: decimal;
}
.article-body li {
  margin-bottom: 0.4rem;
}
.article-body blockquote {
  border-left: 4px solid #2d6a4f;
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  color: #78716c;
  font-style: italic;
  background: #f0f7f4;
  border-radius: 0 0.5rem 0.5rem 0;
}
.article-body img {
  border-radius: 0.75rem;
  margin: 1.75rem auto;
  max-width: 100%;
  display: block;
}
.article-body strong {
  font-weight: 700;
  color: #1a2e23;
}
.article-body code {
  background: #f0f7f4;
  color: #1d4d39;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}
.article-body pre {
  background: #1a2e23;
  color: #a7c4b5;
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.article-body hr {
  border: none;
  border-top: 1px solid #e7e5e4;
  margin: 2rem 0;
}

/* ── Line clamp ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card hover lift ── */
article:hover {
  box-shadow: 0 6px 24px rgba(45,106,79,0.12), 0 1px 4px rgba(0,0,0,0.05) !important;
  transform: translateY(-2px);
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e7e5e4;
  color: #292524;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.pagination a:hover {
  background-color: #2d6a4f;
  color: white;
  border-color: #2d6a4f;
}
.pagination a:focus-visible {
  outline: 2px solid #2d6a4f;
  outline-offset: 2px;
}
.pagination .active a,
.pagination .active span {
  background-color: #2d6a4f;
  color: white;
  border-color: #2d6a4f;
}

/* ── Specs table (per-product quick specs in roundups) ── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  font-family: 'Nunito', system-ui, sans-serif;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid #e7e5e4;
}
.specs-table th {
  font-weight: 700;
  color: #1a2e23;
  background-color: #f0f7f4;
  width: 38%;
}
.specs-table td {
  color: #292524;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* ── Comparison table (full roundup comparison grid) ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.875rem;
  font-family: 'Nunito', system-ui, sans-serif;
  overflow-x: auto;
  display: block;
}
.comparison-table th {
  background-color: #1a2e23;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.comparison-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #e7e5e4;
  color: #292524;
  vertical-align: top;
}
.comparison-table tr:nth-child(even) td {
  background-color: #faf9f7;
}
.comparison-table tr:hover td {
  background-color: #f0f7f4;
}
.comparison-table td:first-child {
  font-weight: 700;
  color: #1a2e23;
}

/* ── Callout boxes ── */
.callout {
  border-left: 4px solid #2d6a4f;
  background-color: #f0f7f4;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #292524;
  line-height: 1.7;
}
.callout strong,
.callout b {
  color: #1a2e23;
}
.callout-amber {
  border-left: 4px solid #b45309;
  background-color: #fef9f0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #292524;
  line-height: 1.7;
}
.callout-amber strong,
.callout-amber b {
  color: #92400e;
}

/* ── Quick picks list (roundup intro summary) ── */
.quick-picks {
  background-color: #f0f7f4;
  border: 1px solid #d1e8df;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  font-family: 'Nunito', system-ui, sans-serif;
}
.quick-picks h2,
.quick-picks h3 {
  font-family: 'Lora', Georgia, serif;
  color: #1a2e23;
  margin-top: 0;
  margin-bottom: 0.875rem;
  font-size: 1.125rem;
}
.quick-picks ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quick-picks ul li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #d1e8df;
  font-size: 0.9375rem;
}
.quick-picks ul li:last-child {
  border-bottom: none;
}
.quick-picks ul li a {
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: none;
}
.quick-picks ul li a:hover {
  text-decoration: underline;
}

/* ── Affiliate CTA button ── */
.btn-affiliate {
  display: inline-block;
  background-color: #2d6a4f;
  color: #ffffff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s;
  margin: 0.5rem 0 1.5rem;
}
.btn-affiliate:hover {
  background-color: #1d4d39;
  color: #ffffff;
  text-decoration: none;
}
.btn-affiliate:focus-visible {
  outline: 2px solid #b45309;
  outline-offset: 3px;
}

/* ── Mobile overrides ── */
@media (max-width: 639px) {
  /* Hero */
  .hero-heading {
    font-size: 2.5rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  .hero-stat-divider {
    display: none;
  }
  .hero-stat {
    padding-right: 1.5rem;
  }
  .hero-mountains-svg {
    height: 35vh;
    min-height: 180px;
  }

  /* Cards */
  .line-clamp-2 {
    -webkit-line-clamp: 3;
  }

  /* Explore tiles */
  .explore-tile {
    padding: 1.25rem;
  }

  /* Article body */
  .article-body {
    font-size: 1rem;
  }
  .article-body h2 {
    font-size: 1.375rem;
  }
  .article-body h3 {
    font-size: 1.125rem;
  }

  /* Comparison table — horizontal scroll on mobile */
  .comparison-table {
    font-size: 0.8125rem;
  }
  .specs-table th,
  .specs-table td {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
