/*
 * ============================================================
 * Single Founder: gmp_founder  (v1.1.0)
 * Gym Marketing Pros. Loaded by inc/base-template-assets.php on
 * single gmp_founder pages only.
 * Sources: GMP-DSM-20261110 (colors as var(--awb-colorN) only),
 * GMP-RCM-20261111 (gmp-btn, gmp-eyebrow, gmp-display and the
 * shared arrow icon are reused, never copied).
 * Breakpoints: Small below 720px, Medium 720px, Large 1024px.
 *
 *  0. Page shell (Avada #main and .fusion-row, flex row rule)
 *  1. Shared pieces (label, arrow)
 *  2. Hero
 *  3. Story and lists
 *  4. In the gym (gallery)
 *  5. Other founder
 *  6. Medium (720px and up)
 *  7. Large (1024px and up)
 *
 * :is(.gmp-fd, #gmp-unused) lifts a rule to ID level (the ID never
 * exists) so it beats Avada's heading, list and link rules without
 * !important. Heading font-size and line-height also carry
 * !important because Avada's responsive typography can write
 * heading sizes inline.
 *
 * Root colors, link underline reset, the small uppercase label and
 * the arrow icon come from the Template Primitives in
 * gmp-components.css (gmp-tpl, gmp-tpl-label, gmp-tpl-arrow) and
 * are not repeated here.
 * ============================================================
 */


/* ============================================================
 * 0. PAGE SHELL
 * ============================================================ */

html body.single-gmp_founder #main {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
}

html body.single-gmp_founder #main > .fusion-row {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Avada Flex Row Rule: the root never grows past the row. */
html body.single-gmp_founder #main > .fusion-row > .gmp-fd {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd__inner {
    box-sizing: border-box;
    max-width: 1792px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

:is(.gmp-fd, #gmp-unused) :is(p, h1, h2, figure, ul) {
    margin: 0;
}

:is(.gmp-fd, #gmp-unused) ul {
    padding: 0;
    list-style: none;
}

:is(.gmp-fd, #gmp-unused) ul > li {
    margin: 0;
}

:is(.gmp-fd, #gmp-unused) ul > li::before {
    content: none;
}

:is(.gmp-fd, #gmp-unused) :is(p, li, figcaption) {
    text-wrap: pretty;
}

