/*
Theme Name: Pema Tours
Theme URI: https://pematours.com/
Author: Pema Tours
Description: Tema de bloques editable para el sitio de Pema Tours.
Version: 0.19.1
Requires at least: 7.0
Requires PHP: 8.0
Text Domain: pematours-theme
*/

@font-face {
	font-family: "Alegreya";
	src: url("assets/fonts/Alegreya-VariableFont_wght.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400 900;
}

@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 100 900;
}

:root {
	--pema-blue: #003082;
	--pema-blue-dark: #001a47;
	--pema-navy: #061824;
	--pema-gray: #3c3c3c;
	--pema-paper: #f8f4ed;
	--pema-gold: #c39a5f;
	--pema-white: #fff;
	--pema-shell: min(1680px, calc(100% - 40px));
	--pema-content-shell: min(1240px, calc(100% - clamp(40px, 5vw, 80px)));
	--pema-radius-pill: 60px;
	--pema-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
}

body.pema-navigation-open {
	overflow: hidden;
}

body:not(.home) .pema-site-main {
	padding-top: 112px;
}

.pema-breadcrumbs-shell {
	position: absolute;
	z-index: 40;
	top: 122px;
	right: 0;
	left: 0;
	width: 100%;
	margin: 0;
	pointer-events: none;
}

body.admin-bar .pema-breadcrumbs-shell {
	top: 154px;
}

.pema-breadcrumbs-shell > .pema-breadcrumbs {
	width: var(--pema-content-shell);
	max-width: none !important;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	pointer-events: auto;
	text-shadow: 0 2px 16px rgba(0, 24, 66, 0.45);
}

.pema-breadcrumbs a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.32);
	text-underline-offset: 4px;
}

.pema-breadcrumbs a:hover,
.pema-breadcrumbs a:focus-visible {
	color: var(--pema-gold);
}

.pema-site-main {
	min-height: 48vh;
}

.pema-site-header {
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	left: 0;
	padding: 22px 0 14px;
	color: rgba(255, 255, 255, 0.92);
	pointer-events: none;
	transition: background 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease, transform 220ms var(--pema-ease-out);
}

.pema-site-header,
.pema-site-header > .pema-header-main,
.pema-header-main > *,
.pema-site-footer,
.pema-site-footer .wp-block-group,
.pema-site-footer p,
.pema-site-footer ul {
	margin-block-start: 0;
	margin-block-end: 0;
}

body:not(.home) .pema-site-header,
.pema-site-header.is-scrolled,
.pema-site-header.is-open,
.pema-site-header.is-search-open {
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(20px) saturate(145%);
	box-shadow: inset 0 -1px 0 rgba(0, 48, 130, 0.08), 0 18px 42px rgba(0, 22, 58, 0.12);
	color: rgba(6, 24, 36, 0.82);
}

.pema-header-main {
	display: grid;
	grid-template-columns: 158px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: clamp(18px, 2vw, 30px);
	width: var(--pema-shell);
	min-height: 66px;
	margin: 0 auto;
	pointer-events: auto;
}

.pema-brand {
	display: block;
	min-height: 52px;
}

.pema-brand a {
	display: inline-flex;
	align-items: center;
}

.pema-brand img {
	display: block;
	width: clamp(138px, 10vw, 158px);
	height: auto;
	filter: brightness(0) invert(1) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
	transition: filter 180ms ease;
}

body:not(.home) .pema-brand img,
.pema-site-header.is-scrolled .pema-brand img,
.pema-site-header.is-open .pema-brand img,
.pema-site-header.is-search-open .pema-brand img {
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

.pema-navigation-shell {
	min-width: 0;
}

.pema-primary-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 1.7vw, 30px);
	min-width: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 11.5px;
	font-weight: 520;
	line-height: 1;
	text-transform: uppercase;
}

.pema-primary-nav > a,
.pema-nav-link-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.pema-primary-nav > a::after,
.pema-nav-link-button::after {
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	height: 2px;
	background: var(--pema-gold);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms var(--pema-ease-out);
}

.pema-primary-nav > a:hover::after,
.pema-primary-nav > a:focus-visible::after,
.pema-nav-link-button:hover::after,
.pema-nav-link-button:focus-visible::after,
.pema-primary-nav .is-current::after {
	transform: scaleX(1);
}

.pema-nav-mega-item {
	position: static;
}

.pema-nav-dropdown-item {
	position: relative;
}

.pema-nav-dropdown {
	position: absolute;
	top: calc(100% - 2px);
	left: 50%;
	width: 270px;
	padding-top: 14px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity 160ms ease, transform 220ms var(--pema-ease-out);
}

.pema-nav-dropdown-item:focus-within .pema-nav-dropdown,
.pema-nav-dropdown-item.is-open .pema-nav-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.pema-nav-dropdown-inner {
	display: grid;
	gap: 3px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 8px;
	background: rgba(250, 251, 253, 0.97);
	box-shadow: 0 24px 60px rgba(0, 22, 58, 0.2);
	color: var(--pema-blue);
	backdrop-filter: blur(22px) saturate(145%);
}

.pema-nav-dropdown-inner a {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
	border-radius: 5px;
	color: var(--pema-gray);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--pema-ease-out);
}

.pema-nav-dropdown-inner a:hover,
.pema-nav-dropdown-inner a:focus-visible,
.pema-nav-dropdown-inner a.is-current {
	background: rgba(0, 48, 130, 0.08);
	color: var(--pema-blue);
	transform: translateX(3px);
}

.pema-nav-dropdown-inner .pema-nav-dropdown-all {
	margin-bottom: 5px;
	background: var(--pema-blue);
	color: #fff;
}

.pema-nav-dropdown-inner .pema-nav-dropdown-all:hover,
.pema-nav-dropdown-inner .pema-nav-dropdown-all:focus-visible {
	background: var(--pema-blue-dark);
	color: #fff;
}

.pema-mega-menu {
	position: fixed;
	top: var(--pema-mega-top, 98px);
	left: 50%;
	width: min(1500px, calc(100vw - 40px));
	padding-top: 14px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity 160ms ease, transform 220ms var(--pema-ease-out);
}

.pema-nav-mega-item:focus-within .pema-mega-menu,
.pema-nav-mega-item.is-open .pema-mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.pema-mega-menu-inner {
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 3.28fr);
	gap: 34px;
	max-height: min(620px, calc(100vh - 130px));
	padding: 32px;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.54);
	border-radius: 8px;
	background: rgba(250, 251, 253, 0.96);
	box-shadow: 0 30px 80px rgba(0, 22, 58, 0.2);
	color: var(--pema-blue);
	backdrop-filter: blur(24px) saturate(145%);
}

.pema-mega-feature {
	padding: 22px;
	border-radius: 6px;
	background: var(--pema-blue);
	color: var(--pema-white);
}

.pema-mega-feature p {
	margin: 0 0 12px;
	color: var(--pema-gold);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-mega-feature h2 {
	margin: 0 0 24px;
	color: var(--pema-white);
	font-family: "Alegreya", serif;
	font-size: clamp(25px, 2vw, 36px);
	font-weight: 650;
	line-height: 1.02;
}

.pema-mega-feature a {
	display: inline-flex;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.pema-mega-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(130px, 1fr));
	gap: 24px 28px;
}

.pema-mega-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pema-mega-column h3 {
	margin: 0 0 3px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(0, 48, 130, 0.16);
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 750;
	text-transform: uppercase;
}

.pema-mega-column a {
	color: var(--pema-gray);
	font-size: 12px;
	line-height: 1.35;
	text-decoration: none;
	text-transform: uppercase;
}

.pema-mega-column a:hover,
.pema-mega-column a:focus-visible {
	color: var(--pema-blue);
}

.pema-header-contact {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 8px;
	font-family: "Montserrat", sans-serif;
	font-size: 11.5px;
	font-weight: 620;
	font-variant-numeric: tabular-nums;
}

.pema-header-contact.wp-block-buttons {
	gap: 8px;
}

.pema-header-phone .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--pema-radius-pill);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 12px 28px rgba(0, 22, 58, 0.14);
	color: var(--pema-blue);
	text-decoration: none;
	white-space: nowrap;
	backdrop-filter: blur(18px) saturate(145%);
	transition: transform 180ms var(--pema-ease-out), background 180ms ease;
}

.pema-header-phone .wp-block-button__link::before {
	width: 13px;
	height: 13px;
	background: currentColor;
	content: "";
	-webkit-mask: url("assets/images/icon-phone.svg") center / contain no-repeat;
	mask: url("assets/images/icon-phone.svg") center / contain no-repeat;
}

.pema-header-phone .wp-block-button__link:hover,
.pema-header-phone .wp-block-button__link:focus-visible {
	background: var(--pema-white);
	transform: translateY(-2px);
}

.pema-site-search {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.pema-site-search-trigger,
.pema-site-search-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.46);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--pema-white);
	cursor: pointer;
	backdrop-filter: blur(16px) saturate(145%);
	transition: transform 180ms var(--pema-ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.pema-site-search-trigger:hover,
.pema-site-search-trigger:focus-visible {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-2px);
}

.pema-site-search-icon,
.pema-site-search-close > span {
	display: block;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("assets/images/icon-search.svg") center / contain no-repeat;
	mask: url("assets/images/icon-search.svg") center / contain no-repeat;
}

.pema-site-search-close > span {
	-webkit-mask-image: url("assets/images/icon-close.svg");
	mask-image: url("assets/images/icon-close.svg");
}

body:not(.home) .pema-site-search-trigger,
.pema-site-header.is-scrolled .pema-site-search-trigger,
.pema-site-header.is-open .pema-site-search-trigger,
.pema-site-header.is-search-open .pema-site-search-trigger {
	border-color: rgba(0, 48, 130, 0.18);
	background: var(--pema-blue);
	color: var(--pema-white);
}

body:not(.home) .pema-site-search-trigger:hover,
body:not(.home) .pema-site-search-trigger:focus-visible,
.pema-site-header.is-scrolled .pema-site-search-trigger:hover,
.pema-site-header.is-scrolled .pema-site-search-trigger:focus-visible {
	background: var(--pema-blue-dark);
}

.pema-site-search-dialog {
	width: min(1120px, calc(100% - 48px));
	max-width: none;
	max-height: min(82vh, 840px);
	margin: 7vh auto auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 6px;
	background: var(--pema-white);
	box-shadow: 0 34px 90px rgba(0, 18, 50, 0.3);
	color: var(--pema-gray);
}

.pema-site-search-dialog::backdrop {
	background: rgba(0, 19, 52, 0.7);
	backdrop-filter: blur(12px) saturate(110%);
}

.pema-site-search-panel {
	max-height: min(82vh, 840px);
	padding: clamp(28px, 4vw, 54px);
	overflow: auto;
}

.pema-site-search-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 28px;
}

.pema-site-search-heading h2 {
	margin: 4px 0 0;
	color: var(--pema-blue);
	font-size: clamp(38px, 4vw, 58px);
	line-height: 0.98;
}

.pema-site-search-close {
	flex: 0 0 auto;
	border-color: rgba(0, 48, 130, 0.18);
	background: transparent;
	color: var(--pema-blue);
}

.pema-site-search-close:hover,
.pema-site-search-close:focus-visible {
	background: var(--pema-blue);
	color: var(--pema-white);
	transform: rotate(4deg);
}

.pema-site-search-field {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 66px;
	padding: 0 22px;
	border-bottom: 2px solid var(--pema-blue);
	background: rgba(0, 48, 130, 0.04);
	color: var(--pema-blue);
}

.pema-site-search-field .pema-site-search-icon {
	width: 22px;
	height: 22px;
}

.pema-site-search-field input {
	width: 100%;
	min-width: 0;
	padding: 18px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--pema-gray);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(17px, 1.7vw, 22px);
	letter-spacing: 0;
}

.pema-site-search-field input::placeholder {
	color: rgba(60, 60, 60, 0.58);
}

.pema-site-search-status {
	min-height: 20px;
	margin: 14px 0 24px;
	color: rgba(60, 60, 60, 0.72);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
}

.pema-site-search-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 48px;
}

.pema-site-search-group h3 {
	margin: 0 0 10px;
	color: var(--pema-gold);
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-site-search-list {
	border-top: 1px solid rgba(0, 48, 130, 0.16);
}

.pema-site-search-result {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 82px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 48, 130, 0.12);
	color: var(--pema-gray);
	text-decoration: none;
}

