/**
 * Apextion DMC — front-end styles.
 *
 * Reproduces the live apextiondmc.com rendering without its Bootstrap, jQuery,
 * Font Awesome or Swiper dependencies. Measurements were read off the live DOM,
 * so odd-looking values (24.25px shadows, 23px line heights) are deliberate.
 *
 * Breakpoints follow the live site: Bootstrap 4's 576 / 768 / 992 / 1200, plus
 * its own 600px mobile sheet and a 480px testimonial switch.
 *
 * Page-specific sections live in assets/css/pages/*.css.
 */

/* -------------------------------------------------------------------------
 * Reset — the subset of Bootstrap 4 reboot the live pages rely on.
 * ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: left;
	background-color: #bfc7e7;
}

body.home {
	background-color: #f1f1f1;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

a {
	color: #007bff;
	text-decoration: none;
	background-color: transparent;
}

a:hover {
	color: #0056b3;
	text-decoration: underline;
}

img {
	vertical-align: middle;
	border-style: none;
	max-width: 100%;
	height: auto;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	margin-top: 1rem;
	margin-bottom: 1rem;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

button {
	border-radius: 0;
	font: inherit;
}

figure {
	margin: 0;
}

/* Block editor wrappers that must not add geometry of their own. */
.wp-site-blocks,
.wp-block-template-part {
	margin: 0;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.ax-icon {
	display: inline-block;
	vertical-align: -0.125em;
	overflow: visible;
}

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

/* -------------------------------------------------------------------------
 * Grid — Bootstrap 4 geometry, only the columns the pages use.
 * ---------------------------------------------------------------------- */

.ax-container,
.ax-container-fluid {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) { .ax-container { max-width: 540px; } }
@media (min-width: 768px) { .ax-container { max-width: 720px; } }
@media (min-width: 992px) { .ax-container { max-width: 960px; } }
@media (min-width: 1200px) { .ax-container { max-width: 1140px; } }

.ax-row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

[class*="ax-col"] {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}

.ax-col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
	.ax-col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
	.ax-col-md-3 { flex: 0 0 25%; max-width: 25%; }
	.ax-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.ax-col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.ax-col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.ax-col-md-9 { flex: 0 0 75%; max-width: 75%; }
	.ax-col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
}

@media (min-width: 992px) {
	.ax-col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.ax-col-lg-3 { flex: 0 0 25%; max-width: 25%; }
	.ax-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.ax-col-lg-6 { flex: 0 0 50%; max-width: 50%; }
	.ax-col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

/* -------------------------------------------------------------------------
 * Header — a slim navy contact line, then a white bar with the logo and menu.
 * Below 992px only the white bar shows, with a button for the slide-out menu.
 * ---------------------------------------------------------------------- */

.ax-header {
	position: relative;
	z-index: 100;
}

.ax-topbar {
	padding: 4px 0;
	background: #132146;
	color: #fff;
}

.ax-topbar p {
	margin: 0;
}

.ax-topbar a {
	color: #fff;
}

.ax-topbar a:hover {
	text-decoration: none;
}

/* One slim row: tagline on the left, phones and emails on the right. */
.ax-topbar .ax-row {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 36px;
	margin: 0;
}

.ax-topbar .ax-row > p:first-child {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	padding: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.ax-topbar .ax-topbar__links {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 26px;
	width: auto;
	max-width: none;
	padding: 0;
}

.ax-topbar__links > p {
	position: relative;
}

/* Faint round badge behind each yellow glyph. */
.ax-topbar__links > p::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	transition: background-color 200ms ease;
	pointer-events: none;
}

.ax-topbar__links a {
	position: relative;
	display: block;
	padding-left: 34px;
	font-size: 14px;
	line-height: 26px;
	white-space: nowrap;
	transition: color 200ms ease;
}

.ax-topbar__links a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 7px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background-color: #ffb606;
	-webkit-mask: var(--ax-i-phone) center / contain no-repeat;
	mask: var(--ax-i-phone) center / contain no-repeat;
	transition: background-color 200ms ease;
}

.ax-topbar__links .is-email a::before {
	-webkit-mask-image: var(--ax-i-envelope);
	mask-image: var(--ax-i-envelope);
}

.ax-topbar__links a:hover,
.ax-topbar__links a:focus-visible {
	color: #ffb606;
}