:is(.gmp-fd, #gmp-unused) :is(h1, h2) {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

:is(.gmp-fd, #gmp-unused) img {
    display: block;
    max-width: 100%;
}


/* ============================================================
 * 1. SHARED PIECES
 * Label and arrow: Template Primitives (gmp-components.css).
 * ============================================================ */


/* ============================================================
 * 2. HERO
 * ============================================================ */

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__inner {
    padding-top: clamp(128px, 14vh, 160px);
    padding-bottom: clamp(88px, 10vw, 152px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: clamp(24px, 3vw, 36px);
    color: var(--awb-color11);
    transition: color .25s;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-back:is(:hover, :focus-visible) {
    color: var(--awb-color1);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px clamp(40px, 5vw, 80px);
    align-items: center;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__title {
    margin: 0 0 24px;
    max-width: none;
    color: var(--awb-color1);
    font-size: clamp(min(52px, 13.5vw), 6.6vw, 112px) !important;
    line-height: .88 !important;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__intro {
    margin-bottom: clamp(28px, 3vw, 36px);
    max-width: 68ch;
    font-size: 17px;
    line-height: 1.65;
    color: var(--awb-color11);
}

/* Headshot: 1:1 and 320px wide under the text below 1024px. */
:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__media {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: var(--awb-color25);
}

:is(.gmp-fd, #gmp-unused) :is(.gmp-fd-hero__img, .gmp-fd-shot__img, .gmp-fd-other__img) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__media--top .gmp-fd-hero__img {
    object-position: center top;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-hero__media--bottom .gmp-fd-hero__img {
    object-position: center bottom;
}


/* ============================================================
 * 3. STORY AND LISTS (cream band)
 * ============================================================ */

:is(.gmp-fd, #gmp-unused) .gmp-fd-story {
    background: var(--awb-color3);
    color: var(--awb-color8);
    border-radius: clamp(28px, 4vw, 48px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-story__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px clamp(40px, 6vw, 96px);
    align-items: start;
    padding-top: clamp(88px, 10vw, 152px);
    padding-bottom: clamp(88px, 10vw, 152px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-story__title {
    margin: 0 0 24px;
    max-width: none;
    color: var(--awb-color8);
    font-size: clamp(min(40px, 11vw), 4.6vw, 76px) !important;
    line-height: .9 !important;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-prose p {
    margin: 0 0 20px;
    max-width: 62ch;
    font-size: 18px;
    line-height: 1.75;
    color: var(--awb-color16);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-lists {
    display: grid;
    gap: 28px;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-list {
    border-top: 2px solid var(--awb-color8);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-list__heading {
    padding: 16px 0;
    border-bottom: 1px solid var(--awb-color22);
    color: var(--awb-color14);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-list__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--awb-color22);
    font-family: var(--awb-typography5-font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: var(--awb-color8);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-list__dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--awb-color4);
}


/* ============================================================
 * 4. IN THE GYM (gallery)
 * ============================================================ */

:is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__inner {
    padding-top: clamp(88px, 10vw, 152px);
    padding-bottom: 0;
}

/* No other founder below: the section closes the page. */
:is(.gmp-fd, #gmp-unused) .gmp-fd-gallery--last .gmp-fd-gallery__inner {
    padding-bottom: clamp(88px, 10vw, 152px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: clamp(32px, 4vw, 48px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__title {
    max-width: none;
    color: var(--awb-color1);
    font-size: clamp(min(40px, 11vw), 4.6vw, 76px) !important;
    line-height: .9 !important;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(12px, 1.6vw, 20px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-shot {
    display: grid;
    gap: 12px;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-shot__media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--awb-color25);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-shot__caption {
    color: var(--awb-color11);
}


/* ============================================================
 * 5. OTHER FOUNDER
 * The whole row is one link. As in the design the text stays
 * white on hover; keyboard focus shows the 2px outline.
 * ============================================================ */

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__inner {
    padding-top: clamp(88px, 10vw, 152px);
    padding-bottom: clamp(88px, 10vw, 152px);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px clamp(32px, 4vw, 64px);
    align-items: center;
    color: var(--awb-color1);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__link:is(:hover, :focus, :focus-visible) {
    color: var(--awb-color1);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__photo {
    position: relative;
    display: block;
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--awb-color25);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__text {
    display: block;
    min-width: 0;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__label {
    display: block;
    margin-bottom: 12px;
    color: var(--awb-color4);
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__name {
    display: block;
    color: var(--awb-color1);
    font-size: clamp(min(40px, 11vw), 4.6vw, 76px);
    line-height: .88;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

:is(.gmp-fd, #gmp-unused) .gmp-fd-other__go {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid var(--awb-color18);
    border-radius: 50%;
}


/* ============================================================
 * 6. MEDIUM (720px and up)
 * ============================================================ */

@media (min-width: 720px) {
    :is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    :is(.gmp-fd, #gmp-unused) .gmp-fd-other__link {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    :is(.gmp-fd, #gmp-unused) .gmp-fd-other__photo {
        width: 160px;
    }
}


/* ============================================================
 * 7. LARGE (1024px and up)
 * ============================================================ */

@media (min-width: 1024px) {
    :is(.gmp-fd, #gmp-unused) .gmp-fd-hero__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }

    /* Headshot moves to the left column, 4:5, full column width. */
    :is(.gmp-fd, #gmp-unused) .gmp-fd-hero__media {
        order: -1;
        max-width: none;
        aspect-ratio: 4 / 5;
    }

    :is(.gmp-fd, #gmp-unused) .gmp-fd-hero__intro {
        max-width: 52ch;
    }

    :is(.gmp-fd, #gmp-unused) .gmp-fd-story__inner {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }

    :is(.gmp-fd, #gmp-unused) .gmp-fd-gallery__head {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        column-gap: clamp(40px, 5vw, 80px);
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.gmp-fd, #gmp-unused) .gmp-fd-back {
        transition: none;
    }
}
