/* ============================================================
 * Momentum OP - Staff Member Single  (single-mop_staff.css v1.1.1)
 * Template: single-mop_staff.php  |  Root: .mop-staff
 * Loaded on mop_staff singles by inc/base-template-assets.php.
 * Inherits: MOP-DSM-20261015 (Avada Global Options), MOP-RCM-20261016
 * (mop-btn-arrow, mop-btn-outline, mop-eyebrow, mop-rise, mop-reveal,
 * mop-bars). This file holds only Staff-single layout deltas.
 *
 *  1. Page shell (full-width content area on staff singles only)
 *  2. Root and shared section rhythm
 *  3. Profile top
 *  4. Bio
 *  5. Credentials
 *  6. Fun facts
 *  7. Schedule (Light Surface)
 *  8. More staff cards
 *  9. Closing card
 * 10. Focus
 * ============================================================ */


/* ============================================================
 * 1. PAGE SHELL
 * Avada wraps singles in #main > .fusion-row at Site Width. Each
 * section here draws its own full-width background and centers its
 * own 1375px row, so on staff singles only the content row is let
 * out to the full width (no 100vw, so no sideways scroll). The html
 * prefix outranks Avada's html:not(.avada-has-site-width-percent) #main
 * 30px side padding.
 * ============================================================ */

html body.single-mop_staff #main {
    padding-right: 0;
    padding-left: 0;
}

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

/* Avada lays #main > .fusion-row out as a wrapping flex row, so this root
 * is a flex item, and a flex item never shrinks below its widest content
 * by default. The reviews carousel (and the Compare table on /classes/)
 * have very wide content, which stretched the whole page to about 1440px
 * on phones. min-width: 0 keeps the root at the row's width; wide widgets
 * clip or scroll inside their own boxes instead. */
html body.single-mop_staff #main > .fusion-row > .mop-staff {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
}


/* ============================================================
 * 2. ROOT AND SECTION RHYTHM
 * ============================================================ */

.mop-staff {
    --mop-staff-y: clamp(112px, 14vw, 192px);
    --mop-staff-line: hsla(var(--awb-color9-h), var(--awb-color9-s), var(--awb-color9-l), .12);
    --mop-staff-media: #15123a; /* DSM 15 media placeholder (local component color) */
    color: var(--awb-color8);
    line-height: normal;
}

.mop-staff :where(h1, h2, h3, p, ul, dl, dd) {
    margin: 0;
}

.mop-staff :where(ul, dl) {
    padding: 0;
    list-style: none;
}

.mop-staff :where(li) {
    margin: 0;
}

.mop-staff :where(li)::before {
    content: none;
}

.mop-staff__section {
    padding: 0 32px var(--mop-staff-y);
    scroll-margin-top: 68px;
}

.mop-staff__inner {
    max-width: 1375px;
    margin: 0 auto;
}

.mop-staff__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mop-staff__head--narrow {
    max-width: 780px;
}

.mop-staff__section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}

.mop-staff__h2 {
    color: inherit;
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.mop-staff__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.mop-staff__img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}


/* ============================================================
 * 3. PROFILE TOP
 * ============================================================ */

.mop-staff__top {
    padding-top: clamp(120px, 14vw, 160px);
}

.mop-staff__top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
}

.mop-staff__photo {
    position: relative;
    width: 100%;
    max-height: 720px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 28px;
    background: var(--mop-staff-media);
}

.mop-staff__intro {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.mop-staff .mop-staff__back,
.mop-staff .mop-staff__back:is(:hover, :focus, :active) {
    width: fit-content;
    margin: -12px 0;
    padding: 12px 0;
    color: var(--awb-color5);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.mop-staff__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.mop-staff__role {
    padding: 8px 16px;
    border: 1px solid hsla(var(--awb-color5-h), var(--awb-color5-s), var(--awb-color5-l), .45);
    border-radius: 999px;
    color: var(--awb-color5);
    font-size: 15px;
    font-weight: 600;
}

.mop-staff__h1 {
    color: var(--awb-color8);
    font-size: clamp(52px, 7vw, 104px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.mop-staff__quote {
    max-width: 560px;
    color: var(--awb-color9);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.015em;
    text-wrap: pretty;
}

.mop-staff__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--mop-staff-line);
    border-bottom: 1px solid var(--mop-staff-line);
}

.mop-staff__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.mop-staff__stat-value {
    color: var(--awb-color8);
    font-size: 20px;
    font-weight: 600;
}


/* ============================================================
 * 4. BIO
 * ============================================================ */

.mop-staff__bio-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1080px;
}

.mop-staff__headline {
    color: var(--awb-color8);
    font-size: clamp(26px, 3.1vw, 44px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.mop-staff__bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc(50% - 24px))), 1fr));
    gap: 24px 48px;
    margin-top: 48px;
}