@media (max-width: 1199px) {
	.ax-topbar .ax-row {
		gap: 16px;
	}

	.ax-topbar .ax-row > p:first-child,
	.ax-topbar__links a {
		font-size: 13px;
	}

	.ax-topbar .ax-topbar__links {
		gap: 16px;
	}
}

.ax-topbar__links > p:hover::before,
.ax-topbar__links > p:focus-within::before {
	background-color: #ffb606;
}

.ax-topbar__links a:hover::before,
.ax-topbar__links a:focus-visible::before {
	background-color: #132146;
}

/* White bar: logo on the left, menu on the right. */
.ax-mainbar {
	background: #fff;
	box-shadow: 0 1px 0 rgba(19, 33, 70, 0.08), 0 10px 30px -18px rgba(19, 33, 70, 0.45);
}

.ax-mainbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 84px;
}

.ax-logo {
	flex: none;
	margin: 0;
	line-height: 0;
}

.ax-logo a {
	display: block;
}

.ax-logo img {
	display: block;
	width: 210px;
	height: auto;
}

/* Desktop menu bar, fed by the same Navigation menu as the slide-out menu. */
.ax-menubar {
	flex: 1 1 auto;
	min-width: 0;
}

.ax-menubar__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ax-menubar a {
	position: relative;
	display: block;
	padding: 32px 0 30px;
	font-size: 15px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.2px;
	color: #132146;
	white-space: nowrap;
	text-decoration: none;
	transition: color 200ms ease;
}

.ax-menubar a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background-color: #ffb606;
	transform: scaleX(0);
	transition: transform 200ms ease;
}

.ax-menubar a:hover,
.ax-menubar a:focus-visible,
.ax-menubar a[aria-current="page"] {
	color: #0e318c;
	text-decoration: none;
}

.ax-menubar a:hover::after,
.ax-menubar a:focus-visible::after,
.ax-menubar a[aria-current="page"]::after {
	transform: scaleX(1);
}

@media (max-width: 1199px) {
	.ax-mainbar__inner {
		gap: 20px;
	}

	.ax-logo img {
		width: 180px;
	}

	.ax-menubar__list {
		gap: 0 16px;
	}

	.ax-menubar a {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ax-menubar a::after {
		transition: none;
	}
}

/* Menu button: three bars that turn into a cross while the menu is open. */
.ax-nav-toggle {
	position: relative;
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #132146;
	color: #fff;
	cursor: pointer;
}

.ax-nav-toggle__bars,
.ax-nav-toggle__bars::before,
.ax-nav-toggle__bars::after {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	margin-left: -10px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 250ms ease, background-color 250ms ease;
}

.ax-nav-toggle__bars {
	top: 50%;
	margin-top: -1px;
}

.ax-nav-toggle__bars::before,
.ax-nav-toggle__bars::after {
	content: "";
	left: 0;
	margin-left: 0;
}

.ax-nav-toggle__bars::before {
	top: -6px;
}

.ax-nav-toggle__bars::after {
	top: 6px;
}

.ax-nav-toggle[aria-expanded="true"] .ax-nav-toggle__bars {
	background-color: transparent;
}

.ax-nav-toggle[aria-expanded="true"] .ax-nav-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.ax-nav-toggle[aria-expanded="true"] .ax-nav-toggle__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

.ax-nav-toggle:focus-visible {
	outline: 2px solid #ffb606;
	outline-offset: 2px;
}

/* Slide-out menu, opened by the button. */
.ax-nav {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1200;
	width: min(300px, 85vw);
	overflow-y: auto;
	background-color: #132146;
	box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35);
	transform: translateX(-105%);
	visibility: hidden;
	transition: transform 300ms ease, visibility 0s linear 300ms;
}

.ax-nav.is-open {
	transform: none;
	visibility: visible;
	transition: transform 300ms ease;
}

.ax-nav ul {
	margin: 0;
	padding: 24px 16px;
	list-style: none;
}

