.christmas-home header {
    padding-top: 3rem;
}

.christmas-home header > a {
    position: relative;
    max-width: 100%;
}

.christmas-home header > a::after {
    content: '';
    position: absolute;
    top: -38px;
    left: -12px;
    width: 100px;
    height: 100px;
    background: url('../images/logo/noel/Bonnet-2.webp') center / contain no-repeat;
    transform: rotate(-15deg);
    pointer-events: none;
}

.christmas-ticker {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 1.75rem 1rem 0.75rem;
    border: 1px solid #e8c86b;
    border-radius: 16px;
    background:
        url('../images/logo/noel/noel-lignes-2.webp') repeat-x center top / auto 28px,
        linear-gradient(110deg, #123f2c, #231c21 55%, #791a2a);
    box-shadow: 0 6px 24px #00000050;
}

.christmas-ticker__decoration {
    width: 100%;
    height: 85px;
    object-fit: contain;
    pointer-events: none;
}

.christmas-ticker__link {
    min-width: 0;
    color: #fff6e5;
    text-decoration: none;
}

.christmas-ticker__title {
    display: block;
    margin-bottom: 0.4rem;
    color: #f3d989;
    font-size: 1.25rem;
    font-weight: 900;
}

.christmas-ticker__window {
    display: block;
    overflow: hidden;
    line-height: 1.6;
}

.christmas-ticker__track {
    display: flex;
    width: max-content;
    animation: christmas-scroll 35s linear infinite;
}

.christmas-ticker__copy {
    display: block;
    flex-shrink: 0;
    padding-right: 3rem;
    white-space: nowrap;
}

.christmas-ticker__cta {
    display: inline-block;
    margin-top: 0.4rem;
    color: #f3d989;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.christmas-ticker__link:focus-visible {
    outline: 2px solid #fff6e5;
    outline-offset: 4px;
}

.christmas-ticker:hover .christmas-ticker__track,
.christmas-ticker:focus-within .christmas-ticker__track {
    animation-play-state: paused;
}

@keyframes christmas-scroll {
    to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .christmas-home header {
        padding-top: 2.5rem;
    }

    .christmas-home header > a::after {
        top: -28px;
        left: 0;
        width: 65px;
        height: 65px;
    }

    .christmas-ticker {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.5rem;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .christmas-ticker__tree {
        display: none;
    }

    .christmas-ticker__title {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .christmas-ticker__track {
        display: block;
        width: auto;
        animation: none;
    }

    .christmas-ticker__copy {
        padding-right: 0;
        white-space: normal;
    }

    .christmas-ticker__copy + .christmas-ticker__copy {
        display: none;
    }
}
