/*
 Theme Name:   Kadence Child
 Theme URI:    https://bestonlineturmericsupplementreviews.com
 Description:  OrGainIt Health Revelations — Kadence Child Theme
 Author:       Robert Lees
 Template:     kadence
 Version:      1.0.0
 Text Domain:  kadence-child
*/

/* ==================================================
   SELF-HOSTED FONTS — Space Grotesk (Latin, all weights)
   Served from theme — no Google Fonts request, no GDPR issue,
   no FVM/Cloudflare stripping. Variable font covers 400–800.
   ================================================== */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('https://bestonlineturmericsupplementreviews.com/wp-content/themes/kadence-child/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* =====================================================
   OrGainIt — Custom Styles
   Goal: faster feel, modern visual trust, conversion UX
   ===================================================== */

/* --------------------------------------------------
   1. BRAND COLOURS & GLOBAL LINKS
   -------------------------------------------------- */
:root {
  --orgainit-gold:    #f9a825;
  --orgainit-gold-dk: #e65100;
  --orgainit-green:   #2e7d32;
  --orgainit-text:    #333333;
  --orgainit-muted:   #666666;
  --orgainit-bg:      #fafafa;
  --orgainit-border:  #e0e0e0;
}

a { color: #c87800; }
a:hover { color: var(--orgainit-gold); text-decoration: none; }

/* --------------------------------------------------
   2. TYPOGRAPHY — cleaner, more readable hierarchy
   -------------------------------------------------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--orgainit-text);
}

.entry-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #222;
  border-bottom: 3px solid var(--orgainit-gold);
  padding-bottom: 8px;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-top: 1.6rem;
}

.entry-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #444;
}

.entry-content p { margin-bottom: 1.1rem; }

/* --------------------------------------------------
   3. CTA BUTTONS — consistent gold/green, smooth hover
   -------------------------------------------------- */
.wp-block-button__link,
.entry-content a[style*="background:#f9a825"],
.entry-content a[style*="background: #f9a825"],
.entry-content a[style*="background:#2e7d32"],
.entry-content a[style*="background: #2e7d32"] {
  transition: filter 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.entry-content a[style*="background:#f9a825"]:hover,
.entry-content a[style*="background: #f9a825"]:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(249,168,37,0.35) !important;
}

.entry-content a[style*="background:#2e7d32"]:hover,
.entry-content a[style*="background: #2e7d32"]:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(46,125,50,0.3) !important;
}

/* --------------------------------------------------
   4. CONTENT WIDTH & READING EXPERIENCE
   -------------------------------------------------- */
.entry-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Better paragraph spacing inside callout divs */
.entry-content div[style*="border-left"] p:last-child,
.entry-content div[style*="border:"] p:last-child { margin-bottom: 0; }

/* --------------------------------------------------
   5. IMAGES — rounded, subtle shadow, no layout shift
   -------------------------------------------------- */
.entry-content img:not([style*="border-radius"]) {
  border-radius: 6px;
}

.entry-content img {
  height: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ALL .post-thumbnail img — natural max-width only (safe default) */
.post-thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main post featured image — full width + styled */
/* Only fires when post-thumbnail is a direct child of the hentry article
   or inside entry-header — NOT inside related posts widgets */
article.hentry > .post-thumbnail img,
.entry-header .post-thumbnail img,
.single-featured-image .post-thumbnail img,
.wp-post-image {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

/* Kadence related posts — cap thumbnail height, restore natural sizing */
.entry-related .post-thumbnail img,
.kt-related-posts .post-thumbnail img,
.kb-related-posts .post-thumbnail img,
.related-posts .post-thumbnail img,
.kadence-related-posts .post-thumbnail img,
[class*="related"] .post-thumbnail img,
[class*="related"] img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 200px !important;
  height: auto !important;
  object-fit: cover !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

/* --------------------------------------------------
   6. TABLE STYLING — consistent, readable
   -------------------------------------------------- */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.entry-content table thead tr {
  background: var(--orgainit-gold) !important;
  color: #fff !important;
}

.entry-content table th {
  padding: 10px 14px;
  font-weight: 700;
  text-align: left;
  color: #fff !important;
}

.entry-content table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
}

.entry-content table tbody tr:nth-child(even) { background: #fafafa; }
.entry-content table tbody tr:hover { background: #fff8e1; }

/* --------------------------------------------------
   7. CALLOUT BOXES — smooth render, no overflow
   -------------------------------------------------- */
.entry-content div[style*="border-left: 5px solid #f9a825"] {
  border-radius: 6px !important;
}

.entry-content div[style*="border-left: 5px solid #43a047"] {
  border-radius: 6px !important;
}

.entry-content div[style*="border-left: 5px solid #e53935"],
.entry-content div[style*="border-left: 4px solid #f57c00"],
.entry-content div[style*="border-left: 5px solid #1565c0"] {
  border-radius: 6px !important;
}

/* --------------------------------------------------
   8. QUICK ANSWER BOX — elevated visual weight
   -------------------------------------------------- */
.entry-content div[style*="background-color: #fffde7"] {
  box-shadow: 0 2px 8px rgba(249,168,37,0.2) !important;
}

/* --------------------------------------------------
   9. PRODUCT CARDS — consistent hover state
   -------------------------------------------------- */
.entry-content div[style*="border:1px solid #ddd"],
.entry-content div[style*="border: 1px solid #ddd"] {
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.entry-content div[style*="border:1px solid #ddd"]:hover,
.entry-content div[style*="border: 1px solid #ddd"]:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------
   10. STAR RATINGS — gold coloured
   -------------------------------------------------- */
.entry-content span[style*="color:#f9a825"] { letter-spacing: 1px; }

/* --------------------------------------------------
   11. HEADER — trust signal & speed
   -------------------------------------------------- */
.site-header {
  border-bottom: 3px solid var(--orgainit-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Sticky header smooth scroll indicator */
.site-header.stuck {
  box-shadow: 0 3px 16px rgba(0,0,0,0.14);
  transition: box-shadow 0.25s ease;
}

/* --------------------------------------------------
   12. MOBILE RESPONSIVENESS
   -------------------------------------------------- */
@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.7; }

  .entry-content h2 { font-size: 1.35rem; }
  .entry-content h3 { font-size: 1.1rem; }

  /* Stack flex product cards vertically */
  .entry-content div[style*="display:flex"],
  .entry-content div[style*="display: flex"] {
    flex-direction: column !important;
  }

  /* Full-width CTA buttons on mobile */
  .entry-content a[style*="padding:12px 24px"],
  .entry-content a[style*="padding: 12px 24px"] {
    display: block !important;
    text-align: center !important;
    margin: 6px 0 !important;
  }

  /* Tables scroll horizontally */
  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* --------------------------------------------------
   13. READING PROGRESS BAR
   -------------------------------------------------- */
#orgainit-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--orgainit-gold), var(--orgainit-green));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --------------------------------------------------
   14. SMOOTH SCROLL & ANCHOR OFFSET
   -------------------------------------------------- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

/* --------------------------------------------------
   15. TRUST SIGNALS — blockquotes styled as citations
   -------------------------------------------------- */
.entry-content blockquote {
  border-left: 4px solid var(--orgainit-gold);
  background: #fffde7;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #444;
  margin: 1.2rem 0;
}

/* --------------------------------------------------
   16. PRINT / ACCESSIBILITY
   -------------------------------------------------- */
@media print {
  #orgainit-progress, .site-header { display: none; }
  .entry-content { max-width: 100%; }
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orgainit-gold);
  outline-offset: 2px;
}

/* ==================================================
   17. HOMEPAGE — SECTION LAYOUT & BREATHING ROOM
   ================================================== */

/* Hero */
#hero {
  background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
  border-radius: 14px;
  padding: 52px 44px;
  margin-bottom: 2.5rem;
  text-align: center;
  border: 1px solid #ffe082;
  box-shadow: 0 4px 20px rgba(249,168,37,0.1);
}

.hero-content h2 {
  font-size: 2rem;
  line-height: 1.3;
  color: #222;
  margin-bottom: 0.75rem;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

.subhead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

#trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  background: rgba(255,255,255,0.75);
  border-radius: 10px;
  padding: 16px 24px;
  margin: 1.5rem auto;
  max-width: 600px;
  font-weight: 700;
  color: var(--orgainit-green);
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orgainit-gold);
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(249,168,37,0.3);
}
.btn:hover {
  background: var(--orgainit-gold-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230,81,0,0.35);
  color: #fff !important;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--orgainit-gold) !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid var(--orgainit-gold);
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--orgainit-gold);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Problem section */
#problem {
  padding: 40px 0 48px;
}

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

.problem-box {
  background: #fff;
  border: 1px solid #ffe082;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(249,168,37,0.07);
}
.problem-box:hover {
  box-shadow: 0 8px 24px rgba(249,168,37,0.18);
  transform: translateY(-4px);
}
.entry-content .problem-box img,
.entry-content .problem-box p img,
.entry-content .problem-box img.alignleft,
.entry-content .problem-box p img.alignleft {
  width: 80px !important;
  height: 80px !important;
  float: none !important;
  display: block !important;
  margin: 0 auto 24px !important;
  padding-bottom: 0 !important;
  border-radius: 50% !important;
  background: #fff8e1;
  padding: 10px !important;
  box-shadow: 0 2px 10px rgba(249,168,37,0.15);
}
.entry-content .problem-box p {
  margin-bottom: 0 !important;
}

.empathy-statement {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border-left: 5px solid var(--orgainit-gold);
  border-radius: 0 10px 10px 0;
  padding: 22px 28px;
  font-style: italic;
  font-size: 1.05rem;
  color: #444;
  margin-top: 2.5rem;
  box-shadow: 0 2px 8px rgba(249,168,37,0.1);
}

/* Authority section */
#authority {
  background: #fafafa;
  border-radius: 14px;
  padding: 40px 44px;
  margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid var(--orgainit-border);
}

/* Proof / Social section */
#proof { padding: 40px 0 48px; }

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2rem 0;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--orgainit-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
  color: #444;
  font-style: italic;
}
.testimonial-card cite {
  font-size: 0.85rem;
  color: #999;
  font-style: normal;
}