.pema-site-search-result img,
.pema-site-search-result-mark {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 4px;
	background: linear-gradient(145deg, var(--pema-blue), #1974a8);
	object-fit: cover;
}

.pema-site-search-result strong,
.pema-site-search-result small {
	display: block;
}

.pema-site-search-result strong {
	color: var(--pema-blue);
	font-family: "Alegreya", serif;
	font-size: 20px;
	line-height: 1.05;
}

.pema-site-search-result small {
	display: -webkit-box;
	margin-top: 4px;
	overflow: hidden;
	font-size: 11px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pema-site-search-result i {
	color: var(--pema-gold);
	font-style: normal;
	transition: transform 180ms var(--pema-ease-out);
}

.pema-site-search-result:hover strong,
.pema-site-search-result:focus-visible strong {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.pema-site-search-result:hover i,
.pema-site-search-result:focus-visible i {
	transform: translateX(4px);
}

.pema-site-search-shortcuts {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pema-site-search-shortcuts > span {
	margin-right: 6px;
	color: var(--pema-gray);
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-site-search-shortcuts a {
	padding: 10px 16px;
	border: 1px solid rgba(0, 48, 130, 0.18);
	border-radius: var(--pema-radius-pill);
	color: var(--pema-blue);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	text-decoration: none;
}

.pema-site-search-shortcuts a:hover,
.pema-site-search-shortcuts a:focus-visible {
	border-color: var(--pema-blue);
	background: var(--pema-blue);
	color: var(--pema-white);
}

body.pema-search-open {
	overflow: hidden;
}

.editor-styles-wrapper .pema-site-search-dialog {
	display: none;
}

body:not(.home) .pema-header-phone .wp-block-button__link,
.pema-site-header.is-scrolled .pema-header-phone .wp-block-button__link,
.pema-site-header.is-open .pema-header-phone .wp-block-button__link,
.pema-site-header.is-search-open .pema-header-phone .wp-block-button__link {
	background: var(--pema-blue);
	box-shadow: 0 12px 28px rgba(0, 48, 130, 0.2);
	color: var(--pema-white);
}

body:not(.home) .pema-header-phone .wp-block-button__link:hover,
body:not(.home) .pema-header-phone .wp-block-button__link:focus-visible,
.pema-site-header.is-scrolled .pema-header-phone .wp-block-button__link:hover,
.pema-site-header.is-scrolled .pema-header-phone .wp-block-button__link:focus-visible {
	background: var(--pema-blue-dark);
}

.pema-nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: inherit;
}

.pema-nav-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 1.5px;
	margin: 4px 0;
	background: currentColor;
}

.pema-hero {
	position: relative;
	min-height: clamp(640px, calc(100svh - 80px), 900px);
	margin: 0;
	overflow: hidden;
	background: var(--pema-blue);
	color: var(--pema-white);
}

.pema-hero-media,
.pema-hero-shade {
	position: absolute;
	inset: 0;
}

.pema-hero-media {
	overflow: hidden;
}

.pema-hero-slide {
	position: absolute;
	inset: -4%;
	background-position: var(--pema-hero-position, 50% 50%);
	background-size: cover;
	opacity: 0;
	transform: scale(1.04) translateY(0);
	transition: opacity 1400ms ease-in-out;
}

.pema-hero-slide.is-active {
	opacity: 1;
	animation: pemaHeroDrift 7600ms ease-in-out both;
}

@keyframes pemaHeroDrift {
	0% { transform: scale(1.04) translateY(0); }
	50% { transform: scale(1.09) translateY(-18px); }
	100% { transform: scale(1.05) translateY(12px); }
}

.pema-hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--pema-hero-position, 50% 50%);
}

.pema-hero-shade {
	background:
		linear-gradient(90deg, #001f53 0%, rgba(0, 48, 130, 0.76) 45%, rgba(0, 48, 130, 0.18) 100%),
		linear-gradient(0deg, #001f53 0%, rgba(0, 31, 83, 0.18) 44%, rgba(0, 31, 83, 0.62) 100%);
	opacity: var(--pema-hero-overlay-opacity, 0.74);
}

.pema-hero-content {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: center;
	width: min(1180px, calc(100% - 40px));
	min-height: clamp(640px, calc(100svh - 80px), 900px);
	margin: 0 auto;
	padding: 150px 0 72px;
}

.pema-hero-copy {
	max-width: 760px;
}

.pema-hero-copy > * {
	margin-block-start: 0;
}

.pema-hero-eyebrow {
	margin-bottom: 18px;
	color: var(--pema-gold);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.4;
	text-transform: uppercase;
}

.pema-hero .pema-hero-title {
	max-width: 850px;
	margin-bottom: 0;
	color: var(--pema-white);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(42px, 5.5vw, 68px);
	font-weight: 700;
	line-height: 0.98;
}

.pema-hero-subheading {
	max-width: 650px;
	margin-top: 22px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(16px, 1.45vw, 19px);
	line-height: 1.62;
}

.pema-hero-actions.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.pema-hero-actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: var(--pema-radius-pill);
	font-size: 13px;
	font-weight: 520;
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease, transform 180ms var(--pema-ease-out);
}

.pema-hero-actions .wp-block-button__link:hover,
.pema-hero-actions .wp-block-button__link:focus-visible {
	transform: translateY(-2px);
}

.pema-button-gold .wp-block-button__link {
	background: var(--pema-gold);
	color: var(--pema-navy);
}

.pema-button-outline .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.66);
	background: rgba(255, 255, 255, 0.08);
	color: var(--pema-white);
	backdrop-filter: blur(14px);
}

.pema-button-text .wp-block-button__link {
	gap: 9px;
	padding-right: 4px;
	padding-left: 4px;
	border: 0;
	background: transparent;
	color: var(--pema-white);
}

.pema-button-text .wp-block-button__link::after {
	color: var(--pema-gold);
	content: "→";
	transition: transform 180ms var(--pema-ease-out);
}

.pema-button-text .wp-block-button__link:hover::after,
.pema-button-text .wp-block-button__link:focus-visible::after {
	transform: translateX(4px);
}

.pema-hero-media-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--pema-blue), var(--pema-blue-dark));
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
}

.editor-styles-wrapper .pema-hero-editor {
	min-height: 720px;
}

.editor-styles-wrapper .pema-hero-editor .pema-hero-content {
	min-height: 720px;
}

.pema-quote-wizard {
	position: relative;
	z-index: 50;
	height: 0;
}

.pema-quote-shell {
	width: min(1040px, calc(100% - 48px));
	margin: 0 auto;
	transform: translateY(-50%);
}

.pema-quote-bar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: center;
	gap: 4px;
	padding: 11px 12px 11px 16px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--pema-radius-pill);
	background: rgba(0, 48, 130, 0.88);
	backdrop-filter: blur(24px) saturate(145%);
	box-shadow: 0 24px 70px rgba(0, 27, 73, 0.3);
	color: var(--pema-white);
}

.pema-quote-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	min-height: 58px;
	padding: 0 14px 0 0;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.13);
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	transition: opacity 160ms ease, transform 160ms var(--pema-ease-out);
}

.pema-quote-item:nth-child(3) {
	border-right: 0;
}

.pema-quote-item:hover,
.pema-quote-item:focus-visible {
	opacity: 0.82;
	transform: translateY(-1px);
}

.pema-quote-icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.72);
	font-size: 9px;
	font-weight: 650;
}

.pema-quote-field {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.pema-quote-field > span {
	color: rgba(255, 255, 255, 0.56);
	font-size: 11px;
}

.pema-quote-field strong {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.94);
	font-size: 13px;
	font-weight: 520;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pema-quote-submit,
.pema-quote-next,
.pema-quote-send,
.pema-quote-done,
.pema-quote-back,
.pema-quote-reset {
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--pema-radius-pill);
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 580;
	transition: background-color 170ms ease, border-color 170ms ease, transform 170ms var(--pema-ease-out);
}

.pema-quote-submit {
	min-height: 52px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--pema-navy);
	white-space: nowrap;
}

.pema-quote-submit:hover,
.pema-quote-submit:focus-visible {
	background: var(--pema-white);
	transform: translateY(-2px);
}

.pema-quote-modal {
	position: fixed;
	inset: 0;
	width: min(1120px, calc(100vw - 64px));
	max-width: none;
	max-height: min(780px, calc(100svh - 72px));
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pema-gray);
	transform: none;
}

.pema-quote-modal [aria-invalid="true"] { border-color: #b3261e; outline-color: #b3261e; }
.pema-quote-modal .pema-quote-field-error {
	display: block;
	grid-column: 1 / -1;
	margin-top: 6px;
	color: #b3261e;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: none;
}

.pema-quote-modal::backdrop {
	background: rgba(3, 18, 36, 0.64);
	backdrop-filter: blur(14px);
}

.pema-quote-modal-shell {
	position: relative;
	display: grid;
	min-height: min(650px, calc(100svh - 72px));
	max-height: min(780px, calc(100svh - 72px));
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 42px 120px rgba(0, 0, 0, 0.4);
}

.pema-quote-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--pema-navy);
	font-size: 25px;
	line-height: 1;
}

.pema-quote-modal-close:hover,
.pema-quote-modal-close:focus-visible {
	background: rgba(0, 48, 130, 0.08);
}

.pema-quote-modal-head {
	padding: 26px 64px 12px;
	text-align: center;
}

.pema-quote-modal-head p {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 0 5px;
	color: #a86f25;
	font-size: 10px;
	font-weight: 720;
	text-transform: uppercase;
}

.pema-quote-modal-head p span {
	color: rgba(60, 60, 60, 0.5);
}

.pema-quote-modal-head h2 {
	margin: 0;
	color: var(--pema-gray);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 620;
	line-height: 1.25;
}

.pema-quote-progress {
	overflow: hidden;
	width: min(520px, 100%);
	height: 3px;
	margin: 17px auto 0;
	border-radius: var(--pema-radius-pill);
	background: rgba(0, 48, 130, 0.1);
}

.pema-quote-progress span {
	display: block;
	width: 20%;
	height: 100%;
	border-radius: inherit;
	background: var(--pema-blue);
	transition: width 240ms var(--pema-ease-out);
}

.pema-quote-steps {
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain;
}

.pema-quote-step {
	display: none;
	padding: 8px 34px 28px;
}

.pema-quote-step.is-active {
	display: block;
	animation: pemaQuoteStepIn 220ms var(--pema-ease-out);
}

@keyframes pemaQuoteStepIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.pema-quote-step-copy {
	max-width: 680px;
	margin: 0 auto 20px;
	color: rgba(60, 60, 60, 0.72);
	font-size: 13px;
	line-height: 1.58;
	text-align: center;
}

.pema-quote-choice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	max-width: 900px;
	margin: 0 auto;
}

.pema-quote-choice-grid button {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	border: 1px solid transparent;
	border-radius: var(--pema-radius-pill);
	background: #f1f3f6;
	color: var(--pema-navy);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 520;
	text-align: center;
	transition: background-color 170ms ease, border-color 170ms ease, transform 170ms var(--pema-ease-out);
}

.pema-quote-choice-grid button:hover,
.pema-quote-choice-grid button:focus-visible,
.pema-quote-choice-grid button.is-selected {
	border-color: rgba(0, 48, 130, 0.18);
	background: #e5edf9;
	transform: translateY(-1px);
}

.pema-quote-experiences button {
	min-height: 64px;
	color: var(--pema-blue);
	font-weight: 620;
}

.pema-quote-custom-field {
	display: grid;
	gap: 7px;
	max-width: 900px;
	margin: 16px auto 0;
}

.pema-quote-custom-field span,
.pema-quote-detail-grid label > span {
	color: rgba(60, 60, 60, 0.72);
	font-size: 9px;
	font-weight: 760;
	text-transform: uppercase;
}

.pema-quote-custom-field input,
.pema-quote-detail-grid input,
.pema-quote-detail-grid select,
.pema-quote-detail-grid textarea {
	width: 100%;
	min-height: 46px;
	padding: 0 13px;
	border: 1px solid rgba(0, 48, 130, 0.16);
	border-radius: 5px;
	background: var(--pema-white);
	color: var(--pema-gray);
	font: inherit;
	font-size: 12px;
	outline: none;
}

.pema-quote-detail-grid select {
	cursor: pointer;
}

.pema-quote-detail-grid textarea {
	min-height: 92px;
	padding-top: 12px;
	resize: vertical;
}

.pema-quote-custom-field input:focus,
.pema-quote-detail-grid input:focus,
.pema-quote-detail-grid select:focus,
.pema-quote-detail-grid textarea:focus {
	border-color: var(--pema-gold);
	box-shadow: 0 0 0 3px rgba(195, 154, 95, 0.16);
}

.pema-quote-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 800px;
	margin: 0 auto;
}

.pema-quote-detail-grid label {
	display: grid;
	gap: 7px;
}

.pema-quote-field-wide {
	grid-column: 1 / -1;
}

.pema-quote-review {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	max-width: 800px;
	margin: 0 auto 18px;
	overflow: hidden;
	border: 1px solid rgba(0, 48, 130, 0.1);
	border-radius: 6px;
	background: rgba(0, 48, 130, 0.08);
}

.pema-quote-review > span {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 12px 14px;
	background: var(--pema-white);
}

.pema-quote-review small {
	color: rgba(60, 60, 60, 0.52);
	font-size: 9px;
	text-transform: uppercase;
}

.pema-quote-review strong {
	overflow: hidden;
	color: var(--pema-blue);
	font-size: 11px;
	font-weight: 620;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pema-quote-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 800px;
	margin: 16px auto 0;
	color: rgba(60, 60, 60, 0.72);
	font-size: 11px;
	line-height: 1.5;
}

.pema-quote-consent input {
	width: 16px;
	height: 16px;
	margin-top: 1px;
	accent-color: var(--pema-blue);
}

.pema-quote-response {
	min-height: 0;
	padding: 0 24px;
	color: var(--pema-gray);
	font-size: 11px;
	text-align: center;
}

.pema-quote-response.is-error {
	padding-bottom: 8px;
	color: #a52f2f;
}

.pema-quote-modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pema-quote-modal-footer > div {
	display: flex;
	gap: 8px;
}

.pema-quote-next,
.pema-quote-send,
.pema-quote-done {
	background: var(--pema-blue);
	color: var(--pema-white);
}

.pema-quote-back,
.pema-quote-reset {
	border-color: rgba(6, 24, 36, 0.18);
	background: var(--pema-white);
	color: var(--pema-gray);
}

.pema-quote-next:hover,
.pema-quote-send:hover,
.pema-quote-done:hover,
.pema-quote-back:hover,
.pema-quote-reset:hover {
	transform: translateY(-1px);
}

.pema-quote-send:disabled {
	cursor: wait;
	opacity: 0.58;
}

