
#moreinsert,
.no-found {
	display:none;
}


.header {
	background: var(--colorGrey200);
	margin:0 0 75px 0;
	padding: 50px 0
}


.list-tools {
	display:none;
}


.is-pdf:has(iframe) {
	text-align:center;
}

.is-pdf iframe {
  width: 90%;
  margin: 50px 0;
  aspect-ratio: 1 / 1;     /* A4 in mm → stesso rapporto */
  border: none;
  height:auto !important
}

.versione-pdf {
	position:absolute;
	right: 25px;
	top: 25px;
	text-align:center;
}

.versione-pdf img {
	width: 45px;
	margin: 0 auto 5px auto;
}


.versione-pdf a {
	display: inline-block;
	border: 1px solid var(--colorGrey400);
	border-radius: 10px;
	padding: 10px;
	font-size: 10px;
	color: var(--colorGrey600);
}

.versione-pdf a:hover {
	background-color: #FFF;
	text-decoration: none;
	transition: .3s ease;
}

.wrapper-content {
	display:grid;
	grid-template-columns: 10vw 1fr;	
	width:100%;
}


article {
	max-width:300px;
}

.article-header a.voce {
	display:none !important;
}


.subtitle {
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 500;
	font-size: 1.2em;
	line-height: 130%;
}

.summary {
	margin-top: .5em;
	margin-bottom: 1em;
	font-weight: 400;
	font-size: 1em;
	line-height: 130%;
}

.autore {
	display:inline-block
}

.dida {
	font-size: .7em;
	line-height:150%;
	margin: 1em 0 2em 0;
}

.abstract {
	font-family: var(--fontSans);
	font-size: .9em;
	margin: 0 0 7em 0;
	border: 2px solid var(--primaryColor600);
	padding: 50px;
}

.abstract p {
	text-indent:0;
	margin-bottom:0;
}

.abstract-inglese {
	margin-top: 3em;
	font-style:italic;
}

.abstract-inglese em {
	font-style:normal !important;
}

.button-toggle {
	display:inline-block;
	color: #FFF;
    font-family: var(--fontSans);
    font-weight: 600;
    font-size: .9em;
    padding: .3em .7em;
    background-color: var(--primaryColor600);
	cursor:pointer;
}

.button-toggle::after {
   content: "▼";
    display: inline-block;
    margin-left: 6px;
    color: #FFF;
    font-size: 1em;
    transition: transform 0.3s ease; /* Animazione fluida */
}

.button-toggle.active::after {
    transform: rotate(180deg);
}


/***
	.abstract::before {
		content:'ABSTRACT ';
		display:block;
		font-weight:700;
	}
***/

.sommario-indice {
	font-family: var(--fontSans);
	font-weight: 600;
	margin: 4em 0;
	padding-bottom: 2em;
	border-bottom: 1px solid var(--colorGrey300);
}

.capolettera {
	font-family: var(--fontSans);
	font-size: 2em;
	font-weight:700;
}

p:has(.capolettera) {
	text-indent:0;
}

p u {
	text-decoration: none;
	font-size: 600;
}

.note {
	margin-top:5em;
	font-size: .9em;
}

.note p {
	text-indent:0;
	line-height: 160%;
}

.note::before {
	content:'';
	display:block;
	width:200px;
	border-top: 1px solid var(--colorGrey300);
	margin-bottom: 2em;
}



.relatore:not(:first-child) {
	margin-top: .7em;
}
.relatore {
	font-weight: 600;
}
.relatore .qualifica {
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	margin-left: 1em;
}

.forum {
  display: block;
  margin-left: -4vw;
}

.forum .domanda {
	font-style:italic;
    font-weight: 600;
    color: var(--colorGrey600);
}

.forum .domanda em {
	font-style:normal;
}

.intervento-group {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 30px;
  align-items: start;
  margin-bottom: 20px; /* Spazio tra un intervento e l'altro */
}

.forum .moderatore,
.forum .partecipante {
  grid-column: 1;
  font-weight: bold;
  text-align: right;
  text-transform: uppercase;
  padding: .3em 1em;
  margin-bottom: 1.6em;
  position: sticky;
  top: 20px;       
  z-index: 10;     
}

.forum .partecipante {
	background-color: var(--colorGrey200);
}

.forum .moderatore {
	background-color: var(--primaryColor400);
	color:#FFF;
}

.intervento-group {
	margin-top: 25px;
}

.intervento-group.has-moderatore {
	margin-top: 80px;
	border-top: 1px solid var(--primaryColor400);
	padding-top: 30px;
}

.intervento-group:first-child {
	margin-top: 0;
}


.forum p {
  grid-column: 2;
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 1.6;
}








@media (max-width:1200px) {
	
	aside {
		width: 300px;
		padding: 50px 25px;
	}

}

@media (max-width:992px) {


	.header {
		/*font-size: calc(1.375rem + 1.5vw);*/
		font-size: calc(.5em + 1.5vw);
	}

	.wrapper-text {
		display:block
	}

	.wrapper-content {
		display:block;
		width:100%;
		max-width: 600px;
		margin: auto;
	}

	.forum {
	  margin-left: 0;
	}

	aside {
		width: 100%;
		padding: 50px;
		margin-top: 100px;
	}

	.note p a {
		overflow-wrap: break-word;
		word-break: break-all;
		max-width: 100%;
	}

}

@media (max-width:576px) {
	

	.header {
		padding: 25px 10px
	}

	.header .date {
		margin-top: 0;
	}
	
	.header h1 {
		margin:0;
	}

	.article-image {
		aspect-ratio: 1 / 1;
	}


	.abstract {
		padding: 25px;
	}
		
    .versione-pdf a{
        font-size:8px;
		padding: 5px;
		line-height: 15px;
    }
    .versione-pdf img {
        width:30px;
    }
	
	.versione-pdf {
		right: 15px;
		top: 15px;
	}
	
	.intervento-group {
	  display: block;
	}
	
	.forum .moderatore,
	.forum .partecipante {
		float: left;	
		position: static;
		margin: .3em 1.2em 0 0;
	}	

	.forum .moderatore + p,
	.forum .partecipante + p {
		text-indent:0;
	}
	
}