/* DEPLOY TARGET: SANDBOX (sandbox.improveequine.com) */
/*
 * Improve Equine Child Theme — homepage.css
 * Source: WPCode snippet 1138 (migrated Phase D)
 * Loaded conditionally on is_front_page() via functions.php
 * Updated: Session 8 (2026-06-01) — CSS token consolidation
 * Updated: 2026-06-07 — "How It Works" three-step band moved out of inline
 *          page markup into .ie-howit-* (was inline-styled in the page block).
 *
 * @import removed — Google Fonts loaded sitewide via ie_child_enqueue_google_fonts()
 *
 * NOTE: The shared .ie-* utility classes (.ie, .ie-lbl, .ie-rule,
 * .ie-h1/.ie-h2/.ie-h3, .ie-body, .ie-pull, .ie-btn-*, .ie-max,
 * .ie-footer) have moved to tokens.css. They now load sitewide.
 * This file contains only homepage-specific components.
 *
 * NOTE: .ie-ps-* and .ie-flip* are duplicated between this file and
 * the Homepage Styles plugin (improve-equine-homepage-styles.php).
 * That plugin has NOT been deprecated yet (Step 3 in execution order).
 * These definitions are the canonical child-theme versions; the plugin
 * versions will be removed when the plugin is deprecated in Step 3.
 */

