/*
Theme Name: Vastrails Theme
Template: kadence
Version: 1.0.31
*/

:root {
	--color-primary: #1A1A2E;
	--color-accent: #E07B39;
	--color-cream: #F5F0E8;
	--color-text: #2C2C2C;
	--color-background: #FAFAF7;
	--color-white: #ffffff;
	--color-muted: #6e6e6e;
	--color-border: #e7e2d8;
	--color-success: #2e7d32;
	--color-danger: #c62828;
	--color-info: #1565c0;
	--shadow-soft: 0 10px 30px rgba(26, 26, 46, 0.08);
	--radius: 12px;
	--content-max: 1200px;
	--header-height: 80px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	line-height: 1.3;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-weight: 700;
	color: var(--color-primary);
}

p,
ul,
ol {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: min(100% - 2rem, var(--content-max));
	margin-inline: auto;
}

.section-padding {
	padding: 3rem 0;
}

.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.btn-primary {
	background: var(--color-accent);
	color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
	background: #cb6b2f;
	color: var(--color-white);
}

.btn-secondary {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: var(--color-primary);
	color: var(--color-white);
}

.card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.card-image {
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #ece7dc, #faf5ed);
}

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

.card-body {
	padding: 1rem 1.1rem 1.3rem;
}

.card-title {
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}

.card-meta {
	font-size: 0.85rem;
	color: var(--color-muted);
	margin-bottom: 0.5rem;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: #ece8ff;
	color: #3f368c;
}

.tag-safari {
	background: #fff3e6;
	color: #8f4b0e;
}

.tag-beach {
	background: #e7f7ff;
	color: #0a5a87;
}

.tag-budget {
	background: #e9f9ee;
	color: #1f6f3b;
}

.callout-tip,
.callout-cost,
.callout-warning,
.callout-info {
	padding: 1rem 1rem 1rem 1.1rem;
	border-left: 4px solid;
	border-radius: 8px;
	margin: 1.5rem 0;
	background: var(--color-white);
}

.callout-tip {
	border-left-color: var(--color-success);
}

.callout-cost {
	border-left-color: var(--color-accent);
}

.callout-warning {
	border-left-color: var(--color-danger);
}

.callout-info {
	border-left-color: var(--color-info);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(250, 250, 247, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow 0.25s ease;
	overflow: visible;
}

.site-header.scrolled {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.header-inner {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	overflow: visible;
}

.site-branding a {
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--color-primary);
}

.site-branding img {
	max-height: 42px;
	width: auto;
}

.menu-toggle {
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-primary);
	width: 44px;
	height: 44px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle .bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--color-primary);
	margin: 2px 0;
	transition: transform 0.2s ease;
}

.primary-navigation {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	right: 0;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: 0.75rem 1rem 1rem;
	display: none;
}

.primary-navigation.is-open {
	display: block;
}

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

.primary-navigation li {
	margin: 0.2rem 0;
}

.primary-navigation a {
	display: block;
	padding: 0.55rem 0.4rem;
	font-weight: 700;
	font-size: 0.97rem;
	color: var(--color-primary);
}

/* Hide dropdown panels until hover (fine pointer), focus-within, or JS (.submenu-*). */
.primary-navigation ul.menu .sub-menu,
.primary-navigation .menu .sub-menu,
#site-navigation ul.menu .sub-menu,
#site-navigation ul[id^="menu-"] .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
}

.primary-navigation .sub-menu {
	padding-left: 0.8rem;
}

