.ttc-rt { --tour-gap: 16px; --cards-per-view: 4; --tour-card-radius: 16px; --tour-card-shadow: 0 8px 22px rgba(18, 34, 68, 0.07); --ttc-rt-ink: #0d203d; --ttc-rt-accent: var(--c-primary, #C45C26); box-sizing: border-box; margin: 44px 0 52px; padding: 0; width: 100%; max-width: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; } .ttc-rt *, .ttc-rt *::before, .ttc-rt *::after { box-sizing: border-box; } .ttc-rt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 24px; } .ttc-rt-head-copy { min-width: 0; flex: 1; max-width: 36rem; } .ttc-rt-title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ttc-rt-ink); } .ttc-rt-sub { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: #64748b; } .ttc-rt-controls { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; } .ttc-rt-all { display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border: 1.5px solid var(--ttc-rt-accent); border-radius: 10px; background: transparent; color: var(--ttc-rt-accent); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; } .ttc-rt-all:hover, .ttc-rt-all:focus-visible { background: rgba(196, 92, 38, 0.08); color: var(--c-primary-dark, #9E4A1F); outline: 2px solid rgba(196, 92, 38, 0.28); outline-offset: 2px; text-decoration: none; } .ttc-rt-all .svg-icon { width: 15px; height: 15px; } .ttc-rt-nav { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(14, 31, 61, 0.12); border-radius: 999px; background: #fff; color: var(--ttc-rt-ink); box-shadow: 0 4px 12px rgba(18, 34, 68, 0.08); cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease; } .ttc-rt-nav:hover:not(:disabled), .ttc-rt-nav:focus-visible:not(:disabled) { background: var(--ttc-rt-accent); border-color: var(--ttc-rt-accent); color: #fff; outline: none; } .ttc-rt-nav:focus-visible { outline: 2px solid rgba(196, 92, 38, 0.35); outline-offset: 2px; } .ttc-rt-nav:disabled { opacity: 0.32; cursor: default; box-shadow: none; } .ttc-rt-nav .svg-icon { width: 17px; height: 17px; } .ttc-rt-viewport { container-type: inline-size; container-name: ttc-rt; overflow-x: auto; overflow-y: hidden; width: 100%; min-width: 0; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x; } .ttc-rt-viewport::-webkit-scrollbar { display: none; } .ttc-rt-track { display: flex; align-items: stretch; gap: var(--tour-gap); width: max-content; min-width: 100%; margin: 0; padding: 2px 0 4px; cursor: grab; } .ttc-rt-card { flex: 0 0 calc((100cqi - ((var(--cards-per-view) - 1) * var(--tour-gap))) / var(--cards-per-view)); width: calc((100cqi - ((var(--cards-per-view) - 1) * var(--tour-gap))) / var(--cards-per-view)); max-width: calc((100cqi - ((var(--cards-per-view) - 1) * var(--tour-gap))) / var(--cards-per-view)); min-width: 0; scroll-snap-align: start; } .ttc-rt-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid rgba(14, 31, 61, 0.09); border-radius: var(--tour-card-radius); overflow: hidden; box-shadow: var(--tour-card-shadow); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; cursor: pointer; touch-action: manipulation; } .ttc-rt-link:hover, .ttc-rt-link:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(18, 34, 68, 0.11); border-color: rgba(196, 92, 38, 0.2); outline: none; color: inherit; text-decoration: none; } .ttc-rt-media { position: relative; aspect-ratio: 4 / 3; background: #eef2f7; overflow: hidden; } .ttc-rt-media.has-badge::after { content: ''; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(180deg, transparent, rgba(8, 16, 32, 0.18)); pointer-events: none; } .ttc-rt-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform 0.3s ease; } .ttc-rt-link:hover .ttc-rt-media img { transform: scale(1.03); } .ttc-rt-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 8px; border-radius: 7px; background: rgba(13, 32, 61, 0.88); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); } .ttc-rt-badge--popular, .ttc-rt-badge--balloon { background: var(--ttc-rt-accent); } .ttc-rt-badge--red { background: #c2410c; } .ttc-rt-badge--green { background: #15803d; } .ttc-rt-badge--blue { background: #1d4ed8; } .ttc-rt-badge--adventure { background: #b45309; } .ttc-rt-badge--private { background: #0d203d; } .ttc-rt-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 13px 14px; } .ttc-rt-name { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--ttc-rt-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; } .ttc-rt-excerpt { margin: 0; font-size: 13px; line-height: 1.4; color: #64748b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; } .ttc-rt-excerpt-empty { visibility: hidden; } .ttc-rt-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; } .ttc-rt-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ttc-rt-price-note { font-size: 11px; font-weight: 500; color: #94a3b8; line-height: 1; } .ttc-rt-price strong { font-size: 17px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ttc-rt-accent); } .ttc-rt-price-empty { min-height: 1.8em; } .ttc-rt-cta { display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 9px; background: var(--ttc-rt-accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; transition: background 0.2s ease; } .ttc-rt-cta .svg-icon { width: 14px; height: 14px; } .ttc-rt-link:hover .ttc-rt-cta { background: var(--c-primary-dark, #9E4A1F); } .content-page .content-main .ttc-rt-title, .content-main .ttc-rt-title { margin: 0; color: var(--ttc-rt-ink); } .content-page .content-main .ttc-rt-name, .content-main .ttc-rt-name { margin: 0; } .content-page .content-main .ttc-rt-sub, .content-page .content-main .ttc-rt-excerpt { margin: 6px 0 0; color: #64748b; } .content-page .content-main .ttc-rt-excerpt { margin: 0; } .content-page .content-main .ttc-rt-price strong { color: var(--ttc-rt-accent); font-weight: 800; } @media (max-width: 1199px) { .ttc-rt { --cards-per-view: 3; } } @media (max-width: 900px) { .ttc-rt { --cards-per-view: 2; } } @media (max-width: 640px) { .ttc-rt { --cards-per-view: 1.12; --tour-gap: 12px; margin: 36px 0 44px; } .ttc-rt-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; } .ttc-rt-title { font-size: clamp(24px, 6vw, 28px); } .ttc-rt-sub { font-size: 15px; } .ttc-rt-controls { width: 100%; flex-wrap: wrap; } .ttc-rt-nav { width: 38px; height: 38px; } .ttc-rt-all { margin-left: auto; } } @media (prefers-reduced-motion: reduce) { .ttc-rt-viewport { scroll-behavior: auto; } .ttc-rt-link, .ttc-rt-media img, .ttc-rt-cta, .ttc-rt-nav, .ttc-rt-all { transition: none; } .ttc-rt-link:hover .ttc-rt-media img { transform: none; } }