html.shaxi-event-promotion-open,
html.shaxi-event-promotion-open body {
    overflow: hidden;
}

dialog.shaxi-event-promotion {
    width: min(520px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #234575;
    border-radius: 20px;
    background: #0d2d5e;
    color: #fff;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    box-shadow: 0 24px 80px rgba(2, 12, 28, .4);
    overscroll-behavior: contain;
}

.shaxi-event-promotion:not([open]) {
    display: none;
}

.shaxi-event-promotion::backdrop {
    background: rgba(3, 15, 34, .72);
}

.shaxi-event-promotion__panel {
    position: relative;
}

.shaxi-event-promotion__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: #091e3e;
    color: #fff;
    cursor: pointer;
}

.shaxi-event-promotion__poster {
    display: block;
    width: 100%;
    max-height: 38vh;
    max-height: 38dvh;
    object-fit: contain;
    background: #091e3e;
}

.shaxi-event-promotion__content {
    padding: 24px;
}

.shaxi-event-promotion__eyebrow {
    margin: 0 0 8px;
    color: #b9d6ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.shaxi-event-promotion__title {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 6vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.shaxi-event-promotion__details {
    display: grid;
    gap: 4px;
    margin: 14px 0 0;
    color: #e0ecff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.shaxi-event-promotion__description {
    margin: 14px 0 20px;
    color: #c6d8f2;
    font-size: 15px;
    line-height: 1.65;
}

.shaxi-event-promotion__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #e5322e;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
}

.shaxi-event-promotion__link:hover {
    background: #c42a26;
    color: #fff;
}

.shaxi-event-promotion__close:hover {
    background: #154d8f;
}

.shaxi-event-promotion__close:focus-visible,
.shaxi-event-promotion__link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 360px) {
    .shaxi-event-promotion__content {
        padding: 20px;
    }
}
