/* ============================================================
 * Momentum OP - Event Single  (single-mop_event.css v1.0.2)
 * Template: single-mop_event.php  |  Root: .mop-event
 * Loaded on mop_event 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 Event-single layout deltas.
 *
 *  1. Page shell (full-width content area on event singles only)
 *  2. Root and shared section rhythm
 *  3. Hero (full-bleed image)
 *  4. Details row, actions, countdown, summary
 *  5. About (sticky heading, body, details and start-time lists)
 *  6. Training plan
 *  7. FAQ accordion
 *  8. Schedule (Light Surface)
 *  9. More Events cards
 * 10. Closing card
 * 11. Focus and reduced motion
 * ============================================================ */


/* ============================================================
 * 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 event 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
 * side padding.
 * ============================================================ */

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

html body.single-mop_event #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_event #main > .fusion-row > .mop-event {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mop-event__fill {
    position: absolute;
    inset: 0;
}

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


/* ============================================================
 * 3. HERO
 * Full-bleed image under the fixed transparent header, content sits on
 * the bottom edge. The content row is the design's 1375px box with
 * 32px padding inside it.
 * ============================================================ */

.mop-event__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(600px, 78vh, 960px);
    overflow: hidden;
    background: var(--awb-color7);
}

.mop-event__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        hsla(var(--awb-color7-h), var(--awb-color7-s), var(--awb-color7-l), .6) 0%,
        hsla(var(--awb-color7-h), var(--awb-color7-s), var(--awb-color7-l), .2) 35%,
        hsla(var(--awb-color7-h), var(--awb-color7-s), var(--awb-color7-l), .45) 60%,
        hsla(var(--awb-color7-h), var(--awb-color7-s), var(--awb-color7-l), .95) 100%);
    pointer-events: none;
}

.mop-event__hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1375px;
    margin: 0 auto;
    padding: clamp(140px, 15vw, 180px) 32px clamp(64px, 9vh, 112px);
}

.mop-event .mop-event__h1 {
    max-width: 1100px;
    color: var(--awb-color8);
    font-size: clamp(52px, 8vw, 120px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.mop-event .mop-event__subtitle {
    max-width: 600px;
    color: #e1dfee; /* DSM 14 hero lead paragraph (approved local value) */
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.55;
    text-wrap: pretty;
}

.mop-event__buttons--hero {
    margin-top: 8px;
}


/* ============================================================
 * 4. DETAILS ROW, ACTIONS, COUNTDOWN, SUMMARY
 * ============================================================ */

.mop-event__details {
    padding-top: var(--mop-event-y);
}

.mop-event__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--mop-event-line);
    border-bottom: 1px solid var(--mop-event-line);
}

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

.mop-event .mop-event__fact-value {
    margin: 0;
    color: var(--awb-color8);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.mop-event__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 28px;
}

/* The two small outline buttons (RCM 3.3 Event page exception:
   15px label, 15px / 24px padding). */
html body .mop-event .fusion-button.mop-event__action {
    --mop-btn-fs: 15px;
    --button_padding-top: 15px;
    --button_padding-right: 24px;
    --button_padding-bottom: 15px;
    --button_padding-left: 24px;
    margin: 0;
    padding: 15px 24px;
    font-family: inherit;
    -webkit-appearance: none;
            appearance: none;
}

/* Share needs the script; it shows once single-mop_event.js is ready. */
.mop-event:not(.is-ready) .mop-event__share {
    display: none;
}

.mop-event .mop-event__countdown {
    margin-left: 8px;
    color: var(--awb-color5);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.mop-event .mop-event__countdown[hidden] {
    display: none;
}

.mop-event__summary {
    max-width: 1080px;
    margin-top: clamp(64px, 8vw, 112px);
}

.mop-event .mop-event__statement {
    color: var(--awb-color6);
    font-size: clamp(26px, 3.1vw, 44px);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -.022em;
    text-wrap: pretty;
}

.mop-event__lead {
    color: var(--awb-color9);
}


/* ============================================================
 * 5. ABOUT
 * ============================================================ */

.mop-event__split {
    display: grid;
    align-items: start;
    gap: clamp(48px, 7vw, 112px);
}

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

.mop-event__about-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

/* Two columns, with the heading column pinned while the text beside it
 * scrolls, only from 973px. Below that the columns stack, and a pinned
 * column sits on top of the content scrolling up under it (seen on the
 * Class single on phones). 973px is exactly where the old auto-fit 420px
 * grid stacked, so the layout is unchanged at every width; only the pin
 * is now limited to it. */
@media (min-width: 973px) {
    .mop-event__split--about {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mop-event__about-head {
        position: sticky;
        top: 120px;
    }
}

.mop-event__official {
    margin-top: 8px;
}

.mop-event__about-side {
    display: flex;
    flex-direction: column;
    gap: 56px;
    min-width: 0;
}

.mop-event__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mop-event__text--body {
    line-height: 1.65;
}

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

.mop-event .mop-event__block-title {
    color: var(--awb-color5);
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
}

.mop-event__rows {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--mop-event-line);
}

.mop-event__row {
    padding: 18px 0;
    border-top: 1px solid var(--mop-event-line);
}

.mop-event__row--fact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 4px 24px;
}

