/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 18:00:55 */
/* ===== Страница отдельного объекта ===== */
.single-object-section {
    padding: 60px 0 80px;
    margin-top: 80px; /* Отступ под фиксированный хэдер */
    background-color: var(--rt-primary-light3, #EAF7F4);
    min-height: calc(100vh - 200px);
}

/* Заголовок объекта */
.single-object-section .object-header {
    margin-bottom: 30px;
}

.single-object-section .object-title {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    line-height: 1.3;
    font-family: var(--rt-heading-font, 'Montserrat', sans-serif);
    margin-bottom: 15px;
}

.single-object-section .object-header .title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--rt-primary-color, #00c194);
    border-radius: 2px;
    margin-bottom: 15px;
}

/* Верхняя строка: изображение + описание */
.single-object-section .object-top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

/* Левая колонка: изображение 30% */
.single-object-section .object-main-image {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
}

.single-object-section .object-main-image .object-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--rt-primary-light2, #deede9);
    box-shadow: 0 4px 18px 0 rgba(194, 200, 213, 0.3);
    display: block;
    transition: transform 0.4s ease-in-out;
}

.single-object-section .object-main-image:hover .object-main-img {
    transform: scale(1.02);
}

/* Правая колонка: описание 70% */
.single-object-section .object-description {
    flex: 1;
    background-color: #fff;
    padding: 30px 35px;
    border-radius: 8px;
    border: 1px solid var(--rt-primary-light2, #deede9);
    box-shadow: 0 4px 18px 0 rgba(194, 200, 213, 0.3);
}

.single-object-section .object-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #788593;
    margin-bottom: 15px;
}

.single-object-section .object-description p:last-child {
    margin-bottom: 0;
}

.single-object-section .object-description ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.single-object-section .object-description ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #788593;
}

.single-object-section .object-description ul li:last-child {
    margin-bottom: 0;
}

.single-object-section .object-description ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--rt-primary-color, #00c194);
}

.single-object-section .object-description ul li strong {
    color: #212121;
    font-weight: 600;
}

/* ===== ФОТОГАЛЕРЕЯ - ИСПРАВЛЕНО ===== */
.single-object-section .object-gallery {
    margin-bottom: 40px;
}

.single-object-section .gallery-title {
    font-size: 24px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 25px;
    font-family: var(--rt-heading-font, 'Montserrat', sans-serif);
    position: relative;
    padding-bottom: 12px;
}

.single-object-section .gallery-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--rt-primary-color, #00c194);
    border-radius: 2px;
}

/* Сетка галереи */
.single-object-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Убираем отступы у всех обёрток внутри галереи */
.single-object-section .gallery-grid > *,
.single-object-section .gallery-grid p,
.single-object-section .gallery-grid figure,
.single-object-section .gallery-grid div,
.single-object-section .gallery-grid a {
    margin: 0 !important;
    padding: 0 !important;
    display: contents; /* Позволяет изображениям стать прямыми потомками grid */
}

/* Стили для изображений */
.single-object-section .gallery-grid img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid var(--rt-primary-light2, #deede9) !important;
    cursor: pointer;
    transition: all 0.4s ease-in-out !important;
    display: block !important;
    margin: 0 !important;
}

.single-object-section .gallery-grid img:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15) !important;
    border-color: var(--rt-primary-color, #00c194) !important;
}

/* Кнопка возврата */
.single-object-section .object-footer {
    text-align: center;
    padding-top: 20px;
}

.single-object-section .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--rt-primary-color, #00c194) 0%, var(--rt-primary-dark, #00a376) 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 8px 25px 0 rgba(var(--rt-primary-rgb, 0, 193, 148), 0.35);
    position: relative;
    overflow: hidden;
}

.single-object-section .btn-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease-in-out;
}

.single-object-section .btn-back:hover::before {
    left: 100%;
}

.single-object-section .btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px 0 rgba(var(--rt-primary-rgb, 0, 193, 148), 0.45);
    color: #fff;
}

.single-object-section .btn-back-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease-in-out;
}

.single-object-section .btn-back:hover .btn-back-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.single-object-section .btn-back-icon i {
    font-size: 16px;
    color: #fff;
}

.single-object-section .btn-back-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.single-object-section .btn-back-sub {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.single-object-section .btn-back-main {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ===== Адаптивность ===== */

/* Планшеты и маленькие десктопы */
@media (max-width: 1199px) {
    .single-object-section {
        padding: 120px 0 60px;
    }

    .single-object-section .object-title {
        font-size: 28px;
    }

    .single-object-section .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .single-object-section .gallery-grid img {
        height: 180px !important;
    }
}

/* Планшеты */
@media (max-width: 991px) {
    .single-object-section {
        padding: 100px 0 50px;
    }

    .single-object-section .object-top-row {
        flex-direction: column;
        gap: 20px;
    }

    .single-object-section .object-main-image {
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
    }

    .single-object-section .object-main-image .object-main-img {
        height: 350px;
    }

    .single-object-section .object-description {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 25px 20px;
    }

    .single-object-section .object-title {
        font-size: 26px;
    }

    .single-object-section .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .single-object-section .gallery-grid img {
        height: 170px !important;
    }
}

/* Мобильные устройства */
@media (max-width: 767px) {
    .single-object-section {
        padding: 80px 0 40px;
    }

    .single-object-section .object-header {
        margin-bottom: 20px;
    }

    .single-object-section .object-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .single-object-section .object-main-image .object-main-img {
        height: 280px;
    }

    .single-object-section .object-description {
        padding: 20px 15px;
    }

    .single-object-section .object-description p,
    .single-object-section .object-description ul li {
        font-size: 15px;
    }

    .single-object-section .gallery-title {
        font-size: 20px;
    }

    .single-object-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .single-object-section .gallery-grid img {
        height: 150px !important;
    }

    .single-object-section .btn-back {
        padding: 12px 24px;
    }

    .single-object-section .btn-back-icon {
        width: 34px;
        height: 34px;
    }

    .single-object-section .btn-back-main {
        font-size: 13px;
    }

    .single-object-section .btn-back-sub {
        font-size: 11px;
    }
}

/* Маленькие мобильные */
@media (max-width: 479px) {
    .single-object-section {
        padding: 70px 0 30px;
    }

    .single-object-section .object-title {
        font-size: 20px;
    }

    .single-object-section .object-main-image .object-main-img {
        height: 220px;
    }

    .single-object-section .object-description {
        padding: 15px 12px;
    }

    .single-object-section .object-description ul li {
        padding-left: 24px;
        font-size: 14px;
    }

    .single-object-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .single-object-section .gallery-grid img {
        height: 200px !important;
    }

    .single-object-section .btn-back {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}
}