body { background: #F7F3ED; }

/* ================================================================
   FLIP CARD SECTION — .ie-ps-* (section wrapper) + .ie-flip*
================================================================ */

.ie-ps-section { background: var(--ie-color-cream-primary); padding: 80px 0; }
.ie-ps-inner   { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.ie-ps-header  { text-align: center; margin-bottom: 56px; }
.ie-ps-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin: 0 0 14px;
}
.ie-ps-headline {
    font-family: var(--ie-font-display);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 500;
    color: var(--ie-color-forest-deep);
    margin: 0 0 14px;
    line-height: 1.2;
}
.ie-ps-sub {
    font-size: 15px;
    color: var(--ie-color-text-tertiary);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}
.ie-ps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Flip cards */
.ie-flip {
    height: 380px;
    perspective: 1200px;
    cursor: pointer;
}
.ie-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.ie-flip.flipped .ie-flip-inner { transform: rotateY(180deg); }
.ie-flip-front,
.ie-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ie-flip-front {
    background: var(--ie-color-forest-deep);
    justify-content: space-between;
    padding: 32px 28px 24px;
}
.ie-flip-front-q {
    font-family: var(--ie-font-display);
    font-size: 17px;
    font-weight: 400;
    color: var(--ie-color-cream-primary);
    line-height: 1.55;
    flex: 1;
}
.ie-flip-front-q em { color: var(--ie-color-gold); font-style: normal; }
.ie-flip-hint {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(247, 243, 237, 0.4);
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ie-flip-back {
    transform: rotateY(180deg);
    background: #fff;
    border: 1px solid var(--ie-color-cream-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ie-flip-back-body {
    padding: 20px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}
.ie-flip-back-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin-bottom: 4px;
}
.ie-flip-back-title {
    font-family: var(--ie-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ie-color-forest-deep);
    margin-bottom: 10px;
    line-height: 1.35;
}
.ie-flip-back-answer {
    font-size: 11.5px;
    color: #5a5248;
    line-height: 1.7;
    margin-bottom: 14px;
}
.ie-flip-back-desc {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin-bottom: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--ie-color-cream-border);
}
.ie-flip-back-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ie-flip-back-btn {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
}
.ie-flip-back-btn.primary   { background: var(--ie-color-forest-deep); color: var(--ie-color-cream-primary); }
.ie-flip-back-btn.secondary { background: transparent; color: var(--ie-color-forest-deep); border: 1px solid var(--ie-color-forest-deep); }

/* Responsive */
@media (max-width: 1024px) { .ie-ps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .ie-ps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ie-ps-grid { grid-template-columns: 1fr; } }

/* ================================================================
   HOW IT WORKS — three-step desire-based hydration band
   (markup uses .ie-howit-* in the page; all styling lives here)
================================================================ */

.ie-howit { background: var(--ie-color-forest-deep); padding: 64px 40px; }
.ie-howit-inner { max-width: 1120px; margin: 0 auto; }
.ie-howit-header { text-align: center; margin-bottom: 48px; }
.ie-howit-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin: 0 0 14px;
}
.ie-howit-headline {
    font-family: var(--ie-font-display);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 500;
    color: var(--ie-color-cream-primary);
    line-height: 1.2;
    margin: 0 0 12px;
}
.ie-howit-sub {
    font-size: 14px;
    color: var(--ie-color-text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}
.ie-howit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ie-howit-step {
    border-radius: 4px;
    padding: 28px 24px;
    border-top: 3px solid var(--ie-color-brand-teal);
}
.ie-howit-step--2 { border-top-color: var(--ie-color-gold); }
.ie-howit-step--3 { border-top-color: #8FCA9A; }
.ie-howit-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin: 0 0 10px;
}
.ie-howit-step--2 .ie-howit-num { color: var(--ie-color-gold); }
.ie-howit-step--3 .ie-howit-num { color: #8FCA9A; }
.ie-howit-step h3 {
    font-family: var(--ie-font-display);
    font-size: 18px;
    color: var(--ie-color-cream-primary);
    margin: 0 0 10px;
    font-weight: 500;
}
.ie-howit-step p {
    font-size: 13px;
    color: var(--ie-color-text-muted);
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) { .ie-howit-grid { grid-template-columns: 1fr; } }

/* ================================================================
   BLOCK 3 — "HYDRATION, MODERNIZED" forest band  (.ie-hm-*)
   Externalized from inline page markup. Faithful 1:1 of the prior
   inline design; colors/fonts now tokenized.
================================================================ */
.ie-hm        { background: var(--ie-color-forest-deep); padding: 72px 40px; font-family: var(--ie-font-body); }
.ie-hm-inner  { max-width: 860px; margin: 0 auto; }
.ie-hm-h2 {
    font-family: var(--ie-font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--ie-color-cream-primary);
    line-height: 1.15;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.ie-hm-h2 em { color: var(--ie-color-brand-teal); font-style: italic; }
.ie-hm-p {
    font-family: var(--ie-font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
    color: var(--ie-color-cream-primary);
    margin: 0 0 14px;
}
.ie-hm-p strong { color: var(--ie-color-cream-primary); font-weight: 700; }
.ie-hm-p--gap    { margin-bottom: 32px; }
.ie-hm-p--italic { font-style: italic; margin-bottom: 40px; }
.ie-hm-lead      { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.ie-hm-p--last   { margin-bottom: 48px; }
.ie-hm-pull {
    font-family: var(--ie-font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 500;
    color: var(--ie-color-cream-primary);
    line-height: 1.4;
    margin: 0 0 48px;
    text-align: center;
    font-style: italic;
}
.ie-hm-pull strong { color: var(--ie-color-brand-teal); font-weight: 600; }
.ie-hm-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin: 0 0 48px;
    align-items: stretch;
}
.ie-hm-img-wrap { position: relative; min-height: 100%; border-radius: 4px; overflow: hidden; }
.ie-hm-img      { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 460px; }
.ie-hm-col      { display: flex; flex-direction: column; gap: 40px; }
.ie-hm-label {
    font-family: var(--ie-font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ie-color-gold);
    margin: 0 0 20px;
}
.ie-hm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ie-hm-list li {
    font-family: var(--ie-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--ie-color-cream-primary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}
.ie-hm-list li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    color: var(--ie-color-gold);
    font-weight: 700;
}
.ie-hm-footnote {
    font-family: var(--ie-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ie-color-text-muted);
    margin: 0;
    line-height: 1.8;
    text-align: center;
}


/* ================================================================
   BLOCK 6 — flip-card front color modifier (.ie-flip-front--forest)
   The ONE-Pocket Treat card front used inline #2D4A35 (forest-mid).
================================================================ */
.ie-flip-front--forest { background: var(--ie-color-forest-mid); }


/* ================================================================
   BLOCK 7 — TIKTOK REVIEWS  (.ie-tt-*)
   Externalized from inline markup + inline <script> (script now in
   homepage.js). Card chrome tokenized; the video poster image is set
   inline per-card via style="--ie-tt-bg:url(...)" (data, not design).
================================================================ */
.ie-reviews        { background: #fff; padding: 80px 40px; }
.ie-reviews-inner  { max-width: 1200px; margin: 0 auto; }
.ie-reviews-head   { text-align: center; margin-bottom: 56px; }
.ie-reviews-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--ie-color-text-primary);
}
.ie-reviews-headline {
    font-size: clamp(28px, 3.5vw, 42px);
    font-family: var(--ie-font-display);
    color: var(--ie-color-forest-deep);
    margin: 0;
}
.ie-reviews-source { margin-top: 16px; font-size: 14px; color: var(--ie-color-text-muted); }
.ie-tt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.ie-tt-card {
    cursor: pointer;
    background: #000 center / cover no-repeat var(--ie-tt-bg);
    border-radius: 12px;
    aspect-ratio: 9 / 16;
    max-width: 325px;
    min-width: 325px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
    font-family: var(--ie-font-body);
}
.ie-tt-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.7) 100%);
}
.ie-tt-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.ie-tt-play {
    position: relative;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ie-tt-play-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.9);
}
.ie-tt-meta { position: relative; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.ie-tt-user { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ie-tt-tags { font-size: 12px; opacity: 0.9; line-height: 1.4; }
@media (max-width: 900px) { .ie-tt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ie-tt-grid { grid-template-columns: 1fr; } }


/* ================================================================
   BLOCK 8 — "IT STARTED WITH ONE QUESTION" origin-story cards
   (.ie-ix-*). Externalized from inline page markup + the trailing
   inline <style> (responsive grid). Faithful 1:1; tokenized.
================================================================ */
.ie-ix      { padding: 80px 0; background: var(--ie-color-cream-primary); }
.ie-ix-head { text-align: center; margin-bottom: 56px; }
.ie-ix-head .ie-lbl { margin: 0 0 14px; }
.ie-ix-head .ie-h2  { color: var(--ie-color-forest-deep); max-width: 720px; margin: 0 auto; }

.ie-ix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.ie-ix-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ie-color-cream-border);
    display: flex;
    flex-direction: column;
}
.ie-ix-card--navy       { background: var(--ie-color-brand-navy);      border-color: var(--ie-color-brand-navy); }
.ie-ix-card--forest-mid { background: var(--ie-color-forest-mid);      border-color: var(--ie-color-forest-mid); }
.ie-ix-card--forest     { background: var(--ie-color-forest-deep);     border-color: var(--ie-color-forest-deep); }
.ie-ix-card--next       { background: var(--ie-color-cream-secondary); border: 1px dashed var(--ie-color-brand-teal); }

.ie-ix-media        { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ie-color-cream-secondary); }
.ie-ix-media--dark  { background: var(--ie-color-footer-bg); }
.ie-ix-img          { width: 100%; height: 100%; object-fit: cover; display: block; }

