
/* ==========================================================
   BIBLE DAVIDS MINISTRIES
   EVENTS LANDING PAGE

   File: assets/css/events.css
   Scoped to: .bdme-page
========================================================== */


/* ==========================================================
   1. VARIABLES AND GLOBAL PAGE STYLES
========================================================== */

.bdme-page {
    --bdme-red: #b91c2b;
    --bdme-red-dark: #941522;
    --bdme-black: #151515;
    --bdme-charcoal: #242424;
    --bdme-ivory: #f8f5ef;
    --bdme-white: #ffffff;
    --bdme-muted: #696969;
    --bdme-border: #e8e3dd;

    color: var(--bdme-black);
    background: var(--bdme-white);
    overflow: hidden;
}

.bdme-page *,
.bdme-page *::before,
.bdme-page *::after {
    box-sizing: border-box;
}

.bdme-page img {
    display: block;
    max-width: 100%;
}

.bdme-page a {
    text-decoration: none;
}

.bdme-page button {
    font: inherit;
}

.bdme-container {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.bdme-section {
    padding: 100px 0;
}

.bdme-page h1,
.bdme-page h2,
.bdme-page h3,
.bdme-page p {
    margin-top: 0;
}

.bdme-page h1,
.bdme-page h2,
.bdme-page h3 {
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.bdme-page h2 {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 750;
}

.bdme-page h2 em,
.bdme-page h1 em {
    color: var(--bdme-red);
    font-style: normal;
}

.bdme-page p {
    font-size: 16px;
    line-height: 1.85;
}

.bdme-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--bdme-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bdme-eyebrow-light {
    color: #f3b6bc;
}

.bdme-centered {
    max-width: 790px;
    margin: 0 auto 55px;
    text-align: center;
}

.bdme-centered h2 {
    margin-bottom: 22px;
}

.bdme-centered p {
    max-width: 660px;
    margin-inline: auto;
    color: var(--bdme-muted);
}


/* ==========================================================
   2. BUTTONS
========================================================== */

.bdme-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 54px;
    padding: 16px 27px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.bdme-button:hover {
    transform: translateY(-2px);
}

.bdme-button-red {
    background: var(--bdme-red);
    color: #ffffff;
}

.bdme-button-red:hover {
    background: var(--bdme-red-dark);
    color: #ffffff;
}

.bdme-button-outline {
    border-color: var(--bdme-black);
    color: var(--bdme-black);
    background: transparent;
}

.bdme-button-outline:hover {
    background: var(--bdme-black);
    color: #ffffff;
}

.bdme-button span {
    font-size: 18px;
    line-height: 1;
}


/* ==========================================================
   3. HERO SECTION
========================================================== */

.bdme-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 680px;
    padding: 110px 0;
    isolation: isolate;
    color: #ffffff;
    background-color: #111111;
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.65) 0%,
            rgba(8, 8, 8, 0.54) 42%,
            rgba(8, 8, 8, 0.18) 100%
        ),
        var(--bdme-hero-image);
    background-size: cover;
    background-position: center;
}

.bdme-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7px;
    background: var(--bdme-red);
    z-index: -1;
}

.bdme-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.bdme-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.bdme-hero h1 {
    margin-bottom: 28px;
    font-size: clamp(30px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    color: #ffffff;
}

.bdme-hero h1 em {
    display: block;
    /*color: #f2c5c8;*/
    color: var(--bdme-red);
}

.bdm-vision-title-small {
    display: block;

    margin-bottom: 4px;

    font-size: clamp(32px, 4.4vw, 58px);
}


.bdm-vision-title-large {
    display: block;

    color: #c91f26;

    font-size: clamp(35px, 5.3vw, 60px);

    font-style: italic;
}

.bdme-hero-copy > p {
    max-width: 560px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.85;
}

.bdme-hero-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 390px);
    aspect-ratio: 1;
    margin-left: auto;
    padding: 35px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    text-align: center;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(5px);
}

.bdme-hero-emblem span {
    margin-bottom: 12px;
    color: #f0c3c6;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3em;
}

