/*
Theme Name: Travelight
Author: Inovix
Author URI: https://inovix.co.nz/
Description: Travelight is a simple, lightweight theme for travel agencies, tour operators and travel writers. It has a bold homepage with a hero, features, destinations, tours, testimonials and latest posts, all set up in the Customizer. Pair it with the free Travelight Core plugin to add destinations, tours, a contact form and a one-click demo import.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travelight
Tags: blog, holiday, grid-layout, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, wide-blocks

Travelight WordPress Theme, (C) 2026 Inovix.
Travelight is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	--tl-primary: #0b4f6c;
	--tl-accent: #d0461c;
	--tl-primary-dark: color-mix(in srgb, var(--tl-primary) 78%, #000);
	--tl-accent-dark: color-mix(in srgb, var(--tl-accent) 85%, #000);
	--tl-primary-soft: color-mix(in srgb, var(--tl-primary) 8%, #fff);
	--tl-accent-soft: color-mix(in srgb, var(--tl-accent) 10%, #fff);
	--tl-text: #1d2a33;
	--tl-muted: #51606b;
	--tl-bg: #ffffff;
	--tl-surface: #f3f6f7;
	--tl-border: #dde4e8;
	--tl-star: #f2a516;
	--tl-success: #1f7a4d;
	--tl-error: #b42318;
	--tl-radius: 14px;
	--tl-radius-sm: 8px;
	--tl-shadow: 0 1px 2px rgba(16, 40, 52, 0.06), 0 8px 24px rgba(16, 40, 52, 0.06);
	--tl-shadow-lg: 0 18px 40px rgba(16, 40, 52, 0.14);
	--tl-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tl-container: 1200px;
	--tl-gutter: clamp(16px, 4vw, 32px);
	--tl-section: clamp(56px, 8vw, 104px);
	--tl-header-height: 76px;
	--tl-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--tl-header-height) + 16px);
}

body {
	margin: 0;
	background: var(--tl-bg);
	color: var(--tl-text);
	font-family: var(--tl-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--tl-text);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

h1 {
	font-size: clamp(2.1rem, 4.5vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.4rem);
}

h4 {
	font-size: 1.125rem;
}

h5,
h6 {
	font-size: 1rem;
}

p,
ul,
ol,
dl,
blockquote,
figure,
pre,
table {
	margin: 0 0 1.25em;
}

ul,
ol {
	padding-left: 1.5em;
}

img,
video,
iframe,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

svg.icon {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

svg.icon--fill {
	fill: currentColor;
	stroke: none;
}

a {
	color: var(--tl-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--tl-transition);
}

a:hover {
	color: var(--tl-accent);
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid var(--tl-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

hr {
	height: 1px;
	margin: 2.5em 0;
	border: 0;
	background: var(--tl-border);
}

blockquote {
	margin-left: 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-left: 4px solid var(--tl-accent);
	font-size: 1.125em;
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	overflow: auto;
	padding: 1.25em;
	border-radius: var(--tl-radius-sm);
	background: var(--tl-surface);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.75em;
	border-bottom: 1px solid var(--tl-border);
	text-align: left;
}

/* ==========================================================================
   3. Accessibility and WordPress core classes
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 14px 22px;
	clip: auto !important;
	clip-path: none;
	border-radius: var(--tl-radius-sm);
	background: #fff;
	box-shadow: var(--tl-shadow-lg);
	color: var(--tl-primary);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	position: fixed !important;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
	clear: both;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption img {
	display: block;
}

.wp-caption-text,
.gallery-caption,
figcaption {
	margin-top: 0.6em;
	color: var(--tl-muted);
	font-size: 0.875rem;
	text-align: center;
}

.sticky .card__title::before {
	content: "★ ";
	color: var(--tl-accent);
}

.bypostauthor > .comment-body {
	border-left: 4px solid var(--tl-accent);
}

.entry-content::after,
.clear::after {
	content: "";
	display: table;
	clear: both;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
	width: 100%;
	max-width: calc(var(--tl-container) + var(--tl-gutter) * 2);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--tl-gutter);
	padding-left: var(--tl-gutter);
}

.container--narrow {
	max-width: calc(780px + var(--tl-gutter) * 2);
}

.site-main {
	display: block;
	min-height: 50vh;
}

.site-main:focus {
	outline: none;
}

.section {
	padding: var(--tl-section) 0;
}

.section--alt {
	background: var(--tl-surface);
}

.section--tight {
	padding-top: calc(var(--tl-section) * 0.6);
	padding-bottom: calc(var(--tl-section) * 0.6);
}

.section-header {
	max-width: 680px;
	margin: 0 auto clamp(32px, 5vw, 56px);
	text-align: center;
}

.section-header .section-title {
	margin-bottom: 0.35em;
}

.section-text {
	margin: 0;
	color: var(--tl-muted);
	font-size: 1.0625rem;
}

.section-footer {
	margin-top: clamp(32px, 5vw, 48px);
	text-align: center;
}

.layout {
	display: grid;
	gap: clamp(32px, 5vw, 56px);
	padding: clamp(40px, 6vw, 72px) 0;
}

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

.layout--single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 780px;
	margin: 0 auto;
}

.layout--wide {
	grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   5. Buttons and forms
   ========================================================================== */