.ie-ix-body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; }
.ie-ix-body .ie-lbl  { color: var(--ie-color-brand-teal); margin: 0 0 8px; }
.ie-ix-body .ie-h3   { color: var(--ie-color-forest-deep); margin: 0 0 10px; }
.ie-ix-body .ie-body { margin: 0 0 20px; flex: 1; }
.ie-ix-body .ie-btn-outline,
.ie-ix-body .ie-btn-green,
.ie-ix-body .ie-btn-teal { align-self: flex-start; }

/* Dark card variants: muted eyebrow, cream heading */
.ie-ix-card--navy .ie-ix-body .ie-lbl,
.ie-ix-card--forest-mid .ie-ix-body .ie-lbl,
.ie-ix-card--forest .ie-ix-body .ie-lbl { color: var(--ie-color-text-muted); }
.ie-ix-card--navy .ie-ix-body .ie-h3,
.ie-ix-card--forest-mid .ie-ix-body .ie-h3,
.ie-ix-card--forest .ie-ix-body .ie-h3 { color: var(--ie-color-cream-primary); }

/* Dark card body copy (was inline 14px/300/muted) */
.ie-ix-text-dark {
    font-family: var(--ie-font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ie-color-text-muted);
    margin: 0 0 20px;
    flex: 1;
}
.ie-ix-text-dark strong { font-weight: 600; color: var(--ie-color-cream-primary); }

/* Farmily card: white outline button on forest-mid */
.ie-ix-card--forest-mid .ie-btn-outline { color: var(--ie-color-cream-primary); }

