/* ==========================================================================
   TripThis.ee – design system
   Colours: ink (text), teal (brand/actions), sun (price highlight), neutrals.
   Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 400 800;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 400 800;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback reduces layout shift while the web font loads. */
@font-face {
	font-family: "Manrope Fallback";
	src: local("Arial");
	size-adjust: 104%;
	ascent-override: 102%;
	descent-override: 29%;
}

:root {
	--ink: #0f2a33;
	--ink-2: #3d5660;
	--ink-3: #4f6469;
	--brand: #0b7a72;
	--brand-dark: #075e58;
	--brand-light: #31cec1;
	--brand-tint: #e7f6f4;
	--sun: #ffc845;
	--sun-tint: #fff4d6;
	--bg: #ffffff;
	--surface: #f4f7f7;
	--line: #dbe4e5;
	--danger: #b42318;
	--danger-tint: #fdecea;
	--ok: #0a6b47;

	--font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgb(15 42 51 / 6%), 0 4px 16px rgb(15 42 51 / 6%);
	--shadow-hover: 0 2px 4px rgb(15 42 51 / 8%), 0 10px 28px rgb(15 42 51 / 10%);
	--container: 1180px;
	--gutter: 16px;
	--header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; border-radius: 4px; }
.tt-main:focus { outline: none; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tt-skip {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.tt-skip:focus { top: 8px; color: #fff; }
.tt-muted { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.tt-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.tt-container--narrow { max-width: 760px; }
@media (min-width: 700px) { :root { --gutter: 24px; } }

/* ---------- Buttons, inputs, chips, tags ---------- */
.tt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	border: 2px solid transparent; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.tt-btn--primary { background: var(--brand); color: #fff; }
.tt-btn--primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.tt-btn--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.tt-btn--secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.tt-btn--ghost { background: transparent; color: var(--brand); border-color: transparent; text-decoration: underline; }
.tt-btn--block { width: 100%; }
.tt-btn--lg { min-height: 52px; font-size: 1.0625rem; }
.tt-btn[disabled] { opacity: .6; cursor: progress; }

.tt-input {
	width: 100%; min-height: 46px; padding: 10px 12px;
	background: #fff; color: var(--ink); border: 1.5px solid #b9c7ca; border-radius: var(--radius-sm);
}
.tt-input::placeholder { color: #6b7d81; opacity: 1; }
.tt-input:hover { border-color: var(--ink-3); }
.tt-input:focus { border-color: var(--brand); outline: 3px solid rgb(49 206 193 / 35%); outline-offset: 0; }
.tt-input[aria-invalid="true"] { border-color: var(--danger); }
select.tt-input {
	appearance: none; padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230f2a33' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}

.tt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tt-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
	background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.tt-chip:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.tt-chip .tt-icon { color: var(--brand); }
.tt-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tt-chips--small .tt-chip { min-height: 32px; padding: 4px 10px; font-size: .875rem; }

.tt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tt-tag {
	display: inline-block; padding: 2px 8px; border-radius: 6px;
	background: var(--surface); color: var(--ink-2); font-size: .8125rem; font-weight: 600;
}
.tt-tag--good { background: var(--brand-tint); color: var(--brand-dark); }
.tt-kicker { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.tt-kicker a { text-decoration: none; }
.tt-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 68ch; }
.tt-lead p:last-child { margin-bottom: 0; }
.tt-stars { color: #b7791f; letter-spacing: 1px; font-size: .85em; }

/* ---------- Header ---------- */
.tt-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff; border-bottom: 1px solid var(--line);
}
.admin-bar .tt-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .tt-header { top: 32px; } }
.tt-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.tt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.tt-logo:hover { color: var(--ink); text-decoration: none; }
.tt-logo__text { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.tt-logo__tld { color: var(--brand); }
.custom-logo-link img { max-height: 40px; width: auto; }
.tt-header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tt-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer;
}
.tt-iconbtn:hover { background: var(--surface); }
.tt-menu-btn__close { display: none; }
.tt-menu-btn[aria-expanded="true"] .tt-menu-btn__open { display: none; }
.tt-menu-btn[aria-expanded="true"] .tt-menu-btn__close { display: inline; }

.tt-nav__list { list-style: none; margin: 0; padding: 0; }
.tt-nav__list a { color: var(--ink); text-decoration: none; font-weight: 700; }
.tt-nav__list .current-menu-item > a,
.tt-nav__list .current-menu-ancestor > a,
.tt-nav__list .current_page_parent > a { color: var(--brand); }
.tt-subtoggle { background: none; border: 0; color: var(--ink-2); cursor: pointer; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.tt-subtoggle .tt-icon { transform: rotate(90deg); transition: transform .15s; }
.tt-subtoggle[aria-expanded="true"] .tt-icon { transform: rotate(-90deg); }

/* Mobile navigation */
@media (max-width: 979px) {
	.tt-nav {
		display: none;
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		padding: 8px var(--gutter) 32px; background: #fff; overflow-y: auto;
	}
	.admin-bar .tt-nav { top: calc(var(--header-h) + 46px); }
	.tt-nav.is-open { display: block; }
	.tt-nav-open { overflow: hidden; }
	.tt-nav__list > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.tt-nav__list > li > a { flex: 1; padding: 14px 0; font-size: 1.125rem; }
	.tt-nav__list .sub-menu { display: none; list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; width: 100%; }
	.tt-nav__list .is-open > .sub-menu { display: block; }
	.tt-nav__list .sub-menu a { display: block; padding: 10px 0; font-weight: 600; color: var(--ink-2); }
	.tt-nav__cta { margin-top: 20px; width: 100%; }
}
/* Desktop navigation */
@media (min-width: 980px) {
	.tt-menu-btn { display: none; }
	.tt-header__tools { margin-left: 0; order: 3; }
	.tt-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
	.tt-nav__list { display: flex; align-items: center; gap: 2px; }
	.tt-nav__list > li { position: relative; display: flex; align-items: center; }
	.tt-nav__list > li > a { padding: 10px 10px; border-radius: 8px; font-size: .96875rem; }
	.tt-nav__list > li > a:hover { background: var(--surface); }
	.tt-subtoggle { width: 24px; height: 32px; margin-left: -8px; }
	.tt-nav__list .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 5;
		list-style: none; margin: 0; padding: 8px;
		background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover);
		visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s, visibility .12s;
	}
	.tt-nav__list li:hover > .sub-menu,
	.tt-nav__list li:focus-within > .sub-menu,
	.tt-nav__list li.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
	.tt-nav__list .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
	.tt-nav__list .sub-menu a:hover { background: var(--surface); }
	.tt-nav__cta { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }
}

.tt-searchbar { border-top: 1px solid var(--line); padding: 12px 0; background: #fff; }
.tt-search { display: flex; gap: 8px; max-width: 640px; }
.tt-search .tt-btn span { display: none; }
@media (min-width: 560px) { .tt-search .tt-btn span { display: inline; } }

/* ---------- Layout sections ---------- */
.tt-main { display: block; min-height: 50vh; }
.tt-section { padding: 32px 0; }
.tt-section--alt { background: var(--surface); }
.tt-section--tight { padding: 16px 0 32px; }
@media (min-width: 700px) { .tt-section { padding: 48px 0; } }
.tt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tt-section__title { margin: 0; }
.tt-section__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.tt-section__more:hover { text-decoration: underline; }

.tt-breadcrumbs { padding: 12px 0 0; font-size: .875rem; color: var(--ink-3); }
.tt-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tt-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--ink-3); }
.tt-breadcrumbs a { color: var(--ink-2); }

.tt-archive__head, .tt-page__head, .tt-offer__head, .tt-dest__head, .tt-article__head { padding: 16px 0 8px; }
.tt-results { margin: 16px 0 12px; font-size: .9375rem; color: var(--ink-3); font-weight: 600; }
.tt-empty { padding: 24px; background: var(--surface); border-radius: var(--radius); margin: 16px 0; }
.tt-empty h2 { font-size: 1.25rem; }

/* ---------- Hero ---------- */
.tt-hero { background: linear-gradient(180deg, var(--brand-tint), #fff); border-bottom: 1px solid var(--line); }
.tt-hero__inner { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.tt-hero__title { margin-bottom: 12px; }
.tt-hero__lead { font-size: 1.0625rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 4px; }
.tt-hero .tt-chips { margin-bottom: 0; }
.tt-badge-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.tt-badge-label .tt-icon { color: #b7791f; }
@media (min-width: 900px) {
	.tt-hero__inner { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 48px; }
	.tt-hero__lead { font-size: 1.1875rem; }
}

/* ---------- Grids ---------- */
.tt-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.tt-grid > li { display: flex; min-width: 0; }
.tt-grid > li > * { flex: 1; }
@media (min-width: 640px) {
	.tt-grid--offers, .tt-grid--3, .tt-grid--dest { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
	.tt-grid--offers, .tt-grid--3, .tt-grid--dest { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.tt-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.tt-list { display: grid; gap: 12px; list-style: none; margin: 0 0 12px; padding: 0; }

/* ---------- Cards ---------- */
.tt-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
}
.tt-card:hover { box-shadow: var(--shadow-hover); }
.tt-card:focus-within { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.tt-card__media { aspect-ratio: 16 / 9; background: var(--brand-tint); overflow: hidden; }
.tt-card__img { width: 100%; height: 100%; object-fit: cover; }
.tt-card__img--empty { display: grid; place-items: center; color: var(--brand); }
.tt-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.tt-card__route { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.tt-card__route .tt-icon { color: var(--brand); flex-shrink: 0; }
.tt-card__title { font-size: 1.0625rem; font-weight: 800; margin: 0 0 8px; }
.tt-card__link { color: var(--ink); text-decoration: none; }
.tt-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tt-card__link:hover { color: var(--brand-dark); text-decoration: none; }
.tt-card__link:focus-visible { outline: none; }
.tt-card__meta, .tt-card__hotel { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .9375rem; color: var(--ink-2); }
.tt-card__meta .tt-icon, .tt-card__hotel .tt-icon { color: var(--ink-3); flex-shrink: 0; }
.tt-card__meta--small { font-size: .8125rem; color: var(--ink-3); }
.tt-card__kicker { margin: 0 0 4px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.tt-card__excerpt { font-size: .9375rem; color: var(--ink-2); margin-bottom: 8px; }
.tt-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.tt-card--post .tt-card__meta--small { margin-top: auto; }

.tt-price { margin: 0; line-height: 1.1; }
.tt-price__from { display: block; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
.tt-price__value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); background: linear-gradient(transparent 60%, var(--sun) 60%); padding: 0 2px; }
.tt-price__note { display: block; margin-top: 2px; font-size: .75rem; color: var(--ink-3); }
.tt-checked { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-size: .75rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.tt-checked--expired { color: var(--danger); }
.tt-card.is-expired { background: var(--surface); }
.tt-card.is-expired .tt-card__media { opacity: .55; filter: grayscale(.6); }

/* Compact horizontal offer cards on small phones and in sidebars */
@media (max-width: 639px) {
	.tt-card--offer { flex-direction: row; }
	.tt-card--offer .tt-card__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 100%; }
	.tt-card--offer .tt-card__body { padding: 12px; }
	.tt-card--offer .tt-card__title { font-size: 1rem; }
	.tt-card--offer .tt-card__route { font-size: .75rem; }
	.tt-card--offer .tt-price__value { font-size: 1.3rem; }
	.tt-hero__deal .tt-card--offer { flex-direction: column; }
	.tt-hero__deal .tt-card__media { aspect-ratio: 16 / 7; }
}
.tt-list .tt-card--offer { flex-direction: row; }
.tt-list .tt-card__media { flex: 0 0 30%; aspect-ratio: auto; }
.tt-list .tt-card__body { padding: 12px; }
.tt-list .tt-card__title { font-size: .9375rem; }
.tt-list .tt-tags, .tt-list .tt-card__meta, .tt-list .tt-card__hotel { display: none; }
.tt-list .tt-price__value { font-size: 1.2rem; }

.tt-card--dest .tt-card__media { aspect-ratio: 3 / 2; }
.tt-card--dest .tt-card__title { font-size: 1.25rem; margin-bottom: 2px; }

.tt-catgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .tt-catgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tt-catgrid span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.tt-catgrid a {
	display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 12px 14px;
	border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
	color: var(--ink); font-weight: 700; text-decoration: none;
}
.tt-catgrid a:hover { border-color: var(--brand); color: var(--brand-dark); }
.tt-catgrid .tt-icon { color: var(--brand); flex-shrink: 0; }

/* ---------- Filters ---------- */
.tt-filters-wrap { margin: 8px 0 0; }
.tt-filters-toggle {
	display: flex; width: 100%; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; cursor: pointer;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	font-weight: 700; color: var(--ink); text-align: left;
}
.tt-filters-toggle::after { content: "+"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.tt-filters-count { padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; }
/* Mobile: collapsed by default, no JavaScript needed for the initial state (no layout shift). */
.tt-filters-wrap > .tt-filters { display: none; }
.tt-filters-wrap.is-open > .tt-filters { display: block; margin-top: 0; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.tt-filters-wrap.is-open > .tt-filters-toggle { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.tt-filters-wrap.is-open > .tt-filters-toggle::after { content: "–"; }
@media (min-width: 980px) {
	.tt-filters-toggle { display: none; }
	.tt-filters-wrap > .tt-filters,
	.tt-filters-wrap.is-open > .tt-filters { display: flex; border: 1px solid var(--line); border-radius: var(--radius); }
}
.tt-filters { margin: 8px 0 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tt-filters__fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
.tt-filters__field { margin: 0; min-width: 0; }
.tt-filters__field label { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.tt-filters__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
@media (max-width: 340px) { .tt-filters__fields { grid-template-columns: 1fr; } .tt-filters__actions .tt-btn--primary { width: 100%; } }
@media (min-width: 980px) {
	.tt-filters { display: flex; align-items: flex-end; gap: 12px; }
	.tt-filters__fields { flex: 1; grid-template-columns: repeat(5, 1fr); }
	.tt-filters__actions { margin: 0; flex-wrap: nowrap; }
}

.tt-pagination { margin: 32px 0 8px; }
.tt-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.tt-pagination a, .tt-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; color: var(--ink);
}
.tt-pagination a:hover { border-color: var(--brand); }
.tt-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.tt-pagination .dots { border: 0; }

/* ---------- Single offer ---------- */
.tt-alert { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); }
.tt-alert--expired { background: var(--danger-tint); color: #7a1a12; border: 1px solid #f3c1bb; }
.tt-alert a { color: inherit; font-weight: 700; }
.tt-offer__title { max-width: 26ch; }
.tt-offer__layout { display: grid; gap: 24px; padding-bottom: 32px; }
@media (min-width: 980px) {
	.tt-offer__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
	.tt-dealbox { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 16px); }
	.tt-offer__content { grid-column: 1; grid-row: 1; }
}
.tt-dealbox { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.tt-dealbox__price { margin: 0 0 12px; }
.tt-dealbox__value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 3px; }
.tt-facts { margin: 0 0 16px; }
.tt-facts__row { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.tt-facts dt { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; }
.tt-facts dd { margin: 0; font-weight: 700; }
.tt-dealbox__checked { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 12px 0 0; font-size: .8125rem; color: var(--ink-2); }
.tt-dealbox__checked .tt-icon { color: var(--ok); }
.tt-aff-note { margin: 12px 0 0; font-size: .8125rem; color: var(--ink-3); }
.tt-offer__image { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.tt-offer__image img { width: 100%; height: 100%; object-fit: cover; }
.tt-dates { padding: 16px 20px; background: var(--sun-tint); border-radius: var(--radius); margin-bottom: 24px; }
.tt-dates h2 { font-size: 1.125rem; }
.tt-dates ul { display: grid; gap: 6px; margin-bottom: 8px; }
.tt-dates li { padding: 8px 12px; background: #fff; border-radius: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tt-dates .tt-muted { margin: 0; font-size: .8125rem; }
.tt-conditions { margin-top: 24px; padding: 16px 20px; border-left: 4px solid var(--brand-light); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.tt-conditions h2 { font-size: 1.125rem; }
.tt-conditions p { margin: 0; }
.tt-offer__cta { margin: 24px 0; }
.tt-destlink {
	display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 12px; border: 1.5px solid var(--line);
	border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.tt-destlink:hover { border-color: var(--brand); color: var(--ink); text-decoration: none; }
.tt-destlink img { width: 88px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.tt-destlink > span { display: flex; flex-direction: column; flex: 1; }
.tt-destlink .tt-kicker { margin: 0; }
.tt-destlink > .tt-icon { color: var(--brand); flex-shrink: 0; }

/* ---------- Destination ---------- */
.tt-dest__hero { margin: 8px 0 16px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 1; background: var(--brand-tint); }
.tt-dest__hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .tt-dest__hero { aspect-ratio: 16 / 10; margin-inline: calc(var(--gutter) * -1); border-radius: 0; } }
.tt-quickfacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; padding: 16px; background: var(--surface); border-radius: var(--radius); }
.tt-quickfacts__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; margin: 0; }
.tt-quickfacts__list dt { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-3); font-weight: 700; }
.tt-quickfacts__list dt .tt-icon { color: var(--brand); }
.tt-quickfacts__list dd { margin: 2px 0 0; font-weight: 700; }
.tt-quickfacts p { margin: 0; }
@media (min-width: 900px) {
	.tt-quickfacts { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 24px; }
	.tt-quickfacts__list { grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; }
}
.tt-dest__layout { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 980px) {
	.tt-dest__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
	.tt-dest__side { position: sticky; top: calc(var(--header-h) + 16px); }
}
.tt-side__title { font-size: 1.125rem; }
.tt-dest__side { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.tt-toc { margin: 0 0 24px; padding: 16px 20px; background: var(--surface); border-radius: var(--radius); }
.tt-toc__title { font-weight: 800; margin-bottom: 6px; }
.tt-toc ol { margin: 0; padding-left: 20px; columns: 2 200px; column-gap: 24px; }
.tt-toc li { margin: 2px 0; break-inside: avoid; }

/* ---------- Article & prose ---------- */
.tt-article__meta { font-size: .875rem; color: var(--ink-3); }
.tt-article__image { margin: 0 auto 24px; max-width: 1000px; }
.tt-article__image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }
.tt-article__image figcaption { font-size: .8125rem; color: var(--ink-3); margin-top: 6px; }
.tt-prose { max-width: 70ch; }
.tt-prose > * + * { margin-top: 0; }
.tt-prose h2 { margin-top: 1.6em; }
.tt-prose h3 { margin-top: 1.4em; }
.tt-prose ul, .tt-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.tt-prose li { margin: .25em 0; }
.tt-prose li::marker { color: var(--brand); }
.tt-prose img { border-radius: var(--radius-sm); }
.tt-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand-light); font-size: 1.125rem; }
.tt-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .9375rem; }
.tt-prose th, .tt-prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tt-prose th { background: var(--surface); }
.tt-prose .wp-block-table { overflow-x: auto; }
.tt-prose .wp-block-button__link { background: var(--brand); border-radius: var(--radius-sm); font-weight: 700; }
.tt-prose .tt-note { padding: 10px 14px; background: var(--surface); border-radius: var(--radius-sm); font-size: .9375rem; }
.tt-prose .tt-note p { margin: 0; }
.tt-cta { margin: 1.5em 0; }
.tt-review-flag { margin: 0 0 20px; padding: 12px 16px; border: 2px dashed #b7791f; background: var(--sun-tint); border-radius: var(--radius-sm); font-size: .9375rem; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: 1000px; }
.wp-block-image figcaption { font-size: .8125rem; color: var(--ink-3); }

/* ---------- Demo / prototype labels ---------- */
.tt-demo-bar {
	margin: 0; padding: 8px 16px; text-align: center;
	background: var(--sun-tint); border-bottom: 1px solid #f0d79a; color: #6b4d09; font-size: .875rem;
}
.tt-demo-badge {
	display: inline-block; align-self: flex-start; margin: 0 0 6px; padding: 2px 8px; border-radius: 6px;
	background: var(--sun); color: #4a3400; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.tt-demo-note {
	margin: 0 0 20px; padding: 12px 16px; border: 2px dashed #e0b34a; border-radius: var(--radius-sm);
	background: var(--sun-tint); font-size: .9375rem; color: #4a3400;
}

/* ---------- Newsletter ---------- */
.tt-newsletter { border-radius: var(--radius); }
.tt-newsletter__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 6px; }
.tt-newsletter__text { color: var(--ink-2); margin-bottom: 12px; }
.tt-newsletter--card, .tt-newsletter--band { padding: 20px; background: var(--brand-tint); border: 1px solid #c4e8e3; }
.tt-newsletter--card { margin: 32px 0; }
@media (min-width: 900px) {
	.tt-newsletter--band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 32px 36px; }
	.tt-newsletter--band .tt-newsletter__title { font-size: 1.6rem; }
	.tt-newsletter--band .tt-newsletter__text { margin: 0; }
}
.tt-newsletter--compact { margin-top: 16px; padding: 16px; background: var(--brand-tint); }
.tt-newsletter--compact .tt-newsletter__title { font-size: 1.0625rem; }
.tt-newsletter--compact .tt-form__inline { flex-direction: column; }
.tt-form__row { margin: 0 0 10px; }
.tt-form__label { display: block; margin-bottom: 4px; font-weight: 700; font-size: .9375rem; }
.tt-newsletter .tt-form__label { font-size: .875rem; }
.tt-form__inline { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 480px) { .tt-form__inline { flex-direction: row; } .tt-form__inline .tt-btn { flex-shrink: 0; } }
.tt-form__check { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.tt-form__check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); }
.tt-form__check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 1px; }
.tt-form__status { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: .9375rem; }
.tt-form__status.is-ok { background: #e3f5ec; color: var(--ok); border: 1px solid #b5e0cb; }
.tt-form__status.is-error { background: var(--danger-tint); color: var(--danger); border: 1px solid #f3c1bb; }
.tt-form__grid { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .tt-form__grid { grid-template-columns: 1fr 1fr; } }
.tt-form__note { font-size: .875rem; color: var(--ink-3); }
.tt-form--contact { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.tt-form--contact textarea.tt-input { min-height: 140px; resize: vertical; }
.tt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 8px 0; }

/* ---------- Footer ---------- */
.tt-footer { margin-top: 32px; padding: 40px 0 24px; background: var(--ink); color: #d6e2e4; font-size: .9375rem; }
.tt-footer a { color: #fff; }
.tt-footer .tt-logo { color: #fff; }
.tt-footer .tt-logo__tld { color: var(--brand-light); }
.tt-footer__grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .tt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tt-footer__grid { grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: 40px; } }
.tt-footer__brand p { margin: 12px 0 16px; max-width: 36ch; }
.tt-footer__title { margin: 0 0 8px; font-weight: 800; color: #fff; }
.tt-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.tt-footer__nav a { display: inline-block; padding: 6px 0; text-decoration: none; color: #d6e2e4; }
.tt-footer__nav a:hover { color: #fff; text-decoration: underline; }
.tt-newsletter--footer .tt-newsletter__title { font-size: 1rem; color: #fff; }
.tt-newsletter--footer .tt-newsletter__text { color: #d6e2e4; font-size: .9375rem; }
.tt-newsletter--footer .tt-form__label { color: #fff; }
.tt-newsletter--footer .tt-form__check { color: #d6e2e4; }
.tt-newsletter--footer .tt-input { border-color: #fff; }
.tt-newsletter--footer .tt-btn--primary { background: var(--brand-light); color: var(--ink); }
.tt-newsletter--footer .tt-btn--primary:hover { background: #fff; }
.tt-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: .8125rem; color: #aebfc3; }
.tt-footer__bottom p { margin: 0; }
.tt-footer__bottom a { color: #d6e2e4; }

.tt-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tt-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; }
.tt-social a:hover { background: var(--brand); }
.tt-social--large a { background: var(--brand-tint); color: var(--brand-dark); width: 52px; height: 52px; }
.tt-social--large a:hover { background: var(--brand); color: #fff; }
.tt-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.tt-follow p { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- Consent banner ---------- */
.tt-consent {
	position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 460px;
	padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgb(15 42 51 / 25%);
}
.tt-consent[hidden] { display: none; }
.tt-consent__title { margin: 0 0 4px; font-weight: 800; }
.tt-consent__text { font-size: .875rem; color: var(--ink-2); }
.tt-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-consent__actions .tt-btn { flex: 1; }

/* ---------- 404 ---------- */
.tt-404 { padding-bottom: 48px; }
.tt-404__code { margin: 16px 0 0; font-size: 4rem; font-weight: 800; color: var(--brand); line-height: 1; }

/* ---------- Print ---------- */
@media print {
	.tt-header, .tt-footer, .tt-newsletter, .tt-consent, .tt-filters { display: none !important; }
	.tt-dealbox { box-shadow: none; }
}

/* ---------- Deal flags, relative time ---------- */
.tt-flags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; }
.tt-flag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.tt-flag--hot { background: #ffedd5; color: #9a3412; }
.tt-flag--error { background: #fee4e2; color: #b42318; }
.tt-flag--lastminute { background: var(--sun-tint); color: #6b4700; }
.tt-flag--new { background: var(--ink); color: #fff; }
.tt-offer__head .tt-flags { margin-bottom: 10px; }
.tt-card__ago { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font-size: .8125rem; color: var(--ink-3); }
.tt-card__ago .tt-icon { flex-shrink: 0; }
.tt-section--hot { background: linear-gradient(180deg, #fff7ed, #fff); }

/* ---------- Quick search (hero) ---------- */
.tt-qsearch { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgb(15 42 51 / 6%); }
.tt-qsearch__field { margin: 0; min-width: 0; }
.tt-qsearch__field label { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.tt-qsearch__submit { margin: 0; align-self: end; }
.tt-qsearch__submit .tt-btn { width: 100%; }
@media (min-width: 560px) { .tt-qsearch { grid-template-columns: 1fr 1fr; } }

/* ---------- Filters: show expired ---------- */
.tt-filters__check { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .9375rem; }
.tt-filters__check input { width: 20px; height: 20px; accent-color: var(--brand); }

/* ---------- Departures + destination of the week ---------- */
.tt-split { display: grid; gap: 28px; }
@media (min-width: 900px) { .tt-split { grid-template-columns: 1fr 1fr; align-items: start; } .tt-split--single { grid-template-columns: 1fr; } }
.tt-depgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tt-depgrid a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.tt-depgrid a:hover { border-color: var(--brand); }
.tt-depgrid .tt-icon { color: var(--brand); flex-shrink: 0; }
.tt-depgrid span span { display: block; font-size: .8125rem; }
.tt-spotlight { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.tt-spotlight:hover { border-color: var(--brand); color: var(--ink); }
.tt-spotlight__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tt-spotlight__body { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.tt-spotlight__title { font-size: 1.375rem; }
.tt-spotlight__text { color: var(--ink-2); }
.tt-spotlight__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--brand); }

/* ---------- Share row ---------- */
.tt-share { margin: 28px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tt-share__label { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-weight: 700; }
.tt-share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tt-share__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.tt-share__btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.tt-share__btn .tt-icon { color: var(--brand); }
.tt-share__status { margin: 8px 0 0; font-size: .875rem; color: var(--brand-dark); min-height: 1.2em; }

/* ---------- Travel services ---------- */
.tt-services { margin: 28px 0; }
.tt-services h2 { font-size: 1.25rem; }
.tt-services__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .tt-services__list { grid-template-columns: 1fr 1fr; } }
.tt-services__item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.tt-services__item:hover { border-color: var(--brand); color: var(--ink); }
.tt-services__item > .tt-icon:first-child { color: var(--brand); flex-shrink: 0; }
.tt-services__item > span { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: .9375rem; }