.ax-nav li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ax-nav a {
	display: block;
	padding: 14px 12px;
	border-radius: 8px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

.ax-nav a:hover,
.ax-nav a:focus-visible {
	background-color: rgba(255, 255, 255, 0.08);
	color: #ffb606;
	text-decoration: none;
}

/* Dim and lock the page behind the open menu. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1150;
	background: rgba(8, 14, 34, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 0s linear 300ms;
	pointer-events: none;
}

html.ax-nav-open {
	overflow: hidden;
}

html.ax-nav-open body::before {
	opacity: 1;
	visibility: visible;
	transition: opacity 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
	body::before,
	.ax-nav,
	.ax-nav.is-open,
	.ax-nav-toggle__bars,
	.ax-nav-toggle__bars::before,
	.ax-nav-toggle__bars::after {
		transition: none;
	}
}

@media (max-width: 991px) {
	.ax-topbar,
	.ax-menubar {
		display: none;
	}

	.ax-mainbar__inner {
		min-height: 68px;
	}

	.ax-nav-toggle {
		display: block;
	}
}

@media (min-width: 992px) {
	.ax-nav {
		display: none;
	}
}

@media (max-width: 600px) {
	.ax-mainbar__inner {
		min-height: 60px;
	}

	.ax-logo img {
		width: 150px;
	}
}

/* -------------------------------------------------------------------------
 * Inner-page banner — photo strip with the title in a gradient box.
 * The photo comes from --apextion-banner-image (inc/banners.php).
 * ---------------------------------------------------------------------- */

.ax-banner {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 300px;
	border-bottom: 2px solid #132146;
	background-image: var(--apextion-banner-image);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 92%;
}

.ax-banner--untitled {
	display: block;
}

.ax-banner__box {
	position: relative;
	margin: 0 16px;
	padding: 0 14px 14px;
	border-radius: 20px;
	background-color: #2f81ed;
	background-image: linear-gradient(to right, #172c66, #086583);
}

.ax-banner__title {
	position: relative;
	margin: 0;
	padding-top: 10px;
	font-size: 35px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 2px 2px #333;
}

/* Vertical spacers between the banner, the content and the footer. */
.ax-space-30 {
	clear: both;
	height: 30px;
}

.ax-space-70 {
	clear: both;
	height: 50px;
}

@media (max-width: 600px) {
	.ax-banner.has-narrow {
		max-width: 500px;
		height: 190px;
	}

	.ax-banner__box {
		margin: 0 16px;
		padding-bottom: 10px;
		border-radius: 16px;
	}

	.ax-banner__title {
		padding-top: 8px;
		font-size: 21px;
	}
}

/* -------------------------------------------------------------------------
 * Home hero — crossfading destination photos under the serif headline.
 * ---------------------------------------------------------------------- */

.ax-hero {
	--ax-hero-gutter: max(24px, calc((100% - 1110px) / 2));
	--ax-hero-delay: 7s;
	/* Headline room above the slide caption; the headline shrinks on short
	   screens to fit. */
	--ax-hero-title-top: 48px;
	--ax-hero-title-bottom: 150px;
	position: relative;
	container-type: size;
	height: clamp(560px, calc(100vh - 128px), 850px);
	height: clamp(560px, calc(100svh - 128px), 850px);
	overflow: hidden;
	background-color: #132146;
	color: #fff;
	isolation: isolate;
}

.ax-hero__slides,
.ax-slide,
.ax-slide__image {
	position: absolute;
	inset: 0;
	margin: 0;
}

/* Navy at the top to meet the header, dark at the foot for the caption. */
.ax-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		radial-gradient(ellipse 65% 50% at 50% 48%, rgba(8, 16, 40, 0.5), rgba(8, 16, 40, 0) 100%),
		linear-gradient(180deg, rgba(19, 33, 70, 0.6) 0%, rgba(19, 33, 70, 0) 30%, rgba(8, 16, 40, 0) 55%, rgba(8, 16, 40, 0.8) 100%);
	pointer-events: none;
}

.ax-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.ax-slide.is-active,
.ax-hero:not(.is-ready) .ax-slide:first-child {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 1.2s ease, visibility 0s;
}

.ax-slide__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transform-origin: 50% 60%;
}

.ax-slide.is-active .ax-slide__image img,
.ax-hero:not(.is-ready) .ax-slide:first-child img {
	animation: ax-hero-zoom calc(var(--ax-hero-delay) + 1.2s) ease-out forwards;
}

@keyframes ax-hero-zoom {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}

/* Where the slide is: country kicker over the place name, bottom left. */
.ax-slide__caption {
	position: absolute;
	bottom: 64px;
	left: var(--ax-hero-gutter);
	z-index: 3;
	max-width: calc(100% - 2 * var(--ax-hero-gutter));
}