@media (max-width: 767px) {
	.primary-navigation li.submenu-open > .sub-menu {
		display: block !important;
		width: 100%;
		flex-basis: 100%;
	}

	.primary-navigation .menu-item-has-children {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.25rem;
	}

	.primary-navigation .menu-item-has-children > .sub-menu {
		display: none;
		flex-basis: 100%;
		order: 3;
	}

	.primary-navigation .submenu-toggle {
		flex: 0 0 auto;
		border: 1px solid var(--color-border);
		background: rgba(245, 240, 232, 0.6);
		width: 2rem;
		line-height: 1;
		min-height: 2rem;
		border-radius: 6px;
		font-weight: 700;
		cursor: pointer;
		color: var(--color-primary);
	}

	.primary-navigation .submenu-toggle:focus-visible {
		outline: 2px solid var(--color-accent);
		outline-offset: 2px;
	}
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.destinations-hub__header {
	margin-bottom: 2rem;
	text-align: center;
	max-width: 52rem;
	margin-inline: auto;
}

.destinations-hub__lead {
	font-size: 1.05rem;
	color: var(--color-muted);
	margin-bottom: 0;
}

.destinations-hub__grid-section {
	margin-bottom: 2rem;
}

.destinations-hub__after {
	max-width: 42rem;
	margin-inline: auto;
}

.destination-card--link {
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(26, 26, 46, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.destination-card--link:hover,
.destination-card--link:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(26, 26, 46, 0.18);
	outline: none;
}

.destination-card--link:focus-visible {
	box-shadow: 0 0 0 3px var(--color-accent);
}

.destination-country-block {
	margin: 2rem 0;
	padding-top: 0.5rem;
	border-top: 1px solid var(--color-border);
}

.destination-featured-cta {
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.4rem;
	border-radius: var(--radius);
	background: linear-gradient(135deg, #1a1a2e, #364162);
	color: #fff;
	box-shadow: 0 6px 22px rgba(26, 26, 46, 0.18);
}

.destination-featured-cta__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.destination-featured-cta__title {
	margin: 0 0 0.6rem;
	font-size: 1.35rem;
	line-height: 1.25;
	color: #fff;
}

.destination-featured-cta__title a {
	color: inherit;
	text-decoration: none;
}

.destination-featured-cta__title a:hover,
.destination-featured-cta__title a:focus-visible {
	text-decoration: underline;
}

.destination-featured-cta__excerpt {
	margin: 0 0 1rem;
	font-size: 0.96rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.destination-featured-cta__actions {
	margin: 0;
}

.destination-featured-cta__actions .btn-primary {
	background: #fff;
	color: #1a1a2e;
	border-color: #fff;
}

.destination-featured-cta__actions .btn-primary:hover,
.destination-featured-cta__actions .btn-primary:focus {
	background: #f2ebe1;
	color: #1a1a2e;
}

.destination-featured-link {
	font-weight: 700;
}

.placeholder-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	margin-top: 1rem;
}

@media (min-width: 600px) {
	.placeholder-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.placeholder-grid span {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: linear-gradient(135deg, #e8e4dc, #f2ede4);
	border: 1px dashed var(--color-border);
}

.destination-video-placeholder {
	margin-top: 1rem;
	padding: 2rem 1rem;
	text-align: center;
	border: 2px dashed var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.destination-soon-lede {
	font-size: 1.05rem;
	line-height: 1.65;
}

.blog-coming-soon__header {
	text-align: center;
	margin-bottom: 2rem;
}

.blog-coming-soon__header h1 {
	margin-bottom: 0.75rem;
}

.blog-coming-soon__lead {
	color: var(--color-muted);
	font-size: 1.05rem;
	margin-bottom: 0;
}

.blog-coming-soon__h2 {
	font-size: 1.2rem;
	margin-top: 0;
}

.blog-coming-soon__list {
	margin: 0.5rem 0 1rem;
	padding-left: 1.2rem;
	text-align: left;
}

.blog-coming-soon__footnote {
	font-size: 0.95rem;
	color: var(--color-muted);
	margin-bottom: 1rem;
}

.blog-recent-marquee {
	width: 100%;
	max-width: 100%;
	margin: 0 auto 1.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--color-border);
	overflow: hidden;
}

.blog-recent-marquee__mask {
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--color-border) transparent;
	cursor: grab;
	mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.blog-recent-marquee__mask:focus {
	outline: none;
}

.blog-recent-marquee__mask:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.blog-recent-marquee__mask.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.blog-recent-marquee__mask::-webkit-scrollbar {
	height: 6px;
}

.blog-recent-marquee__mask::-webkit-scrollbar-thumb {
	background: var(--color-border);
	border-radius: 3px;
}

.blog-recent-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
}

.blog-recent-marquee__group {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: stretch;
	gap: 1rem;
	padding-right: 1rem;
}

.blog-recent-marquee__slide {
	flex: 0 0 auto;
	width: min(320px, 85vw);
	scroll-snap-align: start;
	min-height: 7.5rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background: var(--color-white, #fff);
	box-shadow: 0 2px 10px rgba(26, 26, 46, 0.06);
}

.blog-recent-marquee__link {
	display: block;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--color-primary);
	text-decoration: none;
	line-height: 1.3;
}

.blog-recent-marquee__link:hover,
.blog-recent-marquee__link:focus-visible {
	text-decoration: underline;
}

.blog-recent-marquee__meta {
	display: block;
	font-size: 0.82rem;
	color: var(--color-muted);
	margin: 0.35rem 0 0;
}

.blog-recent-marquee__excerpt {
	margin: 0.4rem 0 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.blog-recent-marquee__mask {
		overflow-x: auto;
		cursor: auto;
	}

	.blog-recent-marquee__track {
		flex-wrap: wrap;
		width: 100%;
		row-gap: 0.75rem;
	}

	.blog-recent-marquee__group {
		flex-wrap: wrap;
		width: 100%;
		padding-right: 0;
	}

	.blog-recent-marquee__group[aria-hidden="true"] {
		display: none;
	}

	.blog-recent-marquee__slide {
		width: 100%;
	}
}

.blog-page-intro {
	margin-bottom: 2rem;
}

.blog-archive-empty {
	color: var(--color-muted);
	margin-top: 1.5rem;
}

.blog-coming-soon__back {
	margin-top: 2rem;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	border: 1px solid var(--color-border);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.pagination .current {
	background: var(--color-primary);
	color: var(--color-cream);
	border-color: var(--color-primary);
}

.blog-coming-soon__card .card-body {
	text-align: center;
}

.site-footer {
	background: var(--color-primary);
	color: var(--color-cream);
	padding-top: 2.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.site-footer a {
	color: var(--color-cream);
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--color-accent);
}

.footer-menu,
.footer-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin: 0 0 0.5rem;
}

.footer-bottom {
	margin-top: 1.75rem;
	padding: 1rem 0;
	border-top: 1px solid rgba(245, 240, 232, 0.2);
	font-size: 0.9rem;
}

.home-hero {
	position: relative;
	min-height: 70vh;
	display: grid;
	place-items: center;
	color: var(--color-white);
	background-size: cover;
	background-position: center;
}

.home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26, 26, 46, 0.75), rgba(26, 26, 46, 0.35));
}

.home-hero__content {
	position: relative;
	text-align: center;
	z-index: 1;
}

.home-hero h1,
.home-hero p {
	color: var(--color-white);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-hero h1 {
	font-size: clamp(1.8rem, 4.5vw, 3.2rem);
	margin-bottom: 0.7rem;
}

.home-hero p {
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	font-weight: 500;
	max-width: 48rem;
	margin-inline: auto;
}

.home-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
}

.scroll-indicator {
	display: inline-block;
	margin-top: 1rem;
	font-size: 1.5rem;
	color: var(--color-cream);
}

.trust-bar {
	background: var(--color-primary);
	color: var(--color-cream);
	padding: 1rem 0;
}

.trust-grid p {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
}

.trust-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.4rem;
}

.how-grid,
.posts-grid,
.destinations-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.calculator-cta {
	background: var(--color-accent);
	color: var(--color-white);
}

.calculator-cta h2,
.calculator-cta p {
	color: var(--color-white);
}

.calculator-cta .btn-primary {
	background: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-white);
}

.calculator-cta .btn-primary:hover,
.calculator-cta .btn-primary:focus {
	background: #f2ebe1;
	color: var(--color-primary);
}