.bdme-hero-emblem strong {
    font-size: clamp(45px, 5vw, 74px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.bdme-hero-emblem small {
    max-width: 230px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.7;
}


/* ==========================================================
   4. SHARED TWO-COLUMN LAYOUT
========================================================== */

.bdme-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(35px, 5vw, 85px);
}

.bdme-split h2 {
    margin-bottom: 28px;
}

.bdme-split p {
    margin-bottom: 25px;
    color: #555555;
}

.bdme-media {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: #e8e4df;
}

.bdme-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bdme-media-tall {
    min-height: 540px;
}

.bdme-media-tall img {
    position: absolute;
    inset: 0;
}


/* ==========================================================
   5. KAIROS MOMENT + VIDEO
========================================================== */

.bdme-intro {
    background: #f6f6f6;
}

.bdme-intro h2 {
    max-width: 580px;
}

.bdme-intro p {
    max-width: 520px;
}

.bdme-kairos-video {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #111111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.bdme-kairos-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================
   6. YOUR VICTORY SECTION
========================================================== */

.bdme-victory {
    background: #eaeef2;
}

.bdme-victory-top {
    align-items: start;
    margin-bottom: 65px;
}

.bdme-victory-top h2 {
    max-width: 600px;
    margin-bottom: 0;
}

.bdme-victory-top p {
    font-size: 17px;
}

.bdme-wide-image {
    width: 100%;
    height: clamp(350px, 45vw, 600px);
    overflow: hidden;
}

.bdme-wide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ==========================================================
   7. AREAS OF BREAKTHROUGH
========================================================== */

.bdme-breakthrough {
    background: var(--bdme-charcoal);
    color: #ffffff;
}

.bdme-breakthrough h2 {
    color: #ffffff;
}

.bdme-breakthrough h2 em {
    color: #f0b6bd;
}

.bdme-breakthrough p {
    color: rgba(255, 255, 255, 0.78);
}

.bdme-checks {
    display: grid;
    gap: 17px;
    margin: 30px 0 40px;
    padding: 0;
    list-style: none;
}

.bdme-checks li {
    position: relative;
    padding-left: 31px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

.bdme-checks li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #f0a8b1;
    font-weight: 800;
}


/* ==========================================================
   8. WRITTEN TESTIMONIALS
========================================================== */

.bdme-stories {
    background: #ffffff;
}

.bdme-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bdme-testimonial {
    display: flex;
    flex-direction: column;
    min-height: 350px;
    padding: 37px 30px;
    border: 1px solid var(--bdme-border);
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.045);
}

.bdme-stars {
    margin-bottom: 25px;
    color: #d9a441;
    font-size: 20px;
    letter-spacing: 4px;
}

.bdme-testimonial p {
    flex: 1;
    margin-bottom: 28px;
    color: #4e4e4e;
    font-size: 15px;
    line-height: 1.9;
}

.bdme-testimonial strong {
    padding-top: 20px;
    border-top: 1px solid var(--bdme-border);
    color: var(--bdme-black);
    font-size: 15px;
    font-weight: 800;
}

.bdme-testimonial-cta {
    margin-top: 45px;
    margin-bottom: 0;
}


/* ==========================================================
   9. EVENT SCHEDULE
========================================================== */

.bdme-schedule {
    background: #e9edf1;
}

.bdme-schedule-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(25px, 5vw, 65px);
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.055);
}

.bdme-schedule-shell > .bdme-centered {
    margin-bottom: 40px;
}

.bdme-featured {
    position: relative;
    display: block;
    height: 370px;
    margin-bottom: 42px;
    overflow: hidden;
    background: #222222;
}

.bdme-featured > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bdme-featured:hover > img {
    transform: scale(1.035);
}

.bdme-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.05) 75%
    );
}

.bdme-featured-copy {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    z-index: 1;
    color: #ffffff;
}

.bdme-featured-copy span {
    display: block;
    margin-bottom: 12px;
    color: #f4c5ca;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.bdme-featured-copy h3 {
    max-width: 700px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 40px);
}

.bdme-featured-copy strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.bdme-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bdme-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.bdme-table thead {
    background: #252525;
    color: #ffffff;
}

