/* Shared v2 components: section divider, marquee strip, "Why Healthier U" 3-up grid.
   Loaded auto-magically by v2_switch.php on every v2 route. */

/* ---------- Section divider — leaf-icon badge on a thin line ---------- */
.v2-divider {
    position: relative;
    padding: 16px 0;
    margin: 0 0 8px;
}
.v2-divider__line {
    height: 1px;
    background: var(--border);
    margin: 0 5%;
}
.v2-divider__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--brand-teal);
    display: grid;
    place-items: center;
    font-size: 22px;
    padding: 0 10px;
}

/* ---------- Section rhythm ---------- */
.v2-section {
    padding: 56px 0;
}
.v2-section__title {
    position: relative;
    text-align: center;
    font-family: var(--ff-head);
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 32px;
    letter-spacing: -0.3px;
    padding-bottom: 14px;
    line-height: 1.2;
}
.v2-section__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--brand-teal);
    border-radius: 2px;
}

/* ---------- MARQUEE — wrapped in top/bottom dividers with leaf ornament ---------- */
.v2-marquee-wrap {
    position: relative;
    padding: 28px 0;
}
.v2-marquee-wrap::before,
.v2-marquee-wrap::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--border);
}
.v2-marquee-wrap::before { top: 0; }
.v2-marquee-wrap::after { bottom: 0; }

.v2-marquee-ornament {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-page);
    display: grid;
    place-items: center;
    color: var(--brand-teal);
}
.v2-marquee-ornament--top    { top: -22px; }
.v2-marquee-ornament--bottom { bottom: -22px; }
.v2-marquee-ornament em { font-size: 22px; }

.v2-marquee {
    background: transparent;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.v2-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    animation: v2-marquee-scroll 240s linear infinite;
}
.v2-marquee__item {
    font-family: var(--ff-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-teal-muted);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    padding: 0 6px;
}
.v2-marquee__sep {
    display: inline-flex;
    align-items: center;
    color: var(--brand-teal-muted);
    opacity: 0.7;
    padding: 0 4px;
    font-size: 22px;
}
@keyframes v2-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- WHY HEALTHIER U — 3-up grid ---------- */
.v2-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;
}
.v2-why__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.v2-why__icon {
    font-size: 36px;
    line-height: 1;
    margin: 0 0 20px;
    display: inline-block;
}
.v2-why__icon--pink  { color: var(--hot-pink); }
.v2-why__icon--green { color: var(--brand-green); }
.v2-why__icon--teal  { color: var(--brand-teal); }
.v2-why__block h3 {
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}
.v2-why__block p {
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink-muted);
    margin: 0;
    max-width: 320px;
}

/* Mobile: stack to 1-col, smaller marquee */
@media (max-width: 900px) {
    .v2-section { padding: 40px 0; }
    .v2-section__title { font-size: 24px; }
    .v2-marquee__item { font-size: 22px; }
    .v2-why__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