.pema-quote-success {
	display: grid;
	max-width: 560px;
	place-items: center;
	margin: 42px auto;
	text-align: center;
}

.pema-quote-success[hidden] {
	display: none;
}

.pema-quote-success > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 50%;
	background: rgba(0, 48, 130, 0.1);
	color: var(--pema-blue);
	font-size: 24px;
}

.pema-quote-success h2 {
	margin: 18px 0 8px;
	font-size: 34px;
}

.pema-quote-success p {
	margin: 0;
	color: rgba(60, 60, 60, 0.7);
	font-size: 13px;
	line-height: 1.6;
}

.pema-quote-wizard-editor {
	height: auto;
	padding: 36px 24px;
	background: var(--pema-blue-dark);
}

.pema-quote-wizard-editor .pema-quote-shell {
	width: 100%;
	transform: none;
}

.pema-quote-editor-note {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 11px;
	text-align: center;
}

.pema-section-shell {
	width: var(--pema-content-shell);
	margin: 0 auto;
}

.pema-virtuoso-section {
	position: relative;
	isolation: isolate;
	min-height: 0;
	scroll-margin-top: 90px;
	padding: clamp(64px, 7vw, 92px) 0;
	color: var(--pema-white);
}

.pema-virtuoso-section::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
	pointer-events: none;
}

.pema-virtuoso-section .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	color: inherit;
}

.pema-virtuoso-layout,
.pema-virtuoso-layout.wp-block-group {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	gap: clamp(42px, 6vw, 82px);
	align-items: center;
}

.pema-virtuoso-copy,
.pema-virtuoso-copy > *,
.pema-virtuoso-visual > *,
.pema-virtuoso-floating > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.pema-section-kicker {
	margin: 0 0 12px !important;
	color: var(--pema-gold);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
}

.pema-virtuoso-title,
.pema-virtuoso-copy > .pema-virtuoso-title {
	max-width: 660px;
	margin: 0;
	color: var(--pema-white);
	font-size: clamp(40px, 4.4vw, 56px);
	line-height: 0.98;
}

.pema-virtuoso-description {
	max-width: 650px;
	margin-top: 22px !important;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.7;
}

.pema-virtuoso-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	max-width: 600px;
	margin-top: 28px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.pema-virtuoso-point,
.pema-virtuoso-points > .pema-virtuoso-point {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) !important;
	gap: 14px;
	align-items: start;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	transition: border-color 180ms ease, transform 180ms var(--pema-ease-out);
}

.pema-virtuoso-point:hover {
	border-color: rgba(255, 255, 255, 0.44);
	transform: translateX(5px);
}

.pema-virtuoso-number,
.pema-virtuoso-point h3 {
	margin: 0;
}

.pema-virtuoso-number {
	color: var(--pema-gold);
	font-size: 11px;
	font-weight: 750;
}

.pema-virtuoso-point h3 {
	color: var(--pema-white);
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.pema-virtuoso-visual {
	position: relative;
	min-height: 470px;
}

.pema-virtuoso-image,
.pema-virtuoso-visual > .pema-virtuoso-image {
	position: absolute;
	inset: 24px 44px 0 0;
	overflow: hidden;
	margin: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pema-virtuoso-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 56%;
	transition: transform 700ms var(--pema-ease-out);
}

.pema-virtuoso-visual:hover .pema-virtuoso-image img {
	transform: scale(1.035);
}

.pema-virtuoso-floating,
.pema-virtuoso-visual > .pema-virtuoso-floating {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	display: grid;
	gap: 7px;
	width: min(250px, 54%);
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.52);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.91);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(14px);
}

.pema-virtuoso-floating-label {
	color: #9b6828;
	font-size: 10px;
	font-weight: 760;
	text-transform: uppercase;
}

.pema-virtuoso-floating-title,
.pema-virtuoso-floating > .pema-virtuoso-floating-title {
	color: var(--pema-blue);
	font-size: 25px;
	line-height: 1;
}

.pema-trust-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	scroll-margin-top: 96px;
	padding: clamp(64px, 7vw, 92px) 0;
	background: var(--pema-paper);
}

.pema-trust-background,
.pema-trust-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.pema-trust-background {
	z-index: -2;
	background-image: var(--pema-trust-background-image, url("assets/images/webp/hero-cruceros-pema-tours.webp"));
	background-position: var(--pema-trust-background-position, 50% 50%);
	background-size: cover;
	opacity: var(--pema-trust-background-opacity, 0.18);
}

.pema-trust-section::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 244, 237, 0.98) 0%, rgba(248, 244, 237, 0.9) 48%, rgba(248, 244, 237, 0.78) 100%);
	content: "";
	pointer-events: none;
}

.pema-trust-grid {
	z-index: 0;
	background-image:
		linear-gradient(rgba(0, 48, 130, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 48, 130, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.pema-trust-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
	gap: clamp(44px, 6vw, 88px);
	align-items: start;
}

.pema-trust-main,
.pema-trust-main > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.pema-trust-title,
.pema-trust-main > .pema-trust-title {
	max-width: 620px;
	margin: 0;
	color: var(--pema-blue);
	font-size: clamp(40px, 4vw, 58px);
	line-height: 0.98;
}

.pema-trust-copy {
	display: grid;
	gap: 16px;
	max-width: 680px;
	margin-top: clamp(26px, 3vw, 38px) !important;
	color: var(--pema-gray);
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.7;
}

.pema-trust-copy p,
.pema-trust-points p,
.pema-trust-points h3 {
	margin: 0;
}

.pema-trust-points {
	display: grid;
	margin-top: clamp(22px, 3vw, 34px) !important;
	border-top: 1px solid rgba(0, 48, 130, 0.18);
}

.pema-trust-point,
.pema-trust-points > .pema-trust-point {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) !important;
	gap: 16px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 48, 130, 0.18);
	transition: border-color 180ms ease, transform 180ms var(--pema-ease-out);
}

.pema-trust-point:hover {
	border-color: rgba(0, 48, 130, 0.38);
	transform: translateX(5px);
}

.pema-trust-number {
	color: #a86f25;
	font-size: 11px;
	font-weight: 750;
}

.pema-trust-point h3 {
	color: var(--pema-blue);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(15px, 1.18vw, 18px);
	font-weight: 650;
	line-height: 1.42;
}

.pema-trust-magazine {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	align-self: start;
	justify-items: center;
	width: 100%;
	min-height: 650px;
	padding: clamp(26px, 3vw, 38px);
	border-radius: 8px;
	background: var(--pema-blue);
	color: var(--pema-white);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 26px 58px rgba(0, 30, 78, 0.2);
}

.pema-trust-magazine-cover {
	display: block;
	width: min(210px, 52%);
	overflow: hidden;
	border-radius: 4px;
	background: var(--pema-white);
	box-shadow: 0 18px 42px rgba(0, 18, 52, 0.32);
	transition: box-shadow 200ms ease, transform 200ms var(--pema-ease-out);
}

.pema-trust-magazine-cover:hover {
	box-shadow: 0 24px 52px rgba(0, 18, 52, 0.4);
	transform: translateY(-3px);
}

.pema-trust-magazine-cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 618 / 800;
	object-fit: cover;
}

.pema-magazine-cover-empty {
	display: grid;
	place-items: center;
	aspect-ratio: 618 / 800;
	color: rgba(0, 48, 130, 0.58);
	font-size: 12px;
}

.pema-trust-magazine-copy {
	display: grid;
	gap: 13px;
	justify-items: center;
	max-width: 390px;
	min-width: 0;
	text-align: center;
}

.pema-trust-magazine-copy > span:first-child {
	color: #e3bd80;
	font-size: 10px;
	font-weight: 760;
	text-transform: uppercase;
}

.pema-trust-magazine-copy h3 {
	margin: 0;
	color: var(--pema-white);
	font-size: clamp(27px, 2.3vw, 36px);
	line-height: 1.02;
}

.pema-trust-magazine-copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(13px, 1vw, 15px);
	line-height: 1.72;
}

.pema-trust-magazine-button,
.pema-trust-magazine-copy > .pema-trust-magazine-button {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	justify-self: center;
	gap: 7px;
	margin-top: 5px;
	padding: 0 18px;
	border-radius: var(--pema-radius-pill);
	background: var(--pema-white);
	color: var(--pema-blue);
	font-size: 10px;
	font-weight: 650;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, transform 180ms var(--pema-ease-out);
}

.pema-trust-magazine-button:hover,
.pema-trust-magazine-button:focus-visible {
	background: var(--pema-paper);
	transform: translateY(-2px);
}

.pema-trust-magazine-button b {
	color: #a86f25;
	font-size: 13px;
}

.pema-magazine-preview-empty {
	display: grid;
	min-height: 260px;
	place-items: center;
	padding: 32px;
	border: 1px dashed rgba(0, 48, 130, 0.3);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.58);
	color: var(--pema-blue);
	font-size: 13px;
	text-align: center;
}

.editor-styles-wrapper .pema-trust-editor {
	min-height: 760px;
}

.pema-site-footer {
	position: relative;
	background: var(--pema-blue-dark);
	color: rgba(255, 255, 255, 0.78);
}

.pema-site-footer::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.16);
	content: "";
}

.pema-footer-main {
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2.4fr);
	gap: clamp(60px, 7vw, 120px);
	width: min(1440px, calc(100% - 80px));
	margin: 0 auto;
	padding: 72px 0 58px;
}

.pema-footer-brand {
	max-width: 380px;
}

.pema-footer-logo {
	display: block;
	margin-bottom: 24px;
}

.pema-footer-logo img {
	display: block;
	width: 190px;
	height: auto;
	filter: brightness(0) invert(1);
}

.pema-footer-brand > p {
	margin: 0 0 26px;
	font-size: 13px;
	line-height: 1.75;
}

.pema-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 12px;
	line-height: 1.5;
}

.pema-footer-contact p {
	margin: 0;
}

.pema-footer-contact a {
	color: inherit;
	text-decoration: none;
}

.pema-footer-contact a:hover,
.pema-footer-contact a:focus-visible {
	color: var(--pema-white);
}

.pema-footer-nav {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
}

.pema-footer-column h2 {
	margin: 0 0 18px;
	color: var(--pema-white);
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 720;
	text-transform: uppercase;
}

.pema-footer-column ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pema-footer-column a {
	color: inherit;
	font-size: 11.5px;
	line-height: 1.45;
	text-decoration: none;
	transition: color 160ms ease, transform 160ms ease;
}

.pema-footer-column a:hover,
.pema-footer-column a:focus-visible {
	color: var(--pema-white);
	transform: translateX(3px);
}

.pema-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1440px, calc(100% - 80px));
	margin: 0 auto;
	padding: 22px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pema-footer-bottom p {
	margin: 0;
	font-size: 10.5px;
}

.pema-editor-navigation-note {
	margin: 10px 0 0;
	padding: 10px 14px;
	border-left: 3px solid var(--pema-blue);
	background: #fff;
	color: var(--pema-gray);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
}

.editor-styles-wrapper .pema-site-header {
	position: relative;
	background: var(--pema-blue);
	color: var(--pema-white);
}

.editor-styles-wrapper .pema-editor-navigation-block {
	min-width: 0;
}

@media (min-width: 1541px) and (max-width: 1760px) {
	.pema-header-main {
		grid-template-columns: 142px minmax(0, 1fr) auto auto;
		gap: 14px;
	}

	.pema-brand img {
		width: 142px;
	}

	.pema-primary-nav {
		gap: 12px;
		font-size: 11.5px;
	}

	.pema-header-contact,
	.pema-header-contact.wp-block-buttons {
		gap: 6px;
	}

	.pema-header-phone .wp-block-button__link {
		gap: 6px;
		padding-inline: 14px;
	}
}

@media (min-width: 1261px) and (max-width: 1540px) {
	.pema-header-main {
		grid-template-columns: clamp(136px, 10vw, 148px) minmax(0, 1fr) auto auto;
		gap: clamp(12px, 1.4vw, 20px);
	}

	.pema-primary-nav {
		gap: clamp(10px, 1vw, 15px);
		font-size: 11.5px;
	}

	.pema-header-phone:first-child {
		display: none;
	}
}

