.top-banner {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0;
    background: linear-gradient(135deg, #fff8e8, #fff1c9);
    border-bottom: 1px solid rgba(176, 125, 24, 0.18);
    color: #382b12;
}

.top-banner-media-wrap {
    position: relative;
    width: min(100%, 980px);
}

.top-banner-media {
    display: block;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 0.65rem;
}

.top-banner-close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.top-banner-close:hover,
.top-banner-close:focus-visible {
    background: rgba(0, 0, 0, 0.85);
}

.top-banner-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.top-banner-marquee {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    animation: top-banner-marquee 18s linear infinite;
}

.top-banner-marquee-track {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: max-content;
    gap: 0.75rem 2rem;
    padding: 0 1rem;
    line-height: 1.35;
    white-space: nowrap;
}

.top-banner-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 2.5rem;
}

@keyframes top-banner-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.top-banner-title,
.top-banner-desc {
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-banner-title {
    font-size: clamp(0.9rem, 1.5vw, 1.12rem);
    font-weight: 800;
}

.top-banner-desc {
    font-size: clamp(0.82rem, 1.25vw, 1rem);
    font-weight: 600;
}

.top-banner-media-wrap.is-hidden {
    display: none;
}

@media (max-width: 575.98px) {
    .top-banner {
        padding: 0.55rem 0.75rem;
    }

    .top-banner-marquee {
        gap: 0.2rem 0.75rem;
        animation-duration: 14s;
    }

    .top-banner-marquee-track {
        gap: 0.2rem 0.75rem;
        padding: 0 0.75rem;
    }

    .top-banner-copy {
        gap: 0.2rem;
        padding-right: 1.25rem;
    }

    .top-banner-media {
        max-height: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-banner-marquee {
        animation: none;
    }
}
