/**
 * How We Train — power layout + training gallery
 */

body.page-how-we-train {
    background: #eef6f0;
}

body.page-how-we-train main#hwt-main {
    flex-grow: 0;
    position: relative;
    z-index: 10;
    padding-top: 0 !important;
    padding-bottom: 24px;
    margin-top: 0;
}

body.page-how-we-train .js-interactive-reveal-target {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* —— Hero —— */
.hwt-hero.hwt-hero--power {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: calc(var(--site-fixed-header-offset, 120px) + clamp(12px, 2vw, 20px)) clamp(16px, 4vw, 32px) clamp(56px, 9vw, 72px);
    border-bottom: 4px solid var(--primary-green, #007305);
    overflow: hidden;
}

.hwt-hero.hwt-hero--power::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #003d03 0%, #004b04 48%, #002a02 100%);
    z-index: 0;
}

.hwt-hero.hwt-hero--power::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(0, 22, 8, 0.88) 0%, rgba(0, 48, 14, 0.78) 50%, rgba(0, 12, 4, 0.92) 100%);
    z-index: 1;
}

.hwt-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding-inline: clamp(12px, 4vw, 24px);
    box-sizing: border-box;
}

.hwt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ecfdf5;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(167, 243, 208, 0.45);
}

.hwt-hero-badge i {
    color: #fbbf24;
}

body.page-how-we-train .hwt-hero-title {
    text-wrap: balance;
}

.hwt-hero-hook {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 14px auto 0;
}

.hwt-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 22px;
}

.hwt-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hwt-hero-meta i {
    color: #86efac;
}

.hwt-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.hwt-hero-cta .btn {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hwt-hero-cta .btn-primary {
    background: var(--primary-green, #007305);
    color: #fff;
    border: 1px solid var(--primary-green, #007305);
}

.hwt-hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* —— Stats —— */
body.page-how-we-train .hwt-power-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: clamp(12px, 3vw, 20px) auto clamp(12px, 3vw, 20px);
    max-width: 960px;
    position: relative;
    z-index: 12;
    padding-inline: clamp(12px, 4vw, 20px);
    box-sizing: border-box;
}

body.page-how-we-train .hwt-power-stat {
    text-align: center;
    padding: 18px 12px;
    border-radius: 14px;
    background: linear-gradient(165deg, #004b04 0%, #007305 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 75, 4, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-how-we-train .hwt-power-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 75, 4, 0.24);
}

body.page-how-we-train .hwt-power-stat__num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

body.page-how-we-train .hwt-power-stat__lbl {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

/* —— Quick nav —— */
body.page-how-we-train .hwt-nav-shell {
    position: sticky;
    top: calc(var(--site-fixed-header-offset, 72px) + 4px);
    z-index: 30;
    margin: 0 0 8px;
    padding: 0 0 6px;
    background: #eef6f0;
    box-shadow: 0 10px 20px -12px rgba(0, 75, 4, 0.12);
}

body.page-how-we-train .hwt-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 12px 4px 10px;
    background: #eef6f0;
    border-bottom: 1px solid rgba(0, 115, 5, 0.1);
}

body.page-how-we-train .hwt-quick-nav a {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 115, 5, 0.22);
    background: #fff;
    color: var(--dark-green, #004b04);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.page-how-we-train .hwt-quick-nav a:hover,
body.page-how-we-train .hwt-quick-nav a:focus-visible {
    background: #f0fdf4;
    border-color: var(--primary-green, #007305);
}

body.page-how-we-train .hwt-quick-nav a[aria-current="true"] {
    background: var(--primary-green, #007305);
    border-color: var(--primary-green, #007305);
    color: #fff !important;
}

body.page-how-we-train main > section[id^="hwt-"] {
    scroll-margin-top: calc(var(--site-fixed-header-offset, 72px) + 52px);
}

body.page-how-we-train main > section.content-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px;
    border: 1px solid rgba(0, 115, 5, 0.07);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 12px;
}

body.page-how-we-train main > section.hwt-why-band {
    border-radius: 18px;
    padding: 22px 20px;
    margin-bottom: 12px;
}

body.page-how-we-train .section-eyebrow,
html.ha-unified body.page-how-we-train main .section-eyebrow {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}

body.page-how-we-train .section-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.45rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #004b04 !important;
    -webkit-text-fill-color: currentColor !important;
    text-align: left;
    margin-bottom: 10px;
}

body.page-how-we-train .section-power-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    font-weight: 500;
    line-height: 1.65;
    color: #3d4a42;
    -webkit-text-fill-color: currentColor;
    margin-bottom: 12px;
    max-width: 65ch;
}

body.page-how-we-train .section-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.7;
    color: #3d4a42;
    -webkit-text-fill-color: currentColor;
}

body.page-how-we-train .section-text p {
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

body.page-how-we-train .section-text p + p {
    margin-top: 12px;
}

/* —— Sequence strip —— */
.hwt-sequence-strip,
.hwt-seq-band {
    margin-top: 20px;
    padding: clamp(22px, 4vw, 32px) clamp(18px, 3vw, 28px);
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(135deg, #004b04 0%, #007305 55%, #005a06 100%);
    color: #fff;
    box-shadow: 0 14px 36px rgba(0, 75, 4, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
}

.hwt-sequence-strip p,
.hwt-seq-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
    color: #d1fae5 !important;
    -webkit-text-fill-color: #d1fae5 !important;
}

.hwt-sequence-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    width: 100%;
    max-width: 100%;
}

.hwt-sequence-flow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(167, 243, 208, 0.35);
    box-sizing: border-box;
}

.hwt-sequence-flow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #86efac !important;
    -webkit-text-fill-color: #86efac !important;
    opacity: 1;
    flex-shrink: 0;
}

/* —— Stage cards —— */
.hwt-stages-list {
    display: grid;
    gap: 14px;
}

.hwt-stage-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f6fbf7 100%);
    border: 1px solid rgba(0, 115, 5, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hwt-stage-card.is-stage-focus {
    border-color: rgba(0, 115, 5, 0.35);
    box-shadow: 0 12px 32px rgba(0, 75, 4, 0.1);
    transform: translateY(-2px);
}

.hwt-stage-card__num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(165deg, #004b04 0%, #007305 100%);
    flex-shrink: 0;
}

.hwt-stage-card__body h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
    margin-bottom: 4px;
}

.hwt-stage-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-green, #007305);
    margin-bottom: 10px;
}

