/*
 Theme Name:   GaitLab Child
 Theme URI:    https://gaitlab.pro
 Description:  Scientific Nordic walking affiliate theme — custom design for GaitLab.pro
 Author:       GaitLab Team
 Author URI:   https://gaitlab.pro
 Template:     kadence
 Version:      2.0.0
 License:      GNU General Public License v3.0
 Text Domain:  gaitlab-child
*/

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Typography */
  --gl-font-heading: 'DM Serif Display', Georgia, serif;
  --gl-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colors — Nature-inspired with bold accents */
  --gl-forest: #1a3a2a;
  --gl-forest-deep: #0d1f16;
  --gl-navy: #1B4332;
  --gl-dark: #0b1a12;
  --gl-accent: #2D6A4F;
  --gl-accent-light: #52B788;
  --gl-accent-pale: #d8f3dc;
  --gl-accent-dark: #1B4332;
  --gl-coral: #C04A2E;
  --gl-coral-hover: #d4603f;
  --gl-coral-light: #F4A261;
  --gl-warm: #FEFAE0;
  --gl-blue: #3498db;
  --gl-light-bg: #f7faf8;
  --gl-cream: #fafdf9;
  --gl-border: #dce8e0;
  --gl-text: #2d3436;
  --gl-text-light: #636e72;
  --gl-white: #ffffff;
  --gl-red: #e74c3c;
  --gl-green: #2D6A4F;

  /* Spacing & Shapes */
  --gl-radius: 14px;
  --gl-radius-sm: 8px;
  --gl-radius-lg: 20px;
  --gl-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --gl-shadow-md: 0 2px 8px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.06);
  --gl-shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.08);
  --gl-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gl-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Global ===== */
body {
  color: var(--gl-text);
  font-family: var(--gl-font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--gl-cream);
}

* { box-sizing: border-box; }

/* ===== Page Load Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Staggered reveal for homepage sections */
.home .entry-content > * {
  animation: fadeInUp 0.6s ease-out both;
}

.home .entry-content > *:nth-child(1) { animation-delay: 0s; }
.home .entry-content > *:nth-child(2) { animation-delay: 0.08s; }
.home .entry-content > *:nth-child(3) { animation-delay: 0.16s; }
.home .entry-content > *:nth-child(4) { animation-delay: 0.24s; }
.home .entry-content > *:nth-child(5) { animation-delay: 0.32s; }
.home .entry-content > *:nth-child(6) { animation-delay: 0.40s; }
.home .entry-content > *:nth-child(7) { animation-delay: 0.48s; }
.home .entry-content > *:nth-child(8) { animation-delay: 0.56s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home .entry-content > *,
  .wp-block-latest-posts li,
  .home .wp-block-column {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Full-Width Layout ===== */
.site-container,
.site-inner-wrap,
.content-wrap,
.site-main,
.entry-content-wrap,
.content-area {
  max-width: 100% !important;
  width: 100% !important;
}

body.home .entry-content,
body.home.page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.single .entry-content,
.page:not(.home) .entry-content {
  max-width: 780px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.single article .entry-header,
.single .entry-header.post-title {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px;
}

.archive .site-main,
.blog .site-main {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px;
}

/* Full-bleed sections */
.wp-block-cover,
.wp-block-group.has-background,
.wp-block-group.alignfull,
.wp-block-cover.alignfull {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.home .entry-content > .wp-block-cover:first-child {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
}

.wp-block-columns {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px;
  gap: 24px !important;
}

.home .wp-block-columns .wp-block-column {
  min-width: 0;
  flex-basis: 0 !important;
  flex-grow: 1 !important;
}

.home .wp-block-group[style*="contentSize"] {
  max-width: 100% !important;
}

.home .wp-block-group > .wp-block-group__inner-container {
  max-width: 1200px;
  margin: 0 auto;
}

.home .entry-content .wp-block-group[class*="constrained"],
.home .entry-content .is-layout-constrained {
  max-width: 100% !important;
}

.home .entry-content .is-layout-constrained > * {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home .wp-block-column h3[class*="has-text-align-center"] {
  font-size: 16px !important;
  line-height: 1.3 !important;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-block-group__inner-container,
.wp-block-cover__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wp-block-kadence-rowlayout {
  max-width: 100% !important;
  width: 100% !important;
}

.wp-block-kadence-rowlayout > .kt-row-column-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Featured Image Fix ===== */
.single .post-thumbnail,
.single .article-post-thumbnail,
.single .entry-thumbnail,
.page:not(.home) .post-thumbnail {
  max-width: 780px !important;
  max-height: 420px !important;
  margin: 0 auto 1.5em !important;
  overflow: hidden !important;
  border-radius: var(--gl-radius);
  height: auto !important;
}

.single .post-thumbnail img,
.single .article-post-thumbnail img,
.single .entry-thumbnail img,
.single .wp-post-image {
  width: 100% !important;
  height: 360px !important;
  max-height: 360px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--gl-radius);
  display: block;
}

.page:not(.home) .post-thumbnail,
.page:not(.home) .article-post-thumbnail {
  max-width: 780px !important;
  max-height: 350px !important;
  margin: 0 auto 1.5em !important;
  overflow: hidden !important;
  border-radius: var(--gl-radius);
}

.page:not(.home) .post-thumbnail img,
.page:not(.home) .wp-post-image {
  width: 100% !important;
  height: 350px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--gl-radius);
  display: block;
}

/* ===== Hero Image in Content ===== */
.gl-hero-image {
  margin: 0 0 1.5em;
  border-radius: var(--gl-radius);
  overflow: hidden;
  line-height: 0;
}

.gl-hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: var(--gl-radius);
}

/* Hide Kadence built-in thumbnail */
.single .post-thumbnail.article-post-thumbnail {
  display: none !important;
}

/* Override Kadence aspect-ratio classes */
.single .post-thumbnail[class*="kadence-thumbnail-ratio"],
.single .post-thumbnail.kadence-thumbnail-ratio-2-3,
.single .post-thumbnail.kadence-thumbnail-ratio-3-4,
.single .post-thumbnail.kadence-thumbnail-ratio-1-1,
.single .post-thumbnail.kadence-thumbnail-ratio-3-2,
.single .post-thumbnail.kadence-thumbnail-ratio-4-3,
.single .post-thumbnail.article-post-thumbnail,
.single .post-thumbnail,
.page:not(.home) .post-thumbnail {
  padding-bottom: 42% !important;
  max-width: 780px !important;
  margin: 0 auto 0.5em !important;
  overflow: hidden !important;
  border-radius: var(--gl-radius);
  position: relative !important;
}

.single .post-thumbnail-inner,
.page:not(.home) .post-thumbnail-inner {
  padding-bottom: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.single .post-thumbnail img,
.single .article-post-thumbnail img,
.single .wp-post-image,
.page:not(.home) .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  border-radius: var(--gl-radius);
  display: block;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.single .article-post-thumbnail + article,
.single .post-thumbnail + article {
  margin-top: 0 !important;
}

.single article .entry-header {
  padding-top: 0.8em !important;
  margin-top: 0 !important;
}

/* ===== Interactive Tools — equal height cards ===== */
.home .wp-block-columns {
  align-items: stretch !important;
}

.home .wp-block-columns .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

.home .wp-block-column .wp-block-buttons {
  margin-top: auto !important;
  padding-top: 12px;
}

/* ===== Typography — Distinctive & Editorial ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gl-font-heading);
  color: var(--gl-navy);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

.entry-content h2 {
  margin-top: 2.5em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--gl-accent-pale);
}

.entry-content h3 {
  margin-top: 1.8em;
}

.entry-content p {
  margin-bottom: 1.4em;
  letter-spacing: 0.01em;
}

.entry-content img {
  border-radius: var(--gl-radius);
}

.home .entry-content h2 {
  border-bottom: none;
  padding-bottom: 0;
  text-align: center;
}

/* Section subtitles on home */
.home .entry-content h2 + p {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gl-text-light);
}

/* ===== Header — Refined Dark Forest ===== */
.site-header {
  background: linear-gradient(135deg, var(--gl-forest-deep) 0%, var(--gl-forest) 40%, #1e4d35 100%) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 100;
  border-bottom: none;
}

/* Subtle grain texture on header */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

/* Logo */
.site-header .custom-logo {
  max-height: 50px !important;
  width: auto !important;
  border-radius: 0;
  background: transparent;
  padding: 0;
  transition: var(--gl-transition);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.site-header .custom-logo:hover {
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.15));
  transform: scale(1.02);
}

.site-header .custom-logo-link {
  display: flex;
  align-items: center;
}

/* Hide text title when logo present */
.site-header .site-title,
.site-header .site-title a {
  color: var(--gl-white) !important;
  font-family: var(--gl-font-heading);
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 1.4em;
}

.site-header .site-description {
  color: rgba(255,255,255,0.35) !important;
  font-size: 0.72em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--gl-font-body);
}

/* Navigation — Clean & Elegant */
.site-header .header-navigation a {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--gl-font-body);
  font-weight: 500;
  font-size: 0.92em;
  letter-spacing: 0.4px;
  transition: var(--gl-transition-fast);
  position: relative;
  padding: 8px 0;
}

.site-header .header-navigation a:hover {
  color: var(--gl-white) !important;
}

.site-header .header-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gl-accent-light);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.site-header .header-navigation a:hover::after {
  width: 100%;
}

