/* Documenti corporate: filtri + lista, stile ripreso da investors.unieurospa.com */
.dc-archivio {
	--dc-blu: #101d42;
	--dc-arancio: #f38025;
	color: var(--dc-blu);
	font-family: Inter, sans-serif;
	margin: 64px 0 80px;
}

/* Filtri */
.dc-filtri {
	display: flex;
	flex-wrap: wrap;
	gap: 0 54px;
	margin: 0 0 40px;
}
.dc-filtro[hidden] {
	display: none !important;
}
.dc-filtro {
	flex: 0 1 327px;
	min-width: 0;
}
.dc-filtro label {
	display: block;
	margin: 0 0 20px !important;
	font-size: 20px !important;
	line-height: 1.2;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--dc-blu);
}
.dc-select {
	position: relative;
	width: 100%;
	max-width: 327px;
	height: 52px;
	border: 2px solid var(--dc-blu);
	border-radius: 0.25em;
	background: #fff;
}
.dc-select::after {
	content: "";
	position: absolute;
	right: 0.9em;
	top: 50%;
	width: 0.8em;
	height: 0.5em;
	transform: translateY(-50%);
	background: var(--dc-blu);
	clip-path: polygon(100% 0%, 0 0%, 50% 100%);
	pointer-events: none;
}
.dc-select select {
	-webkit-appearance: none;
	appearance: none;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	padding: 0 2.4em 0 0.6em !important;
	border: 0 !important;
	border-radius: 0.25em;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 1.25rem !important;
	line-height: 1.1;
	color: var(--dc-blu);
	cursor: pointer;
	outline: none;
}
.dc-select:focus-within {
	outline: 2px solid var(--dc-arancio);
	outline-offset: 2px;
}

/* Titolo lista */
.dc-titolo-lista {
	margin: 40px 0 60px !important;
	font-size: 30px !important;
	line-height: 1.2;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	color: var(--dc-blu);
}

/* Lista */
.dc-lista {
	transition: opacity 0.2s;
}
.dc-archivio.is-loading .dc-lista {
	opacity: 0.4;
}
.dc-item {
	display: grid;
	grid-template-columns: 62px 1fr auto;
	column-gap: 16px;
	align-items: start;
	margin-top: 50px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--dc-blu);
}
.dc-item:first-child {
	margin-top: 0;
}
.dc-item-icon {
	color: var(--dc-arancio);
	padding-top: 6px;
}
.dc-ico-doc {
	width: 31px !important;
	height: 40px !important;
	display: block;
}
.dc-item-meta {
	font-size: 17px;
	line-height: 1.4;
	color: var(--dc-arancio);
	margin-bottom: 4px;
}
.dc-sep {
	padding: 0 2px;
}
.dc-item-title {
	font-size: 30px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--dc-blu);
}
.dc-item-title a,
.dc-item-title a:visited {
	color: inherit !important;
	text-decoration: none !important;
}
.dc-item-title a:hover {
	color: var(--dc-arancio) !important;
}
.dc-item-sub {
	margin-top: 4px;
	font-size: 17px;
	line-height: 1.4;
}
.dc-item-actions {
	align-self: end;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 15px;
}
.dc-item-dl {
	color: var(--dc-arancio) !important;
	padding: 4px 0 2px;
}
/* "Ascolta" per gli audio, come btn-B del vecchio sito */
.dc-btn-ascolta,
.dc-btn-ascolta:visited {
	display: inline-block;
	height: 34px !important;
	line-height: 32px !important;
	padding: 0 22px !important;
	border: 1px solid var(--dc-blu) !important;
	border-radius: 17px !important;
	background: #fff !important;
	color: var(--dc-blu) !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
}
.dc-btn-ascolta:hover {
	background: var(--dc-blu) !important;
	color: #fff !important;
}
.dc-ico-dl {
	width: 21px !important;
	height: 26px !important;
	display: block;
}
.dc-item-dl:hover {
	opacity: 0.75;
}
.dc-vuoto {
	text-align: center;
	font-size: 20px;
	margin: 40px 0;
}

/* Carica altri */
.dc-more {
	text-align: center;
	margin-top: 67px;
}
.dc-btn-more {
	display: inline-block;
	height: 34px !important;
	line-height: 34px !important;
	padding: 0 24px !important;
	border: 1px solid var(--dc-blu) !important;
	border-radius: 17px !important;
	background: var(--dc-blu) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}
.dc-btn-more:hover {
	background: #fff !important;
	color: var(--dc-blu) !important;
}
.dc-btn-more[disabled] {
	opacity: 0.5;
	cursor: wait;
}

/* Mobile: etichetta a sinistra, select a destra (come il vecchio sito) */
@media (max-width: 991px) {
	.dc-archivio {
		margin: 40px 0 60px;
	}
	.dc-filtri {
		display: block;
		margin-bottom: 20px;
	}
	.dc-filtro {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 19px;
	}
	.dc-filtro label {
		margin: 0 !important;
		font-size: 17px !important;
	}
	.dc-select {
		flex: 0 0 184px;
		max-width: 184px;
		height: 48px;
	}
	.dc-select select {
		font-size: 1.1rem !important;
	}
	.dc-titolo-lista {
		font-size: 20px !important;
		margin: 30px 0 30px !important;
	}
	.dc-item {
		grid-template-columns: 44px 1fr;
		margin-top: 23px;
		padding-bottom: 10px;
	}
	.dc-ico-doc {
		width: 24px !important;
		height: 31px !important;
	}
	.dc-item-meta {
		font-size: 11px;
	}
	.dc-item-title {
		font-size: 20px;
		line-height: 1.5;
	}
	.dc-item-sub {
		font-size: 13px;
	}
	.dc-item-actions {
		grid-column: 1 / -1;
		justify-self: start;
		margin-top: 8px;
	}
	.dc-more {
		margin-top: 40px;
	}
}