/* "What's Next" placeholder media + label */
.ie-ix-next-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ie-color-cream-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ie-ix-next-inner { text-align: center; padding: 20px; }
.ie-ix-next-num {
    font-family: var(--ie-font-display);
    font-size: clamp(48px, 6vw, 72px);
    color: var(--ie-color-brand-teal);
    line-height: 1;
    margin-bottom: 8px;
    font-style: italic;
}
.ie-ix-next-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ie-color-brand-teal);
    margin: 0;
}
.ie-ix-next-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ie-color-text-muted);
    align-self: flex-start;
    padding: 10px 0;
    border-top: 1px solid var(--ie-color-cream-border);
    width: 100%;
    margin: 0;
}

/* Responsive (was the trailing inline <style> in the block) */
@media (max-width: 1024px) { .ie-ix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ie-ix-grid { grid-template-columns: 1fr; } }


/* ================================================================
   BLOCK 4 — "FIND YOUR FIT" comparison table (.ie-fyf-*)
   Externalized from a full inline HTML document (DOCTYPE/<head>/
   the embedded font link + style block all removed). Class names namespaced
   to .ie-fyf-* to avoid colliding with the universal .ie-section /
   .ie-btn / .ie-table layer. Off-brand greens reconciled to brand
   tokens (forest / sage family); fonts -> Manrope + Playfair.
   The best-value column highlight is a soft sage tint (per Sara).
================================================================ */

/* Box-sizing scoped to the table only (was a page-wide global reset) */
.ie-fyf-wrapper, .ie-fyf-wrapper *, .ie-fyf-wrapper *::before, .ie-fyf-wrapper *::after { box-sizing: border-box; }

.ie-fyf-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 130px;
}
.ie-fyf-section {
    background: var(--ie-color-cream-primary);
    padding: 4rem 2rem;
    font-family: var(--ie-font-body);
    color: var(--ie-color-text-base);
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

/* Header */
.ie-fyf-header { text-align: center; margin-bottom: 2.5rem; }
.ie-fyf-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ie-color-sage-dark);
    margin-bottom: 0.6rem;
}
.ie-fyf-heading {
    font-family: var(--ie-font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    color: var(--ie-color-forest-deep);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
.ie-fyf-subheading { font-size: 13px; color: var(--ie-color-text-tertiary); letter-spacing: 0.02em; }
.ie-fyf-subheading span { display: inline-block; margin: 0 6px; opacity: 0.4; }

/* Thumbnail columns — sit in the wrapper's outer padding */
.ie-fyf-thumbs {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 110px;
    z-index: 2;
}
.ie-fyf-thumbs-left  { left: 8px; }
.ie-fyf-thumbs-right { right: 8px; }
.ie-fyf-thumbs a { display: block; }
.ie-fyf-thumbs img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ie-fyf-thumbs a:hover img { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(27, 46, 27, 0.12); }

/* Scroll wrapper for mobile */
.ie-fyf-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 4px; }

/* Table */
.ie-fyf-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }

