:root {
    --header-ann-gap: 10px;
    --header-ann-accent: #c084fc;
    --header-ann-bg: #2d1654;
}

.layout-header-holder-bc .hdr-dynamic-content:not(:has(.header-announcements-row)) {
    display: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

html.header-ann-pre-dismissed .hdr-dynamic-content,
.hdr-dynamic-content.header-ann-hidden {
    display: none !important;
}

html.header-ann-pre-dismissed .header-announcements-row,
.hdr-dynamic-content.header-ann-hidden .header-announcements-row {
    display: none !important;
}

html.header-ann-active .hdr-dynamic-content {
    width: 100%;
    z-index: 2;
    padding-inline-start: 0;
    padding-inline-end: 0;
}

html.is-web.header-ann-active .hdr-dynamic-content {
    position: relative !important;
    top: auto !important;
}

html.is-web.header-ann-active .layout-header-holder-bc .header-bc {
    position: relative !important;
    top: auto !important;
}

html.is-mobile.header-ann-active .hdr-dynamic-content {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    max-height: none !important;
    z-index: 954 !important;
    background: rgba(var(--b), 1);
}

html.is-mobile.header-ann-active .layout-header-holder-bc .header-bc {
    position: fixed !important;
    top: var(--dynamic-header, 0px) !important;
    left: 0;
    width: 100%;
    z-index: 10010 !important;
}

html.is-mobile.header-ann-active .layout-content-holder-bc,
html.is-mobile.header-ann-active[class*="is-mobile"] .layout-content-holder-bc {
    padding-top: calc(
        var(--mobile-header-navigation-height, 40px) + var(--dynamic-header, 0px)
    ) !important;
}

.header-announcements-row {
    position: relative;
    min-height: calc(var(--dynamic-header, 72px) - var(--header-ann-gap, 10px));
}

html.is-mobile .header-announcements-row {
    min-height: calc(var(--dynamic-header, 116px) - var(--header-ann-gap, 10px));
}

html.header-ann-pre-dismissed .header-announcements-row {
    min-height: 0;
}

.hdr-dynamic-content .header-announcements-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.header-ann-spacer-bc {
    display: block;
    height: var(--header-ann-gap, 10px);
    width: 100%;
    flex-shrink: 0;
    pointer-events: none;
}

.hdr-dynamic-content .site-ann-themed.informative-widget {
    background: var(--ann-bg, var(--header-ann-bg, rgba(var(--b), 1)));
    border: 1px solid var(--ann-border, rgba(192, 132, 252, 0.35));
    border-radius: 0;
    margin: 0;
}

.hdr-dynamic-content .site-ann-themed .informative-widget-container > span,
.hdr-dynamic-content .site-ann-themed .header-ann-template-text {
    color: var(--ann-text, rgba(var(--b-sc, 255, 255, 255), 0.92));
}

.hdr-dynamic-content .site-ann-themed .site-ann-accent {
    color: var(--ann-accent, var(--header-ann-accent, #c084fc));
    font-weight: 600;
}

.hdr-dynamic-content .site-ann-themed .site-ann-fixed-link {
    color: var(--ann-link, var(--ann-accent, var(--header-ann-accent, #c084fc)));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hdr-dynamic-content .informative-widget-container.header-ann-template {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 8px 52px 8px 16px;
    box-sizing: border-box;
    text-align: center;
}

html.is-mobile .hdr-dynamic-content .informative-widget-container.header-ann-template {
    padding: 10px 48px 10px 12px;
}

.hdr-dynamic-content .header-ann-template .header-ann-template-text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    text-align: center;
    line-height: 1.35;
    font-size: 14px;
}

html.is-mobile .hdr-dynamic-content .header-ann-template .header-ann-template-text {
    font-size: 13px;
}

.hdr-dynamic-content .header-ann-template .header-ann-line-sep {
    opacity: 0.55;
    user-select: none;
}

.hdr-dynamic-content .header-ann-close-bc {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(var(--b-sc, 255, 255, 255), 0.1);
    color: rgba(var(--b-sc, 255, 255, 255), 0.9);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

html.is-mobile .hdr-dynamic-content .header-ann-close-bc {
    top: 6px;
    right: 8px;
    width: 32px;
    height: 32px;
}

.hdr-dynamic-content .header-ann-close-bc:hover {
    background: rgba(var(--b-sc, 255, 255, 255), 0.18);
    color: rgba(var(--hero-sc, 255, 255, 255), 1);
}

.hdr-dynamic-content .header-ann-swiper {
    overflow: hidden;
    width: 100%;
}

.hdr-dynamic-content .header-ann-carousel .swiper-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease-in-out;
}

.hdr-dynamic-content .header-ann-carousel .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.hdr-dynamic-content .header-ann-carousel .swiper-pagination {
    position: relative;
    margin-top: 6px;
    text-align: center;
}

.hdr-dynamic-content .header-ann-carousel .swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(var(--b-sc, 255, 255, 255), 0.35);
    cursor: pointer;
}

.hdr-dynamic-content .header-ann-carousel .swiper-pagination-bullet-active {
    background: rgba(var(--hero, 168, 85, 247), 1);
}
