/* =========================================================
   KornSue — Design System CSS
   Warm Editorial Commerce — Sarabun / Navy / Sage / Cream / Orange / Gold
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap");

:root {
  /* Colors */
  /* --navy:      #17324D;
  --sage:      #6F8F7B;
  --cream:     #F7F4EE;
  --white:     #FFFFFF;
  --charcoal:  #252A2E;
  --warm-gray: #697177;
  --orange:    #D96C32;
  --gold:      #D5B46C;
  --border:    #E4E1DA;

  --navy-dark: #0F2236;
  --orange-dark: #B85A26;
  --sage-tint: #EAF0EC;
  --gold-tint: #FBF4E4;
  --orange-tint: #FCEDE3; */
  --navy: #3b5260;
  --sage: #82968b;
  --cream: #f8f2ea;
  --white: #ffffff;
  --charcoal: #302b29;
  --warm-gray: #77716d;
  --orange: #cf7650;
  --gold: #d2b36f;
  --border: #e6ddd5;

  --navy-dark: #263a45;
  --orange-dark: #ae5d3b;
  --sage-tint: #eaf0ec;
  --gold-tint: #fbf3e3;
  --orange-tint: #fbeae2;

  /* Type */
  --font: "Sarabun", -apple-system, "Noto Sans Thai", sans-serif;
  --font-heading:
    "IBM Plex Sans Thai", "Sarabun", -apple-system, "Noto Sans Thai", sans-serif;

  /* Layout */
  --content-width: 1180px;
  --article-width: 760px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(23, 50, 77, 0.06), 0 1px 2px rgba(23, 50, 77, 0.05);
  --shadow-md: 0 8px 24px rgba(23, 50, 77, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* Safety default so any icon without a more specific size rule never balloons
   to the browser's default replaced-element size (300x150). */
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(28px, 4vw, 33px);
}
h2 {
  font-size: clamp(22px, 3vw, 30px);
}
h3 {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
}
h4 {
  font-size: 18px;
  font-weight: 600;
}
h5 {
  font-size: 16px;
  font-weight: 600;
}
h6 {
  font-size: 15px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.article-width {
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* =========== Disclaimer / sample-data notice =========== */
.sample-banner {
  background: var(--gold-tint);
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 14px;
}
.sample-banner .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.sample-banner svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--orange);
}
.sample-banner strong {
  font-weight: 600;
}
.sample-banner button {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.6;
}
.sample-banner button:hover {
  opacity: 1;
}

/* =========================== Header =========================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
  max-width: 1480px;
}
.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.logo .dot {
  color: var(--orange);
}

.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.site-logo img.custom-logo {
  max-height: 68px;
  width: auto;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li {
  position: relative;
  margin: 0;
}
.main-nav a.nav-link,
.main-nav button.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover,
.main-nav button.nav-link:hover {
  background: var(--sage-tint);
}
.main-nav li.is-signature > a.nav-link,
.main-nav li.is-signature > button.nav-link {
  color: var(--orange-dark);
}
.main-nav .caret {
  width: 10px;
  height: 10px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 260px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}
li.has-dropdown:hover .dropdown,
li.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--charcoal);
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--navy);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--navy);
}
.icon-btn:hover {
  background: var(--sage-tint);
}
.icon-btn svg {
  width: 22px;
  height: 22px;
}

.hamburger {
  display: none;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: rgba(23, 50, 77, 0.35);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav:not(.is-open) {
  display: none;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88%);
  height: 100%;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-panel .close-btn {
  margin-bottom: 12px;
}
.mobile-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-panel li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-panel a,
.mobile-nav-panel summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}
.mobile-nav-panel details ul {
  padding-left: 14px;
}
.mobile-nav-panel details a {
  min-height: 44px;
  font-weight: 400;
  font-size: 16px;
  color: var(--charcoal);
}

/* =========================== Buttons =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  padding: 13px 26px;
  min-height: 50px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  min-width: 44px;
  white-space: normal;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
}
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--navy-dark);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--sage-tint);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

/* =========================== Badges =========================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage);
  border: 1px solid rgba(111, 143, 123, 0.35);
}
.badge svg {
  width: 14px;
  height: 14px;
}
.badge.badge-gold {
  background: var(--gold-tint);
  color: #8a6d2c;
  border-color: rgba(213, 180, 108, 0.5);
}
.badge.badge-navy {
  background: rgba(23, 50, 77, 0.08);
  color: var(--navy);
  border-color: rgba(23, 50, 77, 0.2);
}
.badge.badge-orange {
  background: var(--orange-tint);
  color: var(--orange-dark);
  border-color: rgba(217, 108, 50, 0.3);
}

/* =========================== Breadcrumb =========================== */
.breadcrumb {
  font-size: 14px;
  color: var(--warm-gray);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a {
  color: var(--warm-gray);
}
.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.breadcrumb .sep {
  opacity: 0.6;
}
.breadcrumb .current {
  color: var(--navy);
  font-weight: 500;
}

/* =========================== Sections =========================== */
section {
  padding: 56px 0;
}
section.tight {
  padding: 32px 0;
}
.section-cream {
  background: var(--cream);
}
.section-white {
  background: var(--white);
}
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  text-transform: none;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  display: block;
}

.lead {
  font-size: 20px;
  color: var(--warm-gray);
  max-width: 680px;
}

/* =========================== Hero =========================== */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 64px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-art {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}
.hero-trust svg {
  width: 22px;
  height: 22px;
  color: var(--sage);
  flex: 0 0 auto;
}

/* =========================== Cards =========================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-flat {
  box-shadow: none;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cluster-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--sage-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--sage);
}
.btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.cluster-card h3 {
  margin-bottom: 4px;
}
.cluster-card p {
  color: var(--warm-gray);
  font-size: 16px;
  margin-bottom: 0;
  flex-grow: 1;
}
.cluster-card .card-link {
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cluster-card .card-link svg {
  width: 16px;
  height: 16px;
}

/* Article cards */
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Knowledge archive / single */
.knowledge-archive-hero {
  padding-top: 28px;
}
.knowledge-archive-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(224, 165, 59, 0.18), transparent 28%),
    linear-gradient(135deg, var(--cream), var(--sage-tint));
}
.knowledge-archive-intro::after {
  content: "";
  position: absolute;
  right: clamp(24px, 7vw, 86px);
  bottom: -32px;
  width: 126px;
  height: 126px;
  border: 22px solid rgba(130, 150, 139, 0.16);
  border-radius: 50%;
}
.knowledge-archive-intro h1 {
  max-width: 760px;
  margin-bottom: 16px;
}
.knowledge-archive-content {
  background: var(--cream);
  padding-bottom: 64px;
}
.knowledge-topic-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}
.knowledge-topic-link {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.knowledge-topic-link:hover,
.knowledge-topic-link.is-active {
  border-color: var(--sage);
  background: var(--navy);
  color: #fff;
}
.knowledge-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.knowledge-section-heading h2,
.knowledge-section-heading p {
  margin-bottom: 0;
}
.knowledge-result-count {
  color: var(--warm-gray);
  font-size: 15px;
  white-space: nowrap;
}
.knowledge-empty-state {
  max-width: 680px;
  margin: 16px auto 32px;
  padding: 42px 28px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: var(--white);
  text-align: center;
}
.knowledge-empty-state .icon-wrap {
  margin: 0 auto 18px;
}
.knowledge-empty-state p {
  color: var(--warm-gray);
}
.knowledge-single-hero {
  background: linear-gradient(180deg, var(--cream), var(--white));
  padding-top: 44px;
  padding-bottom: 40px;
}
.knowledge-single-hero h1 {
  margin-bottom: 16px;
}
.knowledge-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  color: var(--warm-gray);
  font-size: 14px;
}
.knowledge-single-cover {
  padding-top: 12px;
  padding-bottom: 24px;
}
.knowledge-single-cover .article-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.featured-image-credit,
.knowledge-image-credit {
  margin: 10px 4px 0;
  color: var(--warm-gray);
  font-size: 13px;
  text-align: right;
}
.featured-image-credit a,
.knowledge-image-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.knowledge-single-body {
  padding-top: 34px;
}
.knowledge-entry-content {
  font-size: 18px;
  line-height: 1.82;
}
.knowledge-entry-content h2,
.knowledge-entry-content h3 {
  margin-top: 1.8em;
}
.knowledge-entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--cream);
  color: var(--navy);
}
.knowledge-entry-content img {
  border-radius: 14px;
}
.knowledge-related {
  border-top: 1px solid var(--border);
}
.article-card {
  --article-accent: var(--sage-tint);
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.article-card-grid .article-card:nth-child(3n + 2) {
  --article-accent: var(--gold-tint);
}
.article-card-grid .article-card:nth-child(3n + 3) {
  --article-accent: var(--orange-tint);
}
.article-card:hover,
.article-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(130, 150, 139, 0.72);
  box-shadow: 0 16px 36px rgba(59, 82, 96, 0.14);
}
.article-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--article-accent);
}
.article-card-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(38, 58, 69, 0.3));
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.article-card:hover .article-card-media img {
  transform: scale(1.055);
}
.article-card-compare-media {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--navy);
}
.article-card-compare-media > span {
  min-width: 0;
  overflow: hidden;
  background: #fff;
}
.article-card-compare-media > span:only-of-type {
  grid-column: 1 / -1;
}
.article-card-compare-media img {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}
.article-card-compare-media i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18, 49, 72, 0.25);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.article-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--sage);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(255, 255, 255, 0.72) 0 9%,
      transparent 9.5%
    ),
    radial-gradient(
      circle at 16% 86%,
      rgba(255, 255, 255, 0.52) 0 17%,
      transparent 17.5%
    ),
    var(--article-accent);
}
.article-card-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.86;
}
.article-card-badge {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3b5260;
  box-shadow: 0 4px 14px rgba(38, 58, 69, 0.13);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}
