/* ===== ❤️ Экскурсии, стиль «Тёплый зин» v1.1 ===== */
.ymtours{
  --ink:#221d1a;--cream:#f7f1e6;--paper:#fffdf8;--terra:#d9663f;
  --plum:#7a4b63;--sage:#6f8b6e;--rye:#c89a4a;--line:#e6ddcb;--muted:#8a7f6f;
  --radius:18px;--shadow:0 8px 30px rgba(34,29,26,.10);
  font-family:'Manrope',system-ui,sans-serif;color:var(--ink);background:var(--paper);
}
.ymtours *{box-sizing:border-box}
.ymtours{overflow-x:clip}
.ymtours img{display:block;max-width:100%}
.ymtours a{color:inherit}
.ymtours .wrap{max-width:1180px;margin:0 auto;padding-left:22px;padding-right:22px}

/* ============ HERO (grid: текст слева, фото справа, как 100flats) ============ */
.ymtours .th{padding-top:30px;padding-bottom:10px;display:grid;grid-template-columns:1fr 210px;column-gap:32px;align-items:start}
.ymtours .th-text{min-width:0;grid-column:1;grid-row:1}
.ymtours .th-photo{position:relative;justify-self:end;grid-column:2;grid-row:1/span 2;align-self:center}
.ymtours .th-intro{grid-column:1;grid-row:2;font-size:16px;color:var(--ink);line-height:1.5;margin:.4em 0 0;max-width:600px}
.ymtours .th-intro b{color:var(--terra)}
.ymtours .th-photo img{width:200px;height:240px;object-fit:cover;border-radius:18px;transform:rotate(3deg);box-shadow:0 16px 40px rgba(34,29,26,.25);border:5px solid #fffdf8}
.ymtours .th-photo .tag{position:absolute;bottom:14px;left:-12px;transform:rotate(-3deg);background:var(--terra);color:#fff;font-family:'Unbounded';font-weight:700;font-size:11px;padding:6px 13px;border-radius:999px;box-shadow:0 8px 22px rgba(217,102,63,.45);display:inline-flex;align-items:center;gap:5px}
.ymtours .th-kick{font-family:'Unbounded';font-weight:600;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--terra)}
.ymtours .th-kick a{color:var(--terra) !important;text-decoration:none;border-bottom:1px dashed var(--terra)}
.ymtours .th-h1{font-family:'Unbounded';font-weight:800;font-size:clamp(28px,3.6vw,46px);line-height:1.05;margin:.25em 0 .25em;letter-spacing:-1.2px}
.ymtours .th-h1 em{font-style:normal;color:var(--terra);position:relative;white-space:nowrap;z-index:0}
.ymtours .th-h1 em:after{content:"";position:absolute;left:-.04em;right:-.04em;bottom:.08em;height:.32em;background:var(--rye);border-radius:2px;z-index:-1}

/* ============ LAYOUT: sticky-сайдбар слева + контент ============ */
.ymtours .ymt-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:30px;align-items:start;margin-top:18px}
.ymtours .ymt-side{position:sticky;top:78px;min-width:0}
.ymtours .ymt-main{min-width:0}
.ymtours .ymt-side-inner{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow)}
.ymtours .ymt-side-lead{font-family:'Unbounded';font-weight:800;font-size:16px;letter-spacing:-.3px;margin:2px 2px 12px}
.ymtours .ymt-side-group{margin-top:14px}
.ymtours .ymt-side-cap{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:0 2px 8px;display:flex;align-items:center;gap:6px}
.ymtours .ymt-cap-q{width:15px;height:15px;border-radius:50%;background:var(--cream);color:var(--muted);display:inline-grid;place-items:center;font-size:10px;cursor:help;border:1px solid var(--line)}