.button,
button.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link,
.wp-block-search__button,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.85em 1.6em;
	border: 2px solid var(--tl-accent);
	border-radius: 999px;
	background: var(--tl-accent);
	color: #fff;
	font-family: inherit;
	font-size: 0.975rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--tl-transition), border-color var(--tl-transition), color var(--tl-transition), transform var(--tl-transition), box-shadow var(--tl-transition);
}

.button:hover,
button.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.wp-block-button__link:hover,
.wp-block-search__button:hover,
.comment-form .submit:hover {
	border-color: var(--tl-accent-dark);
	background: var(--tl-accent-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--tl-accent) 30%, transparent);
}

.button--primary {
	border-color: var(--tl-primary);
	background: var(--tl-primary);
}

.button--primary:hover {
	border-color: var(--tl-primary-dark);
	background: var(--tl-primary-dark);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--tl-primary) 30%, transparent);
}

.button--outline,
.is-style-outline .wp-block-button__link {
	border-color: currentColor;
	background: transparent;
	color: var(--tl-primary);
}

.button--outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--tl-primary);
	background: var(--tl-primary);
	color: #fff;
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.85);
	background: transparent;
	color: #fff;
}

.button--ghost:hover {
	border-color: #fff;
	background: #fff;
	color: var(--tl-primary);
}

.button--small {
	padding: 0.6em 1.2em;
	font-size: 0.9rem;
}

.button--block {
	display: flex;
	width: 100%;
}

label {
	display: inline-block;
	margin-bottom: 0.35em;
	font-size: 0.925rem;
	font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1.5px solid var(--tl-border);
	border-radius: var(--tl-radius-sm);
	background: #fff;
	color: var(--tl-text);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color var(--tl-transition), box-shadow var(--tl-transition);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--tl-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--tl-primary) 20%, transparent);
	outline: none;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form .search-field {
	flex: 1;
}

.search-form .search-submit {
	padding: 0.8em 1.1em;
}

/* ==========================================================================
   6. Header and navigation
   ========================================================================== */

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid transparent;
	background: rgba(255, 255, 255, 0.96);
	transition: box-shadow var(--tl-transition), border-color var(--tl-transition);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-scrolled {
	border-bottom-color: var(--tl-border);
	box-shadow: 0 6px 24px rgba(16, 40, 52, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--tl-header-height);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	width: auto;
	max-height: 52px;
}

.site-title {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.site-title a {
	color: var(--tl-primary);
	text-decoration: none;
}

.site-description {
	margin: 2px 0 0;
	color: var(--tl-muted);
	font-size: 0.8rem;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--tl-text);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	background: var(--tl-primary-soft);
	color: var(--tl-primary);
}

.main-navigation .menu-item-has-children > a::after,
.main-navigation .page_item_has_children > a::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	margin: -0.2em 0 0 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.main-navigation .sub-menu,
.main-navigation .children {
	position: absolute;
	z-index: 10;
	top: 100%;
	left: 0;
	visibility: hidden;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius-sm);
	background: #fff;
	box-shadow: var(--tl-shadow-lg);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity var(--tl-transition), transform var(--tl-transition), visibility var(--tl-transition);
}