.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 24px;
}
.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--warm-gray);
  font-size: 13px;
  line-height: 1.5;
}
.article-card-title {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.article-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.article-card-excerpt {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-card .card-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 700;
}
.article-card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.article-card:hover .card-link svg {
  transform: translateX(4px);
}

/* Product / money page card */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.photo-slot {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.photo-slot svg {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  color: var(--warm-gray);
  opacity: 0.6;
}
.product-card .photo-slot {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border-style: solid;
}
.product-card .photo-slot > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.product-card .photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  transition: transform 0.25s ease;
}
.product-card:hover .photo-slot img {
  transform: scale(1.025);
}
.product-card .product-card-placeholder {
  flex-direction: column;
  gap: 4px;
  color: var(--warm-gray);
}
.product-card .product-card-placeholder svg {
  margin: 0;
}
.product-card-brand {
  margin-bottom: -4px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.product-card-discount,
.product-card-platform {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(18, 49, 72, 0.14);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.product-card-discount {
  left: 12px;
  background: var(--orange);
  color: #fff;
}
.product-card-platform {
  right: 12px;
  border: 1px solid rgba(255, 122, 0, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--orange-dark);
}
.product-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-card .name {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card .name a {
  color: inherit;
  text-decoration: none;
}
.product-card .name a:hover {
  color: var(--orange-dark);
}
.product-card-subtitle {
  display: -webkit-box;
  margin: -4px 0 0;
  overflow: hidden;
  color: var(--warm-gray);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card .score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy);
}
.product-card .score .num {
  font-size: 26px;
  font-weight: 700;
}
.product-card .score .max {
  font-size: 14px;
  color: var(--warm-gray);
}
.product-card .score > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--gold);
}
.product-card .product-rating .num,
.product-card .product-review-count .num {
  font-size: 20px;
}
.product-card .product-review-count > svg {
  color: var(--sage);
}
.product-card-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -4px;
}
.product-card-proof span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.product-card-seller {
  margin: -2px 0 0;
  overflow: hidden;
  color: var(--warm-gray);
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .specs {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--charcoal);
}
.product-card .specs li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.product-card .specs svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex: 0 0 auto;
  margin-top: 2px;
}
.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.product-card .price del {
  margin-left: 7px;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 400;
}
.product-card .price small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--warm-gray);
}
.product-card-cta {
  margin-top: 2px;
}
.product-card-checked {
  margin: -4px 0 0;
  color: var(--warm-gray);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

/* =========================== Compact products after articles =========================== */
.article-product-shop {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(210, 179, 111, 0.32);
  border-bottom: 1px solid rgba(210, 179, 111, 0.32);
  background:
    radial-gradient(circle at 92% 0%, rgba(210, 179, 111, 0.2), transparent 30%),
    linear-gradient(180deg, #fbf7f1 0%, var(--cream) 100%);
}
.article-product-shop-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.article-product-shop-header h2 {
  margin-bottom: 8px;
}
.article-product-shop-header p {
  max-width: 720px;
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}
.article-product-shop-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}
.article-product-shop-all:hover {
  color: var(--orange-dark);
}
.article-product-shop-all svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}
.article-product-shop-all:hover svg {
  transform: translateX(3px);
}
.article-product-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-card-compact {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.product-card-compact:hover {
  border-color: rgba(130, 150, 139, 0.68);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card-compact-media {
  position: relative;
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: #fff;
}
.product-card-compact-media img {
  width: 100%;
  height: 100%;
  max-height: 196px;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.22s ease;
}
.product-card-compact:hover .product-card-compact-media img {
  transform: scale(1.025);
}
.product-card-compact-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--warm-gray);
  font-size: 12px;
}
.product-card-compact-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.58;
}
.product-card-compact-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(174, 93, 59, 0.2);
}
.product-card-compact-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px 17px;
}
.product-card-compact-meta {
  display: flex;
  min-height: 21px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}
.product-card-compact-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  white-space: nowrap;
}
.product-card-compact-rating svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}
.product-card-compact-rating small {
  color: var(--warm-gray);
  font-size: 11px;
  font-weight: 500;
}
.product-card-compact h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card-compact h3 a:hover {
  color: var(--orange-dark);
}
.product-card-compact-proof {
  margin: 0 0 10px;
  color: var(--warm-gray);
  font-size: 12px;
  line-height: 1.4;
}
.product-card-compact-buy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.product-card-compact-price {
  min-width: 0;
  line-height: 1.25;
}
.product-card-compact-price strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  white-space: nowrap;
}
.product-card-compact-price del {
  display: block;
  color: var(--warm-gray);
  font-size: 11px;
}
.product-card-compact-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13px;
}
.article-product-shop-note {
  margin: 18px 0 0;
  color: var(--warm-gray);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 900px) {
  .article-product-shop-grid {
    grid-template-columns: 1fr;
  }
  .product-card-compact-media {
    min-height: 164px;
  }
}

@media (max-width: 640px) {
  .article-product-shop {
    padding: 44px 0;
  }
  .article-product-shop-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  .article-product-shop-all {
    min-height: 36px;
  }
  .article-product-shop-grid {
    gap: 14px;
  }
  .product-card-compact {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .product-card-compact-media {
    min-height: 158px;
  }
  .product-card-compact-body {
    padding: 13px 13px 13px 14px;
  }
  .product-card-compact-meta {
    margin-bottom: 4px;
  }
  .product-card-compact h3 {
    font-size: 15px;
  }
  .product-card-compact-buy {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }
  .product-card-compact-price strong {
    font-size: 17px;
  }
  .product-card-compact-cta {
    width: 100%;
  }
  .article-product-shop-note {
    text-align: left;
  }
}

/* =========================== 30-second summary box =========================== */
.summary-box {
  background: var(--sage-tint);
  border: 1px solid rgba(111, 143, 123, 0.35);
  border-radius: var(--radius);
  padding: 28px;
}
.summary-box h2 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.summary-box h2 svg {
  width: 22px;
  height: 22px;
  color: var(--sage);
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.summary-col h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--navy);
}
.summary-col ul {
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
}
.summary-col.good li::marker {
  color: var(--sage);
}
.summary-col.caution li::marker {
  color: var(--orange);
}