.bdme-table th {
    padding: 19px 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.bdme-table td {
    padding: 22px 20px;
    border-bottom: 1px solid #e7e7e7;
    color: #414141;
    font-size: 14px;
    vertical-align: middle;
}

.bdme-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.bdme-table td:first-child strong {
    display: block;
    margin-bottom: 5px;
    color: #202020;
    font-size: 15px;
}

.bdme-table td small {
    display: block;
    color: #777777;
    font-size: 12px;
}

.bdme-table-link {
    display: inline-block;
    padding: 12px 17px;
    background: var(--bdme-red);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.bdme-table-link:hover {
    background: var(--bdme-red-dark);
    color: #ffffff !important;
}

.bdme-empty {
    padding: 45px 25px;
    background: #f7f7f7;
    text-align: center;
}

.bdme-empty h3 {
    margin-bottom: 12px;
    font-size: 26px;
}

.bdme-empty p {
    margin-bottom: 0;
    color: var(--bdme-muted);
}


/* ==========================================================
   10. WHAT TO EXPECT
========================================================== */

.bdme-after {
    position: relative;
    background:
        linear-gradient(
            rgba(18, 21, 36, 0.95),
            rgba(18, 21, 36, 0.95)
        ),
        var(--bdme-hero-image, none);
    background-color: #161a2c;
    color: #ffffff;
}

.bdme-after h2 {
    color: #ffffff;
}

.bdme-after h2 em {
    color: #f3c1c6;
}

.bdme-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.bdme-steps article {
    padding: 25px 20px;
    text-align: center;
}

.bdme-steps article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 27px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.bdme-steps h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 23px;
}

.bdme-steps p {
    max-width: 330px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
}


/* ==========================================================
   11. ABOUT APOSTLE BIBLE DAVIDS
========================================================== */

.bdme-about {
    background: #ffffff;
}

.bdme-about .bdme-media {
    min-height: 560px;
}

.bdme-about p {
    max-width: 560px;
}


/* ==========================================================
   12. VIDEO TESTIMONIALS
========================================================== */

.bdme-video-stories {
    background: var(--bdme-ivory);
}

.bdme-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.bdme-video-card {
    min-width: 0;
    background: #ffffff;
    overflow: hidden;
}

.bdme-video-card-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 360px;
    padding: 25px;
    background: linear-gradient(
        135deg,
        #302b2b,
        #171717
    );
    color: #ffffff;
    text-align: center;
}

.bdme-video-card-media > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #ffffff;
    font-size: 28px;
}

.bdme-video-card-media small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.bdme-video-card-body {
    padding: 30px 26px 35px;
}

