/* Summit LP - Back To The Future Landing Page styles */
@font-face {
    font-family: 'Digital Numbers';
    src: url('/wp-content/themes/alphacore/assets/fonts/DS-DIGI.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

p{font-size: 100%;}

p,
.agenda__time,
.agenda__session,
.road-ahead__text,
.spot-card__role,
.footer-cta__venue {
    font-family: 'Red Hat Display',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
}

/* Hero section */
.hero-btf {
    position: relative;
    min-height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    /* background: #0f0823; */
    background-image: url('/wp-content/themes/alphacore/images/bg-storm-clouds-02.jpg');
    --hero-overlay-opacity: 0.9;
}

/* Overlay to control gradient opacity independently */
.hero-btf::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(189deg, rgba(13, 31, 57, 0.4) 0%, rgba(64, 93, 113, 0.4) 50%, rgba(90, 93, 97, 0.4) 100%);
    opacity: var(--hero-overlay-opacity, .3);
    transition: opacity 140ms ease;
    pointer-events: none;
    z-index: 0;
}

.hero-btf__content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
}

/* Thunder overlay element (random bolt images) */
.hero-btf__thunder {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 600px;
    background-position: top 60%;
    opacity: 0;
    transition: opacity 140ms ease;
    pointer-events: none;
    z-index: 1; /* above gradient overlay, below content */
}

/* THREE.js lightning canvas sits behind content and thunder overlay */
#storm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#storm-hero-bg canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.hero-btf__img {
    display: block;
    height: auto;
    margin: 0 auto;
}

.hero-btf__img--logo {
    width: auto;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    z-index: 2;
    width: 600px;
    max-width: 100%;
}

.hero-btf__img--logo.logo-flash {
    filter: brightness(1.08) contrast(1.08) saturate(1.1);
}




.hero-btf__img--date {
    width: 100%;
    max-width: 700px;
}

@media (max-width: 1571px) {
    .hero-btf__img--logo {
        width: auto;
        filter: brightness(1.05) contrast(1.05) saturate(1.1);
        z-index: 2;
        width: 500px;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .hero-btf {
        min-height: 70vh;
    }
}

/* Top CTA section */
.cta-top {
    background: linear-gradient(90deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
    padding: 30px 16px;
}

.cta-top__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.cta-top__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    color: #000;
    margin-top: 10px;
}

.cta-top__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #a53439;
    color: #ffffff;
    padding: 14px 14px 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.09em;
    transition: transform 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    font-family: "ocr-b-std", monospace;
    font-size: 2rem;
}

.cta-top__button:hover {
    filter: brightness(1.05);
    color:#fff;
}

@media (max-width: 768px) {
    .cta-top__container {
        grid-template-columns: 1fr;
    }

    .cta-top__title {
        text-align: center;
    }

    .cta-top__button {
        justify-self: center;
    }

    .cta-top {
        background: linear-gradient(180deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
    }
}

/* The Road Ahead section */
.road-ahead {
    position: relative;
    background-color: #171938;
    color: #c9d3ff;
    padding: 64px 16px;
}

.road-ahead__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.road-ahead__bg img {
    position: absolute;
    right: 0;
    top: 0;
    height: 150%;
    max-width: none;
    opacity: 0.9;
}

.road-ahead__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.road-ahead__pretitle {
    margin: 0;
    font-size: 20px;
    color: #6ea1ff;
    max-width: 500px;
}

.road-ahead__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.15;
    color: #7aa2ff;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.road-ahead__text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    color: #fff;
}

@media (min-width: 992px) {
    .road-ahead__container {
        grid-template-columns: 1fr;
    }
}

/* Why Attend section */
.why-attend {
    background-color: #b5cfdf;
    padding: 14% 0 16% 0;
    z-index: 2;
    position: relative;
}

.why-attend__container {
    max-width: 1320px;
    margin: 0 auto;
}

.why-attend__title {
    margin: 0 0 16px;
    color: #4e6fb1;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3.5vw, 48px);
    position: relative;
    top: -130px;
    font-weight: 500;
}

.why-attend__grid {
    display: grid;
    grid-template-columns: 1fr 600px 1fr;
    gap: 24px;
    align-items: center;
}

.why-attend__text {
    font-size: clamp(18px, 1vw, 2vw);
    line-height: 1.4;
    color: #1b1d39;
    font-weight: 600;
}

.why-attend__text--top {
    grid-column: 3;
    align-self: start;
    position: relative;
    top: -55%;
    left: -180px;
    width: 140%;
}

.why-attend__text--top:after {
    content: '';
    display: block;
    width: 3px;
    height: 100px;
    background-color: #131623;
    position: absolute;
    top: 91%;
    left: 18%;
}