.science-proof {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border-radius: 14px;
  padding: 28px 36px;
  margin-top: 2rem;
  border: 1px solid #c8e6c9;
}

.cta-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Top picks / product cards */
#top-picks {
  padding: 40px 0 48px;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--orgainit-border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.product-card img {
  width: 160px !important;
  height: 160px !important;
  object-fit: contain;
  margin: 0 auto 20px !important;
  float: none !important;
  border-radius: 10px !important;
  display: block !important;
}
.product-card .rating {
  color: var(--orgainit-gold);
  font-size: 1.25rem;
  margin: 8px 0 4px;
  letter-spacing: 2px;
}
.product-card h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* Special feature (SomaLeaf) */
#special-feature { padding: 40px 0; }

.product-card-horizontal {
  background: #fff;
  border: 1px solid var(--orgainit-border);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}
.product-card-horizontal:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.product-card-horizontal .product-details {
  flex: 1;
}
.product-card-horizontal img {
  width: 120px !important;
  height: auto !important;
  object-fit: contain;
  flex-shrink: 0;
  float: none !important;
  margin: 0 !important;
  border-radius: 8px !important;
}

/* Education hub */
#education { padding: 40px 0 48px; }

.education-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
}

.grid-row { display: contents; }

.feature-box {
  background: #fff;
  border: 1px solid var(--orgainit-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-box:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.feature-box img {
  width: 64px !important;
  height: 64px !important;
  float: none !important;
  display: block !important;
  margin: 0 0 14px !important;
  border-radius: 8px !important;
}

/* ==================================================
   18. BENEFIT HIGHLIGHTS CAROUSEL
   ================================================== */

.benefit-carousel-section {
  padding: 56px 0;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fffde7 50%, #fff 100%);
  margin: 2rem -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.carousel-wrapper {
  position: relative;
  margin: 2rem auto 0;
  max-width: 800px;
  background: #fff;
  border: 2px solid #ffe082;
  border-radius: 20px;
  padding: 32px 48px 28px;
  box-shadow: 0 8px 36px rgba(249,168,37,0.13), 0 2px 12px rgba(0,0,0,0.06);
}

.carousel-overflow {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  display: block;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 2px;
}

.carousel-card {
  background: linear-gradient(145deg, #fffde7 0%, #fff 100%);
  border-radius: 10px;
  padding: 40px 36px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-icon {
  font-size: 3.8rem;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
  animation: none;
}

.carousel-card h3 {
  font-size: 1.5rem;
  color: #222;
  margin: 0 0 14px;
  font-weight: 800;
  border: none;
}

.carousel-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 520px;
}

.carousel-stat {
  display: inline-block;
  background: var(--orgainit-gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 18px;
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.carousel-source {
  font-size: 0.76rem;
  color: #aaa;
  margin-top: 10px;
  font-style: italic;
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--orgainit-gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
  padding: 0;
}
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-prev:hover,
.carousel-next:hover {
  background: var(--orgainit-gold-dk);
  transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active {
  background: var(--orgainit-gold);
  transform: scale(1.35);
}

.carousel-progress {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 10px;
}

/* ==================================================
   19. SCROLL ANIMATIONS (Intersection Observer)
   ================================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.32s; }

/* ==================================================
   20. EMAIL OPTIN — SIDE BY SIDE BOXED
   ================================================== */

.email-optin-section {
  background: linear-gradient(135deg, #1a237e 0%, #283593 60%, #1565c0 100%);
  border-radius: 16px;
  padding: 52px 44px;
  text-align: center;
  color: #fff;
  margin: 2.5rem 0;
  box-shadow: 0 8px 32px rgba(26,35,126,0.25);
  position: relative;
  overflow: hidden;
}
.email-optin-section::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(249,168,37,0.12);
  pointer-events: none;
}
.email-optin-section h2 {
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
  font-size: 1.8rem;
  margin-top: 0 !important;
}
.email-optin-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.email-optin-section .coming-soon-badge {
  display: inline-block;
  background: var(--orgainit-gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.email-optin-section input[type="email"] {
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 18px;
  font-size: 1rem;
  width: calc(100% - 160px);
  max-width: 320px;
  vertical-align: middle;
  color: #333;
}
.email-optin-section button[type="submit"] {
  background: var(--orgainit-gold);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.2s ease;
}
.email-optin-section button[type="submit"]:hover {
  background: var(--orgainit-gold-dk);
}
/* Carousel CTA button */
.carousel-cta {
  margin-top: 20px !important;
  display: inline-block !important;
  background: var(--orgainit-gold) !important;
  color: #fff !important;
  padding: 11px 24px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(249,168,37,0.3) !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.2px;
}
.carousel-cta:hover {
  background: var(--orgainit-gold-dk) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(230,81,0,0.35) !important;
  color: #fff !important;
}

/* ==================================================
   COMPACT OPTIN
   ================================================== */
.email-optin-section .optin-compact {
  display: flex;
  align-items: center;
  gap: 36px;
}
.email-optin-section .optin-compact-image {
  flex-shrink: 0;
  width: 170px;
  text-align: center;
}
.email-optin-section .optin-compact-image img {
  width: 100% !important;
  height: auto !important;
  float: none !important;
  display: block !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35) !important;
  margin: 0 0 10px !important;
}
.optin-compact-badges {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.optin-compact-badges span {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}
.email-optin-section .optin-compact-body {
  flex: 1;
  min-width: 0;
}
.optin-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orgainit-gold);
  margin-bottom: 8px;
}
.email-optin-section .optin-compact-body h2 {
  font-size: 1.55rem;
  margin: 0 0 10px;
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,0.2) !important;
  line-height: 1.25;
  text-align: left;
}
.email-optin-section .optin-compact-body p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 16px;
  line-height: 1.6;
  text-align: left;
}

/* Old optin-inner — kept for compat */
.email-optin-section .optin-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.email-optin-section .optin-content {
  flex: 1;
  min-width: 0;
}
.email-optin-section .optin-image {
  flex-shrink: 0;
  width: 200px;
}
.email-optin-section .optin-image img {
  width: 100% !important;
  height: auto !important;
  float: none !important;
  display: block !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3) !important;
  margin: 0 !important;
}
.email-optin-section h2 {
  text-align: left;
}
.email-optin-section p {
  text-align: left;
}

/* Form row — email + button inline */
.optin-form-row {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}
.optin-form-row input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #333;
  min-width: 0;
}
.optin-form-row button[type="submit"] {
  background: var(--orgainit-gold);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.optin-form-row button[type="submit"]:hover {
  background: var(--orgainit-gold-dk);
}

/* Remove old standalone input/button styles now handled by form-row */
.email-optin-section input[type="email"] { all: unset; }
.email-optin-section button[type="submit"] { all: unset; }
.optin-form-row input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #333;
  min-width: 0;
  box-sizing: border-box;
}
.optin-form-row button[type="submit"] {
  background: var(--orgainit-gold);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.optin-form-row button[type="submit"]:hover { background: var(--orgainit-gold-dk); }

@media (max-width: 680px) {
  .email-optin-section .optin-inner { flex-direction: column; text-align: center; }
  .email-optin-section .optin-image { width: 140px; }
  .email-optin-section h2, .email-optin-section p { text-align: center; }
  .email-optin-section .optin-compact { flex-direction: column; text-align: center; }
  .email-optin-section .optin-compact-image { width: 130px; margin: 0 auto; }
  .email-optin-section .optin-compact-body h2,
  .email-optin-section .optin-compact-body p { text-align: center; }
  .optin-form-row { flex-direction: column; }
  .optin-form-row input[type="email"] { border-radius: 8px; margin-bottom: 8px; }
  .optin-form-row button[type="submit"] { border-radius: 8px; text-align: center; }
}

.email-optin-section .optin-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
}

/* ==================================================
   21. HOMEPAGE MOBILE OVERRIDES
   ================================================== */
@media (max-width: 768px) {
  #hero { padding: 36px 22px; }
  .hero-content h2 { font-size: 1.4rem; }
  #trust-bar { flex-direction: column; gap: 6px; font-size: 0.85rem; }
  .hero-cta { flex-direction: column; }

  .problem-grid,
  .testimonial-container,
  .product-grid { grid-template-columns: 1fr; }

  .education-grid-container { grid-template-columns: 1fr; }

  #authority { padding: 28px 22px; flex-direction: column; }

  .product-card-horizontal { flex-direction: column; padding: 28px 22px; }
  .product-card-horizontal img { width: 100px !important; margin: 0 auto 16px !important; }

  .carousel-wrapper { padding: 24px 16px 20px; }
  .carousel-card { padding: 32px 16px; min-height: 220px; }
  .carousel-card h3 { font-size: 1.1rem; }
  .carousel-icon { font-size: 2.6rem; }
  .carousel-prev { left: -12px; }
  .carousel-next { right: -12px; }

  .email-optin-section { padding: 36px 22px; }
  .email-optin-section input[type="email"] {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
    max-width: 100%;
  }
  .email-optin-section button[type="submit"] {
    width: 100%;
    border-radius: 8px;
    display: block;
  }

  .benefit-carousel-section { margin: 2rem 0; }
}
