/**
 * STL FlipBox — ottimizzazioni mobile (≤767px).
 * Touch, tipografia, layout split/expand senza dipendere dall’hover.
 */

@media (max-width: 767px) {
	.elementor-widget-stl-flip-box,
	.elementor-widget-aiop-pubblicazioni-list {
		--stl-flipbox-mobile-media-ratio: 42%;
		--stl-flipbox-mobile-overlay-text-fr: 3fr;
		--stl-flipbox-mobile-overlay-media-fr: 2fr;
		--stl-flipbox-mobile-gutter: clamp(12px, 3.5vw, 16px);
		--stl-flipbox-mobile-radius-br: 14px;
	}

	/* Card: solo angolo basso-destra arrotondato (faculty / congresso) */
	.elementor-widget-stl-flip-box .elementor-flip-box,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box,
	.elementor-widget-stl-flip-box .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box__layer__overlay,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__layer__overlay,
	.elementor-widget-stl-flip-box .stl-flipbox__text-group,
	.elementor-widget-stl-flip-box .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-body {
		border-radius: 0 0 var(--stl-flipbox-mobile-radius-br) 0 !important;
	}

	.elementor-widget-stl-flip-box .stl-flipbox__front-media,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__front-media {
		border-radius: 0 !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__button,
	.elementor-widget-stl-flip-box .stl-flipbox__expand-button,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__button,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-button {
		border-radius: 0 0 var(--stl-flipbox-mobile-radius-br) 0 !important;
	}

	/* Un solo bordo visibile: gli stili Elementor su layer interni non si sommano al contenitore */
	.elementor-widget-stl-flip-box .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box__layer__overlay,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__layer__overlay,
	.elementor-widget-stl-flip-box .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__text-group,
	.elementor-widget-stl-flip-box .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-body,
	.elementor-widget-stl-flip-box .stl-flipbox__front-expand,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__front-expand {
		border: none !important;
		box-shadow: none !important;
		outline: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box {
		--stl-flipbox-split-media-height: var(--stl-flipbox-mobile-media-ratio);
		box-sizing: border-box;
		max-width: 100%;
		min-height: min(360px, 88vw);
		width: 100%;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__layer__title,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__layer__title {
		font-size: clamp(1rem, 4.2vw, 1.25rem) !important;
		line-height: 1.25 !important;
		overflow-wrap: anywhere;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__layer__description,
	.elementor-widget-stl-flip-box .stl-flipbox__expand-description,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__layer__description,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-description {
		font-size: clamp(0.875rem, 3.4vw, 0.9375rem) !important;
		line-height: 1.45 !important;
		overflow-wrap: anywhere;
	}

	.elementor-widget-stl-flip-box .stl-flipbox__text-group,
	.elementor-widget-stl-flip-box .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__overlay-expand {
		max-width: calc(100% - var(--stl-flipbox-mobile-gutter)) !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__button,
	.elementor-widget-stl-flip-box .stl-flipbox__expand-button,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__button,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-button {
		align-self: flex-start;
		justify-content: center;
		min-height: 44px;
		min-width: 44px;
		padding: 0.65em 1.1em;
	}

	/* Split: metà immagine, metà testo */
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--split .stl-flipbox__front-split,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--split .stl-flipbox__front-split {
		--stl-flipbox-split-media-height: var(--stl-flipbox-mobile-media-ratio);
	}

	/*
	 * Split-expand (default mobile): immagine full-bleed + overlay testi glass su tutta la card,
	 * contenuto centrato in verticale, reveal sempre aperto (vedi sotto).
	 */
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand {
		position: relative !important;
		height: 100% !important;
		min-height: inherit !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-expand {
		display: block !important;
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		flex-direction: unset !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media {
		position: absolute !important;
		inset: 0 !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		max-height: none !important;
		flex: none !important;
		margin: 0 !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-size: cover !important;
		display: block !important;
		opacity: 1 !important;
		overflow: hidden !important;
		padding: 0 !important;
		pointer-events: none !important;
		visibility: visible !important;
		z-index: 1 !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body,
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-body.stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-body.stl-flipbox__expand-body {
		position: absolute !important;
		inset: 0 !important;
		top: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		flex: none !important;
		padding: 0 !important;
		margin: 0 !important;
		z-index: 2 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: stretch !important;
		background-image: none !important;
		-webkit-backdrop-filter: blur(var(--stl-flipbox-expand-glass-blur, 4px)) !important;
		backdrop-filter: blur(var(--stl-flipbox-expand-glass-blur, 4px)) !important;
		background-color: var(--stl-flipbox-expand-glass-bg, rgba(233, 233, 233, 0.72)) !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-viewport,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-viewport,
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-track,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-track,
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__text-group {
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-viewport,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-viewport {
		flex: 1 1 auto !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: stretch !important;
		box-sizing: border-box !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: 100% !important;
		width: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-track,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__expand-track,
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body .stl-flipbox__text-group {
		flex: 0 1 auto !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: clamp(0.35rem, 1.6vw, 0.5rem) !important;
		box-sizing: border-box !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .elementor-flip-box__layer__title,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .elementor-flip-box__layer__title {
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow-wrap: anywhere;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-description,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-description,
	.elementor-widget-stl-flip-box .elementor-flip-box__front.stl-flipbox__front--expand .elementor-flip-box__layer__description:not(.stl-flipbox__expand-description),
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front.stl-flipbox__front--expand .elementor-flip-box__layer__description:not(.stl-flipbox__expand-description) {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Layout classico (sfondo su .elementor-flip-box__front): metà alta = immagine */
	.elementor-widget-stl-flip-box .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand),
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) {
		background-position: center top !important;
		background-size: cover !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
		overflow: hidden !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand)::before,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand)::before {
		content: '' !important;
		display: block !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		min-height: 0 !important;
		pointer-events: none !important;
		width: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) > .elementor-flip-box__layer__overlay,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) > .elementor-flip-box__layer__overlay {
		grid-column: 1 !important;
		grid-row: 2 !important;
		height: auto !important;
		inset: auto !important;
		margin: 0 !important;
		max-height: none !important;
		min-height: 0 !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) .stl-flipbox__graphic,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) .stl-flipbox__graphic {
		bottom: auto !important;
		left: auto !important;
		margin: 0 auto 0.5rem !important;
		position: relative !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		width: auto !important;
	}

	/* Split-expand / overlay-expand: contenuto esteso sempre visibile (niente hover) */
	.elementor-widget-stl-flip-box .stl-flipbox__expand-reveal,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-reveal {
		grid-template-rows: 1fr !important;
		transition: none !important;
	}

	.elementor-widget-stl-flip-box .stl-flipbox__expand-reveal-inner,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__expand-reveal-inner {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media {
		top: 0 !important;
		height: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__expand-body {
		top: 0 !important;
		height: 100% !important;
	}

	/* Overlay-expand: immagine sopra (~40%), box testo sotto (~60%) */
	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand {
		background-position: center top !important;
		background-size: cover !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, var(--stl-flipbox-mobile-overlay-media-fr, 2fr)) minmax(0, var(--stl-flipbox-mobile-overlay-text-fr, 3fr)) !important;
		height: 100% !important;
		min-height: inherit !important;
		overflow: hidden !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand::before,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand::before {
		content: '' !important;
		display: block !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		min-height: 0 !important;
		pointer-events: none !important;
		width: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand .elementor-flip-box__layer__overlay,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand .elementor-flip-box__layer__overlay {
		align-items: stretch !important;
		align-self: stretch !important;
		display: flex !important;
		flex-direction: column !important;
		grid-column: 1 !important;
		grid-row: 2 !important;
		height: 100% !important;
		inset: auto !important;
		justify-content: stretch !important;
		margin: 0 !important;
		max-height: none !important;
		min-height: 100% !important;
		padding: 0 !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand .elementor-flip-box__layer__inner,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip .elementor-flip-box__front.stl-flipbox__front--overlay-expand .elementor-flip-box__layer__inner {
		align-items: stretch !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		height: 100% !important;
		max-width: 100% !important;
		min-height: 100% !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip .stl-flipbox__overlay-expand {
		padding: var(--stl-flipbox-mobile-gutter) !important;
		align-self: stretch !important;
		bottom: auto !important;
		box-sizing: border-box !important;
		flex: 1 1 100% !important;
		height: 100% !important;
		left: auto !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: 100% !important;
		min-height: 100% !important;
		overflow-y: visible !important;
		overflow-x: hidden !important;
		position: relative !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		width: 100% !important;
	}

	/* Mobile: niente flip 3D al tap (:focus-within / :focus-visible) */
	.elementor-widget-stl-flip-box .elementor-flip-box:not(.stl-flipbox--no-flip) .elementor-flip-box__back,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:not(.stl-flipbox--no-flip) .elementor-flip-box__back {
		display: none !important;
		pointer-events: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:not(.stl-flipbox--no-flip) .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:not(.stl-flipbox--no-flip) .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-visible .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-visible .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__back,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-visible .elementor-flip-box__back,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__back,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-visible .elementor-flip-box__back {
		transform: none !important;
		opacity: 1 !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box,
	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--mobile-no-tap,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--mobile-no-tap {
		cursor: default !important;
	}

	/* Touch/mobile: niente expand/hover (layout già espanso) */
	.elementor-widget-stl-flip-box .elementor-flip-box,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box,
	.elementor-widget-stl-flip-box .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .elementor-flip-box__front .stl-flipbox__graphic,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front .stl-flipbox__graphic {
		transition: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover .stl-flipbox__expand-reveal,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .stl-flipbox__expand-reveal,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .stl-flipbox__expand-reveal,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .stl-flipbox__expand-reveal {
		grid-template-rows: 1fr !important;
		transition: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover .stl-flipbox__expand-reveal-inner,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .stl-flipbox__expand-reveal-inner,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .stl-flipbox__expand-reveal-inner,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .stl-flipbox__expand-reveal-inner {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within,
	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front {
		transform: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front .stl-flipbox__graphic,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front .stl-flipbox__graphic,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front .stl-flipbox__graphic,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front .stl-flipbox__graphic,
	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--expand .stl-flipbox__front-media {
		transform: none !important;
	}

	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip:hover .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .elementor-flip-box.stl-flipbox--no-flip:focus-within .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip:hover .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box.stl-flipbox--no-flip:focus-within .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--overlay-expand .stl-flipbox__overlay-expand,
	.elementor-widget-stl-flip-box .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--overlay-expand .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:hover .elementor-flip-box__front.stl-flipbox__front--overlay-expand .stl-flipbox__overlay-expand,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box:focus-within .elementor-flip-box__front.stl-flipbox__front--overlay-expand .stl-flipbox__overlay-expand {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
		background-image: none !important;
		bottom: auto !important;
		height: 100% !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		width: 100% !important;
	}

	/* Layout classico: box testi più leggibile se posizionato al centro */
	.elementor-widget-stl-flip-box .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) .stl-flipbox__text-group,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box__front:not(.stl-flipbox__front--split):not(.stl-flipbox__front--expand):not(.stl-flipbox__front--overlay-expand) .stl-flipbox__text-group {
		box-sizing: border-box;
		padding: var(--stl-flipbox-mobile-gutter);
		width: min(100%, calc(100% - var(--stl-flipbox-mobile-gutter)));
	}
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.elementor-widget-stl-flip-box .elementor-flip-box,
	.elementor-widget-stl-flip-box .elementor-flip-box *,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box,
	.elementor-widget-aiop-pubblicazioni-list .elementor-flip-box * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