.site-header .header-navigation .current-menu-item > a,
.site-header .header-navigation .current_page_item > a {
  color: var(--gl-white) !important;
}

.site-header .header-navigation .current-menu-item > a::after,
.site-header .header-navigation .current_page_item > a::after {
  width: 100%;
  background: var(--gl-accent-light);
}

/* ===== Hero Section — Cinematic ===== */
.home .entry-content > .wp-block-cover:first-child {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  min-height: 600px !important;
  animation: fadeIn 0.8s ease-out both !important;
}

.wp-block-cover h1 {
  font-family: var(--gl-font-heading) !important;
  font-weight: 400 !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
}

.wp-block-cover p {
  font-family: var(--gl-font-body);
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* Hero CTA buttons */
.wp-block-cover .wp-block-button__link {
  transition: var(--gl-transition) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-family: var(--gl-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
}

.wp-block-cover .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ===== Tool Cards — Polished with Depth ===== */
.gl-tool-card,
.home .wp-block-column {
  transition: var(--gl-transition);
  border: 1px solid var(--gl-border) !important;
  box-shadow: var(--gl-shadow);
  background: var(--gl-white);
  border-radius: var(--gl-radius) !important;
  overflow: hidden;
}

.gl-tool-card:hover,
.home .wp-block-column:hover {
  transform: translateY(-6px);
  box-shadow: var(--gl-shadow-lg);
  border-color: var(--gl-accent-light) !important;
}

/* Tool card stagger animation */
.home .wp-block-column {
  animation: fadeInUp 0.5s ease-out both;
}

.home .wp-block-columns .wp-block-column:nth-child(1) { animation-delay: 0.1s; }
.home .wp-block-columns .wp-block-column:nth-child(2) { animation-delay: 0.2s; }
.home .wp-block-columns .wp-block-column:nth-child(3) { animation-delay: 0.3s; }
.home .wp-block-columns .wp-block-column:nth-child(4) { animation-delay: 0.4s; }

.home .wp-block-column h3 {
  word-break: keep-all !important;
  hyphens: none !important;
  font-family: var(--gl-font-heading);
}

.home .wp-block-column .wp-block-button__link {
  white-space: nowrap !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  border-radius: var(--gl-radius-sm) !important;
  transition: var(--gl-transition);
  font-family: var(--gl-font-body) !important;
  font-weight: 600 !important;
}

.home .wp-block-column .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45,106,79,0.25);
}

/* ===== Blog Posts Grid — Editorial Style ===== */
.wp-block-latest-posts {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  max-width: 1200px;
  margin: 0 auto;
}

.wp-block-latest-posts li {
  width: 100% !important;
  background: var(--gl-white);
  border-radius: var(--gl-radius);
  overflow: hidden;
  box-shadow: var(--gl-shadow);
  transition: var(--gl-transition);
  border: 1px solid var(--gl-border);
  animation: fadeInUp 0.5s ease-out both;
}

.wp-block-latest-posts li:nth-child(1) { animation-delay: 0.1s; }
.wp-block-latest-posts li:nth-child(2) { animation-delay: 0.2s; }
.wp-block-latest-posts li:nth-child(3) { animation-delay: 0.3s; }

.wp-block-latest-posts li:hover {
  transform: translateY(-6px);
  box-shadow: var(--gl-shadow-lg);
  border-color: var(--gl-accent-pale);
}

.wp-block-latest-posts__featured-image {
  margin-bottom: 0 !important;
  overflow: hidden;
}

.wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.06);
}

.wp-block-latest-posts__post-title {
  padding: 20px 24px 6px !important;
  font-size: 1.1em !important;
  font-weight: 400 !important;
  font-family: var(--gl-font-heading) !important;
  line-height: 1.35 !important;
  color: var(--gl-navy) !important;
  transition: color 0.2s;
}