@media (max-width: 1260px) {
	.pema-quote-shell {
		width: min(980px, calc(100% - 36px));
	}

	.pema-trust-layout {
		grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
		gap: 42px;
	}

	.pema-trust-magazine {
		grid-template-columns: minmax(125px, 0.65fr) minmax(0, 1.35fr);
		padding: 26px;
	}

	.pema-site-header.is-open .pema-brand img {
		position: relative;
		z-index: 2;
		filter: brightness(0) invert(1) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
	}

	.pema-header-main {
		grid-template-columns: 150px 1fr auto auto;
	}

	.pema-navigation-shell {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.pema-nav-toggle {
		position: relative;
		z-index: 2;
		display: block;
	}

	.pema-site-header.is-open .pema-nav-toggle {
		border-color: rgba(255, 255, 255, 0.45);
		background: rgba(255, 255, 255, 0.12);
		color: var(--pema-white);
	}

	.pema-primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: min(430px, 100vw);
		height: 100vh;
		padding: 110px 30px 40px;
		overflow: auto;
		background: rgba(0, 26, 71, 0.98);
		color: var(--pema-white);
		opacity: 0;
		pointer-events: none;
		transform: translateX(100%);
		transition: opacity 180ms ease, transform 260ms var(--pema-ease-out);
	}

	.pema-site-header.is-open .pema-primary-nav {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(0);
	}

	.pema-primary-nav > a,
	.pema-nav-link-button {
		width: 100%;
		min-height: 52px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		font-size: 13px;
	}

	.pema-nav-link-button {
		justify-content: space-between;
	}

	.pema-primary-nav > a::after,
	.pema-nav-link-button::after {
		display: none;
	}

	.pema-nav-mega-item {
		width: 100%;
	}

	.pema-mega-menu {
		position: static;
		width: 100%;
		max-height: 0;
		padding: 0;
		overflow: hidden;
		opacity: 1;
		pointer-events: none;
		transform: none;
		transition: max-height 300ms var(--pema-ease-out);
	}

	.pema-nav-dropdown {
		position: static;
		width: 100%;
		max-height: 0;
		padding: 0;
		overflow: hidden;
		opacity: 1;
		pointer-events: none;
		transform: none;
		transition: max-height 300ms var(--pema-ease-out), padding 200ms ease;
	}

	.pema-nav-dropdown-item.is-open .pema-nav-dropdown {
		max-height: 520px;
		padding-top: 12px;
		pointer-events: auto;
		transform: none;
	}

	.pema-nav-dropdown-inner {
		border: 0;
		box-shadow: none;
	}

	.pema-nav-mega-item.is-open .pema-mega-menu {
		max-height: 1400px;
		padding-top: 12px;
		pointer-events: auto;
		transform: none;
	}

	.pema-mega-menu-inner {
		display: block;
		max-height: none;
		padding: 18px;
		border: 0;
		background: rgba(255, 255, 255, 0.08);
		box-shadow: none;
		color: var(--pema-white);
	}

	.pema-mega-feature {
		display: none;
	}

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

	.pema-mega-column h3,
	.pema-mega-column a {
		color: inherit;
	}

	.pema-header-contact {
		grid-column: 4;
		grid-row: 1;
	}

	.pema-site-search {
		grid-column: 3;
		grid-row: 1;
	}

	.pema-header-phone:first-child {
		display: none;
	}

	.pema-footer-main {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.pema-footer-brand {
		max-width: 520px;
	}
}

@media (max-width: 960px) {
	.pema-quote-wizard {
		height: auto;
		padding: 18px;
		background: var(--pema-blue-dark);
	}

	.pema-quote-shell {
		width: 100%;
		transform: none;
	}

	.pema-quote-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 26px;
	}

	.pema-quote-item:nth-child(2) {
		border-right: 0;
	}

	.pema-quote-submit {
		grid-column: 1 / -1;
	}

	.pema-trust-layout {
		grid-template-columns: 1fr;
	}

	.pema-trust-magazine {
		max-width: 720px;
	}

	.pema-virtuoso-layout,
	.pema-virtuoso-layout.wp-block-group {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.pema-virtuoso-copy {
		max-width: 720px;
	}

	.pema-virtuoso-visual {
		min-height: 460px;
	}
}

@media (max-width: 720px) {
	:root {
		--pema-shell: calc(100% - 30px);
	}

	.pema-breadcrumbs-shell {
		top: 96px;
	}

	body.admin-bar .pema-breadcrumbs-shell {
		top: 142px;
	}

	.pema-breadcrumbs-shell > .pema-breadcrumbs {
		width: calc(100% - 30px);
		font-size: 11px;
	}

	.pema-site-header {
		padding-top: 14px;
	}

	.pema-header-main {
		grid-template-columns: minmax(110px, 1fr) auto auto;
		gap: 10px;
		min-height: 58px;
	}

	.pema-brand img {
		width: 128px;
	}

	.pema-navigation-shell {
		grid-column: 3;
	}

	.pema-site-search {
		grid-column: 2;
	}

	.pema-header-contact.wp-block-buttons {
		display: none;
	}

	.pema-site-search-dialog {
		width: 100%;
		height: 100%;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	.pema-site-search-panel {
		max-height: 100vh;
		padding: 24px 18px 40px;
	}

	.pema-site-search-results {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.pema-site-search-heading h2 {
		font-size: 38px;
	}

	.pema-primary-nav {
		width: 100vw;
		padding: 92px 20px 30px;
	}

	.pema-hero,
	.pema-hero-content {
		min-height: 100svh;
	}

	.pema-hero-content {
		width: calc(100% - 30px);
		padding: 112px 0 52px;
	}

	.pema-hero-shade {
		background:
			linear-gradient(90deg, #001f53 0%, rgba(0, 48, 130, 0.86) 100%),
			linear-gradient(0deg, #001f53 0%, rgba(0, 31, 83, 0.3) 100%);
	}

	.pema-hero .pema-hero-title {
		font-size: clamp(38px, 11vw, 50px);
	}

	.pema-hero-subheading {
		margin-top: 20px;
	}

	.pema-hero-actions.wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.pema-hero-actions .wp-block-button,
	.pema-hero-actions .wp-block-button__link {
		width: 100%;
	}

	.pema-quote-wizard {
		padding: 14px;
	}

	.pema-quote-bar {
		grid-template-columns: 1fr;
		padding: 12px 14px;
		border-radius: 22px;
	}

	.pema-quote-item,
	.pema-quote-item:nth-child(2) {
		min-height: 52px;
		padding: 4px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.pema-quote-item:nth-child(3) {
		border-bottom: 0;
	}

	.pema-quote-submit {
		width: 100%;
		margin-top: 3px;
	}

	.pema-quote-modal {
		inset: auto auto 0 0;
		width: 100vw;
		max-height: 94svh;
		transform: none;
	}

	.pema-quote-modal-shell {
		min-height: min(88svh, 760px);
		max-height: 94svh;
		border-radius: 18px 18px 0 0;
	}

	.pema-quote-modal-head {
		padding: 24px 48px 10px;
	}

	.pema-quote-modal-head h2 {
		font-size: 20px;
	}

	.pema-quote-step {
		padding: 8px 18px 22px;
	}

	.pema-quote-choice-grid,
	.pema-quote-detail-grid,
	.pema-quote-review {
		grid-template-columns: 1fr;
	}

	.pema-quote-review {
		gap: 0;
	}

	.pema-quote-modal-footer {
		align-items: stretch;
		flex-direction: column-reverse;
		padding: 12px 14px;
	}

	.pema-quote-modal-footer > div {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pema-quote-next,
	.pema-quote-send,
	.pema-quote-done {
		grid-column: 2;
	}

	.pema-quote-reset {
		min-height: 38px;
		border: 0;
	}

	.pema-section-shell {
		width: var(--pema-content-shell);
	}

	.pema-virtuoso-section {
		padding: 56px 0 62px;
	}

	.pema-virtuoso-section::before {
		background-size: 56px 56px;
	}

	.pema-virtuoso-layout,
	.pema-virtuoso-layout.wp-block-group {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.pema-virtuoso-title,
	.pema-virtuoso-copy > .pema-virtuoso-title {
		font-size: clamp(38px, 11vw, 49px);
	}

	.pema-virtuoso-visual {
		min-height: 390px;
	}

	.pema-virtuoso-image,
	.pema-virtuoso-visual > .pema-virtuoso-image {
		inset: 24px 24px 0 0;
	}

	.pema-virtuoso-floating,
	.pema-virtuoso-visual > .pema-virtuoso-floating {
		width: min(250px, 68%);
		padding: 16px 18px;
	}

	.pema-virtuoso-floating-title,
	.pema-virtuoso-floating > .pema-virtuoso-floating-title {
		font-size: 22px;
	}

	.pema-trust-section {
		padding: 58px 0;
	}

	.pema-trust-section::after {
		background: rgba(248, 244, 237, 0.9);
	}

	.pema-trust-title,
	.pema-trust-main > .pema-trust-title {
		font-size: clamp(38px, 11vw, 48px);
	}

	.pema-trust-magazine {
		justify-items: center;
		min-height: 0;
		padding: 26px 22px;
	}

	.pema-trust-magazine-cover {
		width: min(220px, 72%);
	}

	.pema-trust-magazine-copy {
		justify-items: center;
		text-align: center;
	}

	.pema-trust-magazine-button,
	.pema-trust-magazine-copy > .pema-trust-magazine-button {
		justify-self: center;
	}

	.pema-mega-links {
		grid-template-columns: 1fr;
	}

	.pema-footer-main,
	.pema-footer-bottom {
		width: calc(100% - 40px);
	}

	.pema-footer-main {
		padding: 54px 0 42px;
	}

	.pema-footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 24px;
	}

	.pema-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

.pema-cruise-categories {
	position: relative;
	padding: clamp(62px, 7vw, 94px) 0 42px;
	background: #fbfaf7;
	color: var(--pema-gray);
	scroll-margin-top: 88px;
}

.pema-cruise-categories::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background-image:
		linear-gradient(rgba(0, 48, 130, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 48, 130, 0.04) 1px, transparent 1px);
	background-size: 82px 82px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.pema-cruise-categories-head {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
	margin-bottom: clamp(30px, 4vw, 50px);
}

.pema-cruise-categories-head h2 {
	max-width: 720px;
	margin: 8px 0 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4.5vw, 58px);
	font-weight: 700;
	line-height: 1;
	text-wrap: balance;
}

.pema-cruise-categories-head > p {
	margin: 0;
	color: rgba(60, 60, 60, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.pema-cruise-carousel {
	position: relative;
	z-index: 1;
	width: 100%;
}

.pema-cruise-carousel-track {
	display: flex;
	gap: clamp(14px, 1.5vw, 22px);
	overflow-x: auto;
	padding: 12px max(20px, calc((100vw - 1320px) / 2)) 48px;
	scroll-behavior: smooth;
	scroll-padding-inline: max(20px, calc((100vw - 1320px) / 2));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pema-cruise-carousel-track::-webkit-scrollbar {
	display: none;
}

.pema-cruise-carousel-track:focus-visible {
	outline: 2px solid rgba(0, 48, 130, 0.7);
	outline-offset: -4px;
}

.pema-cruise-category-card {
	position: relative;
	isolation: isolate;
	flex: 0 0 clamp(306px, 25vw, 420px);
	min-height: clamp(440px, 43vw, 548px);
	overflow: hidden;
	border-radius: 8px;
	background: var(--pema-blue-dark);
	box-shadow: 0 16px 40px rgba(0, 30, 78, 0.16);
	color: #fff;
	scroll-snap-align: start;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.pema-cruise-category-card::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgba(0, 29, 75, 0.05) 24%, rgba(0, 24, 66, 0.9) 100%);
}

.pema-cruise-category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 52px rgba(0, 30, 78, 0.22);
}

.pema-cruise-category-hit {
	position: absolute;
	z-index: 3;
	inset: 0;
	border-radius: inherit;
}

.pema-cruise-category-hit:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -7px;
}

.pema-cruise-category-image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pema-cruise-category-copy {
	position: relative;
	z-index: 2;
	display: grid;
	min-height: 100%;
	align-content: end;
	gap: 12px;
	padding: clamp(26px, 3vw, 36px);
}

.pema-cruise-category-copy > span {
	color: var(--pema-gold);
	font-size: 12px;
	font-weight: 700;
}

.pema-cruise-category-copy h3 {
	max-width: 360px;
	margin: 0;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(30px, 2.7vw, 40px);
	font-weight: 700;
	line-height: 1.02;
	text-wrap: balance;
}

.pema-cruise-category-copy p {
	max-width: 350px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
	line-height: 1.62;
}

.pema-cruise-category-card--styles::after {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 50%), linear-gradient(0deg, rgba(0, 18, 62, 0.42), transparent);
}

.pema-cruise-category-card--styles .pema-cruise-category-copy {
	align-content: center;
}

.pema-cruise-style-links {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.pema-cruise-style-links a,
.pema-cruise-style-links > span {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	padding: 0 19px;
	border-radius: 60px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pema-cruise-style-links a:hover {
	transform: translateX(4px);
	background: #fff;
	color: var(--pema-blue);
}

.pema-cruise-style-links a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.pema-cruise-carousel-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 4px;
	padding: 0 max(20px, calc((100vw - 1320px) / 2));
}

.pema-content-archive,
.pema-content-single,
body:not(.home) .pema-site-main {
	padding: clamp(150px, 14vw, 210px) clamp(24px, 6vw, 96px) clamp(72px, 8vw, 120px);
}

body:not(.home) .pema-interior-page {
	padding: 0;
}

body:not(.home) .pema-news-page,
body:not(.home) .pema-post-single {
	padding: 0;
}

.pema-cruise-overview {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(64px, 7vw, 96px) 0;
	background: var(--pema-paper);
}

.pema-cruise-overview::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 48, 130, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 48, 130, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	pointer-events: none;
}

.pema-cruise-overview-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	gap: clamp(34px, 6vw, 88px);
	align-items: start;
}

.pema-cruise-overview-heading,
.pema-cruise-overview-copy,
.pema-cruise-overview-facts,
.pema-cruise-overview-fact {
	min-width: 0;
}

.pema-cruise-overview-heading h2 {
	max-width: 640px;
	margin: 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4.3vw, 58px);
	font-weight: 700;
	line-height: 0.98;
	text-wrap: balance;
}

.pema-cruise-overview-copy {
	display: grid;
	gap: 18px;
}

.pema-cruise-overview-copy p {
	max-width: 720px;
	margin: 0;
	color: var(--pema-gray);
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.7;
}

.pema-cruise-overview-facts {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(8px, 2vw, 24px);
	border-top: 1px solid rgba(0, 48, 130, 0.18);
	border-bottom: 1px solid rgba(0, 48, 130, 0.18);
}

.pema-cruise-overview-fact {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 24px clamp(18px, 2.3vw, 32px);
	border-right: 1px solid rgba(0, 48, 130, 0.18);
}

.pema-cruise-overview-fact:first-child {
	padding-left: 0;
}

.pema-cruise-overview-fact:last-child {
	padding-right: 0;
	border-right: 0;
}

.pema-cruise-overview-fact p,
.pema-cruise-overview-fact h3 {
	margin: 0;
}

.pema-cruise-overview-fact p {
	color: var(--pema-gold);
	font-size: 11px;
	font-weight: 750;
}

.pema-cruise-overview-fact h3 {
	color: var(--pema-blue);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(15px, 1.15vw, 18px);
	font-weight: 650;
	line-height: 1.45;
}

.pema-ocean-final-cta {
	margin-top: 0;
}

.pema-interior-hero {
	min-height: clamp(500px, 62vh, 650px);
	margin: 0;
	color: #fff;
}

.pema-interior-hero .wp-block-cover__background {
	background-color: inherit;
}

.pema-interior-hero .wp-block-cover__image-background {
	animation: pema-hero-breathe 16s ease-in-out infinite alternate;
}

.pema-interior-hero-inner {
	display: flex;
	min-height: clamp(500px, 62vh, 650px);
	align-items: flex-end;
	width: var(--pema-content-shell);
	margin: 0 auto;
	padding: clamp(140px, 15vh, 180px) 0 clamp(58px, 7vh, 82px);
}

.pema-interior-hero-copy {
	max-width: 790px;
}

.pema-interior-hero .pema-section-kicker {
	margin-bottom: 18px;
	color: var(--pema-gold);
}

.pema-interior-hero h1 {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(46px, 5vw, 70px);
	font-weight: 700;
	line-height: 0.98;
	text-wrap: balance;
}

.pema-interior-hero-copy > p:not(.pema-section-kicker) {
	max-width: 700px;
	margin: 25px 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(17px, 1.5vw, 21px);
	line-height: 1.55;
}

.pema-interior-hero .wp-block-buttons {
	gap: 10px;
	margin-top: 32px;
}

.pema-interior-hero .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.72);
	color: #fff;
}

@media (max-width: 760px) {
	.pema-cruise-overview-inner {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.pema-cruise-overview-facts {
		grid-template-columns: 1fr;
	}

	.pema-cruise-overview-fact,
	.pema-cruise-overview-fact:first-child,
	.pema-cruise-overview-fact:last-child {
		padding: 18px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(0, 48, 130, 0.14);
	}

	.pema-cruise-overview-fact:last-child {
		border-bottom: 0;
	}

	.pema-interior-hero,
	.pema-interior-hero-inner {
		min-height: 520px;
	}

	.pema-interior-hero-inner {
		padding-top: 150px;
		padding-bottom: 64px;
	}

	.pema-interior-hero h1 {
		font-size: 48px;
	}
}

.pema-content-archive > .wp-block-query-title,
.pema-content-single > .wp-block-post-title,
.pema-site-main > .wp-block-post-title {
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(44px, 5vw, 72px);
	line-height: 1;
}

.pema-content-archive .wp-block-post-template {
	gap: 24px;
	margin-top: 48px;
}

.pema-content-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	padding: 24px 24px 32px;
	border: 1px solid rgba(0, 48, 130, 0.12);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 31, 84, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pema-content-card:hover,
.pema-content-card:focus-within {
	transform: translateY(-3px);
	border-color: rgba(0, 48, 130, 0.24);
	box-shadow: 0 20px 44px rgba(0, 31, 84, 0.12);
}

.pema-content-card-image img {
	width: 100%;
	object-fit: contain;
}

.pema-content-card .wp-block-post-title {
	font-size: 26px;
}

.pema-content-card a {
	color: var(--pema-blue);
}

.pema-content-card .wp-block-post-title a::after,
.pema-editorial-card--linked h3 a::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
}

.pema-content-card .wp-block-post-title a,
.pema-content-card .wp-block-post-excerpt__more-link,
.pema-editorial-card--linked h3 a {
	position: relative;
	z-index: 3;
}

.pema-single-logo {
	width: min(100%, 300px);
	max-width: 300px;
	padding: 28px;
	border: 1px solid rgba(0, 48, 130, 0.12);
	border-radius: 8px;
	background: #fff;
}

.pema-single-logo img {
	display: block;
	width: 100%;
	max-height: 130px;
	object-fit: contain;
}

.pema-single-destination img {
	max-height: 620px;
	border-radius: 8px;
	object-fit: cover;
}

.pema-single-magazine {
	max-width: 520px;
}

.pema-single-magazine img {
	width: 100%;
	border-radius: 8px;
}

.pema-magazine-single-layout {
	display: grid;
	grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
	gap: clamp(36px, 7vw, 92px);
	align-items: start;
	padding-top: clamp(58px, 7vw, 94px);
	padding-bottom: clamp(70px, 8vw, 110px);
}

.pema-magazine-single-layout .pema-single-magazine {
	margin: 0;
	padding: 18px;
	background: #fff;
	box-shadow: 0 22px 60px rgba(0, 30, 78, 0.14);
}

.pema-magazine-single-copy {
	min-width: 0;
}

/* Shared editable hero for destinations, cruise lines and magazines */
.pema-single-hero {
	--pema-single-overlay: 0.74;
	--pema-single-overlay-rgb: 0, 48, 130;
	--pema-single-bg: none;
	position: relative;
	isolation: isolate;
	min-height: clamp(420px, 48vw, 540px);
	overflow: hidden;
	background: linear-gradient(120deg, var(--pema-blue-dark), var(--pema-blue) 72%, #0b5f91);
	color: #fff;
}

.pema-single-hero-media,
.pema-single-hero-shade {
	position: absolute;
	z-index: -2;
	inset: 0;
}

.pema-single-hero-media {
	background-image: var(--pema-single-bg);
	background-position: center;
	background-size: cover;
}

.pema-single-hero-shade {
	z-index: -1;
	background: linear-gradient(90deg, rgba(var(--pema-single-overlay-rgb), var(--pema-single-overlay)) 0%, rgba(var(--pema-single-overlay-rgb), calc(var(--pema-single-overlay) * 0.8)) 58%, rgba(var(--pema-single-overlay-rgb), calc(var(--pema-single-overlay) * 0.48)) 100%);
}

.pema-single-hero-inner {
	display: grid;
	width: var(--pema-content-shell);
	min-height: clamp(420px, 48vw, 540px);
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	gap: clamp(42px, 7vw, 96px);
	align-items: center;
	margin: 0 auto;
	padding: clamp(128px, 13vw, 170px) 0 clamp(54px, 6vw, 76px);
}

.pema-single-hero-copy {
	min-width: 0;
	max-width: 900px;
}

.pema-single-hero-copy .pema-section-kicker {
	margin: 0 0 16px;
	color: var(--pema-gold);
}

.pema-single-hero-copy h1 {
	margin: 0;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(46px, 5vw, 72px);
	line-height: 0.98;
	text-wrap: balance;
}

.pema-single-hero-copy time {
	display: block;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
}

.pema-single-hero-excerpt {
	max-width: 760px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.62;
}

.pema-single-hero-logo {
	display: grid;
	width: min(100%, 300px);
	min-height: 150px;
	place-items: center;
	margin: 0;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 24px 60px rgba(0, 20, 60, 0.18);
}

.pema-single-hero-logo img {
	display: block;
	width: 100%;
	max-height: 110px;
	object-fit: contain;
}

.pema-single-hero--destino .pema-single-hero-inner,
.pema-single-hero--revista .pema-single-hero-inner {
	grid-template-columns: 1fr;
}

.pema-entry-content--naviera {
	width: min(100% - 40px, 1080px);
}

.pema-entry-content--destination {
	width: min(1320px, calc(100% - 40px));
}

.pema-entry-content--naviera > .wp-block-post-content,
.pema-entry-content--naviera > .wp-block-buttons {
	max-width: 820px;
}

.pema-entry-content--destination > .wp-block-post-content,
.pema-entry-content--destination > .wp-block-buttons {
	max-width: 1320px;
}

.pema-entry-content--naviera > .wp-block-buttons,
.pema-entry-content--destination > .wp-block-buttons {
	width: min(100%, 820px);
	margin: 32px auto 0;
}

.pema-entry-content--destination > .wp-block-buttons {
	width: 100%;
}

.pema-entry-content--naviera > .wp-block-buttons .wp-block-button__link,
.pema-entry-content--destination > .wp-block-buttons .wp-block-button__link {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	line-height: 1.2;
	text-align: center;
}

.pema-entry-content--naviera .wp-block-post-content figure,
.pema-entry-content--destination .wp-block-post-content figure {
	margin-top: 34px;
	margin-bottom: 34px;
}

.pema-entry-content--naviera .wp-block-post-content img,
.pema-entry-content--destination .wp-block-post-content img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 640px;
	border-radius: 8px;
	object-fit: cover;
}

.pema-destination-overview {
	display: grid;
	gap: 18px;
}

.pema-destination-overview-module {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
	gap: clamp(48px, 7vw, 90px);
	align-items: start;
}

.pema-destination-overview-intro,
.pema-destination-service-panel,
.pema-destination-service-copy {
	min-width: 0;
}

.pema-destination-overview-intro .pema-section-kicker {
	margin: 0 0 12px;
}

.pema-destination-overview-intro h2,
.pema-destination-service-panel > h2 {
	margin: 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4vw, 54px);
	line-height: 1;
	text-wrap: balance;
}

.pema-destination-overview-intro > p:not(.pema-section-kicker) {
	margin: 22px 0 0;
	font-size: 16px;
	line-height: 1.72;
}

.pema-destination-overview-intro > p:nth-of-type(2) {
	color: var(--pema-blue);
	font-size: clamp(18px, 1.7vw, 22px);
}

.pema-destination-service-panel > h2 {
	max-width: 520px;
	font-size: clamp(34px, 3.5vw, 48px);
}

.pema-destination-service-panel .pema-trust-points {
	margin-top: 28px !important;
}

.pema-destination-service-panel .pema-trust-point {
	grid-template-columns: 42px minmax(0, 1fr) !important;
	padding: 19px 0;
}

.pema-destination-service-copy h3 {
	margin: 0;
}

.pema-destination-service-copy p {
	margin: 5px 0 0;
	color: rgba(60, 60, 60, 0.78);
	font-size: 14px;
	line-height: 1.6;
}

.pema-destination-overview > p:first-of-type {
	color: var(--pema-blue);
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.55;
}

.pema-destination-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 46px 0;
	border: 1px solid rgba(0, 48, 130, 0.14);
	background: rgba(0, 48, 130, 0.14);
}