.destination-card {
	min-height: 180px;
	border-radius: var(--radius);
	background: linear-gradient(120deg, #1a1a2e, #364162);
	color: var(--color-white);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.destination-card--has-bg {
	position: relative;
}

.destination-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: var(--destination-card-bg-pos, center center);
	pointer-events: none;
}

.destination-card--has-bg .destination-card__overlay {
	position: relative;
	z-index: 1;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.destination-card__overlay {
	padding: 1rem;
	width: 100%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.destination-card h3 {
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.about-strip__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.about-strip__image {
	min-height: 260px;
	background: linear-gradient(145deg, #ece7dc, #faf5ed);
	border-radius: var(--radius);
}

.single-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.single-content {
	max-width: 720px;
}

.plan-this-trip__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.plan-this-trip__item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.55rem 0.7rem;
	border-radius: 8px;
	border: 1px solid var(--color-border, rgba(26, 26, 46, 0.12));
	background: rgba(26, 26, 46, 0.025);
}

.plan-this-trip__kicker {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-muted, rgba(26, 26, 46, 0.65));
}

.plan-this-trip__link {
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-primary, #1a1a2e);
	text-decoration: none;
}

.plan-this-trip__link:hover,
.plan-this-trip__link:focus-visible {
	text-decoration: underline;
}

.plan-this-trip__note {
	font-size: 0.85rem;
	color: var(--color-muted, rgba(26, 26, 46, 0.65));
}

.affiliate-cta {
	margin: 1.5rem 0;
	padding: 0.85rem 1.1rem;
	border-radius: var(--radius);
	background: rgba(26, 26, 46, 0.04);
	border-left: 4px solid var(--color-primary, #1a1a2e);
	font-size: 1rem;
	line-height: 1.45;
}

.affiliate-cta a {
	font-weight: 700;
}

.article-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	width: 100%;
	margin: 1.75rem 0;
	padding: 1rem;
	border-radius: var(--radius);
	background: linear-gradient(135deg, #1a1a2e, #364162);
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
}

.article-photo-placeholder figcaption {
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	max-width: 32ch;
	line-height: 1.4;
}

.sitename-post-newsletter {
	margin-top: 0.5rem;
}

.sitename-post-newsletter h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.15rem;
}

.single-sidebar {
	display: grid;
	gap: 1rem;
	align-content: start;
}

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

.toc-list a.active {
	color: var(--color-accent);
	font-weight: 700;
}

.toc-subitem {
	padding-left: 0.7rem;
}

.calculator-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.calculator-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
}

.calculator-table th,
.calculator-table td {
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.calculator-table .total-row th,
.calculator-table .total-row td {
	font-weight: 700;
}

.calc-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.calc-buttons .is-active {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-secondary.is-active {
	border-color: var(--color-primary);
}

input[type="range"],
select {
	width: 100%;
}

input[list],
input[type="text"],
input[type="email"] {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 0.55rem 0.7rem;
	font: inherit;
	background: #fff;
}

.destination-list {
	max-height: 220px;
	overflow: auto;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 0.5rem 0.6rem;
	background: #fff;
}

.destination-option {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
}

.skyscanner-widget-wrap {
	margin-top: 1.5rem;
}

.skyscanner-widget-mount {
	min-width: 300px;
	min-height: 360px;
	margin-top: 0.75rem;
}

@media (min-width: 768px) {
	.section-padding {
		padding: 4rem 0;
	}

	.primary-navigation {
		position: static;
		display: block;
		background: transparent;
		border: 0;
		padding: 0;
	}

	.primary-navigation ul.menu {
		display: flex;
		gap: 1.2rem;
		align-items: center;
		flex-wrap: wrap;
	}

	.primary-navigation ul.menu ul.sub-menu,
	#site-navigation ul.menu ul.sub-menu,
	#site-navigation ul[id^="menu-"] ul.sub-menu {
		display: none;
		position: absolute;
		top: calc(100% + 4px);
		left: 0;
		min-width: 232px;
		padding: 0.4rem 0;
		margin: 0;
		background: var(--color-white);
		border-radius: 10px;
		box-shadow: var(--shadow-soft);
		border: 1px solid var(--color-border);
		z-index: 80;
	}

	.primary-navigation ul.menu ul.sub-menu li,
	#site-navigation ul.menu ul.sub-menu li,
	#site-navigation ul[id^="menu-"] ul.sub-menu li {
		margin: 0;
	}

	.primary-navigation ul.menu ul.sub-menu a,
	#site-navigation ul.menu ul.sub-menu a,
	#site-navigation ul[id^="menu-"] ul.sub-menu a {
		padding: 0.55rem 1rem;
		font-weight: 600;
		font-size: 0.92rem;
		white-space: nowrap;
	}

	.primary-navigation ul.menu ul.sub-menu a::after,
	#site-navigation ul.menu ul.sub-menu a::after,
	#site-navigation ul[id^="menu-"] ul.sub-menu a::after {
		display: none;
	}

	/* Hover open only on devices with real hover (avoids “stuck open” on touch). */
	@media (hover: hover) and (pointer: fine) {
		.primary-navigation ul.menu > li.menu-item-has-children:hover > ul.sub-menu,
		#site-navigation ul.menu > li.menu-item-has-children:hover > ul.sub-menu,
		#site-navigation ul[id^="menu-"] > li.menu-item-has-children:hover > ul.sub-menu {
			display: block;
		}
	}

	.primary-navigation ul.menu > li.menu-item-has-children:focus-within > ul.sub-menu,
	.primary-navigation ul.menu > li.menu-item-has-children.submenu-open > ul.sub-menu,
	.primary-navigation ul.menu > li.menu-item-has-children.submenu-desktop-open > ul.sub-menu,
	#site-navigation ul.menu > li.menu-item-has-children:focus-within > ul.sub-menu,
	#site-navigation ul.menu > li.menu-item-has-children.submenu-open > ul.sub-menu,
	#site-navigation ul.menu > li.menu-item-has-children.submenu-desktop-open > ul.sub-menu,
	#site-navigation ul[id^="menu-"] > li.menu-item-has-children:focus-within > ul.sub-menu,
	#site-navigation ul[id^="menu-"] > li.menu-item-has-children.submenu-open > ul.sub-menu,
	#site-navigation ul[id^="menu-"] > li.menu-item-has-children.submenu-desktop-open > ul.sub-menu {
		display: block;
	}

	.primary-navigation .submenu-toggle {
		display: none;
	}

	/* Do not flex the <li> — flex puts the submenu in the nav row instead of overlapping content below. */
	.primary-navigation ul.menu > li.menu-item-has-children,
	#site-navigation ul.menu > li.menu-item-has-children,
	#site-navigation ul[id^="menu-"] > li.menu-item-has-children {
		position: relative;
		display: inline-block;
	}

	.primary-navigation ul.menu > li.menu-item-has-children > a,
	#site-navigation ul.menu > li.menu-item-has-children > a,
	#site-navigation ul[id^="menu-"] > li.menu-item-has-children > a {
		display: inline-block;
		vertical-align: middle;
	}

	.primary-navigation a {
		padding: 0.4rem 0;
		position: relative;
	}

	.primary-navigation a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		height: 2px;
		width: 0;
		background: var(--color-accent);
		transition: width 0.2s ease;
	}

	.primary-navigation a:hover::after,
	.primary-navigation a:focus::after {
		width: 100%;
	}

	.menu-toggle {
		display: none;
	}

	.footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.trust-grid,
	.how-grid,
	.posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.destinations-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-strip__grid,
	.calculator-layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.single-sidebar {
		position: sticky;
		top: 95px;
		height: fit-content;
	}
}

@media (min-width: 1200px) {
	.container {
		width: min(100% - 4rem, var(--content-max));
	}

	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2.25rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	.home-hero {
		min-height: 100vh;
	}

	.destinations-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ============================================================
   Mobile polish — keep design identical, just touch-friendly.
   Added Jun 2026. All overrides scoped to <= 767px except the
   global overflow guard below.
   ============================================================ */

html,
body {
	overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.btn-primary,
	.btn-secondary,
	.menu-toggle,
	.submenu-toggle,
	.scroll-indicator {
		min-height: 44px;
		padding: 0.85rem 1.35rem;
	}

	.section-padding {
		padding: 2.25rem 0;
	}

	.home-hero {
		min-height: 60vh;
	}

	.home-hero__content {
		padding-inline: 1rem;
	}

	.home-hero__buttons {
		width: 100%;
	}

	.home-hero__buttons .btn-primary,
	.home-hero__buttons .btn-secondary {
		flex: 1 1 160px;
		max-width: 320px;
	}

	.about-strip__image {
		min-height: 190px;
	}

	.trust-grid {
		gap: 0.5rem;
	}

	.trust-bar {
		padding: 0.75rem 0;
	}
}

/* ============================================================
   Start Here / nav-card link wrapper.
   Lets any .card inside .start-grid or .how-grid be a full
   anchor with the existing card visuals + a subtle lift on hover.
   ============================================================ */

.start-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 480px) {
	.start-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 1024px) {
	.start-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem;
		width: min(100%, 1120px);
		max-width: none;
		margin-inline: auto;
	}
}

.start-grid a.card,
.how-grid a.card {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.start-grid a.card:hover,
.start-grid a.card:focus-visible,
.how-grid a.card:hover,
.how-grid a.card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(26, 26, 46, 0.08);
}

