

/* Start:/local/templates/general/components/bitrix/news/events/bitrix/news.list/eventsectmain/style.css?177702029012726*/
/* ================================================
   events / news.list / mainblog — style.css
   Стилистика: Loft Ministerstvo
   Шрифты: Oranienbaum (заголовки), основной sans-serif сайта
   Акцент: #BEA592 (тёплый бежево-розовый)
   Тёмный: #383639
   ================================================ */
/*.banner{
    display: none;
}*/
h2 {line-height: normal;}
h3 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 60px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: normal;
    padding-top: 20px;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: normal;
}
.events-section-main ol, .events-section-main ul {
    padding-left: 20px;
}
.events-section-main ul li, .events-section-main ol li, p {
    color: #383639;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    letter-spacing: 0.4px;
    margin-bottom: 30px;
}
.big h2 {text-align: center;font-size: 100px;}
.big p {font-size: 24px;}
header .banner.banner-event-spaces:before {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.89) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    width: 100%;
    height: 650px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.page_13.dop-text .box-info {
    margin: 0 auto 0 auto;}
.img-dop-text {object-fit: cover;
    width: 100%;
    height: 100%;}


/* ---------- Обёртка секции ---------- */
.events-section {
    padding: 60px 0 80px;
}

/* ---------- Кнопки-разделы ---------- */
.section-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    justify-content: center;
}

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: transparent;
    color: #383639;
    border: 1px solid #383639;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}

.section-btn:hover {
    background: #383639;
    color: #fff;
    border-color: #383639;
}

.section-btn--active {
    background: #BEA592;
    color: #fff;
    border-color: #BEA592;
}

.section-btn--active:hover {
    background: #a8907e;
    border-color: #a8907e;
}

.section-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 600;
}

.section-btn:not(.section-btn--active) .section-btn__count {
    background: rgba(56, 54, 57, 0.1);
    color: #383639;
}

/* ---------- Сетка карточек ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---------- Карточка ---------- */
.case-card {
    position: relative;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* Полноразмерная ссылка поверх карточки */
.case-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* ---------- Картинка ---------- */
.slide-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: #e8e4df;
    overflow: hidden;
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.case-card:hover .slide-container img {
    transform: scale(1.04);
}

.case-card__no-img {
    display: flex;
    align-items: center;
    justify-content: center;    
    width: 100%;
    height: 100%;
    background: #BEA592;
    opacity: 0.4;
}
.slide-container img.case-card__no-img-logo {
    width: 100%;
    max-width: 40%;
    height: auto;
    opacity: 0.9;
}
/* ---------- Оверлей с градиентом ---------- */
.slider-overlay {
    position: absolute;
    inset: 0;
    color: #fff;
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden;
}

.slider-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.72) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.case-card:hover .slider-overlay::before {
    opacity: 0.45;
}

/* ---------- Верхняя строка оверлея ---------- */
.top-overlay {
    display: flex;
    justify-content: flex-start;
}

.detail-type .text {
    background: rgba(255,255,255,0.88);
    padding: 5px 12px;
    color: #383639;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Контент карточки ---------- */
.slider-content {
    position: relative;
    z-index: 2;
}

.case-title {
    font-family: 'Oranienbaum', Georgia, serif;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.case-preview-text {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.case-card:hover .case-preview-text {
    max-height: 100px;
    opacity: 1;
}

/* ---------- Детали (иконки) ---------- */
.case-details {
    margin-bottom: 14px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

.detail-item .icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #BEA592;
}

.detail-item .icon svg {
    width: 100%;
    height: 100%;
}

/* ---------- Псевдо-кнопка "Подробнее" ---------- */
.case-card__btn {
    display: inline-block;
    padding: 9px 22px;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    pointer-events: none; /* клик идёт через .case-card__link */
}

.case-card:hover .case-card__btn {
    background: #BEA592;
    border-color: #BEA592;
}

/* ---------- Пагинация ---------- */
.events-pager {
    margin-top: 50px;
    text-align: center;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.events-pager a,
.events-pager span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 3px;
    border: 1px solid #383639;
    color: #383639;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 8px;
}

.events-pager a:hover {
    background: #383639;
    color: #fff;
}

.events-pager .selected,
.events-pager .current {
    background: #BEA592;
    border-color: #BEA592;
    color: #fff;
}

/* ---------- Пустое состояние ---------- */
.events-empty {
    text-align: center;
    padding: 60px 20px;
    color: #7a7a7a;
    font-size: 18px;
}

/* ---------- Анимация появления ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.events-grid .animate-fadeIn:nth-child(1) { animation-delay: 0.05s; }
.events-grid .animate-fadeIn:nth-child(2) { animation-delay: 0.10s; }
.events-grid .animate-fadeIn:nth-child(3) { animation-delay: 0.15s; }
.events-grid .animate-fadeIn:nth-child(4) { animation-delay: 0.20s; }
.events-grid .animate-fadeIn:nth-child(5) { animation-delay: 0.25s; }
.events-grid .animate-fadeIn:nth-child(6) { animation-delay: 0.30s; }
.events-grid .animate-fadeIn:nth-child(n+7) { animation-delay: 0.35s; }

/* ==========================================
   АДАПТИВ
   ========================================== */

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .section-btn {
        padding: 9px 18px;
        font-size: 12px;
    }
    .case-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 40px 0 60px;
    }
    .section-buttons {
        gap: 8px;
        margin-bottom: 32px;
    }
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .slide-container {
        height: 280px;
    }
    .case-title {
        font-size: 20px;
    }
    .case-preview-text {
        /* на мобильных показываем текст сразу без ховера */
        max-height: 80px;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .section-btn {
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: 0.8px;
    }
    .slide-container {
        height: 240px;
    }
}

/* ================================================
   Дополнения: шапка раздела, кнопка "назад"
   ================================================ */

/* --- Шапка раздела с картинкой --- */
.events-section-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
}

.events-section-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}

