/**
 * Стили раздела «Экскурсии» для mos77.ru
 * Единый стиль с порталом, оптимизация под 3-колоночный лейаут (#primary).
 */

:root {
    --ex-primary: #ff4757;
    --ex-primary-hover: #ee3545;
    --ex-accent: #2ed573;
    --ex-card-bg: #ffffff;
    --ex-border: #e2e8f0;
    --ex-text: #1e293b;
    --ex-text-muted: #64748b;
    --ex-radius: 12px;
}

/* Общие контейнеры в контентной зоне */
.ex-hub-main,
.ex-rubric-main,
.ex-single-main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Единая белая карточка статьи в стиле vc.ru / mos77 */
.ex-single-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #eceef1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    padding: 24px 28px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

/* Шапка статьи экскурсии */
.ex-entry-head {
    margin-bottom: 22px;
}
.ex-entry-head .mos77-crumbs {
    margin: 0 0 14px 0 !important;
}
.ex-entry-head .vc-entry-head__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.ex-entry-head .vc-entry-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .ex-single-card {
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        padding: 16px !important;
        margin-bottom: 12px !important;
        box-shadow: none !important;
    }
    .ex-entry-head .vc-entry-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }
}

/* Хлебные крошки */
.mos77-crumbs.rb-crumbs {
    margin: 0 0 16px !important;
}

/* Hero Section в хабе каталога */
.ex-hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--ex-radius);
    padding: 32px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}
.ex-hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #ffffff !important;
}
.ex-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 20px 0;
    max-width: 720px;
}
.ex-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ex-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

/* Шапка рубрики */
.ex-rubric-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--ex-radius);
    padding: 28px 24px;
    margin-bottom: 20px;
}
.ex-rubric-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px 0;
    color: #ffffff !important;
}
.ex-rubric-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 16px 0;
}
.ex-rubric-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
}
.ex-rubric-meta-bar span strong {
    color: #ffffff;
}

/* Секция фильтров и быстрых чипсов */
.ex-filter-section {
    margin-bottom: 24px;
}
.ex-chips-wrap {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: thin;
}
.ex-chips-wrap::-webkit-scrollbar {
    height: 4px;
}
.ex-chips-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.ex-chip {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--ex-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ex-text);
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.ex-chip:hover {
    border-color: var(--ex-primary);
    color: var(--ex-primary);
}
.ex-chip.active {
    background: var(--ex-primary);
    border-color: var(--ex-primary);
    color: #ffffff;
}
.ex-chip-count {
    font-size: 11px;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 10px;
}
.ex-chip.active .ex-chip-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Панель поиска и сортировки */
.ex-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: var(--ex-radius);
    border: 1px solid var(--ex-border);
    align-items: center;
}
.ex-search-input-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}
.ex-input {
    width: 100%;
    padding: 9px 36px 9px 12px;
    border: 1px solid var(--ex-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.ex-input:focus {
    border-color: #2d81e0;
}
.ex-search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #64748b;
}
.ex-select-wrap {
    position: relative;
}
.ex-select {
    padding: 9px 12px;
    border: 1px solid var(--ex-border);
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    color: var(--ex-text);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.ex-select:focus {
    border-color: #2d81e0;
}

/* Пагинация каталога в едином стиле сайта (как в других рубриках) */
.ex-catalog-container .navigation.pagination {
    margin: 20px 0 28px;
}
.has-lm .ex-catalog-container .navigation.pagination.lm-pages {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* SEO Текст каталога */
.ex-seo-article {
    background: #ffffff;
    border-radius: var(--ex-radius);
    padding: 28px 24px;
    margin-top: 32px;
    border: 1px solid var(--ex-border);
}
.ex-seo-article h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px 0;
}
.ex-seo-article h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 10px 0;
}
.ex-seo-article p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 14px 0;
}
.ex-seo-article ul {
    margin: 0 0 20px 20px;
    list-style: disc;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

/* ==========================================================
   СТРАНИЦА ОТДЕЛЬНОЙ ЭКСКУРСИИ (SINGLE)
   ========================================================== */

.ex-single-header {
    margin-bottom: 20px;
}
.ex-badge-rubric-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ex-primary);
    background: rgba(255, 71, 87, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: background 0.2s;
}
.ex-badge-rubric-link:hover {
    background: rgba(255, 71, 87, 0.2);
}
.ex-single-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 0 14px 0 !important;
    color: #1e293b !important;
}
.ex-single-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.ex-meta-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--ex-border);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}
.ex-meta-badge--rating {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #b45309;
    font-weight: 700;
}
.ex-meta-badge--price {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
    font-weight: 700;
}