.main-navigation .sub-menu .sub-menu,
.main-navigation .children .children {
	top: -9px;
	left: 100%;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li:focus-within > .children {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.main-navigation .sub-menu a,
.main-navigation .children a {
	border-radius: 6px;
	font-weight: 500;
}

.header-cta {
	white-space: nowrap;
}

/* The button sits inside the navigation, so restore its own colors over the menu link styles. */
.main-navigation .header-cta {
	padding: 0.6em 1.2em;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
}

.main-navigation .header-cta:hover {
	background: var(--tl-accent-dark);
	color: #fff;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1.5px solid var(--tl-border);
	border-radius: 12px;
	background: #fff;
	color: var(--tl-primary);
	cursor: pointer;
}

.menu-toggle .icon {
	width: 24px;
	height: 24px;
}

.menu-toggle .menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: inline-flex;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(82vh, 760px);
	padding: clamp(80px, 12vw, 140px) 0;
	overflow: hidden;
	background-color: var(--tl-primary-dark);
	background-position: center;
	background-size: cover;
	color: #fff;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(100deg, rgba(4, 22, 32, 0.78) 0%, rgba(4, 22, 32, 0.5) 45%, rgba(4, 22, 32, 0.12) 100%);
}

.hero__inner {
	position: relative;
}

.hero__content {
	max-width: 720px;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hero__title {
	margin-bottom: 0.4em;
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	line-height: 1.05;
}

.hero__text {
	max-width: 560px;
	margin-bottom: 2em;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==========================================================================
   8. Front page sections
   ========================================================================== */

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.feature {
	padding: 32px 28px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	background: #fff;
	transition: transform var(--tl-transition), box-shadow var(--tl-transition);
}

.feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--tl-shadow-lg);
}

.feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: var(--tl-accent-soft);
	color: var(--tl-accent);
}

.feature__icon .icon {
	width: 28px;
	height: 28px;
}

.feature__title {
	margin-bottom: 0.4em;
	font-size: 1.2rem;
}

.feature__text {
	margin: 0;
	color: var(--tl-muted);
}

.cta-band {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 64px);
	border-radius: calc(var(--tl-radius) * 1.5);
	background: linear-gradient(120deg, var(--tl-primary) 0%, var(--tl-primary-dark) 100%);
	color: #fff;
	text-align: center;
}

.cta-band::after {
	content: "";
	position: absolute;
	top: -60%;
	right: -10%;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tl-accent) 35%, transparent);
	filter: blur(30px);
	pointer-events: none;
}

.cta-band__title {
	position: relative;
	color: #fff;
}

.cta-band__text {
	position: relative;
	max-width: 560px;
	margin: 0 auto 1.75em;
	color: rgba(255, 255, 255, 0.88);
}

.cta-band .button {
	position: relative;
}

.front-content .entry-content {
	max-width: 780px;
	margin: 0 auto;
}

/* ==========================================================================
   9. Cards
   ========================================================================== */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	background: #fff;
	transition: transform var(--tl-transition), box-shadow var(--tl-transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tl-shadow-lg);
}

.card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--tl-primary-soft);
}

.card__media a {
	display: block;
	height: 100%;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.card:hover .card__media img {
	transform: scale(1.05);
}

.card__badge,
.card__price {
	position: absolute;
	top: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
}

.card__badge {
	left: 14px;
	background: var(--tl-accent);
	color: #fff;
}

.card__price {
	right: 14px;
	background: #fff;
	box-shadow: var(--tl-shadow);
	color: var(--tl-primary);
}

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 10px;
	padding: 0;
	color: var(--tl-muted);
	font-size: 0.85rem;
	list-style: none;
}

.card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.card__meta .icon {
	color: var(--tl-accent);
}

.card__meta a {
	color: inherit;
	text-decoration: none;
}

.card__title {
	margin-bottom: 0.45em;
	font-size: 1.2rem;
	line-height: 1.3;
}

.card__title a {
	color: var(--tl-text);
	text-decoration: none;
}

.card__title a:hover {
	color: var(--tl-primary);
}

.card__excerpt {
	margin-bottom: 1.1em;
	color: var(--tl-muted);
	font-size: 0.95rem;
}

.card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--tl-primary);
	font-size: 0.925rem;
	font-weight: 700;
	text-decoration: none;
}

.card__link .icon {
	transition: transform var(--tl-transition);
}

.card__link:hover .icon {
	transform: translateX(4px);
}

/* Destination cards */

.dest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.dest-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--tl-radius);
	background: var(--tl-primary-dark);
	aspect-ratio: 4 / 5;
	isolation: isolate;
}

