

/* Start:/local/components/dictionaries/detail/templates/.default/style.css?17853104949413*/
/* Основной контейнер словаря */
.dictionariesMainDetailComponent {
    margin-top: 30px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Заголовок блока */
.dictionariesMainDetailComponent .dicTitle {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--brand-accent);
    letter-spacing: 0.01em;
}

.dictionariesMainDetailComponent .dicTitle b {
    color: var(--brand-main);
    font-weight: 700;
}

/* Блок отдельного словаря */
.dicBlock {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e8eef1;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.dicBlock:hover {
    box-shadow: 0 4px 20px rgba(38, 137, 158, 0.08);
    transform: translateY(-1px);
}

/* Название словаря (левая колонка) */
.dicBlock .dicName {
    width: 160px;
    min-width: 160px;
    padding: 14px 16px;
    background: var(--brand-light);
    color: var(--brand-main);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    border-right: 2px solid var(--brand-accent);
}

/* Текст словарной статьи (правая колонка) */
.dicBlock .dicText {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    flex: 1;
}

/* ============================================
   ПРЕМИУМ-СТИЛИ ДЛЯ HTML-КОНТЕНТА СЛОВАРНОЙ СТАТЬИ
   (селекторы применяются к тегам внутри dicText
    и к основному выводу $arResult['main'][type])
   ============================================ */

/* Заголовки внутри контента */
.dicText h2,
.dicText h3,
.dicText h4 {
    color: var(--brand-main);
    font-weight: 600;
    margin: 20px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--brand-accent);
}

.dicText h2 { font-size: 1.25rem; }
.dicText h3 { font-size: 1.1rem; }
.dicText h4 { font-size: 1rem; }

/* Абзацы */
.dicText p {
    margin: 0 0 12px;
    text-indent: 0;
    text-align: justify;
    hyphens: auto;
}

/* Полужирный текст */
.dicText b,
.dicText strong {
    color: #1a5d6e;
    font-weight: 700;
}

/* Курсив */
.dicText i,
.dicText em {
    color: #3a7d8c;
    font-style: italic;
}

/* Подчёркнутый текст */
.dicText u {
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-main);
    color: var(--brand-main);
}

/* Ссылки */
.dicText a {
    color: var(--brand-main);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.dicText a:hover {
    color: #1a5d6e;
    border-bottom-color: #1a5d6e;
}

/* Списки */
.dicText ul,
.dicText ol {
    margin: 10px 0 14px;
    padding-left: 24px;
}

.dicText li {
    margin-bottom: 6px;
    position: relative;
    color: var(--text-main);
}

.dicText ul li::marker {
    color: var(--brand-main);
    font-weight: bold;
}

.dicText ol li::marker {
    color: var(--brand-main);
    font-weight: 600;
}

/* Цитаты */
.dicText blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    background: var(--brand-light);
    border-left: 4px solid var(--brand-main);
    border-radius: 0 6px 6px 0;
    color: #1a5d6e;
    font-style: italic;
    line-height: 1.6;
}

/* Горизонтальный разделитель */
.dicText hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand-accent), transparent);
    margin: 20px 0;
}

/* Таблицы */
.dicText table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(38, 137, 158, 0.06);
}

.dicText th {
    background: var(--brand-main);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.dicText td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--brand-accent);
    font-size: 0.9rem;
    transition: background 0.15s ease;
}

.dicText tr:hover td {
    background: var(--brand-light);
}

/* Стихи/отрывки из Писания */
.dicText .verse,
.dicText .scripture {
    background: #fdf8ee;
    border-left: 3px solid #c9a84c;
    padding: 10px 16px;
    margin: 12px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #4a3f28;
}

/* Выделенный текст */
.dicText mark {
    background: #fff3cd;
    color: #856404;
    padding: 1px 4px;
    border-radius: 3px;
}

/* Мелкий текст / сноски */
.dicText small {
    font-size: 0.8rem;
    color: #6c7a89;
}

/* Код/транслитерация */
.dicText code {
    background: var(--brand-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--brand-main);
}

/* Изображения внутри контента */
.dicText img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 10px 0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .dicBlock {
        flex-direction: column;
    }

    .dicBlock .dicName {
        width: 100%;
        min-width: auto;
        border-right: none;
        border-bottom: 2px solid var(--brand-accent);
        padding: 10px 16px;
    }

    .dicBlock .dicText {
        padding: 14px 16px;
    }

    .dicText {
        font-size: 0.9rem;
    }
}

/* Основной заголовок статьи */
h1 .title {
    font-size: 1.5rem;
    color: var(--brand-main);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

/*
   Стиль ссылок на стихи.
   Используем display: inline и box-shadow вместо border для максимальной мягкости.
*/
.dicText span,
.main-article-content span {
    display: inline; /* Убирает лишние отступы/пробелы вокруг элемента */
    background: #f1f6f8; /* Очень бледный пастельный фон */
    color: #3a7a88;
    padding: 2px 4px;
    margin: 0;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s ease;

    /* Эти свойства позволяют фону корректно обтекать текст при переносе строки */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;

    /* Вместо грубой рамки используем мягкую тень-подсветку */
    box-shadow: 0 0 0 1px rgba(58, 122, 136, 0.1);
    text-decoration: none;
}

/* Ховер-эффект: мягкое подсвечивание */
.dicText span:hover,
.main-article-content span:hover {
    background: #e2eff3;
    color: #1a5c6a;
    box-shadow: 0 0 0 1px rgba(58, 122, 136, 0.3);
}

/* Умное исключение: убираем стилизацию для пояснительного текста в скобках.
   Если span — это первое слово или он единственный в параграфе, сбрасываем оформление. */
.dicText > span:first-child,
.main-article-content > span:first-child,
.dicText p > span:only-child,
.main-article-content p > span:only-child {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: inherit !important;
    font-weight: inherit !important;
    cursor: text !important;
}

/* Исправление пробелов перед знаками препинания:
   Так как мы перешли на display: inline, браузерные отступы исчезнут сами.
   Но добавим легкий отступ только МЕЖДУ двумя span, если они идут подряд. */
.dicText span + span,
.main-article-content span + span {
    margin-left: 2px;
}

/* Стили для ссылок-номеров (verse-ref), делаем их чуть теплее */
.dicText span.verse-ref,
.main-article-content span.verse-ref {
    background: #fdfaf2;
    color: #7d6633;
    box-shadow: 0 0 0 1px rgba(125, 102, 51, 0.1);
}

.dicText span.verse-ref:hover,
.main-article-content span.verse-ref:hover {
    background: #f7edd4;
    box-shadow: 0 0 0 1px rgba(125, 102, 51, 0.3);
}

/* Адаптивность */
@media (max-width: 480px) {
    .dicText span,
    .main-article-content span {
        padding: 1px 2px;
        font-size: 1em; /* На мобильных лучше чуть крупнее для тапа */
    }
}

/* End */


/* Start:/local/components/main/breadCrumbs/templates/.default/style.css?17806441032553*/
/* Контейнер */
.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 */
/* /local/components/dictionaries/detail/templates/.default/style.css?17853104949413 */
/* /local/components/main/breadCrumbs/templates/.default/style.css?17806441032553 */
