/* Temporary expopharm popup. Delete this include to remove all popup styles. */
.expo-popup {
    width: min(760px, calc(100% - 32px));
    max-width: 760px;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: #10233d;
    box-shadow: 0 28px 80px rgba(13, 46, 80, .24);
    overflow: auto;
}

.expo-popup::backdrop {
    background: rgba(9, 30, 52, .62);
    backdrop-filter: blur(4px);
}

.expo-popup__card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(111, 166, 205, .35);
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9fc 100%);
}

.expo-popup__close-form {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    margin: 0;
}

.expo-popup__close-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(16, 35, 61, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #10233d;
    font: inherit;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.expo-popup__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 34px 72px 26px;
    background: #ffffff;
    border-bottom: 1px solid rgba(111, 166, 205, .22);
}

.expo-popup__logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    max-height: 118px;
    object-fit: contain;
}

.expo-popup__logo-fallback {
    padding: 40px 72px 28px;
    border-bottom: 1px solid rgba(111, 166, 205, .22);
    background: #ffffff;
    color: #c60063;
    font-size: clamp(2.6rem, 9vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    text-align: center;
}

.expo-popup__content {
    padding: 34px clamp(28px, 6vw, 52px) 42px;
}

.expo-popup__eyebrow {
    margin: 0 0 10px;
    color: #426f94;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.expo-popup h2 {
    max-width: 18ch;
    margin: 0;
    color: #0d2e50;
    font-size: clamp(1.85rem, 5vw, 2.7rem);
    line-height: 1.08;
}

.expo-popup__date {
    margin: 18px 0 0;
    color: #1e5b86;
    font-weight: 700;
}

.expo-popup__text {
    max-width: 58ch;
    margin: 18px 0 0;
    color: #40546a;
    line-height: 1.7;
}

.expo-popup__location {
    margin: 26px 0 0;
    overflow: hidden;
    border: 1px solid rgba(111, 166, 205, .28);
    border-radius: 18px;
    background: #ffffff;
}

.expo-popup__location figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 18px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(111, 166, 205, .22);
}

.expo-popup__location figcaption strong {
    color: #0d2e50;
    font-size: .96rem;
}

.expo-popup__location figcaption span {
    color: #5c6f82;
    font-size: .82rem;
}

.expo-popup__location img {
    display: block;
    width: 100%;
    height: auto;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.expo-popup__map-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 11px 16px 13px;
    border-top: 1px solid rgba(111, 166, 205, .18);
    color: #6b7d8f;
    font-size: .76rem;
}

.expo-popup__map-footer a {
    color: #0d2e50;
    font-weight: 700;
    text-decoration: none;
}

.expo-popup__map-footer a:hover,
.expo-popup__map-footer a:focus-visible {
    text-decoration: underline;
}

.expo-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.expo-popup__actions form {
    margin: 0;
}

.expo-popup__primary,
.expo-popup__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.expo-popup__primary {
    border: 1px solid #0d2e50;
    background: #0d2e50;
    color: #ffffff;
}

.expo-popup__secondary {
    border: 1px solid rgba(13, 46, 80, .22);
    background: transparent;
    color: #0d2e50;
}

.expo-popup__primary:hover,
.expo-popup__primary:focus-visible {
    background: #174f7c;
    border-color: #174f7c;
    color: #ffffff;
}

.expo-popup__secondary:hover,
.expo-popup__secondary:focus-visible,
.expo-popup__close-icon:hover,
.expo-popup__close-icon:focus-visible {
    background: #edf5fa;
}

@media (max-width: 560px) {
    .expo-popup {
        width: min(100% - 20px, 760px);
    }

    .expo-popup__logo-wrap {
        min-height: 130px;
        padding: 30px 54px 22px 30px;
    }

    .expo-popup__logo-fallback {
        padding: 36px 54px 24px 30px;
        text-align: left;
    }

    .expo-popup__content {
        padding: 28px 24px 30px;
    }

    .expo-popup__location img {
        max-height: 300px;
    }

    .expo-popup__map-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .expo-popup__actions,
    .expo-popup__actions form,
    .expo-popup__primary,
    .expo-popup__secondary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expo-popup::backdrop {
        backdrop-filter: none;
    }
}
