

/* Start:/local/templates/church_of_the_nativity/components/bitrix/news.list/history/style.css?17827335735144*/
.temple-detail {
    color: #2c2420;
    line-height: 1.8;
    background: #fff;
}

.temple-detail__title {
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--main-color);
    text-align: center;
    line-height: 1.3;
}

.temple-detail__content h2,
.temple-detail__content h3 {
    font-size: 24px;
    font-weight: 400;
    color: #2c2420;
    margin: 50px 0 25px;
    padding: 0;
    line-height: 1.4;
}

.temple-detail__content h2:first-child,
.temple-detail__content h3:first-child {
    margin-top: 0;
}

.temple-detail__preview {
    margin-bottom: 50px;
    padding: 0;
}

.temple-detail__preview-image {
    margin: 0 0 30px;
    text-align: center;
}

.temple-detail__preview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.temple-detail__preview-text {
    font-size: 18px;
    line-height: 1.9;
    color: #3a3a3a;
    text-align: justify;
    hyphens: auto;
}

.temple-detail__preview-text p {
    margin: 0 0 20px;
}

.temple-detail__preview-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ
   ============================================ */

.temple-detail__content {
    font-size: 17px;
    line-height: 1.9;
    color: #3a3a3a;
}

.temple-detail__detail-image {
    margin: 40px auto;
    text-align: center;
}

.temple-detail__detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.temple-detail__text {
    text-align: justify;
    hyphens: auto;
}

.temple-detail__text p {
    margin: 0 0 20px;
    text-indent: 0;
}

.temple-detail__text p:last-child {
    margin-bottom: 0;
}

.temple-detail__text h3 {
    font-size: 22px;
    font-weight: 400;
    color: #2c2420;
    margin: 40px 0 20px;
    line-height: 1.4;
}

.temple-detail__text h4 {
    font-size: 19px;
    font-weight: 700;
    color: #3a3a3a;
    margin: 30px 0 15px;
    line-height: 1.4;
}


.temple-detail__text ul,
.temple-detail__text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.temple-detail__text li {
    margin-bottom: 10px;
    line-height: 1.8;
}


.temple-detail__text blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f9f7f3;
    border-left: 4px solid #d4af37;
    font-style: italic;
    color: #5a5a5a;
}

.temple-detail__text blockquote p {
    margin: 0;
}


.temple-detail__text a {
    color: #8b6914;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.temple-detail__text a:hover {
    color: #d4af37;
}


.temple-detail__video {
    margin: 50px 0;
    padding: 30px;
    background: #f9f7f3;
    border-radius: 4px;
    text-align: center;
}

.temple-detail__video-title {
    font-size: 20px;
    font-weight: 400;
    color: #2c2420;
    margin: 0 0 20px;
}

.temple-detail__video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
}

.temple-detail__video-container iframe,
.temple-detail__video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.temple-detail__divider {
    width: 60px;
    height: 2px;
    background: #d4af37;
    margin: 40px auto;
}

.temple-detail__divider--decorative {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
    margin: 50px auto;
}

.temple-detail__highlight {
    padding: 25px 30px;
    background: #f9f7f3;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
    margin: 30px 0;
}

.temple-detail__highlight p {
    margin: 0;
}


.temple-detail__historical-note {
    padding: 25px 30px;
    background: #fffef8;
    border-left: 3px solid #d4af37;
    margin: 30px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .temple-detail {
        padding: 40px 20px;
    }

    .temple-detail__title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .temple-detail__content h2,
    .temple-detail__content h3 {
        font-size: 20px;
        margin: 35px 0 20px;
    }

    .temple-detail__preview-text,
    .temple-detail__text {
        font-size: 16px;
        line-height: 1.8;
    }

    .temple-detail__video {
        padding: 20px;
    }

    .temple-detail__video-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .temple-detail {
        padding: 25px 15px;
    }

    .temple-detail__title {
        font-size: 22px;
    }

    .temple-detail__content h2,
    .temple-detail__content h3 {
        font-size: 18px;
    }

    .temple-detail__preview-text,
    .temple-detail__text {
        font-size: 15px;
        text-align: left;
        hyphens: none;
    }
}


@media print {
    .temple-detail {
        max-width: 100%;
        padding: 0;
    }

    .temple-detail__video {
        display: none;
    }

    .temple-detail a {
        text-decoration: none;
        color: #000;
    }
}
/* End */
/* /local/templates/church_of_the_nativity/components/bitrix/news.list/history/style.css?17827335735144 */
