/* ===== ART QUADRAT — Арт-объекты ===== */

/* --- Карточка --- */
.art-object {
    margin-bottom: 120px;
    scroll-margin-top: 80px; /* отступ при скролле к якорю (под шапку) */
    background-color: #F4F6F9;
    padding: 60px 0;
}

.art-object__inner {
    display: flex;
    align-items: center;
    gap: 30px 0;
}

/* --- Слайдер (левая часть) --- */
.art-object__slider-wrap {
    position: relative;

}

.art-object__slider {
    overflow: hidden;
}

.art-object__slide {
    outline: none;
}

.art-object__slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* Slick dots — по центру снизу */
.art-object__slider .slick-dots {
    bottom: 0;
    display: flex !important;
    gap: 11px;
    justify-content: center;
    align-items: center;
    padding: 0 23px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.58);
    width: max-content;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.art-object__slider .slick-dots li {
    width: 14px;
    height: 14px;
}


.art-object__slider .slick-dots li button {
    width: 14px;
    height: 14px;
    padding: 0;
    border-radius: 50%;
    background-color: #D9D9D9;
    border: 3px solid transparent;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.art-object__slider .slick-dots li button:before {
    display: none;
}

.art-object__slider .slick-dots li.slick-active button {
    background: transparent;
    border-color: #0091FF;
}

/* Slick arrows — кастомные */
.art-object__slider .slick-prev,
.art-object__slider .slick-next {
    display: none !important;
}

.art-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 64px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0;
}

.art-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.art-slider-arrow:active {
    transform: translateY(-50%) scale(0.93);
}

.art-slider-arrow svg {
    display: block;
}

.art-slider-arrow--prev {
    left: 0;
}

.art-slider-arrow--next {
    right: 0;
}




/* --- Описание (правая часть) --- */
.art-object__content {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
}

.art-object__title {

}

.art-object__desc {
    font-weight: 300;
    font-size: 29px;
    line-height: 42px;
    color: #000000;
    padding-left: 50px;
}

.art-object__desc p {
    margin: 0 0 12px;
}

.art-object__desc p:last-child {
    margin-bottom: 0;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1280px) {
    .art-object__desc {
        font-size: 23px;
        line-height: 1.4;
    }
}
/* Планшет */
@media (max-width: 991px) {
    .art-object__inner {
        gap: 24px;
    }

    .art-object__slider-wrap {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .art-object__desc {
        font-size: 18px;
        line-height: 28px;
        padding-left: 0;
    }
}

/* Мобилка */
@media (max-width: 767px) {
    .art-objects {
        padding: 15px 12px;
    }

    .art-object {
        margin-bottom: 60px;
        scroll-margin-top: 60px;
    }

    .art-object__inner {
        flex-direction: column;
        gap: 18px;
    }

    .art-object__slider-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .art-object__slide img {
        height: 315px;
        aspect-ratio: 16 / 10;
    }

    .art-object__title {
        font-size: 36px;
    }

}

.art-quadrat-hero {
    background-image: url(/local/templates/gdpquadrat/images/art-quadrat-hero-bg.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}
.art-quadrat-hero__in {
    height: 750px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
}
.art-quadrat-hero__title {
    font-weight: 300;
    font-size: 84px;
    line-height: 1.4;
    color: #1400C4;
}
.art-quadrat-hero__subtitle {
    font-weight: 300;
    font-size: 29px;
    line-height: 42px;
    color: #000000;
}

@media (max-width: 1440px) {
    .art-quadrat-hero {
        background-position: -180px 0;
    }
}
@media (max-width: 992px) {
    .art-quadrat-hero {
        background-position: 0 0;
    }
    .art-quadrat-hero__in {
        height: 375px;
    }
    .art-quadrat-hero__title {
        font-size: 42px;
        line-height: 50px;
    }
    .art-quadrat-hero__subtitle {
        font-size: 20px;
        line-height: 32px;
    }
}
@media (max-width: 576px) {
    .art-quadrat-hero {
        background-position: -250px 0;
    }
    .art-quadrat-hero__subtitle {
        max-width: 50%;
    }
}

/* Заголовок + кнопка аудио в ряд */
.art-object__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.art-object__title-row .art-object__title {
    margin: 0;
}

/* Кнопка аудио */
.art-object__audio-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: #1D222F;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.art-object__audio-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

.art-object__audio-btn:active {
    transform: scale(0.92);
}

.art-object__audio-btn.is-playing {
    animation: audio-pulse 2s ease-in-out infinite;
}

@keyframes audio-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(29, 34, 47, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(29, 34, 47, 0); }
}

.art-object__audio-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

.art-object__audio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}