.cepa-basic-content-page .cepa-facility__hero .wpb_wrapper,
.cepa-basic-content-page .cepa-facility__hero .cepa-basic-content__hero-title {
	max-width: none;
}

@media (min-width: 1024px) {
	/* Retain the original two-line hero's height without constraining the title. */
	.cepa-basic-content-page .cepa-facility__hero {
		min-height: calc(clamp(76px, 8vw, 110px) + clamp(68px, 7vw, 96px) + 152.9px);
	}
}

/* Published Facilities: match the Dates & Fees hero without changing its title.
 * Keep the earlier height rule for the separate facility draft. */
body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero {
	min-height: 188px;
}

/* The shared hero shell sets its column padding with !important. */
body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero > .vc_column_container > .vc_column-inner {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

@media (max-width: 1023px) {
	body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero {
		min-height: 176px;
	}
}

@media (max-width: 767px) {
	body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero {
		min-height: 165px;
	}

	/* Allow the unchanged two-line heading and its existing bottom margin. */
	body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero > .vc_column_container > .vc_column-inner {
		padding-bottom: 9px !important;
	}
}

@media (max-width: 375px) {
	body.page-id-25052 .cepa-basic-content-page .cepa-facility__hero {
		min-height: 194px;
	}
}

.cepa-facility__tour,
.cepa-facility__about,
.cepa-facility__strasbourg {
	padding: 72px max(24px, calc((100% - 1180px) / 2));
}

.cepa-facility__tour {
	padding-top: 42px;
	background: #f4f7f5;
}

.cepa-facility__hotspot {
	max-width: 1500px;
	margin: 0 auto;
}

.cepa-basic-content-page .cepa-facility__tour,
.cepa-basic-content-page .cepa-facility__tour > .wpb_column,
.cepa-basic-content-page .cepa-facility__tour > .wpb_column > .vc_column-inner,
.cepa-basic-content-page .cepa-facility__tour > .wpb_column > .vc_column-inner > .wpb_wrapper,
.cepa-facility__hotspot,
.cepa-facility__hotspot .thegem-hotspot-widget,
.cepa-facility__hotspot .thegem-hotspot-image-wrap {
	overflow: visible;
}

.cepa-basic-content-page .cepa-facility__tour { z-index: 4; isolation: isolate; }
.cepa-facility__hotspot { position: relative; z-index: 1; }
.cepa-facility__hotspot .thegem-hotspot-item.active,
.cepa-facility__hotspot .thegem-hotspot-item:focus-within { z-index: 30; }

.cepa-facility__hotspot .thegem-hotspot-image-wrap > img {
	width: 100%;
	height: auto;
}

.cepa-facility__hotspot .thegem-hotspot-marker {
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	line-height: 1;
	min-width: 30px;
	min-height: 30px;
	display: grid;
	place-items: center;
}

.cepa-facility__hotspot .thegem-hotspot-label { font-size: 12px; }
.cepa-facility__hotspot .thegem-hotspot-tooltip { z-index: 31; max-height: var(--cepa-hotspot-tooltip-max-height, none); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.cepa-facility__hotspot .thegem-hotspot-tooltip img { display: block; width: 100%; height: auto; margin-top: 14px; }
.cepa-facility__hotspot .thegem-hotspot-tooltip-content p { margin: 0 0 12px; }
.cepa-facility__hotspot .thegem-hotspot-tooltip-content p:last-child { margin-bottom: 0; }
.cepa-facility__hotspot .thegem-hotspot-item:focus-visible .thegem-hotspot-marker { outline: 3px solid #f9cc4b; outline-offset: 3px; }
.cepa-facility__hotspot .thegem-hotspot-item.active .thegem-hotspot-tooltip { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-top.active .thegem-hotspot-tooltip { transform: translateX(-50%) translateY(-8px); }
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-bottom.active .thegem-hotspot-tooltip { transform: translateX(-50%) translateY(8px); }
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-left.active .thegem-hotspot-tooltip { transform: translateY(-50%) translateX(-8px); }
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-right.active .thegem-hotspot-tooltip { transform: translateY(-50%) translateX(8px); }
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-top .thegem-hotspot-tooltip,
.cepa-facility__hotspot .thegem-hotspot-item.thegem-hotspot-position-bottom .thegem-hotspot-tooltip { margin-left: var(--cepa-hotspot-tooltip-shift-x, 0px); }

.cepa-facility__intro { max-width: 770px; margin: 30px auto 0; text-align: center; }
.cepa-facility__intro p { margin: 0 0 10px; }
.cepa-facility__about { background: #fff; }
.cepa-facility__about-grid, .cepa-facility__strasbourg-grid { display: flex; align-items: center; gap: 56px; }
.cepa-facility__about h2, .cepa-facility__strasbourg h2 { margin-top: 0; color: #006da5; }
.cepa-facility__staircase img { width: 100%; height: auto; }
.cepa-facility__strasbourg { background: #edf4f7; }
.cepa-facility__strasbourg-image, .cepa-facility__strasbourg-image figure, .cepa-facility__strasbourg-image .vc_single_image-wrapper { display: block; width: 100%; margin: 0; }
.cepa-facility__strasbourg-image img { display: block; width: 100%; height: 420px; object-fit: cover; object-position: center; }
.cepa-facility__cta-image.vc_row > .wpb_column > .vc_column-inner, .cepa-facility__cta-image.vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper { width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.cepa-facility__cta-image, .cepa-facility__cta-image .wpb_wrapper, .cepa-facility__cta-image .wpb_single_image, .cepa-facility__cta-image figure, .cepa-facility__cta-image .vc_single_image-wrapper { width: 100%; margin: 0; }
.cepa-facility__cta-image .vc_single_image-wrapper { display: block; }
.cepa-facility__cta-image img { display: block; width: 100%; height: 495px; object-fit: cover; object-position: center; }
.cepa-facility__links { padding: 94px 0 104px; background: #edf4f7; }
.cepa-facility__links-grid { display: flex; gap: 24px; max-width: 1160px; margin: 0 auto; }
.cepa-facility__links-grid > .wpb_column { display: flex; }
.cepa-facility__links-grid > .wpb_column > .vc_column-inner { display: flex; width: 100%; }
.cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 282px; padding: 42px 30px; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 58, 83, .12); transition: box-shadow .2s ease, transform .2s ease; }
.cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:hover, .cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:focus-within { box-shadow: 0 18px 38px rgba(0, 58, 83, .2); transform: translateY(-4px); }
.cepa-facility__link-icon {
	width: 82px !important;
	height: 82px !important;
	margin: 0 auto 20px !important;
	border: 2px solid #006da5 !important;
	border-radius: 50% !important;
	display: grid !important;
	place-items: center;
	transition: border-color .2s ease, background-color .2s ease;
}
.cepa-facility__link-icon::before { color: #006da5; }
.cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:hover .cepa-facility__link-icon, .cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:focus-within .cepa-facility__link-icon { border-color: #f9cc4b !important; background: #f9cc4b; }
.cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:hover .cepa-facility__link-icon::before, .cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper:focus-within .cepa-facility__link-icon::before { color: #00496f; }
.cepa-facility__links .cepa-facility__links-grid .cepa-facility__link-card,
.cepa-facility__link-card > .wpb_wrapper,
.cepa-facility__link-card h3,
.cepa-facility__link-card a { position: static !important; }
.cepa-facility__link-card { width: 100%; padding: 0; color: #173a4b; text-align: center; }
.cepa-facility__link-card h3 { min-height: 2.7em; margin: 0 0 10px; font-size: 18px; line-height: 1.35; }
.cepa-facility__link-card a { color: #006da5; text-decoration: none; }
.cepa-facility__link-card a::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: 10px; }
.cepa-facility__link-card a:hover, .cepa-facility__link-card a:focus-visible { color: #00496f; }
.cepa-facility__link-card a:focus-visible::after { outline: 3px solid #f9cc4b; outline-offset: 5px; }
.cepa-facility__link-card p { margin: 0; color: #4f6570; }

@media (max-width: 767px) {
	.cepa-facility__tour, .cepa-facility__about, .cepa-facility__strasbourg { padding: 48px 20px; }
	.cepa-facility__about-grid, .cepa-facility__strasbourg-grid { display: block; }
	.cepa-facility__strasbourg-image { margin-bottom: 28px; }
	.cepa-facility__strasbourg-image img { height: 300px; }
	.cepa-facility__cta-image img { height: 310px; }
	.cepa-facility__links { padding: 64px 20px 72px; }
	.cepa-facility__links-grid { display: block; }
	.cepa-facility__links-grid > .wpb_column + .wpb_column { margin-top: 20px; }
	.cepa-facility__links-grid > .wpb_column > .vc_column-inner > .wpb_wrapper { min-height: 242px; padding: 34px 24px; }
	.cepa-facility__link-card { padding: 0 18px; }
	.cepa-facility__link-icon { margin-bottom: 16px; }
	.cepa-facility__staircase { margin-top: 28px; }
	.cepa-facility__hotspot .thegem-hotspot-tooltip { max-width: min(280px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
	.cepa-facility__hotspot *, .cepa-facility__hotspot *::before, .cepa-facility__hotspot *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
