/* Native TheGem full-width background row; no image filter or overlay layer. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-protected-itinerary > .block-content {
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-protected-itinerary :is(h1, h2, h3) {
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero {
	background: transparent;
	height: clamp(680px, 48vw, 700px);
	margin: 0 !important;
	padding: 0;
	position: relative;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero::before {
	display: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero > .vc_column_container,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero > .vc_column_container > .vc_column-inner,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper {
	height: 100%;
	padding: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper {
	position: relative;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__overlay {
	left: 50%;
	margin: 0 !important;
	max-width: min(1100px, calc(100% - 3rem));
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 1;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__overlay h1 {
	color: #fff !important;
	font-family: Montserrat, sans-serif;
	font-size: clamp(38px, 5vw, 76px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.12;
	margin: 0 auto .55rem;
	max-width: 1040px;
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .34);
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__destination {
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 1rem;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .34);
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__badge {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #fff;
	cursor: default;
	display: flex;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.25;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__badge::before {
	background: #006da5;
	content: "";
	display: block;
	height: 3px;
	margin: 0 auto 9px;
	width: 42px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__credit {
	bottom: 1.1rem;
	color: rgba(255, 255, 255, .92);
	font-size: .72rem;
	left: 1.25rem;
	margin: 0 !important;
	position: absolute;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
	z-index: 1;
}

/* The Nursing itinerary credit is a sibling of its centered title overlay, so
 * these offsets resolve against the actual full-width hero image container. */
body.page-id-25536 .cepa-itinerary-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper > .cepa-itinerary-hero__credit {
	bottom: 1.1rem;
	left: 1.25rem;
	margin: 0 !important;
	max-width: calc(100% - 2.5rem);
	position: absolute;
	z-index: 2;
}

body.page-id-25536 .cepa-itinerary-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper > .cepa-itinerary-hero__credit p {
	margin: 0;
}

/* Anchor the visual credit to TheGem's actual full-width background owner,
 * rather than to WPBakery's centered/mobile content wrappers. The editable
 * source line remains in the hero's WPBakery content. */
body.page-id-25536 .fullwidth-block:has(.cepa-itinerary-hero) {
	position: relative;
}

body.page-id-25536 .fullwidth-block:has(.cepa-itinerary-hero)::after {
	bottom: 1.1rem;
	color: rgba(255, 255, 255, .92);
	content: "© CEPA Study Abroad / Terra Education. All Rights Reserved";
	font-size: .72rem;
	left: 1.25rem;
	line-height: 1.25;
	max-width: calc(100% - 2.5rem);
	position: absolute;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
	z-index: 3;
}

body.page-id-25536 .cepa-itinerary-hero__credit {
	display: none;
}

/* Italian itinerary credits are anchored to the full-width image owner,
 * matching the established approved itinerary credit treatment. */
body .fullwidth-block:has(.cepa-itinerary-hero--anchored-credit) {
	position: relative;
}

body .fullwidth-block:has(.cepa-itinerary-hero--anchored-credit)::after {
	bottom: 1.1rem;
	color: rgba(255, 255, 255, .92);
	content: "© CEPA Study Abroad / Terra Education";
	font-size: .72rem;
	left: 1.25rem;
	line-height: 1.25;
	max-width: calc(100% - 2.5rem);
	position: absolute;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
	z-index: 3;
}

body .cepa-itinerary-hero--anchored-credit .cepa-itinerary-hero__credit {
	display: none;
}

/* Fashion in Paris and Milan retains the source's extended credit line while
 * the editable credit source remains with its WPBakery hero content. */
body:is(.page-id-25555, .page-id-25556, .page-id-25559, .page-id-25560) .fullwidth-block:has(.cepa-itinerary-hero--anchored-credit)::after {
	content: "© CEPA Study Abroad / Terra Education. All Rights Reserved";
}