.why-attend__text--left {
    grid-column: 1;
    width: 140%;
    position: relative;
    top: 30%;
    left: -30%;
}

.why-attend__text--left:after {
    content: '';
    display: block;
    width: 268px;
    height: 3px;
    background-color: #1e2a36;
    position: absolute;
    top: -70%;
    left: 50%;
    z-index: 10;
}

.why-attend__text--left:before {
    content: '';
    display: block;
    width: 3px;
    height: 40px;
    background-color: #131623;
    position: absolute;
    top: -70%;
    left: 50%;
    z-index: 1;
}


.why-attend__text--bottom {
    grid-column: 1 / -1;
    max-width: 560px;
    position: relative;
    top: 180%;
    left: 28%;
}

/* .why-attend__text--bottom:after {
    content: '';
    display: block;
    width: 305px;
    height: 3px;
    background-color: #1e2a36;
    position: absolute;
    top: 19%;
    left: 100%;
    z-index: 10;
} */

.why-attend__text--bottom:before {
    content: '';
    display: block;
    width: 3px;
    height: 170px;
    background-color: #131623;
    position: absolute;
    top: -183%;
    left: 46%;
    z-index: 2;
}


.why-attend__video {
    position: relative;
    grid-column: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.why-attend__embed {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    max-width: 90%;
    left: 5%;
    margin-top: 1%;
}

.why-attend__embed iframe,
.why-attend__embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.why-attend__mask {
    position: absolute;
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.why-attend__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.why-attend__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border: 0;
    cursor: pointer;
    z-index: 10;
    background: transparent url('/wp-content/themes/alphacore/images/icon-play-old-tv.svg') center center / contain no-repeat;
    box-shadow: none;
    transition: filter 0.2s ease;
}

.why-attend__play:hover {
    filter: brightness(1.1);
}

.why-attend__play:before {
    content: none;
}

.why-attend__video.is-playing .why-attend__play {
    display: none;
}

.why-attend__pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border: 0;
    cursor: pointer;
    z-index: 10;
    background: transparent url('/wp-content/themes/alphacore/images/icon-pause-old-tv.svg') center center / contain no-repeat;
    box-shadow: none;
    transition: filter 0.2s ease, opacity 0.3s ease, visibility 0.3s ease, background-image 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.why-attend__pause:hover {
    filter: brightness(1.1);
}

/* Ensure button is clickable */
.why-attend__pause {
    pointer-events: auto;
}

.why-attend__pause:before {
    content: none;
}

.why-attend__video.is-playing .why-attend__pause {
    opacity: 0;
    visibility: hidden;
}

/* Show pause button on hover when video is playing */
.why-attend__video.is-playing:hover .why-attend__pause {
    opacity: 1;
    visibility: visible;
}

/* For iframe videos, show pause button when hovering over embed */
.why-attend__video.is-playing .why-attend__embed:hover ~ .why-attend__pause {
    opacity: 1;
    visibility: visible;
}

/* Also show pause button on hover for iframe videos regardless of state */
.why-attend__video .why-attend__embed:hover ~ .why-attend__pause {
    opacity: 1;
    visibility: visible;
}

/* Show play icon when video is paused */
.why-attend__video:not(.is-playing) .why-attend__pause {
    background-image: url('/wp-content/themes/alphacore/images/icon-play-old-tv.svg');
}

/* Show pause icon when video is playing */
.why-attend__video.is-playing .why-attend__pause {
    background-image: url('/wp-content/themes/alphacore/images/icon-pause-old-tv.svg');
}

@media (max-width: 1024px) {
    .why-attend__grid {
        grid-template-columns: 1fr;
    }

    .why-attend__text--top,
    .why-attend__text--left,
    .why-attend__text--bottom,
    .why-attend__video {
        grid-column: 1;
    }

    .why-attend__text--top {
        order: 1;
    }

    .why-attend__video {
        order: 2;
    }

    .why-attend__text--left {
        order: 3;
    }

    .why-attend__text--bottom {
        order: 4;
    }
}

/* Speakers */
.speakers__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.speakers__top {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 56px 0 48px;
    background:#161938;
}

.speakers__title {
    margin: 0;
    text-align: center;
    color: #fff;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 54px);
}

.speakers__list {
    position: relative;
    padding: 48px 0 72px;
    overflow: hidden;
}

.speakers__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -20vh;
    /* buffer to avoid gaps when translating */
    bottom: -20vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.speakers__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    z-index: 10;
    position: relative;
}

