.top-publishers {
    padding-block: 50px;
    background-color: var(--color-light);

    @media (max-width: 992px) {
        padding-block: 25px;
    }
}

.top-publishers__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    @media (max-width: 992px) {
        flex-direction: column;
        gap: 20px;
    }
}

.top-publishers__title {
    max-width: 500px;
}

.top-publishers__content {
    max-width: 700px;

    font-weight: 400;
    font-size: 20px;
    line-height: 32px;

    color: var(--color-dark);
}

.top-publishers__cards-wrapper {
    margin-top: 100px;

    display: flex;
    gap: 50px;

    overflow: hidden;

    @media (max-width: 992px) {
        margin-top: 25px;
    }
}

.top-publishers__cards {
    display: flex;
    gap: 50px;
    /*width: max-content;*/

    animation: scrollHorizontalAnimation 36s linear infinite;
}

@keyframes scrollHorizontalAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.top-publishers__card {
    width: 300px;
    height: 200px;

    display: flex;
    flex-direction: column;

    @media (max-width: 992px) {
        width: 150px;
        height: 105px;
    }
}

.top-publishers__card-image {
    height: 100%;
    display: flex;
    align-items: center;

    & img {
        height: auto;
        width: 100%;
    }
}

.top-publishers__card-url {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #1111114D;
}

@media (min-width: 1024px) {
    .top-publishers {
    }
}