

/* Start:/local/templates/.default/components/bitrix/news.list/completed_works_carousel/style.css?17920724584357*/
.aa-works-carousel {
    --works-accent: #ff493e;
    position: relative;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
}
.aa-works-carousel *,
.aa-works-carousel *::before,
.aa-works-carousel *::after { box-sizing: border-box; }
.aa-works-carousel__viewport {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.aa-works-carousel__viewport::-webkit-scrollbar { display: none; }
.aa-works-carousel__card {
    flex: 0 0 calc((100% - 30px) / 2);
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}
.aa-works-carousel__link {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    min-height: 300px;
    height: 100%;
    overflow: hidden;
    color: #fff;
    background: #272727;
    text-decoration: none;
}
.aa-works-carousel__link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    pointer-events: none;
}
.aa-works-carousel__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter .2s ease;
}
.aa-works-carousel__link:hover .aa-works-carousel__image,
.aa-works-carousel__link:focus-visible .aa-works-carousel__image { filter: grayscale(0); }
.aa-works-carousel__placeholder {
    position: absolute;
    top: 15%;
    left: 20px;
    right: 20px;
    text-align: center;
    font-size: 14px;
    color: #ddd;
}
.aa-works-carousel__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 50px;
}
.aa-works-carousel__date {
    flex: 0 0 auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--works-accent);
    white-space: nowrap;
}
.aa-works-carousel__body { min-width: 0; }
.aa-works-carousel .aa-works-carousel__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.aa-works-carousel .aa-works-carousel__text {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.aa-works-carousel__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
    background: var(--works-accent);
    color: #fff;
    cursor: pointer;
}
.aa-works-carousel__arrow[hidden] { display: none; }
.aa-works-carousel__arrow--prev { left: 0; }
.aa-works-carousel__arrow--next { right: 0; }
.aa-works-carousel__arrow span {
    display: block;
    width: 17px;
    height: 17px;
    margin: auto;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: translateX(-3px) rotate(45deg);
}
.aa-works-carousel__arrow--prev span { transform: translateX(3px) rotate(-135deg); }
.aa-works-carousel__arrow:hover { background: #e8382e; }
.aa-works-carousel__arrow:focus-visible,
.aa-works-carousel__viewport:focus-visible { outline: 3px solid var(--works-accent); outline-offset: 3px; }
.aa-works-carousel__link:focus-visible { outline: 3px solid var(--works-accent); outline-offset: -3px; }
@media (max-width: 1199px) {
    .aa-works-carousel__content { padding: 35px; gap: 18px; }
    .aa-works-carousel__date { font-size: 32px; }
    .aa-works-carousel .aa-works-carousel__title { font-size: 22px; }
}
@media (max-width: 991px) {
    .aa-works-carousel__content { flex-direction: column; padding: 24px; gap: 12px; }
    .aa-works-carousel .aa-works-carousel__title { font-size: 20px; }
}
@media (max-width: 575px) {
    .aa-works-carousel { padding: 30px 24px; }
    .aa-works-carousel__card { flex-basis: 100%; }
    .aa-works-carousel__link { min-height: 330px; }
    .aa-works-carousel__arrow { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .aa-works-carousel__image { transition: none; }
}

/* End */
/* /local/templates/.default/components/bitrix/news.list/completed_works_carousel/style.css?17920724584357 */