.pema-destination-service {
	min-width: 0;
	padding: 26px 28px 32px;
	background: #fff;
}

.pema-destination-service h3 {
	margin-top: 0;
	font-size: 24px;
}

.pema-destination-service p {
	margin-bottom: 0;
}

.pema-magazine-detail {
	display: grid;
	width: min(1320px, calc(100% - 40px));
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(42px, 7vw, 92px);
	align-items: center;
	margin: 0 auto;
	padding: clamp(70px, 8vw, 110px) 0;
}

.pema-magazine-detail-cover {
	max-width: 430px;
	margin: 0;
	padding: 18px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(0, 30, 78, 0.14);
}

.pema-magazine-detail-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.pema-magazine-detail-copy h2 {
	max-width: 700px;
	margin: 8px 0 22px;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1;
}

.pema-magazine-detail-copy p {
	max-width: 680px;
	font-size: 16px;
	line-height: 1.72;
}

.pema-magazine-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.pema-outline-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	padding: 0 24px;
	border: 1px solid var(--pema-blue);
	border-radius: 60px;
	color: var(--pema-blue);
	text-decoration: none;
}

.pema-magazine-listing .wp-block-post-template {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pema-magazine-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	padding: 20px 20px 32px;
	border: 1px solid rgba(0, 48, 130, 0.13);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(0, 30, 78, 0.08);
}

.pema-magazine-card-cover {
	display: block;
	margin-bottom: 22px;
}

.pema-magazine-card-cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: contain;
}

.pema-magazine-card h2 {
	margin: 0 0 6px;
	font-family: "Alegreya", Georgia, serif;
	font-size: 27px;
	line-height: 1.05;
}

.pema-magazine-card h2 a,
.pema-magazine-card-link {
	color: var(--pema-blue);
}

.pema-magazine-card time {
	color: rgba(60, 60, 60, 0.7);
	font-size: 12px;
}

