/* =========================================================
   TOUR V2 — стили только для шаблона single-tour-v2.php
   Все правила внутри .tv2 и с префиксом .tv2 для повышения
   специфичности, чтобы победить тему и bootstrap.
   ========================================================= */

.tv2 { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1A2B48; background: #fff; -webkit-font-smoothing: antialiased; }
.tv2, .tv2 *, .tv2 *::before, .tv2 *::after { box-sizing: border-box; }
.tv2 a { color: #1A3687; text-decoration: none; }
.tv2 a:hover { color: #1A2B48; }
.tv2 img { display: block; max-width: 100%; height: auto; }
.tv2 p { margin: 0; }
.tv2 ul, .tv2 ol { margin: 0; padding: 0; list-style: none; }

/* ---------- HERO ---------- */
.tv2 .tv2-hero { position: relative; overflow: hidden; }
.tv2 .tv2-hero__media { position: relative; min-height: 560px; background: #1A2B48; display: flex; flex-direction: column; }
.tv2 .tv2-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tv2 .tv2-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,43,72,0.2) 0%, rgba(26,43,72,0.85) 100%); }
.tv2 .tv2-hero__content { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 48px 48px 110px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.tv2 .tv2-hero__crumbs { margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,0.85); }
.tv2 .tv2-hero__crumbs .breadcrumbs { background: transparent; padding: 0; margin: 0; border: 0; box-shadow: none; border-radius: 0; color: rgba(255,255,255,0.85); }
.tv2 .tv2-hero__crumbs .breadcrumbs a,
.tv2 .tv2-hero__crumbs .breadcrumbs__link,
.tv2 .tv2-hero__crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; background: transparent; }
.tv2 .tv2-hero__crumbs .breadcrumbs a:hover,
.tv2 .tv2-hero__crumbs a:hover { color: #fff; }
.tv2 .tv2-hero__crumbs .breadcrumbs__current { color: #fff; font-weight: 500; }
.tv2 .tv2-hero__crumbs .breadcrumbs > span + span::before { content: '›'; margin: 0 8px; opacity: 0.5; color: rgba(255,255,255,0.5); }
/* скрываем пустые крошки (пустой <a href=""> от dimox_breadcrumbs) */
.tv2 .tv2-hero__crumbs .breadcrumbs a[href=""],
.tv2 .tv2-hero__crumbs .breadcrumbs a[href=""] + meta { display: none; }
.tv2 .tv2-hero__crumbs .breadcrumbs > span:has(a[href=""]) { display: none; }
.tv2 .tv2-hero__title { font-size: 52px; font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1.05; margin: 0 0 12px; max-width: 900px; font-family: inherit; }
.tv2 .tv2-hero__lead { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 700px; line-height: 1.5; margin: 0; }

/* ---------- INFO BAR ---------- */
.tv2 .tv2-infobar-wrap { max-width: 1280px; margin: -60px auto 0; padding: 0 48px; position: relative; z-index: 3; }
.tv2 .tv2-infobar { background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(26,43,72,0.15); padding: 28px 32px; display: flex; gap: 24px; align-items: stretch; }
.tv2 .tv2-infobar__item { flex: 1 1 0; min-width: 0; }
.tv2 .tv2-infobar__item + .tv2-infobar__item { border-left: 1px solid #E8EAED; padding-left: 24px; }
.tv2 .tv2-infobar__item + .tv2-infobar__cta { border-left: 1px solid #E8EAED; padding-left: 24px; margin-left: 0; }
.tv2 .tv2-infobar__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: #5E6D77; font-weight: 700; margin: 0 0 6px; line-height: 1.2; }
.tv2 .tv2-infobar__value { font-size: 18px; font-weight: 700; color: #1A2B48; line-height: 1.3; word-wrap: break-word; }
.tv2 .tv2-infobar__value--price { color: #1A3687; }
.tv2 .tv2-infobar__cta { flex: 1 1 0; background: #8daaeb; color: #1A2B48; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; text-decoration: none; padding: 14px 20px; transition: background 0.2s; text-align: center; min-height: 56px; }
.tv2 .tv2-infobar__cta:hover { background: #abc4fa; color: #1A2B48; }

/* ---------- STICKY SUB-NAV ---------- */
.tv2 .tv2-subnav { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #E8EAED; z-index: 10; margin-top: 40px; }
.tv2 .tv2-subnav__inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tv2 .tv2-subnav__inner::-webkit-scrollbar { display: none; }
.tv2 .tv2-subnav__link { padding: 16px 4px; margin-right: 20px; font-size: 13px; font-weight: 600; color: #5E6D77; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s; text-decoration: none; }
.tv2 .tv2-subnav__link:hover { color: #1A3687; }
.tv2 .tv2-subnav__link.is-active { color: #1A3687; border-bottom-color: #1A3687; }

/* ---------- SECTIONS BASE ---------- */
.tv2 .tv2-section { max-width: 1280px; margin: 0 auto; padding: 72px 48px; }
.tv2 .tv2-section--bg { background: #F5F6F8; padding: 80px 0; margin: 0 auto; max-width: none; }
.tv2 .tv2-section--bg > .tv2-section__inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.tv2 .tv2-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: #1A3687; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.tv2 .tv2-heading { font-size: 36px; font-weight: 700; color: #1A2B48; letter-spacing: -0.8px; line-height: 1.1; margin: 0 0 20px; font-family: inherit; }
.tv2 .tv2-lead { font-size: 15px; line-height: 1.7; color: #5E6D77; margin: 0; }
.tv2 .tv2-section__head { margin: 0 0 32px; }

/* ---------- ABOUT ---------- */
.tv2 .tv2-about__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.tv2 .tv2-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tv2 .tv2-features--1 { grid-template-columns: 1fr; max-width: 480px; }
.tv2 .tv2-feature { padding: 20px 22px; background: #F5F6F8; border-radius: 12px; }
.tv2 .tv2-feature__head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.tv2 .tv2-feature__icon { color: #1A3687; font-size: 18px; line-height: 1; width: 20px; text-align: center; }
.tv2 .tv2-feature__title { font-size: 14px; font-weight: 700; color: #1A2B48; line-height: 1.3; }
.tv2 .tv2-feature__text { font-size: 13px; color: #5E6D77; line-height: 1.6; }

/* ---------- HIGHLIGHTS ---------- */
.tv2 .tv2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tv2 .tv2-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(26,43,72,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.tv2 .tv2-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,43,72,0.12); }
.tv2 .tv2-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #E8EAED; }
.tv2 .tv2-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.tv2 .tv2-card__body { padding: 20px 22px; }
.tv2 .tv2-card__sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #5E6D77; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.tv2 .tv2-card__title { font-size: 18px; font-weight: 700; color: #1A2B48; margin: 0 0 8px; line-height: 1.3; font-family: inherit; }
.tv2 .tv2-card__text { font-size: 13px; line-height: 1.6; color: #5E6D77; margin: 0; }

/* ---------- PROGRAM ---------- */
.tv2 .tv2-program__grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.tv2 .tv2-program__aside { position: sticky; top: 80px; }
.tv2 .tv2-days { display: flex; flex-direction: column; gap: 12px; }
.tv2 .tv2-day { background: #fff; border: 1px solid #E8EAED; border-radius: 12px; overflow: hidden; }
.tv2 .tv2-day > .tv2-day__summary { padding: 20px 24px; display: flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; }
.tv2 .tv2-day > .tv2-day__summary::-webkit-details-marker { display: none; }
.tv2 .tv2-day__num { width: 48px; height: 44px; background: #F5F6F8; color: #1A2B48; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; padding: 0 6px; }
.tv2 .tv2-day[open] .tv2-day__num { background: #1A3687; color: #fff; }
.tv2 .tv2-day__info { flex: 1; min-width: 0; }
.tv2 .tv2-day__loc { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #5E6D77; font-weight: 700; margin: 0 0 2px; line-height: 1.3; }
.tv2 .tv2-day__title { font-size: 16px; font-weight: 700; color: #1A2B48; line-height: 1.3; }
.tv2 .tv2-day__chevron { width: 18px; height: 18px; color: #5E6D77; transition: transform 0.2s; flex-shrink: 0; }
.tv2 .tv2-day[open] .tv2-day__chevron { transform: rotate(90deg); }
.tv2 .tv2-day__content { padding: 20px 24px 24px 88px; border-top: 1px solid #F5F6F8; font-size: 14px; line-height: 1.7; color: #5E6D77; }
.tv2 .tv2-day__content p { margin: 0 0 12px; }
.tv2 .tv2-day__content p:last-child { margin-bottom: 0; }
.tv2 .tv2-day__content strong { color: #1A2B48; }

/* ---------- PRICING ---------- */
.tv2 .tv2-pricing__grid { display: grid; gap: 24px; align-items: start; }
.tv2 .tv2-pricing__grid--cols-1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.tv2 .tv2-pricing__grid--cols-2 { grid-template-columns: 1fr 1fr; }
.tv2 .tv2-pricing__grid--cols-3 { grid-template-columns: 1fr 1fr 380px; }
.tv2 .tv2-list-card { background: #fff; border-radius: 16px; padding: 32px; }
.tv2 .tv2-list-card__head { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.tv2 .tv2-list-card__icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.tv2 .tv2-list-card__icon--in { background: #E8F5E9; color: #2E7D32; }
.tv2 .tv2-list-card__icon--out { background: #FFEBEE; color: #C62828; }
.tv2 .tv2-list-card__title { font-size: 17px; font-weight: 700; color: #1A2B48; margin: 0; line-height: 1.3; font-family: inherit; }
.tv2 .tv2-list-card__list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tv2 .tv2-list-card__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: #1A2B48; margin: 0; padding: 0; list-style: none; }
.tv2 .tv2-list-card__list li::before { flex-shrink: 0; font-weight: 700; display: inline-block; width: 14px; text-align: center; }
.tv2 .tv2-list-card--in .tv2-list-card__list li::before { content: '\2713'; color: #2E7D32; }
.tv2 .tv2-list-card--out .tv2-list-card__list li::before { content: '\2715'; color: #C62828; }

.tv2 .tv2-price-card { background: #1A2B48; border-radius: 16px; padding: 32px; color: #fff; position: sticky; top: 80px; }
.tv2 .tv2-price-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.6); font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.tv2 .tv2-price-card__amount { display: flex; align-items: baseline; gap: 10px; margin: 0 0 24px; }
.tv2 .tv2-price-card__amount b { font-size: 44px; font-weight: 700; letter-spacing: -1px; line-height: 1; color: #fff; }
.tv2 .tv2-price-card__amount span { font-size: 13px; color: rgba(255,255,255,0.6); }
.tv2 .tv2-price-card__desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0 0 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.tv2 .tv2-price-card__section { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin: 0 0 24px; }
.tv2 .tv2-price-card__section-title { font-size: 13px; font-weight: 700; margin: 0 0 12px; color: #fff; }
.tv2 .tv2-price-card__rows { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.tv2 .tv2-price-card__row { display: flex; justify-content: space-between; }
.tv2 .tv2-price-card__row span:first-child { color: rgba(255,255,255,0.7); }
.tv2 .tv2-price-card__row span:last-child { font-weight: 600; color: #fff; }
.tv2 .tv2-btn { display: block; padding: 16px; text-align: center; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; margin: 0 0 10px; transition: all 0.2s; }
.tv2 .tv2-btn:last-child { margin-bottom: 0; }
.tv2 .tv2-btn--primary { background: #d3def6; color: #1A2B48; }
.tv2 .tv2-btn--primary:hover { background: #a6b9df; color: #1A2B48; }
.tv2 .tv2-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.tv2 .tv2-btn--ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* ---------- NOTES ---------- */
.tv2 .tv2-notes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tv2 .tv2-note { padding: 28px; border-radius: 12px; border: 1px solid #E8EAED; background: #F5F6F8; }
.tv2 .tv2-note__icon-wrap { width: 40px; height: 40px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 0 16px; font-size: 18px; color: #1A2B48; }
.tv2 .tv2-note__title { font-size: 15px; font-weight: 700; color: #1A2B48; margin: 0 0 8px; line-height: 1.3; font-family: inherit; }
.tv2 .tv2-note__text { font-size: 13px; line-height: 1.6; color: #5E6D77; margin: 0; }
.tv2 .tv2-note:nth-child(6n+1) { background: #FFF8F0; border-color: #FFE0C0; }
.tv2 .tv2-note:nth-child(6n+1) .tv2-note__icon-wrap { color: #B87A3D; }
.tv2 .tv2-note:nth-child(6n+2) { background: #EEF1FB; border-color: #D6DFF5; }
.tv2 .tv2-note:nth-child(6n+2) .tv2-note__icon-wrap { color: #1A3687; }
.tv2 .tv2-note:nth-child(6n+3) { background: #FFEBEE; border-color: #F5C6C9; }
.tv2 .tv2-note:nth-child(6n+3) .tv2-note__icon-wrap { color: #C62828; }
.tv2 .tv2-note:nth-child(6n+4) .tv2-note__icon-wrap { color: #1A2B48; }
.tv2 .tv2-note:nth-child(6n+5) .tv2-note__icon-wrap { color: #2E7D32; }
.tv2 .tv2-note:nth-child(6n) .tv2-note__icon-wrap { color: #5E6D77; }

/* ---------- INFO (the_content) ---------- */
.tv2 .tv2-info__content { font-size: 15px; line-height: 1.7; color: #1A2B48; }
.tv2 .tv2-info__content > * + * { margin-top: 16px; }
.tv2 .tv2-info__content p { margin: 0; }
.tv2 .tv2-info__content h2, .tv2 .tv2-info__content h3, .tv2 .tv2-info__content h4 { color: #1A2B48; margin: 24px 0 12px; font-family: inherit; }
.tv2 .tv2-info__content h2 { font-size: 24px; }
.tv2 .tv2-info__content h3 { font-size: 20px; }
.tv2 .tv2-info__content h4 { font-size: 17px; }
.tv2 .tv2-info__content img { max-width: 100%; height: auto; border-radius: 8px; }
.tv2 .tv2-info__content ul, .tv2 .tv2-info__content ol { padding-left: 24px; margin: 12px 0; }
.tv2 .tv2-info__content ul { list-style: disc; }
.tv2 .tv2-info__content ol { list-style: decimal; }
.tv2 .tv2-info__content ul li, .tv2 .tv2-info__content ol li { margin-bottom: 6px; }
.tv2 .tv2-info__content a { color: #1A3687; text-decoration: underline; }
.tv2 .tv2-info__content blockquote { border-left: 3px solid #1A3687; padding: 8px 16px; margin: 16px 0; color: #5E6D77; font-style: italic; }

/* ---------- CTA ---------- */
.tv2 .tv2-cta { background: linear-gradient(135deg, #1A2B48 0%, #1A3687 100%); padding: 80px 48px; text-align: center; }
.tv2 .tv2-cta__inner { max-width: 700px; margin: 0 auto; }
.tv2 .tv2-cta__title { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -0.8px; line-height: 1.1; margin: 0 0 14px; font-family: inherit; }
.tv2 .tv2-cta__text { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.6; margin: 0 0 28px; }
.tv2 .tv2-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tv2 .tv2-cta__btn { padding: 16px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s; display: inline-block; }
.tv2 .tv2-cta__btn--primary { background: #d3def6; color: #1A2B48; }
.tv2 .tv2-cta__btn--primary:hover { background: #a6b9df; color: #1A2B48; }
.tv2 .tv2-cta__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.tv2 .tv2-cta__btn--ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.tv2 .tv2-cta__btn--outline { background: #fff; color: #1A2B48; }
.tv2 .tv2-cta__btn--outline:hover { background: #F5F6F8; color: #1A2B48; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .tv2 .tv2-hero__title { font-size: 42px; }
  .tv2 .tv2-hero__media { min-height: 480px; }
  .tv2 .tv2-infobar { flex-wrap: wrap; }
  .tv2 .tv2-infobar__item, .tv2 .tv2-infobar__cta { flex: 1 1 calc(50% - 12px); }
  .tv2 .tv2-infobar__item + .tv2-infobar__item, .tv2 .tv2-infobar__item + .tv2-infobar__cta { border-left: 0; padding-left: 0; }
  .tv2 .tv2-pricing__grid,
  .tv2 .tv2-pricing__grid--cols-1,
  .tv2 .tv2-pricing__grid--cols-2,
  .tv2 .tv2-pricing__grid--cols-3 { grid-template-columns: 1fr; justify-content: stretch; }
  .tv2 .tv2-price-card { position: static; }
  .tv2 .tv2-program__grid { grid-template-columns: 1fr; gap: 32px; }
  .tv2 .tv2-program__aside { position: static; }
}
@media (max-width: 768px) {
  .tv2 .tv2-hero__media { min-height: 420px; }
  .tv2 .tv2-hero__content { padding: 32px 20px 90px; }
  .tv2 .tv2-hero__title { font-size: 32px; }
  .tv2 .tv2-hero__lead { font-size: 15px; }
  .tv2 .tv2-infobar-wrap { padding: 0 20px; margin-top: -40px; }
  .tv2 .tv2-infobar { padding: 20px; gap: 16px; }
  .tv2 .tv2-subnav__inner { padding: 0 20px; }
  .tv2 .tv2-section { padding: 48px 20px; }
  .tv2 .tv2-section--bg { padding: 48px 0; }
  .tv2 .tv2-section--bg > .tv2-section__inner { padding: 0 20px; }
  .tv2 .tv2-heading { font-size: 26px; }
  .tv2 .tv2-about__grid { grid-template-columns: 1fr; gap: 32px; }
  .tv2 .tv2-cards, .tv2 .tv2-notes__grid { grid-template-columns: repeat(2, 1fr); }
  .tv2 .tv2-day__content { padding: 16px 20px 20px 20px; }
  .tv2 .tv2-day__num { width: 44px; height: 40px; }
  .tv2 .tv2-cta { padding: 48px 20px; }
  .tv2 .tv2-cta__title { font-size: 26px; }
}
@media (max-width: 520px) {
  .tv2 .tv2-hero__title { font-size: 26px; }
  .tv2 .tv2-infobar__item, .tv2 .tv2-infobar__cta { flex: 1 1 100%; }
  .tv2 .tv2-cards, .tv2 .tv2-notes__grid, .tv2 .tv2-features { grid-template-columns: 1fr; }
  .tv2 .tv2-price-card__amount b { font-size: 34px; }
}
