/*
Theme Name: TourVister
Theme URI: https://tourvister.space/
Author: TourVister
Description: Custom travel magazine theme for TourVister. Live hero, editor picks, destination tabs, category tiles, budget band, newsletter, table of contents, share buttons, related posts and built-in ad slots (works with the TourVister Ads plugin). Auto-creates travel categories and trust pages on activation.
Version: 1.0.2
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: tourvister
*/

/* ========== Tokens ========== */
:root {
	--ink: #0f2230;
	--ink-2: #33475a;
	--muted: #687886;
	--paper: #fffdf9;
	--sand: #f5efe6;
	--sand-2: #ece3d5;
	--line: #e6ddcf;
	--coral: #e4572e;
	--coral-2: #c9441d;
	--teal: #0e7c74;
	--gold: #f2b134;
	--white: #fff;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15,34,48,.06), 0 8px 28px -12px rgba(15,34,48,.18);
	--shadow-lg: 0 24px 60px -24px rgba(15,34,48,.35);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--header-h: 74px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
body.tv-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
em { font-style: italic; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.tv-skip:focus { clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.tv-trap { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.tv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.tv-wrap--mid { max-width: 920px; }
.tv-wrap--narrow { max-width: 800px; }
.tv-center { text-align: center; margin-top: 36px; }

.tv-ico { width: 20px; height: 20px; flex: none; }

/* ========== Buttons, badges, eyebrows ========== */
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--coral); color: #fff; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 999px; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 8px 20px -10px rgba(228,87,46,.8); white-space: nowrap; }
.tv-btn:hover { background: var(--coral-2); color: #fff; transform: translateY(-1px); }
.tv-btn .tv-ico { width: 18px; height: 18px; transition: transform .2s; }
.tv-btn:hover .tv-ico--arrow { transform: translateX(3px); }
.tv-btn--sm { padding: 10px 18px; font-size: 14px; }
.tv-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tv-btn--ghost:hover { background: var(--ink); color: #fff; }

.tv-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: rgba(14,124,116,.1); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.tv-badge:hover { background: var(--teal); color: #fff; }
.tv-badge--light { color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.tv-badge--light:hover { background: var(--coral); color: #fff; }
.tv-badge--text { background: none; padding: 0; margin-bottom: 4px; color: var(--coral); }
.tv-badge--text:hover { background: none; color: var(--coral-2); }

.tv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.tv-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.tv-eyebrow--light { color: var(--gold); }

.tv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.tv-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tv-meta .tv-ico { width: 15px; height: 15px; }

.tv-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--coral); padding-bottom: 2px; }
.tv-link-arrow .tv-ico { width: 17px; height: 17px; transition: transform .2s; }
.tv-link-arrow:hover .tv-ico { transform: translateX(3px); }

/* ========== Header ========== */
.tv-header { position: sticky; top: 0; z-index: 60; background: rgba(255,253,249,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.admin-bar .tv-header { top: 32px; }
.tv-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(15,34,48,.4); }
.tv-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.tv-brand { flex: none; }
.tv-brand .custom-logo { max-height: 48px; width: auto; }
.tv-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.tv-logo:hover { color: var(--ink); }
.tv-logo__mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, var(--coral), #f08a4b); color: #fff; display: grid; place-items: center; transform: rotate(-8deg); box-shadow: 0 8px 18px -8px rgba(228,87,46,.9); }
.tv-logo__mark .tv-ico { width: 24px; height: 24px; transform: rotate(8deg); }
.tv-logo__text { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.tv-logo__text b { font-weight: 600; font-style: italic; color: var(--coral); }
.tv-logo--light, .tv-logo--light:hover { color: #fff; }

/* Home: transparent header over hero */
.tv-is-front .tv-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tv-is-front .tv-header:not(.is-scrolled) .tv-logo,
.tv-is-front .tv-header:not(.is-scrolled) .tv-menu > li > a,
.tv-is-front .tv-header:not(.is-scrolled) .tv-iconbtn { color: #fff; }
.tv-is-front .tv-hero { margin-top: calc(-1 * var(--header-h)); }

.tv-nav { flex: 1; }
.tv-nav__head, .tv-nav__foot { display: none; }
.tv-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.tv-menu > li { position: relative; }
.tv-menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 15px; border-radius: 999px; transition: background .2s, color .2s; }
.tv-menu > li > a:hover { background: rgba(15,34,48,.06); color: inherit; }
.tv-is-front .tv-header:not(.is-scrolled) .tv-menu > li > a:hover { background: rgba(255,255,255,.14); }
.tv-menu > li.current-menu-item > a, .tv-menu > li.current-menu-ancestor > a { color: var(--coral); }
.tv-menu .tv-ico--chevron-down { width: 16px; height: 16px; transition: transform .2s; }
.tv-menu .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 5; }
.tv-menu .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.tv-menu li:hover > .sub-menu, .tv-menu li.is-open > .sub-menu, .tv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tv-menu li:hover > a .tv-ico--chevron-down, .tv-menu li.is-open > a .tv-ico--chevron-down { transform: rotate(180deg); }
.tv-menu .sub-menu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.tv-menu .sub-menu a:hover { background: var(--sand); color: var(--coral); }
.tv-menu .sub-menu small { font-size: 12px; color: var(--muted); background: var(--sand); border-radius: 99px; padding: 1px 8px; }

.tv-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tv-iconbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); transition: background .2s; }
.tv-iconbtn:hover { background: rgba(15,34,48,.07); }
.tv-menu-open { display: none; }

body.tv-lock .tv-header { z-index: 100; }
.tv-hero__copy { min-width: 0; }
.tv-overlay { position: fixed; inset: 0; background: rgba(10,22,32,.55); z-index: 70; backdrop-filter: blur(2px); }

.tv-search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 80; background: #fff; padding: 22px 0; box-shadow: var(--shadow-lg); animation: tvDown .25s ease; }
.tv-search-panel__form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding: 6px 0; }
.tv-search-panel__form input { flex: 1; border: 0; outline: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); background: transparent; padding: 8px 0; }
.tv-search-panel__form > .tv-ico { width: 28px; height: 28px; color: var(--muted); }
@keyframes tvDown { from { transform: translateY(-100%); } to { transform: none; } }

/* Reading progress */
.tv-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; }
.admin-bar .tv-progress { top: 32px; }
.tv-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--gold)); }