.hwt-stage-card__body p,
.hwt-stage-card__body li {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-light, #525a54);
}

.hwt-stage-card__body ul {
    margin: 10px 0;
    padding-left: 18px;
}

.hwt-stage-card__body li {
    margin-bottom: 6px;
    color: var(--text-main, #1a1f1b);
}

.hwt-stage-conclusion {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--dark-green, #004b04);
    background: rgba(0, 115, 5, 0.06);
    border-left: 3px solid var(--primary-green, #007305);
}

/* —— Outcomes grid —— */
.hwt-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.hwt-outcome-card {
    padding: 18px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f6fbf7 100%);
    border: 1px solid rgba(0, 115, 5, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hwt-outcome-card h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hwt-outcome-card h3 i {
    color: var(--primary-green, #007305);
}

.hwt-outcome-card ul {
    padding-left: 18px;
    margin: 0;
}

.hwt-outcome-card li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 6px;
    color: var(--text-main, #1a1f1b);
}

.hwt-outcome-card__note {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 115, 5, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-main, #1a1f1b);
}

/* —— Why band —— */
body.page-how-we-train .hwt-why-band {
    text-align: center;
    background: linear-gradient(140deg, #004b04 0%, #006b04 55%, #007305 100%) !important;
    color: #fff;
    border: none !important;
    box-shadow: 0 22px 44px rgba(0, 75, 4, 0.18);
    padding: clamp(28px, 4.5vw, 44px) clamp(18px, 3vw, 28px) !important;
}

body.page-how-we-train .hwt-why-band__inner {
    max-width: 52rem;
    margin: 0 auto;
}

body.page-how-we-train .hwt-why-band__title {
    text-align: center;
    margin: 0 auto 16px;
}

body.page-how-we-train .hwt-why-band__title .programs-title-line:not(.programs-title-line--sub) {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train .hwt-why-band__title .programs-title-line--sub {
    margin-top: 8px;
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1rem, 2.2vw, 1.3rem) !important;
    font-weight: 600 !important;
    color: #bbf7d0 !important;
    -webkit-text-fill-color: currentColor !important;
    letter-spacing: 0.01em;
}

body.page-how-we-train .hwt-why-band__lead {
    max-width: 40rem;
    margin: 0 auto 24px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: currentColor !important;
    text-wrap: balance;
}

.hwt-why-pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 28px;
    max-width: 44rem;
}

.hwt-why-pill-list span {
    padding: 9px 16px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hwt-why-pill-list span:hover,
.hwt-why-pill-list span:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.hwt-why-quote {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
}

.hwt-why-quote p {
    margin: 0;
    padding: clamp(18px, 2.5vw, 22px) clamp(20px, 3vw, 26px);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.02rem, 2.2vw, 1.22rem);
    font-style: italic;
    line-height: 1.55;
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
    text-wrap: balance;
}

.hwt-why-band__cta {
    margin-top: 26px;
}

.hwt-why-band .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hwt-why-band .btn-outline:hover,
.hwt-why-band .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #ffffff !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* —— CTA —— */
body.page-how-we-train .hwt-power-cta {
    text-align: center;
    background: var(--dark-green, #004b04) !important;
    color: #fff;
    padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 28px) !important;
    border: none !important;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 75, 4, 0.2);
    margin-bottom: 12px;
}

body.page-how-we-train .hwt-power-cta h2 {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
    margin-bottom: 10px;
}

body.page-how-we-train .hwt-power-cta .section-text {
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: currentColor !important;
    max-width: 36rem;
    margin: 0 auto 18px;
}

body.page-how-we-train .hwt-power-cta .btn-primary {
    background: #fff !important;
    color: var(--dark-green, #004b04) !important;
    border-color: #fff !important;
}

body.page-how-we-train .hwt-power-cta .btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

body.page-how-we-train .hwt-power-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

body.page-how-we-train .hwt-power-cta .btn {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.page-how-we-train .hwt-power-cta__tagline {
    display: block;
    margin-top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65) !important;
    -webkit-text-fill-color: currentColor !important;
}

/* —— Page-wide text visibility (light cards + dark bands) —— */
body.page-how-we-train main#hwt-main {
    color: #1a1f1b;
}

body.page-how-we-train main > section.content-card,
body.page-how-we-train main .content-card {
    background: #fff !important;
    color: #1a1f1b;
}

body.page-how-we-train main .section-title,
body.page-how-we-train main h2.section-title,
body.page-how-we-train main h3.serif-text,
body.page-how-we-train main .hwt-stage-card h3 {
    color: #004b04 !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main .section-eyebrow {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}

body.page-how-we-train main .section-power-lead,
body.page-how-we-train main .section-text,
body.page-how-we-train main .section-text p,
body.page-how-we-train main .hwt-stage-card p:not(.hwt-stage-subtitle),
body.page-how-we-train main .hwt-outcome-card p,
body.page-how-we-train main .hwt-outcome-card__note {
    color: #3d4a42 !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main .hwt-power-stat,
body.page-how-we-train main .hwt-power-stat__num,
body.page-how-we-train main .hwt-power-stat__lbl {
    color: #ffffff !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main > section.hwt-why-band {
    background: linear-gradient(140deg, #004b04 0%, #006b04 55%, #007305 100%) !important;
    border: none !important;
    color: #fff !important;
}

body.page-how-we-train main > section.hwt-power-cta,
body.page-how-we-train main > section#hwt-enroll {
    background: var(--dark-green, #004b04) !important;
    border: none !important;
    box-shadow: 0 14px 40px rgba(0, 75, 4, 0.2);
    color: #fff !important;
}

body.page-how-we-train main > section.hwt-power-cta h2,
body.page-how-we-train .hwt-power-cta h2 {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main > section.hwt-power-cta .section-text,
body.page-how-we-train main > section.hwt-power-cta p,
body.page-how-we-train .hwt-power-cta .section-text {
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train .hwt-power-cta .btn-primary,
body.page-how-we-train .hwt-power-cta .btn-outline {
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main .section-text a:not(.btn) {
    color: var(--primary-green, #007305) !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train .hwt-sequence-strip,
body.page-how-we-train .hwt-seq-band,
body.page-how-we-train .hwt-sequence-strip p,
body.page-how-we-train .hwt-seq-title,
body.page-how-we-train .hwt-sequence-flow span {
    color: #ffffff !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train .hwt-seq-title {
    color: #d1fae5 !important;
    -webkit-text-fill-color: #d1fae5 !important;
}

body.page-how-we-train .hwt-sequence-flow i {
    color: #86efac !important;
    -webkit-text-fill-color: #86efac !important;
}

body.page-how-we-train main .hwt-stage-subtitle {
    color: #007305 !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main .hwt-stage-conclusion {
    color: #004b04 !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train main .hwt-stage-card__body li,
body.page-how-we-train main .hwt-outcome-card li {
    color: #1a1f1b !important;
    -webkit-text-fill-color: currentColor !important;
}

body.page-how-we-train #hwt-training-gallery .training-gallery-intro {
    color: #3d4a42 !important;
    -webkit-text-fill-color: currentColor !important;
}

/* —— Layout grids —— */
@media (min-width: 640px) {
    .hwt-stage-card__body ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 18px;
        align-items: start;
    }
}

body.page-how-we-train .hwt-outcomes-grid,
body.page-how-we-train .hwt-stages-list,
body.page-how-we-train .hwt-power-stats {
    min-width: 0;
}

body.page-how-we-train .hwt-power-cta .cta-buttons {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
}

@media (max-width: 480px) {
    body.page-how-we-train .hwt-power-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Training gallery (slider + lightbox)
   ========================================================================== */

#hwt-training-gallery.training-gallery-section {
    margin-top: 0;
}

#hwt-training-gallery .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

#hwt-training-gallery .training-gallery-intro {
    max-width: none;
    margin: 0 0 18px;
    text-align: left;
    color: var(--text-light);
    line-height: 1.7;
}

#hwt-training-gallery .hwt-gallery-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
    border: 1px solid rgba(0, 115, 5, 0.12);
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 22px);
    box-shadow: 0 12px 32px rgba(0, 75, 4, 0.06);
}

#hwt-training-gallery .hwt-gallery-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 14px);
}

#hwt-training-gallery .hwt-gallery-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    touch-action: pan-y pinch-zoom;
}

#hwt-training-gallery .hwt-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(12px, 2vw, 18px);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

#hwt-training-gallery .hwt-gallery-item {
    position: relative;
    margin: 0;
    border: 2px solid transparent;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 75, 4, 0.08);
    background: #0f172a;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
    aspect-ratio: 4 / 3;
    min-height: 0;
    flex: 0 0 calc((100% - 2 * clamp(12px, 2vw, 18px)) / 3);
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

#hwt-training-gallery .hwt-gallery-item:hover,
#hwt-training-gallery .hwt-gallery-item:focus-visible {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 44px rgba(0, 115, 5, 0.22);
    outline: none;
    border-color: rgba(0, 115, 5, 0.35);
}

#hwt-training-gallery .hwt-gallery-item.is-slider-active {
    border-color: rgba(0, 115, 5, 0.45);
    box-shadow: 0 12px 32px rgba(0, 115, 5, 0.18);
}

#hwt-training-gallery .hwt-gallery-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

#hwt-training-gallery .hwt-gallery-item:hover img {
    transform: scale(1.06);
}

#hwt-training-gallery .hwt-gallery-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0.85;
    pointer-events: none;
}