.mop-event__row--time {
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.mop-event__row-key {
    color: var(--awb-color11);
    font-size: 15px;
    line-height: normal;
}

.mop-event .mop-event__row-value {
    color: var(--awb-color9);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.mop-event__row-time {
    flex: 0 0 88px;
    color: var(--awb-color9);
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
}

.mop-event .mop-event__row-item {
    min-width: 0;
    color: var(--awb-color10);
    font-size: 17px;
    line-height: normal;
}


/* ============================================================
 * 6. TRAINING PLAN
 * ============================================================ */

.mop-event__text--note {
    max-width: 580px;
}

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

.mop-event__step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 32px;
    border-radius: 24px;
    background: var(--awb-color2);
}

.mop-event .mop-event__step-title {
    color: var(--awb-color8);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.mop-event__step-text {
    color: var(--awb-color11);
    font-size: 16px;
    line-height: 1.6;
    text-wrap: pretty;
}


/* ============================================================
 * 7. FAQ ACCORDION
 * One answer open at a time (single-mop_event.js). Without the script
 * every answer stays open and the toggle icons are hidden.
 * ============================================================ */

.mop-event__split--faq {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.mop-event__faq-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.mop-event__text--faq {
    max-width: 420px;
}

.mop-event .mop-event__text--faq a {
    color: var(--awb-color9);
}

.mop-event .mop-event__text--faq a:is(:hover, :focus-visible) {
    color: var(--awb-color5);
}

.mop-event__faq-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-top: 1px solid var(--mop-event-line);
}

.mop-event__faq-item {
    border-bottom: 1px solid var(--mop-event-line);
}

.mop-event .mop-event__faq-q {
    font-size: inherit;
    line-height: inherit;
}

.mop-event .mop-event__faq-btn {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    padding: 26px 0;
    color: var(--awb-color8);
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    cursor: pointer;
}

.mop-event__faq-text {
    min-width: 0;
}

.mop-event__faq-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border: 1px solid var(--mop-event-ring);
    border-radius: 50%;
    background: transparent;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: all .4s var(--mop-ease);
}

.mop-event__faq-item.is-open .mop-event__faq-icon {
    border-color: var(--awb-color5);
    background: var(--awb-color5);
    transform: rotate(45deg);
}

.mop-event:not(.is-ready) .mop-event__faq-icon {
    display: none;
}

.mop-event__faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--mop-ease);
}

.mop-event__faq-clip {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear .45s;
}

.mop-event__faq-item.is-open .mop-event__faq-panel,
.mop-event:not(.is-ready) .mop-event__faq-panel {
    grid-template-rows: 1fr;
}

.mop-event__faq-item.is-open .mop-event__faq-clip,
.mop-event:not(.is-ready) .mop-event__faq-clip {
    visibility: visible;
    transition-delay: 0s;
}

.mop-event__faq-a {
    padding: 0 56px 28px 0;
    color: var(--awb-color11);
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty;
}


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

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

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

.mop-event__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-event__widget {
    min-height: 520px;
}


/* ============================================================
 * 9. MORE EVENTS CARDS
 * The whole card is one link, as designed (no hover change).
 * ============================================================ */

.mop-event__more {
    padding-top: var(--mop-event-y);
}

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

.mop-event__card-item {
    min-width: 0;
}

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

.mop-event__card-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 24px;
    background: var(--mop-event-media);
}

.mop-event__card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), .72);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: var(--awb-color9);
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
}

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

.mop-event__card-label {
    color: var(--awb-color5);
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
}

.mop-event .mop-event__card-name {
    color: var(--awb-color9);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.mop-event__card-sub {
    color: var(--awb-color11);
    font-size: 15px;
    line-height: normal;
}

.mop-event__card-more {
    margin-top: 6px;
    color: var(--awb-color9);
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
}


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

.mop-event__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-event__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px 64px;
}

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

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

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


/* ============================================================
 * 11. FOCUS AND REDUCED MOTION
 * ============================================================ */

.mop-event .mop-event__faq-btn:focus-visible {
    outline: none;
}

.mop-event .mop-event__faq-btn:focus-visible .mop-event__faq-icon {
    outline: 2px solid var(--awb-color9);
    outline-offset: 3px;
}

.mop-event .mop-event__faq-btn:focus-visible .mop-event__faq-text {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mop-event:not(.is-ready) .mop-event__faq-btn {
    cursor: default;
}

.mop-event .mop-event__card:focus-visible {
    outline: none;
}

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

.mop-event .mop-event__text--faq a:focus-visible {
    outline: 2px solid var(--awb-color9);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .mop-event__faq-icon,
    .mop-event__faq-panel,
    .mop-event__faq-clip {
        transition: none;
    }
}