/* The exact testimonial card pattern used by local Health & Safety. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote {
	background: #fff7e8;
	margin: 0 !important;
	max-width: none;
	padding: 0;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote > .vc_column_container > .vc_column-inner {
	margin: 0 auto;
	padding: clamp(50px, 6.4vw, 86px) 0 !important;
	width: min(1180px, calc(100% - 48px));
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial {
	background: #fff;
	border: 1px solid rgba(0, 109, 165, .17);
	border-left: 7px solid var(--cepa-basic-blue);
	border-radius: 16px;
	box-shadow: var(--cepa-basic-shadow);
	margin: 0 auto;
	max-width: 900px;
	padding: clamp(35px, 4.8vw, 59px) clamp(30px, 5.2vw, 68px);
	position: relative;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial::before {
	color: var(--cepa-basic-blue);
	content: "\201C";
	font-family: Georgia, serif;
	font-size: 84px;
	font-weight: 700;
	left: clamp(24px, 4vw, 48px);
	line-height: 1;
	position: absolute;
	top: -18px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial blockquote,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial p,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial figcaption { margin: 0; }

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial blockquote {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--cepa-basic-ink);
	font-family: var(--cepa-font-display);
	font-size: clamp(24px, 2.75vw, 38px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.18;
	padding: 0;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial blockquote::before,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial blockquote::after { content: none; display: none; }

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote .cepa-basic-content__testimonial figcaption {
	color: var(--cepa-basic-muted);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 22px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact__icon .gem-icon-half-1,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact__icon .gem-icon-half-2 {
	color: #006da5 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .gem-icon,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .gem-icon .gem-icon-half-1,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .gem-icon .gem-icon-half-2 {
	color: #006da5 !important;
}

/* Editable WPBakery fact columns become equal-height CEPA summary cards. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts {
	margin-bottom: 0;
	margin-top: 0;
	max-width: 1120px;
	padding: clamp(3.25rem, 6vw, 5.25rem) 1.5rem clamp(3.5rem, 6vw, 5.5rem);
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts .vc_inner {
	display: flex;
	flex-wrap: wrap;
	row-gap: 1.25rem;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact {
	display: flex;
	padding: 0 .625rem;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact > .vc_column-inner {
	background: #fff;
	border: 1px solid rgba(0, 109, 165, .16);
	box-shadow: 0 8px 20px rgba(22, 51, 77, .07);
	display: flex;
	padding: 24px !important;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact > .vc_column-inner > .wpb_wrapper {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-start;
	text-align: center;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .gem-icon {
	align-items: center;
	background: #eaf6fb;
	border-radius: 50%;
	display: flex !important;
	font-size: 26px !important;
	height: 48px !important;
	justify-content: center;
	line-height: 1 !important;
	margin: 0 0 12px !important;
	width: 48px !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .gem-icon-inner {
	display: flex;
	line-height: 1;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .wpb_text_column {
	margin-bottom: 0;
	width: 100%;
}

/* Removes the now-empty legacy icon paragraph; standalone native icons sit above the text block. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact .wpb_text_column .wpb_wrapper > p:has(> .cepa-itinerary-fact__icon) {
	display: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact__label {
	color: #486878;
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 7px;
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact__value {
	color: #17334d;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 16px;
	line-height: 1.43;
	margin: 0;
}

/* Existing itinerary copy retains normal title/sentence-case presentation. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary__body h2,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days h2 {
	text-transform: none;
}

/* One editable WPBakery row contains the approved day-by-day itinerary. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days {
	background: #edf6fb;
	border: 1px solid #d4e7f2;
	border-radius: 10px;
	box-sizing: border-box;
	margin: clamp(42px, 5vw, 64px) auto;
	max-width: 1120px;
	padding: clamp(56px, 5vw, 64px);
	width: calc(100% - 48px);
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days > .vc_column_container > .vc_column-inner {
	margin: 0;
	max-width: none;
	padding: 0 !important;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days h2 {
	margin-top: 0;
}

/* The remaining approved itinerary sections use the same editable row shell. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel {
	border: 1px solid;
	border-radius: 10px;
	box-sizing: border-box;
	margin: clamp(42px, 5vw, 64px) auto;
	max-width: 1120px;
	padding: clamp(56px, 5vw, 64px);
	width: calc(100% - 48px);
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel > .vc_column_container > .vc_column-inner {
	margin: 0;
	max-width: none;
	padding: 0 !important;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel h2,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel h3 {
	margin-top: 0;
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel--warm {
	background: #f4f3ef;
	border-color: #e4e1d8;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel--blue {
	background: #edf6fb;
	border-color: #d4e7f2;
}

/* The four existing program-information panels read as one compact sequence. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days {
	margin: 0 auto;
	padding: 28px 48px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts + .cepa-itinerary-panel {
	margin-top: 8px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel + br,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days + br {
	display: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel + br + .cepa-itinerary-days,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days + br + .cepa-itinerary-panel,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel + br + .cepa-itinerary-panel {
	margin-top: 16px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel--blue {
	margin-bottom: clamp(42px, 5vw, 64px);
}

/* The preserved sustainability material reads as one accessible, visible-card section. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability {
	background: #eff8f0;
	border: 1px solid #cfe5d3;
	border-radius: 10px;
	margin: 48px 0 0;
	padding: clamp(28px, 4vw, 52px);
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability h2 {
	color: #277a4b;
	margin-top: 0;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability h3 {
	color: #277a4b;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.25;
	margin: 30px 0 24px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards + .cepa-itinerary-cards {
	margin-top: 12px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards::before,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards::after {
	content: none !important;
	display: none !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card {
	float: none !important;
	max-width: none;
	padding: 0;
	width: auto;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card > .vc_column-inner {
	background: #fff;
	border: 1px solid #d3e8d6;
	border-radius: 0;
	color: #284437;
	height: 100%;
	padding: 22px !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__copy {
	margin: 0;
}

/* Native TheGem icons remain decorative; the card copy supplies the label. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__icon {
	align-items: center;
	display: flex;
	height: 48px;
	justify-content: center;
	line-height: 1;
	margin: 0 0 14px;
	overflow: hidden;
	width: 48px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__icon .gem-icon-inner {
	align-items: center;
	background: #e2f1e5 !important;
	border-radius: 50%;
	display: flex;
	height: 48px;
	justify-content: center;
	line-height: 1;
	margin: 0 !important;
	overflow: hidden;
	position: relative;
	width: 48px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__icon .gem-icon-half-1,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__icon .gem-icon-half-2 {
	align-items: center;
	color: #277a4b !important;
	display: flex !important;
	float: none !important;
	font-size: 24px;
	height: 48px !important;
	justify-content: center;
	line-height: 1;
	margin: 0 !important;
	overflow: visible;
	position: absolute !important;
	inset: 0;
	width: 48px !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card__icon .back-angle {
	display: block !important;
	height: 24px !important;
	line-height: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	vertical-align: middle;
	width: 24px !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-card strong {
	color: #277a4b;
	display: block;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 8px;
}

/* Keep the hero metadata as one centered, noninteractive content stack. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__badge {
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: max-content;
}

/* Each editable inner row uses the same simple icon-and-heading layout. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day {
	align-items: center;
	background: transparent;
	border: 0;
	display: flex;
	flex-wrap: nowrap;
	margin: 1rem 0;
	padding: 0;
}

/* Protected pages retain the panel's established outer inset even when
 * WPBakery supplies inner-row negative gutters. */
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .vc_inner {
	margin-left: 0;
	margin-right: 0;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day {
	align-items: flex-start;
	column-gap: 10px;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	width: 100%;
}

/* The protected day row deliberately reserves only the native icon's compact
 * 24px footprint plus a 10px breathing gap. The grid's first row is the title
 * row, so a pin stays centered on that line rather than on variable body copy. */
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__icon {
	align-self: start;
	box-sizing: border-box;
	flex: 0 0 28px;
	grid-column: 1;
	grid-row: 1;
	max-width: 28px;
	width: 28px;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__heading {
	box-sizing: border-box;
	grid-column: 2;
	grid-row: 1;
	max-width: none;
	min-width: 0;
	width: 100%;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__icon > .vc_column-inner,
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__icon .wpb_wrapper {
	width: 24px;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__heading > .vc_column-inner,
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__heading > .vc_column-inner > .wpb_wrapper {
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-days .cepa-itinerary-day__heading h3 {
	line-height: 32px;
	min-height: 32px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__icon {
	align-items: center;
	display: flex;
	flex: 0 0 32px;
	height: 32px;
	justify-content: center;
	max-width: 32px;
	padding: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__icon > .vc_column-inner,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__icon .wpb_wrapper {
	align-items: center;
	display: flex;
	height: 32px;
	justify-content: center;
	padding: 0 !important;
	width: 32px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__heading {
	flex: 1 1 auto;
	max-width: calc(100% - 32px);
	padding: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__heading h3 {
	margin: 0 !important;
	/* Canonical reset for the shared native WPBakery day-heading component. */
	text-transform: none !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__heading .wpb_text_column {
	margin-bottom: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__copy {
	margin-left: 32px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__pin,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__pin .gem-icon-inner {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: flex !important;
	height: 24px;
	justify-content: center;
	line-height: 1;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	width: 24px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__pin .gem-icon-half-1,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__pin .back-angle {
	align-items: center;
	color: #006da5 !important;
	display: flex !important;
	float: none !important;
	font-size: 24px;
	height: 24px !important;
	justify-content: center;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	width: 24px !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(.cepa-itinerary__body, .cepa-itinerary-days) .cepa-itinerary-day__pin .gem-icon-half-2 {
	display: none !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-inclusions {
	margin: 1rem 0 2rem;
	padding-left: 1.4rem;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-inclusions li {
	color: #17334d;
	line-height: 1.6;
	margin: .35rem 0;
	padding-left: .25rem;
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-inclusions li::marker {
	color: #006da5;
}

/* Closing planning choices: native WPBakery inner rows and TheGem icons. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__intro {
	margin: 0 auto;
	text-align: left;
}

/* Full itineraries share the deliberate, compact CTA gap after preceding content. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta-section {
	padding-top: 48px;
}

/* The global header already reserves its responsive stack height on #main.
 * Add guest-only breathing room after that reservation so native password
 * copy never sits under the fixed notice/header at any breakpoint. */
body.page-template-template-cepa-protected-itinerary .cepa-protected-itinerary--guest .block-content {
	margin-top: 0;
	padding-bottom: clamp(64px, 8vw, 112px) !important;
	padding-top: clamp(48px, 6vw, 80px) !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__intro h2 {
	margin: 0;
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability :is(h2, h3) {
	text-transform: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__intro p {
	margin: .85rem 0 0;
	max-width: 48rem;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta {
	border-top: 0 !important;
	display: grid !important;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(3.5rem, 6vw, 5rem);
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta::before,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta::after {
	content: none !important;
	display: none !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta > .cepa-itinerary-cta__card {
	display: block;
	float: none !important;
	max-width: none;
	min-width: 0;
	padding: 0 !important;
	width: auto;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card > .vc_column-inner {
	align-items: flex-start;
	background: #fff;
	border: 1px solid #cfe1ea;
	border-top: 4px solid #006da5;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(23, 51, 77, .08);
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 246px;
	overflow: hidden;
	padding: 30px 32px !important;
	position: relative;
	width: 100%;
}

/* WPBakery nests the native icon inside this wrapper; it is its required
 * positioning context so each decorative card glyph stays in the card. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	width: 100%;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon {
	color: #b9e4f3 !important;
	font-size: 88px !important;
	height: 88px !important;
	margin: 0 !important;
	opacity: .9;
	pointer-events: none;
	position: absolute !important;
	right: 24px;
	top: 24px;
	width: 88px !important;
	z-index: 1;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon :is(.gem-icon-half-1, .gem-icon-half-2, .back-angle) {
	color: #b9e4f3 !important;
}

/* Full-itinerary CTA: intentionally low-contrast corner watermarks. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon {
	color: #d9f1fa !important;
	opacity: .52 !important;
	/* The WPBakery wrapper begins inside the card's 30px/32px padding. These
	 * offsets produce a safe 12px visual inset from the actual card edges. */
	right: -21px;
	top: -22px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon :is(.gem-icon-half-1, .gem-icon-half-2, .back-angle) {
	color: #d9f1fa !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .cepa-itinerary-cta__copy {
	margin: 0;
	padding-top: 34px;
	position: relative;
	z-index: 2;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__description {
	margin: 0;
	position: relative;
	z-index: 2;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__title {
	color: #17334d;
	font-family: Montserrat, sans-serif;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin: 0;
	max-width: calc(100% - 104px);
	padding: 0;
	text-transform: none;
}


body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .gem-button-container {
	margin: auto 0 0 !important;
	position: relative;
	z-index: 2;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .gem-button-container .gem-button {
	align-items: center;
	background: #006da5;
	border: 1px solid #006da5;
	border-radius: 7px;
	color: #fff;
	display: inline-flex;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	min-height: 50px;
	padding: 13px 21px;
	text-decoration: none;
	text-transform: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .gem-button-container .gem-button:hover {
	background: #fff;
	color: #006da5;
	text-decoration: none;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .gem-button-container .gem-button:focus-visible {
	outline: 3px solid #17334d;
	outline-offset: 3px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card p {
	font-size: 16px;
	line-height: 1.5;
	margin: 16px 0 0;
	max-width: 100%;
}

/* One shared outer alignment token for the regular middle-content sequence. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) {
	--cepa-itinerary-middle-width: 1120px;
	--cepa-itinerary-middle-gutter: 24px;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) :is(
	.cepa-itinerary-facts,
	.cepa-itinerary-panel,
	.cepa-itinerary-days,
	.cepa-itinerary-sustainability,
	.cepa-itinerary-cta__intro,
	.cepa-itinerary-cta
) {
	box-sizing: border-box;
	max-width: var(--cepa-itinerary-middle-width);
	margin-inline: auto;
	width: calc(100% - (var(--cepa-itinerary-middle-gutter) * 2));
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

@media (max-width: 1023px) {
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) { --cepa-itinerary-middle-gutter: 16px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts + .cepa-itinerary-panel { margin-top: 8px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__intro { margin-top: 0; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero { height: clamp(430px, 145vw, 560px); }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__overlay { max-width: calc(100% - 2rem); }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__overlay h1 { font-size: clamp(2rem, 10vw, 2.8rem); line-height: 1.13; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__destination { font-size: 1.35rem; margin-bottom: .85rem; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__badge { font-size: .68rem; padding: .52rem .68rem; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-hero__credit { bottom: .8rem; font-size: .62rem; left: 1rem; max-width: calc(100% - 2rem); }
	body.page-id-25536 .cepa-itinerary-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper > .cepa-itinerary-hero__credit { bottom: .8rem; left: 1rem; max-width: calc(100% - 2rem); }
	body.page-id-25536 .fullwidth-block:has(.cepa-itinerary-hero)::after { bottom: .8rem; font-size: .62rem; left: 1rem; max-width: calc(100% - 2rem); }
	body:is(.page-id-25548, .page-id-25549) .fullwidth-block:has(.cepa-itinerary-hero--anchored-credit)::after { bottom: .8rem; font-size: .62rem; left: 1rem; max-width: calc(100% - 2rem); }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-basic-content-page.cepa-itinerary-quote > .vc_column_container > .vc_column-inner { padding: 43px 0 48px !important; width: min(100% - 32px, 1180px); }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts { padding: 3rem 1rem 0; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts { padding-left: 0; padding-right: 0; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-facts .vc_inner { row-gap: 1rem; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact { flex: 0 0 100%; max-width: 100%; padding: 0; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact > .vc_column-inner { padding: 1.5rem 1.25rem !important; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days {
		margin: 0 auto;
		padding: 28px 22px;
		width: calc(100% - 32px);
	}
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel {
		padding: 28px 22px;
		width: calc(100% - 32px);
	}
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel + br + .cepa-itinerary-days,
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-days + br + .cepa-itinerary-panel,
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-panel + br + .cepa-itinerary-panel { margin-top: 12px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability { margin: 36px 0 0; padding: 26px 20px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta-section { padding-top: 32px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards { grid-template-columns: 1fr; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta { grid-template-columns: 1fr; margin-bottom: 3rem; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta > .cepa-itinerary-cta__card { max-width: none; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .cepa-itinerary-cta__copy { padding-right: 96px; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon { font-size: 72px !important; height: 72px !important; right: 20px; top: 20px; width: 72px !important; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__icon { font-size: 64px !important; height: 64px !important; right: -21px; top: -22px; width: 64px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-fact { flex: 0 0 50%; max-width: 50%; }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-sustainability .cepa-itinerary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-cta__card .cepa-itinerary-cta__copy { padding-right: 120px; }
}

@media (max-width: 600px) {
	body.page-template-template-cepa-protected-itinerary .cepa-global-header__bar-inner {
		gap: 4px;
		grid-template-columns: minmax(0, 1fr) auto;
		position: relative;
	}

	body.page-template-template-cepa-protected-itinerary .cepa-global-header__brand,
	body.page-template-template-cepa-protected-itinerary .cepa-global-header__brand img {
		width: 150px;
	}

	body.page-template-template-cepa-protected-itinerary .cepa-global-header__mobile-controls {
		gap: 0;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	body.page-template-template-cepa-protected-itinerary .cepa-global-header__search-trigger--mobile {
		display: none;
	}
}

/* Protected Itinerary: native WPBakery image-grid gallery. */
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery > .vc_column_container,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .vc_column-inner,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_wrapper,
body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_gallery {
	margin: 0;
	padding: 0;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 !important;
	padding: 0 !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul .isotope-item {
	margin: 0 !important;
	position: static !important;
	width: auto !important;
}

body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul img {
	display: block;
	height: clamp(210px, 18vw, 310px);
	object-fit: cover;
	object-position: center;
	width: 100%;
}

/* European Perspectives on Nursing: retain the native two-image grid inside
 * the same centered middle column as its immediately preceding pricing panel. */
body.page-id-25536 .cepa-itinerary-gallery,
body.page-id-25536 .cepa-itinerary-gallery > .vc_column_container,
body.page-id-25536 .cepa-itinerary-gallery > .vc_column_container > .vc_column-inner,
body.page-id-25536 .cepa-itinerary-gallery > .vc_column_container > .vc_column-inner > .wpb_wrapper,
body.page-id-25536 .cepa-itinerary-gallery .wpb_gallery {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body.page-id-25536 .cepa-itinerary-gallery {
	margin: 16px auto 0;
	max-width: var(--cepa-itinerary-middle-width);
	width: calc(100% - (var(--cepa-itinerary-middle-gutter) * 2));
}

body.page-id-25536 .cepa-itinerary-gallery .wpb_image_grid_ul {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

body.page-id-25536 .cepa-itinerary-gallery .wpb_image_grid_ul .isotope-item {
	border-radius: 10px;
	margin: 0 !important;
	overflow: hidden;
	position: static !important;
	width: auto !important;
}

body.page-id-25536 .cepa-itinerary-gallery .wpb_image_grid_ul img {
	border-radius: 10px;
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

/* A single source activity image remains a native WPBakery image, not a gallery. */
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-activity-image,
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-activity-image .wpb_wrapper,
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-activity-image .wpb_single_image,
body.page-template-template-cepa-protected-itinerary .cepa-itinerary-activity-image .vc_single_image-wrapper {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

body.page-template-template-cepa-protected-itinerary .cepa-itinerary-activity-image img {
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(18, 58, 84, .16);
	display: block;
	height: auto;
	width: 100%;
}

@media (max-width: 991px) {
	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body.page-id-25536 .cepa-itinerary-gallery .wpb_image_grid_ul {
		grid-template-columns: 1fr;
	}

	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul {
		grid-template-columns: 1fr;
	}

	body:is(.page-template-template-cepa-protected-itinerary, .page-template-template-cepa-public-itinerary-teaser) .cepa-itinerary-photo-gallery .wpb_image_grid_ul img {
		height: min(75vw, 320px);
	}
}