.speaker-card {
    background-color: #171938;
    border: 4px solid #a3c3bc;
    padding: 18px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #e4e2de;
    flex: 1 1 calc((100% - 56px) / 3);
    max-width: 380px;
    min-width: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.speaker-card__frame {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.speaker-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.speaker-card__name {
    margin-top: 16px;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    letter-spacing: 0.02em;
    font-weight: 300;
    line-height: 1.2;
}

.speaker-card__title {
    margin-top: 6px;
    font-size: .9rem;
    letter-spacing: 0.06em;
    font-weight: 300;
    font-style: italic;
}

.speaker-card__company {
    margin-top: 6px;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    color: var(--wp--preset--color--pale-cyan-blue);
}

@media (max-width: 1024px) {
    .speaker-card {
        flex: 1 1 calc((100% - 28px) / 2);
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .speaker-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Speaker card plus button */
.speaker-card__plus {
    position: absolute;
    top: 2%;
    right: 0%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: url(/wp-content/themes/alphacore/images/icon-plus-lp.svg) center center / contain no-repeat;
    text-indent: -9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.speaker-card__plus:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Speaker Spotlight */
.spotlight {
    background-color: #171938;
    padding: 72px 16px;
}

.spotlight__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.spotlight__title {
    margin: 0 0 12px;
    color: #4f66aa;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 54px);
}

.spotlight__text {
    color: #fff;
    max-width: 880px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-size: 18px;
}

.spot-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.spot-card {
    flex: 1 1 calc((100% - 84px) / 4);
    max-width: 320px;
    min-width: 240px;
    z-index: 4;
    position: relative;
    transition: all 0.3s ease;
}


.spot-card__inner {
    position: relative;
    padding: 1px;
    /* gradient border */
    background: linear-gradient(180deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
}

.spot-card__media {
    background: #0f1230;
    position: relative;
    pointer-events: none;
}

.spot-card__media img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 3;
}

.spot-card__meta {
    background: #4f66aa;
    color: #fff;
    text-align: left;
    padding: 6px 18px 4px;
    position: relative;
    z-index: 1;
    min-height: 130px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
}

.spot-card__name {
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 300;
}

.spot-card__role {
    font-size: .9rem;
}

.spot-card__learn {
    position: absolute;
    top: 10px;
    left: 0;
    background: linear-gradient(90deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
    color: #171938;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 14px 2px 10px;
    border-radius: 0px 50px 50px 0px;
    z-index: 2;
    pointer-events: auto;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
}

.spot-card__learn:hover {
    filter: brightness(1.1);
}

/* Spot card plus button */
.spot-card__plus {
    position: absolute;
    top: 2%;
    right: -2%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: url(/wp-content/themes/alphacore/images/icon-plus-lp.svg) center center / contain no-repeat;
    text-indent: -9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.spot-card__plus:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Agenda */
.agenda {
    background: #171938;
    padding: 60px 16px 80px;
    position: relative;
}

.agenda__container {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.agenda::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/alphacore/images/lines-zig-zag-01.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 70%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    top: -20%;
    left: -2%;
}

.agenda__container:before {
    content: '';
    position: absolute;
    inset: -8px -8px -8px -8px;
    background: linear-gradient(101deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
    border-radius: 18px;
    z-index: 0;
}

.agenda__title {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    text-align: center;
    color: #e4e2de;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 3.8vw, 40px);
    font-weight: 500;
}

.agenda__list {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 2rem 6rem 2rem 6rem;
    list-style: none;
    background: #171938;
    border-radius: 12px;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 300;
}

.agenda__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: start;
    padding: 14px 0;
    position: relative;
    border-bottom: none;
}

.agenda__item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, #fcf262 0%, #f4c846 45%, #d64d43 100%);
    opacity: 0.5;
}

.agenda__item:last-child::after {
    display: none;
}

.agenda__time {
    color: #e4e2de;
    opacity: 0.9;
    font-weight: 500;
}

.agenda__session {
    color: #e4e2de;
}

@media (max-width: 640px) {
    .agenda__item {
        grid-template-columns: 100px 1fr;
        gap: 12px;
    }
}

@media (max-width: 1200px) {
    .spot-card {
        flex: 1 1 calc((100% - 56px) / 3);
        max-width: 360px;
    }
}

@media (max-width: 800px) {
    .spot-card {
        flex: 1 1 calc((100% - 28px) / 2);
        max-width: 520px;
    }
}

@media (max-width: 480px) {
    .spot-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Delorean CTA */
.delorean-cta {
    background: #171938;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 60vh;
    position: relative;
    z-index: 2;
}

.delorean-cta__container {
    position: relative;
}

.delorean-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/wp-content/themes/alphacore/images/lines-zig-zag-02.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    top: -40%;
}

.delorean-cta__button {
    display: inline-block;
    background: #a53439;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: "ocr-b-std", monospace;
    font-size: clamp(18px, 2.4vw, 38px);
    padding: 18px 24px 16px 28px;
    border-radius: 6px;
    position: absolute;
    bottom: 20%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}

.delorean-cta__img {
    z-index: 3;
    position: relative;
    max-width: 100%;
}

.delorean-cta__button:hover {
    filter: brightness(1.05);
    color:#fff;
}

/* Gallery Slider */
.gallery-slider {
    background: #4f66aa;
    padding: 48px 16px;
    position: relative;
}

.gallery-slider__container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider__title {
    color: #fff;
    text-align: center;
    margin: 0 0 20px;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(26px, 3vw, 44px);
}

.gallery-slider__viewport {
    position: relative;
}

.gallery-slider__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 30px;
}

.gallery-slider__track::-webkit-scrollbar {
    height: 10px;
}

.gallery-slider__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.gallery-slider__slide {
    scroll-snap-align: start;
}

.gallery-slider__zoom {
    display: block;
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.gallery-slider__zoom img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.gallery-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.gallery-slider__nav::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/alphacore/images/arrow-right.svg') center center / contain no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.gallery-slider__nav--prev {
    left: -4rem;
}

.gallery-slider__nav--prev::before {
    transform: scaleX(-1);
}

.gallery-slider__nav--next {
    right: -4rem;
}

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    box-sizing: border-box;
}

.et_pb_scroll_top.et-pb-icon {
    z-index: 99997 !important;
}

.gallery-lightbox[hidden] {
    display: none;
}


.gallery-lightbox__img {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 2px;
    background: #ffffff;
    transform-origin: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.gallery-lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-lightbox__close:hover {
    opacity: 0.9;
}

.gallery-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.gallery-lightbox__arrow::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/alphacore/images/arrow-right.svg') center center / contain no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.gallery-lightbox__arrow--prev {
    left: 22px;
}

.gallery-lightbox__arrow--prev::before {
    transform: scaleX(-1);
}

.gallery-lightbox__arrow--next {
    right: 22px;
}

/* Storm hero test */
.hero-btf__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-btf__bg canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-btf {
    position: relative;
}

.hero-btf .hero-btf__content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .gallery-lightbox {
        padding: 10px;
    }
    
    .gallery-lightbox__img {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .gallery-lightbox__arrow {
        top: 90%;
    }
    
    .gallery-lightbox__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .gallery-lightbox__close::before,
    .gallery-lightbox__close::after {
        width: 20px;
    }
}

/* Sponsors */
.sponsors {
    background: #e4e2de;
    padding: 56px 16px 72px;
}

.sponsors__container {
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors__title {
    margin: 0 0 24px;
    text-align: center;
    color: #171938;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(26px, 3.4vw, 48px);
}

.sponsors__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.sponsor-card__box {
    position: relative;
    background: #fff;
    border-radius: 2px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.sponsor-card__img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-card__plus {
    position: absolute;
    bottom: -10%;
    right: -10%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: url(/wp-content/themes/alphacore/images/icon-plus-lp.svg) center center / contain no-repeat;
    text-indent: -9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.sponsor-card__plus:hover {
    transform: translateX(-50%) scale(1.1);
}

@media (max-width: 1024px) {
    .sponsors__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sponsors__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sponsors__grid {
        grid-template-columns: 1fr;
    }
}

/* Venue */
.venue {
    background: #e4e2de;
    padding: 56px 0 0 0;
}

.venue__container {
    max-width: 1200px;
    margin: 0 auto;
}

.venue__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.venue__title {
    margin: 0;
    color: #4f66aa;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 71px);
    position: relative;
    top: 20%;
}

.venue__plate {
    width: min(100%, 600px);
    justify-self: end;
    height: auto;
    position: relative;
    top: 30%;
    z-index: 1;
}

.venue__image-wrap {
    margin-top: 16px;
    position: relative;
    height: 60vh;
    min-height: 360px;
    max-height: 780px;
    overflow: hidden;
}

.venue__image-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -15vh;
    bottom: -15vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    will-change: transform;
    pointer-events: none;
}

.venue__cta {
    text-align: center;
    margin-top: 20px;
}

.venue__button {
    display: inline-block;
    background: #a53439;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: "ocr-b-std", monospace;
    font-size: clamp(18px, 2.4vw, 38px);
    padding: 18px 24px 16px 28px;
    border-radius: 6px;
    z-index: 1;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}

.venue__button:hover {
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .venue__header {
        grid-template-columns: 1fr;
    }

    .venue__plate {
        justify-self: center;
    }
}

/* Car layer in hero */
.hero-btf__car {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
}

.hero-btf__car-inner {
    position: relative;
    will-change: transform;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
    animation: hero-car-float 6s ease-in-out infinite;
}

.hero-btf__car-img {
    display: block;
    width: min(82vw, 860px);
    height: auto;
}

@keyframes hero-car-float {
    0% {
        transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 6px), 0);
    }

    50% {
        transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + 6px), 0);
    }

    100% {
        transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 6px), 0);
    }
}