/* =========================== Score ring / big score =========================== */
.score-hero {
  display: flex;
  align-items: center;
  gap: 20px;
}
.score-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.score-circle .n {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.score-circle .d {
  font-size: 11px;
  opacity: 0.75;
}

/* =========================== Comparison table =========================== */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
table.compare-table th,
table.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  vertical-align: top;
}
table.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
}
table.compare-table tbody tr:last-child td {
  border-bottom: none;
}
table.compare-table tbody tr:nth-child(odd) {
  background: var(--cream);
}
table.compare-table td:first-child,
table.compare-table th:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* verdict callout (เลือก A ถ้า.../เลือก B ถ้า...) */
.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.verdict-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.verdict-card.recommend {
  border-color: var(--orange);
  background: var(--orange-tint);
}
.verdict-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.verdict-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

/* Dynamic ks_compare page */
.compare-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 122, 0, 0.14), transparent 28%),
    var(--cream);
}
.compare-hero h1 {
  max-width: 980px;
}
.compare-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 49, 72, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.compare-meta svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
}
.compare-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.compare-product-column {
  position: relative;
  min-width: 0;
}
.compare-choice-label {
  display: inline-flex;
  position: relative;
  z-index: 2;
  margin: 0 0 -14px 22px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.compare-product-column:nth-child(2) .compare-choice-label {
  background: var(--orange);
}
.compare-product-column .product-card {
  height: auto;
  min-height: 100%;
}
.compare-product-note {
  margin: 16px 10px 0;
  padding: 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--orange-tint);
}
.compare-product-note p {
  margin: 0 0 9px;
}
.compare-product-note strong {
  display: block;
  color: var(--navy);
}
.compare-product-note .card-link {
  margin-top: 14px;
}
.compare-results-section .article-width {
  display: grid;
  gap: 32px;
}
.compare-summary-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 122, 0, 0.34);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, #fff 0%, var(--orange-tint) 100%);
  box-shadow: 0 16px 42px rgba(18, 49, 72, 0.08);
}
.compare-summary-card::after {
  content: "VS";
  position: absolute;
  right: 24px;
  bottom: -24px;
  color: rgba(255, 122, 0, 0.08);
  font-size: clamp(88px, 15vw, 150px);
  font-weight: 800;
  line-height: 1;
}
.compare-summary-card h2,
.compare-summary-card p {
  position: relative;
  z-index: 1;
}
.compare-summary-card h2 {
  margin-bottom: 10px;
}
.compare-summary-card p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
}
.compare-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.compare-section-heading h2,
.compare-section-heading p {
  margin: 0;
}
.compare-section-heading p {
  color: var(--muted);
  font-size: 14px;
}
.compare-verdict-grid {
  margin-top: 0;
}
.verdict-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.45;
}
.verdict-card h3 svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--orange);
}
.compare-disclosure {
  padding: 20px 22px;
  border: 1px solid #e8c875;
  border-radius: var(--radius);
  background: #fff9df;
  color: #604c15;
}
.compare-disclosure strong {
  color: var(--navy);
}
.compare-disclosure p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

/* =========================== Testing method steps =========================== */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.step-list li {
  display: flex;
  gap: 16px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-list .step-num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step-list .step-num::before {
  content: counter(step);
}

/* =========================== CTA band =========================== */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 {
  color: #fff;
  margin-bottom: 6px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* =========================== Blockquote / hook =========================== */
blockquote.hook {
  border-left: 4px solid var(--sage);
  background: var(--sage-tint);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 19px;
  color: var(--navy);
  margin: 24px 0;
}

/* =========================== Tags / keyword chips =========================== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--warm-gray);
}

/* =========================== Forms (contact) =========================== */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
  min-height: 48px;
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

/* =========================== Footer =========================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
}
.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}
.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================== Back to top =========================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 80;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================== Homepage extras (mini-compare, stats, sources, FAQ) =========================== */
.kornsue-front-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}
.kornsue-front-content > .wp-block-group.section-white,
.kornsue-front-content > .wp-block-group.section-cream,
.kornsue-front-content > .wp-block-group.section-navy {
  padding: 56px 24px;
}
.kornsue-front-content > .wp-block-group.section-white > *,
.kornsue-front-content > .wp-block-group.section-cream > *,
.kornsue-front-content > .wp-block-group.section-navy > * {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}
.kornsue-front-content
  .home-products-section
  .wp-block-kornsue-product-showcase {
  max-width: var(--content-width);
}
.kornsue-front-content .home-products-section .wp-block-buttons {
  margin-top: 28px;
  justify-content: center;
}
.kornsue-front-content .home-faq-section .eyebrow {
  margin-bottom: 8px;
}
.kornsue-front-content .home-final-cta {
  text-align: center;
}
.kornsue-front-content .home-final-cta > * {
  max-width: 800px;
}
.kornsue-front-content .home-final-cta p {
  color: rgba(255, 255, 255, 0.84);
}
.kornsue-front-content .home-final-cta .wp-block-buttons {
  justify-content: center;
}
.kornsue-front-content .home-final-cta .wp-block-button__link {
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  padding: 13px 26px;
}
.mini-compare-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  display: block;
  margin-bottom: 16px;
}
.mini-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.mini-compare-item {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
}
.mini-compare-photo {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--sage-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-compare-photo svg {
  width: 20px;
  height: 20px;
  color: var(--sage);
}
.mini-compare-photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.mini-compare-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  min-height: 36px;
}
.mini-compare-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--orange-dark);
}
.mini-compare-score .n {
  font-size: 22px;
  font-weight: 700;
}
.mini-compare-score .d {
  font-size: 12px;
  color: var(--warm-gray);
}
.mini-compare-vs {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-gray);
  flex: 0 0 auto;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item {
  padding: 16px 12px;
  border-left: 1px solid var(--border);
}
.stat-item:first-child {
  border-left: none;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--warm-gray);
  margin-top: 6px;
}

/* Bigger, tinted icon badges for extra visual variety on richer sections */
.icon-wrap-lg {
  width: 68px;
  height: 68px;
  border-radius: 50%;
}
.icon-wrap-lg svg {
  width: 32px;
  height: 32px;
}
.icon-wrap.tint-orange {
  background: var(--orange-tint);
}
.icon-wrap.tint-orange svg {
  color: var(--orange-dark);
}
.icon-wrap.tint-gold {
  background: var(--gold-tint);
}
.icon-wrap.tint-gold svg {
  color: #8a6d2c;
}
.icon-wrap.tint-navy {
  background: rgba(23, 50, 77, 0.08);
}
.icon-wrap.tint-navy svg {
  color: var(--navy);
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--sage);
  flex: 0 0 auto;
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-answer {
  padding-bottom: 18px;
  color: var(--warm-gray);
}
.faq-answer p {
  margin-bottom: 0;
}

/* Best-of Gutenberg article template */
.best-of-article-section {
  overflow: hidden;
}
.best-of-content {
  width: 100%;
}
.best-of-content::after {
  content: "";
  display: table;
  clear: both;
}
.best-of-content > * {
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}
.best-of-content > .alignwide,
.best-of-content > .wp-block-kornsue-product-showcase {
  max-width: var(--content-width);
}
.best-of-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.best-of-content > h2 {
  margin-top: 52px;
}
.best-of-content > h3 {
  margin-top: 36px;
}
.best-of-content > .wp-block-group {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: var(--radius);
}
.best-of-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.best-of-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.best-of-content .wp-block-button__link:hover {
  background: var(--orange-dark);
  color: #fff;
}