.ax-slide__caption p {
	margin: 0;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.ax-slide.is-active .ax-slide__caption p,
.ax-hero:not(.is-ready) .ax-slide:first-child .ax-slide__caption p {
	opacity: 1;
	transform: none;
	transition-delay: 500ms;
}

.ax-slide.is-active .ax-slide__caption .ax-slide__place {
	transition-delay: 650ms;
}

.ax-slide__country {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #ffb606;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.ax-slide__country::before {
	content: "";
	width: 40px;
	height: 2px;
	background-color: currentColor;
}

.ax-slide__place {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.ax-hero__title {
	position: absolute;
	inset: var(--ax-hero-title-top) 0 var(--ax-hero-title-bottom);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	pointer-events: none;
}

.ax-hero__title h1,
.ax-hero__title h2 {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Zourney Heading";
	font-size: clamp(44px, 9.2vw, 132px);
	/* Two lines at 1.2 line height must fit the room left in the hero. */
	font-size: clamp(36px, min(9.2cqw, (100cqh - var(--ax-hero-title-top) - var(--ax-hero-title-bottom)) / 2.5), 132px);
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 6px 40px rgba(0, 0, 0, 0.45);
	animation: ax-hero-rise 1s ease-out both;
}

.ax-hero__title h2 {
	animation-delay: 150ms;
}

@keyframes ax-hero-rise {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: none; }
}

/* Controls, built by theme.js: arrows, one progress bar per slide, counter. */
.ax-hero__controls {
	position: absolute;
	right: var(--ax-hero-gutter);
	bottom: 64px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 18px;
}

.ax-hero__arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(19, 33, 70, 0.25);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.ax-hero__arrow::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--ax-i-chevron-right) center / contain no-repeat;
	mask: var(--ax-i-chevron-right) center / contain no-repeat;
}

.ax-hero__arrow--prev::before {
	transform: scaleX(-1);
}

.ax-hero__arrow:hover,
.ax-hero__arrow:focus-visible {
	border-color: #ffb606;
	background-color: #ffb606;
	color: #132146;
}

.ax-hero__dots {
	display: flex;
	gap: 6px;
}