/* START DEPARTED TIME */
.outer {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-image: url('/wp-content/themes/alphacore/images/time-metal-bg-02.jpg');
    box-shadow: 5px 5px 13px 3px rgb(0 0 0 / 45%);
    -webkit-box-shadow: 5px 5px 13px 3px rgb(0 0 0 / 45%);
    z-index: 3;
    transform: scale(0.7);
    padding: 20px 30px 20px 30px;
}

.row.time {
    display: flex;
    gap: 10px;
}

.row.location {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}
.header-label {
    background-color: #B32534;
    color: #E4E2DE;
    font-family: "ocr-b-std", monospace;
    line-height: 1.2;
    font-size: clamp(16px, 2.55vmin, 2.55vmin);
    padding: 2px 5px 0px 5px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.664);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0px;
    width: 100%;
    flex: 1;
    word-spacing: -8px;
}

@media (max-width: 500px) {
    .header-label {
        letter-spacing: -1.3px;
        line-height: 1;
        padding: 4px 5px 2px 5px;
    }
    #departed .row .display {
        padding: 2px 2px!important;
    }
    .cta-top__button {
        letter-spacing: 0.02em;
        max-width: 100%;
    }
}

@media (max-width: 413px) {
    .header-label {
        font-size: clamp(14px, 2.85vmin, 2.85vmin);
    }
}

