

/* Start:/local/templates/donkod/components/bitrix/news/template1/bitrix/news.detail/.default/style.css?17562850549140*/
/* Эффект Кена Бернса для активного слайда */
.gallery-photo .gallery-top .swiper-slide-active img {
    animation: kenburns-smooth 20s ease-in-out infinite alternate;
}

@keyframes kenburns-smooth {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    25% {
        transform: scale(1.05) translate(2%, 2%);
    }
    50% {
        transform: scale(1.08) translate(-2%, -2%);
    }
    75% {
        transform: scale(1.06) translate(3%, -1%);
    }
    100% {
        transform: scale(1.1) translate(-3%, 1%);
    }
}

/* Улучшенная производительность анимации */
.gallery-photo .gallery-top .swiper-slide img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.3s ease-in-out;
}

/* Останавливаем анимацию на неактивных слайдах */
.gallery-photo .gallery-top .swiper-slide:not(.swiper-slide-active) img {
    animation: none !important;
    transform: scale(1) translate(0, 0) !important;
}

/* Остальные существующие стили остаются без изменений */
.article-block-text {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    width: 100%;
}

.gallery-photo {
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
}

.gallery-photo .swiper-button-next:after, .gallery-photo .swiper-button-prev:after {
    display: none;
}

.gallery-photo .swiper-button-next, .gallery-photo .swiper-rtl .swiper-button-prev {
    right: -52px;
}

.gallery-photo .swiper-button-prev, .gallery-photo .swiper-rtl .swiper-button-next {
    left: -52px;
}

.gallery-photo .swiper-slide img {
    width: 100%;
}

.gallery-photo .gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
}

.gallery-photo .gallery-thumbs .swiper-slide img {
    border-radius: var(--radius-md);
}

.gallery-photo .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