/* Фотогалерея */
.ex-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    border-radius: var(--ex-radius);
    overflow: hidden;
}
.ex-gallery-main {
    height: 380px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.ex-gallery-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.ex-gallery-main:hover .ex-gallery-img-large {
    transform: scale(1.02);
}
.ex-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 380px;
}
.ex-thumb-item {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}
.ex-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.ex-thumb-item:hover img {
    transform: scale(1.05);
}

/* Верхняя карточка бронирования (Quick Book) */
.ex-quick-book-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--ex-border);
    border-left: 4px solid var(--ex-primary);
    border-radius: var(--ex-radius);
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    gap: 20px;
}
.ex-qb-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ex-qb-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.ex-qb-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--ex-text);
}
.ex-qb-unit {
    font-size: 13px;
    color: var(--ex-text-muted);
}
.ex-qb-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #16a34a;
    font-weight: 600;
}
.ex-qb-action {
    flex-shrink: 0;
}
.ex-btn-booking-card {
    display: inline-block;
    background: var(--ex-primary);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
}
.ex-btn-booking-card:hover {
    background: var(--ex-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 71, 87, 0.45);
}

/* Форматирование богатого описания экскурсии */
.ex-article-body {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 32px;
}
.ex-article-body p {
    margin-bottom: 16px;
}
.ex-article-body h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 28px 0 16px;
}
.ex-article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 12px;
}

/* Шаги программы экскурсии */
.ex-program-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 28px;
}
.ex-step-card {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--ex-border);
    border-radius: 10px;
    padding: 16px 18px;
}
.ex-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--ex-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.ex-step-body h3,
.ex-step-body h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ex-step-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

/* Блок истории и архитектурных тайн */
.ex-history-box {
    position: relative;
    background: #fffdf5;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 14px;
    padding: 20px 22px 20px 58px;
    margin: 24px 0 28px;
    font-size: 15px;
    line-height: 1.65;
    color: #451a03;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.05);
}
.ex-history-box::before {
    content: "🏛️";
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 24px;
    line-height: 1;
}
.ex-history-box p {
    margin: 0 0 10px 0;
}
.ex-history-box p:last-child {
    margin-bottom: 0;
}

/* Блок полезных советов перед прогулкой */
.ex-tips-notice {
    position: relative;
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    border-left: 4px solid #2563eb;
    border-radius: 14px;
    padding: 20px 22px 20px 58px;
    margin: 24px 0 28px;
    font-size: 15px;
    line-height: 1.65;
    color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}
.ex-tips-notice::before {
    content: "💡";
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 24px;
    line-height: 1;
}
.ex-tips-notice p {
    margin: 0 0 10px 0;
}
.ex-tips-notice p:last-child {
    margin-bottom: 0;
}

/* Блок гида */
.ex-guide-card {
    display: flex;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    padding: 20px;
    margin: 30px 0;
}
.ex-guide-avatar-wrap {
    flex-shrink: 0;
}
.ex-guide-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ex-guide-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.ex-guide-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: var(--ex-primary);
    margin-bottom: 4px;
    display: block;
}
.ex-guide-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #0f172a;
}
.ex-guide-bio {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 10px 0;
}
.ex-guide-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

/* FAQ Аккордеон */
.ex-faq-section {
    margin: 32px 0;
}
.ex-faq-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: #0f172a;
}
.ex-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ex-faq-item {
    background: #ffffff;
    border: 1px solid var(--ex-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.ex-faq-item[open] {
    border-color: #cbd5e1;
}
.ex-faq-q {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ex-faq-q::-webkit-details-marker {
    display: none;
}
.ex-faq-q::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--ex-text-muted);
}
.ex-faq-item[open] .ex-faq-q::after {
    content: '−';
    color: var(--ex-primary);
}
.ex-faq-a {
    padding: 0 18px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    border-top: 1px solid #f1f5f9;
}

/* Нижний баннер бронирования */
.ex-booking-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    padding: 22px 24px;
    margin: 32px 0 24px;
    gap: 20px;
}
.ex-cta-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.ex-cta-text p {
    margin: 0;
    font-size: 13px;
    color: var(--ex-text-muted);
}
.ex-btn-booking-large {
    flex-shrink: 0;
    display: inline-block;
    background: var(--ex-primary);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
}
.ex-btn-booking-large:hover {
    background: var(--ex-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 71, 87, 0.45);
}

/* Фиксированная мобильная плашка */
.ex-mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .ex-gallery-grid {
        grid-template-columns: 1fr;
    }
    .ex-gallery-main {
        height: 240px;
    }
    .ex-gallery-thumbs {
        height: auto;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    .ex-thumb-item {
        height: 65px;
    }
    .ex-quick-book-card {
        flex-direction: column;
        align-items: stretch;
    }
    .ex-btn-booking-card {
        text-align: center;
    }
    .ex-booking-cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .ex-btn-booking-large {
        width: 100%;
        text-align: center;
    }
    .ex-mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid var(--ex-border);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    }
    .ex-m-val {
        font-size: 17px;
        font-weight: 800;
        display: block;
        color: var(--ex-text);
    }
    .ex-m-unit {
        font-size: 11px;
        color: var(--ex-text-muted);
    }
    .ex-m-btn {
        background: var(--ex-primary);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none !important;
    }
}