/* Header row */
.ie-fyf-table thead th {
    background: var(--ie-color-forest-deep);
    color: var(--ie-color-cream-primary);
    font-family: var(--ie-font-body);
    font-size: 11px;
    font-weight: 600;
    padding: 14px 10px;
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.5;
    vertical-align: top;
}
.ie-fyf-table thead th.ie-fyf-col-label { text-align: left; width: 19%; background: var(--ie-color-forest-deep); }
.ie-fyf-table thead th.ie-fyf-col-best  { background: var(--ie-color-sage-dark); }
.ie-fyf-col-group {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ie-color-sage);
    margin-bottom: 4px;
}
.ie-fyf-col-title { display: block; }
.ie-fyf-col-sub { display: block; font-weight: 400; font-size: 9.5px; opacity: 0.7; margin-top: 3px; letter-spacing: 0.01em; }
.ie-fyf-badge {
    display: inline-block;
    background: var(--ie-color-sage);
    color: var(--ie-color-forest-deep);
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Body rows */
.ie-fyf-table tbody td {
    padding: 11px 10px;
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid var(--ie-color-cream-border);
    vertical-align: middle;
    line-height: 1.5;
    color: var(--ie-color-text-base);
}
.ie-fyf-table tbody td.ie-fyf-col-label {
    text-align: left;
    font-weight: 500;
    font-size: 11.5px;
    color: var(--ie-color-text-secondary);
    padding-left: 14px;
    background: var(--ie-color-cream-secondary) !important;
}
.ie-fyf-table tbody tr:nth-child(odd) td  { background: var(--ie-color-cream-primary); }
.ie-fyf-table tbody tr:nth-child(even) td { background: var(--ie-color-cream-secondary); }
.ie-fyf-table tbody tr:nth-child(even) td.ie-fyf-col-label { background: var(--ie-color-cream-border) !important; }

.ie-fyf-table tbody td.ie-fyf-col-best {
    background: rgba(125, 184, 122, 0.16) !important;   /* soft sage tint */
    font-weight: 600;
    color: var(--ie-color-forest-deep);
}
.ie-fyf-table tbody tr:nth-child(even) td.ie-fyf-col-best { background: rgba(125, 184, 122, 0.26) !important; }

.ie-fyf-price { font-family: var(--ie-font-display); font-size: 22px; color: var(--ie-color-forest-deep); display: block; line-height: 1; }
.ie-fyf-flavors { font-size: 10.5px; color: var(--ie-color-text-tertiary); line-height: 1.7; }
.ie-fyf-flavors span { display: block; }
.ie-fyf-check { color: var(--ie-color-sage-dark); font-size: 16px; font-weight: 700; line-height: 1; }

/* CTAs */
.ie-fyf-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 2rem; }
.ie-fyf-btn {
    font-family: var(--ie-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 18px;
    border: 1.5px solid var(--ie-color-forest-deep);
    color: var(--ie-color-forest-deep);
    background: transparent;
    text-decoration: none;
    display: inline-block;
    transition: background 0.18s ease, color 0.18s ease;
    cursor: pointer;
}
.ie-fyf-btn:hover { background: var(--ie-color-forest-deep); color: var(--ie-color-cream-primary); }
.ie-fyf-btn--primary { background: var(--ie-color-forest-deep); color: var(--ie-color-cream-primary); }
.ie-fyf-btn--primary:hover { background: var(--ie-color-forest-mid); color: var(--ie-color-cream-primary); }

.ie-fyf-footnote { text-align: center; font-size: 10.5px; color: var(--ie-color-text-muted); margin-top: 1.25rem; line-height: 1.8; }
.ie-fyf-scroll-hint { display: none; text-align: center; font-size: 10px; color: var(--ie-color-text-muted); margin-bottom: 0.75rem; letter-spacing: 0.05em; }

/* Below 1200px: drop wrapper padding, hide thumbs, table fills width */
@media (max-width: 1200px) {
    .ie-fyf-wrapper { padding: 0; max-width: 100%; }
    .ie-fyf-thumbs { display: none; }
    .ie-fyf-section { max-width: 100%; }
}
@media (max-width: 760px) {
    .ie-fyf-scroll-hint { display: block; }
    .ie-fyf-section { padding: 3rem 1rem; }
    .ie-fyf-ctas { gap: 8px; }
    .ie-fyf-btn { font-size: 9.5px; padding: 10px 14px; }
    .ie-fyf-table { min-width: 700px; }
}


/* ================================================================
   BLOCK 9 — "WHY HORSES DON'T DRINK ENOUGH WATER" education
   section (.ie-edu-*). Externalized from inline page markup;
   colors/fonts tokenized 1:1. Mobile stacking added (see note).
================================================================ */
.ie-edu        { background: var(--ie-color-cream-primary); padding: 88px 40px; border-top: 1px solid var(--ie-color-cream-border); }
.ie-edu-inner  { max-width: 1120px; margin: 0 auto; }

.ie-edu-head   { text-align: center; margin-bottom: 60px; }
.ie-edu-eyebrow {
    font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--ie-color-brand-teal); margin: 0 0 14px;
}
.ie-edu-title {
    font-family: var(--ie-font-display);
    font-size: clamp(26px, 3.5vw, 42px); font-weight: 500;
    color: var(--ie-color-forest-deep); line-height: 1.2; margin: 0 0 16px;
}
.ie-edu-intro { font-size: 15px; color: var(--ie-color-text-tertiary); line-height: 1.75; max-width: 600px; margin: 0 auto; }

/* Two-column: silent problem + the real reasons */
.ie-edu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.ie-edu-h3  { font-family: var(--ie-font-display); font-size: 1.35rem; font-weight: 600; color: var(--ie-color-forest-deep); margin: 0 0 14px; }
.ie-edu-p   { font-size: 14px; line-height: 1.85; color: var(--ie-color-text-tertiary); margin: 0 0 14px; }
.ie-edu-p--last { margin-bottom: 0; }
.ie-edu-p strong { color: var(--ie-color-forest-deep); }