/* Стили для секции подкастов */
.podcast-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.podcast-title {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.podcast-player {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.podcast-item {
    background: #f8f9fa;
    padding: 20px 60px;
    border-radius: 0;
    border-left: 0;
}

.podcast-item-title {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.audio-player {
    width: 100%;
    margin-bottom: 10px;
}

.podcast-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.podcast-filename {
    font-weight: 500;
}

.podcast-size {
    color: #999;
}

/* Адаптивность для аудио плеера */
@media (max-width: 768px) {
    .podcast-item {
        padding: 12px;
    }

    .podcast-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Улучшенная адаптивность для слайдера */
@media (max-width: 768px) {
    .gallery-photo {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .gallery-photo .swiper-button-next,
    .gallery-photo .swiper-rtl .swiper-button-prev {
        right: 15px;
        top: 50%;
        transform: translateY(100%);
    }

    .gallery-photo .swiper-button-prev,
    .gallery-photo .swiper-rtl .swiper-button-next {
        left: 15px;
        top: 50%;
        transform: translateY(100%);
    }

    /* Скрываем thumbs на мобильных */
    .gallery-thumbs {
        display: none !important;
    }

    /* Основное изображение занимает 100% ширины с auto высотой */
    .gallery-top .swiper-slide {
        width: 100% !important;
    }

    .gallery-top .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 70vh;
        object-fit: contain;
    }

    /* Убираем анимацию Кена Бернса на мобильных для производительности */
    .gallery-top .swiper-slide-active img {
        animation: none !important;
        transform: none !important;
    }

    /* Уменьшаем размер кнопок навигации */
    .gallery-photo .swiper-button-next,
    .gallery-photo .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .gallery-photo .swiper-button-next img,
    .gallery-photo .swiper-button-prev img {
        width: 40px;
        height: 40px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .gallery-photo .swiper-button-next,
    .gallery-photo .swiper-rtl .swiper-button-prev {
        right: 10px;
    }

    .gallery-photo .swiper-button-prev,
    .gallery-photo .swiper-rtl .swiper-button-next {
        left: 10px;
    }

    .gallery-photo .swiper-button-next,
    .gallery-photo .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

.gallery-section {
    margin: 30px 0;
    padding: 20px 0;
}

.gallery-title {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.gallery-grid-inner {
    display: grid;
    gap: 15px;
    width: 100%;
}

/* Больше 1200px - 3 изображения в ряд */
.gallery-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Стили для подписей галереи */
.gallery-item-wrapper {
    position: relative;
    /*margin-bottom: 20px;*/
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    text-align: center;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: opacity 0.3s ease;
}

/* Адаптивность для подписей */
@media (max-width: 768px) {
    .gallery-caption {
        font-size: 13px;
        padding: 6px 10px;
        bottom: 0;
    }
}

/* Альтернативный вариант: подпись под изображением (без абсолютного позиционирования) */
/*
.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
}

.gallery-caption {
    background: #f8f9fa;
    color: #333;
    padding: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    text-align: center;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-top: -4px;
}
*/

/* Адаптивность */
/* 999px - 1400px - 2 изображения в ряд */
@media (max-width: 1400px) {
    .gallery-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Меньше 1200px - 1 изображение в ряд */
@media (max-width: 1200px) {
    .gallery-grid--3,
    .gallery-grid--2 {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 220px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .gallery-image {
        height: 300px;
    }
}

.fancybox__caption {
     font-family: "Manrope", sans-serif;
     font-size: 16px;
     text-align: center;
     padding: 15px;
     background: rgba(0, 0, 0, 0.8);
     color: white;
     line-height: 1.4;
     max-width: 80%;
     margin: 0 auto;
     border-radius: 4px;
 }

.fancybox__toolbar {
    background: rgba(0, 0, 0, 0.3);
}

.fancybox__nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 44px;
    height: 44px;
}

.fancybox__nav button:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Адаптивность для fancybox */
@media (max-width: 768px) {
    .fancybox__caption {
        font-size: 14px;
        padding: 10px;
        max-width: 90%;
    }

    .fancybox__nav button {
        width: 36px;
        height: 36px;
    }
}

/* Дополнительные классы для адаптивности */
.mobile-adaptive-img {
    width: 100%;
    height: auto;
}

.desktop-only {
    display: block;
}

.mobile-hidden {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-hidden {
        display: none !important;
    }

    .mobile-adaptive-img {
        max-height: 70vh;
        object-fit: contain;
    }
}
/* End */


/* Start:/local/components/lea/main_cat_banner/templates/tags/style.css?174832875372*/
.theme-button.active{background: var(--primary-color);
  color: white;}
/* End */


/* Start:/bitrix/components/sprint.editor/blocks/templates/.default/_style.css?17895454583610*/
/* Общие стили для блоков */
.sp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.sp-block-table table tr {
    background: #f7f7f7;
    color: #8a8a8a;
}

.sp-block-table table tr:nth-child(odd) {
    background: #e7e6e6;
}

.sp-block-table table tr:hover {
    background: #d4d4d4;
    color: #000;
}

.sp-block-table table td {
    text-align: left;
    border: 1px solid #ccc;
    padding: 5px;
}

.sp-block-table p {
    margin: 0;
}

.sp-image img {
    width: 100%;
}

.sp-video iframe,
.sp-video-gallery iframe {
    border-width: 0;
}

.sp-iblock-sections {
    padding: 10px;
    border: 1px solid #c3c3c3;
    margin: 10px 0;
}

.sp-iblock-elements {
    padding: 10px;
    border: 1px solid #c3c3c3;
    margin: 10px 0;
}
.sp-medialib-elements {
    padding: 10px;
    border: 1px solid #c3c3c3;
    margin: 10px 0;
}

.sp-properties {
    width: 400px;
    border-collapse: collapse;
}

.sp-properties_title {
    border: 1px solid #ccc;
    padding: 0 5px;
    font-weight: bold;
}

.sp-properties_text {
    border: 1px solid #ccc;
    padding: 0 5px;
}

.sp-gallery-items {
    overflow: hidden;
}

.sp-gallery-item {
    float: left;
    height: 220px;
    padding: 5px;
    /*width: 20%;*/
}

.sp-gallery-item-img-wrapper {
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    color: inherit;
}

.sp-gallery-item img {
    display: block;
    max-width: 100%;
    left: 50%;
    max-height: 100%;
    max-width: none;
    position: relative;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    -moz-transform: translate(-50%, -50%) translateZ(0);
    -o-transform: translate(-50%, -50%) translateZ(0);
    -ms-transform: translate(-50%, -50%) translateZ(0);
    transform: translate(-50%, -50%) translateZ(0);
}

.sp-gallery-item-text {
    background-color: rgba(255, 255, 255, .7);
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    width: 100%;
}

.sp-gallery-item-text:hover {
    opacity: 1;
}

.sp-gallery-item-text::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.sp-gallery-item-text-content {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.sp-button_link,
.sp-button_link:link,
.sp-button_link:visited {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    background: #ccc;
    color: #333;
}

.sp-button_link:hover {
    text-decoration: none;
    background: #333;
    color: #ccc;
}

/*accordion*/
.sp-accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sp-accordion-title {
    border-top: 1px solid #ccc;
    color: #444;
    cursor: pointer;
    padding: 10px;
    text-align: left;
}

.sp-accordion-title:first-child {
    border-top: none;
}

.sp-accordion-container {
    padding: 0 10px 10px;
    display: none;
    overflow: hidden;
}

.sp-accordion-title:after {
    content: '\02795';
    font-size: 12px;
    color: #777;
    float: right;
    margin: 2px 5px;
}

.sp-accordion-title__active:after {
    content: "\2796";
}

.sp-complex-table {
    display: table;
    table-layout: fixed;
    border-spacing: 10px;
}

.sp-complex-row {
    display: table-row;
}

.sp-complex-col {
    display: table-cell;
    vertical-align: top;
}

/* End */
/* /local/templates/donkod/components/bitrix/news/template1/bitrix/news.detail/.default/style.css?17562850549140 */
/* /local/components/lea/main_cat_banner/templates/tags/style.css?174832875372 */
/* /bitrix/components/sprint.editor/blocks/templates/.default/_style.css?17895454583610 */