.dest-card__link {
	display: block;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.dest-card__link:hover {
	color: #fff;
}

.dest-card__img {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.dest-card:hover .dest-card__img {
	transform: scale(1.06);
}

.dest-card__link::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 22, 32, 0) 35%, rgba(4, 22, 32, 0.85) 100%);
}

.dest-card__content {
	position: absolute;
	right: 24px;
	bottom: 24px;
	left: 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dest-card__country {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.85rem;
	font-weight: 600;
}

.dest-card__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.dest-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Testimonials */

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 32px 28px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	background: #fff;
}

.testimonial__stars {
	display: flex;
	gap: 2px;
	margin-bottom: 16px;
	color: var(--tl-star);
}

.testimonial__quote {
	flex: 1;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	font-size: 1rem;
}

.testimonial__quote p {
	margin: 0;
}

.testimonial__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--tl-text);
	font-size: 0.95rem;
	text-align: left;
}

.testimonial__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--tl-primary-soft);
	color: var(--tl-primary);
	font-weight: 800;
}

.testimonial__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial__name {
	display: block;
	font-weight: 700;
}

.testimonial__location {
	display: block;
	color: var(--tl-muted);
	font-size: 0.85rem;
}

/* ==========================================================================
   10. Page headers
   ========================================================================== */

.page-header {
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
	background: linear-gradient(180deg, var(--tl-primary-soft) 0%, #fff 100%);
	text-align: center;
}

.page-header .page-title {
	margin-bottom: 0.3em;
}

.page-header .page-description,
.page-header .archive-description {
	max-width: 640px;
	margin: 0 auto;
	color: var(--tl-muted);
}

.page-header .archive-description p:last-child {
	margin-bottom: 0;
}

.page-header--image {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(320px, 48vh, 520px);
	padding: clamp(40px, 6vw, 64px) 0;
	background-color: var(--tl-primary-dark);
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: left;
	isolation: isolate;
}

.page-header--image::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 22, 32, 0.15) 0%, rgba(4, 22, 32, 0.82) 100%);
}

.page-header--image .page-title,
.page-header--image .page-description {
	color: #fff;
}

.page-header--image .page-description {
	margin: 0;
	opacity: 0.9;
}

.breadcrumbs {
	margin-bottom: 14px;
	font-size: 0.875rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-header:not(.page-header--image) .breadcrumbs ol {
	justify-content: center;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	opacity: 0.6;
}

.breadcrumbs a {
	color: inherit;
	opacity: 0.85;
}

.page-header--image .breadcrumbs a {
	color: #fff;
}

.entry-meta,
.trip-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	font-size: 0.925rem;
	list-style: none;
}

.page-header:not(.page-header--image) .entry-meta {
	justify-content: center;
	color: var(--tl-muted);
}

.entry-meta li,
.trip-facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-meta a {
	color: inherit;
}

.page-header--image .entry-meta,
.page-header--image .trip-facts {
	color: rgba(255, 255, 255, 0.92);
}

.trip-facts__price {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tl-accent);
	color: #fff;
	font-weight: 700;
}

.entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.page-header:not(.page-header--image) .entry-categories {
	justify-content: center;
}

.tag-pill,
.entry-categories a,
.entry-tags a {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tl-accent);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-tags a {
	background: var(--tl-surface);
	color: var(--tl-text);
}

.entry-categories a:hover {
	background: var(--tl-accent-dark);
	color: #fff;
}

.entry-tags a:hover {
	background: var(--tl-primary);
	color: #fff;
}

/* ==========================================================================
   11. Entry content
   ========================================================================== */