/* ============================================================
   Callouts (used on How we research and any future page).
   Soft accent-bordered box for short observations / warnings.
   ============================================================ */

.callout {
	margin: 0.75rem 0;
	padding: 0.85rem 1.1rem;
	border-radius: 6px;
	border-left: 4px solid var(--color-accent, #E07B39);
	background: rgba(224, 123, 57, 0.06);
	font-size: 1rem;
	line-height: 1.5;
}

.callout strong {
	color: var(--color-primary, #1A1A2E);
}

/* ============================================================
   Responsive tables (wp:table inside .entry-content).
   Wraps in a horizontal-scroll container as a safety net on
   the narrowest phones, otherwise renders comfortably full-width.
   Scoped to .entry-content so it never affects parent-theme tables.
   ============================================================ */

.entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1rem 0;
}

.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: 0.6rem 0.8rem;
	border-bottom: 1px solid var(--color-border, rgba(26, 26, 46, 0.12));
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table th {
	background: rgba(26, 26, 46, 0.04);
	font-weight: 700;
}

@media (max-width: 600px) {
	.entry-content .wp-block-table th,
	.entry-content .wp-block-table td {
		font-size: 0.92rem;
		padding: 0.5rem 0.65rem;
	}
}

/* ============================================================
   Trust criteria list (checkmark + text).
   Mirrors the homepage .trust-bar accent style for visual consistency.
   ============================================================ */

.trust-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: grid;
	gap: 0.6rem;
}

.trust-list li {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	line-height: 1.5;
}

.trust-list li::before {
	content: "\2713";
	color: var(--color-accent, #E07B39);
	font-weight: 700;
	flex-shrink: 0;
	line-height: 1.5;
}

/* ============================================================
   Compare-table — stacked-card layout on phones.
   Opt-in: only wp-block-table elements with .compare-table get this
   treatment; other tables keep the standard horizontal-scroll behavior.
   ============================================================ */

@media (max-width: 600px) {
	.entry-content .wp-block-table.compare-table table,
	.entry-content .wp-block-table.compare-table tbody,
	.entry-content .wp-block-table.compare-table tr,
	.entry-content .wp-block-table.compare-table td {
		display: block;
		width: 100%;
	}

	.entry-content .wp-block-table.compare-table thead {
		display: none;
	}

	.entry-content .wp-block-table.compare-table tr {
		margin-bottom: 1rem;
		padding: 0.6rem 0.85rem;
		border: 1px solid var(--color-border, rgba(26, 26, 46, 0.12));
		border-radius: 8px;
		background: rgba(26, 26, 46, 0.025);
	}

	.entry-content .wp-block-table.compare-table td {
		padding: 0.3rem 0;
		border: 0;
	}

	.entry-content .wp-block-table.compare-table td::before {
		content: attr(data-label) ": ";
		display: inline-block;
		font-weight: 700;
		color: var(--color-primary, #1A1A2E);
		margin-right: 0.35rem;
	}
}

/* ==========================================================================
   Destination country hub — mobile polish
   Applies to pages rendered by page-destination-country.php
   (Kenya, Cyprus, Jordan, Sri Lanka, Romania, Greece). Desktop untouched.
   ========================================================================== */

/* Defensive rules — apply at every viewport so any current or future
   embed / image / table / Gutenberg block inside the hub stays inside the
   container and never causes horizontal scroll. */
.destination-country-content {
	overflow-wrap: anywhere;
}

.destination-country-content img,
.destination-country-content iframe,
.destination-country-content embed,
.destination-country-content video,
.destination-country-content .ml-embedded {
	max-width: 100%;
	height: auto;
}

.destination-country-content iframe {
	width: 100%;
}

.destination-country-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Phone polish — tighten spacing, make the gradient CTA + hotel link list
   easier to read and tap. Desktop is unaffected. */
@media (max-width: 767px) {
	.destination-country-main .breadcrumbs {
		flex-wrap: wrap;
		row-gap: 0.25rem;
		font-size: 0.88rem;
	}

	.destination-country-block {
		margin: 1.4rem 0;
		padding-top: 0.35rem;
	}

	.destination-country-block h2 {
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.destination-country-block ul {
		padding-left: 1.2rem;
		line-height: 1.6;
	}

	.destination-country-block li + li {
		margin-top: 0.5rem;
	}

	.destination-country-block a {
		padding-block: 2px;
		text-underline-offset: 3px;
	}

	.destination-featured-cta {
		margin-bottom: 1.25rem;
		padding: 1rem 1.1rem;
	}

	.destination-featured-cta__title {
		font-size: 1.2rem;
		line-height: 1.3;
	}

	.destination-featured-cta__excerpt {
		font-size: 0.95rem;
	}

	.destination-featured-cta__actions .btn-primary {
		display: block;
		width: 100%;
		text-align: center;
	}

	.destination-video-placeholder {
		padding: 1.5rem 0.9rem;
	}

	.destination-media-grid.placeholder-grid {
		gap: 0.5rem;
	}
}

/* Very narrow phones — further reduce the gradient CTA + section headings
   so nothing feels cramped on a 360px viewport. */
@media (max-width: 480px) {
	.destination-featured-cta {
		padding: 0.9rem 1rem;
	}

	.destination-featured-cta__title {
		font-size: 1.1rem;
	}

	.destination-country-block h2 {
		font-size: 1.15rem;
	}

	.destination-soon-lede {
		font-size: 1rem;
		line-height: 1.6;
	}
}

/* ==========================================================================
   Cost-breakdown & What-to-avoid posts — mobile polish
   Applies inside .entry-content on single posts (rendered by single.php).
   Builds on the existing .callout-* + .compare-table desktop rules; only
   tightens spacing, improves tap targets, and guards against overflow.
   ========================================================================== */

/* Defensive — keep any callout (current or future) inside the column even
   when authors paste long URLs or unbroken strings into them. */
.entry-content .callout-cost,
.entry-content .callout-warning,
.entry-content .callout-tip,
.entry-content .callout-info {
	max-width: 100%;
	overflow-wrap: anywhere;
}

/* Make sponsored affiliate links inside post lists easier to tap without
   altering their look on desktop. */
.entry-content ul li a[rel~="sponsored"] {
	padding-block: 4px;
	text-underline-offset: 3px;
}

/* Phone polish — tighten callout padding, stack "The mistake" header
   above its body text, and reduce vertical rhythm between sections. */
@media (max-width: 600px) {
	.entry-content .callout-tip,
	.entry-content .callout-cost,
	.entry-content .callout-warning,
	.entry-content .callout-info {
		padding: 0.85rem 1rem;
		margin: 1.1rem 0;
		border-radius: 8px;
	}

	.entry-content .callout-warning strong,
	.entry-content .callout-tip strong,
	.entry-content .callout-info strong {
		display: block;
		margin-bottom: 0.25rem;
	}

	.entry-content .wp-block-table.compare-table td {
		padding-block: 0.25rem;
	}

	.entry-content > h2 {
		margin-top: 1.5rem;
	}

	.entry-content > h3 {
		margin-top: 1.1rem;
	}
}

/* Very narrow phones — final tightening so callouts never feel cramped
   while still leaving room for the icon/border. */
@media (max-width: 480px) {
	.entry-content .callout-tip,
	.entry-content .callout-cost,
	.entry-content .callout-warning,
	.entry-content .callout-info {
		padding: 0.75rem 0.9rem;
		font-size: 0.95rem;
	}
}

/* ==========================================================================
   Reusable single-post template — mobile polish + FAQ block
   Applies to every single post rendered by single.php. Tightens the header,
   meta line, hero image, feedback box, author box, related-posts list, and
   adds first-time styling for native Gutenberg <details> FAQ blocks.
   Desktop layout is preserved.
   ========================================================================== */

/* Header / meta / hero — defensive defaults + wrap-friendly meta line. */
.single-header {
	margin-bottom: 1.5rem;
}

.single-header .tag {
	display: inline-block;
	margin-bottom: 0.5rem;
}

.single-header h1 {
	margin-top: 0.2rem;
	line-height: 1.2;
}

.single-hero {
	margin: 1rem 0 1.5rem;
}

.single-hero img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius, 12px);
}

.single-header .card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.6rem;
	align-items: baseline;
}