.display {
    position: relative;
    background-color: #171717;
    border-radius: 2px;
    min-height: 12vmin;
    text-align: center;
    font-weight: lighter;
    font-family: 'Digital Numbers', sans-serif!important;
    color: #ffdbe0;
    font-size: 14vmin;
    display: grid;
    place-items: center;
    white-space: nowrap;
    --char-width: 1ch;
    --char-gap: 4px;
    font-variant-numeric: tabular-nums;
    border: solid 1px #ffffffe8;
    font-weight: unset!important;
}

.display p {
    font-family: 'Digital Numbers', sans-serif!important;
    font-weight: unset!important;
}

.display .time {
    position: relative;
    margin: 0px;
    padding: 0px;
    -webkit-animation: none;
    animation: none;
    z-index: 5;

}

.display.month { width: max-content; }
.display.day { width: max-content; }
.display.year { width: max-content; }

/* @media (min-width: 1024px) {
    .display.year {
        min-width: 240px;
    }
} */

.display .departed,
.display .number-back {
    grid-area: 1 / 1; /* overlap */
    width: auto; /* let intrinsic content decide width */
    display: flex; /* lay out individual characters */
    gap: var(--char-gap);
    margin: 0; /* avoid default p margins shifting size */
}

.display .number-back {
    position: relative;
    color: #303030;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .display .number-back {
        top: 15px;
    }
}

.display .departed {
    position: relative;
    z-index: 2;
}

/* fixed width for each character so the background defines exact measure */
.display .char,
.display .char-back {
    display: inline-block;
    width: var(--char-width);
    text-align: center;
}

/* independent flicker per character */
.display .departed .char {
    -webkit-animation: text-flicker-in-glow 0.2s linear infinite;
    animation: text-flicker-in-glow 0.2s linear infinite;
}
.display .departed .char:nth-child(2n) { animation-duration: 0.45s; }
.display .departed .char:nth-child(3n) { animation-duration: 0.5s; }
.display .departed .char:nth-child(5n) { animation-duration: 0.6s; }

.display .departed {
    color:#FBC617;
    filter: brightness(1.05);
    text-shadow:
                0 0 1px #ffc0044d,
                0 0 1px #ffc0044d,
                0 0 1px rgba(255, 255, 255, 0.418),
                0 0 1px #ffc0044d,
                0 0 10px #ffc0044d,
                0 0 10px #ffc0044d;
}

#departed .row .display {
    padding: 8px 6px;
    margin: 0;
    box-shadow: inset 0 0 9px -2px #fff;
}

.month { letter-spacing: 0; }

/* Final blink when animation ends */
#departed.final-blink .display .departed .char {
	-webkit-animation: destination-final-blink 2.5s linear 2 both !important;
	        animation: destination-final-blink 2.5s linear 2 both !important;
}

@-webkit-keyframes destination-final-blink {
	0% { opacity: 1; }
	5% { opacity: 0.2; }
	10% { opacity: 1; }
	50% { opacity: 1; }
	55% { opacity: 0.2; }
	60% { opacity: 1; }
	100% { opacity: 1; }
}
@keyframes destination-final-blink {
	0% { opacity: 1; }
	5% { opacity: 0.2; }
	10% { opacity: 1;}
	50% { opacity: 1; }
	55% { opacity: 0.2; }
	60% { opacity: 1; }
	100% { opacity: 1; }
}