#hwt-training-gallery .hwt-gallery-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

#hwt-training-gallery .hwt-gallery-item .zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

#hwt-training-gallery .hwt-gallery-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 115, 5, 0.22);
    background: #fff;
    color: var(--primary-green, #007305);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 75, 4, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

#hwt-training-gallery .hwt-gallery-nav:hover:not(:disabled) {
    background: var(--primary-green, #007305);
    color: #fff;
    border-color: var(--primary-green, #007305);
    transform: scale(1.05);
}

#hwt-training-gallery .hwt-gallery-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

#hwt-training-gallery .hwt-gallery-dots,
#hwt-training-gallery .hwt-gallery-dot {
    display: none !important;
}

#hwt-training-gallery .hwt-gallery-dot.is-active {
    background: var(--primary-green, #007305);
    transform: scale(1.15);
}

#training-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(5, 10, 8, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 4vw, 32px);
}

#training-lightbox.open {
    display: flex;
}

#training-lightbox img {
    width: min(1080px, 94vw);
    max-height: 84vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.training-lightbox-btn {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

#training-lightbox-close {
    top: 14px;
    right: 14px;
}

#training-lightbox-prev {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#training-lightbox-next {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#training-lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #e5e7eb;
    font-size: 0.95rem;
    text-align: center;
    max-width: 90vw;
}