/* Wave section dividers — flat-color curves for a livelier page rhythm
   (no gradients, keeps the existing brand palette) */
.section-divider {
  display: block;
  width: 100%;
  height: 44px;
}
.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================== Coming soon =========================== */
.coming-soon-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  background: #fff;
}

/* =========================== Blog archive =========================== */
.blog-hero {
  padding: 48px 0 36px;
  background: var(--cream);
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
}
.blog-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
}
.blog-hero-note {
  padding: 22px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
}
.blog-hero-note strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.blog-chip:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
}
.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.blog-feature-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 36px;
  color: var(--navy);
  background: var(--sage-tint);
}
.blog-feature-visual svg {
  width: 112px;
  height: 112px;
}
.blog-feature-visual.has-image {
  padding: 0;
}
.blog-feature-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--warm-gray);
  font-size: 14px;
}
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
}
.blog-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.blog-card h3 {
  margin: 10px 0;
  font-size: 22px;
}
.blog-card p {
  color: var(--warm-gray);
}
.blog-card .card-link {
  margin-top: auto;
  padding-top: 10px;
}
.blog-reading-list {
  display: grid;
  gap: 18px;
}
.blog-reading-item {
  scroll-margin-top: 100px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.blog-reading-item h3 {
  margin-bottom: 10px;
}

/* =========================== Custom taxonomy archives =========================== */
.taxonomy-hero {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.taxonomy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 48px;
  align-items: center;
}
.taxonomy-description p:last-child {
  margin-bottom: 0;
}
.taxonomy-term-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.taxonomy-term-nav-label {
  color: var(--warm-gray);
  font-size: 14px;
  font-weight: 600;
}
.taxonomy-summary-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.taxonomy-summary-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.taxonomy-summary-icon svg {
  width: 28px;
  height: 28px;
}
.taxonomy-summary-count {
  display: block;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1;
}
.taxonomy-summary-card > span {
  display: block;
  margin-top: 8px;
  color: var(--warm-gray);
}
.taxonomy-content-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.taxonomy-content-types a,
.taxonomy-content-types span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.taxonomy-results-section {
  scroll-margin-top: 100px;
}
.taxonomy-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.taxonomy-section-heading h2 {
  margin-bottom: 0;
}
.taxonomy-section-count {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--warm-gray);
  background: var(--white);
  font-size: 14px;
}
.taxonomy-journey-card {
  position: relative;
}
.taxonomy-journey-step {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}
.taxonomy-pagination-section {
  background: var(--white);
}

/* =========================== Guided journeys =========================== */
.journey-hub-hero,
.journey-taxonomy-hero,
.journey-single-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 92px) 0;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--gold) 22%, transparent) 0, transparent 32%),
    linear-gradient(145deg, var(--cream), var(--white));
}
.journey-hub-hero::after,
.journey-taxonomy-hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid color-mix(in srgb, var(--sage) 24%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.journey-hub-hero-grid,
.journey-taxonomy-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}
.journey-hub-hero h1,
.journey-taxonomy-hero h1,
.journey-single-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
}
.journey-hub-note,
.journey-progress-summary {
  position: relative;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--sage) 30%, var(--border));
  border-radius: 24px;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  box-shadow: var(--shadow-md);
}
.journey-hub-note-icon,
.journey-progress-icon,
.journey-topic-icon,
.journey-single-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--sage-tint);
  color: var(--sage);
}
.journey-hub-note-icon svg,
.journey-progress-icon svg,
.journey-topic-icon svg,
.journey-single-icon svg {
  width: 29px;
  height: 29px;
}
.journey-hub-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 22px;
}
.journey-hub-note p,
.journey-progress-summary p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}
.journey-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.journey-section-heading h2 {
  margin-bottom: 0;
}
.journey-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}
.journey-method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.journey-method-list li {
  position: relative;
  display: flex;
  gap: 13px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.journey-method-list li > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-weight: 700;
}
.journey-method-list strong {
  color: var(--navy);
  font-family: var(--font-heading);
}
.journey-method-list p {
  margin: 3px 0 0;
  color: var(--warm-gray);
  font-size: 14px;
  line-height: 1.55;
}
.journey-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.journey-topic-card {
  display: flex;
  gap: 20px;
  min-height: 190px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.journey-topic-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sage) 58%, var(--border));
  box-shadow: var(--shadow-md);
}
.journey-topic-card h3 {
  margin-bottom: 7px;
}
.journey-topic-card p {
  margin-bottom: 13px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.65;
}
.journey-topic-card > div > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}
.journey-topic-card > div > span svg {
  width: 16px;
  height: 16px;
}
.journey-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.journey-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.journey-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--orange) 42%, var(--border));
  box-shadow: var(--shadow-md);
}
.journey-card.is-current {
  border: 2px solid var(--orange);
}
.journey-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}
.journey-card-top,
.journey-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.journey-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sage-tint);
  color: var(--sage);
}
.journey-card-icon svg {
  width: 23px;
  height: 23px;
}
.journey-card-number {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}
.journey-card-topic {
  margin-top: 18px;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 600;
}
.journey-card h3 {
  margin: 5px 0 8px;
  font-size: clamp(20px, 2vw, 24px);
}
.journey-card p {
  flex-grow: 1;
  margin: 0 0 22px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.65;
}
.journey-card-footer {
  align-items: flex-end;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.journey-card-status {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}
.journey-card.is-planned .journey-card-status {
  color: var(--warm-gray);
}
.journey-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.journey-card .card-link svg {
  width: 15px;
  height: 15px;
}
.journey-path-section,
.journey-taxonomy-steps {
  scroll-margin-top: 92px;
}
.journey-parent-link,
.journey-single-topic {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}
.journey-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.journey-progress-summary {
  text-align: center;
}
.journey-progress-summary strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 54px;
  line-height: 1;
}
.journey-progress-summary > span:not(.journey-progress-icon) {
  display: block;
  margin: 8px 0 14px;
  color: var(--warm-gray);
  font-size: 14px;
  font-weight: 600;
}
.journey-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.journey-criterion-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 134px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.journey-criterion-card:hover,
.journey-criterion-card.is-current {
  border-color: var(--orange);
  background: var(--orange-tint);
}
.journey-criterion-card strong {
  color: var(--navy);
  font-family: var(--font-heading);
}
.journey-criterion-card span {
  color: var(--warm-gray);
  font-size: 14px;
  line-height: 1.55;
}
.journey-empty-state {
  max-width: 680px;
  margin: 0 auto;
  padding: 42px;
  border: 1px dashed color-mix(in srgb, var(--sage) 60%, var(--border));
  border-radius: 20px;
  background: var(--white);
  text-align: center;
}
.journey-empty-state > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.journey-empty-state p {
  margin: 0;
  color: var(--warm-gray);
}
.journey-other-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.journey-other-topic-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}
.journey-other-topic-list a:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
}
.journey-other-topic-list svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
}
.journey-single-hero {
  padding-bottom: 72px;
}
.journey-single-topic {
  margin-bottom: 18px;
}
.journey-single-icon {
  display: flex;
  margin: 0 auto 15px;
}
.journey-single-hero h1 {
  margin-right: auto;
  margin-left: auto;
}
.journey-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 48px;
  max-width: 1080px;
}
.journey-single-main {
  min-width: 0;
}
.journey-single-aside {
  position: sticky;
  top: 108px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
}
.journey-single-aside strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 19px;
}
.journey-single-aside p {
  margin: 8px 0 15px;
  color: var(--warm-gray);
  font-size: 14px;
}
.journey-single-aside a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}
.journey-takeaways {
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 18px;
  background: var(--sage-tint);
}
.journey-takeaways h2 {
  font-size: 24px;
}
.journey-takeaways ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.journey-takeaways li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.journey-takeaways li svg {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  color: var(--sage);
}
.journey-target-card {
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid color-mix(in srgb, var(--orange) 35%, var(--border));
  border-radius: 22px;
  background: linear-gradient(145deg, var(--orange-tint), var(--white));
}
.journey-target-list {
	display: grid;
	gap: 18px;
}
.journey-target-card.is-planned {
  border-style: dashed;
  border-color: var(--border);
  background: var(--cream);
}
.journey-target-card h2 {
  margin-bottom: 10px;
}
.journey-target-card p {
  color: var(--warm-gray);
}
.journey-term-nav-section {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.journey-term-nav-section .taxonomy-term-nav {
  margin-top: 0;
}
.journey-taxonomy-term-nav .blog-chip.is-current {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.journey-category-section {
  scroll-margin-top: 90px;
}
.journey-category-block {
  display: grid;
  gap: 28px;
}
.journey-category-header {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 38px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.journey-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 17px;
}
.journey-category-title-wrap .journey-topic-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}
.journey-category-title-wrap h2 {
  margin-bottom: 0;
}
.journey-category-header > p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}
.journey-criteria-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.journey-criteria-anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.journey-criteria-anchor-nav a:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
}
.journey-criteria-anchor-nav a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}
.journey-content-groups {
  display: grid;
  gap: 24px;
}
.journey-content-group {
  scroll-margin-top: 110px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--white) 94%, var(--cream));
  box-shadow: var(--shadow);
}
.journey-content-group.is-current {
  border-color: color-mix(in srgb, var(--orange) 60%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 12%, transparent);
}
.journey-content-group-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  margin-bottom: 24px;
}
.journey-content-group-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}
.journey-content-group-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.journey-content-group-title-line h3 {
  margin-bottom: 4px;
  font-size: clamp(22px, 2.5vw, 29px);
}
.journey-content-group-title-line > span {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}
.journey-content-group-heading p {
  max-width: 850px;
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}
.journey-article-grid + .journey-planned-content {
  margin-top: 28px;
}
.journey-planned-content {
  margin-top: 4px;
}
.journey-planned-label {
  display: block;
  margin-bottom: 12px;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 700;
}
.journey-card-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.journey-card-grid-compact .journey-card-link {
  padding: 20px;
}
.journey-card-grid-compact .journey-card-topic {
  display: none;
}
.journey-group-empty {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--warm-gray);
  font-size: 14px;
}
.journey-group-empty svg {
  width: 21px;
  height: 21px;
  color: var(--sage);
}

