.event-header-cta,
.event-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.event-header-cta:focus-visible,
.event-button:focus-visible,
.event-registration-head button:focus-visible {
    outline: 3px solid rgba(17, 183, 217, .42);
    outline-offset: 3px;
}

.event-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 30px;
    padding: 24px 26px;
    border: 1px solid #cfe0f6;
    border-radius: 16px;
    background: #f7fbff;
}

.event-inline-cta div {
    display: grid;
    gap: 5px;
}

.event-inline-cta strong {
    color: var(--event-navy);
    font-size: 17px;
}

.event-inline-cta span {
    color: var(--event-muted);
    font-size: 13px;
    line-height: 1.55;
}

.event-inline-cta-soft {
    background: #fff;
}

.event-register-card {
    padding: 34px;
    border: 1px solid var(--event-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 55px rgba(24, 65, 125, .13);
}

.event-register-card h3 {
    margin: 0 0 10px;
    color: var(--event-navy);
    font-size: 25px;
    line-height: 1.25;
}

.event-register-card .event-kicker {
    margin-bottom: 10px;
}

.event-register-card p {
    margin: 0 0 23px;
}

.event-register-card small {
    display: block;
    margin-top: 13px;
    color: #718098;
    font-size: 11px;
}

.event-dialog-open {
    overflow: hidden;
}

.event-registration-dialog[hidden] {
    display: none;
}

.event-registration-dialog {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.event-registration-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 19, 47, .76);
    backdrop-filter: blur(5px);
}

.event-registration-modal {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    padding: 30px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(3, 16, 43, .38);
}

.event-registration-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6edf7;
}

.event-registration-head .event-kicker {
    margin: 0 0 6px;
}

.event-registration-head h2 {
    margin: 0;
    color: var(--event-navy);
    font-size: 30px;
}

.event-registration-head button {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef4fc;
    color: var(--event-navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.event-registration-intro {
    margin: 17px 0 6px;
    color: var(--event-muted);
    font-size: 13px;
    line-height: 1.6;
}

.event-registration-modal .event-form-slot {
    min-height: 420px;
}

@media (max-width: 700px) {
    .event-inline-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .event-inline-cta .event-button {
        width: 100%;
    }

    .event-registration-dialog {
        padding: 12px;
    }

    .event-registration-modal {
        max-height: 94vh;
        padding: 22px;
        border-radius: 17px;
    }

    .event-registration-head h2 {
        font-size: 25px;
    }

    .event-registration-head button {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .event-register-card {
        padding: 24px;
    }
}