.bdme-video-card-body > span {
    display: block;
    margin-bottom: 12px;
    color: var(--bdme-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bdme-video-card-body h3 {
    margin-bottom: 15px;
    color: var(--bdme-black);
    font-size: 25px;
}

.bdme-video-card-body p {
    margin-bottom: 0;
    color: var(--bdme-muted);
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================================
   13. EVENT CALENDAR
========================================================== */

.bdme-calendar-section {
    background: #ffffff;
}

.bdme-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 30px;
    align-items: stretch;
}

.bdme-calendar {
    padding: 30px;
    border: 1px solid var(--bdme-border);
    background: #ffffff;
}

.bdme-calendar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.bdme-calendar-bar h3 {
    margin: 0;
    font-size: 26px;
    text-align: center;
}

.bdme-calendar-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dedede;
    background: #ffffff;
    color: #222222;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.bdme-calendar-bar button:hover {
    background: var(--bdme-red);
    color: #ffffff;
}

.bdme-calendar-weekdays,
.bdme-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.bdme-calendar-weekdays {
    margin-bottom: 10px;
}

.bdme-calendar-weekdays span {
    padding: 10px 0;
    color: #777777;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.bdme-calendar-days button,
.bdme-calendar-blank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 60px;
    padding: 6px;
}

.bdme-calendar-days button {
    border: 1px solid #eeeeee;
    background: #fafafa;
    color: #303030;
    font-size: 14px;
    font-weight: 600;
    cursor: default;
}

.bdme-calendar-days button.has-event {
    border-color: var(--bdme-red);
    background: #fff1f2;
    color: var(--bdme-red);
    font-weight: 800;
    cursor: pointer;
}

.bdme-calendar-days button.has-event:hover,
.bdme-calendar-days button.is-selected {
    background: var(--bdme-red);
    color: #ffffff;
}

.bdme-calendar-days button.is-today {
    box-shadow: inset 0 0 0 2px #333333;
}

.bdme-calendar-panel {
    min-width: 0;
    padding: 35px;
    background: #f6f3ef;
}

.bdme-calendar-panel > h3 {
    margin-bottom: 15px;
    font-size: 28px;
}

.bdme-calendar-panel > p {
    color: var(--bdme-muted);
}

.bdme-calendar-event {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #ded8d1;
}

.bdme-calendar-event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.bdme-calendar-event > span {
    display: block;
    margin-bottom: 12px;
    color: var(--bdme-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.bdme-calendar-event h3 {
    margin-bottom: 18px;
    font-size: 28px;
}

.bdme-calendar-event p {
    margin-bottom: 12px;
    color: #555555;
    font-size: 14px;
}

.bdme-calendar-event .bdme-table-link {
    margin-top: 15px;
}


/* ==========================================================
   14. TABLET RESPONSIVE
========================================================== */

@media (max-width: 1024px) {

    .bdme-section {
        padding: 80px 0;
    }

    .bdme-hero {
        min-height: 600px;
    }

    .bdme-hero-layout {
        gap: 35px;
    }

    .bdme-hero-emblem {
        width: min(100%, 300px);
    }

    .bdme-split {
        gap: 40px;
    }

    .bdme-testimonials-grid,
    .bdme-video-grid {
        gap: 18px;
    }

    .bdme-testimonial {
        padding: 28px 22px;
    }

    .bdme-calendar-layout {
        grid-template-columns: 1fr;
    }

    .bdme-calendar-panel {
        min-height: 220px;
    }

}


/* ==========================================================
   15. MOBILE RESPONSIVE
========================================================== */

@media (max-width: 767px) {

    .bdme-container {
        width: min(100% - 32px, 1200px);
    }

    .bdme-section {
        padding: 65px 0;
    }

    .bdme-page h2 {
        font-size: clamp(32px, 8vw, 43px);
    }

    .bdme-page p {
        font-size: 15px;
    }

    .bdme-centered {
        margin-bottom: 35px;
    }

    .bdme-hero {
        min-height: 620px;
        padding: 75px 0;
        background-position: center;
    }

    .bdme-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bdme-hero h1 {
        font-size: clamp(44px, 10vw, 65px);
    }

    .bdme-hero-copy > p {
        font-size: 15px;
    }

    .bdme-hero-emblem {
        width: 210px;
        margin: 0;
        padding: 25px;
    }

    .bdme-hero-emblem strong {
        font-size: 42px;
    }

    .bdme-hero-emblem small {
        font-size: 8px;
    }

    .bdme-split {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .bdme-media-tall,
    .bdme-about .bdme-media {
        min-height: 380px;
    }

    .bdme-kairos-video {
        aspect-ratio: 16 / 9;
    }

    .bdme-victory-top {
        margin-bottom: 35px;
    }

    .bdme-wide-image {
        height: 300px;
    }

    .bdme-testimonials-grid,
    .bdme-video-grid,
    .bdme-steps {
        grid-template-columns: 1fr;
    }

    .bdme-testimonial {
        min-height: 0;
        padding: 30px 25px;
    }

    .bdme-schedule-shell {
        padding: 25px 16px;
    }

    .bdme-featured {
        height: 280px;
        margin-bottom: 30px;
    }

    .bdme-featured-copy {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }

    .bdme-featured-copy h3 {
        font-size: 25px;
    }

    .bdme-table {
        min-width: 650px;
    }

    .bdme-table th,
    .bdme-table td {
        padding: 15px 13px;
    }

    .bdme-steps {
        gap: 15px;
    }

    .bdme-steps article {
        padding: 15px 10px;
    }

    .bdme-video-card-media {
        min-height: 300px;
    }

    .bdme-calendar {
        padding: 16px;
    }

    .bdme-calendar-bar h3 {
        font-size: 21px;
    }

    .bdme-calendar-bar button {
        width: 38px;
        height: 38px;
    }

    .bdme-calendar-weekdays,
    .bdme-calendar-days {
        gap: 3px;
    }

    .bdme-calendar-weekdays span {
        font-size: 9px;
    }

    .bdme-calendar-days button,
    .bdme-calendar-blank {
        min-height: 42px;
        font-size: 12px;
    }

    .bdme-calendar-panel {
        padding: 25px 20px;
    }

    .bdme-button {
        max-width: 100%;
        gap: 18px;
        padding: 15px 20px;
        font-size: 11px;
    }

}


/* ==========================================================
   16. SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .bdme-hero h1 {
        font-size: 40px;
    }

    .bdme-calendar-days button,
    .bdme-calendar-blank {
        min-height: 36px;
    }

    .bdme-calendar-weekdays span {
        font-size: 8px;
    }

}


/* ==========================================================
   17. ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .bdme-page *,
    .bdme-page *::before,
    .bdme-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

.bdme-page a:focus-visible,
.bdme-page button:focus-visible {
    outline: 3px solid var(--bdme-red);
    outline-offset: 3px;
}





/* Real testimonial video players */

.bdme-video-card-media:has(video) {
    display: block;
    min-height: 0;
    padding: 0;
    aspect-ratio: 9 / 16;
    background: #111;
}

.bdme-video-card-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   BDM EVENTS — BREAKTHROUGH SECTION
========================================= */

.bdme-breakthrough {
    position: relative;
    overflow: hidden;
    background: #202020;
    padding: 110px 0;
    color: #fff;
}

.bdme-breakthrough::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    left: -250px;
    top: -230px;
    background: radial-gradient(
        circle,
        rgba(190, 38, 53, .12),
        transparent 70%
    );
    pointer-events: none;
}

.bdme-breakthrough-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.bdme-breakthrough-content {
    position: relative;
    z-index: 2;
}

.bdme-breakthrough-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #efb1b8;
    margin-bottom: 28px;
}

.bdme-breakthrough-line {
    width: 28px;
    height: 2px;
    background: #d51e2b;
}

.bdme-breakthrough-content h2 {
    font-size: clamp(40px, 4.3vw, 68px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 750;
    margin: 0 0 26px;
    color: #fff;
}

.bdme-breakthrough-content h2 em {
    display: block;
    color: #efb1b8;
    font-style: normal;
    font-weight: 650;
}

.bdme-breakthrough-intro {
    max-width: 520px;
    color: #c9c9c9;
    font-size: 17px;
    line-height: 1.85;
    margin: 0 0 32px;
}

.bdme-breakthrough-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 38px;
}

.bdme-breakthrough-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #f1f1f1;
    transition: background .25s, border-color .25s;
}

.bdme-breakthrough-feature:hover {
    background: rgba(190,38,53,.13);
    border-color: rgba(239,177,184,.35);
}

.bdme-feature-icon {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #efb1b8;
    background: rgba(239,177,184,.12);
    font-size: 14px;
    font-weight: 700;
}

.bdme-breakthrough-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 19px 26px;
    background: #c51e2c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: background .25s, transform .25s;
}

