

/* Start:/local/components/main/breadCrumbs/templates/.default/style.css?17776431572553*/
/* Контейнер */
.mainBreadCrumbsComponent.new-style {
    margin: 15px 20px 25px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s;
}

.mainBreadCrumbsComponent.new-style:hover {
    box-shadow: 0 4px 12px rgba(0, 109, 119, 0.12);
}

.mainBreadCrumbsComponent.new-style .Breadcrumbs.Flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Элемент списка */
.mainBreadCrumbsComponent.new-style .bc-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
}

/* Иконка домика для первого элемента (Главная) */
.mainBreadCrumbsComponent.new-style .bc-item:first-child .bc-link .home-icon {
    display: inline-flex;
    margin-right: 4px;
    vertical-align: middle;
}

.mainBreadCrumbsComponent.new-style .bc-item:first-child .bc-link .home-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Ссылка (цвет #006d77) */
.mainBreadCrumbsComponent.new-style .bc-link {
    color: #006d77;
    text-decoration: none;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.mainBreadCrumbsComponent.new-style .bc-link:hover {
    color: #004d54;
    background: rgba(0, 109, 119, 0.08);
    text-decoration: none;
}

/* Разделитель (стильная стрелка) */
.mainBreadCrumbsComponent.new-style .bc-separator {
    display: flex;
    align-items: center;
    margin: 0 6px;
    color: #b0c4c6; /* Нейтральный серо-голубой */
    opacity: 0.6;
}

.mainBreadCrumbsComponent.new-style .bc-separator svg {
    width: 10px;
    height: 10px;
}

/* Текущая страница (жирная, с фоном) */
.mainBreadCrumbsComponent.new-style .bc-current {
    color: #006d77;
    font-weight: 600;
    background: rgba(0, 109, 119, 0.1);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: default;
}

/* Адаптивность */
@media (max-width: 768px) {
    .mainBreadCrumbsComponent.new-style {
        margin: 10px 12px 18px;
        padding: 8px 12px;
    }
    .mainBreadCrumbsComponent.new-style .bc-item {
        font-size: 12px;
    }
}

/* End */


/* Start:/local/components/new/index.test/templates/.default/style.css?1778073512906*/
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quiz-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.quiz-card:hover { border-color: #00796b; }

.quiz-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-right: 16px;
    flex-shrink: 0;
}

.quiz-info h3 { margin: 0 0 4px; font-size: 16px; color: #333; }
.quiz-info p { margin: 0 0 8px; font-size: 13px; color: #666; }

.quiz-meta { font-size: 12px; color: #777; }
.medium { color: #00796b; font-weight: 600; }
.hard { color: #c62828; font-weight: 600; }

/* End */


/* Start:/local/components/new/index.popular/templates/.default/style.css?17780557273780*/
/* Популярные книги */
.popular-books {
    margin-bottom: 50px;
}

.books-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.book-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #edf2f2;
    text-decoration: none;
    transition: all 0.3s;
}

.book-item:hover {
    border-color: #006d77;
    background: #f0fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 119, 0.08);
}

.book-number {
    font-size: 22px;
    font-weight: 800;
    color: #006d77;
    opacity: 0.3;
    min-width: 36px;
}

.book-info {
    display: flex;
    flex-direction: column;
}

.book-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.book-chapters {
    font-size: 12px;
    color: #888;
}

/* Статистика */
.stats-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-item {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e8f0f0;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: #006d77;
    box-shadow: 0 6px 15px rgba(0, 109, 119, 0.06);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #006d77;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Цитата */
.quote-block {
    background: linear-gradient(135deg, #f7fbfc 0%, #eaf5f7 100%);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 50px;
    border: 1px solid #d6eef0;
}

.quote-icon {
    font-size: 36px;
    color: #83c5be;
    margin-bottom: 15px;
}

.quote-text {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    font-style: italic;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 15px;
}

.quote-ref {
    font-size: 15px;
    color: #888;
    margin: 0 0 25px;
}

.quote-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #006d77;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.quote-btn:hover {
    background: #005a63;
    transform: translateY(-2px);
}

/* Полезные разделы */
.links-block {
    margin-bottom: 50px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 22px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf2f2;
    text-decoration: none;
    transition: all 0.3s;
}

.link-card:hover {
    border-color: #006d77;
    background: #f5fbfb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.link-card i {
    font-size: 22px;
    color: #006d77;
    width: 40px;
    text-align: center;
}

.link-card span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Адаптив */
@media (max-width: 768px) {
    .books-scroll {
        grid-template-columns: 1fr 1fr;
    }

    .stats-block {
        grid-template-columns: 1fr 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quote-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .books-scroll {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* End */


/* Start:/local/components/new/index.groups/templates/.default/style.css?17788387906144*/
/* ===== КОНТЕЙНЕР ===== */
.groups-compact {
    margin: 0 auto;
    padding: 20px;
}

/* ===== КАРТОЧКА ===== */
.group-card-compact {
    display: flex;
    align-items: flex-start; /* выравниваем по верхнему краю */
    gap: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 18px 20px;
    margin-bottom: 24px;
    border: 1px solid #f2f2f2;
    transition: box-shadow 0.2s;
}

.group-card-compact:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* ===== МИНИАТЮРА ФОТО ===== */
.group-thumb {
    width: 160px;        /* Уменьшил ширину */
    height: 160px;       /* Квадрат */
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
}

.photo-slider-mini {
    width: 100%;
    height: 100%;
    position: relative;
    background: #eaeef2;
}

.photo-slider-mini .slider-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.photo-slider-mini .slider-img.active {
    opacity: 1;
}

/* Точки навигации (маленькие) */
.slider-dots-mini {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.slider-dots-mini .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.2s;
}

.slider-dots-mini .dot.active {
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* ===== КОНТЕНТ СПРАВА ===== */
.group-content-compact {
    flex: 1;
    min-width: 0;
}

/* Шапка */
.group-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.group-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a5a5a;
    margin: 0;
    line-height: 1.2;
}

.badge-track {
    background: #eaf2f2;
    color: #2a7372;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Описание */
.group-desc {
    font-size: 13px;
    color: #777;
    margin: 6px 0 14px 0;
    line-height: 1.5;
}

/* ===== ТРЕКИ (колонка справа) ===== */
.tracks-column {
    display: flex;
    flex-direction: column;
    gap: 10px;  /* Отступы между треками */
}

.track-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8fafb;
    border-radius: 10px;
    transition: background 0.15s;
    cursor: pointer;
}

.track-line:hover {
    background: #eef4f5;
}

.track-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.play-icon {
    background: #2a7372;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s;
}

.play-icon:hover {
    background: #1b5e5e;
    transform: scale(1.05);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 700px) {
    .group-card-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }

    .group-thumb {
        width: 100%;
        height: 200px;
        max-width: 100%;
    }

    .group-name {
        font-size: 18px;
    }

    .tracks-column {
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .group-thumb {
        height: 150px;
    }

    .track-line {
        flex-wrap: wrap;
        gap: 6px;
    }
}
.track-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: #f8fafb;
    border-radius: 10px;
    transition: 0.2s;
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.track-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    font-size: 11px;
    color: #999;
}

/* Кнопка Play */
.play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #1a5a5a;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.play-btn:hover { background: #247a7a; }

/* Кнопка Скачать */
.download-btn {
    color: #999;
    transition: 0.2s;
    display: flex;
    align-items: center;
    padding: 5px;
}

.download-btn:hover {
    color: #1a5a5a;
    transform: translateY(1px);
}

.is-playing {
    background: #e74c3c !important; /* Цвет меняется при проигрывании */
}
/* Ссылка на названии */
.group-name-link {
    text-decoration: none;
    color: inherit; /* берет цвет заголовка */
}

.group-name-link:hover .group-name {
    color: #006d77; /* цвет при наведении */
}

/* Эффект на фото при наведении */
.group-thumb-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.group-thumb-link:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Обрезание описания CSS */
.group-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничить 2 строками */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
.play-btn .icon{
    margin-top:-2px;
    margin-left: 2px;
}
/* End */


/* Start:/local/components/sings/psalm.search/templates/new2/style.css?1778069198750*/
/* Общий контейнер */
.ps-v2-container {
    width: 100%;
}

/* Стиль инпута "как в шапке" */
.ps-v2-input-style {
    width: 100%;
    max-width:800px;
    height: 44px;
    padding: 0 20px 0 44px;
    border: 2px solid #e0f2f1;
    border-radius: 14px;
    font-size: 15px;
    background: #f8fcfc;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.ps-v2-input-style::placeholder {
    color: #999;
}

/* Блок результатов */
.ps-v2-list-box {
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    padding: 10px;
}

.ps-v2-ajax-result {
    max-height: 400px;
    overflow-y: auto;
}

/* End */


/* Start:/local/components/new/index.media/templates/.default/style.css?17788449826982*/
/* ===== СЕКЦИЯ КАНАЛОВ ===== */

/* Шапка секции */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-head h2 {
    /* Используем существующий стиль h2 */
    margin: 0;
}

.section-arrow {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    color: inherit;
    transition: all 0.3s ease;
}

.section-arrow:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.channels-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== КАРТОЧКА КАНАЛА ===== */
.channel-card {
    display: flex;
    align-items: stretch;
    gap: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.channel-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* Чередование: если reverse — меняем порядок блоков */
.channel-card--reverse {
    flex-direction: row-reverse;
}

/* ===== БЛОК ИНФОРМАЦИИ О КАНАЛЕ ===== */
.channel-card__info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 0 0 320px;
    min-width: 280px;
}

/* Аватар */
.channel-card__avatar {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.channel-card__avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Бейдж с количеством видео на аватаре */
.channel-card__avatar-badge {
    position: absolute;
    bottom: -6px;
    right: -12px;
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}

/* Контент */
.channel-card__content {
    flex: 1;
    min-width: 0;
}

.channel-card__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}

.channel-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка на канал */
.channel-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    color: inherit;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.channel-card__link:hover {
    border-bottom-color: currentColor;
    gap: 10px;
}

.channel-card__link svg {
    transition: transform 0.3s;
}

.channel-card__link:hover svg {
    transform: translateX(4px);
}

/* ===== БЛОК С ВИДЕО (КАРУСЕЛЬ) ===== */
.channel-card__videos {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Горизонтальная лента */
.videos-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.videos-strip::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Элемент видео */
.videos-strip__item {
    flex-shrink: 0;
    width: 150px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.videos-strip__item:hover {
    transform: translateY(-6px);
}

/* Превью */
.videos-strip__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.videos-strip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.videos-strip__item:hover .videos-strip__thumb img {
    transform: scale(1.08);
}

/* Кнопка Play при наведении */
.videos-strip__play {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.videos-strip__item:hover .videos-strip__play {
    opacity: 1;
}

/* Название видео */
.videos-strip__name {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ИНДИКАТОР ПРОКРУТКИ ===== */
.videos-strip__scrollbar {
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
    position: relative;
}

.videos-strip__scrollbar-thumb {
    height: 100%;
    width: 30%;
    background-color: var(--brand-accent);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 900px) {
    .channel-card {
        flex-direction: column !important;
        gap: 20px;
    }

    .channel-card__info {
        flex: none;
        min-width: 0;
        width: 100%;
    }

    .channel-card__avatar {
        width: 64px;
        height: 64px;
    }

    .channel-card__avatar-img {
        width: 64px;
        height: 64px;
    }

    .videos-strip__item {
        width: 130px;
    }
}

@media (max-width: 600px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .channel-card {
        padding: 20px;
        border-radius: 14px;
    }

    .channel-card__info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .channel-card__avatar {
        width: 70px;
        height: 70px;
    }

    .channel-card__avatar-img {
        width: 70px;
        height: 70px;
    }

    .channel-card__avatar-badge {
        bottom: -4px;
        right: -8px;
        font-size: 10px;
        padding: 2px 8px;
    }

    .channel-card__title {
        font-size: 18px;
    }

    .videos-strip__item {
        width: 110px;
    }
}

/* End */


/* Start:/local/components/new/index.books/templates/.default/style.css?17788413416418*/
/* Секция книг */
.books-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}



/* Сетка книг */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка книги */
.book-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 109, 119, 0.08);
    border: 1px solid #eaf2f2;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 109, 119, 0.12);
    border-color: #83c5be;
}

/* Хедер карточки */
.book-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.book-cover {
    width: 120px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.03);
}

.book-basic-info {
    flex: 1;
}

.book-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.book-title-link {
    text-decoration: none;
    color: inherit;
}

.book-title-link:hover .book-title {
    color: #006d77;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chapter-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #006d77;
    font-weight: 600;
    background: #f0f9f9;
    padding: 6px 12px;
    border-radius: 20px;
}

.meta-icon {
    opacity: 0.8;
}

/* Описание книги */
.book-description {
    margin: 20px 0;
    padding: 18px;
    background: #f8fcfc;
    border-radius: 12px;
    border-left: 4px solid #83c5be;
}

.book-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Блок глав */
.book-chapters-container {
    margin: 20px 0;
    overflow-y: auto;
    max-height: 400px;
    padding-right: 10px;
}

.chapters-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.chapter-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #eef2f2;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.chapter-link:hover {
    background: #f0f9f9;
    border-color: #83c5be;
    color: #006d77;
    transform: translateX(3px);
}

.chapter-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Скрытый блок всех глав */
.all-chapters-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-bottom: 0;
}

.all-chapters-wrapper.active {
    max-height: 300px;
    margin-bottom: 15px;
    //overflow-y: auto;
}

.all-chapters-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    max-height: 280px;
}

/* Кнопка показа всех глав */
.toggle-chapters-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: #f8fcfc;
    border: 1px solid #e0e8e8;
    border-radius: 12px;
    color: #006d77;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.toggle-chapters-btn:hover {
    background: #f0f9f9;
    border-color: #83c5be;
}

.toggle-chapters-btn.active .arrow-icon {
    transform: rotate(180deg);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

/* Футер карточки */
.book-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eef2f2;
}

.read-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #006d77 0%, #83c5be 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 109, 119, 0.2);
}

.read-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 109, 119, 0.3);
    background: linear-gradient(135deg, #005a63 0%, #6db3ad 100%);
}

/* Адаптивность */
@media (max-width: 1100px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-card {
        padding: 20px;
    }

    .book-header {
        flex-direction: column;
        gap: 15px;
    }

    .book-cover {
        width: 140px;
        height: 200px;
        align-self: center;
    }

}

@media (max-width: 480px) {
    .books-section {
        padding: 0 15px;
    }

    .book-cover {
        width: 120px;
        height: 170px;
    }
}
/* Описание книги с обрезанием через CSS */
.book-description {
    margin: 15px 0;
    padding: 12px 15px;
    background: #f8fcfc;
    border-radius: 12px;
    border-left: 4px solid #83c5be;
    min-height: 72px; /* Фиксирует высоту, чтобы карточки были ровными */
}

.book-description p {
    font-size: 14px;
    line-height: 1.5; /* Высота строки */
    color: #555;
    margin: 0;

    /* Магия обрезания текста */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Количество строк, которые нужно оставить */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Фикс для одинаковой высоты карточек в ряду */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.book-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* End */


/* Start:/local/components/sings/list/templates/new/style.css?17780732303640*/
/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
.psalm-search-results > a {
    text-decoration: none;
    display: block;
}

/* ===== СТРОКА РЕЗУЛЬТАТА ===== */
.ps-item {
    display: grid;
    grid-template-columns: 100px 1fr 360px;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #e8ecf0;
    transition: background 0.15s ease;
    background: #fff;
}

.ps-item:hover {
    background: #f5f7f9;
    border-left: 3px solid #2b6f6f;
    padding-left: 17px;
}

/* ===== НОМЕР  ===== */
.ps-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf2f6;
    color: #3d4f5e;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    min-width: 90px;
    border: 1px solid #d5dce3;
}

.ps-item:hover .ps-number {
    background: #2b6f6f;
    color: white;
    border-color: #2b6f6f;
}

/* ===== ЦЕНТРАЛЬНАЯ КОЛОНКА ===== */
.ps-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ps-link {
    text-decoration: none;
    color: #1f2a36;
    font-weight: 500;
    font-size: 15px;
    padding: 4px 0;
}

.ps-popup-link {
    font-size: 11px;
    color: #6f7e8f;
    cursor: pointer;
    border-bottom: 1px dashed #c4ccd6;
    padding: 1px 4px;
    background: rgba(60, 80, 100, 0.02);
}

/* ===== ПЛЕЕР (Компактный) ===== */
.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f5f8;
    border: 1px solid #d5dce3;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.play-btn {
    background: #2b6f6f;
    border: none;
    width: 32px; /* Уменьшено с 36 */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 5px; /* Более тонкий */
    background: #d0d6de;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
}

.progress-fill {
    height: 100%;
    background: #2b6f6f;
    width: 0%;
}

.time-display {
    font-size: 10px; /* Компактный шрифт */
    color: #5f6e7e;
    font-family: monospace;
    min-width: 32px;
}

.download-btn {
    width: 28px; /* Уменьшено */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #d0d6de;
    color: #6f7e8f;
    text-decoration: none;
}

.download-btn:hover {
    background: #2b6f6f;
    color: #fff;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .ps-item {
        grid-template-columns: 90px 1fr;
    }
    .ps-col-audio {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .ps-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 8px;
    }

    .ps-number {
        min-width: auto;
        font-size: 10px;
        padding: 2px 8px;
        align-self: flex-start;
    }

    .ps-link {
        font-size: 14px;
    }

    .custom-audio-player {
        padding: 3px 6px;
    }

    .play-btn {
        width: 28px;
        height: 28px;
    }

    .play-btn svg {
        width: 10px;
        height: 10px;
    }
}

/* End */


/* Start:/local/components/new/index.bible/templates/.default/style.css?17780619344649*/
/* ===== 1. БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС ===== */
:root {
    --brand-main: #26899e;       /* Основной бирюзовый */
    --brand-light: #e0f2f4;      /* Фон для блоков */
    --brand-accent: #d1eef0;     /* Для бейджей */
    --text-main: #2c3e50;        /* Основной текст */
    --text-muted: #6b7c8a;       /* Второстепенный текст */
    --bg-page: #f5f9fa;          /* Фон страницы */
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(38, 137, 158, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--bg-page);
    line-height: 1.6;
}

/* ===== 2. HERO-СЕКЦИЯ (ЦИТАТА ДНЯ) ===== */
.hero-section {
    background: #eef7f8;
    padding: 50px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 35px;
    text-align: center;
    box-shadow: var(--shadow);
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--brand-accent);
    color: var(--brand-main);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 25px;
}