@media (max-width: 767px) {
	.single-header h1 {
		font-size: 1.7rem;
	}

	.single-header .card-meta {
		font-size: 0.88rem;
	}

	.single-hero {
		margin: 0.75rem 0 1.25rem;
	}
}

/* Feedback box — give the section breathing room and stack the two buttons
   full-width on phones so they don't crowd inside the 360px content column. */
.feedback-box {
	margin: 2rem 0 1.5rem;
}

.feedback-box h3 {
	margin-top: 0;
}

.feedback-box .feedback-button {
	margin-right: 0.5rem;
}

.feedback-box .feedback-result {
	margin: 0.75rem 0 0;
}

@media (max-width: 600px) {
	.feedback-box {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}

	.feedback-box .feedback-button {
		width: 100%;
		margin-right: 0;
		text-align: center;
	}
}

/* Author box — tighten the card body on phones so the always-on bio block
   doesn't dominate the bottom of every post. */
@media (max-width: 600px) {
	.author-box .card-body {
		padding: 1rem 1.1rem;
	}

	.author-box h3 {
		margin-top: 0;
		font-size: 1.1rem;
	}
}

/* Related Posts sidebar list — full-card tap targets so every row is
   comfortably clickable on phones without restyling the desktop hover. */
.related-posts__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.related-posts__list li {
	margin: 0;
}

.related-posts__list a {
	display: block;
	padding: 0.45rem 0.55rem;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.related-posts__list a:hover,
.related-posts__list a:focus {
	background: rgba(26, 26, 46, 0.06);
	text-decoration: underline;
}

/* Native Gutenberg <details> FAQ block (wp:details). First use on the site,
   so we style both the bare <details> and the .wp-block-details wrapper that
   the block editor emits. Accent the box when open to mirror callout styling. */
.entry-content details,
.entry-content .wp-block-details {
	border: 1px solid var(--color-border, rgba(26, 26, 46, 0.12));
	border-radius: 8px;
	padding: 0.85rem 1.1rem;
	margin: 1rem 0;
	background: rgba(26, 26, 46, 0.025);
}

.entry-content details summary,
.entry-content .wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--color-primary, #1A1A2E);
	padding: 0.15rem 0;
	outline-offset: 4px;
}

.entry-content details[open],
.entry-content .wp-block-details[open] {
	background: rgba(224, 123, 57, 0.04);
	border-color: rgba(224, 123, 57, 0.25);
}

.entry-content details > *:not(summary),
.entry-content .wp-block-details > *:not(summary) {
	margin-top: 0.6rem;
}

	@media (max-width: 600px) {
		.entry-content details,
		.entry-content .wp-block-details {
			padding: 0.75rem 0.9rem;
			margin: 0.85rem 0;
		}
	}

/* ==========================================================================
   Homepage polish — iteration 2
   Targeted fixes only. Desktop layout untouched.
   ========================================================================== */

/* Restore the .scroll-indicator to a small arrow — the prior ≤767px
   tap-target rule pulled it into the button group and made it render as a
   button-shaped blob. Higher specificity reset, no media query. */
.scroll-indicator,
a.scroll-indicator,
button.scroll-indicator {
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

/* Anchor scroll offset so the sticky 80px header never clips the H2 of a
   section when the in-page scroll arrow or hero CTAs jump to it. */
#trust-signals,
#how-we-help,
#latest-articles,
#destinations,
.home-about {
	scroll-margin-top: 90px;
}

/* Hero stability on iOS Safari — use small viewport height units so the
   hero doesn't jump when the URL bar resizes. Desktop ≥768px keeps 60vh. */
@media (max-width: 767px) {
	.home-hero {
		min-height: 60svh;
	}
}

/* Empty featured-image placeholders — hide .card-image when no inline
   background-image was set by the loop. Cards with real images keep them. */
.card-image:not([style*="background-image"]) {
	display: none;
}

/* Destinations grid on phones — 2 columns at 420-767px so all 6 cards
   don't take ~1,150px of vertical scroll. Smallest phones stay 1 column
   but get a tighter card height. */
@media (min-width: 420px) and (max-width: 767px) {
	.destinations-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.destination-card {
		min-height: 150px;
	}
}

@media (max-width: 419px) {
	.destination-card {
		min-height: 140px;
	}

	.destination-card h3 {
		font-size: 1.1rem;
	}
}

/* About-strip on very small phones — hide the decorative gradient
   placeholder and tighten the section so the bio reads first. */
@media (max-width: 480px) {
	.about-strip__image {
		display: none;
	}

	.about-strip {
		padding-block: 1.5rem;
	}
}

/* Trust bar — 2x2 grid at 420-767px reads better than 4 stacked rows. */
@media (min-width: 420px) and (max-width: 767px) {
	.trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}
}

/* Calculator CTA — cap H2 size and constrain the button width on phones
   so the CTA doesn't stretch edge-to-edge of the content column. */
@media (max-width: 600px) {
	.calculator-cta h2 {
		font-size: 1.45rem;
		line-height: 1.25;
	}

	.calculator-cta .btn-primary {
		max-width: 340px;
		width: 100%;
	}
}

/* Tighten post-hero section padding on the narrowest phones to reduce
   vertical scroll without making things feel cramped. */
@media (max-width: 480px) {
	.home-hero ~ section.section-padding {
		padding-block: 1.8rem;
	}
}

/* ==========================================================================
   Start Here page polish (v1.0.16)
   CSS-only pass on /start-here/ — fixes inverted kicker/title hierarchy,
   equalises card heights across rows, adds a keyboard focus ring, restores
   the closing .about-cta-row flex layout that WordPress strips from inline
   styles, and tightens H2 rhythm. The 1->2->4 grid ladder lives above
   (replaces the old 1->3 rule). All selectors are scoped under .start-grid
   or .entry-content .about-cta-row so other pages are not affected.
   ========================================================================== */