.events-section-header .container {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.events-section-header__title {
    font-family: 'Oranienbaum', Georgia, serif;
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
}

/* --- Кнопка "назад" --- */
.section-btn--back {
    border-color: #BEA592;
    color: #BEA592;
    margin-right: 8px;
}

.section-btn--back:hover {
    background: #BEA592;
    color: #fff;
    border-color: #BEA592;
}

.section-btn__arrow {
    font-size: 16px;
    line-height: 1;
    margin-right: 4px;
}

/* --- Отступ кнопки назад при отдельном выводе --- */
.section-nav-back {
    margin-bottom: 36px;
}

/* --- Адаптив шапки --- */
@media (max-width: 768px) {
    .events-section-header {
        min-height: 180px;
    }
    .events-section-header .container {
        padding-bottom: 28px;
    }
.events-section-main {padding: 40px 0 60px;}
.events-section {padding: 0;}
h1 {font-size: 42px;}
.events-section-main h2, .events-section-main .agbx-reviews-section h2 {font-size: 38px;}
.events-section-main h3 {font-size: 34px;}
.events-section-main ul li, .events-section-main ol li, p, .big p {font-size: 16px;}
.section-btn {white-space: normal;}
.events-section-description {margin: 0 auto;}
.events-section-main .faq-question {font-size: 18px;padding-right: 60px;}
.events-section-main .faq-answer {font-size: 16px;}
.events-section-main .agbx-reviews-summary__meta {font-size: 14px;}

}

/* End */


/* Start:/local/templates/general/components/bitrix/news.list/faq/style.css?17587660271160*/
.faq-section {
    padding: 80px 0;
    background: #f7f7f7;
}
.faq-section h2 {text-align: center;}

.faq-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 40px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    font-size: 22px;
    color: #333;
}

.faq-question::after {
content: '+';
    position: absolute;
    top: 30px;
    right: 40px;
    transition: transform 0.3s;
    font-size: 40px;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
color: #383639;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    letter-spacing: 0.4px;
}

.faq-answer.active {
    padding: 0 40px 40px;
    max-height: 500px;
}
/* End */


/* Start:/local/components/agbx/reviews/templates/.default/style.css?17722413718804*/
/* /local/components/agbx/reviews/templates/.default/style.css */

/* ── Секция ─────────────────────────────────────────── */
.agbx-reviews-section {
    position: relative;
    padding: 120px 0 60px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 30px;
}

.agbx-reviews-section h2 {font-family: 'Oranienbaum', sans-serif;
    font-size: 90px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: -1.2px;
    text-align: center;
}

/* ── Сводный рейтинг ────────────────────────────────── */
.agbx-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
}

.agbx-reviews-summary__score {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
}

.agbx-reviews-summary__right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agbx-reviews-summary__stars {
    display: flex;
    gap: 3px;
}

.agbx-reviews-summary__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
/*    font-size: 13px;*/
}

.agbx-reviews-summary__logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── SVG-звёзды ─────────────────────────────────────── */
.agbx-star {
    width: 26px;
    height: 26px;
    fill: #ddd;
    flex-shrink: 0;
}

.agbx-star--active {
    fill: #ffc107;
}

/* ── Обёртка слайдера ──────────────────────────────── */
.agbx-reviews-owl-wrap {
    position: relative;
    /* Отступы чтобы кнопки prev/next не обрезались */
    padding: 0 48px;
}