.ax-hero__dots button {
	position: relative;
	width: 44px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.ax-hero__dots button::before,
.ax-hero__dots span {
	position: absolute;
	top: 50%;
	left: 0;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 3px;
}

.ax-hero__dots button::before {
	content: "";
	right: 0;
	background-color: rgba(255, 255, 255, 0.35);
}

.ax-hero__dots span {
	width: 0;
	background-color: #ffb606;
}

.ax-hero__dots button:hover::before {
	background-color: rgba(255, 255, 255, 0.7);
}

.ax-hero__dots button.is-done span {
	width: 100%;
}

.ax-hero__dots button[aria-current="true"] span {
	width: 100%;
	animation: ax-hero-progress var(--ax-hero-delay) linear forwards;
}

.ax-hero.is-paused .ax-hero__dots span,
.ax-hero.is-paused .ax-slide__image img {
	animation-play-state: paused;
}

@keyframes ax-hero-progress {
	from { width: 0; }
	to { width: 100%; }
}

.ax-hero__count {
	min-width: 58px;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
}

.ax-hero__count b {
	color: #ffb606;
	font-size: 20px;
}

@media (max-width: 991px) {
	.ax-hero {
		--ax-hero-gutter: 24px;
		--ax-hero-title-bottom: 190px;
		height: clamp(480px, 80vh, 720px);
		height: clamp(480px, 80svh, 720px);
	}

	.ax-slide__caption {
		bottom: 112px;
	}

	.ax-slide__place {
		font-size: 34px;
	}

	.ax-hero__controls {
		right: auto;
		bottom: 36px;
		left: var(--ax-hero-gutter);
	}
}

@media (max-width: 600px) {
	.ax-hero {
		--ax-hero-gutter: 18px;
		height: clamp(460px, 72svh, 620px);
	}

	.ax-hero {
		--ax-hero-title-top: 24px;
		--ax-hero-title-bottom: 160px;
	}

	.ax-hero__title h1 {
		font-size: clamp(32px, 10vw, 44px);
	}

	.ax-hero__title h2 {
		font-size: clamp(28px, 8vw, 36px);
	}

	.ax-slide__caption {
		bottom: 92px;
	}

	.ax-slide__country {
		gap: 10px;
		font-size: 12px;
	}

	.ax-slide__country::before {
		width: 28px;
	}

	.ax-slide__place {
		font-size: 28px;
	}

	.ax-hero__controls {
		right: var(--ax-hero-gutter);
		bottom: 28px;
		gap: 10px;
		justify-content: space-between;
	}

	.ax-hero__arrow {
		width: 40px;
		height: 40px;
	}

	.ax-hero__dots {
		gap: 4px;
	}

	.ax-hero__dots button {
		flex: 1 1 0;
		width: auto;
		min-width: 24px;
		height: 32px;
	}

	.ax-hero__dots {
		flex: 1;
	}

	.ax-hero__count {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ax-slide,
	.ax-slide.is-active,
	.ax-slide__caption p {
		transition-duration: 0s;
	}

	.ax-slide__image img,
	.ax-slide.is-active .ax-slide__image img,
	.ax-hero__title h1,
	.ax-hero__title h2 {
		animation: none;
		transform: none;
	}
}

/* In the editor the slides stack so each photo and caption can be edited. */
.editor-styles-wrapper .ax-hero {
	height: auto;
	container-type: normal; /* size containment would collapse an auto height */
}

.editor-styles-wrapper .ax-hero__slides,
.editor-styles-wrapper .ax-slide {
	position: relative;
	opacity: 1;
	visibility: visible;
}

.editor-styles-wrapper .ax-slide {
	height: 420px;
}

.editor-styles-wrapper .ax-hero__title {
	inset: 0;
	justify-content: flex-start;
	padding-top: 60px;
}

/* -------------------------------------------------------------------------
 * Home feature strip — four icon + text columns on white.
 * ---------------------------------------------------------------------- */

.ax-features {
	padding: 0 15px;
	background: #fff;
}

.ax-features__row {
	padding: 20px 0;
}

.ax-feature__icon {
	display: grid;
	align-items: center;
	color: #2fbfa7;
	font-size: 40px;
	line-height: 40px;
}

.ax-feature__icon .ax-icon {
	vertical-align: -0.125em;
}

.ax-feature__title {
	font-weight: 700;
}

.ax-features p {
	margin: 0;
}

@media (max-width: 600px) {
	.ax-feature__icon {
		padding: 25px;
		text-align: center;
	}
}

/* -------------------------------------------------------------------------
 * Popular destination cards.
 * ---------------------------------------------------------------------- */

.ax-section-heading {
	margin-top: 4px;
}

.ax-section-heading > .ax-row {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.ax-section-heading h2 {
	padding-top: 30px;
	text-align: left;
}

.ax-cards {
	margin-bottom: 1.5rem;
}

.ax-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	border-radius: 4px;
	background: #dee2e6;
	word-wrap: break-word;
}

.ax-card__img {
	position: relative;
	overflow: hidden;
}

.ax-card__img::before,
.ax-card__img::after {
	content: "";
	position: absolute;
	z-index: 3;
	pointer-events: none;
}

.ax-card__img::before {
	top: -10%;
	right: 51%;
	bottom: -10%;
	left: 50%;
	background: rgba(255, 255, 255, 0.3);
}

.ax-card__img::after {
	top: 50%;
	right: -10%;
	bottom: 50%;
	left: -10%;
	background: rgba(255, 255, 255, 0.6);
}

.ax-card:hover .ax-card__img::before {
	right: 0;
	left: 0;
	opacity: 0;
	transition: all 900ms linear;
}

.ax-card:hover .ax-card__img::after {
	top: 0;
	bottom: 0;
	opacity: 0;
	transition: all 900ms linear;
}

.ax-card__img img {
	display: block;
	width: 100%;
	border-radius: 4px 4px 0 0;
	transition: all 2s ease;
}

.ax-card:hover .ax-card__img img {
	transform: scale(1.2);
}

.ax-card__body {
	position: relative;
	flex: 1 1 auto;
	padding: 0 20px 20px;
	border-radius: 0 0 5px 5px;
	background: #fff;
	box-shadow: 0 5px 24.25px 0.75px rgba(0, 0, 0, 0.1);
}

.ax-card__title {
	display: grid;
	align-items: center;
	gap: 10px;
	margin: 1.5rem 0 1rem;
	color: #561778;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.ax-card__title::before,
.ax-card__title::after {
	content: "";
	border-top: 6px double #ffe5f4;
}

.ax-card__text {
	margin-bottom: 1rem;
	color: #6c757d;
	line-height: 23px;
	text-align: center;
}

.ax-card__btn {
	margin: 0;
	text-align: center;
}

.ax-card__btn .wp-block-button__link,
.ax-card__btn a {
	position: relative;
	display: block;
	margin: 0 5px 8px 0;
	padding: 16px 25px 16px 55px;
	border: 1px solid #909090;
	border-radius: 5px;
	background-color: #2fbfa7;
	background-image: linear-gradient(to right top, #132146, #132146);
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 21px;
	letter-spacing: 0.5px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.5s;
}

.ax-card__btn a::before,
.ax-card__btn a::after {
	content: "";
	position: absolute;
	top: 22px;
	width: 16px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--ax-i-arrow-right) no-repeat 0 50% / 16px 18px;
	mask: var(--ax-i-arrow-right) no-repeat 0 50% / 16px 18px;
	transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.ax-card__btn a::before {
	left: 20%;
	transform-origin: left center;
}

.ax-card__btn a::after {
	right: 48px;
	opacity: 0;
	transform: translateX(75%) scaleX(0.1);
	transform-origin: right center;
}

.ax-card__btn a:hover,
.ax-card__btn a:focus {
	background-color: #ff7029;
	background-image: linear-gradient(to right top, #b154e3, #a84fd8, #a04bce, #9746c3, #8f42b9);
	color: #fff;
	text-decoration: none;
}

.ax-card__btn a:hover::before,
.ax-card__btn a:focus::before {
	opacity: 0;
	transform: translateX(-75%) scaleX(0.1);
}

.ax-card__btn a:hover::after,
.ax-card__btn a:focus::after {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
 * Testimonials — a four-up carousel on wide screens, a single quote with
 * dot navigation on narrow ones. The live site switches at 480px, and shows
 * both between 481 and 768px.
 * ---------------------------------------------------------------------- */

.ax-reviews {
	height: 300px;
	margin-bottom: 140px;
}

.ax-reviews__head {
	margin-left: 1rem;
	color: #fff;
	text-align: center;
}

.ax-reviews__head h2 {
	margin-bottom: 0.5rem;
	padding-top: 30px;
	color: #132146;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.ax-reviews__head p {
	margin-bottom: 1rem;
	color: #212529;
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 23px;
}

.ax-reviews__viewport {
	position: relative;
	z-index: 1;
	height: 320px;
	margin: 0 auto;
	padding: 30px 20px 100px;
	overflow: hidden;
}

.ax-reviews__track {
	position: relative;
	display: flex;
	height: 100%;
	transition: transform 300ms ease;
}

.ax-review {
	flex-shrink: 0;
	width: calc((100% - 90px) / 4);
	height: 100%;
	margin-right: 30px;
	padding: 30px;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
}

.ax-review h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.2;
}

.ax-stars {
	display: flex;
	padding-top: 0.5rem;
	color: #f8b805;
	font-size: 15px;
	line-height: 15px;
}

.ax-stars .ax-icon {
	width: 17px;
	height: 15px;
	vertical-align: top;
}

.ax-review p {
	margin: 10px 0 0;
	color: #7d8597;
	line-height: 23px;
}

.ax-reviews__dots {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	z-index: 10;
	text-align: center;
	line-height: 24px;
}

.ax-reviews__dots button {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	opacity: 0.2;
	cursor: pointer;
	vertical-align: middle;
}

.ax-reviews__dots button[aria-current="true"] {
	background: #007aff;
	opacity: 1;
}

/* Narrow variant. */
.ax-quotes {
	display: none;
}

.ax-quotes h2 {
	margin-bottom: 0.5rem;
	padding-top: 30px;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.ax-quotes__list {
	display: flex;
	overflow: hidden;
}

.ax-quote {
	flex: 1 0 100%;
	padding: 20px;
	background: #fff;
	text-align: center;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ax-quote__mark {
	display: inline-block;
	font-size: 4rem;
	font-style: italic;
	line-height: 96px;
	opacity: 0.75;
}

.ax-quote blockquote {
	margin: 0 20px 1rem;
	font-size: 1.25rem;
	font-style: italic;
	line-height: 23px;
}

.ax-quote__user {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.ax-quote__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ax-quote__name {
	margin-bottom: 1rem;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 23px;
}

.ax-quotes__dots {
	text-align: center;
}

.ax-quotes__dots button {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-inline: 5px;
	padding: 1px 6px;
	border: 0;
	border-radius: 5px;
	transition: width 0.5s;
	cursor: pointer;
}

.ax-quotes__dots button[aria-current="true"] {
	width: 30px;
}

@media (max-width: 768px) {
	.ax-quotes {
		display: block;
	}
}

@media (max-width: 480px) {
	.ax-reviews {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Footer — offices, memberships, cards and social links on deep navy.
 * ---------------------------------------------------------------------- */

.ax-footer {
	position: relative;
	z-index: 9;
	padding-top: 72px;
	background-color: #0e1936;
	border-top: 3px solid #ffb606;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
}

.ax-footer a {
	color: #fff;
	text-decoration: none;
	transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.ax-footer a:hover,
.ax-footer a:focus-visible {
	color: #ffb606;
}

.ax-footer p,
.ax-footer ul,
.ax-footer figure {
	margin: 0;
}

.ax-footer .ax-footer__label {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ax-footer__offices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.ax-footer__office {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ax-footer .ax-footer__country {
	color: #ffb606;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ax-footer .ax-footer__city {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.ax-footer__address {
	flex: 1;
	line-height: 1.65;
}

.ax-footer__phone {
	margin-top: 8px !important;
}

.ax-footer__phone a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	white-space: nowrap;
}

.ax-footer__phone .ax-icon {
	width: 14px;
	height: 14px;
	color: #ffb606;
}

.ax-footer__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 36px 40px;
	margin-top: 56px;
	padding-block: 40px 48px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ax-footer__meta .ax-footer__label {
	margin-bottom: 16px;
}

.ax-footer__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ax-footer__logo {
	display: grid;
	place-items: center;
	height: 46px;
	padding: 0 10px;
	border-radius: 8px;
	background-color: #fff;
}

.ax-footer__logo img {
	display: block;
	width: auto;
	max-height: 32px;
}

.ax-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	list-style: none;
}

.ax-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #fff;
}

.ax-footer__social .ax-icon {
	width: auto;
	height: 17px;
}

.ax-footer__social a:hover,
.ax-footer__social a:focus-visible {
	border-color: #ffb606;
	background-color: #ffb606;
	color: #0e1936;
}

.ax-footer__bottom {
	padding-block: 18px;
	background-color: #0a132b;
	font-size: 14px;
}

.ax-footer__bottom .ax-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}

.ax-footer__legal {
	display: flex;
	gap: 24px;
	padding: 0;
	list-style: none;
}

.ax-footer__legal a {
	color: rgba(255, 255, 255, 0.72);
}

/* Wide screens fit all three groups on one line. */
@media (min-width: 1200px) {
	.ax-footer__meta {
		display: grid;
		grid-template-columns: auto auto auto;
		column-gap: 24px;
	}
}

@media (max-width: 1199px) {
	.ax-footer__meta {
		justify-content: flex-start;
	}
}

@media (max-width: 991px) {
	.ax-footer__offices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 32px;
	}
}

@media (max-width: 575px) {
	.ax-footer {
		padding-top: 56px;
	}

	.ax-footer__offices {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.ax-footer__meta {
		flex-direction: column;
		gap: 32px;
		margin-top: 44px;
	}

	.ax-footer__bottom .ax-container {
		flex-direction: column;
		text-align: center;
	}
}

/* -------------------------------------------------------------------------
 * Back-to-top button
 * ---------------------------------------------------------------------- */

.ax-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 1000;
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 30px;
	border: 0;
	border-radius: 4px;
	background-color: #ff9800;
	color: #fff;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
	transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}

.ax-to-top::after {
	content: "";
	display: block;
	width: 26px;
	height: 50px;
	margin: 0 auto;
	background-color: currentColor;
	-webkit-mask: var(--ax-i-chevron-up) no-repeat 50% 50% / 26px 26px;
	mask: var(--ax-i-chevron-up) no-repeat 50% 50% / 26px 26px;
}

.ax-to-top:hover {
	background-color: #333;
}

.ax-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 499px) {
	.ax-to-top {
		margin: 0;
	}
}