/* большая кнопка ХИТЫ */
.ymtours .ymt-fbtn{width:100%;display:flex;align-items:center;gap:11px;background:var(--ink);color:#fff;border:0;border-radius:14px;padding:13px 15px;cursor:pointer;text-align:left;transition:.14s;margin-bottom:4px}
.ymtours .ymt-fbtn .ymt-fbtn-emoji{font-size:24px;line-height:1}
.ymtours .ymt-fbtn-txt{display:flex;flex-direction:column;line-height:1.15}
.ymtours .ymt-fbtn-txt b{font-family:'Unbounded';font-weight:700;font-size:16px}
.ymtours .ymt-fbtn-txt small{font-size:11.5px;opacity:.75;font-weight:600}
.ymtours .ymt-fbtn.active{background:var(--terra);box-shadow:0 8px 22px rgba(217,102,63,.4)}
.ymtours .ymt-fbtn:not(.active):hover{background:#3a322d}

/* чипсы фильтров */
.ymtours .ymt-fchips{display:flex;flex-wrap:wrap;gap:7px}
.ymtours .ymt-fchip{border:1.5px solid var(--line);background:var(--paper);border-radius:999px;padding:7px 12px;font-weight:700;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:.12s;color:var(--ink);white-space:nowrap}
.ymtours .ymt-fchip:hover{border-color:var(--terra);background:#fff}
.ymtours .ymt-fchip.active{color:#fff;border-color:transparent}
.ymtours .ymt-fchip.active.fc-emo{background:var(--plum)}
.ymtours .ymt-fchip.active.fc-role{background:var(--sage)}
.ymtours .ymt-fchip .rq{width:14px;height:14px;border-radius:50%;background:rgba(0,0,0,.08);display:inline-grid;place-items:center;font-size:9px;font-weight:800}
.ymtours .ymt-fchip.active .rq{background:rgba(255,255,255,.28)}

/* ============ КОНТЕНТ ============ */
.ymtours .ymt-panel{display:none}
.ymtours .ymt-panel.active{display:block;animation:ymtfade .25s ease}
@keyframes ymtfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ymtours .ymt-phead{margin:0 0 4px}
.ymtours .ymt-pkick{font-family:'Unbounded';font-weight:600;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--terra)}
.ymtours .ymt-ph2{font-family:'Unbounded';font-weight:800;font-size:clamp(22px,2.6vw,30px);letter-spacing:-1px;margin:5px 0}
.ymtours .ymt-psub{font-family:'Fraunces';font-style:italic;font-size:17px;color:var(--plum);margin:2px 0 18px}
.ymtours .ymt-empty{color:var(--muted);font-size:15px;padding:20px 0}

.ymtours .ymt-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

/* ============ КАРТОЧКА (дерзкая) ============ */
.ymtours .tcard{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.ymtours .tcard:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(34,29,26,.18)}

/* галерея */
.ymtours .tgal{position:relative;aspect-ratio:3/2;overflow:hidden;background:#2a2320}
.ymtours .tgal-track{display:flex;height:100%;transition:transform .32s cubic-bezier(.4,0,.2,1)}
.ymtours .tgal-slide{min-width:100%;height:100%;position:relative}
.ymtours .tgal-slide img{width:100%;height:100%;object-fit:cover}
.ymtours .tgal-ph{width:100%;height:100%;display:grid;place-items:center}
.ymtours .tgal-ph .emoji{font-size:60px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.3))}
.ymtours .tgal-grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,transparent 30%,transparent 62%,rgba(0,0,0,.42) 100%);pointer-events:none}
.ymtours .tgal-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,253,248,.92);color:#221d1a;font-size:17px;font-weight:700;cursor:pointer;display:grid;place-items:center;opacity:0;transition:.14s;z-index:3;box-shadow:0 3px 12px rgba(0,0,0,.25)}
.ymtours .tcard:hover .tgal-arrow{opacity:1}
.ymtours .tgal-arrow.prev{left:9px}
.ymtours .tgal-arrow.next{right:9px}
.ymtours .tgal-arrow:hover{background:#fff}
.ymtours .tgal-dots{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:3}
.ymtours .tgal-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55);transition:.14s;cursor:pointer}
.ymtours .tgal-dots i.on{background:#fff;width:18px;border-radius:3px}

/* мелкие аккуратные бейджи поверх галереи */
.ymtours .tgal-badges{position:absolute;top:11px;left:11px;right:11px;display:flex;justify-content:space-between;align-items:flex-start;gap:7px;z-index:3;pointer-events:none}
.ymtours .tbadge{font-size:11px;font-weight:800;padding:4px 9px;border-radius:8px;white-space:nowrap;letter-spacing:.2px;display:inline-flex;align-items:center;gap:4px;line-height:1.3;box-shadow:0 2px 10px rgba(0,0,0,.2)}
/* «был сам»: обводка-плашка, отличается от ролей */
.ymtours .tb-self{background:#fff;color:var(--terra);border:1.5px solid var(--terra)}
.ymtours .tb-role{margin-left:auto;color:#fff}
.ymtours .tb-must{background:var(--terra)}
.ymtours .tb-gem{background:var(--plum)}
.ymtours .tb-taste{background:var(--rye);color:#3a2c12}
.ymtours .tb-day{background:var(--sage)}

.ymtours .tcard-body{padding:15px 16px 16px;display:flex;flex-direction:column;flex:1}
.ymtours .tcard-body h3{font-family:'Unbounded';font-weight:700;font-size:18px;line-height:1.13;margin:0 0 7px;letter-spacing:-.4px}
.ymtours .tcard-note{font-size:13.5px;line-height:1.5;color:var(--ink);margin:0 0 11px}

/* эмоция-теги мелкие */
.ymtours .tcard-emos{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 12px}
.ymtours .tcard-emos span{font-size:11px;font-weight:600;color:var(--muted);background:var(--cream);border-radius:999px;padding:3px 9px}

/* коммент Миши */
.ymtours .misha-c{display:flex;gap:9px;align-items:flex-start;background:linear-gradient(180deg,#fbf3ea,#fff);border:1px solid var(--line);border-radius:13px;padding:10px 11px;margin:0 0 13px}
.ymtours .misha-c img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ymtours .misha-c .txt{font-family:'Fraunces';font-style:italic;font-size:13px;line-height:1.42;color:var(--ink)}
.ymtours .misha-c .txt b{font-family:'Manrope';font-style:normal;font-weight:700;font-size:10.5px;color:var(--terra);display:block;letter-spacing:.3px;margin-bottom:2px}

.ymtours .tcard-rating{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--muted);margin:0 0 12px}
.ymtours .tcard-rating b{background:var(--sage);color:#fff;border-radius:6px;padding:2px 7px;font-size:12px;font-weight:700}
.ymtours .tcard-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto}
.ymtours .tcard-price{display:flex;flex-direction:column;gap:1px}
.ymtours .tcard-price .from{font-size:10px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.ymtours .tcard-price .val{font-family:'Unbounded';font-weight:700;font-size:17px}
.ymtours .tcard-price .tcard-cur{display:block;margin-top:2px;font-family:'Manrope',sans-serif;font-weight:600;font-size:11px;line-height:1.3;color:var(--muted);letter-spacing:.01em}
.ymtours .cta-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.ymtours .tbtn{background:var(--terra);color:#fff !important;border:0;border-radius:12px;text-decoration:none;padding:11px 17px;font-family:'Unbounded';font-weight:700;font-size:13px;white-space:nowrap;cursor:pointer;transition:transform .1s,filter .1s;display:inline-block}
.ymtours .tbtn:hover,.ymtours .tbtn:focus,.ymtours .tbtn:visited{transform:translateY(-1px);filter:brightness(1.07);color:#fff !important;text-decoration:none}
.ymtours .cta-sub{font-size:10px;color:var(--muted);font-weight:600}

/* ============ HONEST (внизу) ============ */
.ymtours .ymt-honest-wrap{margin:46px 0 50px}
.ymtours .ymt-honest{background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:18px 22px;display:flex;gap:14px;align-items:flex-start;max-width:820px;margin:0 auto}
.ymtours .ymt-honest .ic{font-size:26px;flex:none;line-height:1.2}
.ymtours .ymt-honest b{font-family:'Unbounded';font-weight:700;font-size:14px;color:var(--terra);display:block;margin-bottom:5px}
.ymtours .ymt-honest p{margin:0;font-size:14px;line-height:1.55;color:var(--ink)}

/* ============ GRADIENT PLACEHOLDERS ============ */
.ymtours .g-castle{background:linear-gradient(135deg,#7a4b63,#221d1a)}
.ymtours .g-fort{background:linear-gradient(135deg,#566049,#221d1a)}
.ymtours .g-forest{background:linear-gradient(135deg,#6f8b6e,#3a4a39)}
.ymtours .g-belaz{background:linear-gradient(135deg,#c89a4a,#7a5a1e)}
.ymtours .g-city{background:linear-gradient(135deg,#d9663f,#a8481f)}
.ymtours .g-hatyn{background:linear-gradient(135deg,#4a4540,#221d1a)}
.ymtours .g-grodno{background:linear-gradient(135deg,#7a4b63,#a8481f)}
.ymtours .g-food{background:linear-gradient(135deg,#d9663f,#c89a4a)}

/* ============ TOOLTIP для ролей в сайдбаре ============ */
.ymtours .ymt-tip{position:fixed;z-index:1000;background:var(--ink);color:#fff;font-weight:500;font-size:13px;line-height:1.4;padding:10px 13px;border-radius:12px;max-width:240px;box-shadow:0 10px 30px rgba(0,0,0,.3);opacity:0;visibility:hidden;transition:opacity .12s;pointer-events:none}
.ymtours .ymt-tip.show{opacity:1;visibility:visible}

/* ============ ЛАЙТБОКС (общий, вне .ymtours) ============ */
.ymt-lbox{position:fixed;inset:0;z-index:99999;background:rgba(20,16,14,.94);display:none;align-items:center;justify-content:center}
.ymt-lbox.open{display:flex}
.ymt-lbox img{max-width:92vw;max-height:86vh;object-fit:contain;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.ymt-lbox-close{position:absolute;top:18px;right:20px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;cursor:pointer;display:grid;place-items:center}
.ymt-lbox-close:hover{background:rgba(255,255,255,.26)}
.ymt-lbox-arrow{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:30px;font-weight:700;cursor:pointer;display:grid;place-items:center}
.ymt-lbox-arrow:hover{background:rgba(255,255,255,.26)}
.ymt-lbox-arrow.prev{left:16px}
.ymt-lbox-arrow.next{right:16px}
.ymt-lbox-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#fff;font-size:14px;font-weight:600;background:rgba(0,0,0,.4);padding:6px 14px;border-radius:999px}
@media(max-width:680px){
  .ymt-lbox-arrow{width:44px;height:44px;font-size:24px}
  .ymt-lbox-arrow.prev{left:8px}.ymt-lbox-arrow.next{right:8px}
  .ymt-lbox-close{top:12px;right:12px}
}

/* ============ RESPONSIVE ============ */
@media(max-width:980px){
  .ymtours .ymt-layout{grid-template-columns:1fr;gap:16px}
  /* сайдбар становится горизонтальной листалкой сверху */
  .ymtours .ymt-side{position:static;top:auto}
  .ymtours .ymt-side-inner{padding:14px;border-radius:16px;overflow:hidden}
  .ymtours .ymt-side-lead{font-size:15px;margin-bottom:10px}
  .ymtours .ymt-side-group{margin-top:12px;min-width:0}
  /* листалка: контейнер не шире родителя, скролл внутри, обрез по краям */
  .ymtours .ymt-fchips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none;max-width:100%}
  .ymtours .ymt-fchips::-webkit-scrollbar{display:none}
  .ymtours .ymt-fchip{flex:0 0 auto}
  /* подсказка-градиент справа, что есть ещё чипсы */
  .ymtours .ymt-side-group{position:relative}
  .ymtours .ymt-side-group:after{content:"";position:absolute;right:0;bottom:6px;top:26px;width:26px;background:linear-gradient(90deg,transparent,#fff);pointer-events:none}
}
@media(max-width:680px){
  .ymtours .th{grid-template-columns:1fr auto;column-gap:14px;padding-top:20px;align-items:start}
  .ymtours .th-photo{align-self:start;margin-top:4px;grid-row:1}
  .ymtours .th-photo img{width:104px;height:130px;border-width:3px}
  .ymtours .th-photo .tag{font-size:9px;padding:4px 9px;bottom:8px;left:-6px}
  .ymtours .th-kick{font-size:11px;letter-spacing:1.5px}
  .ymtours .th-h1{font-size:clamp(20px,5.4vw,26px);line-height:1.18;letter-spacing:-.6px;margin-top:.15em}
  .ymtours .th-intro{grid-column:1/-1;grid-row:2;font-size:14.5px;margin-top:14px}
  .ymtours .ymt-grid{grid-template-columns:1fr}
}

/* ===== Тихие вкладки навигации (единый язык меню) =====
   Эмодзи + текст + подчёркивание активного цветом раздела.
   tours.css грузится после ymhome-style, прямой скоуп перебивает. */
.ym-home-chrome .ym-navtabs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 28px;margin-left:auto;margin-right:22px}
.ym-home-chrome .ym-navtabs a{color:#544a42;font-weight:700;font-size:.95rem;line-height:1.2;padding-bottom:3px;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;white-space:nowrap}
.ym-home-chrome .ym-navtabs a:hover{color:#cf6a36}
.ym-home-chrome .ym-navtabs a.on{color:#1d1714}
.ym-home-chrome .ym-navtabs a.t-flats.on{border-bottom-color:#cf6a36}
.ym-home-chrome .ym-navtabs a.t-rent.on{border-bottom-color:#5a2a44}
.ym-home-chrome .ym-navtabs a.t-tours.on{border-bottom-color:#7f8f6e}
.ym-home-chrome .ym-navtabs a.t-blog.on{border-bottom-color:#c9a24b}
.ym-home-chrome .ym-navtabs .tab-mob-only{display:none}
.ym-home-chrome .nav-cta-desk{flex:0 0 auto}

/* Мобила: шапка не-sticky, вкладки полосой под логотипом, CTA прячется */
@media(max-width:840px){
  .ym-home-chrome nav{position:static}
  .ym-home-chrome .nav-in{flex-wrap:wrap;height:auto;align-items:center}
  .ym-home-chrome .logo{height:70px;display:flex;align-items:center}
  .ym-home-chrome .ym-navtabs{
    order:4;flex-basis:100%;width:100%;
    margin:0;padding:10px 0 12px;gap:6px 16px;
    border-top:1px solid rgba(29,23,20,.1)
  }
  .ym-home-chrome .ym-navtabs a{font-size:.92rem;display:inline-flex}
  .ym-home-chrome .ym-navtabs .tab-mob-only{display:inline-flex}
  .ym-home-chrome .nav-cta-desk{display:none}
}