.entry-content > * {
	max-width: 100%;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content img {
	border-radius: var(--tl-radius-sm);
}

.entry-content .alignwide {
	margin-right: -60px;
	margin-left: -60px;
	max-width: calc(100% + 120px);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.layout--sidebar .entry-content .alignwide,
.layout--sidebar .entry-content .alignfull {
	width: auto;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

.entry-content .wp-block-image figcaption {
	text-align: center;
}

.entry-content .wp-block-quote {
	border-left-color: var(--tl-accent);
}

.entry-content .wp-block-pullquote {
	border-top: 4px solid var(--tl-accent);
	border-bottom: 4px solid var(--tl-accent);
}

.entry-content .has-primary-color {
	color: var(--tl-primary);
}

.entry-content .has-accent-color {
	color: var(--tl-accent);
}

.has-primary-background-color {
	background-color: var(--tl-primary);
}

.has-accent-background-color {
	background-color: var(--tl-accent);
}

.has-surface-background-color {
	background-color: var(--tl-surface);
}

.page-links {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2em;
	font-weight: 600;
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid var(--tl-border);
}

.entry-footer .entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.author-box {
	display: flex;
	gap: 20px;
	margin-top: 2.5em;
	padding: 28px;
	border-radius: var(--tl-radius);
	background: var(--tl-surface);
}

.author-box img {
	border-radius: 50%;
}

.author-box__name {
	margin-bottom: 0.3em;
	font-size: 1.1rem;
}

.author-box__bio {
	margin: 0;
	color: var(--tl-muted);
	font-size: 0.95rem;
}

.post-navigation {
	margin-top: 2.5em;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius-sm);
	color: var(--tl-text);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--tl-primary);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	display: block;
	color: var(--tl-muted);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.post-navigation .nav-title {
	font-weight: 700;
}

/* ==========================================================================
   12. Tours and destinations
   ========================================================================== */

.trip-block {
	margin-bottom: clamp(32px, 5vw, 48px);
}

.trip-block:last-child {
	margin-bottom: 0;
}

.trip-block__title {
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--tl-border);
	font-size: 1.4rem;
}

.icon-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.icon-list--columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
}

.icon-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.icon-list .icon {
	margin-top: 0.25em;
}

.icon-list--check .icon {
	color: var(--tl-success);
}

.icon-list--cross .icon {
	color: var(--tl-error);
}

.icon-list--highlight .icon {
	color: var(--tl-accent);
}

.included-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.included-grid h3 {
	font-size: 1.05rem;
}

.sidebar {
	display: grid;
	gap: 24px;
}

.sidebar--sticky {
	position: sticky;
	top: calc(var(--tl-header-height) + 24px);
}

.admin-bar .sidebar--sticky {
	top: calc(var(--tl-header-height) + 56px);
}

.side-card {
	padding: 28px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	background: #fff;
	box-shadow: var(--tl-shadow);
}

.side-card__title {
	font-size: 1.15rem;
}

.side-card p {
	color: var(--tl-muted);
	font-size: 0.95rem;
}

.booking-card__price {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--tl-border);
}

.booking-card__label {
	display: block;
	color: var(--tl-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.price {
	color: var(--tl-primary);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
}

.price del {
	margin-right: 8px;
	color: var(--tl-muted);
	font-size: 0.55em;
	font-weight: 600;
}

.price ins,
.card__price ins,
.trip-facts__price ins {
	text-decoration: none;
}

.card__price del,
.trip-facts__price del {
	margin-right: 2px;
	font-weight: 500;
	opacity: 0.75;
}

.price__note {
	color: var(--tl-muted);
	font-size: 0.9rem;
	font-weight: 500;
}

.fact-list {
	display: grid;
	gap: 12px;
	margin: 0 0 22px;
}

.fact-list div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
}

.fact-list dt {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tl-muted);
}

.fact-list dt .icon {
	color: var(--tl-accent);
}

.fact-list dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.booking-card .button + .button {
	margin-top: 10px;
}

.contact-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.contact-list .icon {
	color: var(--tl-accent);
}

/* ==========================================================================
   13. Blog, archives, pagination
   ========================================================================== */

.posts-area {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.no-results {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.no-results .search-form {
	margin-top: 1.5em;
}

.pagination,
.comments-pagination {
	margin-top: clamp(32px, 5vw, 56px);
}

.pagination .nav-links,
.comments-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tl-border);
	border-radius: 999px;
	color: var(--tl-text);
	font-weight: 600;
	text-decoration: none;
}

a.page-numbers:hover,
.page-numbers.current {
	border-color: var(--tl-primary);
	background: var(--tl-primary);
	color: #fff;
}

.page-numbers.dots {
	border-color: transparent;
}

.error-404 {
	max-width: 620px;
	margin: 0 auto;
	padding: clamp(64px, 10vw, 120px) 0;
	text-align: center;
}

