/* Главная страница: премьеры Арт-Кино из штатного RSS-модуля Joomla. */
.rdku-cinema {
    width: 100%;
    padding: 75px clamp(16px, 4vw, 64px) 60px;
    background-color: #24272a;
    color: #fff;
    background-image: url(/images/brand/bg-lines.webp);
}
.rdku-cinema *,
.rdku-cinema *::before,
.rdku-cinema *::after {
    box-sizing: border-box;
}

.rdku-cinema__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.rdku-cinema__heading {
    margin: 0 0 30px;
    color: #fff;
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 600;
    line-height: 1.2;
}

.rdku-cinema__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.rdku-cinema__card {
    min-width: 0;
	max-width: 230px;
    overflow: hidden;
    border-radius: 10px;
    background: #363636;
}

.rdku-cinema__poster {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #414141;
    color: #aeb7c4;
    text-decoration: none;
}

.rdku-cinema__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.rdku-cinema__poster:hover img,
.rdku-cinema__poster:focus-visible img {
    transform: scale(1.025);
}

.rdku-cinema__no-poster {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 14px;
    color: #c9c9c9;
}

.rdku-cinema__title {
    margin: 0;
    padding: 12px 12px 15px;
    font-family: Oswald, 'Arial Narrow', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.rdku-cinema__title,
.rdku-cinema__title a {
    color: #ffab13;
    text-decoration: none;
}

.rdku-cinema__title a:hover,
.rdku-cinema__title a:focus-visible {
    color: #fff;
}

.rdku-cinema__empty {
    padding: 20px 0;
    margin: 0;
    color: #d6d6d6;
}

@media (max-width: 1120px) {
    .rdku-cinema__list {
        grid-auto-flow: column;
        grid-auto-columns: minmax(170px, 24vw);
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        padding-bottom: 12px;
    }

    .rdku-cinema__card {
        scroll-snap-align: start;
    }
}

@media (max-width: 600px) {
    .rdku-cinema {
        padding: 36px 16px 40px;
    }

    .rdku-cinema__heading {
        margin-bottom: 20px;
    }

    .rdku-cinema__list {
        grid-auto-columns: minmax(170px, 63vw);
        gap: 16px;
    }
}
