/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 13 2026 | 18:15:14 */
/* ===== Секция готовых объектов (цвета по фирменной палитре) ===== */

.completed-objects-section {
    padding: 80px 0 90px;
    background-color: #e8eaeb; /* ФОНЫ И СЕКЦИИ */
    min-height: max(0px, calc(100vh - 600px));
}

.completed-objects-section *,
.completed-objects-section *::before,
.completed-objects-section *::after {
    box-sizing: border-box;
}

/* ===== Заголовок ===== */

.completed-objects-section .section-title-wrapper {
    margin: 50px 0;
}

.completed-objects-section .top-sub-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #88ab27; /* АКЦЕНТ */
    font-family: var(--rt-heading-font, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.completed-objects-section .top-sub-title i {
    color: inherit;
    font-size: 8px;
}

.completed-objects-section .main-title {
    margin: 0 0 15px;
    color: #2c2e2f; /* ТЕКСТ, ЗАГОЛОВКИ */
    font-family: var(--rt-heading-font, 'Montserrat', sans-serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.completed-objects-section .title-bar {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background-color: #88ab27; /* АКЦЕНТ */
}

/* ===== Сетка карточек ===== */

.completed-objects-section .objects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

/* ===== Карточка ===== */

.completed-objects-section .object-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #a67c52; /* КАРТОЧКИ, ИКОНКИ */
    border-radius: 8px;
    background-color: #f9f8f6; /* ОСНОВНОЙ ФОН */
    box-shadow: 0 4px 18px rgba(140,146,150,.13); /* НЕАКТИВНЫЕ */
    opacity: 1;
    transform: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    animation: ec-object-fade-in .5s ease backwards;
}

.completed-objects-section .object-card:nth-child(1) { animation-delay: .05s; }
.completed-objects-section .object-card:nth-child(2) { animation-delay: .1s; }
.completed-objects-section .object-card:nth-child(3) { animation-delay: .15s; }
.completed-objects-section .object-card:nth-child(4) { animation-delay: .2s; }
.completed-objects-section .object-card:nth-child(5) { animation-delay: .25s; }
.completed-objects-section .object-card:nth-child(6) { animation-delay: .3s; }
.completed-objects-section .object-card:nth-child(7) { animation-delay: .35s; }
.completed-objects-section .object-card:nth-child(8) { animation-delay: .4s; }

/* ===== Изображение ===== */

.completed-objects-section .object-thumb {
    position: relative;
    flex-shrink: 0;
    height: 220px;
    overflow: hidden;
    background-color: #e8eaeb; /* ФОНЫ */
}

.completed-objects-section .object-thumb > a {
    display: block;
    width: 100%;
    height: 100%;
}

.completed-objects-section .object-thumb img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .4s ease;
}

/* ===== Текст карточки ===== */

.completed-objects-section .object-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 22px 22px;
}

.completed-objects-section .object-title {
    margin: 0;
    color: #2c2e2f; /* ТЕКСТ, ЗАГОЛОВКИ */
    font-family: var(--rt-heading-font, 'Montserrat', sans-serif);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.completed-objects-section .object-title a {
    display: block;
    color: inherit;
    text-decoration: none;
    overflow-wrap: break-word;
    transition: color .2s ease;
}

/* Эффекты наведения — только для устройств с мышью. */
@media (hover: hover) and (pointer: fine) {
    .completed-objects-section .object-card:hover {
        transform: translateY(-6px);
        border-color: #88ab27; /* АКЦЕНТ */
        box-shadow: 0 15px 40px rgba(88,171,39,.12); /* Зелёная тень */
    }
    .completed-objects-section .object-card:hover .object-thumb img {
        transform: scale(1.05);
    }
    .completed-objects-section .object-card:hover .object-title a {
        color: #5a7319; /* НАВЕДЕНИЕ КНОПОК */
    }
}

.completed-objects-section .object-card a:focus-visible {
    outline: 2px solid #7a5636; /* ФУТЕР, ТЕМНЫЕ */
    outline-offset: -3px;
}

.completed-objects-section .objects-empty {
    padding: 24px;
    border: 1px solid #a67c52; /* КАРТОЧКИ, ИКОНКИ */
    border-radius: 8px;
    background: #f9f8f6; /* ОСНОВНОЙ ФОН */
    color: #8c9296; /* НЕАКТИВНЫЕ */
}

.completed-objects-section .objects-empty p {
    margin: 0;
}

/* ===== Пагинация ===== */

.completed-objects-section .pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 36px 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.completed-objects-section .pagination-wrapper ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    list-style: none !important;
}

.completed-objects-section .pagination-wrapper ul.page-numbers > li {
    display: block;
    float: none;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.completed-objects-section .pagination-wrapper li::before,
.completed-objects-section .pagination-wrapper li::after {
    content: none !important;
}

.completed-objects-section .pagination-wrapper li > a.page-numbers,
.completed-objects-section .pagination-wrapper li > span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #a67c52; /* КАРТОЧКИ, ИКОНКИ */
    border-radius: 8px;
    background: #f9f8f6; /* ОСНОВНОЙ ФОН */
    color: #2c2e2f; /* ТЕКСТ */
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.completed-objects-section .pagination-wrapper li > a.page-numbers:hover,
.completed-objects-section .pagination-wrapper li > a.page-numbers:active {
    border-color: #88ab27; /* АКЦЕНТ */
    background: #88ab27;
    color: #fff;
}

.completed-objects-section .pagination-wrapper li > span.page-numbers.current {
    border-color: #88ab27; /* АКЦЕНТ */
    background: #88ab27;
    color: #fff;
}

.completed-objects-section .pagination-wrapper li > span.page-numbers.dots {
    min-width: 24px;
    padding-right: 4px;
    padding-left: 4px;
    border-color: transparent;
    background: transparent;
    color: #8c9296; /* НЕАКТИВНЫЕ */
}

.completed-objects-section .pagination-wrapper a.prev,
.completed-objects-section .pagination-wrapper a.next {
    padding-right: 18px;
    padding-left: 18px;
    white-space: nowrap;
}

.completed-objects-section .pagination-wrapper a:focus-visible {
    outline: 2px solid #7a5636; /* ФУТЕР, ТЕМНЫЕ */
    outline-offset: 3px;
}

/* ===== Анимация — блок корректно закрыт ===== */

@keyframes ec-object-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== Адаптивность ===== */

@media (max-width: 1199px) {
    .completed-objects-section .objects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .completed-objects-section .objects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .completed-objects-section .main-title {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .completed-objects-section .pagination-wrapper {
        margin-top: 24px;
    }
    .completed-objects-section .pagination-wrapper ul.page-numbers {
        gap: 6px;
    }
    .completed-objects-section .pagination-wrapper li > a.page-numbers,
    .completed-objects-section .pagination-wrapper li > span.page-numbers {
        min-width: 40px;
        min-height: 40px;
        padding: 8px 11px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .completed-objects-section {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .completed-objects-section .section-title-wrapper {
        margin: 24px 0 30px;
    }
    .completed-objects-section .objects-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .completed-objects-section .main-title {
        font-size: 26px;
    }
}

/* ===== Уменьшение движения ===== */
@media (prefers-reduced-motion: reduce) {
    .completed-objects-section .object-card {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
    .completed-objects-section .object-thumb img,
    .completed-objects-section .object-title a,
    .completed-objects-section .pagination-wrapper li > a.page-numbers {
        transition: none;
    }
    .completed-objects-section .object-card:hover,
    .completed-objects-section .object-card:hover .object-thumb img {
        transform: none;
    }
}