.mop-staff__bio-text {
    color: var(--awb-color11);
    font-size: 18px;
    line-height: 1.65;
    text-wrap: pretty;
}


/* ============================================================
 * 5. CREDENTIALS
 * ============================================================ */

.mop-staff__creds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(360px, calc(50% - 48px))), 1fr));
    align-items: start;
    gap: 64px clamp(48px, 7vw, 96px);
}

.mop-staff__creds-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

/* 5a. One list only (Education & Certifications is optional). The column
 * spans the row with the heading on the left and the list on the right,
 * so the section reads as intentional rather than half empty. Phones and
 * tablets stack it like the two-list layout. */

.mop-staff__creds-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1101px) {
    .mop-staff__creds-grid--single .mop-staff__creds-col {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: 32px clamp(48px, 7vw, 96px);
    }

    .mop-staff__creds-grid--single .mop-staff__creds-col > .mop-staff__list:only-child {
        grid-column: 1 / -1;
    }
}

.mop-staff__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--mop-staff-line);
}

.mop-staff__list-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--mop-staff-line);
}

.mop-staff .mop-staff__list-key {
    padding-top: 3px;
}

.mop-staff__list-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mop-staff__list-name {
    color: var(--awb-color8);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.mop-staff__list-note {
    color: var(--awb-color11);
    font-size: 15px;
}


/* ============================================================
 * 6. FUN FACTS
 * ============================================================ */

.mop-staff__fun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, calc(50% - 12px))), 1fr));
    gap: 24px;
}

.mop-staff__fact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px;
    border-radius: 24px;
    background: var(--awb-color2);
}

.mop-staff__fact-value {
    color: var(--awb-color8);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
}


/* ============================================================
 * 7. SCHEDULE (Light Surface)
 * ============================================================ */

.mop-staff__schedule {
    padding-top: var(--mop-staff-y);
    background: var(--awb-color14);
    color: var(--awb-color1);
}

.mop-staff__section-head--sched {
    margin-bottom: 40px;
}

.mop-staff__widget-card {
    padding: clamp(24px, 4vw, 48px);
    border-radius: 28px;
    background: var(--awb-color9);
    box-shadow:
        0 1px 2px hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), .04),
        0 24px 60px -32px hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), .18);
}

.mop-staff__widget {
    min-height: 520px;
}


/* ============================================================
 * 8. MORE STAFF CARDS
 * ============================================================ */

.mop-staff__more {
    padding-top: var(--mop-staff-y);
}

.mop-staff__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(220px, calc(33.333% - 16px))), 1fr));
    gap: 48px 24px;
}

.mop-staff .mop-staff__card,
.mop-staff .mop-staff__card:is(:hover, :focus, :active) {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--awb-color9);
    text-decoration: none;
}

.mop-staff__card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: var(--mop-staff-media);
}

.mop-staff__card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, hsla(var(--awb-color7-h), var(--awb-color7-s), var(--awb-color7-l), .55));
}

.mop-staff__card-role {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), .78);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    color: var(--awb-color9);
    font-size: 14px;
    font-weight: 600;
}

.mop-staff__card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
}

.mop-staff__card-name {
    color: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -.03em;
}

.mop-staff__card-text {
    color: var(--awb-color11);
    font-size: 15px;
}


/* ============================================================
 * 9. CLOSING CARD
 * The bar graphic is the RCM mop-bars component; this card is its host
 * (relative, isolated, clipped).
 * ============================================================ */

.mop-staff__cta-card {
    position: relative;
    isolation: isolate;
    max-width: 1375px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 88px) clamp(28px, 6vw, 88px);
    overflow: hidden;
    border-radius: 32px;
    background: var(--awb-color5);
    color: var(--awb-color1);
}

.mop-staff__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px 64px;
}

.mop-staff__cta-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.mop-staff__cta-h2 {
    color: inherit;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.mop-staff__cta-text {
    max-width: 520px;
    color: var(--awb-color1);
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.55;
    text-wrap: pretty;
}


/* ============================================================
 * 10. FOCUS
 * Text links and cards have no hover change in the design; keyboard
 * focus gets a visible ring. Buttons keep their RCM focus states.
 * ============================================================ */

.mop-staff .mop-staff__back:focus-visible {
    outline: 2px solid var(--awb-color9);
    outline-offset: 3px;
    border-radius: 4px;
}

.mop-staff .mop-staff__card:focus-visible {
    outline: none;
}

.mop-staff .mop-staff__card:focus-visible .mop-staff__card-media {
    outline: 2px solid var(--awb-color9);
    outline-offset: 3px;
}