/* ========== Hero ========== */
.tv-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 90px) 0 0; min-height: 760px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, #1f5b6e 0%, #0f2230 55%, #0a1824 100%); }
.tv-hero__bg { position: absolute; inset: 0; }
.tv-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: tvZoom 18s ease-out both; }
@keyframes tvZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.tv-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,32,.55) 0%, rgba(10,22,32,.25) 35%, rgba(10,22,32,.65) 75%, rgba(10,22,32,.92) 100%), linear-gradient(90deg, rgba(10,22,32,.6) 0%, rgba(10,22,32,0) 65%); }
.tv-hero--noimg .tv-hero__shade { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath d='M0 300 L180 170 L320 250 L520 90 L700 230 L860 140 L1040 260 L1220 120 L1440 240 L1440 400 L0 400Z' fill='%23ffffff' fill-opacity='.05'/%3E%3Cpath d='M0 340 L240 240 L420 310 L640 200 L860 300 L1080 220 L1300 300 L1440 260 L1440 400 L0 400Z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") bottom/100% 55% no-repeat; }
.tv-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: end; padding-bottom: 56px; }
.tv-hero__title { color: #fff; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; margin: 0 0 22px; max-width: 13ch; text-wrap: balance; }
.tv-hero__title em { color: var(--gold); font-weight: 500; }
.tv-hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.86); max-width: 56ch; margin: 0 0 30px; }
.tv-hero__search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 7px 7px 7px 22px; max-width: 580px; width: 100%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.tv-hero__search .tv-ico { color: var(--coral); width: 22px; height: 22px; }
.tv-hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; padding: 10px 0; }
.tv-hero__search input::placeholder { color: var(--muted); }
.tv-hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.tv-hero__chips span { color: rgba(255,255,255,.7); font-weight: 600; margin-right: 4px; }
.tv-hero__chips a { color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); font-weight: 500; }
.tv-hero__chips a:hover { background: #fff; color: var(--ink); }
.tv-archive-head .tv-hero__chips a { color: #fff; }

.tv-hero__card { display: block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 12px; color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform .3s, background .3s; }
.tv-hero__card:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); color: #fff; }
.tv-hero__card-media { display: block; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; position: relative; }
.tv-hero__card-media img, .tv-hero__card-media .tv-noimg { width: 100%; height: 100%; object-fit: cover; }
.tv-hero__card-body { display: block; padding: 14px 6px 6px; }
.tv-hero__card-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tv-hero__card strong { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.25; font-weight: 600; margin-bottom: 10px; }
.tv-hero__card .tv-meta { color: rgba(255,255,255,.75); justify-content: space-between; }
.tv-hero__card-go { font-weight: 600; color: #fff; }

.tv-hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.tv-hero__stats div { padding: 22px 0 26px; display: flex; flex-direction: column; gap: 2px; }
.tv-hero__stats div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.tv-hero__stats strong { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.tv-hero__stats span { font-size: 13.5px; color: rgba(255,255,255,.7); }

/* ========== Trending strip ========== */
.tv-trending { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.tv-trending__inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.tv-trending__label { flex: none; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tv-trending__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(228,87,46,.7); animation: tvPulse 1.8s infinite; }
@keyframes tvPulse { 70% { box-shadow: 0 0 0 10px rgba(228,87,46,0); } 100% { box-shadow: 0 0 0 0 rgba(228,87,46,0); } }
.tv-trending__list { display: flex; gap: 30px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.tv-trending__list::-webkit-scrollbar { display: none; }
.tv-card--number { display: flex; gap: 12px; align-items: flex-start; min-width: 250px; max-width: 300px; scroll-snap-align: start; }
.tv-card__num { font-family: var(--serif); font-size: 30px; line-height: 1; font-style: italic; color: rgba(255,255,255,.28); font-weight: 500; }
.tv-card--number .tv-card__title { font-family: var(--sans); font-size: 14.5px; line-height: 1.4; font-weight: 600; margin: 0; color: #fff; }
.tv-card--number .tv-card__title a:hover { color: var(--gold); }
.tv-card--number .tv-badge--text { font-size: 11px; color: var(--gold); }

/* ========== Sections ========== */
.tv-section { padding: 88px 0; }
.tv-section--sand { background: var(--sand); }
.tv-section--dark { background: var(--ink); color: #fff; }
.tv-section--dark h2, .tv-section--dark h3 { color: #fff; }
.tv-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.tv-shead__title { font-size: clamp(30px, 4vw, 46px); margin: 0; letter-spacing: -.02em; }
.tv-shead__title em { color: var(--coral); font-weight: 500; }
.tv-section--dark .tv-shead__title em { color: var(--gold); }

/* ========== Cards ========== */
.tv-card { position: relative; display: flex; flex-direction: column; }
.tv-card__media { position: relative; display: block; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); isolation: isolate; }
.tv-card__media img, .tv-card__media .tv-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tv-card:hover .tv-card__media img { transform: scale(1.05); }
.tv-noimg { display: grid !important; place-items: center; color: rgba(255,255,255,.75); background: linear-gradient(135deg, #1f5b6e, #0f2230 60%, #e4572e 160%); }
.tv-noimg .tv-ico { width: 46px; height: 46px; }
.tv-card__time { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tv-card__time .tv-ico { width: 14px; height: 14px; }
.tv-card__body { padding-top: 18px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.tv-card__title { font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.tv-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s, color .2s; }
.tv-card__title a:hover { background-size: 100% 1.5px; color: var(--ink); }
.tv-card__excerpt { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.tv-card .tv-meta { margin-top: auto; }

/* Overlay card */
.tv-card--overlay { height: 100%; min-height: 520px; border-radius: 24px; overflow: hidden; color: #fff; justify-content: flex-end; }
.tv-card--overlay .tv-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.tv-card--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,32,0) 30%, rgba(10,22,32,.88) 100%); pointer-events: none; }
.tv-card--overlay .tv-card__body { position: relative; z-index: 2; padding: 36px; flex: none; }
.tv-card--overlay .tv-card__title { font-size: clamp(26px, 3vw, 38px); color: #fff; }
.tv-card--overlay .tv-card__title a:hover { color: #fff; }
.tv-card--overlay .tv-card__excerpt { color: rgba(255,255,255,.85); max-width: 60ch; }
.tv-card--overlay .tv-meta { color: rgba(255,255,255,.8); }

/* Row card */
.tv-card--row { flex-direction: row; gap: 18px; align-items: center; }
.tv-card--row .tv-card__media { width: 38%; max-width: 200px; flex: none; aspect-ratio: 4/3; border-radius: var(--radius-sm); }
.tv-card--row .tv-card__body { padding: 0; }
.tv-card--row .tv-card__title { font-size: 19px; margin-bottom: 8px; }
.tv-card--row .tv-badge { margin-bottom: 8px; font-size: 11px; padding: 4px 9px; }

/* Mini card */
.tv-card--mini { flex-direction: row; gap: 14px; align-items: center; }
.tv-card--mini .tv-card__media { width: 76px; height: 76px; flex: none; aspect-ratio: 1; border-radius: 12px; }
.tv-card--mini .tv-card__body { padding: 0; }
.tv-card--mini .tv-card__title { font-size: 16px; line-height: 1.35; margin: 0 0 4px; }
.tv-card--mini .tv-meta { font-size: 12.5px; }

/* ========== Layout grids ========== */
.tv-grid { display: grid; gap: 40px 30px; }
.tv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tv-grid__full { grid-column: 1 / -1; }

.tv-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; }
.tv-featured__list { display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.tv-featured__list .tv-card--row + .tv-card--row { padding-top: 22px; border-top: 1px solid var(--line); }

.tv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

/* ========== Category tiles ========== */
.tv-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tv-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.tv-cat:hover { color: #fff; }
.tv-cat__media { position: absolute; inset: 0; z-index: -2; }
.tv-cat__media img, .tv-cat__media .tv-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tv-cat:hover .tv-cat__media img { transform: scale(1.07); }
.tv-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,32,.05) 20%, rgba(10,22,32,.88) 100%); transition: background .3s; }
.tv-cat:hover::before { background: linear-gradient(180deg, rgba(228,87,46,.15) 0%, rgba(10,22,32,.92) 100%); }
.tv-cat__body { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.tv-cat__count { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tv-cat strong { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.15; }
.tv-cat__desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.tv-cat:hover .tv-cat__desc, .tv-cat:focus .tv-cat__desc { max-height: 90px; opacity: 1; }
.tv-cat__go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); display: grid; place-items: center; transform: rotate(-45deg); transition: .3s; }
.tv-cat:hover .tv-cat__go { background: var(--coral); transform: none; }

/* ========== Tabs ========== */
.tv-tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tv-tab { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: .2s; }
.tv-tab .tv-ico { width: 17px; height: 17px; color: var(--coral); }
.tv-tab:hover { border-color: var(--ink); }
.tv-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tv-tab.is-active .tv-ico { color: var(--gold); }
.tv-tabs__panel { display: none; }
.tv-tabs__panel.is-active { display: block; animation: tvFade .4s ease; }
.tv-tabs__panel > .tv-btn { margin-top: 36px; }
@keyframes tvFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ========== Budget band ========== */
.tv-band { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.tv-band__intro p { color: rgba(255,255,255,.75); margin: 16px 0 28px; }
.tv-band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tv-section--dark .tv-card--row { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 14px; border-radius: var(--radius); transition: background .3s; }
.tv-section--dark .tv-card--row:hover { background: rgba(255,255,255,.09); }
.tv-section--dark .tv-card--row .tv-card__media { width: 42%; }
.tv-section--dark .tv-card__title a:hover { color: #fff; }
.tv-section--dark .tv-meta { color: rgba(255,255,255,.6); }
.tv-section--dark .tv-badge { color: var(--gold); background: rgba(242,177,52,.12); }

/* ========== Sidebar ========== */
.tv-sidebar { display: flex; flex-direction: column; gap: 28px; position: relative; }
.tv-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tv-widget--search { padding: 10px; }
.tv-widget__title { font-size: 20px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.tv-widget__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.tv-widget__list { display: flex; flex-direction: column; gap: 16px; }
.tv-catlist { list-style: none; margin: 0; padding: 0; }
.tv-catlist li + li { border-top: 1px dashed var(--line); }
.tv-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-weight: 500; font-size: 15.5px; }
.tv-catlist em { font-style: normal; font-size: 12.5px; font-weight: 600; background: var(--sand); color: var(--ink-2); border-radius: 99px; padding: 2px 10px; }
.tv-catlist a:hover em { background: var(--coral); color: #fff; }
.tv-sidebar__sticky { position: sticky; top: 100px; }
.tv-widget ul { padding-left: 18px; margin: 0; }

.tv-searchform { display: flex; align-items: center; background: var(--sand); border-radius: 12px; padding: 4px 4px 4px 16px; }
.tv-searchform input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 15px; }
.tv-searchform button { width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.tv-searchform button:hover { background: var(--coral); }

/* ========== Newsletter ========== */
.tv-newsletter-wrap { padding-top: 20px; }
.tv-newsletter { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(120deg, var(--coral) 0%, #ee7a3f 60%, var(--gold) 140%); color: #fff; border-radius: 30px; padding: 60px; }
.tv-newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.1); }
.tv-newsletter h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.tv-newsletter p { margin: 0; color: rgba(255,255,255,.9); }
.tv-newsletter__icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: 18px; }
.tv-newsletter__icon .tv-ico { width: 28px; height: 28px; }
.tv-news-form { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.tv-news-form input[type=email] { flex: 1; min-width: 200px; border: 0; border-radius: 999px; padding: 16px 22px; background: #fff; color: var(--ink); outline: 0; }
.tv-newsletter .tv-btn { background: var(--ink); box-shadow: none; padding: 16px 28px; }
.tv-newsletter .tv-btn:hover { background: #000; }
.tv-news-form .tv-alert { flex-basis: 100%; }

.tv-alert { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.tv-alert--ok { background: #e3f5ee; color: #0b6b4f; }

/* ========== Footer ========== */
.tv-footer { background: #0a1824; color: rgba(255,255,255,.72); padding: 80px 0 0; margin-top: 0; font-size: 15.5px; }
.tv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.tv-footer__brand p { margin: 20px 0 22px; max-width: 38ch; }
.tv-footer h3 { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 20px; }
.tv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tv-footer a:hover { color: var(--gold); }
.tv-footer__news p { margin: 0 0 16px; }
.tv-footer .tv-news-form input[type=email] { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.tv-footer .tv-news-form input::placeholder { color: rgba(255,255,255,.5); }
.tv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; padding-bottom: 28px; font-size: 14px; color: rgba(255,255,255,.5); }
.tv-footer__bottom p { margin: 0; }
.tv-social { display: flex; gap: 10px; }
.tv-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .2s; }
.tv-social a:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.tv-social .tv-ico { width: 18px; height: 18px; }

.tv-totop { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.tv-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.tv-totop:hover { background: var(--coral); }

/* ========== Archive / page header ========== */
.tv-archive-head { background: radial-gradient(100% 140% at 85% 0%, #1f5b6e 0%, var(--ink) 60%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.tv-archive-head::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); }
.tv-archive-head__title { color: #fff; font-size: clamp(36px, 5vw, 60px); margin: 4px 0 14px; letter-spacing: -.02em; }
.tv-archive-head__title small { font-size: .4em; color: rgba(255,255,255,.6); font-family: var(--sans); font-weight: 500; }
.tv-archive-head__desc { max-width: 680px; color: rgba(255,255,255,.8); font-size: 17.5px; }
.tv-archive-head__desc p { margin: 0; }
.tv-archive-head__search { max-width: 520px; margin-top: 24px; }
.tv-archive-head--page { padding: 46px 0 50px; }
.tv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.tv-crumbs a { color: rgba(255,255,255,.85); }
.tv-crumbs a:hover { color: var(--gold); }
.tv-crumbs em { font-style: normal; }
.tv-single__head .tv-crumbs { color: var(--muted); }
.tv-single__head .tv-crumbs a { color: var(--ink-2); }
.tv-single__head .tv-crumbs a:hover { color: var(--coral); }

/* Pagination */
.tv-pagination { margin-top: 60px; display: flex; justify-content: center; }
.tv-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; margin: 0 3px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; }
.tv-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.tv-pagination a.page-numbers:hover { border-color: var(--coral); color: var(--coral); }
.tv-pagination .dots { border: 0; background: none; }

.tv-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 0; }
.tv-empty__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--sand); color: var(--coral); margin-bottom: 18px; }
.tv-empty__icon .tv-ico { width: 40px; height: 40px; }
.tv-empty .tv-searchform { margin-top: 24px; }

/* 404 */
.tv-404 { text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.tv-404__code { display: block; font-family: var(--serif); font-size: clamp(110px, 18vw, 200px); line-height: 1; font-weight: 600; font-style: italic; background: linear-gradient(120deg, var(--coral), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-404 h1 { font-size: clamp(28px, 4vw, 42px); }
.tv-404 p { color: var(--ink-2); }
.tv-404 .tv-searchform { max-width: 460px; margin: 26px auto; }

/* ========== Single post ========== */
.tv-single__head { padding: 48px 0 36px; text-align: center; }
.tv-single__head .tv-crumbs { justify-content: center; }
.tv-single__title { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 20ch; text-wrap: balance; }
.tv-single__dek { font-size: 20px; color: var(--ink-2); max-width: 64ch; margin: 0 auto 26px; }
.tv-single__meta { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.tv-single__meta > span { display: flex; flex-direction: column; text-align: left; }
.tv-single__meta small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tv-single__author { flex-direction: row !important; align-items: center; gap: 12px; }
.tv-single__author img { border-radius: 50%; }
.tv-single__author > span { display: flex; flex-direction: column; }
.tv-single__hero { margin: 0 auto 56px; }
.tv-single__hero img { width: 100%; border-radius: 26px; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow-lg); }
.tv-single__hero figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.tv-layout--single { padding-bottom: 80px; }
.tv-layout--single .tv-layout__main { max-width: 780px; }

/* TOC */
.tv-toc { background: var(--sand); border-radius: var(--radius); padding: 8px 24px; margin-bottom: 36px; border-left: 4px solid var(--coral); }
.tv-toc__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: none; padding: 14px 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.tv-toc__toggle .tv-ico { transition: transform .2s; }
.tv-toc.is-closed .tv-toc__toggle .tv-ico { transform: rotate(-90deg); }
.tv-toc.is-closed .tv-toc__list { display: none; }
.tv-toc__list { margin: 0 0 16px; padding-left: 22px; font-size: 15.5px; counter-reset: none; }
.tv-toc__list li { margin: 6px 0; }
.tv-toc__list .tv-toc__h3 { margin-left: 18px; list-style: circle; font-size: 14.5px; }
.tv-toc__list a { color: var(--ink-2); }
.tv-toc__list a:hover { color: var(--coral); }

/* Rank Math Table of Contents block */
.tv-content .wp-block-rank-math-toc-block { background: var(--sand); border-left: 4px solid var(--coral); border-radius: var(--radius); padding: 18px 26px; margin-bottom: 36px; }
.tv-content .wp-block-rank-math-toc-block h2, .tv-content .wp-block-rank-math-toc-block h3, .tv-content .wp-block-rank-math-toc-block h4 { font-size: 20px; margin: 0 0 10px; }
.tv-content .wp-block-rank-math-toc-block nav ul, .tv-content .wp-block-rank-math-toc-block nav ol { margin: 0; padding-left: 22px; font-size: 15.5px; }
.tv-content .wp-block-rank-math-toc-block nav li { margin: 6px 0; }
.tv-content .wp-block-rank-math-toc-block a { color: var(--ink-2); text-decoration: none; }
.tv-content .wp-block-rank-math-toc-block a:hover { color: var(--coral); }

/* Content typography */
.tv-content { font-size: 18.5px; line-height: 1.8; color: #1e3242; overflow-wrap: break-word; }
.tv-content > * { margin-top: 0; margin-bottom: 1.35em; }
.tv-content h2 { font-size: clamp(27px, 3vw, 34px); margin: 2em 0 .7em; scroll-margin-top: 100px; }
.tv-content h3 { font-size: clamp(22px, 2.4vw, 26px); margin: 1.7em 0 .6em; scroll-margin-top: 100px; }
.tv-content h4 { font-size: 20px; margin: 1.5em 0 .5em; }
.tv-content a { color: var(--coral-2); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tv-content a:hover { color: var(--ink); }
.tv-content ul, .tv-content ol { padding-left: 1.4em; }
.tv-content li { margin-bottom: .45em; }
.tv-content li::marker { color: var(--coral); font-weight: 700; }
.tv-content img { border-radius: 16px; }
.tv-content figure { margin-left: 0; margin-right: 0; }
.tv-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.tv-content blockquote { margin: 2em 0; padding: 22px 28px; background: var(--sand); border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; font-style: italic; }
.tv-content blockquote p:last-child { margin-bottom: 0; }
.tv-content blockquote cite { display: block; font-size: 15px; font-family: var(--sans); font-style: normal; color: var(--muted); margin-top: 8px; }
.tv-content table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.tv-table-wrap, .tv-content .wp-block-table { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 1.5em; }
.tv-content .wp-block-table .tv-table-wrap { border: 0; margin: 0; }
.tv-content th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; }
.tv-content th, .tv-content td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tv-content tr:nth-child(even) td { background: #fbf8f3; }
.tv-content hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.tv-content code { background: var(--sand); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.tv-content .wp-block-button__link { background: var(--coral); color: #fff; border-radius: 999px; text-decoration: none; padding: 14px 26px; font-weight: 600; }
.tv-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.tv-content .aligncenter { margin-left: auto; margin-right: auto; }
.tv-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.tv-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.tv-content iframe { max-width: 100%; }
.tv-content .wp-block-image img { height: auto; }

.tv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 26px; }
.tv-tags a { font-size: 14px; font-weight: 600; background: var(--sand); padding: 7px 14px; border-radius: 999px; color: var(--ink-2); }
.tv-tags a:hover { background: var(--ink); color: #fff; }

.tv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tv-share > span { font-weight: 700; margin-right: 8px; }
.tv-share a, .tv-share button { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; }
.tv-share a:hover, .tv-share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tv-copy em { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.tv-copy.is-done em { opacity: 1; }

.tv-authorbox { display: flex; gap: 22px; align-items: flex-start; background: var(--sand); border-radius: 22px; padding: 28px; margin-bottom: 36px; }
.tv-authorbox img { border-radius: 50%; flex: none; }
.tv-authorbox small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--coral); }
.tv-authorbox h3 { margin: 2px 0 6px; font-size: 22px; }
.tv-authorbox p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.tv-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.tv-postnav a { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; transition: .2s; }
.tv-postnav a:hover { border-color: var(--coral); color: var(--ink); box-shadow: var(--shadow); }
.tv-postnav small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tv-postnav small .tv-ico { width: 16px; height: 16px; }
.tv-postnav strong { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.3; }
.tv-postnav__next { text-align: right; align-items: flex-end; grid-column: 2; }

/* Comments */
.tv-comments { border-top: 1px solid var(--line); padding-top: 36px; }
.tv-comments__title { font-size: 26px; }
.tv-comments__list { list-style: none; padding: 0; margin: 0 0 36px; }
.tv-comments__list .children { list-style: none; padding-left: 30px; }
.tv-comments__list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.tv-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tv-comments__list .comment-author img { border-radius: 50%; }
.tv-comments__list .says { display: none; }
.tv-comments__list .comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.tv-comments__list .reply a { font-size: 14px; font-weight: 600; color: var(--coral); }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea,
.tv-form input, .tv-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; background: #fff; outline: 0; transition: border-color .2s; font-size: 16px; }
.comment-form input:focus, .comment-form textarea:focus, .tv-form input:focus, .tv-form textarea:focus { border-color: var(--ink); }
.comment-form p { margin: 0 0 16px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form .comment-form-cookies-consent input { width: auto; margin-top: 5px; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* Contact form */
.tv-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.tv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-form label span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.tv-form .tv-btn { justify-self: start; }
.tv-page__img img { border-radius: 22px; margin-bottom: 36px; }

/* Ad slot base (TourVister Ads plugin) */
.tv-ad { text-align: center; margin: 0 auto; }

/* ========== Responsive ========== */
@media (max-width: 1180px) {
	.tv-menu > li > a { padding: 10px 10px; font-size: 14.5px; }
	.tv-header__cta { display: none; }
	.tv-cats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
	.tv-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,253,249,.98); }
	.tv-menu-open { display: grid; }
	.tv-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 75; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s; display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow-lg); }
	.tv-nav.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
	.tv-nav__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
	.tv-nav__head .tv-logo__text { font-size: 22px; color: var(--ink); }
	.tv-nav__foot { display: block; padding: 20px 24px; margin-top: auto; }
	.tv-nav__foot .tv-social a { background: var(--sand); color: var(--ink); }
	.tv-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
	.tv-menu > li > a, .tv-is-front .tv-header:not(.is-scrolled) .tv-menu > li > a { color: var(--ink); justify-content: space-between; font-size: 17px; padding: 14px 14px; border-radius: 12px; }
	.tv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 10px; display: none; min-width: 0; }
	.tv-menu li.is-open > .sub-menu { display: block; }
	.tv-menu li:hover > .sub-menu { display: none; }
	.tv-menu li.is-open:hover > .sub-menu { display: block; }
	.tv-hero__inner { grid-template-columns: 1fr; gap: 36px; }
	.tv-hero__card { max-width: 440px; display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
	.tv-hero__card-body { padding: 0; }
	.tv-hero__card strong { font-size: 18px; }
	.tv-layout { grid-template-columns: 1fr; }
	.tv-layout--single .tv-layout__main { max-width: none; }
	.tv-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; }
	.tv-sidebar__sticky { position: static; }
	.tv-band { grid-template-columns: 1fr; gap: 36px; }
	.tv-footer__grid { grid-template-columns: 1fr 1fr; }
	.tv-content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 860px) {
	body { font-size: 16.5px; }
	.tv-section { padding: 64px 0; }
	.tv-featured { grid-template-columns: 1fr; }
	.tv-card--overlay { min-height: 440px; }
	.tv-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.tv-cats { grid-template-columns: repeat(2, 1fr); }
	.tv-cat { min-height: 240px; }
	.tv-cat__desc { max-height: none; opacity: 1; }
	.tv-hero { min-height: 0; padding-top: calc(var(--header-h) + 60px); }
	.tv-hero__stats { grid-template-columns: repeat(2, 1fr); }
	.tv-hero__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
	.tv-hero__stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
	.tv-newsletter { grid-template-columns: 1fr; padding: 40px 30px; }
	.tv-shead { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar .tv-header, .admin-bar .tv-progress { top: 46px; }
}

@media (max-width: 600px) {
	:root { --header-h: 64px; }
	.tv-wrap { padding: 0 18px; }
	.tv-logo__text { font-size: 22px; }
	.tv-logo__mark { width: 36px; height: 36px; }
	.tv-hero__title { font-size: 42px; }
	.tv-hero__search { padding-left: 16px; }
	.tv-hero__search .tv-btn { padding: 12px 16px; }
	.tv-hero__search .tv-ico { display: none; }
	.tv-hero__card { grid-template-columns: 110px 1fr; }
	.tv-hero__stats strong { font-size: 22px; }
	.tv-hero__stats div + div { padding-left: 16px; }
	.tv-grid--2, .tv-grid--3, .tv-band__grid { grid-template-columns: 1fr; }
	.tv-cats { grid-template-columns: 1fr; }
	.tv-card--overlay .tv-card__body { padding: 24px; }
	.tv-card--row .tv-card__media { width: 112px; }
	.tv-card--row .tv-card__title { font-size: 17px; }
	.tv-section--dark .tv-card--row .tv-card__media { width: 112px; }
	.tv-sidebar { grid-template-columns: 1fr; }
	.tv-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.tv-single__head { text-align: left; }
	.tv-single__head .tv-crumbs { justify-content: flex-start; }
	.tv-single__title { margin-left: 0; }
	.tv-single__meta { justify-content: flex-start; gap: 14px 22px; }
	.tv-single__hero { padding: 0; }
	.tv-single__hero img { border-radius: 0; }
	.tv-content { font-size: 17.5px; }
	.tv-postnav { grid-template-columns: 1fr; }
	.tv-postnav__next { grid-column: auto; }
	.tv-authorbox { flex-direction: column; }
	.tv-form__row { grid-template-columns: 1fr; }
	.tv-form { padding: 22px; }
	.tv-trending__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
	.tv-trending__list { width: 100%; }
	.tv-content .alignleft, .tv-content .alignright { float: none; margin: 0 0 1em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