/* After reaching final date: keep flicker but remove brightness filter */
#departed.final-stable .display .departed {
	filter: none !important;
}
#departed.final-stable .display .departed .char {
	-webkit-animation-name: text-flicker-no-filter !important;
	        animation-name: text-flicker-no-filter !important;
}

@-webkit-keyframes text-flicker-no-filter {
	0% { opacity: 1; }
	30% { opacity: 0.9; }
	50% { opacity: 0.9; }
	70% { opacity: 1; }
	100% { opacity: 0.9; }
}
@keyframes text-flicker-no-filter {
	0% { opacity: 1; }
	30% { opacity: 0.9; }
	50% { opacity: 0.9; }
	70% { opacity: 1; }
	100% { opacity: 0.9; }
}

/* animations */
@-webkit-keyframes text-flicker-in-glow {
    0% {
        opacity: 1;
        filter: brightness(1.05);
    }

    30% {
        opacity: 0.9;
        filter: brightness(0.7);
    }

    50% {
        opacity: 0.9;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
        filter: brightness(1.02);
    }
}

@keyframes text-flicker-in-glow {
    0% {
        opacity: 1;
        filter: brightness(1.05);
    }

    30% {
        opacity: 0.9;
        filter: brightness(0.7);
    }

    50% {
        opacity: 0.9;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
        filter: brightness(1.02);
    }
}

@-webkit-keyframes blinky {
    50% {
        opacity: 0;
    }
}

@keyframes blinky {
    50% {
        opacity: 0;
    }
}

/* END DEPARTED TIME */

/* Footer CTA */
.footer-cta {
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 0!important;
}

.footer-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}
.footer-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.footer-cta__lines {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    z-index: 1;
    pointer-events: none;
}

.footer-cta__container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 48px 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.footer-cta__left {
    display: flex;
    align-items: center;
    width: 100%;
}

.footer-cta__logo img {
    display: block;
    width: min(43vw, 100%);
    height: auto;
    position: relative;
    left: 8vw;
}

.footer-cta__action { text-align: right; }

.footer-cta__button {
    display: inline-block;
    background: #a53439;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: "ocr-b-std", monospace;
    font-size: clamp(14px, 2vw, 28px);
    padding: 14px 20px 12px 24px;
    border-radius: 6px;
    transform: translate(0%, 30%);
    text-transform: uppercase;
    position: absolute;
    right: 20%;
    top: 40%;
}

.footer-cta__button:hover {
    filter: brightness(1.05);
    color:#fff;
}

.footer-cta__right {
    margin-left: auto;
    color: #e4e2de;
    position: relative;
    z-index: 2;
    right: 1%;
}

.footer-cta__date {
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    z-index: 2;
    position: relative;
    color: #a67d49;
    font-size: 3rem;
}