.pema-magazine-card > p {
	display: -webkit-box;
	overflow: hidden;
	margin: 14px 0 24px;
	font-size: 14px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.pema-magazine-card-link {
	margin-top: auto;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}

@media (max-width: 820px) {
	.pema-single-hero-inner,
	.pema-magazine-detail,
	.pema-destination-overview-module {
		grid-template-columns: 1fr;
	}

	.pema-single-hero-logo {
		width: 240px;
	}

	.pema-magazine-detail-cover {
		width: min(100%, 390px);
	}

	.pema-magazine-listing .wp-block-post-template,
	.pema-destination-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.pema-single-hero,
	.pema-single-hero-inner {
		min-height: 500px;
	}

	.pema-single-hero-inner {
		gap: 28px;
		padding-top: 128px;
	}

	.pema-single-hero-copy h1 {
		font-size: 46px;
	}

	.pema-single-hero-logo {
		min-height: 120px;
		padding: 20px;
	}

	.pema-magazine-listing .wp-block-post-template,
	.pema-destination-services {
		grid-template-columns: 1fr;
	}

	.pema-magazine-detail {
		padding: 58px 0;
	}
}

@media (max-width: 760px) {
	.pema-magazine-single-layout {
		grid-template-columns: 1fr;
	}
}

.pema-page-intro {
	max-width: 820px;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.55;
}

.pema-hub-sections {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 64px 0;
	background: rgba(0, 48, 130, 0.14);
}

.pema-hub-section,
.pema-hub-sections > .wp-block-heading {
	margin: 0;
	padding: 34px;
	background: #fff;
}

.pema-hub-section h2,
.pema-hub-links h2 {
	color: var(--pema-blue);
}

.pema-hub-links {
	margin: 64px 0;
}

@media (max-width: 760px) {
	.pema-content-archive .wp-block-post-template,
	.pema-hub-sections {
		grid-template-columns: 1fr;
	}
}

.pema-cruise-carousel-controls button {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: 60px;
	background: var(--pema-blue);
	box-shadow: 0 10px 26px rgba(0, 48, 130, 0.18);
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.pema-cruise-carousel-controls button:hover {
	transform: translateY(-2px);
}

.pema-cruise-carousel-controls button:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: 3px;
}

.pema-cruise-carousel-controls button:disabled {
	opacity: 0.28;
	cursor: default;
	transform: none;
}

.pema-cruise-categories-editor .pema-cruise-carousel-track {
	position: relative;
	left: auto;
	width: auto;
	margin: 0;
	padding-inline: 24px;
}

.pema-cruise-media-button {
	position: absolute;
	z-index: 3;
	top: 16px;
	right: 16px;
}

.pema-cruise-link-control + .pema-cruise-link-control {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #ddd;
}

@media (max-width: 781px) {
	.pema-cruise-categories {
		padding-top: 58px;
		scroll-margin-top: 120px;
	}

	.pema-cruise-categories-head {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.pema-cruise-category-card {
		flex-basis: min(84vw, 360px);
		min-height: 470px;
	}
}

/* Interior editorial pages and news */
.pema-editorial-section {
	position: relative;
	padding: clamp(64px, 7vw, 108px) 0;
	background: #fff;
	color: var(--pema-gray);
}

.pema-editorial-section--paper {
	background: var(--pema-paper);
}

.pema-editorial-section--blue {
	background: var(--pema-blue);
	color: rgba(255, 255, 255, 0.86);
}

.pema-editorial-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
	column-gap: clamp(24px, 6vw, 90px);
	row-gap: 8px;
	align-items: end;
	margin-bottom: clamp(34px, 5vw, 68px);
}

.pema-editorial-heading .pema-section-kicker {
	grid-column: 1;
	margin: 0 0 8px;
}

.pema-editorial-heading h2 {
	grid-column: 1;
	margin: 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(40px, 4.5vw, 64px);
	line-height: 0.98;
	text-wrap: balance;
}

.pema-editorial-heading > p:last-child {
	grid-column: 2;
	grid-row: 1 / span 2;
	margin: 0;
	font-size: 16px;
	line-height: 1.72;
}

.pema-editorial-section--blue .pema-editorial-heading h2,
.pema-editorial-section--blue h3,
.pema-editorial-section--blue a {
	color: #fff;
}

.pema-editorial-section--blue .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	border-radius: 60px;
	background: var(--pema-gold);
	color: var(--pema-navy);
}

.pema-editorial-section--blue .wp-block-button.is-style-outline .wp-block-button__link {
	border-radius: 60px;
}

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

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

.pema-editorial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	padding-bottom: 32px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 30, 78, 0.1);
	transition: transform 220ms var(--pema-ease-out), box-shadow 220ms ease;
}

.pema-editorial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 62px rgba(0, 30, 78, 0.16);
}

.pema-editorial-card .wp-block-image {
	margin: 0;
}

.pema-editorial-card .wp-block-image img {
	display: block;
	width: 100%;
	height: clamp(210px, 21vw, 330px);
	object-fit: cover;
}

.pema-editorial-card > img {
	display: block;
	width: 100%;
	height: clamp(210px, 21vw, 330px);
	object-fit: cover;
}

.pema-editorial-card h3,
.pema-editorial-card > p {
	margin-right: 24px;
	margin-left: 24px;
}

.pema-editorial-card h3 {
	margin-top: 22px;
	margin-bottom: 8px;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: 26px;
	line-height: 1.05;
}

.pema-editorial-card h3 a {
	position: relative;
	z-index: 3;
	color: inherit;
	text-decoration: none;
}

.pema-editorial-card .wp-block-image a {
	position: relative;
	z-index: 3;
	display: block;
}

.pema-editorial-card > p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.65;
}

.pema-editorial-card--linked:focus-within {
	transform: translateY(-5px);
	box-shadow: 0 24px 62px rgba(0, 30, 78, 0.16);
}

.pema-editorial-card-hit {
	position: absolute;
	z-index: 2;
	inset: 0;
}

.pema-experience-destinations .pema-editorial-grid {
	margin-top: 34px;
}

.pema-experience-destinations .pema-editorial-grid--count-1 {
	grid-template-columns: minmax(0, 520px);
}

.pema-experience-destinations .pema-editorial-grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 920px;
}

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

.pema-experience-empty {
	max-width: 720px;
	margin: 34px 0 0;
	padding: 22px 26px;
	border-left: 3px solid var(--pema-gold);
	background: rgba(255, 255, 255, 0.72);
	color: var(--pema-gray);
	font-size: 16px;
	line-height: 1.7;
}

.pema-experience-editor-preview {
	margin-top: 30px;
	padding: 24px;
	border: 1px dashed rgba(0, 48, 130, 0.3);
	background: rgba(255, 255, 255, 0.64);
}

.pema-experience-editor-preview p {
	margin-bottom: 0;
}

.pema-editorial-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(34px, 6vw, 90px);
	align-items: center;
}

.pema-editorial-split img {
	display: block;
	width: 100%;
	max-height: 620px;
	border-radius: 8px;
	object-fit: cover;
	box-shadow: 0 24px 65px rgba(0, 30, 78, 0.14);
}

.pema-editorial-split p,
.pema-editorial-split li {
	font-size: 16px;
	line-height: 1.75;
}

.pema-editorial-split h3,
.pema-contact-grid h3 {
	margin: 22px 0 9px;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: 28px;
}

.pema-contact-panel {
	padding: clamp(28px, 4vw, 48px);
	border-radius: 8px;
	background: var(--pema-blue);
	color: #fff;
}

.pema-contact-panel h3,
.pema-contact-panel a {
	color: #fff;
}

.pema-contact-panel .wp-element-button,
.pema-centered-action .wp-element-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	padding: 0 24px;
	border-radius: 60px;
	background: var(--pema-gold);
	color: #07182a;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.pema-contact-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(0, 48, 130, 0.12);
	background: rgba(0, 48, 130, 0.12);
}

.pema-contact-grid article {
	min-width: 0;
	padding: 30px;
	background: #fff;
}

.pema-contact-grid a {
	color: var(--pema-blue);
	overflow-wrap: anywhere;
}

.pema-centered-action {
	margin: 42px 0 0;
	text-align: center;
}

.pema-form-section {
	padding: clamp(64px, 7vw, 104px) 0;
	background: #eef3f5;
}

.pema-form-section form {
	margin: 0;
}

.pema-form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	margin-top: clamp(34px, 5vw, 58px);
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 22px 64px rgba(0, 30, 78, 0.1);
}

.pema-form-panel {
	min-width: 0;
	padding: clamp(28px, 4vw, 52px);
}

.pema-form-visual {
	min-height: 100%;
	margin: 0;
}

.pema-form-visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
}

.pema-form-grid {
	display: block;
}

.pema-form-grid > p {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.pema-form-grid label {
	display: grid;
	gap: 8px;
	color: var(--pema-blue);
	font-size: 12px;
	font-weight: 650;
}

.pema-form-grid input,
.pema-form-grid select,
.pema-form-grid textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	border: 1px solid rgba(0, 48, 130, 0.18);
	border-radius: 4px;
	background: #fff;
	color: var(--pema-gray);
	font: inherit;
}

.pema-form-grid textarea {
	min-height: 150px;
	resize: vertical;
}

.pema-form-wide {
	grid-column: 1 / -1;
}

.pema-form-grid input[type="submit"] {
	width: auto;
	min-width: 190px;
	padding: 0 26px;
	border: 0;
	border-radius: 60px;
	background: var(--pema-blue);
	color: #fff;
	cursor: pointer;
	font-weight: 600;
}

.pema-form-grid > .pema-form-wide {
	margin-top: 20px;
}

@media (max-width: 620px) {
	.pema-form-grid > p {
		grid-template-columns: 1fr;
	}

	.pema-form-wide {
		grid-column: 1;
	}
}

.pema-archive-hero {
	min-height: clamp(500px, 62vh, 650px);
	padding: 0;
	background: var(--pema-blue-dark);
	color: #fff;
}

.pema-archive-hero .pema-interior-hero-inner {
	width: var(--pema-content-shell);
}

.pema-archive-hero .pema-section-kicker {
	color: var(--pema-gold);
}

.pema-archive-hero h1,
.pema-archive-hero .wp-block-query-title {
	max-width: 880px;
	margin: 10px 0 14px;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(46px, 5vw, 72px);
	line-height: 0.98;
}

.pema-archive-hero .pema-interior-hero-copy > p:last-child,
.pema-archive-hero .wp-block-term-description {
	max-width: 680px;
	font-size: 17px;
	line-height: 1.7;
}

.pema-news-listing,
.pema-news-query {
	padding-top: clamp(58px, 7vw, 94px);
	padding-bottom: clamp(70px, 8vw, 110px);
}

.pema-archive-listing {
	padding-top: clamp(58px, 7vw, 94px);
	padding-bottom: clamp(70px, 8vw, 110px);
}

.pema-archive-listing > .wp-block-query,
.pema-news-listing > .wp-block-query,
.pema-news-query {
	width: var(--pema-content-shell);
	max-width: none !important;
	margin-right: auto;
	margin-left: auto;
}

.pema-archive-listing .wp-block-post-template {
	gap: 34px 26px;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card {
	overflow: hidden;
	padding: 0 0 30px;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card-image {
	margin: 0 0 22px;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card .wp-block-post-title,
.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card .wp-block-post-excerpt {
	margin-right: 26px;
	margin-left: 26px;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 10px;
}

.pema-archive-listing:not(.pema-naviera-listing):not(.pema-magazine-listing) .pema-content-card .wp-block-post-excerpt {
	margin-top: 0;
	margin-bottom: 0;
}

.pema-naviera-listing .pema-content-card {
	padding: 22px;
}

.pema-naviera-listing .pema-content-card-image {
	display: grid;
	height: 132px;
	place-items: center;
	margin: 0 0 20px;
}

.pema-naviera-listing .pema-content-card-image a {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
}

.pema-naviera-listing .pema-content-card-image img {
	width: auto;
	max-width: 78%;
	height: auto;
	max-height: 92px;
	object-fit: contain;
}

.pema-naviera-listing .wp-block-post-title {
	margin: 0 0 8px;
	font-size: 23px;
	line-height: 1.08;
}

.pema-naviera-listing .wp-block-post-terms {
	margin: 0 0 8px;
	font-size: 12px;
}

.pema-naviera-listing .wp-block-post-excerpt {
	margin-top: auto;
	font-size: 13px;
	line-height: 1.55;
}

.pema-naviera-listing .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.pema-pagination,
.pema-news-query .wp-block-query-pagination,
.pema-news-listing .wp-block-query-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(46px, 6vw, 72px);
}

.pema-pagination .wp-block-query-pagination-numbers,
.pema-news-query .wp-block-query-pagination-numbers,
.pema-news-listing .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
	margin: 0;
}

.pema-pagination a,
.pema-pagination .page-numbers,
.pema-news-query .wp-block-query-pagination a,
.pema-news-query .wp-block-query-pagination .page-numbers,
.pema-news-listing .wp-block-query-pagination a,
.pema-news-listing .wp-block-query-pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid rgba(0, 48, 130, 0.2);
	border-radius: 60px;
	background: #fff;
	color: var(--pema-blue);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--pema-ease-out);
}

.pema-pagination a:hover,
.pema-pagination a:focus-visible,
.pema-news-query .wp-block-query-pagination a:hover,
.pema-news-query .wp-block-query-pagination a:focus-visible,
.pema-news-listing .wp-block-query-pagination a:hover,
.pema-news-listing .wp-block-query-pagination a:focus-visible {
	border-color: var(--pema-blue);
	transform: translateY(-2px);
}

.pema-pagination .page-numbers.current,
.pema-news-query .wp-block-query-pagination .page-numbers.current,
.pema-news-listing .wp-block-query-pagination .page-numbers.current {
	border-color: var(--pema-blue);
	background: var(--pema-blue);
	color: #fff;
}

.pema-pagination .wp-block-query-pagination-previous,
.pema-pagination .wp-block-query-pagination-next {
	min-width: 112px;
}

@media (max-width: 1180px) {
	.pema-naviera-listing .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.pema-naviera-listing .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.pema-naviera-listing .wp-block-post-template {
		grid-template-columns: 1fr;
	}
}

.pema-naviera-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	column-gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.pema-naviera-hero > *:not(.pema-single-logo) {
	grid-column: 1;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.pema-naviera-hero .pema-single-logo {
	grid-column: 2;
	grid-row: 1 / span 3;
	margin: 0;
}

@media (max-width: 760px) {
	.pema-naviera-hero {
		grid-template-columns: 1fr;
	}

	.pema-naviera-hero .pema-single-logo,
	.pema-naviera-hero > *:not(.pema-single-logo) {
		grid-column: 1;
		grid-row: auto;
	}
}

.pema-news-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(0, 48, 130, 0.1);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(0, 30, 78, 0.08);
}

