

/* Start:/local/templates/eco_26/components/bitrix/news.list/articles_carousel/style.css?17768554894024*/
/* --- СТИЛИ КАРУСЕЛИ СТАТЕЙ --- */

/* Фикс для Flexbox контейнеров */
.content-column { min-width: 0 !important; }

.eco-articles-wrapper {
    margin-bottom: 70px;
    position: relative;
}

/* Заголовок */
.art-carousel-title {
    font-family: var(--font-family-base, "Times New Roman", serif);
    color: var(--color-primary, #23392F);
    font-weight: 500;
}

/* Кнопки навигации */
.art-nav-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-secondary, #b99961);
    background: transparent;
    color: var(--color-secondary, #b99961);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.art-nav-btn:hover {
    background: var(--color-secondary, #b99961);
    color: #fff;
}

/* --- КАРТОЧКА СТАТЬИ (Журнальный стиль) --- */
.article-slide {
    height: auto;
    display: flex;
}

.article-card {
    background: #fff;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Картинка (Горизонтальная 3:2) */
.art-img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 66%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.art-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .art-img-wrap img {
    transform: scale(1.05);
}

/* Тело карточки */
.art-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border: 1px solid rgba(0,0,0,0.03);
    border-top: none;
}

/* Дата */
.art-date {
    font-size: 0.8rem;
    color: var(--color-secondary, #b99961);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-family-secondary, sans-serif);
}

/* Заголовок статьи */
.art-title {
    font-family: var(--font-family-base, serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.3;
    color: var(--color-primary, #23392F);
    margin-bottom: 12px;
    font-weight: 500;
    transition: color 0.3s;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .art-title {
    color: var(--color-secondary, #b99961);
}

/* Анонс */
.art-preview {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка "Читать" */
.art-link-more {
    font-family: var(--font-family-secondary, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary, #b99961);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.art-link-more i {
    transition: transform 0.3s ease;
}

.article-card:hover .art-link-more i {
    transform: translateX(5px);
}

/* Swiper фиксы */
.swiper-container { width: 100%; overflow: hidden; }
.swiper-wrapper { display: flex; }

@media (max-width: 576px) {
    .art-nav-container {
        display: none !important;
    }
    .art-body {
        padding: 15px;
    }
    .art-title {
        font-size: 1.2rem;
    }
    .eco-articles-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }
}

/* End */


/* Start:/local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17771876007226*/
.eco-albums-carousel-wrapper {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Заголовок блока */
.carousel-title {
    font-family: var(--font-family-base, "EB Garamond", serif);
    color: var(--color-primary, #23392F);
    font-weight: 500;
}

/* Кнопки навигации */
.carousel-nav-container {
    display: flex;
    gap: 10px;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-secondary, #b99961);
    background: transparent;
    color: var(--color-secondary, #b99961);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.carousel-btn:hover {
    background: var(--color-secondary, #b99961);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 153, 97, 0.3);
}

/* ========================================= */
/* ПРЕМИАЛЬНАЯ КАРТОЧКА АЛЬБОМА              */
/* ========================================= */

.album-slide-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-slide-card:hover {
    border-color: rgba(185, 153, 97, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Контейнер картинки (Фикс пропорций 3:4) */
.slide-img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 133%; 
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 8px;
}

.slide-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Оверлей: градиент снизу вверх для читаемости текста */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 45, 35, 0.95) 0%, rgba(20, 45, 35, 0.3) 50%, transparent 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease, background 0.4s ease;
}

/* Контент слайда (Заголовок и кнопка) */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px; /* Добавили воздуха */
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Заголовок альбома */
.slide-title {
    color: #ffffff !important;
    font-family: var(--font-family-base, "EB Garamond", serif) !important;
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-shadow: none !important; /* Убили дешевую тень */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease !important;
    transform: translateY(20px); /* Спрятали чуть ниже, пока нет наведения */
}

/* Ссылка с анимацией */
.slide-link-text {
    font-family: var(--font-family-secondary, "Avantgarde", sans-serif) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important; /* Разрядка для дорогого вида */
    color: var(--color-secondary, #b99961) !important;
    text-transform: uppercase !important;
    margin-top: 12px !important;
    opacity: 0 !important;
    transform: translateY(15px) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Изящная стрелочка */
.slide-link-text::after {
    content: '→';
    font-size: 1.4em;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Счетчик количества фото (идеальный круг) */
.slide-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary, #142D23);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-secondary, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* ========================================= */
/* HOVER-ЭФФЕКТЫ                             */
/* ========================================= */

.album-slide-card:hover .slide-img-wrap img { 
    transform: scale(1.08) !important; 
}

.album-slide-card:hover .slide-overlay { 
    opacity: 1 !important; 
    background: linear-gradient(to top, rgba(20, 45, 35, 0.95) 0%, rgba(20, 45, 35, 0.5) 50%, rgba(20, 45, 35, 0.1) 100%);
}

.album-slide-card:hover .slide-title { 
    transform: translateY(0); 
}

.album-slide-card:hover .slide-link-text { 
    opacity: 1 !important; 
    transform: translateY(0) !important; 
}

.album-slide-card:hover .slide-link-text::after { 
    transform: translateX(5px); 
}

.album-slide-card:hover .slide-count {
    transform: scale(1.1);
    color: var(--color-secondary, #b99961);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Swiper фиксы */
.swiper-wrapper { display: flex; }
.swiper-slide { height: auto; }

@media (max-width: 576px) {
    .carousel-nav-container { display: none; }
    .slide-content { padding: 20px 15px; }
    .slide-title { font-size: 1.2rem !important; transform: translateY(0); } /* На мобилках показываем сразу */
    .slide-link-text { opacity: 1 !important; transform: translateY(0) !important; }
    .eco-albums-carousel-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }
}

/* ========================================= */
/* ФИКС ОБРУБЛЕННЫХ ТЕНЕЙ ДЛЯ СЛАЙДЕРА       */
/* ========================================= */

/* 1. Убираем жесткий overflow у самой обертки компонента, если он там есть */
.eco-albums-carousel-wrapper {
    overflow: visible !important;
}

/* 2. Расширяем границы самого Swiper-контейнера */
.eco-albums-carousel-wrapper .swiper-container {
    padding-top: 15px;
    padding-bottom: 40px; /* Основное место для нашей падающей тени */
    padding-left: 15px;
    padding-right: 15px;
    
    /* Компенсируем паддинги, чтобы карточки остались на своих местах */
    margin-top: -15px;
    margin-bottom: -40px;
    margin-left: -15px;
    margin-right: -15px;
}

/* Опционально: немного утихомирим саму тень, чтобы она была более бархатной */
.album-slide-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}
/* End */
/* /local/templates/eco_26/components/bitrix/news.list/articles_carousel/style.css?17768554894024 */
/* /local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17771876007226 */
