/* ===================== FAQ STYLE 2 – BUYING GUIDE ===================== */

/* Breadcrumb */
/* (breadcrumb styles moved to the global style.css 2026-07-14) */

/* Guide Hero */
.guide-hero {
  background: #f5f5f5;
  text-align: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid #e8e8e8;
}
.guide-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.guide-hero-title {
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.15;
}
.guide-hero-sub {
  font-size: 16px;
  color: #555;
  margin: 0;
}

/* Intro 3-col */
.guide-intro {
  padding: 60px 0 50px;
  background: #fff;
}
.guide-intro-title {
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 40px;
}
.guide-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.guide-intro-text p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin: 0;
}
.guide-intro-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Guide Body Layout */
.guide-body {
  background: #fff;
  padding: 0 0 80px;
}
/* Fallback (no ACF sections): single readable column, no empty TOC */
.guide-body-fallback { padding: 48px 0 80px; }
.guide-body-fallback .container { max-width: 880px; }
.guide-body-fallback .guide-content { padding: 0; }
.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* TOC Sidebar */
.guide-toc {
  position: sticky;
  top: 100px;
  padding: 24px 0;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-list li {
  border-left: 3px solid #e8e8e8;
  margin-bottom: 0;
}
.toc-list li.toc-active {
  border-left-color: #b01733;
  background: #fff5f7;
}
.toc-list a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.toc-list li.toc-active a {
  color: #b01733;
  font-weight: 600;
}
.toc-list a:hover { color: #b01733; }

/* Guide Content */
.guide-content {
  padding-top: 40px;
}
.guide-section {
  padding-bottom: 56px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 56px;
}
.guide-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.guide-q-title {
  font-family: 'Lato', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.25;
}
.guide-q-sub {
  font-size: 15px;
  color: #888;
  font-style: italic;
  margin: 0 0 20px;
}
.guide-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 16px;
}

/* Comparison Table */
.guide-comparison-table {
  margin: 24px 0;
  overflow-x: auto;
}
.guide-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.guide-comparison-table th {
  background: #1a1a1a;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.guide-comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ebebeb;
  color: #444;
  vertical-align: top;
}
.guide-comparison-table tr:nth-child(even) td {
  background: #f9f9f9;
}

/* Tip Box */
.guide-tip-box {
  background: #fff8e6;
  border-left: 4px solid #f5a623;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 24px 0;
}
.guide-tip-box p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Image Row */
.guide-images-row {
  display: flex;
  gap: 20px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.guide-img-card {
  flex: 1;
  min-width: 160px;
  text-align: center;
}
.guide-img-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fafafa;
  padding: 12px;
  box-sizing: border-box;
}
.guide-img-caption {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
}

/* Shop CTA Button */
.btn-guide-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b01733;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.2s;
}
.btn-guide-shop:hover { background: #8e1228; }

/* Steps List */
.guide-steps-list {
  padding-left: 24px;
  margin: 16px 0;
}
.guide-steps-list li {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 10px;
}

/* Care List */
.guide-care-list {
  padding-left: 20px;
  margin: 16px 0;
}
.guide-care-list li {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 8px;
}

/* (Legacy duplicate mega-menu styles removed 2026-07-10: they re-anchored
   the dropdown to the nav item and fought the site-wide mega-menu.css +
   mega-menu.js, breaking the panel position on buying-guide pages.) */

/* Responsive */
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; display: none; }
  .guide-intro-grid { grid-template-columns: 1fr; }
  .guide-intro-image img { height: 220px; }
  .guide-hero-title { font-size: 28px; }
  .guide-q-title { font-size: 20px; }
}

/* Comparison content in the e-book guide (2026-07-14): the masonry compare
   is a legacy 10-column table with inline styles; give it real table styling
   and a horizontal scroll container. The prefab compare is the site's chart
   image, full width. */
.halves { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.halves table { border-collapse: collapse; min-width: 960px; width: 100%; font-family: 'Manrope', sans-serif !important; }
.halves table td { border: 1px solid #e8dfd4; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #4a3f36; vertical-align: top; background: #fff; }
.halves table tr:first-child td { background: #b01733 !important; color: #fff !important; font-size: 16px; font-weight: 800; }
.halves table tr:nth-child(2) td { font-weight: 700; color: #1c1611; }
.halves table img { max-width: 100%; height: auto; border-radius: 6px; }
.bg-chart img { width: 100%; border-radius: 12px; box-shadow: 0 10px 26px rgba(28,22,17,0.12); margin: 18px 0 6px; }

/* Normalised legacy content (inc/legacy-content.php) inside the guide column. */
.guide-content h3 { font-size: 20px; font-weight: 800; color: #1c1611; line-height: 1.35; margin: 32px 0 12px; }
.guide-content h3:first-child { margin-top: 0; }
.guide-content img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 6px 0; }
.guide-content .lg-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 20px 0 26px; background: #1c1611; }
.guide-content .lg-video iframe { width: 100%; height: 100%; display: block; }
.guide-content .btn {
  display: inline-flex; align-items: center; background: #b01733; color: #fff !important;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none !important; margin: 6px 0 18px;
}
.guide-content .btn:hover { background: #8a1229; }
.guide-content .halves { margin: 0; }
.guide-content h3[id] { scroll-margin-top: 96px; }

/* Legacy pages open with a bare <ul> of jump links; make it a nav card. */
.guide-content > ul:first-of-type { background: #faf8f5; border: 1px solid #eee7de; border-radius: 12px; padding: 18px 22px 18px 40px; margin: 0 0 28px; }
.guide-content > ul:first-of-type li { margin-bottom: 6px; }
.guide-content > ul:first-of-type a { color: #b01733; font-weight: 700; text-decoration: none; }
.guide-content > ul:first-of-type a:hover { text-decoration: underline; }

/* Photos sit beside their section text (the live page pairs each photo with
   its copy in a 50/50 row; ours stacked them full-width underneath). */
.guide-content h3, .guide-content h2 { clear: both; }
.guide-content .lg-figure {
  float: right; width: 42%; margin: 2px 0 22px 32px;
}
.guide-content .lg-figure { text-align: center; }
.guide-content .lg-figure img {
  /* Never distort and never tower: these are mixed-ratio instructional
     photos (2.7:1 banners through to 0.9:1 portraits). */
  max-width: 100%; width: auto; height: auto; max-height: 340px;
  margin: 0 auto;
  border: 1px solid #e8dfd4; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(28,22,17,0.08);
}
.guide-content .lg-figure + .lg-figure { margin-top: 0; }
.guide-content .lg-video { clear: both; }
/* Guide column is a touch wider so a 42% photo still leaves a readable measure. */
.guide-body-fallback .container { max-width: 980px; }

@media (max-width: 720px) {
  .guide-content .lg-figure { float: none; width: 100%; margin: 18px 0; }
}