/* Kicker hierarchy — the H3 inside each card was inheriting Kadence's
   default size (~1.6rem), rendering LARGER than the .card-title <h4>.
   Re-anchor it as a small uppercase eyebrow so the visual hierarchy reads
   kicker -> title -> teaser. */
.start-grid .card h3,
.how-grid .card h3 {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted);
	font-weight: 600;
	margin: 0 0 0.35rem;
	line-height: 1.2;
}

.start-grid .card .card-title,
.how-grid .card .card-title {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0 0 0.5rem;
	color: var(--color-primary);
}

.start-grid .card p,
.how-grid .card p {
	margin: 0;
	color: var(--color-text);
	line-height: 1.45;
}

/* Equal card heights + larger tap target. Flex column with the teaser
   pinned to the bottom keeps titles aligned across rows even when one
   teaser wraps an extra line. */
.start-grid .card,
.how-grid .card {
	display: flex;
	flex-direction: column;
	min-height: 132px;
	padding: 1rem 1.1rem;
}

.start-grid .card p,
.how-grid .card p {
	margin-top: auto;
}

@media (max-width: 600px) {
	.start-grid .card,
	.how-grid .card {
		min-height: 96px;
		padding: 0.95rem 1rem;
	}
}

/* Visible keyboard focus ring. The existing hover lift + shadow gave no
   focus indicator to keyboard users — :focus-visible adds a 2px accent
   outline without disturbing mouse-hover behaviour. */
.start-grid a.card:focus-visible,
.how-grid a.card:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: var(--radius);
}

/* Reduced motion — kill the transform on hover/focus for users who
   request it (the box-shadow change still hints at interactivity). */
@media (prefers-reduced-motion: reduce) {
	.start-grid a.card,
	.how-grid a.card {
		transition: none;
	}

	.start-grid a.card:hover,
	.start-grid a.card:focus-visible,
	.how-grid a.card:hover,
	.how-grid a.card:focus-visible {
		transform: none;
	}
}

/* Overflow defence — long, unbroken words (URLs, hashtags) cannot push
   a column wider than its 1fr share. Belt-and-braces with grid's
   minmax(0, 1fr) above. */
.start-grid,
.start-grid *,
.how-grid,
.how-grid * {
	min-width: 0;
}

/* Closing CTA row — WordPress's safecss_filter_attr() strips
   `display:flex` from inline `style=""` attributes on Gutenberg HTML
   blocks, so the .about-cta-row was rendering as block-level (CTAs
   stacked, no horizontal alignment). Reinstating the layout in the
   stylesheet keeps the markup unchanged. */
.entry-content .about-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
}

.entry-content .about-cta-row .btn-primary,
.entry-content .about-cta-row .btn-secondary {
	min-height: 44px;
	padding-inline: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 480px) {
	.entry-content .about-cta-row {
		gap: 0.75rem;
	}

	.entry-content .about-cta-row .btn-primary,
	.entry-content .about-cta-row .btn-secondary {
		flex: 1 1 100%;
		text-align: center;
	}
}

/* Section rhythm — firm up the spacing between H2 sections across every
   WP page template variant (Start Here, About, How We Research, Trust &
   Safety, future custom-template pages). Scoped to body.page and excludes
   .single so blog posts (which use single.php) are not touched. */
.page:not(.single) .entry-content > h2 {
	margin-top: 2.25rem;
}

@media (max-width: 600px) {
	.page:not(.single) .entry-content > h2 {
		margin-top: 1.5rem;
	}
}

/* ==========================================================================
   About page polish (v1.0.17)
   Scoped to body.page-id-12 so nothing leaks. Gives the opening paragraph
   a subtle lead-paragraph weight without adding a wrapper class or
   touching the installer content.
   ========================================================================== */
body.page-id-12 .entry-content > p:first-of-type {
	font-size: 1.05rem;
	line-height: 1.7;
}

@media (max-width: 600px) {
	body.page-id-12 .entry-content > p:first-of-type {
		font-size: 1rem;
		line-height: 1.65;
	}
}

/* ==========================================================================
   Destination hub polish (v1.0.18)
   Scoped to .destination-country-main / .destination-country-article so it
   only touches /destinations/{country}/ hubs rendered by
   page-destination-country.php. Provides the desktop base for breadcrumbs
   (the only existing rule was mobile-only at line 1571) plus rhythm for the
   entry-header (Coming-soon pill + H1). Closing nav row at the bottom of
   each hub re-uses the v1.0.17 .about-cta-row pattern, so no extra rule
   needed for that.
   ========================================================================== */

.destination-country-main .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0 0 1rem;
	font-size: 0.92rem;
	color: var(--color-muted);
}

.destination-country-main .breadcrumbs a {
	color: var(--color-muted);
	text-decoration: none;
	text-underline-offset: 3px;
}

.destination-country-main .breadcrumbs a:hover,
.destination-country-main .breadcrumbs a:focus-visible {
	color: var(--color-primary);
	text-decoration: underline;
}

.destination-country-main .breadcrumbs [aria-current="page"] {
	color: var(--color-primary);
	font-weight: 600;
}

.destination-country-main .breadcrumbs span[aria-hidden="true"] {
	color: var(--color-border);
}

.destination-country-article > .entry-header {
	margin-bottom: 1.25rem;
}

.destination-country-article > .entry-header .tag {
	margin: 0 0 0.5rem;
}

.destination-country-article > .entry-header h1 {
	margin: 0;
}

/* ==========================================================================
   Destination hub container width (v1.0.19)
   Owns the 900px reading column that was previously hard-coded inline on the
   .container <div> in page-destination-country.php. Scoped to .destination-
   country-main so it only narrows the column on country hubs; the global
   .container width (style.css:82-85) is untouched everywhere else.
   ========================================================================== */
.destination-country-main > .container {
	max-width: 900px;
}

/* ==========================================================================
   Single post template polish (v1.0.21)
   Targeted CSS-only follow-up to the v1.0.x single-post passes:
     1) Style the previously-unstyled .breadcrumbs on single posts (the
        v1.0.18 hub rule is scoped to .destination-country-main, so single
        posts fell back to body line-height: 1.8 and default link color).
     2) Cap .single-sidebar at 720px when the layout has collapsed to a
        single column (>=1024px keeps the grid rule's fixed 320px sidebar).
     3) Lift Plan This Trip + Related Posts + TOC sidebar links to a 44px
        tap target without restructuring HTML.
     4) Defensive overflow-wrap on the article body, mirroring the existing
        .destination-country-content rule.
   ========================================================================== */
.single-post .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--color-muted);
	margin-bottom: 1rem;
}

.single-post .breadcrumbs a {
	color: var(--color-muted);
	text-decoration: none;
}

.single-post .breadcrumbs a:hover,
.single-post .breadcrumbs a:focus-visible {
	color: var(--color-primary);
	text-decoration: underline;
}

.single-post .breadcrumbs [aria-current="page"] {
	color: var(--color-primary);
	font-weight: 600;
}

@media (max-width: 1023px) {
	.single-sidebar {
		max-width: 720px;
	}
}