.ie-edu-reasons { display: flex; flex-direction: column; gap: 14px; }
.ie-edu-reason  { background: #fff; border-left: 3px solid var(--ie-color-brand-teal); padding: 16px 18px; border-radius: 0 4px 4px 0; }
.ie-edu-reason--gold  { border-left-color: var(--ie-color-gold); }
.ie-edu-reason--sage  { border-left-color: #8FCA9A; }
.ie-edu-reason--muted { border-left-color: var(--ie-color-text-muted); }
.ie-edu-reason-label  { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ie-color-brand-teal); margin: 0 0 4px; }
.ie-edu-reason--gold  .ie-edu-reason-label { color: var(--ie-color-gold); }
.ie-edu-reason--sage  .ie-edu-reason-label { color: var(--ie-color-forest-mid); }
.ie-edu-reason--muted .ie-edu-reason-label { color: var(--ie-color-text-muted); }
.ie-edu-reason-text   { font-size: 13px; line-height: 1.7; color: var(--ie-color-text-tertiary); margin: 0; }

/* Dark CTA band: desire-based vs force-based */
.ie-edu-band       { background: var(--ie-color-forest-deep); border-radius: 6px; padding: 52px 48px; margin-bottom: 64px; }
.ie-edu-band-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ie-edu-band-title { font-family: var(--ie-font-display); font-size: 1.5rem; font-weight: 500; color: var(--ie-color-cream-primary); line-height: 1.25; margin: 0 0 16px; }
.ie-edu-band-p     { font-size: 14px; line-height: 1.85; color: var(--ie-color-text-muted); margin: 0 0 14px; }
.ie-edu-band-p--gap { margin-bottom: 20px; }
.ie-edu-band-p em  { color: var(--ie-color-cream-primary); }
.ie-edu-band-btn {
    display: inline-block; background: var(--ie-color-brand-teal); color: var(--ie-color-cream-primary);
    padding: 12px 26px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; border-radius: 2px; text-decoration: none;
}
.ie-edu-band-col      { display: flex; flex-direction: column; gap: 16px; }
.ie-edu-band-item     { border-radius: 4px; padding: 20px; }
.ie-edu-band-item-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ie-color-gold); margin: 0 0 8px; }
.ie-edu-band-item-text  { font-size: 13px; line-height: 1.7; color: var(--ie-color-text-muted); margin: 0; }
.ie-edu-band-item-text a { color: var(--ie-color-brand-teal); }

/* FAQ grid */
.ie-edu-faq       { margin-bottom: 64px; }
.ie-edu-faq-head  { text-align: center; margin-bottom: 36px; }
.ie-edu-faq-title { font-family: var(--ie-font-display); font-size: 1.5rem; font-weight: 500; color: var(--ie-color-forest-deep); margin: 0; }
.ie-edu-faq-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.ie-edu-faq-card  { background: #fff; border: 1px solid var(--ie-color-cream-border); border-radius: 4px; padding: 22px 24px; }
.ie-edu-faq-card--wide { grid-column: 1 / -1; }
.ie-edu-faq-q { font-size: 13px; font-weight: 700; color: var(--ie-color-forest-deep); margin: 0 0 8px; }
.ie-edu-faq-a { font-size: 13px; line-height: 1.72; color: var(--ie-color-text-tertiary); margin: 0; }
.ie-edu-faq-a a { color: var(--ie-color-brand-teal); }

/* Bottom CTAs */
.ie-edu-foot   { text-align: center; }
.ie-edu-foot-p { font-size: 14px; color: var(--ie-color-text-tertiary); margin: 0 0 20px; }
.ie-edu-foot-btn {
    display: inline-block; background: var(--ie-color-forest-deep); color: var(--ie-color-cream-primary);
    padding: 14px 32px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; border-radius: 2px; text-decoration: none; margin-right: 12px;
}
.ie-edu-foot-btn--outline { background: transparent; color: var(--ie-color-forest-deep); border: 1.5px solid var(--ie-color-forest-deep); margin-right: 0; }

/* Mobile stacking (the original inline grids had no breakpoints) */
@media (max-width: 768px) {
    .ie-edu-two,
    .ie-edu-band-grid,
    .ie-edu-faq-grid { grid-template-columns: 1fr; }
}