/* Lista semplice (pagine Governance) */
.dc-archivio.dc-semplice {
	margin: 0;
}

/* Breadcrumb sotto l'hero (stile investors.unieurospa.com) */
.dc-breadcrumb {
	margin: 24px 0 0;
	text-align: center;
	font-family: Inter, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 400;
	color: #101d42;
}
.dc-breadcrumb a,
.dc-breadcrumb a:visited {
	color: #101d42 !important;
	text-decoration: none !important;
}
.dc-breadcrumb a:hover {
	text-decoration: underline !important;
}
.dc-breadcrumb a.dc-bc-current {
	text-decoration: underline !important;
}
.dc-bc-sep {
	padding: 0 1px;
}
/* niente doppione: nasconde la breadcrumb Yoast dentro l'hero nelle pagine che usano [dc_breadcrumb].
   visibility e non display:none: l'hero è un flex column space-between (breadcrumb in alto, titolo in basso),
   senza il primo elemento il titolo salirebbe in alto e su mobile l'hero si schiaccerebbe. */
.post-content-wrapper:has(.dc-breadcrumb) .thor-page-title .breadcrumbs-container {
	visibility: hidden;
}
/* breadcrumb subito sotto l'hero: il tema dà all'hero 150px (desktop) / 50px (mobile) di margine inferiore */
.post-content-wrapper:has(.dc-breadcrumb) .thor-page-title {
	margin-bottom: 0 !important;
}
.dc-breadcrumb {
	margin: 24px 0 40px;
}
@media (max-width: 991px) {
	.dc-breadcrumb {
		margin: 20px 0 16px;
	}
}

/* Elenchi con dimensione "large" impostata nell'editor: il tema forza 16px sui <li> */
.wp-block-list.has-large-font-size li {
	font-size: inherit !important;
	line-height: 1.6;
}

/* Titolo dell'hero su mobile: il tema lo fissa a 60px e le parole lunghe ("Amministrazione", "Whistleblowing")
   escono dallo schermo. Solo nelle pagine Governance (quelle con [dc_breadcrumb]) lo scaliamo sulla larghezza. */
@media (max-width: 991px) {
	.post-content-wrapper:has(.dc-breadcrumb) .thor-page-title .title h1 {
		font-size: clamp(30px, 10.5vw, 60px) !important;
		line-height: 1.1 !important;
	}
}

/* Composizione CdA / Collegio: card arancione con i dati dentro (come investors), solo nelle pagine Governance.
   Il blocco "Team" del tema resta quello della pagina Management; qui cambia solo la resa. */
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .grid {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px !important;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-component {
	position: relative;
	flex: 0 0 280px;
	max-width: 280px;
	border-radius: 16px;
	overflow: hidden;
	background: #f38025;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team figure {
	margin: 0 !important;
	border-radius: 16px;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team figure img {
	display: block;
	width: 100%;
	height: auto;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 18px 28px;
	text-align: center;
	color: #fff;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta h3 {
	margin: 0 0 6px !important;
	font-size: 22px !important;
	line-height: 1.25;
	font-weight: 500;
	color: #fff !important;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta h4 {
	margin: 0 0 18px !important;
	font-family: Inter, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.35;
	font-weight: 600;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #fff !important;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta h4:last-child {
	margin-bottom: 0 !important;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta a.button {
	color: #fff !important;
	border-color: #fff !important;
	background: transparent !important;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta a.button:hover {
	color: #f38025 !important;
	background: #fff !important;
}
@media (max-width: 991px) {
	.post-content-wrapper:has(.dc-breadcrumb) .thor-team .grid {
		gap: 20px !important;
	}
	.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-component {
		flex-basis: 260px;
		max-width: 260px;
	}
}
/* 3 card per riga al massimo (3 + 2 come investors) e ruolo pienamente leggibile */
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .grid {
	max-width: 904px;
	margin-left: auto;
	margin-right: auto;
}
.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta h4 {
	opacity: 1 !important;
}
/* Desktop: tutte le card su una riga (si restringono per stare nella larghezza, max 280px) */
@media (min-width: 1280px) {
	.post-content-wrapper:has(.dc-breadcrumb) .thor-team .grid {
		max-width: none;
		flex-wrap: nowrap;
		gap: 24px !important;
	}
	.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-component {
		flex: 1 1 0;
		min-width: 0;
		max-width: 280px;
	}
	.post-content-wrapper:has(.dc-breadcrumb) .thor-team .team-meta {
		padding: 0 14px 24px;
	}
}
/* Il tema fissa l'altezza della foto (ritratti di Management): qui l'immagine mantiene le sue proporzioni 560x698 */
.post-content-wrapper:has(.dc-breadcrumb) .thor-team figure,
.post-content-wrapper:has(.dc-breadcrumb) .thor-team figure img {
	height: auto !important;
	aspect-ratio: 560 / 698;
	object-fit: cover;
}
