/* AD MAX Címkék widget — mozgó címkesorok (marquee). */

@keyframes am-marq {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes am-marqR {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.am-marq-wrap {
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.am-marq-track {
    display: flex;
    gap: 11px;
    width: max-content;
    animation: am-marq 42s linear infinite;
}

.am-marq-track.rev {
    animation-name: am-marqR;
    animation-duration: 52s;
}

.am-marq-wrap:hover .am-marq-track {
    animation-play-state: paused;
}

.am-chip {
    flex: none;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #dbeae3;
    border-radius: 100px;
    padding: 13px 21px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: default;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.am-chip:hover {
    background: #1E3A38;
    color: #fff;
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .am-marq-track {
        animation: none;
    }
}

@media (max-width: 767px) {
    .am-marq-wrap {
        margin-bottom: 23px;
        gap: 9px;
    }

    .am-chip {
        padding: 10px 16px;
        font-size: 12px;
    }
}