@media (max-width: 1023px) {
    .hwt-why-pill-list {
        gap: 8px;
    }
}

@media (max-width: 900px) {
    body.page-how-we-train .hwt-power-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hwt-outcomes-grid {
        grid-template-columns: 1fr;
    }

    .hwt-stage-card {
        grid-template-columns: 1fr;
    }

    .hwt-stage-card__num {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    body.page-how-we-train .hwt-nav-shell {
        top: calc(var(--site-fixed-header-offset, 72px) + 4px);
    }

    body.page-how-we-train .hwt-quick-nav {
        flex-wrap: nowrap;
        padding: 10px 8px 8px;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
    }

    body.page-how-we-train .hwt-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-how-we-train .hwt-hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hwt-sequence-flow {
        gap: 8px 10px;
    }

    .hwt-sequence-flow span {
        font-size: 0.76rem;
        padding: 9px 12px;
    }
}

@media (max-width: 991.98px) {
    #hwt-training-gallery .hwt-gallery-item {
        flex: 0 0 calc((100% - clamp(12px, 2vw, 18px)) / 2) !important;
    }
}

@media (max-width: 639.98px) {
    #hwt-training-gallery .hwt-gallery-item {
        flex: 0 0 100% !important;
    }

    #hwt-training-gallery .hwt-gallery-nav,
    .training-lightbox-btn {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hwt-training-gallery .hwt-gallery-track,
    #hwt-training-gallery .hwt-gallery-item,
    #hwt-training-gallery .hwt-gallery-item img {
        transition: none;
    }
}