@media (max-width: 1000px) {
  .journey-hub-hero-grid,
  .journey-taxonomy-hero-grid,
  .journey-single-layout {
    grid-template-columns: 1fr;
  }
  .journey-hub-note,
  .journey-progress-summary {
    max-width: 620px;
  }
  .journey-progress-summary {
    text-align: left;
  }
  .journey-progress-summary strong {
    font-size: 44px;
  }
  .journey-single-aside {
    position: static;
  }
  .journey-method-list,
  .journey-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-category-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .journey-hub-hero,
  .journey-taxonomy-hero,
  .journey-single-hero {
    padding: 44px 0;
  }
  .journey-section-heading {
    display: block;
  }
  .journey-section-heading > p,
  .journey-section-heading > .card-link {
    display: inline-flex;
    margin-top: 10px;
  }
  .journey-method-list,
  .journey-topic-grid,
  .journey-card-grid,
  .journey-criteria-grid {
    grid-template-columns: 1fr;
  }
  .journey-topic-card {
    min-height: 0;
    padding: 22px;
  }
  .journey-topic-icon {
    width: 48px;
    height: 48px;
  }
  .journey-card-link {
    padding: 21px;
  }
  .journey-single-layout {
    gap: 28px;
  }
  .journey-target-card,
  .journey-takeaways,
  .journey-empty-state {
    padding: 24px;
  }
  .journey-taxonomy-term-nav {
    flex-wrap: nowrap;
    margin-right: -24px;
    margin-left: -24px;
    padding: 2px 24px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .journey-taxonomy-term-nav .taxonomy-term-nav-label,
  .journey-taxonomy-term-nav .blog-chip {
    flex: 0 0 auto;
  }
  .journey-category-title-wrap {
    align-items: flex-start;
  }
  .journey-content-group {
    padding: 22px 18px;
  }
  .journey-content-group-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
  }
  .journey-content-group-number {
    width: 38px;
    height: 38px;
  }
  .journey-content-group-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .journey-card-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* =========================== Pagination ===========================
   ใช้ร่วมกันทุกที่ที่เรียก kornsue_pagination() — หน้าหมวดหมู่ (สินค้า/บทความ/
   รีวิว/คู่มือ) และ archive ของ taxonomy อื่น
   สถานะที่รองรับ: default / hover / focus-visible / :active (กดค้าง) /
   current (หน้าปัจจุบัน) / is-disabled (ก่อนหน้า-ถัดไปตอนอยู่สุดขอบ)
   สีทั้งหมดอ้างอิง token จึงสลับตามธีมสว่าง-มืดเองอัตโนมัติ
   ================================================================= */
.ks-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.ks-pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ks-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.ks-pagination .page-numbers.prev,
.ks-pagination .page-numbers.next {
  padding: 0 18px;
}
.ks-pagination .page-numbers.prev::before {
  content: "\2190";
  font-size: 17px;
  line-height: 1;
}
.ks-pagination .page-numbers.next::after {
  content: "\2192";
  font-size: 17px;
  line-height: 1;
}

/* --- hover --- */
.ks-pagination a.page-numbers:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* --- focus (คีย์บอร์ด) --- */
.ks-pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-color: var(--sage);
  background: var(--sage-tint);
}

/* --- กดค้าง --- */
.ks-pagination a.page-numbers:active {
  transform: translateY(0);
  box-shadow: none;
  background: var(--gold-tint);
  border-color: var(--gold);
}

/* --- active: หน้าปัจจุบัน --- */
.ks-pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  cursor: default;
  box-shadow: var(--shadow);
}

/* --- disabled: ก่อนหน้า/ถัดไป ตอนอยู่หน้าแรกหรือหน้าสุดท้าย --- */
.ks-pagination .page-numbers.is-disabled {
  background: transparent;
  border-color: var(--border);
  color: var(--warm-gray);
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* --- "…" ตอนหน้าเยอะ --- */
.ks-pagination .page-numbers.dots {
  min-width: 28px;
  padding: 0 2px;
  border-color: transparent;
  background: transparent;
  color: var(--warm-gray);
  letter-spacing: 2px;
}
.ks-pagination-status {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
}
@media (max-width: 640px) {
  .ks-pagination {
    margin-top: 28px;
  }
  .ks-pagination .page-numbers {
    min-width: 42px;
    min-height: 42px;
    padding: 0 10px;
    font-size: 15px;
  }
  .ks-pagination .page-numbers.prev,
  .ks-pagination .page-numbers.next {
    padding: 0 14px;
  }
  /* จอเล็ก: เหลือปุ่มก่อนหน้า/ถัดไป + ตัวเลขหน้าปัจจุบัน ให้แถวไม่ยาวเกินจอ */
  .ks-pagination .page-numbers.dots,
  .ks-pagination a.page-numbers:not(.prev):not(.next) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ks-pagination a.page-numbers:hover,
  .ks-pagination a.page-numbers:active {
    transform: none;
  }
}

.taxonomy-empty-section {
  text-align: center;
}
.taxonomy-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}
.taxonomy-empty-icon svg {
  width: 32px;
  height: 32px;
}

/* =========================== Utilities =========================== */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--warm-gray);
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* =========================== Contact page =========================== */
.contact-page {
  overflow: hidden;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.contact-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 86% 12%, var(--sage-tint) 0, transparent 38%),
    linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  align-items: center;
  gap: 64px;
}