.pema-news-listing .wp-block-post-template,
.pema-news-query .wp-block-post-template {
	gap: 28px;
	align-items: stretch;
}

.pema-news-listing .wp-block-post,
.pema-news-query .wp-block-post {
	display: flex;
	min-width: 0;
}

.pema-news-card .wp-block-post-featured-image {
	margin: 0;
}

.pema-news-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.pema-news-card > *:not(.wp-block-post-featured-image) {
	margin-right: 22px;
	margin-left: 22px;
}

.pema-news-card .wp-block-post-terms {
	margin-top: 20px;
	color: var(--pema-gold);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-news-card .wp-block-post-title {
	margin-top: 8px;
	margin-bottom: 8px;
	font-family: "Alegreya", Georgia, serif;
	font-size: 27px;
	line-height: 1.05;
}

.pema-news-card .wp-block-post-title a {
	color: var(--pema-blue);
	text-decoration: none;
}

.pema-news-card .wp-block-post-date,
.pema-news-card .wp-block-post-excerpt {
	font-size: 12px;
	line-height: 1.6;
}

.pema-news-card .wp-block-post-excerpt {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-bottom: 24px;
}

.pema-news-card .wp-block-post-excerpt__more-text {
	margin-top: auto;
	padding-top: 8px;
}

.pema-news-card .wp-block-post-excerpt__more-link {
	color: var(--pema-blue);
	font-weight: 650;
	text-decoration: none;
}

.pema-news-card .wp-block-post-excerpt__more-link::after {
	margin-left: 6px;
	color: var(--pema-gold);
	content: "→";
}

.pema-news-card .wp-block-post-excerpt__more-link:hover,
.pema-news-card .wp-block-post-excerpt__more-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pema-home-news {
	padding: clamp(64px, 7vw, 96px) 0 clamp(70px, 8vw, 108px);
	background-color: #eef3f5;
	background-image:
		linear-gradient(rgba(0, 48, 130, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 48, 130, 0.035) 1px, transparent 1px);
	background-size: 82px 82px;
}

.pema-home-news-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
	gap: clamp(32px, 6vw, 84px);
	align-items: end;
}

.pema-home-news-head h2 {
	max-width: 760px;
	margin: 8px 0 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(40px, 4.5vw, 58px);
	line-height: 0.98;
	text-wrap: balance;
}

.pema-home-news-head > p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
}

.pema-home-news-carousel {
	margin-top: clamp(38px, 5vw, 60px);
}

.pema-home-news-track {
	display: grid;
	grid-auto-columns: calc((min(1320px, 100vw - 40px) - 56px) / 3);
	grid-auto-flow: column;
	gap: 28px;
	align-items: stretch;
	overflow-x: auto;
	padding: 8px max(20px, calc((100vw - 1320px) / 2)) 30px;
	scroll-padding-inline: max(20px, calc((100vw - 1320px) / 2));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pema-home-news-track::-webkit-scrollbar {
	display: none;
}

.pema-home-news-track .pema-news-card {
	min-width: 0;
	scroll-snap-align: start;
}

.pema-home-news-track .wp-block-post-featured-image {
	aspect-ratio: 16 / 10;
}

.pema-home-news-track .wp-block-post-featured-image a,
.pema-home-news-track .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.pema-home-news-track .wp-block-post-featured-image img {
	object-fit: cover;
}

.pema-home-news-track .wp-block-post-title {
	font-size: clamp(24px, 2.2vw, 30px);
}

.pema-home-news-footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	margin-top: 4px;
}

.pema-home-news-all {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 12px;
	padding: 0 24px;
	border-radius: var(--pema-radius-pill);
	background: var(--pema-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 180ms var(--pema-ease-out), background-color 180ms ease;
}

.pema-home-news-all:hover,
.pema-home-news-all:focus-visible {
	background: var(--pema-blue-dark);
	color: #fff;
	transform: translateY(-2px);
}

.pema-home-news-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 4px;
	padding: 0 max(20px, calc((100vw - 1320px) / 2));
}

.pema-home-news-controls button {
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(0, 48, 130, 0.18);
	border-radius: 50%;
	background: #fff;
	color: var(--pema-blue);
	font-size: 18px;
	cursor: pointer;
	place-items: center;
	transition: transform 180ms var(--pema-ease-out), background-color 180ms ease, color 180ms ease;
}

.pema-home-news-controls button:hover:not(:disabled),
.pema-home-news-controls button:focus-visible:not(:disabled) {
	background: var(--pema-blue);
	color: #fff;
	transform: translateY(-2px);
}

.pema-home-news-controls button:disabled {
	cursor: default;
	opacity: 0.38;
}

.pema-home-news-editor .pema-home-news-track {
	grid-auto-columns: minmax(300px, 32%);
	padding-right: 24px;
	padding-left: 24px;
}

.pema-entry-hero {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr);
	height: clamp(500px, 62vh, 650px);
	min-height: 0;
	overflow: hidden;
	background: var(--pema-blue-dark);
	color: #fff;
}

.pema-entry-hero > * {
	grid-area: 1 / 1;
	min-height: 0;
}

.pema-entry-hero-image,
.pema-entry-hero-image img {
	width: 100%;
	height: 100%;
}

.pema-entry-hero-image img {
	display: block;
	object-fit: cover;
	opacity: 0.58;
}

.pema-entry-hero::after {
	z-index: 1;
	grid-area: 1 / 1;
	background: linear-gradient(90deg, rgba(0, 25, 68, 0.94), rgba(0, 48, 130, 0.4) 68%, rgba(0, 48, 130, 0.12));
	content: "";
	pointer-events: none;
}

.pema-entry-hero-copy {
	position: relative;
	z-index: 2;
	display: flex;
	height: 100%;
	width: min(1320px, calc(100% - 80px));
	flex-direction: column;
	justify-content: flex-end;
	margin: 0 auto;
	padding-top: 150px;
	padding-bottom: clamp(54px, 6vw, 78px);
}

.pema-entry-hero-copy > * {
	width: min(100%, 900px);
	margin-right: auto !important;
	margin-left: 0 !important;
}

.pema-entry-hero-copy h1 {
	max-width: 1000px;
	margin: 12px 0 18px;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(46px, 5vw, 72px);
	line-height: 0.98;
	text-wrap: balance;
}

.pema-entry-hero-copy .wp-block-post-terms,
.pema-entry-hero-copy .wp-block-post-date {
	color: var(--pema-gold);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-entry-content {
	width: min(1080px, calc(100% - 40px));
	margin-right: auto;
	margin-left: auto;
	padding: clamp(56px, 7vw, 96px) 0;
}

body.single-destino .pema-entry-content--destination {
	width: min(1320px, calc(100% - 40px));
}

.pema-entry-content > .wp-block-post-content {
	max-width: 820px;
}

.pema-entry-footer-image {
	max-width: 820px;
	margin-top: clamp(40px, 6vw, 72px);
	overflow: hidden;
	border-radius: 8px;
}

.pema-entry-footer-image img {
	display: block;
	width: 100%;
	height: auto;
}

body.single-destino .pema-entry-content--destination > .wp-block-post-content {
	width: 100%;
	max-width: 1320px;
}

.single-naviera .pema-entry-content .wp-block-post-content > :is(h1, h2, h3, h4, h5, h6):first-child,
.single-naviera .pema-entry-content .wp-block-post-content > :is(h1, h2, h3, h4, h5, h6):first-child + :is(h1, h2, h3, h4, h5, h6) {
	display: none;
}

.pema-entry-content > * {
	margin-block-start: 0;
	margin-block-end: 24px;
}

.pema-entry-content h2,
.pema-entry-content h3 {
	margin-top: 48px;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	line-height: 1.05;
}

.pema-entry-content h2 { font-size: clamp(34px, 4vw, 48px); }
.pema-entry-content h3 { font-size: 28px; }
.pema-entry-content p,
.pema-entry-content li { font-size: 16px; line-height: 1.78; }

@media (max-width: 980px) {
	.pema-home-news-head {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.pema-home-news-track {
		grid-auto-columns: calc((100vw - 68px) / 2);
		gap: 24px;
	}

	.pema-editorial-heading,
	.pema-editorial-split {
		grid-template-columns: 1fr;
	}

	.pema-editorial-heading > p:last-child {
		grid-column: 1;
		grid-row: auto;
	}

	.pema-editorial-grid,
	.pema-editorial-grid--four,
	.pema-contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pema-experience-destinations .pema-editorial-grid--count-1 {
		grid-template-columns: minmax(0, 520px);
	}

	.pema-experience-destinations .pema-editorial-grid--count-2,
	.pema-experience-destinations .pema-editorial-grid--count-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pema-form-layout {
		grid-template-columns: 1fr;
	}

	.pema-form-visual img {
		min-height: 360px;
		max-height: 480px;
	}
}

@media (max-width: 620px) {
	.pema-home-news {
		padding: 56px 0 64px;
	}

	.pema-home-news-track {
		grid-auto-columns: min(86vw, 340px);
		gap: 18px;
		padding-bottom: 24px;
	}

	.pema-home-news-footer {
		align-items: stretch;
	}

	.pema-home-news-all {
		justify-content: center;
	}

	.pema-news-listing .wp-block-post-template,
	.pema-news-query .wp-block-post-template {
		gap: 22px;
	}

	.pema-editorial-section {
		padding: 54px 0;
	}

	.pema-editorial-grid,
	.pema-editorial-grid--four,
	.pema-contact-grid {
		grid-template-columns: 1fr;
	}

	.pema-experience-destinations .pema-editorial-grid--count-1,
	.pema-experience-destinations .pema-editorial-grid--count-2,
	.pema-experience-destinations .pema-editorial-grid--count-3 {
		grid-template-columns: 1fr;
	}

	.pema-editorial-card .wp-block-image img,
	.pema-editorial-card > img {
		height: 260px;
	}

	.pema-entry-hero {
		height: 520px;
	}

	.pema-entry-hero-copy {
		width: calc(100% - 40px);
	}
}

.pema-destinations {
	position: relative;
	overflow: hidden;
	padding: clamp(52px, 6vw, 78px) 0 clamp(48px, 5vw, 68px);
	background-color: #eef3f5;
	background-image:
		linear-gradient(rgba(0, 48, 130, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 48, 130, 0.035) 1px, transparent 1px);
	background-size: 82px 82px;
	color: var(--pema-gray);
	scroll-margin-top: 90px;
}

.pema-destinations-head {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.7fr);
	gap: clamp(30px, 5vw, 76px);
	align-items: end;
}

.pema-destinations-head > *,
.pema-destinations-intro {
	min-width: 0;
}

.pema-destinations-head h2 {
	max-width: 760px;
	margin: 8px 0 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 700;
	line-height: 1;
	text-wrap: balance;
}

.pema-destinations-intro > p {
	margin: 0;
	color: rgba(60, 60, 60, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.pema-destinations-all {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 0 20px;
	border: 1px solid rgba(0, 48, 130, 0.24);
	border-radius: var(--pema-radius-pill);
	background: transparent;
	color: var(--pema-blue);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 520;
	text-decoration: none;
	transition: transform 180ms var(--pema-ease-out), background-color 180ms ease, color 180ms ease;
}

.pema-destinations-all:hover {
	transform: translateY(-2px);
	background: var(--pema-blue);
	color: #fff;
}

.pema-destinations-all:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: 3px;
}

.pema-destinations-carousel {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-top: clamp(30px, 4vw, 46px);
}

.pema-destinations-track {
	display: flex;
	gap: clamp(14px, 1.4vw, 20px);
	overflow-x: auto;
	padding: 10px max(20px, calc((100vw - 1320px) / 2)) 44px;
	scroll-behavior: smooth;
	scroll-padding-inline: max(20px, calc((100vw - 1320px) / 2));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pema-destinations-track::-webkit-scrollbar {
	display: none;
}

.pema-destinations-track:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: -4px;
}

.pema-destination-card {
	position: relative;
	isolation: isolate;
	flex: 0 0 clamp(280px, 23vw, 380px);
	min-height: clamp(390px, 34vw, 480px);
	overflow: hidden;
	border-radius: 8px;
	background: var(--pema-blue);
	box-shadow: 0 18px 36px rgba(0, 30, 78, 0.14);
	color: #fff;
	scroll-snap-align: start;
	transition: transform 240ms var(--pema-ease-out), box-shadow 240ms ease;
}

.pema-destination-card::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background: linear-gradient(180deg, rgba(3, 18, 36, 0.04) 30%, rgba(3, 18, 36, 0.92) 100%);
}

.pema-destination-card > img {
	position: absolute;
	z-index: -2;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--pema-ease-out);
}

.pema-destination-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 44px rgba(0, 30, 78, 0.2);
}

.pema-destination-card:hover > img {
	transform: scale(1.045);
}

.pema-destination-card-copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	gap: 8px;
	padding: 28px;
	pointer-events: none;
}

.pema-destination-card-copy > span {
	color: #f0bd65;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.pema-destination-card-copy h3 {
	margin: 0;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(30px, 2.5vw, 38px);
	line-height: 1;
}

.pema-destination-card-copy p {
	max-width: 310px;
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 13px;
	line-height: 1.55;
}

.pema-destination-card > button,
.pema-destination-card > .pema-destination-card-hit {
	position: absolute;
	z-index: 2;
	inset: 0;
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.pema-destination-card > button:focus-visible,
.pema-destination-card > .pema-destination-card-hit:focus-visible {
	outline: 3px solid #f0bd65;
	outline-offset: -5px;
}

.pema-destinations-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 4px;
	padding: 0 max(20px, calc((100vw - 1320px) / 2));
}