.wp-block-latest-posts li:hover .wp-block-latest-posts__post-title {
  color: var(--gl-accent) !important;
}

.wp-block-latest-posts__post-date {
  padding: 0 24px !important;
  font-size: 0.78em !important;
  color: var(--gl-text-light) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--gl-font-body);
  font-weight: 500;
}

.wp-block-latest-posts__post-excerpt {
  padding: 8px 24px 24px !important;
  font-size: 0.92em !important;
  color: var(--gl-text-light) !important;
  line-height: 1.65 !important;
}

/* ===== Product Cards ===== */
.gl-products-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.gl-product-card {
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius) !important;
  transition: var(--gl-transition);
  overflow: hidden;
  background: var(--gl-white);
}

.gl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gl-shadow-lg);
  border-color: var(--gl-accent-light) !important;
}

.gl-product-card__price {
  font-size: 1.3em !important;
  font-weight: 800 !important;
  color: var(--gl-navy) !important;
}

.gl-product-card__buttons .gl-buy-btn {
  border-radius: var(--gl-radius-sm) !important;
  font-weight: 700;
  transition: var(--gl-transition);
}

.gl-product-card__buttons .gl-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== Event Cards ===== */
.gl-events-list {
  max-width: 1200px;
  margin: 0 auto;
}

.gl-event-card {
  border: 1px solid var(--gl-border) !important;
  border-radius: var(--gl-radius) !important;
  transition: var(--gl-transition);
}

.gl-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gl-shadow-md);
  border-color: var(--gl-accent-light) !important;
}

/* ===== Section Spacing ===== */
.home .wp-block-group {
  margin-bottom: 0 !important;
}

.home .entry-content > .wp-block-group + .wp-block-group:not(.has-background) {
  border-top: 1px solid var(--gl-border);
}

/* ===== Buttons — Refined ===== */
.wp-block-button__link {
  border-radius: var(--gl-radius-sm) !important;
  font-weight: 600 !important;
  font-family: var(--gl-font-body) !important;
  transition: var(--gl-transition);
  letter-spacing: 0.3px;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* CTA section buttons */
.wp-block-cover .wp-block-button__link[style*="background-color:#ffffff"][style*="color:#C04A2E"] {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.wp-block-cover .wp-block-button__link[style*="background-color:#ffffff"][style*="color:#C04A2E"]:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* ===== Footer — Rich & Informative ===== */
.site-footer {
  background: linear-gradient(180deg, var(--gl-forest-deep) 0%, #070f0b 100%) !important;
  padding: 48px 0 24px !important;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gl-accent-light), var(--gl-coral), var(--gl-accent-light));
}

.site-footer,
.site-footer a,
.site-footer p {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.9em;
  font-family: var(--gl-font-body);
}

.site-footer a:hover {
  color: var(--gl-accent-light) !important;
}

/* ===== Expert Tip Box ===== */
.gl-expert-tip {
  background: linear-gradient(135deg, #eef9f1 0%, #f0faf3 100%);
  border-left: 4px solid var(--gl-accent-light);
  border-radius: 0 var(--gl-radius) var(--gl-radius) 0;
  padding: 1.5em 1.8em;
  margin: 2em 0;
  position: relative;
}

.gl-expert-tip .gl-tip-label {
  font-weight: 600;
  color: var(--gl-accent);
  text-transform: uppercase;
  font-size: 0.72em;
  letter-spacing: 2px;
  margin-bottom: 0.5em;
  display: block;
  font-family: var(--gl-font-body);
}

.gl-expert-tip p:last-child { margin-bottom: 0; }

/* ===== Physio's Opinion ===== */
.gl-physio-opinion {
  background: linear-gradient(135deg, #ebf5fb 0%, #eef7fc 100%);
  border-left: 4px solid var(--gl-blue);
  border-radius: 0 var(--gl-radius) var(--gl-radius) 0;
  padding: 1.5em 1.8em;
  margin: 2em 0;
}

.gl-physio-opinion .gl-tip-label {
  font-weight: 600;
  color: var(--gl-blue);
  text-transform: uppercase;
  font-size: 0.72em;
  letter-spacing: 2px;
  margin-bottom: 0.5em;
  display: block;
  font-family: var(--gl-font-body);
}

/* ===== Pros & Cons ===== */
.gl-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin: 2em 0;
}

.gl-pros, .gl-cons {
  border-radius: var(--gl-radius);
  padding: 1.5em;
}

.gl-pros { background: #f0faf3; border: 1px solid #c6f0d4; }
.gl-cons { background: #fef5f5; border: 1px solid #f0c6c6; }

.gl-pros h4, .gl-cons h4 {
  margin: 0 0 1em;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--gl-font-body);
  font-weight: 700;
}

.gl-pros h4 { color: var(--gl-green); }
.gl-cons h4 { color: var(--gl-red); }

.gl-pros ul, .gl-cons ul { list-style: none; padding: 0; margin: 0; }

.gl-pros li, .gl-cons li {
  padding: 0.5em 0 0.5em 1.8em;
  position: relative;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.gl-pros li:last-child, .gl-cons li:last-child { border-bottom: none; }

.gl-pros li::before { content: "\2713"; position: absolute; left: 0; color: var(--gl-green); font-weight: 700; }
.gl-cons li::before { content: "\2717"; position: absolute; left: 0; color: var(--gl-red); font-weight: 700; }

/* ===== Amazon CTA Button ===== */
.gl-amazon-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gl-coral) 0%, var(--gl-coral-hover) 100%);
  color: var(--gl-white) !important;
  padding: 14px 32px;
  border-radius: var(--gl-radius-sm);
  font-weight: 700;
  font-size: 1.05em;
  font-family: var(--gl-font-body);
  text-decoration: none !important;
  text-align: center;
  transition: var(--gl-transition);
  box-shadow: 0 4px 16px rgba(231,111,81,0.25);
}

.gl-amazon-btn:hover {
  background: linear-gradient(135deg, var(--gl-coral-hover) 0%, #c4533a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231,111,81,0.35);
}

.gl-amazon-btn::after { content: " \2192"; }

/* ===== Calculators — Refined ===== */
.gl-calculator {
  background: var(--gl-white);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 2.2em;
  margin: 2em 0;
  box-shadow: var(--gl-shadow-md);
}

.gl-calculator h3 {
  margin: 0 0 0.3em;
  color: var(--gl-navy);
  font-size: 1.35em;
  border-bottom: none;
  font-family: var(--gl-font-heading);
}

.gl-calculator .gl-calc-subtitle {
  color: var(--gl-text-light);
  font-size: 0.9em;
  margin-bottom: 1.5em;
}

.gl-calc-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.gl-calc-row label {
  font-weight: 600;
  min-width: 120px;
  color: var(--gl-navy);
}

.gl-calc-row input[type="number"],
.gl-calc-row select {
  border: 1.5px solid var(--gl-border);
  border-radius: var(--gl-radius-sm);
  padding: 10px 14px;
  font-size: 1em;
  color: var(--gl-text);
  width: 120px;
  background: var(--gl-cream);
  transition: var(--gl-transition-fast);
  font-family: var(--gl-font-body);
}

.gl-calc-row input:focus,
.gl-calc-row select:focus {
  outline: none;
  border-color: var(--gl-accent-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
  background: var(--gl-white);
}

.gl-unit-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 1.5em;
  background: var(--gl-light-bg);
  border-radius: var(--gl-radius-sm);
  padding: 3px;
  width: fit-content;
}

.gl-unit-toggle button {
  background: transparent;
  border: none;
  padding: 8px 24px;
  font-size: 0.9em;
  font-weight: 600;
  font-family: var(--gl-font-body);
  color: var(--gl-text-light);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--gl-transition-fast);
}

.gl-unit-toggle button.active {
  background: var(--gl-white);
  color: var(--gl-navy);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.gl-calc-btn {
  background: linear-gradient(135deg, var(--gl-accent) 0%, var(--gl-accent-light) 100%);
  color: var(--gl-white);
  border: none;
  padding: 13px 36px;
  border-radius: var(--gl-radius-sm);
  font-size: 1em;
  font-weight: 700;
  font-family: var(--gl-font-body);
  cursor: pointer;
  transition: var(--gl-transition);
  margin-top: 0.5em;
  box-shadow: 0 4px 12px rgba(45,106,79,0.2);
}

.gl-calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.3);
  filter: brightness(1.05);
}