.contact-hero-copy {
  max-width: 720px;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 58px);
}

.contact-hero .lead {
  max-width: 670px;
  margin-bottom: 28px;
  color: var(--warm-gray);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.65;
}

.contact-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.contact-text-link,
.contact-email-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-text-link:hover,
.contact-email-link:hover {
  color: var(--orange-dark);
  text-decoration-color: currentColor;
}

.contact-response-card {
  padding: 32px;
  border: 1px solid rgba(111, 143, 123, 0.35);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.contact-response-icon,
.contact-topic-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--sage-tint);
  color: var(--sage);
}

.contact-response-icon {
  margin-bottom: 20px;
}

.contact-response-icon svg,
.contact-topic-icon svg {
  width: 27px;
  height: 27px;
}

.contact-response-card h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 31px);
}

.contact-response-card > p {
  color: var(--warm-gray);
  font-size: 16px;
}

.contact-response-card ul {
  display: grid;
  margin: 20px 0 0;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.contact-response-card li {
  display: flex;
  margin: 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.contact-response-card li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  color: var(--sage);
}

.contact-topic-section {
  padding: 48px 0 52px;
}

.contact-section-heading,
.contact-form-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.contact-section-heading h2,
.contact-form-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-topic-card {
  display: flex;
  min-height: 170px;
  padding: 24px;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-topic-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
}

.contact-topic-icon svg {
  width: 24px;
  height: 24px;
}

.contact-topic-card h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.contact-topic-card p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.7;
}

.contact-form-section {
  padding: 64px 0 76px;
  background: var(--cream);
}

.contact-form-heading > p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--warm-gray);
}

.contact-editor-content > .section-white {
  padding: 0;
  background: transparent;
}

.contact-editor-content > .section-white > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-editor-content .grid-2 {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
}

.contact-editor-content form.card {
  display: grid;
  padding: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-md);
}

.contact-editor-content form.card > .form-field {
  margin: 0;
}

.contact-editor-content form.card > .form-field:nth-of-type(n + 3),
.contact-editor-content form.card > .btn,
.contact-editor-content form.card > p {
  grid-column: 1 / -1;
}

.contact-editor-content .form-field label {
  font-weight: 700;
}

.contact-editor-content .form-field input,
.contact-editor-content .form-field select,
.contact-editor-content .form-field textarea {
  border-color: #d8d3ca;
  background: #fffefc;
}

.contact-editor-content .form-field textarea {
  min-height: 180px;
}

.contact-editor-content form.card > .btn {
  min-height: 50px;
  margin-top: 2px;
}

.contact-editor-content form.card > .text-muted {
  position: relative;
  margin: 0 !important;
  padding: 12px 14px 12px 40px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 13px !important;
  line-height: 1.6;
}

.contact-editor-content form.card > .text-muted::before {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 50%;
  color: var(--warm-gray);
  content: "i";
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.contact-editor-content .grid-2 > .card:not(form) {
  position: sticky;
  top: 112px;
  padding: 30px;
  border-color: rgba(111, 143, 123, 0.35) !important;
  box-shadow: none;
}

.contact-editor-content .grid-2 > .card:not(form) h3 {
  margin-bottom: 20px;
  font-size: 23px;
}

.contact-editor-content .grid-2 > .card:not(form) .flex {
  align-items: flex-start;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.contact-editor-content .grid-2 > .card:not(form) .flex svg {
  width: 21px;
  height: 21px;
  margin-top: 3px;
  flex: 0 0 auto;
  color: var(--sage);
}

.contact-editor-content .grid-2 > .card:not(form) > .text-muted {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(111, 143, 123, 0.28);
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-response-card {
    max-width: 640px;
  }

  .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .contact-topic-card {
    min-height: 0;
  }

  .contact-editor-content .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-editor-content .grid-2 > .card:not(form) {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 40px 0 44px;
  }

  .contact-hero-grid {
    gap: 28px;
  }

  .contact-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-hero-actions .btn {
    justify-content: center;
  }

  .contact-response-card,
  .contact-topic-card,
  .contact-editor-content form.card,
  .contact-editor-content .grid-2 > .card:not(form) {
    padding: 22px 20px;
  }

  .contact-topic-section {
    padding: 38px 0 42px;
  }

  .contact-topic-card {
    align-items: flex-start;
  }

  .contact-form-section {
    padding: 44px 0 52px;
  }

  .contact-editor-content form.card {
    grid-template-columns: 1fr;
  }

  .contact-editor-content form.card > .form-field {
    grid-column: 1;
  }
}

/* =========================== Review methodology page =========================== */
.review-method-page {
  overflow: hidden;
}

.review-method-page a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.review-method-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 86% 16%, var(--sage-tint) 0, transparent 36%),
    linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.review-method-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.review-method-hero-copy {
  max-width: 740px;
}

.review-method-hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(35px, 4.8vw, 56px);
}

.review-method-hero-copy .lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--warm-gray);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.65;
}

.review-method-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-method-hero-actions,
.review-transparency-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.review-method-text-link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.review-method-standard-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.review-method-standard-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--sage-tint);
  color: var(--sage);
}

.review-method-standard-icon svg {
  width: 27px;
  height: 27px;
}

.review-method-standard-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 31px);
}

.review-method-standard-card > p {
  color: var(--warm-gray);
  font-size: 16px;
}

.review-method-standard-card ul {
  display: grid;
  margin: 22px 0 0;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.review-method-standard-card li {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.review-method-standard-card li svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
}

.review-process-section {
  padding: 42px 0 46px;
}

.review-process-heading {
  margin-bottom: 28px;
  text-align: center;
}

.review-process-heading h2 {
  margin: 0;
}

.review-process-list {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.review-process-list::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 9%;
  left: 9%;
  height: 2px;
  background: var(--border);
}

.review-process-list li {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 0;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: var(--navy);
  text-align: center;
}

.review-process-list li > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--border);
}

.review-process-list strong {
  font-size: 15px;
}

#review-method-details {
  scroll-margin-top: 92px;
}

.review-method-details-section {
  padding: 72px 0;
  background: var(--cream);
}

.review-method-section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.review-method-section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.8vw, 42px);
}

.review-method-section-heading > p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 18px;
}

.review-method-editor-content section,
.review-method-editor-content .container {
  display: contents;
}

.review-method-editor-content .eyebrow {
  display: none;
}

.review-method-editor-content .step-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  counter-reset: review-method-step;
  list-style: none;
}

.review-method-editor-content .step-list > li {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 28px 28px 28px 82px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  counter-increment: review-method-step;
}

.review-method-editor-content .step-list > li::before {
  content: "0" counter(review-method-step);
  position: absolute;
  top: 28px;
  left: 26px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}

.review-method-editor-content .step-list > li:nth-child(n + 6) {
  background: var(--gold-tint);
}

.review-method-editor-content .step-list > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.review-method-editor-content .step-list h4 {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
}

.review-method-editor-content .step-list p {
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.7;
}

.review-transparency-section {
  padding: 64px 0;
}

.review-transparency-band {
  display: flex;
  padding: 38px 42px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: calc(var(--radius) + 6px);
  background: #3b5260;
  box-shadow: var(--shadow-md);
}

.review-transparency-copy {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 20px;
}

.review-transparency-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.review-transparency-copy h2 {
  margin-bottom: 8px;
  color: #fff;
}

.review-transparency-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.review-transparency-copy .review-method-eyebrow {
  color: var(--gold);
}

.review-transparency-actions {
  flex: 0 0 auto;
}

.review-transparency-band .btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.review-transparency-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (hover: hover) {
  .review-method-text-link:hover {
    color: var(--orange-dark);
    text-decoration-color: currentColor;
  }
}