.verse-content {
    max-width: 800px;
    margin: 0 auto;
}

.verse-text {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2c4a50;
    line-height: 1.4;
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
    font-style: italic;

    /* Умное ограничение текста (3 строки) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.verse-cite {
    font-size: 1rem;
    color: var(--brand-main);
    font-weight: 700;
    font-style: normal;
}

/* ===== 3. СЕТКА ИНСТРУМЕНТОВ (СЕРВИСЫ) ===== */
.tools-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.tools-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #e4eef0;
    border-radius: var(--radius-md);
    padding: 30px 15px;
    text-decoration: none;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--brand-main);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    background: #fdfdfd;
}

/* Унификация иконок */
.service-card i {
    font-size: 2.2rem;
    color: var(--brand-main);
    margin-bottom: 15px;
    display: block;
}

.card-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

/* ===== 4. ПОИСК (ЕСЛИ ИСПОЛЬЗУЕТСЯ) ===== */
.hero-search {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.hero-search input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #d4e6ea;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}

.hero-search input:focus { border-color: var(--brand-main); }

.hero-search button {
    padding: 14px 28px;
    background: var(--brand-main);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

/* ===== 5. АДАПТИВНОСТЬ ===== */

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .verse-text { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .hero-section { padding: 30px 15px; }
    .verse-text {
        font-size: 1.2rem;
        -webkit-line-clamp: 4;
    }
    .hero-search { flex-direction: column; }
    .tools-title { font-size: 1.2rem; }
    .services-grid { gap: 12px; }
}

@media (max-width: 400px) {
    .services-grid { grid-template-columns: 1fr; }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* End */
/* /local/components/main/breadCrumbs/templates/.default/style.css?17776431572553 */
/* /local/components/new/index.test/templates/.default/style.css?1778073512906 */
/* /local/components/new/index.popular/templates/.default/style.css?17780557273780 */
/* /local/components/new/index.groups/templates/.default/style.css?17788387906144 */
/* /local/components/sings/psalm.search/templates/new2/style.css?1778069198750 */
/* /local/components/new/index.media/templates/.default/style.css?17788449826982 */
/* /local/components/new/index.books/templates/.default/style.css?17788413416418 */
/* /local/components/sings/list/templates/new/style.css?17780732303640 */
/* /local/components/new/index.bible/templates/.default/style.css?17780619344649 */