.gl-calc-result {
  display: none;
  margin-top: 1.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--gl-border);
  animation: fadeInUp 0.4s ease-out;
}

.gl-calc-result.visible {
  display: block;
}

.gl-result-number {
  font-size: 2.2em;
  font-weight: 700;
  font-family: var(--gl-font-heading);
  color: var(--gl-accent);
  line-height: 1.2;
}

.gl-result-label {
  font-size: 0.85em;
  color: var(--gl-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Pace calculator grid */
.gl-pace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

.gl-pace-stat {
  text-align: center;
  background: var(--gl-light-bg);
  padding: 1.2em;
  border-radius: var(--gl-radius);
}

.gl-pace-value {
  font-size: 2em;
  font-weight: 700;
  font-family: var(--gl-font-heading);
  color: var(--gl-accent);
}

/* Calorie bars */
.gl-calorie-bar-row { margin-bottom: 1em; }

.gl-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95em;
  margin-bottom: 6px;
  font-weight: 600;
}

.gl-calorie-bar-track {
  background: var(--gl-light-bg);
  border-radius: 100px;
  height: 14px;
  overflow: hidden;
}

.gl-calorie-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-calorie-bar-fill.walking {
  background: linear-gradient(90deg, #b2bec3, #95a5a6);
}

.gl-calorie-bar-fill.nordic {
  background: linear-gradient(90deg, var(--gl-accent), var(--gl-accent-light));
}

/* Quiz */
.gl-quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 2em;
}

.gl-step {
  height: 4px;
  flex: 1;
  background: var(--gl-border);
  border-radius: 100px;
  transition: background 0.3s;
}

.gl-step.active {
  background: var(--gl-accent-light);
}

.gl-quiz-question {
  display: none;
}

.gl-quiz-question.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

.gl-quiz-question h4 {
  font-family: var(--gl-font-heading);
  font-size: 1.2em;
  margin-bottom: 1em;
}

.gl-quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gl-quiz-option {
  border: 1.5px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--gl-transition-fast);
  text-align: center;
  font-weight: 500;
  font-family: var(--gl-font-body);
  background: var(--gl-white);
}

.gl-quiz-option:hover {
  border-color: var(--gl-accent-light);
  background: var(--gl-light-bg);
  transform: translateY(-1px);
}

.gl-quiz-option.selected {
  border-color: var(--gl-accent);
  background: var(--gl-accent-pale);
  color: var(--gl-navy);
}

.gl-quiz-result {
  display: none;
}