@media (max-width: 1000px) {
  .review-method-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .review-method-standard-card {
    max-width: 680px;
  }

  .review-transparency-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .review-method-hero {
    padding: 44px 0;
  }

  .review-method-hero-copy h1 {
    font-size: 36px;
  }

  .review-method-hero-copy .lead {
    font-size: 19px;
  }

  .review-method-standard-card {
    padding: 26px 22px;
  }

  .review-process-heading {
    text-align: left;
  }

  .review-process-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-process-list::before {
    top: 20px;
    bottom: 20px;
    left: 22px;
    width: 2px;
    height: auto;
  }

  .review-process-list li {
    min-height: 48px;
    align-items: center;
    flex-direction: row;
    gap: 14px;
    text-align: left;
  }

  .review-process-list li > span {
    flex: 0 0 46px;
  }

  .review-method-details-section {
    padding: 52px 0;
  }

  .review-method-section-heading {
    margin-bottom: 28px;
  }

  .review-method-editor-content .step-list {
    grid-template-columns: 1fr;
  }

  .review-method-editor-content .step-list > li,
  .review-method-editor-content .step-list > li:last-child:nth-child(odd) {
    grid-column: 1;
  }

  .review-method-editor-content .step-list > li {
    padding: 24px 22px 24px 72px;
  }

  .review-method-editor-content .step-list > li::before {
    top: 24px;
    left: 20px;
  }

  .review-transparency-section {
    padding: 40px 0;
  }

  .review-transparency-band {
    padding: 30px 24px;
  }

  .review-transparency-copy {
    flex-direction: column;
  }

  .review-transparency-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .review-transparency-actions .btn {
    width: 100%;
  }
}

/* =========================== About page =========================== */
.about-page {
  overflow: hidden;
}

.about-page a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.about-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 85% 18%, var(--gold-tint) 0, transparent 34%),
    linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.about-hero-copy {
  max-width: 700px;
}

.about-hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 58px);
}

.about-hero-copy .lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--warm-gray);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.6;
}

.about-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-actions,
.about-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.about-text-link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.about-promise-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.about-promise-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.about-promise-icon svg {
  width: 27px;
  height: 27px;
}

.about-promise-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 31px);
}

.about-promise-card > p {
  color: var(--warm-gray);
  font-size: 16px;
}

.about-promise-card ul {
  display: grid;
  margin: 22px 0 0;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.about-promise-card li {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.about-promise-card li svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
}

.about-proof-section {
  padding: 34px 0;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-proof-item {
  display: flex;
  min-width: 0;
  padding: 10px 30px;
  align-items: flex-start;
  gap: 15px;
}

.about-proof-item + .about-proof-item {
  border-left: 1px solid var(--border);
}

.about-proof-item:first-child {
  padding-left: 0;
}

.about-proof-item:last-child {
  padding-right: 0;
}

.about-proof-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sage-tint);
  color: var(--sage);
}

.about-proof-icon svg {
  width: 21px;
  height: 21px;
}

.about-proof-item h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.about-proof-item p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 14px;
  line-height: 1.55;
}

.about-story-section {
  padding: 72px 0;
  background: var(--cream);
}

.about-section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.about-section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.8vw, 42px);
}

.about-section-heading > p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 18px;
}

.about-editor-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  column-gap: 64px;
  counter-reset: about-principle;
}

.about-editor-content section,
.about-editor-content .container {
  display: contents;
}

.about-editor-content .eyebrow,
.about-editor-content .text-center {
  display: none;
}

.about-editor-content h2 {
  position: relative;
  grid-column: 1;
  margin: 0;
  padding: 30px 0 30px 60px;
  border-top: 1px solid var(--border);
  align-self: stretch;
  counter-increment: about-principle;
  font-size: clamp(22px, 2.5vw, 29px);
}

.about-editor-content h2::before {
  content: "0" counter(about-principle);
  position: absolute;
  top: 33px;
  left: 0;
  display: inline-flex;
  width: 44px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
}

.about-editor-content > p,
.about-editor-content section p {
  grid-column: 2;
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.8;
}

.about-editor-content blockquote.hook {
  grid-column: 1 / -1;
  margin: 8px 0 28px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--sage-tint);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  text-align: center;
}

.about-cta-section {
  padding: 64px 0;
}

.about-cta-band {
  display: flex;
  padding: 38px 42px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: calc(var(--radius) + 6px);
  background: #3b5260;
  box-shadow: var(--shadow-md);
}

.about-cta-band h2 {
  margin-bottom: 8px;
  color: #fff;
}

.about-cta-band p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.about-cta-band .about-eyebrow {
  color: var(--gold);
}

.about-cta-band .btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.about-cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (hover: hover) {
  .about-text-link:hover {
    color: var(--orange-dark);
    text-decoration-color: currentColor;
  }
}

@media (max-width: 1000px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-promise-card {
    max-width: 680px;
  }

  .about-proof-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-proof-item,
  .about-proof-item:first-child,
  .about-proof-item:last-child {
    padding: 20px 0;
  }

  .about-proof-item + .about-proof-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .about-editor-content {
    column-gap: 36px;
  }

  .about-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .about-hero {
    padding: 44px 0;
  }

  .about-hero-copy h1 {
    font-size: 38px;
  }

  .about-hero-copy .lead {
    font-size: 19px;
  }

  .about-promise-card {
    padding: 26px 22px;
  }

  .about-story-section {
    padding: 52px 0;
  }

  .about-section-heading {
    margin-bottom: 28px;
  }

  .about-editor-content {
    grid-template-columns: 1fr;
  }

  .about-editor-content h2,
  .about-editor-content > p,
  .about-editor-content section p {
    grid-column: 1;
  }

  .about-editor-content h2 {
    padding: 28px 0 12px 54px;
  }

  .about-editor-content h2::before {
    top: 29px;
  }

  .about-editor-content > p,
  .about-editor-content section p {
    padding: 0 0 28px;
    border-top: 0;
    font-size: 16px;
  }

  .about-editor-content blockquote.hook {
    margin: 4px 0 24px;
    padding: 20px;
    text-align: left;
  }

  .about-cta-section {
    padding: 40px 0;
  }

  .about-cta-band {
    padding: 30px 24px;
  }

  .about-cta-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .about-cta-actions .btn {
    width: 100%;
  }
}

/* =========================== Sitemap =========================== */
.sitemap-page {
  overflow: hidden;
}

.sitemap-page a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.sitemap-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 12%, var(--gold-tint) 0, transparent 32%),
    linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.sitemap-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: center;
  gap: 36px 56px;
}

.sitemap-hero-copy {
  max-width: 700px;
}

.sitemap-hero-copy h1 {
  margin-bottom: 12px;
}

.sitemap-hero-copy .lead {
  max-width: 620px;
  margin: 0;
  color: var(--warm-gray);
}

.sitemap-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sitemap-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sitemap-stat {
  display: flex;
  min-width: 0;
  min-height: 104px;
  padding: 18px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.sitemap-stat + .sitemap-stat {
  border-left: 1px solid var(--border);
}

.sitemap-stat strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
}

.sitemap-stat span {
  margin-top: 8px;
  color: var(--warm-gray);
  font-size: 13px;
  line-height: 1.4;
}

.sitemap-jump-links {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-jump-links a {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sitemap-section-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.sitemap-section-heading h2 {
  margin-bottom: 0;
}

.sitemap-section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--warm-gray);
  font-size: 16px;
}

#sitemap-shortcuts,
#sitemap-content,
#sitemap-pages {
  scroll-margin-top: 92px;
}

.sitemap-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sitemap-shortcut-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 164px;
  padding: 24px;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sitemap-shortcut-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.sitemap-shortcut-icon svg {
  width: 24px;
  height: 24px;
}

.sitemap-shortcut-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.sitemap-shortcut-copy strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.35;
}

