.tf-annstrip {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.tf-annstrip__viewport {
    width: 100%;
    height: var(--tf-annstrip-h, 40px);
}

.tf-annstrip .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--tf-annstrip-h, 40px);
    text-align: center;
}

.tf-annstrip .swiper-slide > .tf-annstrip__text,
.tf-annstrip .swiper-slide > .tf-annstrip__empty {
    height: auto;
}

.tf-annstrip__text {
    margin: 0;
    padding-inline: 12px;
    overflow: hidden;
    font-family: var(--tf-text-font-family, inherit);
    font-size: var(--tf-text-font-size, 13px);
    font-weight: var(--tf-text-font-weight, 500);
    line-height: var(--tf-text-line-height, 1.25);
    letter-spacing: var(--tf-text-letter-spacing, 0.04em);
    color: var(--tf-text-color, inherit);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tf-annstrip__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tf-section[data-tf-type="layout.topbar"] .tf-section__slot:has(> .tf-section[data-tf-type="home.announcement_strip"]) {
    min-width: 0;
}

.tf-section[data-tf-type="layout.topbar"] .tf-section__slot > .tf-section[data-tf-type="home.announcement_strip"] {
    width: 100%;
    min-width: 0;
}

.tf-section[data-tf-type="layout.topbar"] .tf-section[data-tf-type="home.announcement_strip"],
.tf-zone--header > .tf-section[data-tf-type="structural.row"]:has(.tf-section[data-tf-type="layout.topbar"])
    .tf-section[data-tf-type="home.announcement_strip"] {
    width: 100%;
    padding-block: 0 !important;
}

.tf-section.tf-has-section-height[data-tf-type="home.announcement_strip"] .tf-annstrip,
.tf-section.tf-has-section-height[data-tf-type="home.announcement_strip"] .tf-annstrip__viewport {
    height: 100%;
}

@media (max-width: 767.98px) {
    .tf-annstrip__text {
        padding-inline: 8px;
        letter-spacing: 0.02em;
    }

    .tf-section[data-tf-type="layout.topbar"]
        .tf-section__slot:has(> .tf-section[data-tf-type="home.announcement_strip"]) {
        grid-area: marquee;
    }
}