.error-404__code {
	display: block;
	margin-bottom: 0.1em;
	background: linear-gradient(120deg, var(--tl-primary), var(--tl-accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
}

.error-404 .search-form {
	margin: 1.5em 0;
}

/* ==========================================================================
   14. Widgets
   ========================================================================== */

.widget {
	margin: 0;
	padding: 26px;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	background: #fff;
}

.widget-title,
.widget .wp-block-heading {
	margin-bottom: 0.8em;
	font-size: 1.05rem;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--tl-border);
}

.widget li:last-child {
	border-bottom: 0;
}

.widget a {
	color: var(--tl-text);
	text-decoration: none;
}

.widget a:hover {
	color: var(--tl-primary);
}

.wp-block-search__inside-wrapper {
	gap: 8px;
}

.wp-block-search__label {
	margin-bottom: 0.6em;
	font-weight: 700;
}

/* ==========================================================================
   15. Comments
   ========================================================================== */

.comments-area {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 1px solid var(--tl-border);
}

.comments-title,
.comment-reply-title {
	font-size: 1.4rem;
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: clamp(16px, 4vw, 48px);
}

.comment-body {
	margin-bottom: 20px;
	padding: 22px;
	border-radius: var(--tl-radius-sm);
	background: var(--tl-surface);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	font-size: 0.85rem;
}

.comment-metadata a {
	color: var(--tl-muted);
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 10px;
	font-size: 0.9rem;
	font-weight: 700;
}

.comment-awaiting-moderation {
	color: var(--tl-muted);
	font-style: italic;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent label {
	font-weight: 400;
}

.no-comments {
	color: var(--tl-muted);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
	margin-top: auto;
	padding-top: clamp(56px, 8vw, 88px);
	background: var(--tl-primary-dark);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 40px;
	padding-bottom: clamp(40px, 6vw, 64px);
}

.site-footer__brand {
	margin-bottom: 0.6em;
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-footer__about p {
	max-width: 380px;
}

.site-footer__heading {
	margin-bottom: 1em;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.footer-menu {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu .sub-menu {
	display: none;
}

.site-footer .contact-list .icon {
	color: color-mix(in srgb, var(--tl-accent) 70%, #fff);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1.25em 0 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	transition: background var(--tl-transition), border-color var(--tl-transition);
}

.social-links a:hover {
	border-color: var(--tl-accent);
	background: var(--tl-accent);
	text-decoration: none;
}

.social-links .icon {
	width: 18px;
	height: 18px;
}

.site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	padding-bottom: clamp(32px, 5vw, 48px);
}

.site-footer__widgets .widget {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.site-footer__widgets .widget li {
	border-color: rgba(255, 255, 255, 0.12);
}

.site-footer__widgets .widget-title,
.site-footer__widgets .wp-block-heading {
	color: #fff;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.875rem;
}

.site-footer__bottom p {
	margin: 0;
}

/* ==========================================================================
   17. Motion
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

/* ==========================================================================
   18. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.entry-content .alignwide {
		margin-right: 0;
		margin-left: 0;
		max-width: 100%;
	}
}

@media (max-width: 960px) {
	.main-navigation {
		position: fixed;
		z-index: 99;
		top: var(--tl-header-height);
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		overflow-y: auto;
		padding: 20px var(--tl-gutter) 40px;
		border-top: 1px solid var(--tl-border);
		background: #fff;
	}

	.admin-bar .main-navigation {
		top: calc(var(--tl-header-height) + 46px);
	}

	.main-navigation.is-open {
		display: flex;
	}

	.main-navigation .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.main-navigation a {
		padding: 14px 16px;
		border-radius: var(--tl-radius-sm);
		font-size: 1.05rem;
	}

	.main-navigation .sub-menu,
	.main-navigation .children {
		position: static;
		visibility: visible;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.main-navigation .menu-item-has-children > a::after,
	.main-navigation .page_item_has_children > a::after {
		display: none;
	}

	.header-cta {
		justify-content: center;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.menu-open {
		overflow: hidden;
	}

	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar--sticky {
		position: static;
	}

	.features-grid,
	.card-grid,
	.dest-grid,
	.testimonials-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

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

@media (max-width: 600px) {
	:root {
		--tl-header-height: 66px;
	}

	body {
		font-size: 1rem;
	}

	.admin-bar .site-header {
		top: 0;
	}

	.features-grid,
	.card-grid,
	.dest-grid,
	.testimonials-grid,
	.included-grid,
	.icon-list--columns,
	.post-navigation .nav-links,
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dest-card {
		aspect-ratio: 4 / 3;
	}

	.hero__actions .button {
		flex: 1 1 100%;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.author-box {
		flex-direction: column;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1em;
	}
}

@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.comments-area,
	.post-navigation {
		display: none;
	}
}