.sitemap-shortcut-copy > span {
  color: var(--warm-gray);
  font-size: 14px;
  line-height: 1.55;
}

.sitemap-shortcut-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  color: var(--orange-dark);
  transition: transform 0.2s ease;
}

.sitemap-content-section {
  background: var(--cream);
}

.sitemap-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.sitemap-category-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.sitemap-category-header {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 14px;
}

.sitemap-category-header h3 {
  margin: 0 0 2px;
}

.sitemap-category-header h3 a {
  transition: color 0.2s ease;
}

.sitemap-category-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
}

.sitemap-category-icon svg {
  width: 21px;
  height: 21px;
}

.sitemap-count {
  color: var(--warm-gray);
  font-size: 13px;
}

.sitemap-child-links {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.sitemap-child-links a {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease;
}

.sitemap-article-list {
  margin: 0;
  padding-left: 20px;
  column-count: 2;
  column-gap: 34px;
}

.sitemap-article-list li {
  margin-bottom: 9px;
  break-inside: avoid;
  color: var(--orange-dark);
  font-size: 15px;
  line-height: 1.55;
}

.sitemap-article-list a {
  color: var(--charcoal);
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.sitemap-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold-tint);
  color: var(--warm-gray);
  font-size: 14px;
}

.sitemap-page-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.sitemap-page-grid li {
  margin: 0;
}

.sitemap-page-grid a {
  display: flex;
  min-height: 58px;
  padding: 13px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sitemap-page-grid svg {
  width: 17px;
  height: 17px;
  color: var(--orange-dark);
}

@media (hover: hover) {
  .sitemap-jump-links a:hover,
  .sitemap-page-grid a:hover {
    border-color: var(--orange);
    color: var(--orange-dark);
    transform: translateY(-2px);
  }

  .sitemap-shortcut-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }

  .sitemap-shortcut-card:hover .sitemap-shortcut-arrow {
    transform: translateX(4px);
  }

  .sitemap-category-header h3 a:hover,
  .sitemap-article-list a:hover {
    color: var(--orange-dark);
    text-decoration-color: currentColor;
  }

  .sitemap-child-links a:hover {
    background: var(--orange-tint);
    color: var(--orange-dark);
  }
}

@media (max-width: 1100px) {
  .sitemap-hero .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sitemap-stats {
    width: 100%;
    max-width: 640px;
  }

  .sitemap-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .sitemap-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .sitemap-category-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sitemap-hero .container {
    gap: 24px;
  }

  .sitemap-stat {
    min-height: 92px;
    padding: 14px 8px;
  }

  .sitemap-stat strong {
    font-size: 25px;
  }

  .sitemap-stat span {
    font-size: 12px;
  }

  .sitemap-jump-links {
    gap: 8px;
  }

  .sitemap-jump-links a {
    min-height: 38px;
    padding: 7px 13px;
    font-size: 14px;
  }

  .sitemap-shortcut-grid,
  .sitemap-page-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-shortcut-card {
    min-height: 0;
    padding: 20px;
  }

  .sitemap-category-card {
    padding: 22px 20px;
  }

  .sitemap-article-list {
    column-count: 1;
  }
}

/* =========================== Responsive =========================== */
@media (max-width: 1100px) {
  .main-nav,
  .header-actions .icon-btn.search-icon {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .verdict-grid {
    grid-template-columns: 1fr;
  }
  .compare-product-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .stat-item:nth-child(3) {
    border-left: none;
  }
  .blog-hero-grid,
  .blog-feature,
  .taxonomy-hero-grid {
    grid-template-columns: 1fr;
  }
  .taxonomy-summary-card {
    max-width: 420px;
  }
  .blog-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  section {
    padding: 40px 0;
  }
  .compare-section-heading {
    display: block;
  }
  .compare-section-heading p {
    margin-top: 6px;
  }
  .compare-product-note {
    margin-right: 0;
    margin-left: 0;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header .container {
    height: 68px;
  }
  .mini-compare {
    flex-direction: column;
  }
  .mini-compare-vs {
    padding: 4px 0;
  }
  .blog-hero {
    padding: 34px 0 28px;
  }
  .taxonomy-hero {
    padding: 34px 0;
  }
  .taxonomy-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .taxonomy-summary-card {
    max-width: none;
  }
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
  .article-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .knowledge-archive-hero {
    padding-top: 12px;
  }
  .knowledge-archive-intro {
    padding: 30px 22px;
    border-radius: 18px;
  }
  .knowledge-archive-intro::after {
    display: none;
  }
  .knowledge-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .knowledge-single-hero {
    padding-top: 28px;
  }
  .knowledge-entry-content {
    font-size: 17px;
  }
  .article-card-title {
    min-height: 0;
  }
  .blog-feature-visual {
    min-height: 210px;
  }
  .blog-feature-body,
  .blog-reading-item {
    padding: 22px;
  }
}

/* =========================== Global experience enhancements =========================== */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.discovery-nav-link {
  color: var(--orange-dark) !important;
  font-weight: 600 !important;
}
.theme-toggle {
  font-size: 20px;
}
.global-search-dialog {
  width: min(680px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  background: var(--white);
  color: var(--charcoal);
}
.global-search-dialog::backdrop {
  background: rgba(15, 34, 54, 0.65);
}
.global-search-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 28px;
  cursor: pointer;
}
.global-search-form {
  display: flex;
  gap: 10px;
}
.global-search-form input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  background: var(--white);
  color: var(--charcoal);
}
.global-toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 450;
  display: grid;
  gap: 8px;
}
.global-toast {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 15px;
}

/* [data-theme="dark"]{ --cream:#111D28; --white:#172A3B; --charcoal:#EDF3F5; --warm-gray:#B6C2C9; --navy:#D8E7F0; --navy-dark:#C6DCE8; --border:#355064; --sage-tint:#233B38; --gold-tint:#3A3424; --orange-tint:#462A20; --orange:#F08A50; --orange-dark:#FFAB76; --sage:#94B8A1; --gold:#E1C27B; }
@media(prefers-color-scheme:dark){ :root:not([data-theme="light"]){ --cream:#111D28; --white:#172A3B; --charcoal:#EDF3F5; --warm-gray:#B6C2C9; --navy:#D8E7F0; --navy-dark:#C6DCE8; --border:#355064; --sage-tint:#233B38; --gold-tint:#3A3424; --orange-tint:#462A20; --orange:#F08A50; --orange-dark:#FFAB76; --sage:#94B8A1; --gold:#E1C27B; } }
@media(max-width:640px){ .global-search-form{ flex-direction:column; align-items:stretch; }.theme-toggle{ display:flex!important; } }
@media(prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *,*::before,*::after{ animation-duration:.01ms!important; transition-duration:.01ms!important; } } */

[data-theme="dark"] {
  --cream: #1a1412;
  --white: #261c18;
  --charcoal: #f4ede7;
  --warm-gray: #bdaea4;
  --navy: #e4d3c6;
  --navy-dark: ##6b4c0a;
  --border: #523b31;
  --sage-tint: #29332d;
  --gold-tint: #44351f;
  --orange-tint: #4a2c20;
  --orange: #e9824f;
  --orange-dark: #ffac78;
  --sage: #9caf93;
  --gold: #ddb86a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #1a1412;
    --white: #261c18;
    --charcoal: #f4ede7;
    --warm-gray: #bdaea4;
    --navy: #e4d3c6;
    --navy-dark: ##6b4c0a;
    --border: #523b31;
    --sage-tint: #29332d;
    --gold-tint: #44351f;
    --orange-tint: #4a2c20;
    --orange: #e9824f;
    --orange-dark: #ffac78;
    --sage: #9caf93;
    --gold: #ddb86a;
  }
}
@media (max-width: 640px) {
  .global-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .theme-toggle {
    display: flex !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