.bdme-breakthrough-button:hover {
    background: #e02031;
    color: #fff;
    transform: translateY(-3px);
}

.bdme-breakthrough-button span {
    font-size: 23px;
    line-height: 1;
}

/* IMAGE */

.bdme-breakthrough-visual {
    position: relative;
    padding: 12px 0 22px 12px;
}

.bdme-breakthrough-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 590px;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.bdme-breakthrough-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .6s ease;
}

.bdme-breakthrough-image:hover img {
    transform: scale(1.04);
}

.bdme-breakthrough-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(0,0,0,.45) 100%
    );
    pointer-events: none;
}

.bdme-breakthrough-floating-label {
    position: absolute;
    bottom: 0;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    color: #222;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0,0,0,.2);
}

.bdme-floating-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c51e2c;
    box-shadow: 0 0 0 6px rgba(197,30,44,.12);
}

.bdme-breakthrough-floating-label strong {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.bdme-breakthrough-floating-label small {
    display: block;
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .bdme-breakthrough {
        padding: 80px 0;
    }

    .bdme-breakthrough-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .bdme-breakthrough-image {
        height: 480px;
    }

    .bdme-breakthrough-visual {
        padding-left: 20px;
    }

    .bdme-breakthrough-floating-label {
        left: 0;
    }
}

@media (max-width: 600px) {
    .bdme-breakthrough {
        padding: 65px 0;
    }

    .bdme-breakthrough-content h2 {
        font-size: clamp(36px, 9vw, 46px);
        letter-spacing: -1px;
    }

    .bdme-breakthrough-intro {
        font-size: 15px;
        line-height: 1.8;
    }

    .bdme-breakthrough-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bdme-breakthrough-feature {
        padding: 14px;
    }

    .bdme-breakthrough-button {
        width: 100%;
        gap: 15px;
        padding: 18px;
    }

    .bdme-breakthrough-image {
        height: 380px;
    }

    .bdme-breakthrough-visual {
        padding-left: 0;
    }

    .bdme-breakthrough-floating-label {
        padding: 15px 18px;
        bottom: 0;
        left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bdme-breakthrough-image img,
    .bdme-breakthrough-button {
        transition: none;
    }
}



/* BDM Events — Warm Ivory Colour Theme */

.bdme-breakthrough {
    background: #F8F5F1;
    color: #242024;
}

.bdme-breakthrough::before {
    background: radial-gradient(
        circle,
        rgba(188, 31, 48, 0.055),
        transparent 70%
    );
}

.bdme-breakthrough-eyebrow {
    color: var(--bdme-red);
}

.bdme-breakthrough-line {
    background: var(--bdme-red);
}

.bdme-breakthrough-content h2 {
    color: #242024;
}

.bdme-breakthrough-content h2 em {
    color: var(--bdme-red);
}

.bdme-breakthrough-intro {
    color: #605B5A;
}

/* Focus area cards */
.bdme-breakthrough-feature {
    background: #FFFFFF;
    color: #373132;
    border: 1px solid #E9DDDA;
    box-shadow: 0 4px 20px rgba(45, 25, 25, 0.035);
}

.bdme-breakthrough-feature:hover {
    background: #FFF1F1;
    border-color: #D8A4AC;
}

.bdme-feature-icon {
    background: #FBE8EB;
    color: var(--bdme-red);
}

/* CTA button */
.bdme-breakthrough-button {
    background: #BC1F30;
    color: #FFFFFF;
}

.bdme-breakthrough-button:hover {
    background: #991A29;
    color: #FFFFFF;
}

/* Image */
.bdme-breakthrough-image {
    box-shadow: 0 25px 65px rgba(63, 37, 37, 0.13);
}

.bdme-breakthrough-floating-label {
    background: #FFFFFF;
    color: #242024;
}

.bdme-floating-dot {
    background: #BC1F30;
}
.bdme-breakthrough-intro-p{
    color: black !important;
}

/* Events hero: keep the long red title balanced within the copy column. */
.bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied {
    max-width: 500px;
    margin: 0 0 22px;
}

.bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied .bdm-home-type-small {
    font-size: clamp(38px, 3.9vw, 56px);
    line-height: .98;
}

.bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied .bdm-home-type-large {
    max-width: 100%;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.04;
}

.bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied .bdm-home-type-large em {
    font-style: italic;
    text-wrap: balance;
}

@media (max-width: 767px) {
    .bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied {
        margin-bottom: 18px;
    }

    .bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied .bdm-home-type-small {
        font-size: clamp(32px, 8.2vw, 42px);
        line-height: 1.02;
    }

    .bdme-hero .bdme-hero-copy > h1.bdm-home-type-title.bdm-home-type-applied .bdm-home-type-large {
        font-size: clamp(28px, 8.4vw, 36px);
        line-height: 1.08;
    }
}