.plan-this-trip__link,
.related-posts__list a,
.toc-list a {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding-block: 0.3rem;
}

.single-content .entry-content {
	overflow-wrap: anywhere;
}

/* ==========================================================================
   Trip Cost Calculator polish (v1.0.22)
   Two-track update for /trip-cost-calculator/:
     - LIVE (coming-soon branch): restore the 900px reading column after
       the inline style was dropped; the CTAs now use .about-cta-row, so
       a new global .about-cta-row rule lets the pattern work outside
       .entry-content (specificity protects existing entry-content sites).
     - DORMANT (full form/results, gated by $calculator_is_coming_soon):
       form scaffolding (label/fieldset/legend), 44px destination-option
       tap target, canvas overflow guard, Skyscanner widget overflow fix.
       Behaviour byte-identical on the live page; kicks in when the flag
       flips to false.
   ========================================================================== */
body.page-template-page-calculator .site-main > .container {
	max-width: 900px;
}

.about-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
}

.about-cta-row .btn-primary,
.about-cta-row .btn-secondary {
	min-height: 44px;
	padding-inline: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#trip-calculator-form label {
	display: block;
	margin: 1rem 0 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
}

#trip-calculator-form fieldset {
	border: 0;
	padding: 0;
	margin: 1.25rem 0 0;
}

#trip-calculator-form fieldset legend {
	padding: 0;
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-size: 1rem;
}

#trip-calculator-form #destination-search {
	margin: 0 0 0.5rem;
}

.destination-option {
	padding-block: 0.4rem;
	cursor: pointer;
}

#calculator-chart {
	max-width: 100%;
	height: auto;
}

.skyscanner-widget-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
	.skyscanner-widget-mount {
		min-width: 0;
	}
}

/* ==========================================================================
   Cost breakdown post polish (v1.0.23)
   Targeted CSS-only follow-up for /jordan-trip-cost-breakdown/ (and any
   future .compare-table or Stay22 affiliate <ul> usage):
     1) Extend the .compare-table stacked-card layout from <=600px up to
        <=767px so landscape phones (e.g. 667x375, 736x414) get the
        cleaner per-row card view too. Duplicates the rule block at
        style.css:1499-1532 with the wider media range; benefits all 6
        .compare-table callsites uniformly (cost-breakdown, how-we-research,
        trust-and-safety, who-to-trust x3).
     2) Bump the affiliate <li> link tap area to ~48px without disrupting
        the inline text flow.
   Pairs with a small JS addition in custom.js (initScrollableTables)
   that marks any overflowing .wp-block-table as a focusable region for
   keyboard users.
   ========================================================================== */
@media (min-width: 601px) and (max-width: 767px) {
	.entry-content .wp-block-table.compare-table table,
	.entry-content .wp-block-table.compare-table tbody,
	.entry-content .wp-block-table.compare-table tr,
	.entry-content .wp-block-table.compare-table td {
		display: block;
		width: 100%;
	}

	.entry-content .wp-block-table.compare-table thead {
		display: none;
	}

	.entry-content .wp-block-table.compare-table tr {
		margin-bottom: 1rem;
		padding: 0.6rem 0.85rem;
		border: 1px solid var(--color-border, rgba(26, 26, 46, 0.12));
		border-radius: 8px;
		background: rgba(26, 26, 46, 0.025);
	}

	.entry-content .wp-block-table.compare-table td {
		padding: 0.3rem 0;
		border: 0;
	}

	.entry-content .wp-block-table.compare-table td::before {
		content: attr(data-label) ": ";
		display: inline-block;
		font-weight: 700;
		color: var(--color-primary, #1A1A2E);
		margin-right: 0.35rem;
	}
}

.entry-content ul li a[rel~="sponsored"] {
	padding-block: 0.5rem;
}

/* ==========================================================================
   What to Avoid post polish (v1.0.24)
   Targeted CSS-only follow-up for /jordan-mistakes-to-avoid/ (and any
   future post using the .callout-warning -> Fix paragraph pair pattern
   or in-text links inside .callout-* blocks).
     1) Tighten the gap between any .callout-warning and its
        immediately-following <p> so each "The mistake / Fix" pair reads
        as a visual unit on every viewport. The larger inter-section
        spacing is preserved because it is anchored by the next <h2>'s
        own margin-top rule, not by the paragraph margin.
     2) Bump the tap area of in-text links inside any .callout-* block
        (closing .callout-tip "Read these together" links land at ~44px
        with the theme's 1.7 line-height; text-underline-offset moves the
        underline 3px below the baseline so the rule reads intentional).
   ========================================================================== */
.entry-content .callout-warning + p {
	margin-top: 0.5rem;
}

.entry-content .callout-tip a,
.entry-content .callout-warning a,
.entry-content .callout-info a,
.entry-content .callout-cost a {
	padding-block: 4px;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Who to Trust post polish (v1.0.25)
   Targeted CSS-only follow-up for /jordan-who-to-trust/ (and any future
   post using <details> FAQ blocks or .compare-table with a Trust score
   column).
     1) Bump <summary> vertical padding so the FAQ tap area reaches
        ~52px without changing the box's overall padding (parent
        <details> padding stays the same). Default list-item display
        is preserved so the disclosure marker still renders cross-browser.
     2) Explicit :focus-visible outline on <summary> for keyboard
        accessibility - guarantees a visible focus ring (overrides
        inconsistent browser defaults) while inheriting the existing
        outline-offset: 4px from the always-on summary rule.
     3) Bold the trust-score <td> across all viewports so the 1-5 score
        column reads as the primary scan anchor in both the desktop
        (regular table) and the v1.0.23 extended stacked-card mobile view.
        Attribute selector scopes the change to the Trust score column
        only; other columns (Platform / Best for / Watch out for) are
        unchanged.
   ========================================================================== */
.entry-content details summary,
.entry-content .wp-block-details summary {
	padding-block: 0.5rem;
}

.entry-content details summary:focus-visible,
.entry-content .wp-block-details summary:focus-visible {
	outline: 2px solid var(--color-accent, #E07B39);
}

.entry-content .wp-block-table.compare-table td[data-label="Trust score"] {
	font-weight: 700;
}

/* ==========================================================================
   Header & navigation polish (v1.0.26)
   CSS-only follow-up for the sticky site header + primary navigation.
   Preserves desktop layout, mobile flex-wrap submenu pattern, walker
   markup, and all JS bindings (menu-toggle, submenu-toggle,
   bindDesktopDestinationDropdownClick). Addresses seven honest residuals.
     1) Mobile nav link tap area lifted from ~35-40px to ~44px via
        padding-block bump (scoped <=767px; desktop padding rule lives
        inside its own >=768px media query, unaffected).
     2) body.menu-open scroll-lock at <=767px so the page behind the
        open mobile panel can't scroll through.
     3) .primary-navigation.is-open height cap with internal scroll so
        the panel stays inside the viewport if it ever grows.
     4) Explicit :focus-visible accent ring on .menu-toggle (matches
        the existing .submenu-toggle:focus-visible pattern).
     5) Explicit :focus-visible accent ring on mobile nav links at
        <=767px (desktop has its own underline-on-focus pattern at
        >=768px, unchanged).
     6) Defensive max-width cap on desktop dropdown panels so they
        never overflow the viewport on narrow desktop widths.
     7) -webkit-backdrop-filter prefix for the sticky header blur on
        Safari < 18 / older iOS.
   ========================================================================== */
.site-header {
	-webkit-backdrop-filter: blur(8px);
}

.menu-toggle:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	body.menu-open {
		overflow: hidden;
	}

	.primary-navigation a {
		padding-block: 0.75rem;
	}

	.primary-navigation.is-open {
		max-height: calc(100svh - var(--header-height));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.primary-navigation a:focus-visible {
		outline: 2px solid var(--color-accent);
		outline-offset: 2px;
		border-radius: 4px;
	}
}

@media (min-width: 768px) {
	.primary-navigation ul.menu ul.sub-menu,
	#site-navigation ul.menu ul.sub-menu,
	#site-navigation ul[id^="menu-"] ul.sub-menu {
		max-width: calc(100vw - 2rem);
	}
}