.pema-destinations-controls button {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: var(--pema-radius-pill);
	background: var(--pema-blue);
	box-shadow: 0 10px 26px rgba(0, 48, 130, 0.18);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 20px;
	transition: transform 180ms var(--pema-ease-out), opacity 180ms ease;
}

.pema-destinations-controls button:hover {
	transform: translateY(-2px);
}

.pema-destinations-controls button:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: 3px;
}

.pema-destinations-controls button:disabled {
	opacity: 0.28;
	cursor: default;
	transform: none;
}

.pema-destinations-editor .pema-destinations-track {
	overflow: hidden;
	padding-inline: 30px;
}

.pema-destinations-empty {
	padding: 24px 30px;
}

.pema-final-cta.wp-block-cover {
	position: relative;
	isolation: isolate;
	min-height: clamp(480px, 46vw, 600px);
	overflow: hidden;
	padding: 0;
	color: #fff;
}

.pema-final-cta.wp-block-cover::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	content: "";
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(90deg, #000, transparent 86%);
}

.pema-final-cta .wp-block-cover__image-background {
	transition: transform 900ms var(--pema-ease-out);
}

.pema-final-cta:hover .wp-block-cover__image-background {
	transform: scale(1.025);
}

.pema-final-cta .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.pema-final-cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
	gap: clamp(40px, 8vw, 126px);
	align-items: center;
	padding: clamp(64px, 8vw, 104px) 0;
}

.pema-final-cta-copy,
.pema-final-cta-actions {
	min-width: 0;
}

.pema-final-cta-copy .pema-section-kicker {
	color: #f0bd65;
}

.pema-final-cta-copy h2 {
	max-width: 720px;
	margin: 10px 0 0;
	color: #fff;
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(40px, 5vw, 62px);
	font-weight: 700;
	line-height: 0.98;
	text-wrap: balance;
}

.pema-final-cta-copy > p:last-child {
	max-width: 650px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.68;
}

.pema-final-cta-actions.wp-block-buttons {
	display: grid;
	width: 100%;
	gap: 12px;
}

.pema-final-cta-actions .wp-block-button,
.pema-final-cta-actions .wp-block-button__link {
	width: 100%;
}

.pema-final-cta-actions .wp-block-button__link {
	display: flex;
	min-height: 60px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 24px;
	border-radius: var(--pema-radius-pill);
	font-family: inherit;
	font-size: 13px;
	font-weight: 520;
	text-align: left;
	transition: transform 180ms var(--pema-ease-out), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pema-final-cta-actions .wp-block-button__link::after {
	content: "→";
	font-size: 15px;
}

.pema-final-cta-primary .wp-block-button__link {
	border: 1px solid #d3a45f;
	background: #d3a45f;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
	color: #07192b;
}

.pema-final-cta-secondary .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	color: #fff;
}

.pema-final-cta-actions .wp-block-button__link:hover,
.pema-final-cta-actions .wp-block-button__link:focus-visible {
	transform: translateY(-3px);
}

.pema-final-cta-primary .wp-block-button__link:hover,
.pema-final-cta-primary .wp-block-button__link:focus-visible {
	border-color: #fff;
	background: #fff;
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.pema-final-cta-secondary .wp-block-button__link:hover,
.pema-final-cta-secondary .wp-block-button__link:focus-visible {
	background: #fff;
	color: var(--pema-blue);
}

.pema-final-cta-actions .wp-block-button__link:focus-visible {
	outline: 3px solid #f0bd65;
	outline-offset: 3px;
}

.pema-final-cta-whatsapp .wp-block-button__link {
	justify-content: center;
}

.pema-final-cta-whatsapp .wp-block-button__link::before {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	background: currentColor;
	content: "";
	mask: url("assets/images/icon-whatsapp.svg") center / contain no-repeat;
}

.pema-final-cta-whatsapp .wp-block-button__link::after {
	display: none;
}

@media (max-width: 781px) {
	.pema-destinations {
		padding-top: 48px;
		scroll-margin-top: 120px;
	}

	.pema-destinations-head {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.pema-destinations-head h2 {
		max-width: 100%;
		font-size: clamp(36px, 10vw, 48px);
		text-wrap: wrap;
	}

	.pema-destinations-track {
		padding-inline: 20px;
		padding-bottom: 36px;
	}

	.pema-destination-card {
		flex-basis: min(82vw, 340px);
		min-height: 420px;
	}

	.pema-destinations-controls {
		padding-inline: 20px;
	}

	.pema-final-cta.wp-block-cover {
		min-height: auto;
	}

	.pema-final-cta-inner {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 58px 0 64px;
	}

	.pema-final-cta-copy h2 {
		font-size: clamp(38px, 11vw, 50px);
	}

	.pema-final-cta-copy > p:last-child {
		margin-top: 20px;
		font-size: 15px;
	}

	.pema-final-cta-actions .wp-block-button__link {
		min-height: 58px;
		font-size: 12px;
	}
}

.pema-cruise-lines {
	position: relative;
	padding: clamp(48px, 5vw, 68px) 0 0;
	background: #fff;
	color: var(--pema-gray);
	scroll-margin-top: 90px;
}

.pema-cruise-lines-head {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
	gap: clamp(30px, 5vw, 72px);
	align-items: end;
}

.pema-cruise-lines-head > *,
.pema-cruise-lines-intro {
	min-width: 0;
}

.pema-cruise-lines-head h2 {
	max-width: 700px;
	margin: 8px 0 0;
	color: var(--pema-blue);
	font-family: "Alegreya", Georgia, serif;
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 700;
	line-height: 1;
	text-wrap: balance;
}

.pema-cruise-lines-intro > p,
.pema-cruise-lines-head > p {
	margin: 0;
	color: rgba(60, 60, 60, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.pema-partner-filters {
	display: flex;
	width: 100%;
	max-width: 100%;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.pema-partner-filters button {
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 60px;
	background: rgba(0, 48, 130, 0.06);
	box-shadow: inset 0 0 0 1px rgba(0, 48, 130, 0.11);
	color: rgba(0, 48, 130, 0.78);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pema-partner-filters button:hover,
.pema-partner-filters button.is-active {
	background: var(--pema-blue);
	color: #fff;
}

.pema-partner-filters button:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: 3px;
}

.pema-partner-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-top: clamp(30px, 4vw, 46px);
	padding: 14px 0;
	background: rgba(248, 249, 251, 0.72);
	box-shadow: inset 0 1px rgba(0, 48, 130, 0.07), inset 0 -1px rgba(0, 48, 130, 0.07);
}

.pema-partner-marquee::before,
.pema-partner-marquee::after {
	position: absolute;
	z-index: 3;
	top: 0;
	bottom: 0;
	width: clamp(22px, 5vw, 76px);
	pointer-events: none;
	content: "";
}

.pema-partner-marquee::before {
	left: 0;
	background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.66) 38%, transparent);
}

.pema-partner-marquee::after {
	right: 0;
	background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0.66) 38%, transparent);
}

.pema-partner-track {
	display: flex;
	width: max-content;
	animation: pema-partner-marquee var(--pema-partner-duration, 105s) linear infinite;
	will-change: transform;
}

.pema-partner-marquee:hover .pema-partner-track,
.pema-partner-marquee:focus-within .pema-partner-track {
	animation-play-state: paused;
}

.pema-partner-group,
.pema-partner-editor-logos {
	display: flex;
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
	padding-right: clamp(28px, 4vw, 64px);
}

.pema-partner-logo {
	position: relative;
	display: grid;
	flex: 0 0 clamp(160px, 15vw, 220px);
	width: clamp(160px, 15vw, 220px);
	height: 84px;
	place-items: center;
	padding: 13px;
	border-radius: 8px;
	color: var(--pema-blue);
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pema-partner-logo:hover,
.pema-partner-logo:focus-visible {
	transform: translateY(-3px);
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 30, 78, 0.1);
}

.pema-partner-logo:focus-visible {
	outline: 2px solid var(--pema-blue);
	outline-offset: 3px;
}

.pema-partner-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pema-partner-text {
	font-family: "Alegreya", Georgia, serif;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.12;
}

.pema-partner-logo[hidden] {
	display: none;
}

.pema-partner-name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pema-partner-tooltip {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	max-width: 260px;
	padding: 8px 13px;
	border-radius: 60px;
	background: rgba(3, 18, 36, 0.92);
	color: #fff;
	font-size: 12px;
	opacity: 0;
	pointer-events: none;
	transform: translate(14px, 14px);
	transition: opacity 120ms ease;
}

.pema-partner-tooltip.is-visible {
	opacity: 1;
}

.pema-cruise-lines-editor {
	padding-bottom: 30px;
}

.pema-partner-editor-logos {
	overflow: hidden;
	margin-top: 30px;
	padding: 14px 30px;
	background: #f8f9fb;
}

.pema-partner-editor-logos .pema-partner-logo {
	background: #fff;
}

@keyframes pema-partner-marquee {
	to { transform: translateX(-50%); }
}

@media (max-width: 781px) {
	.pema-cruise-lines {
		scroll-margin-top: 120px;
	}

	.pema-cruise-lines-head {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.pema-cruise-lines-head h2 {
		max-width: 100%;
		text-wrap: wrap;
	}

	.pema-partner-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.pema-partner-filters button {
		flex: 0 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.pema-site-header,
	.pema-mega-menu,
	.pema-primary-nav,
	.pema-header-phone .wp-block-button__link,
	.pema-hero-slide,
	.pema-hero-actions .wp-block-button__link,
	.pema-quote-item,
	.pema-destination-card,
	.pema-destination-card > img,
	.pema-destinations-all,
	.pema-destinations-controls button,
	.pema-final-cta .wp-block-cover__image-background,
	.pema-final-cta-actions .wp-block-button__link,
	.pema-quote-submit,
	.pema-quote-progress span,
	.pema-quote-step,
	.pema-quote-choice-grid button,
	.pema-quote-next,
	.pema-quote-send,
	.pema-quote-done,
	.pema-quote-back,
	.pema-quote-reset,
	.pema-trust-point,
	.pema-trust-magazine-cover,
	.pema-trust-magazine-button,
	.pema-virtuoso-point,
	.pema-virtuoso-image img,
	.pema-footer-column a {
		transition: none;
	}

	.pema-cruise-carousel-track {
		scroll-behavior: auto;
	}

	.pema-destinations-track {
		scroll-behavior: auto;
	}

	.pema-cruise-category-card,
	.pema-cruise-style-links a,
	.pema-cruise-carousel-controls button {
		transition: none;
	}

	.pema-partner-track {
		animation: none;
	}

	.pema-partner-logo,
	.pema-partner-filters button,
	.pema-partner-tooltip {
		transition: none;
	}

	.pema-hero-slide.is-active {
		animation: none;
	}

	.pema-virtuoso-point:hover,
	.pema-virtuoso-visual:hover .pema-virtuoso-image img {
		transform: none;
	}
}

/* Native editorial modules for agency onboarding and the team directory. */
.pema-benefits-grid,
.pema-team-grid,
.pema-journey-grid,
.pema-reasons-grid {
	display: grid;
	gap: 28px;
	margin-block: 0;
}

.pema-benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pema-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pema-journey-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pema-reasons-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.pema-benefit-item,
.pema-team-member,
.pema-journey-step,
.pema-reason-item {
	min-width: 0;
	margin: 0;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(0, 48, 130, 0.2);
}

.pema-benefit-item > *,
.pema-team-member > *,
.pema-journey-step > *,
.pema-reason-item > * { margin-block: 0; }

.pema-benefit-item h3,
.pema-team-member h3,
.pema-journey-step h3,
.pema-reason-item h3 {
	color: var(--pema-blue);
	font-size: 26px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.pema-team-member h3 { font-size: 24px; }
.pema-reason-item h3 { font-size: 23px; }
.pema-benefit-item > p:last-child,
.pema-team-member > p:last-child {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.75;
}

.pema-team-member .wp-block-image { margin: 0 0 22px; }
.pema-team-member .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 8px;
}

.pema-registration-form .pema-form-layout { align-items: stretch; }
.pema-registration-form .pema-form-visual { min-height: 460px; }
.pema-registration-form .pema-form-visual img { height: 100%; object-fit: cover; }
.pema-registration-form .pema-form-grid label { margin-bottom: 10px; }
.pema-registration-form .pema-form-panel textarea { min-height: 120px; }

.pema-footer-follow { margin-top: 28px !important; font-weight: 600; }
.pema-footer-social.wp-block-social-links {
	gap: 10px 20px;
	margin: 16px 0 0;
	padding: 0;
	color: #fff;
}
.pema-footer-social.wp-block-social-links .wp-social-link { margin: 0; color: #fff; }
.pema-footer-social .wp-social-link a { min-height: 44px; gap: 8px; }
.pema-footer-social .wp-social-link-label { font-size: 12px; }
.pema-footer-social .wp-social-link a:hover { color: var(--pema-gold); }
.pema-footer-social .wp-social-link a:focus-visible { outline: 2px solid var(--pema-gold); outline-offset: 4px; }
.pema-quote-detail-grid [data-pema-cruise-field][hidden] { display: none; }

@media (max-width: 1024px) {
	.pema-team-grid,
	.pema-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pema-journey-grid,
	.pema-reasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.pema-benefits-grid,
	.pema-team-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.pema-journey-grid,
	.pema-reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.pema-virtuoso-points { grid-template-columns: minmax(0, 1fr); }
	.pema-registration-form .pema-form-visual { min-height: 280px; max-height: 380px; }
}

.pema-mega-feature a + a { display: block; margin-top: 12px; }
