/* ===========================================
   Legacy SiteOrigin button - Bootstrap Italia
   =========================================== */
.ow-button-base a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    font-size: 1em !important;
    padding: 1em 2em !important;
    background: var(--bs-primary, #0066cc);
    color: #fff !important;
    border: 0;
    border-radius: 0.5rem;
    text-shadow: none;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.15s;
}

.ow-button-base a:hover,
.ow-button-base a:focus {
    background: var(--bs-primary-dark, #004b9b);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}
.ow-button-base{zoom:1}.ow-button-base:before{content:'';display:block}.ow-button-base:after{content:'';display:table;clear:both}.ow-button-base a{text-align:center;display:inline-block;cursor:pointer;text-decoration:none;line-height:1em}.ow-button-base a .sow-icon-image,.ow-button-base a [class^="sow-icon-"]{font-size:1.3em;height:1em;width:auto;margin:-0.1em .75em -0.2em -0.75em;display:block;float:left}.ow-button-base a .sow-icon-image{width:1em;background-size:cover}.ow-button-base a.ow-icon-placement-top .sow-icon-image,.ow-button-base a.ow-icon-placement-top [class^="sow-icon-"]{margin:0 auto .5em;float:none}.ow-button-base a.ow-icon-placement-right .sow-icon-image,.ow-button-base a.ow-icon-placement-right [class^="sow-icon-"]{margin:-0.1em -0.75em -0.2em .75em;float:right}.ow-button-base a.ow-icon-placement-bottom .sow-icon-image,.ow-button-base a.ow-icon-placement-bottom [class^="sow-icon-"]{float:none;margin:.5em auto 0}.ow-button-base a.ow-icon-placement-bottom>span{display:flex;flex-direction:column-reverse}.ow-button-base a.ow-icon-placement-left .sow-icon-image,.ow-button-base a.ow-icon-placement-left [class^="sow-icon-"]{margin:-0.1em .75em -0.2em -0.75em;float:left}.ow-button-base.ow-button-align-left{text-align:left}.ow-button-base.ow-button-align-right{text-align:right}.ow-button-base.ow-button-align-center{text-align:center}.ow-button-base.ow-button-align-justify a{display:block}

/* ===========================================
   Flex Posts - Base Layout
   =========================================== */

.fp-flex {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
}

.fp-row {
	margin-left: -15px;
	margin-right: -15px;
}

.fp-post {
	margin-bottom: 20px;
}

.fp-col {
	min-width: 200px;
	max-width: 400px;
	flex: 1 1 30%;
	margin-left: 15px;
	margin-right: 15px;
}

.fp-col:empty {
	height: 0;
	visibility: hidden;
	margin-top: 0;
	margin-bottom: 0;
}

.fp-body {
	min-width: 0;
}

.fp-list-1 .fp-flex,
.fp-list-3 .fp-flex {
	flex-wrap: nowrap;
}

.fp-list-1 .fp-media,
.fp-list-3 .fp-extra .fp-media {
	flex-shrink: 0;
}

.fp-thumbnail {
	display: block;
	transition: opacity 500ms ease;
}

.fp-list-1 .fp-thumbnail,
.fp-list-3 .fp-extra .fp-thumbnail {
	margin-right: 1em;
}

.fp-thumbnail:hover {
	opacity: 0.8;
}

.fp-thumbnail img {
	display: block;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
}

.fp-media .fp-thumbnail img {
	margin: 0;
}

.fp-thumbnail img.size-thumbnail {
	width: 85px;
	height: 85px;
}

.fp-list-2 .fp-media + .fp-body,
.fp-list-3 .fp-main .fp-media + .fp-body {
	margin-top: 0.8em;
}

.fp-post .fp-title {
	font-size: 1em;
	line-height: 1.5;
	font-weight: 400;
}

.widget .fp-post .fp-title {
	margin: 0;
	padding: 0;
}

.fp-list-2 .fp-title,
.fp-list-3 .fp-main .fp-title,
.fp-list-4 .fp-title {
	font-size: 1.2em;
	font-weight: 500;
}

.fp-list-4 .fp-post {
	margin-left: -10px;
	margin-right: -10px;
}

.fp-list-4 .fp-media {
	flex: 1 0 40%;
	min-width: 150px;
	max-width: 300px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0.8em;
}

.fp-list-4 .fp-body {
	flex: 1 0 50%;
	margin-left: 10px;
	margin-right: 10px;
}

.fp-post .fp-title a {
	color: currentColor;
	text-decoration: none;
}

.fp-excerpt {
	margin-top: 0.4em;
	opacity: 0.8;
}

.fp-meta {
	font-size: 0.9em;
	margin-top: 0.2em;
}

.fp-post .fp-meta a {
	opacity: 0.5;
	color: currentColor;
	text-decoration: none;
}

.fp-comments > span {
	opacity: 0.5;
}

.fp-meta a:hover {
	opacity: 0.8;
}

.fp-meta > span:before {
	content: "\a0\b7\a0";
	opacity: 0.5;
}

.fp-meta > span:first-child:before {
	content: "";
}

.fp-categories {
	display: block;
	font-size: 0.7em;
	margin: 0;
	opacity: 0.7;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute ! important;
	width: 1px;
	word-wrap: normal ! important;
}

.fp-post .fp-readmore {
	margin-top: .5em;
}

.fp-post .fp-readmore-link {
	text-decoration: none;
	font-size: 0.9em;
	display: inline-block;
	border: 1px solid;
	padding: .2em .7em;
	border-radius: 3px;
}

.fp-post .fp-readmore-link:hover {
	text-decoration: none;
}


/* ===========================================
   Card Notizie/Comunicazioni - Bootstrap Italia
   =========================================== */

/* Widget title - stile BI heading con underline full width */
.widget_category_mansory .widget-title,
.panel-grid-cell .widget-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	padding-bottom: 0.75rem;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid var(--bs-primary, #0066cc);
	display: block;
}

.widget_category_mansory .widget-title a,
.panel-grid-cell .widget-title a {
	color: inherit;
	text-decoration: none;
}

.widget_category_mansory .widget-title a:hover,
.panel-grid-cell .widget-title a:hover {
	text-decoration: none;
	opacity: 0.85;
}

/* Card columns grid migliorato - altezze uniformi */
.widget_category_mansory .card-columns {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	column-count: unset !important;
	-moz-column-count: unset !important;
	-webkit-column-count: unset !important;
}

.widget_category_mansory .card-columns > .fp-card-uniform,
.widget_category_mansory .card-columns > article {
	height: 100%;
	margin-bottom: 0 !important;
	break-inside: avoid;
}

@media (max-width: 992px) {
	.widget_category_mansory .card-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 576px) {
	.widget_category_mansory .card-columns {
		grid-template-columns: 1fr;
	}
}

/* Card singola - stile BI con bordo left accent */
.widget_category_mansory .card.card-bg,
.panel-grid-cell .card.card-bg {
	background: #fff;
	border: none;
	border-left: 4px solid var(--bs-primary, #0066cc);
	border-radius: 0 4px 4px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s ease, transform 0.15s ease;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.widget_category_mansory .card.card-bg:hover,
.panel-grid-cell .card.card-bg:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

/* Card body spacing */
.widget_category_mansory .card-body,
.panel-grid-cell .card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Category badge + data - stile BI */
.widget_category_mansory .category-top,
.panel-grid-cell .category-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.widget_category_mansory .category-top strong a,
.panel-grid-cell .category-top strong a {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
	font-weight: 600;
	background: rgba(0, 102, 204, 0.08);
	padding: 0.2em 0.6em;
	border-radius: 3px;
}

.widget_category_mansory .category-top strong a:hover,
.panel-grid-cell .category-top strong a:hover {
	background: rgba(0, 102, 204, 0.15);
}

.widget_category_mansory .category-top .data,
.panel-grid-cell .category-top .data {
	font-size: 0.75rem;
	color: #5c6f82;
	font-weight: 400;
}

/* Card title */
.widget_category_mansory .card-title.big-heading,
.panel-grid-cell .card-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #17324d;
	margin-bottom: 0.5rem;
}

.widget_category_mansory .card-title a,
.panel-grid-cell .card-title a {
	color: inherit;
	text-decoration: none;
}

.widget_category_mansory .card-title a:hover,
.panel-grid-cell .card-title a:hover {
	color: var(--bs-primary, #0066cc);
}

/* Card image dentro le card */
.widget_category_mansory .entry-header img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 2px;
	margin-bottom: 0.75rem;
}

/* Card text / excerpt */
.widget_category_mansory .card-text,
.panel-grid-cell .card-text {
	font-size: 0.875rem;
	color: #5c6f82;
	line-height: 1.5;
	margin-bottom: 0.75rem;
	flex: 1;
}

/* Read more link - stile BI */
.widget_category_mansory .read-more,
.panel-grid-cell .read-more,
.widget_category_mansory a.read-more,
.panel-grid-cell a.read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid #d9dadb;
}

.widget_category_mansory .read-more:hover,
.panel-grid-cell .read-more:hover {
	color: var(--bs-primary-dark, #004b9b);
	text-decoration: underline;
}

.widget_category_mansory .read-more .it-arrow-right,
.panel-grid-cell .read-more .it-arrow-right {
	font-size: 0.9em;
}


/* ===========================================
   CTA Button Block - att-cta-button
   =========================================== */
.att-cta-button {
	margin-bottom: 0.75rem !important;
}

.att-cta-button .btn.btn-primary {
	border-radius: 8px;
	font-size: 0.9375rem;
	letter-spacing: 0.03em;
	padding: 1rem 1.5rem !important;
	box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
	transition: all 0.2s ease;
}

.att-cta-button .btn.btn-primary:hover,
.att-cta-button .btn.btn-primary:focus {
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
	transform: translateY(-1px);
}


/* ===========================================
   File/Link Card Block - card-teaser
   =========================================== */
.card.card-teaser {
	border: 1px solid #d9dadb;
	border-left: 4px solid var(--bs-primary, #0066cc);
	border-radius: 0 4px 4px 0 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	padding: 1rem;
	margin-bottom: 1rem;
	transition: box-shadow 0.2s ease;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.card.card-teaser:hover {
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.card.card-teaser #it-clip,
.card.card-teaser svg[id="it-clip"] {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	fill: var(--bs-primary, #0066cc);
	margin-top: 2px;
}

.card.card-teaser .card-body {
	padding: 0;
	flex: 1;
}

.card.card-teaser .card-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #17324d;
	margin: 0 0 0.25rem 0;
}

.card.card-teaser .card-title a {
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
}

.card.card-teaser .card-title a:hover {
	text-decoration: underline;
}

.card.card-teaser .card-text {
	font-size: 0.8125rem;
	color: #5c6f82;
}

.card.card-teaser .card-text p {
	margin: 0;
}


/* ===========================================
   Button Icon Block
   =========================================== */
.btn-icon.btn-me {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.btn-icon.btn-me .rounded-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
}

.btn-icon.btn-me .rounded-icon .icon {
	width: 18px;
	height: 18px;
}


/* ===========================================
   Carousel - Bootstrap Italia
   =========================================== */
.it-carousel-landscape-abstract-three-cols .card-wrapper {
	height: 700px !important;
}

.carousel-same-height.it-carousel-landscape-abstract-three-cols .card-wrapper {
	height: auto !important;
}

/* Carousel card styling */
.it-carousel-landscape-abstract-three-cols .card.card-bg {
	border-left: 4px solid var(--bs-primary, #0066cc);
	border-radius: 0 4px 4px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.it-carousel-landscape-abstract-three-cols .card.card-bg .card-title {
	font-size: 1rem;
	font-weight: 600;
	color: #17324d;
	line-height: 1.4;
}

.it-carousel-landscape-abstract-three-cols .card.card-bg .card-title a {
	color: inherit;
	text-decoration: none;
}

.it-carousel-landscape-abstract-three-cols .card.card-bg .card-title a:hover {
	color: var(--bs-primary, #0066cc);
}

.it-carousel-landscape-abstract-three-cols .card.card-bg .card-text {
	font-size: 0.875rem;
	color: #5c6f82;
	line-height: 1.5;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper .category-top {
	position: relative;
	bottom: auto;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #d9dadb;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper .category-top strong a {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
	background: rgba(0, 102, 204, 0.08);
	padding: 0.2em 0.6em;
	border-radius: 3px;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper .category-top .data {
	font-size: 0.75rem;
	color: #5c6f82;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper span.text {
	position: relative;
	bottom: auto;
	width: auto;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper span.text a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper span.text a:hover {
	text-decoration: underline;
}

/* Carousel card-img con immagine - altezza uniforme */
.it-carousel-landscape-abstract-three-cols .card.card-img .img-responsive-wrapper {
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	height: 180px;
}

.it-carousel-landscape-abstract-three-cols .card.card-img .img-responsive,
.it-carousel-landscape-abstract-three-cols .card.card-img .img-wrapper {
	height: 100%;
}

.it-carousel-landscape-abstract-three-cols .card.card-img .img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.it-carousel-landscape-abstract-three-cols .card.card-img:hover .img-wrapper img {
	transform: scale(1.03);
}

/* Card uguale altezza nel carousel - layout flex */
.it-carousel-landscape-abstract-three-cols .card-wrapper {
	height: 100% !important;
	display: flex;
	flex-direction: column;
}

.it-carousel-landscape-abstract-three-cols .card.card-img {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.it-carousel-landscape-abstract-three-cols .card.card-img .card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.it-carousel-landscape-abstract-three-cols .card.card-img .card-title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

/* La gestione dettagliata di .card-text per le card uniform è fatta più sotto
   in `.fp-card-uniform .card-text` (line-clamp 3, flex-shrink 0). Manteniamo
   qui solo la tipografia base, senza `flex: 1` che farebbe collassare il
   card-text dentro un body con overflow:hidden. */
.it-carousel-landscape-abstract-three-cols .card.card-img .card-text {
	font-size: 0.8125rem;
	color: #5c6f82;
	line-height: 1.55;
}

/* Category-top e read-more sempre in fondo */
.it-carousel-landscape-abstract-three-cols .card.card-img .category-top {
	margin-top: auto;
}

.it-carousel-landscape-abstract-three-cols .card.card-img .read-more,
.it-carousel-landscape-abstract-three-cols .card.card-img a.read-more {
	margin-top: 0.5rem;
}

/* Splide slide uguale altezza */
.it-carousel-landscape-abstract-three-cols .splide__slide {
	height: auto !important;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Header block BI - titolo full width */
.it-header-block .it-header-block-title h2 {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--bs-primary, #0066cc);
	display: block;
}

.it-header-block .it-header-block-title h2 a {
	color: inherit;
	text-decoration: none;
}

.it-header-block .it-header-block-title h2 a:hover {
	text-decoration: none;
	opacity: 0.85;
}

@media screen and (max-width: 767px) {
	article.row {
		margin: 0px;
	}
}

.it-carousel-wrapper.it-carousel-landscape-abstract {
	max-width: 100% !important;
}

/* ===========================================
   Carousel dots e navigazione
   =========================================== */

/* Dots: stile base pulito */
.it-carousel-wrapper .splide__pagination {
	gap: 0.35rem;
	padding: 0.75rem 0;
	flex-wrap: nowrap;
	overflow: hidden;
	justify-content: center;
}

.it-carousel-wrapper .splide__pagination__page {
	width: 10px;
	height: 10px;
	min-width: 10px;
	border-radius: 50%;
	background: #d9dadb;
	border: none;
	padding: 0;
	margin: 0;
	transition: all 0.2s ease;
	opacity: 0.6;
}

.it-carousel-wrapper .splide__pagination__page.is-active {
	background: var(--bs-primary, #0066cc);
	opacity: 1;
	transform: scale(1.3);
}

/* Nasconde dots completamente per carousel hero/abstract (1 slide per volta, troppi dots) */
.it-carousel-wrapper.it-carousel-landscape-abstract .splide__pagination,
.it-carousel-landscape-abstract .splide__pagination,
.splide.it-carousel-landscape-abstract .splide__pagination,
.it-carousel-landscape-abstract ul.splide__pagination,
.it-carousel-wrapper.it-carousel-landscape-abstract > .splide__pagination {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Dots visibili per carousel a 3-4 colonne (news, comunicati) */
.it-carousel-landscape-abstract-three-cols .splide__pagination {
	display: flex !important;
	visibility: visible !important;
	height: auto !important;
	overflow: visible !important;
	margin: 0 auto !important;
	padding: 0.75rem 0 !important;
	max-height: none;
}

/* Frecce di navigazione più evidenti */
.it-carousel-wrapper .splide__arrow {
	background: var(--bs-primary, #0066cc);
	opacity: 0.9;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
}

.it-carousel-wrapper .splide__arrow:hover {
	opacity: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.it-carousel-wrapper .splide__arrow svg {
	fill: #fff;
}


/* ===========================================
   Card uniformi per carousel (fp-card-uniform)
   =========================================== */

/* Immagine: altezza fissa con placeholder se manca.
   flex-shrink:0 perché la card è display:flex column e l'equalizzazione
   degli altri elementi può comprimere l'immagine. */
.fp-card-img-wrap {
	height: 180px !important;
	min-height: 180px;
	max-height: 180px;
	flex-shrink: 0;
	overflow: hidden;
	background: #f0f2f5;
	display: flex;
	align-items: center;
	border-radius: 4px 4px 0 0;
	justify-content: center;
}

.fp-card-img-wrap a {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.fp-card-img-wrap img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block;
	transition: transform 0.3s ease;
}

.fp-card-img-wrap:hover img {
	transform: scale(1.03);
}

.fp-card-img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8edf2 0%, #d9e0e8 100%);
}

/* Card body flex per allineamento verticale */
.fp-card-uniform {
	height: 100%;
	display: flex;
	flex-direction: column;
	border: none;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	overflow: visible;
	transition: box-shadow 0.2s ease;
}

.fp-card-uniform:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.fp-card-uniform .card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 0.75rem 1.25rem 0.75rem 1.25rem;
	position: relative;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

/* Meta top: categoria + data sulla stessa riga */
.fp-card-meta-top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	line-height: 1;
}

.fp-card-category {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 60%;
}

.fp-card-date {
	color: #5c6f82;
	white-space: nowrap;
	margin-left: auto;
}

/* Titolo card - max 2 righe per garantire spazio a excerpt + read-more
   nella card equalizzata (376px tipica con img 180 + body 196).
   NB: Bootstrap Italia ha `.card .card-body h5.card-title` (1.125rem) con
   specificità 0,3,2. Includiamo h5/card-body nel selettore per superarla. */
.widget_category_mansory .fp-card-uniform .card-body h5.card-title,
.panel-grid-cell .fp-card-uniform .card-body h5.card-title,
.fp-card-uniform .card-body h5.card-title,
.fp-card-uniform .card-title {
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.4rem;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	word-break: break-word;
	/* flex-shrink:0 -> il titolo non viene MAI compresso dall'equalizzazione
	   altezza card (card-body è flex column con overflow:hidden). Senza questo,
	   nelle card con excerpt lungo il titolo veniva schiacciato fino a sparire,
	   mentre l'excerpt (flex:0 0 auto) restava. */
	flex: 0 0 auto;
	/* +5px di margine per non tagliare i descender della 2a riga (g, p, q) */
	max-height: calc(1.4rem * 1.4 * 2 + 5px);
	padding-bottom: 2px;
}

.fp-card-uniform .card-title a {
	color: #17324d;
	text-decoration: none;
}

.fp-card-uniform .card-title a:hover {
	color: var(--bs-primary, #0066cc);
}

/* Testo troncato a 3 righe (descender padding 4px). Le card equalizzate hanno
   ~196px di body utili, quindi limitiamo title a 2 + text a 3 + cta in fondo.
   !important sui campi line-clamp + display perché il browser può mostrare
   computed `flow-root` se altre regole interferiscono col layout flex parent. */
.fp-card-uniform .card-text,
.fp-card-uniform .card-text p {
	font-size: 0.8125rem !important;
	color: #5c6f82;
	line-height: 1.55 !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	margin: 0;
	padding: 0 0 4px 0;
	max-height: calc(0.8125rem * 1.55 * 3 + 4px);
}

.fp-card-uniform .card-text {
	/* flex-shrink:0 evita la compressione quando il body ha overflow:hidden:
	   l'excerpt mantiene le sue 3 righe (line-clamp:3) per intero. */
	flex: 0 0 auto;
	margin-bottom: 0;
}

/* Read more sempre in fondo - flex margin-top auto, niente position absolute
   per evitare che copra il titolo quando le card sono equalizzate in altezza.
   NB: Bootstrap Italia ha `.card a.read-more { position: absolute; bottom: 24px }`
   con specificità (0,2,1). Usiamo `a.read-more` (anche 0,2,1) caricato dopo,
   con !important sui field critici per neutralizzare gli effetti dell'absolute. */
.fp-card-uniform a.read-more,
.fp-card-uniform .card-body a.read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary, #0066cc);
	text-decoration: none;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid #e8edf2;
	background: transparent;
	align-self: flex-start;
	width: 100%;
	position: static !important;
	bottom: auto !important;
}

.fp-card-uniform .read-more:hover {
	text-decoration: underline;
}

.fp-card-uniform .read-more .icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Card wrapper uguale altezza */
.it-carousel-landscape-abstract-three-cols .fp-card-uniform {
	height: 100%;
}

.it-carousel-landscape-abstract-three-cols .it-single-slide-wrapper {
	height: 100%;
}

.it-carousel-landscape-abstract-three-cols .card-wrapper {
	height: 100% !important;
}


/* ===========================================
   Dots-per-pagina (riusati per carousel BI flex-posts)
   Se egb-frontend-carousel.js gira, sostituisce splide__pagination con
   .egb-dots-per-slide: nascondiamo la pagination default per evitare doppio.
   =========================================== */
.it-carousel-wrapper:has(.egb-dots-per-slide) .splide__pagination {
	display: none !important;
}

.egb-dots-per-slide {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	list-style: none;
	padding: 1rem 0.5rem;
	margin: 0;
}

.egb-dots-per-slide li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.egb-dots-per-slide li::marker {
	content: '';
	display: none;
}

.egb-dots-per-slide .egb-dot {
	display: block;
	width: 10px;
	height: 10px;
	padding: 0;
	background: #d9dadb;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0.6;
	transition: all 0.2s ease;
}

.egb-dots-per-slide .egb-dot:hover {
	opacity: 0.9;
	transform: scale(1.2);
}

.egb-dots-per-slide .egb-dot.is-active {
	background: var(--bs-primary, #0066cc);
	opacity: 1;
	transform: scale(1.3);
}

/* ===========================================
   Pagination - stile BI
   =========================================== */
.fp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #d9dadb;
}

.fp-pagination a,
.fp-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.fp-pagination a {
	color: var(--bs-primary, #0066cc);
	background: transparent;
}

.fp-pagination a:hover {
	background: rgba(0, 102, 204, 0.08);
}

.fp-pagination span.current {
	color: #fff;
	background: var(--bs-primary, #0066cc);
}
