/* Home: full-width Elementor canvas (edge-to-edge sections). */
.home.elementor-page .site-content,
.home.elementor-page .site-content_wrap,
.home.elementor-page #primary,
.home.elementor-page .site-main {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.home.elementor-page .site-content_wrap > .row {
	margin-left: 0;
	margin-right: 0;
	display: block;
}

.home.elementor-page .site-content_wrap > .row > #primary {
	float: none;
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.home.elementor-page .elementor-5 {
	max-width: none;
}

.home.elementor-page .elementor-section.elementor-top-section {
	width: 100%;
	max-width: 100%;
}

/* Inner content still readable; backgrounds go full bleed */
.home.elementor-page .elementor-section.elementor-section-full_width > .elementor-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

/* True full-bleed bands (hero, countdown, inscription) keep container fluid when needed */
.home.elementor-page .elementor-element-hero01 > .elementor-container,
.home.elementor-page .elementor-element-count01 > .elementor-container,
.home.elementor-page .elementor-element-reg01 > .elementor-container {
	max-width: 1200px;
}

/* SAFIPIM event overlays on Cozydesks — structural only, brand accent. */
.safipim-event-site .safipim-hero__brand {
	color: inherit;
}

.safipim-event-site .site-header {
	z-index: 1000;
}

.safipim-event-site .safipim-section {
	margin: 2.5rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.safipim-event-site .safipim-section > h2 {
	margin-bottom: 1rem;
}

.safipim-event-site .safipim-faq details {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 0.75rem 0;
}

.safipim-event-site .safipim-faq summary {
	font-weight: 600;
	cursor: pointer;
}

.safipim-event-site .safipim-figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.safipim-event-site .safipim-figures strong {
	display: block;
	font-size: 1.75rem;
	font-variant-numeric: tabular-nums;
}

.safipim-event-site .safipim-btn,
.safipim-event-site .safipim-cta .safipim-btn {
	border-radius: 2px;
}

/* Programme overview: center the whole block in the section (timeline stays left-aligned) */
.home .elementor-element-prog01 {
	text-align: center;
}

.home .elementor-element-prog01 .elementor-widget-heading .elementor-heading-title,
.home .elementor-element-prog01 .elementor-button-wrapper {
	text-align: center;
}

.home .elementor-element-prog01 .safipim-programme {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

/* Registration / Contact readability */
.home .elementor-element-reg01 .elementor-heading-title {
	color: #ffffff !important;
}

.home .elementor-element-reg01 .safipim-btn {
	background: #c9a227;
	border-color: #c9a227;
	color: #0a2540 !important;
}

.home .elementor-element-reg01 .safipim-btn--secondary {
	background: transparent;
	color: #fff !important;
	border-color: #fff;
}

.home .elementor-element-map01 .elementor-heading-title {
	color: #1a1f1c !important;
}

/* Internal pages: match home full-width Elementor UI */
.page.elementor-page .site-content,
.page.elementor-page .site-content_wrap,
.page.elementor-page #primary,
.page.elementor-page .site-main {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.page.elementor-page .site-content_wrap > .row {
	margin-left: 0;
	margin-right: 0;
	display: block;
}

.page.elementor-page .site-content_wrap > .row > #primary {
	float: none;
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.page.elementor-page .elementor-section.elementor-section-full_width > .elementor-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

/* Registration form polish on Inscription page */
.safipim-registration {
	display: grid;
	gap: 2rem;
}

@media (min-width: 992px) {
	.safipim-registration {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.safipim-registration__payment {
		grid-column: 1 / -1;
	}
}

.safipim-registration__section {
	background: #fff;
	border: 1px solid #e2ddd0;
	padding: 1.5rem;
	margin: 0;
	border-bottom: 0;
}

.safipim-registration__section h2 {
	margin-top: 0;
	color: #0a2540;
}

.safipim-registration__payment {
	background: #fff;
	border: 1px solid #e2ddd0;
	padding: 1.5rem;
}

.safipim-form label {
	color: #1a1f2c;
}

.safipim-form input,
.safipim-form select,
.safipim-form textarea {
	color: #1a1f2c;
	background: #fff;
	border: 1px solid #e2ddd0;
	max-width: 100%;
}

.safipim-form input:focus,
.safipim-form select:focus,
.safipim-form textarea:focus {
	outline: 2px solid #c9a227;
	outline-offset: 1px;
}

.page-id-7 .safipim-programme {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}


.site-footer .footer-copyright,
.site-footer .footer-area,
.site-footer .contact-block,
.site-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-copyright a:hover,
.site-footer a:hover {
	color: #c9a227;
}

.site-footer .site-logo__link {
	color: #c9a227 !important;
	font-weight: 700;
	text-decoration: none;
}

/* Header logo sizing */
.site-header .site-logo__img,
.site-header .site-logo img {
	max-height: 52px;
	width: auto;
}

.site-footer .footer-logo img,
.site-footer .site-logo__img {
	max-height: 48px;
	width: auto;
}


/* Brand logo — readable wordmark on invert header */
.site-header .site-logo--image img,
.site-header .site-logo__img,
.site-header .site-link__img {
	max-height: 56px !important;
	width: auto !important;
	max-width: 280px;
	object-fit: contain;
}
.site-footer .site-logo--image img,
.site-footer .footer-logo img {
	max-height: 48px !important;
	width: auto !important;
	max-width: 240px;
}

/* Consistent page heroes (home + inner) — taller, vertically centered */
.elementor-page .elementor-top-section:first-child,
.home .elementor-element-hero01,
.page .elementor-element-cth,
.page .elementor-element-inh,
.page .elementor-element-evh,
.page .elementor-element-prh,
.page .elementor-element-sph,
.page .elementor-element-exh {
	min-height: 52vh !important;
	display: flex !important;
	align-items: center !important;
}

.elementor-page .elementor-top-section:first-child > .elementor-container,
.home .elementor-element-hero01 > .elementor-container,
.page .elementor-element-cth > .elementor-container,
.page .elementor-element-inh > .elementor-container,
.page .elementor-element-evh > .elementor-container,
.page .elementor-element-prh > .elementor-container,
.page .elementor-element-sph > .elementor-container,
.page .elementor-element-exh > .elementor-container {
	min-height: 52vh !important;
	display: flex !important;
	align-items: center !important;
	width: 100%;
}

.elementor-page .elementor-top-section:first-child .elementor-widget-wrap,
.home .elementor-element-hero01 .elementor-widget-wrap {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	min-height: inherit;
	align-content: center !important;
}

.home .elementor-element-hero01 > .elementor-background-overlay {
	background: linear-gradient(
		180deg,
		rgba(10, 37, 64, 0.55) 0%,
		rgba(10, 37, 64, 0.35) 45%,
		rgba(10, 37, 64, 0.65) 100%
	) !important;
	opacity: 1 !important;
}

@media (max-width: 767px) {
	.elementor-page .elementor-top-section:first-child,
	.home .elementor-element-hero01,
	.page .elementor-element-cth,
	.page .elementor-element-inh,
	.page .elementor-element-evh,
	.page .elementor-element-prh,
	.page .elementor-element-sph,
	.page .elementor-element-exh,
	.elementor-page .elementor-top-section:first-child > .elementor-container,
	.home .elementor-element-hero01 > .elementor-container {
		min-height: 44vh !important;
	}
}