.footer-cta__venue {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 1.3;
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.footer-cta__shape {
    position: absolute;
    right: -160%;
    top: 50%;
    transform: translateY(-50%);
    min-width: 500px;
    z-index: 1;
    pointer-events: none;
    height: auto;
}

@media (max-width: 768px) {
    .footer-cta__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-cta__left { justify-content: center; }
    .footer-cta__action { text-align: center; }
    .footer-cta__right { text-align: center; margin-left: 0; }
    .footer-cta__shape { right: -18%; width: min(60vw, 420px); }
}



@media (max-width: 1200px) {
    .why-attend__title {
        margin: 0;
        top: unset;
        max-width: 100%;
    }
    .why-attend__text--top {
        top: unset;
        left: unset;
        max-width: 100%;
    }
    .why-attend__text--bottom {
        top: unset;
        left: unset;
        max-width: 100%;
    }
    .why-attend__text--left {
        top: unset;
        left: unset;
        max-width: 100%;
    }
    .why-attend__video {
        margin: 10rem 0;
    }

    .why-attend__text--left:before,
    .why-attend__text--right:before,
    .why-attend__text--right:after,
    .why-attend__text--top:after,
    .why-attend__text--bottom:after,
    .why-attend__text--left:after,
    .why-attend__text--right:after,
    .why-attend__bottom:before,
    .why-attend__text--bottom:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .road-ahead__bg img {
        opacity: 0.05;
    }

    .agenda__list {
        padding: 2rem 1rem 2rem 1rem;
    }
    .agenda__container:before {
        inset: -4px -4px -4px -4px;
    }
    
    
    .delorean-cta {
        min-height: 40vh;
    }
    .delorean-cta::before {
        background-size: 300%;
        top: -180%;
    }
    .delorean-cta__button {
        transform: translate(-50%, 0%);
        width: 70%;
    }
    .delorean-cta__container {
        overflow: hidden;
    }
    .delorean-cta__img {
        width: 150%;
        max-width: 150%;
        transform: translate(20%, 0%);
        left: -55%;
    }

    .sponsor-card__plus {
        bottom: 2%;
        right: -2%;
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .speaker-card__plus,
    .spot-card__plus {
        bottom: 2%;
        right: -2%;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .venue__title {
        text-align: center;
        font-size: 3rem;
    }
    .venue__plate {
        justify-self: center;
        width: 90%;
        margin-top: -1.5rem;
    }


    .venue__image-wrap {
        margin-top: -30px;
        height: 50vh;
        min-height: 0px;
    }

    .gallery-slider__nav {
        display: none;
    }

    #et-main-area {
        overflow: hidden;
    }
    .why-attend {
        padding: 14% 5% 20% 5%;
    }
    .venue__image-bg {
        background-position: 28%;
    }
    .venue__button {
        width: 70%;
        bottom: 30%;
    }
}

@media (max-width: 1402px) {
    .why-attend__text--left {
        width: 100%;
        top: 34%;
        left: -10%;
    }
    .why-attend__text--left:after {
        width: 233px;
    }
}

@media (max-width: 1272px) {
    .why-attend__text--left {
        width: 100%;
        top: 34%;
        left: 0;
    }
    .why-attend__text--left:after {
        width: 183px;
    }
}
@media (max-width: 1232px) {
    .why-attend {
        padding: 14% 5% 20% 5%;
    }
}
@media (min-width: 1025px) and (max-width: 1200px) {
    .why-attend {
        padding: 6% 5% 6% 5%;
    }
    .why-attend__title {
        top: 80px;
    }
    .why-attend__grid {
        grid-template-columns: 1fr 50%;
        align-items: stretch;
    }
    .why-attend__text--top {
        grid-column: 1;
        grid-row: 1;
        width: 92%;
        top: 26%;
    }
    .why-attend__text--left {
        grid-column: 1;
        grid-row: 1;
        width: 92%;
        top: 46%;
        left: 0;
    }
    .why-attend__text--bottom {
        grid-column: 1;
        grid-row: 1;
        width: 92%;
        top: 66%;
    }
    .why-attend__video {
        margin: 7rem 0;
    }
}

@media (max-width: 1024px) {
    .why-attend {
        padding: 5%;
    }
    .why-attend__video {
        margin: 13rem 0 11rem 0;
    }
    p:not(.has-background):last-of-type {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .why-attend__video {
        margin: 10rem 0 7rem 0;
    }
}

@media (max-width: 768px) {
    .outer {
        transform: scale(.95);
        margin-top: 2rem;
    }
}

@media (max-width: 1506px) {
    .footer-cta__logo img {
        width: min(44vw, 100%);
        left: 10vw;
    }
    .footer-cta__button {
        right: 23%;
    }
}

@media (max-width: 1326px) {
    .footer-cta__logo img {
        width: min(44vw, 100%);
        left: 10vw;
    }
    .footer-cta__button {
        right: 23%;
    }
    .footer-cta__lines {
        left: -5%;
    }
    .footer-cta__shape {
        right: -180%;
    }
}

@media (min-width: 769px) and (max-width: 1150px) {
    .footer-cta__logo img {
        width: min(34vw, 80%);
        left: 7vw;
    }
    .footer-cta__button {
        right: 30%;
        top: 33%;
    }
    .footer-cta__date {
        font-size: 2.5rem;
    }
    .footer-cta__venue {
        font-size: 1.2rem;
    }
    .footer-cta__shape {
        right: -240%;
    }
    .footer-cta__lines {
        left: -12%;
    }
    .footer-cta {
        height: 220px;
        border-radius: 0!important;
    }
}


@media (max-width: 768.98px) {
    .footer-cta__container {
        flex-direction: column;
    }
    .footer-cta {
        height: 600px;
        border-radius: 0!important;
    }
    .footer-cta__lines {
        left: -14%;
        height: 192px;
        top: 0;
    }
    .footer-cta__logo img {
        width: 80%;
        left: 10%;
    }
    .footer-cta__right {
        text-align: center;
        margin-left: 0;
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-cta__button {
        right: 50%;
        transform: translate(50%, 60%);
        width: 70%;
    }
    .footer-cta__shape {
        right: 50%;
        transform: translate(50%, -25%);
    }
}

@media (max-width: 500px) {
    .footer-cta__container {
        flex-direction: column;
    }
    .footer-cta {
        height: 600px;
        border-radius: 0!important;
    }
    .footer-cta__lines {
        left: -14%;
        height: 192px;
        top: 0;
    }
    .footer-cta__logo img {
        width: 80%;
        left: 10%;
    }
    .footer-cta__right {
        text-align: center;
        margin-left: 0;
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-cta__button {
        right: 50%;
        transform: translate(50%, -10%);
        width: 70%;
    }
    .footer-cta__shape {
        right: 50%;
        transform: translate(50%, -25%);
    }
}

.modal-open {
    overflow: unset;
}

/* Bootstrap Modal Custom Styles */
.modal-content {
    background: #171938;
    border: 3px solid #a3c3bc;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 100%;
}

.modal-header {
    background: #171938;
    border-bottom: none;
}

.modal-title {
    color: #e4e2de;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    background: #171938;
    color: #e4e2de;
    overflow-y: auto;
    padding: 2rem;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(163, 195, 188, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4f66aa 0%, #a3c3bc 100%);
    border-radius: 4px;
    border: 1px solid rgba(163, 195, 188, 0.3);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a75c0 0%, #b4d4cd 100%);
}

/* Firefox scrollbar */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #4f66aa rgba(163, 195, 188, 0.1);
}

.ja_wrap {
    z-index: 9999999;
}

/* Removed old modal styles - now using Bootstrap */

/* Speaker Modal Content Styles */
.speaker-modal__image  {
    position: sticky;
    top: 0;
}

.speaker-modal__image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 2px solid #a3c3bc;
}

.speaker-modal__name {
    margin: 0;
    color: #e4e2de;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.speaker-modal__title {
    margin: 0 0 24px;
    color: var(--wp--preset--color--pale-cyan-blue);
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.speaker-modal__bio {
    color: #e4e2de;
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}

.speaker-modal__bio h3{
    color: #e4e2de;
}

.speaker-modal__bio p {
    margin: 0 0 16px;
    line-height: 26px;
    font-weight: 300;
}

.speaker-modal__bio p:last-child {
    margin-bottom: 0;
}

/* Removed old modal styles - now using Bootstrap */

/* Responsive adjustments for Bootstrap modals */
@media (max-width: 768px) {
    .speaker-modal__name {
        font-size: 2rem;
        text-align: center;
    }
    
    .speaker-modal__title {
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .speaker-modal__name {
        font-size: 1.8rem;
    }
}

/* Sponsor Modal Content Styles */
.sponsor-modal__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border: none;
}

/* White logo filter for modal */
.sponsor-modal__image--white {
    filter: brightness(100) grayscale(1);
}

.sponsor-modal__name {
    margin: 0;
    color: #e4e2de;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.sponsor-modal__tier {
    margin: 0 0 24px;
    color: var(--wp--preset--color--pale-cyan-blue);
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sponsor-modal__bio {
    color: #e4e2de;
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}

.sponsor-modal__bio h3{
    color: #e4e2de;
}

.sponsor-modal__bio p {
    margin: 0 0 16px;
}

.sponsor-modal__bio p:last-child {
    margin-bottom: 0;
}

/* Removed old sponsor modal styles - now using Bootstrap */

.sponsor-modal__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border: none;
}

/* White logo filter for modal */
.sponsor-modal__image--white {
    filter: brightness(100) grayscale(1);
}

.sponsor-modal__info {
    flex: 1;
    min-width: 0;
}

.sponsor-modal__name {
    margin: 0;
    color: #e4e2de;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.sponsor-modal__tier {
    margin: 0 0 24px;
    color: var(--wp--preset--color--pale-cyan-blue);
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sponsor-modal__bio {
    color: #e4e2de;
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}

.sponsor-modal__bio h3{
    color: #e4e2de;
}

.sponsor-modal__bio p {
    margin: 0 0 16px;
}

.sponsor-modal__bio p:last-child {
    margin-bottom: 0;
}

/* Sponsor Card Tier Styles */
.sponsor-card__tier {
    position: absolute;
    color: #171938;
    font-family: 'Red Hat Display', Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    width: 100%;
    word-wrap: break-word;
    text-align: center;
    top: 1rem;
}

.sponsor-card__link {
    display: block;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    margin-top: 1rem;
}

.sponsor-card__link:hover {
    transform: scale(1.025);
}

/* Responsive adjustments for sponsor modal */
@media (max-width: 768px) {
    .sponsor-modal__body {
        flex-direction: column;
        gap: 24px;
        padding: 30px 24px;
    }
    
    .sponsor-modal__image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        position: unset;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sponsor-modal__name {
        font-size: 2rem;
        text-align: center;
    }
    
    .sponsor-modal__tier {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .sponsor-modal__close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
    .sponsor-modal__content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .sponsor-modal__content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        max-width: 100%;
    }

    .sponsor-modal__body {
        padding: 24px 20px;
    }
    
    .sponsor-modal__name {
        font-size: 1.8rem;
    }
}


@media (max-width: 1330px) {
    .gallery-slider__nav {
        display: none;
    }
}

.image-banner__container img {
    width: 100%;
    z-index: 2;
    position: relative;
}