:root {
    --carrera-navy: #1d294b;
    --carrera-gold: #b39448;
}

.event-hero {
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(1rem, 4vw, 4rem) clamp(.75rem, 4vw, 3rem);
}

.event-hero-logo {
    display: block;
    width: min(100%, 75rem);
    height: auto;
}

.event-details-section {
    position: relative;
    padding: clamp(2rem, 5vw, 4.5rem) 0 3rem;
    overflow: hidden;
}

.event-details-splash {
    position: absolute;
    z-index: 0;
    right: -1rem;
    bottom: -14rem;
    width: clamp(16rem, 31vw, 29rem);
    height: auto;
    pointer-events: none;
}

.event-details-section > .container,
.event-details-section > .event-welcome-area {
    position: relative;
    z-index: 1;
}

.event-info-card {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 4rem);
    border-radius: 2.5rem;
    background: #fff;
    color: var(--carrera-navy);
    box-shadow: 0 .8rem 1.8rem rgba(18, 43, 85, .14);
}

.event-info-heading {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.04;
}

.event-info-heading p,
.event-info-heading h2 {
    margin: 0;
}

.event-info-heading p:first-child {
    color: #050505;
    font-size: clamp(1.15rem, 2vw, 1.75rem);
}

.event-info-heading h2 {
    color: var(--carrera-gold);
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
}

.event-info-heading p:last-child {
    font-size: clamp(1.05rem, 1.9vw, 1.65rem);
    font-weight: 400;
}

.event-info-divider {
    height: 2px;
    margin: clamp(1.2rem, 2.8vw, 2rem) 0;
    background: var(--carrera-navy);
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 3.4vw, 3rem) clamp(1rem, 3vw, 3.5rem);
    align-items: start;
}

.event-info-item {
    display: grid;
    gap: .2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
}

.event-info-item span {
    color: #9fa1a8;
    font-size: clamp(1rem, 1.55vw, 1.35rem);
    font-weight: 700;
}

.event-info-item strong {
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 700;
}

.event-costs strong {
    display: grid;
    grid-template-columns: max-content minmax(0, 15rem);
    justify-content: center;
    align-items: start;
    column-gap: .25rem;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.event-costs strong > span {
    color: #000;
}

.event-costs strong:first-of-type {
    color: #000;
}

.event-costs strong + strong {
    margin-top: .25rem;
}

.event-costs small {
    display: block;
    font-size: .68em;
    line-height: 1.1;
}

.event-info-action {
    display: grid;
    place-items: center;
    min-height: 100%;
}

.event-info-action button {
    width: min(100%, 14rem);
    border: 0;
    border-radius: 1.25rem;
    padding: .7rem 1rem;
    background: var(--carrera-gold);
    color: #fff;
    font: 700 clamp(1.1rem, 1.8vw, 1.45rem) 'Montserrat', sans-serif;
}

.event-access-row {
    padding-top: clamp(1.5rem, 3vw, 2.4rem);
    padding-bottom: 0;
}

.event-access-button {
    width: 100%;
    border: 0;
    border-radius: 1.25rem;
    padding: .7rem 1rem;
    background: #fff;
    color: var(--carrera-navy);
    font: 700 clamp(1.1rem, 1.8vw, 1.45rem) 'Montserrat', sans-serif;
    line-height: 1.15;
    box-shadow: 0 .45rem 1rem rgba(18, 43, 85, .12);
}

.event-access-button svg {
    width: 1.1em;
    height: 1.1em;
    margin-left: .25em;
    vertical-align: -.12em;
}

.event-welcome-area {
    position: relative;
    min-height: clamp(16rem, 20vw, 21rem);
    overflow: hidden;
}

.event-welcome {
    position: relative;
    z-index: 1;
}

.event-welcome-content {
    position: relative;
    z-index: 1;
}

.event-hashtag {
    margin: clamp(2rem, 4vw, 3.5rem) 0 0;
    color: #fff;
    font-family: Impact, 'Arial Narrow', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    text-align: center;
}

.bg-carrera {
    background-image: url('/PortalWebEstatal/CarreraFGE/Media/img/inicio-banner-background-azul.png');
    background-size: 110% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

@media (max-width: 768px) {
    .event-hero {
        padding-block: 1.5rem;
    }

    .event-details-section {
        padding-top: 2rem;
    }

    .event-info-card {
        border-radius: 1.75rem;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .event-info-action {
        order: -1;
    }

    .event-info-action button {
        width: min(100%, 18rem);
    }

    .event-welcome-area {
        min-height: 18rem;
    }

    .event-hashtag {
        margin-top: 2rem;
        font-size: clamp(1.75rem, 10vw, 2.6rem);
    }

    .event-details-splash {
        right: -2rem;
        bottom: -9rem;
        width: 17rem;
    }

    .bg-carrera {
        background-image: url('/PortalWebEstatal/CarreraFGE/Media/img/inicio-banner-background-azul.png');
        background-size: 1600px;
        background-repeat: no-repeat;
        background-position: center top;
    }

}

@media (max-width: 992px) {
    .rounded-pill {
        border-radius: 3rem !important;
    }
}