.gl-quiz-result.visible {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

.gl-quiz-recommendation {
  background: var(--gl-light-bg);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 1.5em;
  margin-top: 1em;
}

.gl-quiz-recommendation h5 {
  font-family: var(--gl-font-heading);
  font-size: 1.2em;
  margin: 0 0 0.8em;
}

/* Lab score */
.gl-lab-card {
  background: linear-gradient(135deg, var(--gl-light-bg), var(--gl-white));
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 1.5em;
  margin: 2em 0;
}

.gl-score {
  font-size: 2em;
  font-weight: 700;
  font-family: var(--gl-font-heading);
  color: var(--gl-accent);
  display: block;
  margin-bottom: 0.5em;
}

/* Affiliate disclosure */
.gl-disclosure {
  background: var(--gl-light-bg);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 1.2em 1.5em;
  font-size: 0.85em;
  color: var(--gl-text-light);
  margin: 2em 0;
}

/* ===== Scroll-aware animations (IntersectionObserver in theme JS) ===== */
.gl-animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gl-animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Links — Subtle Underline ===== */
.entry-content a:not(.wp-block-button__link):not(.gl-amazon-btn) {
  color: var(--gl-accent);
  text-decoration: underline;
  text-decoration-color: rgba(45,106,79,0.3);
  text-underline-offset: 2px;
  transition: var(--gl-transition-fast);
}

.entry-content a:not(.wp-block-button__link):not(.gl-amazon-btn):hover {
  color: var(--gl-coral);
  text-decoration-color: var(--gl-coral);
}

/* ===== Selection ===== */
::selection {
  background: var(--gl-accent-pale);
  color: var(--gl-navy);
}

/* ===== Scrollbar (Webkit) ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gl-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gl-accent-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gl-accent);
}

/* ===== Hide logo text when logo image present ===== */
.custom-logo-link + .site-title,
.site-branding .site-title {
  display: none !important;
}

.site-header .custom-logo {
  max-height: 56px !important;
  height: 56px !important;
}

.brand.has-logo-image .site-title-wrap {
  display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body { font-size: 16px; }

  h1 { font-size: 2em; }
  h2 { font-size: 1.6em; }

  .wp-block-latest-posts {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .gl-pros-cons {
    grid-template-columns: 1fr;
  }

  .gl-quiz-options {
    grid-template-columns: 1fr;
  }

  .gl-pace-grid {
    grid-template-columns: 1fr;
  }

  .single .entry-content,
  .page:not(.home) .entry-content {
    padding: 0 16px;
  }

  .home .entry-content > .wp-block-cover:first-child {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
    min-height: 480px !important;
  }

  .wp-block-cover h1 {
    font-size: 2em !important;
  }

  .wp-block-columns {
    gap: 16px !important;
    padding: 0 16px;
  }

  .gl-calculator {
    padding: 1.5em;
  }

  .gl-calc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }

  .gl-calc-row input[type="number"] {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home .entry-content > .wp-block-cover:first-child {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
    min-height: 400px !important;
  }

  .wp-block-cover h1 {
    font-size: 1.6em !important;
  }

  .gl-result-number {
    font-size: 1.8em;
  }
}

/* ===== Tablet breakpoint ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .wp-block-latest-posts {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════
   CONVERSION OPTIMIZATION CSS — GaitLab v2.1
   Product Cards, Star Ratings, Quick Picks, CTAs
   ═══════════════════════════════════════════════ */

/* ── Amazon CTA Button: Orange, prominent, Amazon-style ── */
.gl-amazon-btn,
a.gl-amazon-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #f7c948 0%, #f0a830 100%);
    color: #111 !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1px solid #c89411;
    box-shadow: 0 2px 5px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    text-align: center;
    margin: 8px 4px;
}
.gl-amazon-btn:hover,
a.gl-amazon-btn:hover {
    background: linear-gradient(to bottom, #f0a830 0%, #e09820 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.gl-amazon-btn::before {
    content: "🛒 ";
    font-size: 14px;
}

/* ── Product Card ── */
.gl-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--gl-radius-lg, 16px);
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.gl-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.gl-product-card__badge {
    display: inline-block;
    background: var(--gl-forest, #1a3a2a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.gl-product-card__badge--best {
    background: #d4a017;
    color: #111;
}
.gl-product-card__badge--value {
    background: var(--gl-accent-light, #52B788);
}
.gl-product-card__badge--budget {
    background: #5a6268;
}
.gl-product-card__name {
    font-family: var(--gl-font-heading, serif);
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--gl-forest, #1a3a2a);
}
.gl-product-card__rating {
    color: #f0a830;
    font-size: 18px;
    margin-bottom: 8px;
}
.gl-product-card__rating span {
    color: #5a6268;
    font-size: 14px;
    font-weight: 600;
    margin-left: 6px;
}
.gl-product-card__desc {
    font-size: 15px;
    color: #495057;
    margin-bottom: 16px;
    line-height: 1.6;
}
.gl-product-card .gl-amazon-btn {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 320px;
}

/* ── Quick Pick / Editor's Choice Box ── */
.gl-quick-pick {
    background: linear-gradient(135deg, #fafdf9 0%, #d8f3dc 100%);
    border: 2px solid var(--gl-accent-light, #52B788);
    border-radius: var(--gl-radius-lg, 16px);
    padding: 24px 28px;
    margin: 24px 0;
    position: relative;
}
.gl-quick-pick::before {
    content: "⚡ EDITOR'S PICK";
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gl-forest, #1a3a2a);
    margin-bottom: 12px;
}
.gl-quick-pick__title {
    font-family: var(--gl-font-heading, serif);
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--gl-forest-deep, #0d1f16);
}
.gl-quick-pick__why {
    font-size: 15px;
    color: #495057;
    margin-bottom: 16px;
}
.gl-quick-pick .gl-amazon-btn {
    display: inline-block;
}

/* ── Star Rating Display ── */
.gl-stars {
    color: #f0a830;
    font-size: 18px;
    letter-spacing: 2px;
    display: inline-block;
}
.gl-stars--dim {
    color: #ddd;
}
.gl-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gl-forest, #1a3a2a);
}
.gl-score__number {
    background: var(--gl-forest, #1a3a2a);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
}
.gl-score__label {
    font-size: 13px;
    color: #5a6268;
    font-weight: 400;
}

/* ── Tiered Recommendations (Budget / Value / Premium) ── */
.gl-tier {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}
.gl-tier__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.2s;
}
.gl-tier__item:hover {
    border-color: var(--gl-accent-light, #52B788);
}
.gl-tier__item--best {
    border-color: #d4a017;
    border-width: 2px;
    background: #fffef5;
}
.gl-tier__badge {
    font-size: 24px;
    flex-shrink: 0;
}
.gl-tier__info {
    flex: 1;
}
.gl-tier__name {
    font-weight: 700;
    font-size: 16px;
    color: var(--gl-forest, #1a3a2a);
    margin-bottom: 2px;
}
.gl-tier__label {
    font-size: 12px;
    color: #5a6268;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gl-tier__item .gl-amazon-btn {
    flex-shrink: 0;
    margin: 0;
    padding: 10px 20px;
    font-size: 13px;
}

/* ── CTA After Calculator Result ── */
.gl-calc-cta {
    background: linear-gradient(135deg, var(--gl-forest, #1a3a2a) 0%, var(--gl-forest-deep, #0d1f16) 100%);
    color: #fff;
    padding: 24px 28px;
    border-radius: var(--gl-radius-lg, 16px);
    margin-top: 20px;
    text-align: center;
}
.gl-calc-cta h3 {
    color: #fff;
    font-family: var(--gl-font-heading, serif);
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 400;
}
.gl-calc-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 16px;
}
.gl-calc-cta .gl-amazon-btn {
    font-size: 16px;
    padding: 14px 32px;
}

/* ── Trust Badges ── */
.gl-trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: center;
}
.gl-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}
.gl-trust-badge__icon {
    font-size: 16px;
}

/* ── Comparison Table Enhancement ── */
.gl-comparison-table a {
    color: var(--gl-forest, #1a3a2a);
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    background: linear-gradient(to bottom, #f7c948 0%, #f0a830 100%);
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    transition: all 0.2s;
    color: #111;
}
.gl-comparison-table a:hover {
    background: linear-gradient(to bottom, #f0a830 0%, #e09820 100%);
    transform: translateY(-1px);
}

/* ── Sticky Buy Bar (bottom of review articles) ── */
.gl-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--gl-accent-light, #52B788);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.gl-sticky-bar.visible {
    transform: translateY(0);
}
.gl-sticky-bar__text {
    font-weight: 600;
    font-size: 15px;
    color: var(--gl-forest, #1a3a2a);
}
.gl-sticky-bar .gl-amazon-btn {
    margin: 0;
    padding: 10px 24px;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .gl-tier__item {
        flex-direction: column;
        text-align: center;
    }
    .gl-tier__item .gl-amazon-btn {
        width: 100%;
    }
    .gl-quick-pick {
        padding: 20px;
    }
    .gl-product-card {
        padding: 20px;
    }
    .gl-sticky-bar {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
    }
    .gl-sticky-bar__text {
        font-size: 13px;
    }
    .gl-trust-badges {
        gap: 8px;
    }
    .gl-trust-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    .gl-amazon-btn,
    a.gl-amazon-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gl-product-card__name {
        font-size: 18px;
    }
    .gl-quick-pick__title {
        font-size: 18px;
    }
}

/* ── Start Here Navigation Highlight ── */
.menu-item a[href*="beginners-guide"] {
    background: linear-gradient(to bottom, #f7c948 0%, #f0a830 100%);
    color: #111 !important;
    font-weight: 700;
    padding: 6px 14px !important;
    border-radius: 6px;
    font-size: 14px;
}
.menu-item a[href*="beginners-guide"]:hover {
    background: linear-gradient(to bottom, #f0a830 0%, #e09820 100%);
}

/* ── Email Capture CTA Box ── */
.gl-email-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--gl-accent-light, #52B788);
    border-radius: var(--gl-radius-lg, 16px);
    padding: 24px 28px;
    margin: 24px 0;
    text-align: center;
}
.gl-email-cta h3 {
    font-family: var(--gl-font-heading, serif);
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--gl-forest, #1a3a2a);
}
.gl-email-cta p {
    font-size: 15px;
    color: #495057;
    margin-bottom: 16px;
}
.gl-email-cta .gl-email-form {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto;
}
.gl-email-cta .gl-email-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
}
.gl-email-cta .gl-email-form button {
    background: var(--gl-forest, #1a3a2a);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.gl-email-cta .gl-email-form button:hover {
    background: var(--gl-forest-deep, #0d1f16);
}
@media (max-width: 480px) {
    .gl-email-cta .gl-email-form {
        flex-direction: column;
    }
}

/* ── Premium Plan Page ── */
.gl-premium-page { max-width: 720px; margin: 0 auto; }

.gl-premium-hero {
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    color: #fff;
    padding: 48px 36px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 32px;
}
.gl-premium-hero h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.gl-premium-hero p { color: #B7E4C7; font-size: 16px; max-width: 520px; margin: 0 auto 24px; line-height: 1.6; }

.gl-premium-price { margin: 24px 0; }
.gl-premium-price__amount { font-size: 48px; font-weight: 800; color: #fff; }
.gl-premium-price__label { font-size: 16px; color: #B7E4C7; margin-left: 8px; }

.gl-premium-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
    max-width: 440px;
    margin: 0 auto;
}
.gl-premium-includes__item {
    font-size: 14px;
    color: #D8F3DC;
    padding: 6px 0;
}

/* Step Indicator */
.gl-step-indicator {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
}
.gl-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ADB5BD;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s;
}
.gl-step.active { background: #1B4332; color: #fff; }
.gl-step span {
    display: inline-flex;
    width: 24px; height: 24px;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 12px;
}
.gl-step.active span { background: rgba(255,255,255,0.2); }

/* Form Steps */
.gl-premium-step { display: none; }
.gl-premium-step.active { display: block; animation: glFadeIn 0.3s; }
@keyframes glFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.gl-premium-step h3 {
    font-size: 22px;
    color: #1B4332;
    margin: 0 0 20px;
}

/* Form Fields */
.gl-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.gl-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}
.gl-form-field input,
.gl-form-field select,
.gl-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.gl-form-field input:focus,
.gl-form-field select:focus,
.gl-form-field textarea:focus {
    outline: none;
    border-color: #2D6A4F;
}

/* Option Cards */
.gl-option-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.gl-option-cards.small { grid-template-columns: 1fr 1fr 1fr; }
.gl-option-card {
    padding: 20px 16px;
    border: 2px solid #DEE2E6;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.gl-option-card:hover { border-color: #2D6A4F; background: #F0FAF4; }
.gl-option-card.selected {
    border-color: #2D6A4F;
    background: #1B4332;
    color: #fff;
}
.gl-option-card.selected .gl-option-card__desc { color: #B7E4C7; }
.gl-option-card__icon { font-size: 28px; margin-bottom: 8px; }
.gl-option-card__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.gl-option-card__desc { font-size: 12px; color: #5A6268; line-height: 1.4; }

/* Navigation */
.gl-step-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.gl-premium-next, .gl-premium-back {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.gl-premium-next { background: #C04A2E; color: #fff; margin-left: auto; }
.gl-premium-next:hover { background: #c55a3f; transform: translateY(-1px); }
.gl-premium-back { background: #F8F9FA; color: #495057; }
.gl-premium-back:hover { background: #E9ECEF; }

/* Checkout */
.gl-premium-summary {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.gl-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.gl-summary-item {
    font-size: 14px;
    color: #333;
}
.gl-summary-item strong {
    display: block;
    font-size: 11px;
    color: #5A6268;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.gl-summary-item.full { grid-column: 1 / -1; }

.gl-premium-checkout-box {
    background: #fff;
    border: 2px solid #DEE2E6;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.gl-premium-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E9ECEF;
}
.gl-premium-total__price { font-size: 28px; font-weight: 800; color: #1B4332; }

.gl-premium-pay {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(to bottom, #C04A2E, #d4603f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.gl-premium-pay:hover { background: linear-gradient(to bottom, #d4603f, #c55a3f); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(231,111,81,0.3); }
.gl-premium-pay:disabled { opacity: 0.7; cursor: wait; }
.gl-premium-secure { font-size: 13px; color: #5A6268; margin-top: 12px; }
.gl-premium-error { color: #C04A2E; font-size: 14px; font-weight: 600; margin-top: 12px; padding: 12px; background: #FFF5F3; border-radius: 8px; }

/* Trust */
.gl-premium-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    padding: 24px;
    background: #F8F9FA;
    border-radius: 12px;
}
.gl-premium-trust__item { font-size: 14px; color: #495057; }

/* Success */
.gl-premium-success {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    border-radius: 16px;
    color: #fff;
}
.gl-premium-success__icon { font-size: 64px; margin-bottom: 16px; }
.gl-premium-success h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.gl-premium-success p { color: #B7E4C7; font-size: 16px; }
.gl-premium-success__sub { font-size: 13px !important; color: rgba(255,255,255,.5) !important; }
.gl-premium-success .gl-amazon-btn { margin-top: 24px; }

.gl-premium-canceled {
    background: #FFF5F3;
    border: 1px solid #C04A2E;
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 24px;
    color: #c55a3f;
}

/* Mobile */
@media (max-width: 600px) {
    .gl-premium-hero { padding: 32px 20px; }
    .gl-premium-hero h2 { font-size: 22px; }
    .gl-premium-price__amount { font-size: 36px; }
    .gl-premium-includes { grid-template-columns: 1fr; }
    .gl-step-indicator { flex-wrap: wrap; }
    .gl-step { font-size: 11px; padding: 6px 10px; }
    .gl-form-grid { grid-template-columns: 1fr; }
    .gl-option-cards { grid-template-columns: 1fr; }
    .gl-option-cards.small { grid-template-columns: 1fr 1fr; }
    .gl-summary-grid { grid-template-columns: 1fr; }
    .gl-premium-trust { grid-template-columns: 1fr; }
}

/* ── Unit Switch Toggle ── */
.gl-unit-switch { display:flex; gap:0; border-radius:8px; overflow:hidden; border:2px solid #DEE2E6; }
.gl-unit-btn { flex:1; padding:10px 16px; border:none; background:#F8F9FA; color:#495057; font-size:14px; font-weight:600; cursor:pointer; transition:all .2s; }
.gl-unit-btn.active { background:#1B4332; color:#fff; }
.gl-unit-btn:hover:not(.active) { background:#E9ECEF; }

/* ── Comparison Table Fix — Responsive + Visible Buy Button ── */
.gl-comparison-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.gl-comparison-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.gl-comparison-table th { background: #1B4332; color: #fff; padding: 10px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; text-align: left; }
.gl-comparison-table td { padding: 10px 8px; border-bottom: 1px solid #E9ECEF; vertical-align: middle; font-size: 13px; }
.gl-comparison-table tr:nth-child(even) { background: #F8F9FA; }
.gl-comparison-table tr:hover { background: #F0FAF4; }
.gl-comparison-table td:first-child { text-align: center; width: 30px; font-size: 16px; }
.gl-comparison-table td:last-child { white-space: nowrap; }
.gl-comparison-table .gl-amazon-btn { font-size: 12px !important; padding: 8px 12px !important; display: inline-block; white-space: nowrap; }
@media (max-width: 768px) {
    .gl-comparison-table table { font-size: 12px; }
    .gl-comparison-table th, .gl-comparison-table td { padding: 8px 6px; }
    .gl-comparison-table .gl-amazon-btn { font-size: 11px !important; padding: 6px 10px !important; }
}
@media (max-width: 480px) {
    .gl-comparison-table table { min-width: 500px; }
}

/* ── Boot/Product Card Grid ── */
.gl-boot-grid { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.gl-boot-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.gl-boot-card:hover { border-color: #2D6A4F; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.gl-boot-card__rank {
    font-size: 24px;
    font-weight: 800;
    color: #1B4332;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.gl-boot-card__info { flex: 1; min-width: 0; }
.gl-boot-card__info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #1B4332;
    line-height: 1.3;
}
.gl-boot-card__info p {
    margin: 0;
    font-size: 13px;
    color: #5A6268;
    line-height: 1.4;
}
.gl-boot-card__score {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #2D6A4F;
    background: #F0FAF4;
    padding: 2px 10px;
    border-radius: 12px;
}
.gl-boot-card .gl-amazon-btn {
    flex-shrink: 0;
    font-size: 13px !important;
    padding: 10px 18px !important;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .gl-boot-card { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
    .gl-boot-card__rank { font-size: 20px; min-width: 32px; }
    .gl-boot-card__info { flex-basis: calc(100% - 50px); }
    .gl-boot-card__info h4 { font-size: 14px; }
    .gl-boot-card .gl-amazon-btn { width: 100%; text-align: center; margin-top: 4px; }
}

/* ── Smart Sticky Buy Bar (upgraded) ── */
.gl-sticky-bar {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gl-sticky-bar.visible { bottom: 0; }
.gl-sticky-bar__text {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}
.gl-sticky-bar .gl-amazon-btn {
    font-size: 14px !important;
    padding: 10px 24px !important;
    white-space: nowrap;
    animation: glPulse 2s ease-in-out infinite;
}
@keyframes glPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 0 12px rgba(247, 201, 72, 0.4); }
}
@media (max-width: 600px) {
    .gl-sticky-bar { padding: 10px 16px; gap: 10px; }
    .gl-sticky-bar__text { font-size: 13px; max-width: 180px; }
    .gl-sticky-bar .gl-amazon-btn { font-size: 12px !important; padding: 8px 16px !important; }
}

/* ── Exit-Intent Popup ── */
.gl-exit-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.gl-exit-overlay.visible { display: flex; animation: glFadeIn 0.3s; }
.gl-exit-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: glSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes glSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.gl-exit-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #ADB5BD;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.gl-exit-close:hover { color: #333; }
.gl-exit-icon { font-size: 48px; margin-bottom: 12px; }
.gl-exit-popup h3 {
    font-size: 22px;
    color: #1B4332;
    margin: 0 0 10px;
    line-height: 1.3;
}
.gl-exit-popup p {
    font-size: 15px;
    color: #495057;
    margin: 0 0 20px;
    line-height: 1.5;
}
.gl-exit-form { display: flex; flex-direction: column; gap: 10px; }
.gl-exit-input {
    padding: 14px 18px;
    border: 2px solid #DEE2E6;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.2s;
}
.gl-exit-input:focus { outline: none; border-color: #2D6A4F; }
.gl-exit-btn {
    padding: 16px 24px;
    background: linear-gradient(to bottom, #C04A2E, #d4603f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.gl-exit-btn:hover { background: linear-gradient(to bottom, #d4603f, #c55a3f); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(231,111,81,0.3); }
.gl-exit-privacy { font-size: 12px !important; color: #ADB5BD !important; margin-top: 12px !important; margin-bottom: 0 !important; }
.gl-exit-social-proof {
    font-size: 13px !important;
    color: #2D6A4F !important;
    font-weight: 700;
    margin: 8px 0 0 !important;
    padding-top: 8px;
    border-top: 1px solid #F0F0F0;
}
@media (max-width: 480px) {
    .gl-exit-popup { padding: 28px 20px; }
    .gl-exit-popup h3 { font-size: 19px; }
    .gl-exit-icon { font-size: 36px; }
}

/* ── Quick Compare Box ── */
.gl-quick-compare {
    background: #fff;
    border: 2px solid #2D6A4F;
    border-radius: 14px;
    margin: 28px 0;
    overflow: hidden;
}
.gl-qc-header {
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 20px;
    letter-spacing: 0.5px;
}
.gl-qc-grid { padding: 8px 16px; }
.gl-qc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #F0F0F0;
}
.gl-qc-item:last-child { border-bottom: none; }
.gl-qc-rank {
    font-size: 22px;
    min-width: 36px;
    text-align: center;
    flex-shrink: 0;
}
.gl-qc-info { flex: 1; min-width: 0; }
.gl-qc-name {
    font-size: 14px;
    font-weight: 700;
    color: #1B4332;
    line-height: 1.3;
}
.gl-qc-specs {
    font-size: 12px;
    color: #5A6268;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gl-qc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2D6A4F;
    background: #F0FAF4;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}
.gl-qc-btn {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    background: linear-gradient(to bottom, #f7c948 0%, #f0a830 100%);
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.gl-qc-btn:hover { background: linear-gradient(to bottom, #f0a830 0%, #e09820 100%); transform: translateY(-1px); }
@media (max-width: 600px) {
    .gl-qc-item { flex-wrap: wrap; gap: 8px; }
    .gl-qc-info { flex-basis: calc(100% - 50px); }
    .gl-qc-btn { width: 100%; text-align: center; }
    .gl-qc-specs { white-space: normal; }
}

/* ── Optimized Amazon Buttons ── */
.gl-btn-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    font-size: 11px;
    margin-right: 4px;
    vertical-align: middle;
}
.gl-prime-tag {
    display: block;
    font-size: 11px;
    color: #2D6A4F;
    font-weight: 600;
    margin-top: 4px;
    text-align: center;
}
.gl-boot-card .gl-prime-tag,
.gl-qc-item .gl-prime-tag { text-align: right; }

/* ── Freshness Badge ── */
.gl-freshness-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0FAF4;
    border: 1px solid #B7E4C7;
    border-radius: 8px;
    padding: 8px 14px;
    margin: 12px 0 20px;
    font-size: 13px;
    color: #2D6A4F;
    font-weight: 600;
}
.gl-freshness-icon { font-size: 15px; }

/* ── Author Expertise Box ── */
.gl-author-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #FAFAFA;
    border-left: 4px solid #2D6A4F;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 20px 0 24px;
}
.gl-author-box__avatar {
    width: 44px; height: 44px;
    background: #1B4332;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    flex-shrink: 0;
}
.gl-author-box__name { font-size: 15px; font-weight: 700; color: #1B4332; }
.gl-author-box__cred { font-size: 12px; color: #5A6268; margin-top: 2px; }
.gl-author-box__note { font-size: 13px; color: #495057; margin-top: 6px; line-height: 1.4; font-style: italic; }

/* ── Social Proof Counter ── */
.gl-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 24px 0;
    background: #F8F9FA;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}
.gl-social-proof__icon { font-size: 18px; }
@media (max-width: 600px) {
    .gl-author-box { flex-direction: column; gap: 10px; }
}

/* ── Product Finder Quiz ── */
.gl-finder {
    background: #fff;
    border: 2px solid #2D6A4F;
    border-radius: 16px;
    padding: 32px 28px;
    margin: 32px 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.gl-finder__header { text-align: center; margin-bottom: 20px; }
.gl-finder__icon { font-size: 40px; margin-bottom: 8px; }
.gl-finder__header h3 { font-size: 22px; color: #1B4332; margin: 0 0 6px; }
.gl-finder__header p { font-size: 14px; color: #5A6268; margin: 0; }
.gl-finder__progress {
    height: 6px;
    background: #E9ECEF;
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}
.gl-finder__bar {
    height: 100%;
    background: linear-gradient(90deg, #2D6A4F, #52B788);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.gl-finder__q { display: none; }
.gl-finder__q.active { display: block; animation: glFadeIn 0.3s; }
.gl-finder__q h4 { font-size: 18px; color: #1B4332; margin: 0 0 16px; }
.gl-finder__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gl-finder__opt {
    padding: 16px;
    border: 2px solid #DEE2E6;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}
.gl-finder__opt:hover { border-color: #2D6A4F; background: #F0FAF4; }
.gl-finder__opt.selected { border-color: #2D6A4F; background: #1B4332; color: #fff; }
.gl-finder__result { display: none; }
.gl-finder__result.visible { display: block; animation: glFadeIn 0.4s; }
.gl-finder__rec {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #F8F9FA;
    border-radius: 12px;
    margin-bottom: 10px;
}
.gl-finder__rec-info { flex: 1; min-width: 0; }
.gl-finder__rec-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5A6268;
}
.gl-finder__rec-name { font-size: 15px; font-weight: 700; color: #1B4332; margin: 4px 0 2px; }
.gl-finder__rec-why { font-size: 12px; color: #495057; line-height: 1.4; }
.gl-finder__rec-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2D6A4F;
    background: #F0FAF4;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}
.gl-finder__rec .gl-amazon-btn { flex-shrink: 0; font-size: 12px !important; padding: 10px 16px !important; }
.gl-finder__restart {
    background: none;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    color: #5A6268;
    cursor: pointer;
}
.gl-finder__restart:hover { border-color: #2D6A4F; color: #2D6A4F; }
@media (max-width: 600px) {
    .gl-finder { padding: 20px 16px; }
    .gl-finder__opts { grid-template-columns: 1fr; }
    .gl-finder__rec { flex-wrap: wrap; }
    .gl-finder__rec .gl-amazon-btn { width: 100%; text-align: center; }
}

/* Fix duplicate H1 on gear page */
.page-id-13 .entry-title { display: none; }

/* ===== Hero image responsive crop adjustment ===== */
/* Desktop: keep balanced center+top crop showing both mountains and trekkers */
.home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background {
  object-position: 60% 35% !important;
}

/* Tablet: bias toward trekkers (right side) since cropping more aggressive */
@media (max-width: 991px) {
  .home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background {
    object-position: 70% 40% !important;
  }
}

/* Mobile: aggressive right-bias so trekkers stay visible in narrow crop */
@media (max-width: 480px) {
  .home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background {
    object-position: 75% 45% !important;
  }
}

/* ===== Key Takeaways (answer-first, GEO) — added 2026-05 ===== */
.gl-key-takeaways {
  background: #f0f7f2;
  border: 1px solid #cfe8d8;
  border-left: 4px solid #1a5d2f;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 28px;
}
.gl-key-takeaways h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1a5d2f;
}
.gl-kt-answer {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.gl-key-takeaways ul { margin: 0; padding-left: 20px; }
.gl-key-takeaways li { margin: 6px 0; line-height: 1.55; }

/* ===== Relocated buying section (Top Pick at article end) ===== */
.gl-buy-section { margin: 32px 0 8px; }
.gl-buy-section > h2 { margin: 0 0 12px; }
@media (max-width: 480px) {
  .gl-key-takeaways { padding: 16px 18px; }
  .gl-kt-answer { font-size: 16px; }
}