/* ── КРИТИЧНО: показываем owl до инициализации ─────── */
.agbx-reviews-owl {
    display: block !important;
}

/* ── Карточка ──────────────────────────────────────── */
.agbx-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 320px;
    box-sizing: border-box;
    transition: box-shadow .25s, transform .25s;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.agbx-review-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Шапка */
.agbx-review-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agbx-review-card__avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.agbx-review-card__meta {
    flex: 1;
    min-width: 0;
}

.agbx-review-card__author {
    font-weight: 600;
/*    font-size: 14px;*/
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.agbx-review-card__author__stars {    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;}
.agbx-review-card__date {
    font-size: 16px;
    color: #bbb;
    margin-top: 2px;
}

.agbx-review-card__yandex {
    flex-shrink: 0;
    opacity: .7;
}

/* Звёзды */
.agbx-review-card__stars {
    display: flex;
    gap: 2px;
}

/* Текст с fade */
.agbx-review-card__text {
/*    font-size: 13px;*/
/*    line-height: 1.65;*/
    color: #555;
    flex: 1;
    max-height: 220px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    transition: all .25s;
}
.agbx-review-card:hover .agbx-review-card__text {-webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
}
/* Ссылка */
.agbx-review-card__link {
    font-size: 16px;
    color: #fc3f1d;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
/*    margin-top: auto;*/
    padding-top: 4px;
}

.agbx-review-card__link:hover {
    text-decoration: underline;
}

/* ── Кастомные кнопки nav ───────────────────────────── */
.agbx-reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    transition: background .2s, box-shadow .2s, border-color .2s;
    padding: 0;
}

.agbx-reviews-nav:hover {
    background: #bea592;
    border-color: #bea592;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.agbx-reviews-nav svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.agbx-reviews-nav:hover svg {fill: #fff;}


.agbx-reviews-nav--prev { left: 0; }
.agbx-reviews-nav--next { right: 0; }

/* ── Dots ───────────────────────────────────────────── */
.agbx-reviews-section .owl-dots {
    margin-top: 24px !important;
    text-align: center;
}

.agbx-reviews-section .owl-dot {
    display: inline-block;
}

.agbx-reviews-section .owl-dot span {
    display: block;
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    border-radius: 4px !important;
    background: #ddd !important;
    transition: width .3s, background .3s;
}

.agbx-reviews-section .owl-dot.active span {
    width: 24px !important;
    background: #ffc107 !important;
}

/* ── Кнопка «Оставить отзыв» ───────────────────────── */
.agbx-reviews-footer {
    margin-top: 36px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.agbx-reviews-btn {
    display: inline-flex!important;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 999px;
    background: #fc3f1d;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: .02em;
    transition: background .2s, transform .15s;
    justify-content: center;
}

.agbx-reviews-btn:hover {
    background: #e0361a;
    transform: translateY(-1px);
}

.btn.review-all-btn {background: #fff;
    border: 1px solid #bea592;
    color: #bea592;}
.btn.review-all-btn:hover {
    background: #bea592;
    color: #fff;
}    

/* ── Пусто ──────────────────────────────────────────── */
.agbx-reviews-empty {
    text-align: center;
    color: #aaa;
    padding: 48px 0;
    font-size: 15px;
}

/* ── Адаптив ────────────────────────────────────────── */
@media (max-width: 600px) {
    .agbx-reviews-summary__score { font-size: 38px; }
    .agbx-review-card { padding: 16px 14px; min-height: 280px; }
    .agbx-review-card__text {max-height: 240px;font-size: 16px;line-height: 26px;}
    .agbx-reviews-summary {flex-direction: column;}
    .agbx-reviews-summary__right {align-items: center;}
    .agbx-review-card__author__stars {display: flex;flex-direction: column;align-items: flex-start;gap: 5px;}
    .agbx-review-card__date {font-size: 14px;}
    .agbx-review-card__avatar {display: none;}
    .agbx-review-card__author {white-space: pre-wrap;}
    .agbx-reviews-owl-wrap {padding: 0;}
    .agbx-reviews-section h2 {font-size: 60px;margin-bottom: 30px;letter-spacing: 0;}
    .agbx-reviews-nav {display: none;}
    .agbx-reviews-footer {justify-content: center;flex-direction: column;align-items: center;}
    .btn.review-all-btn,.btn.agbx-reviews-btn{width: 60%;}
    .agbx-reviews-section .owl-dots {margin-top: 2px !important;}
}

/* End */
/* /local/templates/general/components/bitrix/news/events/bitrix/news.list/eventsectmain/style.css?177702029012726 */
/* /local/templates/general/components/bitrix/news.list/faq/style.css?17587660271160 */
/* /local/components/agbx/reviews/templates/.default/style.css?17722413718804 */
