/* Template Elementor — Single Socio (#1472)
 *
 * Colori di sfondo, tipografia, layout sezioni e blocco CV:
 * gestiti SOLO dal template Elementor. Nessun override visivo qui.
 *
 * Resta solo l'espansione al 100% quando una colonna affiancata
 * è nascosta dalle Display Conditions Elementor.
 */
.aiop-single-socio-top > .e-con:only-child,
.aiop-single-socio-top > .e-con-inner > .e-con:only-child,
.aiop-single-socio-awards-row > .e-con:only-child,
.aiop-single-socio-awards-row > .e-con-inner > .e-con:only-child {
	flex: 1 1 100%;
	max-width: 100%;
	--width: 100%;
}

/* Modalità embed — lightbox STL Faculty */
body.stl-faculty-socio-embed,
body.stl-faculty-socio-embed html {
	overflow-x: hidden;
	overflow-y: auto;
	height: auto;
	min-height: 100%;
}

body.stl-faculty-socio-embed #wpadminbar,
body.stl-faculty-socio-embed .aiop-biscotto-bar,
body.stl-faculty-socio-embed .elementor-location-header,
body.stl-faculty-socio-embed .elementor-location-footer,
body.stl-faculty-socio-embed #site-header,
body.stl-faculty-socio-embed #site-footer,
body.stl-faculty-socio-embed header.site-header,
body.stl-faculty-socio-embed footer.site-footer {
	display: none !important;
}

body.stl-faculty-socio-embed .site-main,
body.stl-faculty-socio-embed #content,
body.stl-faculty-socio-embed .elementor {
	overflow: visible !important;
}

body.stl-faculty-socio-embed .e-con,
body.stl-faculty-socio-embed .e-con-inner,
body.stl-faculty-socio-embed .e-con-boxed,
body.stl-faculty-socio-embed .elementor-widget-wrap {
	overflow: visible !important;
	max-width: 100% !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-top > .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-top > .e-con-inner,
body.stl-faculty-socio-embed .aiop-single-socio-awards-row > .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-awards-row > .e-con-inner {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-top > .e-con > .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-top > .e-con-inner > .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-awards-row > .e-con > .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-awards-row > .e-con-inner > .e-con {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	--width: 100% !important;
	align-self: flex-start !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-hero .e-con {
	flex: 0 0 auto !important;
	align-self: flex-start !important;
	height: auto !important;
	min-height: 0 !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-hero,
body.stl-faculty-socio-embed .aiop-single-socio-hero > .e-con-inner {
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	align-content: flex-start !important;
	gap: 10px !important;
	padding: 16px 16px !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-detail,
body.stl-faculty-socio-embed .aiop-single-socio-social,
body.stl-faculty-socio-embed .aiop-single-socio-premi {
	width: 100% !important;
	max-width: 100% !important;
	--width: 100% !important;
	padding: 20px 16px !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-profile-text,
body.stl-faculty-socio-embed .aiop-single-socio-profile-text > .e-con-inner {
	width: 100% !important;
	max-width: 100% !important;
	--width: 100% !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	align-content: flex-start !important;
	flex-direction: column !important;
	gap: 8px !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-profile-text .elementor-widget {
	margin-bottom: 0 !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-photo {
	width: 160px !important;
	max-width: 160px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-photo .elementor-widget-image,
body.stl-faculty-socio-embed .aiop-single-socio-photo .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-photo .elementor-widget-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 160px !important;
	max-height: 160px !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
	border-radius: 0 0 16px 0;
}

body.stl-faculty-socio-embed .aiop-single-socio-nome .elementor-heading-title {
	font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-localita .elementor-heading-title {
	font-size: clamp(1rem, 3.5vw, 1.35rem) !important;
	line-height: 1.3 !important;
	word-break: break-word;
	overflow-wrap: anywhere;
}

body.stl-faculty-socio-embed .aiop-single-socio-bio-title .elementor-heading-title,
body.stl-faculty-socio-embed .aiop-single-socio-map .elementor-heading-title {
	font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
	line-height: 1.25 !important;
}

body.stl-faculty-socio-embed .elementor-widget-text-editor,
body.stl-faculty-socio-embed .elementor-widget-text-editor p {
	font-size: clamp(0.95rem, 2.8vw, 1.05rem) !important;
	line-height: 1.55 !important;
	word-break: break-word;
	overflow-wrap: anywhere;
}

body.stl-faculty-socio-embed .elementor-heading-title {
	overflow: visible !important;
	text-overflow: unset !important;
	white-space: normal !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-cv-block {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 16px !important;
	padding: 16px !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-cv-block > .e-con {
	width: 100% !important;
	max-width: 100% !important;
	--width: 100% !important;
}

/* Mappa: layout originale, a tutta larghezza del container */
body.stl-faculty-socio-embed .aiop-single-socio-map {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch !important;
	flex: 1 1 auto !important;
	--width: 100% !important;
	overflow: hidden !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-map .e-con,
body.stl-faculty-socio-embed .aiop-single-socio-map .e-con-inner,
body.stl-faculty-socio-embed .aiop-single-socio-map .elementor-widget-wrap,
body.stl-faculty-socio-embed .aiop-single-socio-map .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch !important;
	overflow: hidden !important;
}

body.stl-faculty-socio-embed .aiop-single-socio-map .elementor-widget-aiop-mappa-socio,
body.stl-faculty-socio-embed .aiop-single-socio-map .aiop-mappa-socio {
	width: 100% !important;
	max-width: 100% !important;
	/* Altezza frame: regole da render() widget (style#aiop-mappa-socio-height-*), non azzerare min-height */
}
