/* ОБЩИЙ КОНТЕЙНЕР */
 #orthodox-church-unified {
 background-color: #fdfaf5;
 padding: 50px 20px;
 font-family: "Georgia", serif;
 color: #4a4238;
 border-radius: 15px;
 margin: 20px 0;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
 box-sizing: border-box;
 overflow: hidden;
 }

 .church-main-wrapper {
 max-width: 1100px;
 margin: 0 auto;
 }

 /* ============================================
    ВЫНЕСЕННЫЕ НАВЕРХ ПРЕВЬЮ (Старые пустые карточки)
    ============================================ */
 .church-preview-features {
 display: flex;
 justify-content: center;
 gap: 20px;
 margin-bottom: 40px;
 flex-wrap: wrap;
 }

 .cp-item {
 display: flex;
 align-items: center;
 background: rgba(255, 255, 255, 0.7);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(215, 200, 175, 0.5);
 padding: 15px 25px;
 border-radius: 12px; 
 gap: 15px;
 flex: 1;
 min-width: 280px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.04);
 transition: transform 0.3s ease, border-color 0.3s ease;
 }

 .cp-item:hover {
 transform: translateY(-3px);
 border-color: #c09848;
 }

 .cp-item img {
 width: 50px;
 height: 50px;
 object-fit: contain;
 flex-shrink: 0;
 }

 .cp-text h4 {
 margin: 0 0 5px 0 !important;
 font-size: 17px !important;
 color: #8b7355 !important;
 font-family: "Georgia", serif;
 font-weight: bold !important;
 }

 .cp-text p {
 margin: 0;
 font-size: 14px;
 color: #5a534a;
 line-height: 1.4;
 font-style: italic;
 }

 /* ============================================
    ВВОДНАЯ КАРТОЧКА И НОВЫЕ БЛОКИ
    ============================================ */
 .church-intro-card {
 background: rgba(255, 255, 255, 0.6);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(215, 200, 175, 0.4);
 border-radius: 12px;
 padding: 50px 40px;
 text-align: center;
 margin-bottom: 40px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
 position: relative; /* Для правильного позиционирования фонариков */
 }

 .church-main-title {
 font-family: "Georgia", serif;
 font-size: 56px !important;
 color: #8b7355 !important;
 margin: 0 0 35px 0 !important;
 font-weight: normal !important;
 border-bottom: 1px solid #e6dec9;
 padding-bottom: 15px;
 }

 .church-description {
 font-size: 17px;
 font-style: italic;
 margin-bottom: 25px;
 line-height: 1.6;
 max-width: 900px;
 margin-left: auto;
 margin-right: auto;
 }

 .church-main-btn {
 display: inline-block;
 padding: 12px 35px;
 background-color: #8b7355;
 color: #fff !important;
 text-decoration: none !important;
 border-radius: 4px;
 text-transform: uppercase;
 font-size: 14px;
 letter-spacing: 1px;
 margin-bottom: 50px;
 transition: 0.3s;
 border: none !important;
 }

 .church-main-btn:hover { 
 background: #6d5a42; 
 box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
 }

 /* 3 КРАСИВЫЕ КАРТОЧКИ (Стиль как в Молитвах/Библии) */
 .church-cards {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 30px;
 list-style: none;
 padding: 0;
 margin: 0 0 30px 0;
 position: relative;
 z-index: 2; /* Держим поверх фонариков */
 }

 .church-card {
 flex: 1 1 250px;
 max-width: 320px;
 background: rgba(255, 255, 255, 0.9);
 border: 1px solid rgba(215, 200, 175, 0.6);
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .church-card:hover {
 transform: translateY(-6px);
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
 }

 .church-link,
 .church-link:hover,
 .church-link:focus,
 .church-link:active {
 display: block;
 text-decoration: none !important;
 border-bottom: none !important;
 box-shadow: none !important;
 outline: none !important;
 color: inherit;
 height: 100%;
 }

 .church-card-image {
 position: relative;
 height: 220px;
 overflow: hidden;
 }

 .church-card-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 transition: transform 0.4s ease;
 }

 .church-card:hover .church-card-image img {
 transform: scale(1.05);
 }

 .church-card-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: rgba(253, 250, 245, 0.95);
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 border-top: 1px solid rgba(224, 213, 193, 0.6);
 padding: 15px;
 text-align: center;
 }

 .church-card-overlay h3 {
 margin: 0 !important;
 font-size: 18px !important;
 color: #8b7355 !important;
 font-weight: normal !important;
 text-transform: uppercase;
 letter-spacing: 1px;
 font-family: "Georgia", serif;
 text-decoration: none !important;
 border-bottom: none !important;
 }

 /* ============================================
    СЕПАРАТОРЫ И ФОНАРИКИ
    ============================================ */
 .lanterns-separator-wrapper {
 position: relative;
 width: 100%;
 margin: 20px 0 40px 0;
 min-height: 40px;
 }

 .divider-line {
 height: 1px;
 max-width: 700px;
 background: linear-gradient(to right, transparent, #d7c8af, transparent);
 margin: 0 auto;
 border: none;
 position: relative;
 z-index: 2;
 }

 .lanterns-bg {
 position: absolute;
 top: -90px; /* Приподнято, чтобы свисало из-под карточек */
 right: 0; /* Прижато к правому краю */
 width: 160px; /* Размер фонариков */
 opacity: 0.45; /* Небольшая прозрачность */
 z-index: 1; /* Под разделителем, но над фоном */
 pointer-events: none; /* Чтобы не мешали кликам */
 }

 .lanterns-bg img {
 width: 100%;
 height: auto;
 display: block;
 }

 .graphic-separator-bottom {
 text-align: center;
 margin: 40px auto 10px auto;
 }

 .graphic-separator-bottom img {
 max-width: 250px;
 height: auto;
 opacity: 0.85;
 }

 /* ============================================
    ГАЛЕРЕЯ КРУЖОЧКОВ (Внутри подложки)
    ============================================ */
 .church-gallery-section {
 margin-top: 20px;
 text-align: center;
 padding-top: 20px;
 position: relative;
 z-index: 2;
 }

 .gallery-label { 
 font-size: 20px; 
 font-style: italic; 
 display: block; 
 margin-bottom: 30px; 
 }

 .cg-filters {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 12px;
 margin-bottom: 45px;
 }

 /* НОВЫЕ КНОПКИ LIQUID GLASS (Жидкое стекло с объемом и тенями) */
 .cg-btn {
 padding: 10px 22px;
 border: 1px solid rgba(255, 255, 255, 0.5);
 background: rgba(255, 255, 255, 0.4);
 backdrop-filter: blur(15px);
 -webkit-backdrop-filter: blur(15px);
 color: #5a534a;
 cursor: pointer;
 border-radius: 30px; /* Овальные края для эффекта капли/стекла */
 font-family: "Georgia", serif;
 font-size: 14px;
 font-weight: bold;
 transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
 /* Внешние тени + Внутренние блики (свет сверху, легкая тень снизу) */
 box-shadow: 
    0 8px 25px rgba(139, 115, 85, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -1px 3px rgba(0, 0, 0, 0.05);
 }

 .cg-btn:hover {
 transform: translateY(-3px);
 background: rgba(255, 255, 255, 0.7);
 color: #4a4238;
 box-shadow: 
    0 12px 30px rgba(139, 115, 85, 0.22),
    inset 0 2px 5px rgba(255, 255, 255, 1),
    inset 0 -1px 3px rgba(0, 0, 0, 0.05);
 }

 /* Активная кнопка: золотой цвет с сохранением стеклянного объема */
 .cg-btn.active {
 background: #c09848;
 color: #ffffff;
 border-color: rgba(192, 152, 72, 0.8);
 box-shadow: 
    0 8px 25px rgba(192, 152, 72, 0.4),
    inset 0 2px 5px rgba(255, 255, 255, 0.4),
    inset 0 -2px 5px rgba(0, 0, 0, 0.15);
 text-shadow: 0 1px 2px rgba(0,0,0,0.2);
 }

 .cg-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px 15px; 
 padding: 20px 0;
 }

 .cg-item { 
 transition: all 0.4s ease; 
 text-align: center; 
 position: relative;
 }

 .cg-item.hide { 
 opacity: 0; 
 transform: scale(0.8); 
 pointer-events: none; 
 position: absolute; 
 }

 /* Кружочки */
 .cg-item img {
 width: 105px;
 height: 105px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid #c09848; 
 transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s;
 filter: sepia(20%);
 position: relative;
 z-index: 1;
 }

 /* Эффект вытягивания вперед на 40% без поворота */
 .cg-item img:hover { 
 transform: scale(1.4); 
 filter: sepia(0%); 
 z-index: 2;
 box-shadow: 0 10px 25px rgba(192, 152, 72, 0.35);
 }

 .cg-item p { 
 margin-top: 15px; 
 font-size: 15px; 
 font-weight: bold; 
 color: #6d5a42; 
 transition: color 0.3s ease;
 }

 .cg-item:hover p {
 color: #8b7355;
 }

 /* АДАПТИВНОСТЬ */
 @media (max-width: 850px) {
 .cg-grid { grid-template-columns: repeat(2, 1fr); }
 }
 @media (max-width: 768px) {
 #orthodox-church-unified { padding: 40px 15px; }
 .church-intro-card { padding: 30px 20px; }
 .church-preview-features { flex-direction: column; }
 .church-cards { flex-direction: column; align-items: center; }
 .church-card { flex: 1 1 100%; max-width: 90%; }
 .church-main-title { font-size: 38px !important; }
 .lanterns-bg { top: -60px; width: 110px; } /* На смартфонах фонарики поменьше */
 }
 @media (max-width: 500px) {
 .cg-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
 .cg-item img { width: 90px; height: 90px; }
 .cg-btn { font-size: 13px; padding: 8px 15px; }
 }