/* ==========================================================
   Блок «Вы владелец?» — единый стиль mos77.ru
   ========================================================== */
.owner-cta {
    display: block;
    margin: 28px 0 20px;
    padding: 20px 22px 22px;
    background: #f7f9fc;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    transition: box-shadow .2s ease, border-color .2s ease;
    box-sizing: border-box;
    clear: both;
}
.owner-cta:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    border-color: #e2e8f0;
}
.owner-cta__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}
.owner-cta__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}
.owner-cta__title-icon {
    color: #2563eb;
    flex-shrink: 0;
}
.owner-cta__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.owner-cta__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.owner-cta__head .owner-cta__hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}
.owner-cta__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 2px;
}
.owner-cta__text {
    flex: 1 1 auto;
    min-width: 0;
}
.entry-content a.owner-cta__heading,
.entry-content a.owner-cta__link,
a.owner-cta__heading,
a.owner-cta__link {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a !important;
    text-decoration: none !important;
    border-bottom: none !important;
    margin: 0 0 6px 0;
    transition: color .2s ease;
}
.entry-content a.owner-cta__heading:hover,
.entry-content a.owner-cta__link:hover,
a.owner-cta__heading:hover,
a.owner-cta__link:hover {
    color: #2563eb !important;
}
.owner-cta__text .owner-cta__desc,
.owner-cta__text .owner-cta__hint {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}
.owner-cta__action {
    flex: 0 0 auto;
}
.entry-content a.owner-cta__btn,
a.owner-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    border: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2);
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.entry-content a.owner-cta__btn:hover,
a.owner-cta__btn:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}
.entry-content a.owner-cta__btn:active,
a.owner-cta__btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}
.owner-cta__btn-arrow {
    flex-shrink: 0;
    transition: transform .2s ease;
}
.entry-content a.owner-cta__btn:hover .owner-cta__btn-arrow,
a.owner-cta__btn:hover .owner-cta__btn-arrow {
    transform: translateX(2px);
}
@media (max-width: 640px) {
    .owner-cta {
        padding: 16px 16px 18px;
        margin: 22px 0 16px;
    }
    .owner-cta__head {
        flex-wrap: wrap;
        gap: 6px 12px;
        margin-bottom: 12px;
    }
    .owner-cta__head .owner-cta__hint {
        font-size: 12.5px;
    }
    .owner-cta__body {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .entry-content a.owner-cta__heading,
    .entry-content a.owner-cta__link,
    a.owner-cta__heading,
    a.owner-cta__link {
        font-size: 15.5px;
    }
    .owner-cta__text .owner-cta__desc,
    .owner-cta__text .owner-cta__hint {
        font-size: 13.5px;
    }
    .entry-content a.owner-cta__btn,
    a.owner-cta__btn {
        width: 100%;
        padding: 12px 18px;
    }
}

/* ==========================================================
   Похожие экскурсии (Related block)
   ========================================================== */
.ex-related-section {
    margin: 32px 0 20px;
}
.ex-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.ex-related-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.ex-related-all {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb !important;
    text-decoration: none !important;
}
.ex-related-all:hover {
    text-decoration: underline !important;
}

/* ==========================================================
   Обложка статьи экскурсии (единый стиль заведений mos77)
   ========================================================== */
.ex-single-card .vc-entry-cover {
    margin: 16px 0 20px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.ex-single-card .vc-entry-cover img {
    display: block !important;
    width: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* ==========================================================
   Галерея внизу контента экскурсии
   ========================================================== */
.ex-gallery-section {
    margin: 32px 0 28px !important;
    clear: both !important;
}
.ex-gallery-section h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
}

/* ==========================================================
   SEO-посадочные страницы по фильтрам (/ekskursii/{filter}/)
   ========================================================== */
.ex-landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* ==========================================================
   Кнопки «Поделиться» — гарантируем отсутствие обрезки текста
   ========================================================== */
.entry-social .social-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.entry-social .social-button {
    flex: 1 1 auto !important;
    min-width: max-content !important;
    padding: 0 16px !important;
}
.entry-social .social-button__label {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
}
@media (max-width: 640px) {
    .entry-social .social-buttons {
        gap: 8px !important;
    }
    .entry-social .social-button {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: max-content !important;
        padding: 0 12px !important;
    }
    .entry-social .social-button--copy {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
}