/* ==========================================================================
   Footer polish (v1.0.27)
   CSS-only follow-up for the site footer. Preserves the 3-section grid
   (single-col on mobile / 3-col on >=768px), the dark cream-on-primary
   palette, the Quick Links wp_nav_menu output, and the existing footer
   newsletter <form> markup. Addresses five honest residuals.
     1) Quick Links + footer-bottom link tap area lifted from ~24px to
        ~38-40px via display: inline-block + padding-block (sitewide
        cascade safe; selectors scoped to .site-footer children).
     2) Newsletter form formalized as a vertical flex stack on every
        viewport, with a small gap between label, input, and button.
     3) Email input styled to match the dark footer aesthetic (translucent
        cream background, cream border, full width, accent focus ring).
     4) Explicit :focus-visible accent outline on all footer links so
        keyboard users see a clear focus indicator on the dark palette.
     5) Explicit :focus-visible cream outline on the newsletter submit
        button so the focus state is visible on the orange .btn-primary.
   ========================================================================== */
.site-footer .footer-menu a,
.site-footer .footer-bottom a {
	display: inline-block;
	padding-block: 0.35rem;
}

.site-footer a:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.site-footer form {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 0.75rem;
}

.site-footer form label {
	font-weight: 700;
	font-size: 0.95rem;
}

.site-footer form input[type="email"] {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid rgba(245, 240, 232, 0.3);
	border-radius: 8px;
	background: rgba(245, 240, 232, 0.08);
	color: var(--color-cream);
	font-size: 1rem;
}

.site-footer form input[type="email"]::placeholder {
	color: rgba(245, 240, 232, 0.55);
}

.site-footer form input[type="email"]:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-color: var(--color-accent);
}

.site-footer form button[type="submit"] {
	align-self: flex-start;
}

.site-footer form button:focus-visible {
	outline: 2px solid var(--color-cream);
	outline-offset: 2px;
}

/* ==========================================================================
   Sitewide a11y polish (v1.0.28) - Skip-to-content link
   Surfaces a "Skip to content" link to keyboard and screen-reader users
   so they can bypass the header + primary nav and jump straight to the
   page's <main id="primary">. Pairs with one anchor inserted in
   header.php after wp_body_open() and tabindex=-1 added to every
   <main id="primary"> across the 7 templates (so the browser actually
   moves focus to <main> on activation, not just scrolls to it).

   Default state: hidden via the existing .screen-reader-text utility
   (visible to screen readers, invisible visually). On :focus the link
   becomes a pinned top-left button with accent palette and high
   z-index so it sits above the sticky header (z-index: 999).
   ========================================================================== */
.skip-link:focus,
.skip-link:focus-visible {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	width: auto;
	height: auto;
	padding: 0.65rem 1rem;
	margin: 0;
	clip: auto;
	clip-path: none;
	overflow: visible;
	white-space: normal;
	background: var(--color-accent);
	color: var(--color-white);
	text-decoration: none;
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(26, 26, 46, 0.25);
	z-index: 10000;
}

.skip-link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   Blog index polish (v1.0.20)
   - Restores the 720px reading column on home.php after its inline style was
     dropped (.blog-coming-soon is the unique class on <main>; specificity
     0,2,0 beats global .container at 0,1,0).
   - Bumps .blog-recent-marquee__link to a 44px minimum tap target via
     min-height + vertical padding; no flex so titles still wrap normally.
   - Trims marquee bottom rhythm at <=480 so the lead paragraph sits closer
     to the carousel on narrow phones.
   ========================================================================== */
.blog-coming-soon > .container {
	max-width: 720px;
}

.blog-recent-marquee__link {
	min-height: 2.75rem;
	padding-block: 0.35rem;
}

@media (max-width: 480px) {
	.blog-recent-marquee {
		margin-bottom: 1rem;
		padding-bottom: 0.25rem;
	}
}

/* ==========================================================================
   Mobile menu icon visibility fix (v1.0.30)
   The base .menu-toggle uses display:inline-flex but the default
   flex-direction:row + the global tap-target padding (0.85rem 1.35rem
   from the .btn-primary/.btn-secondary/.menu-toggle/.submenu-toggle
   group around line 1319) leaves no internal width, which causes the
   18px-wide .bar spans to flex-shrink to 0 and the hamburger to
   render as an empty box. Increase specificity with .site-header to
   override the cascade: stack bars vertically with zero padding so
   the explicit 44x44 button size is the actual tap target, and pin
   bar width with flex-shrink:0 so each bar stays visible.
   Scoped to the header; desktop is unaffected because the desktop
   media query (>=768px) still hides the toggle via display:none.
   ========================================================================== */
.site-header .menu-toggle {
	flex-direction: column;
	padding: 0;
}

.site-header .menu-toggle .bar {
	flex-shrink: 0;
	width: 18px;
}

/* ==========================================================================
   Carousel controls + a11y polish (v1.0.31)
   Adds Prev / Pause-Play / Next pills under the .blog-recent-marquee mask.
   Buttons reuse the same border + radius + accent focus-ring pattern as
   the .submenu-toggle "+" pill so the carousel looks native, not bolted on.
   Hidden when prefers-reduced-motion is set (the existing reduced-motion
   block already flattens the carousel into a vertical list — controls
   become meaningless there).
   ========================================================================== */
.blog-recent-marquee__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-inline: 1rem;
}

.blog-recent-marquee__btn {
	min-width: 44px;
	min-height: 44px;
	padding: 0.4rem 0.9rem;
	background: var(--color-white, #fff);
	color: var(--color-primary);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.blog-recent-marquee__btn:hover {
	background: var(--color-cream, #F5F0E8);
}

.blog-recent-marquee__btn:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.blog-recent-marquee__btn[aria-pressed="true"] {
	background: var(--color-primary);
	color: var(--color-white, #fff);
	border-color: var(--color-primary);
}

.blog-recent-marquee__btn--prev span,
.blog-recent-marquee__btn--next span {
	font-size: 1.4rem;
	line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
	.blog-recent-marquee__controls {
		display: none;
	}
}
