body {
	--tancredi-grigio:rgb(148,145,146);
	--tancredi-grigino:rgb(248,245,246);
	--tancredi-nero:black;
	--tancredi-bianco:white;
	--tancredi-colore1:lightblue;
	--tancredi-colore2:lightgrey;
	--tancredi-scrollbar-track:pink;
	--tancredi-scrollbar-thumb:brown;
	/*
	--tancredi-mega-width:1920px;
	*/
	--tancredi-boxatura: 1676px;
	--tancredi-boxatura-stretta:1080px;
	--tancredi-padding-desktop:18px !important;
	--tancredi-padding-mobile:18px !important;
	--tancredi-carattere:300 15px/15px sans-serif;
	--tancredi-carattere-gigante:300 50px/50px sans-serif;
	--tancredi-outline: 3px dashed pink;
	--tancredi-outline-offset: -3px;
	--tancredi-outline-invertito: 3px dashed #003F34;
	--telefunken-bg: rgba(0,0,0,0.75);
	--telefunken-max-width: 90vw;
	--telefunken-max-height: 90vh;
	--telefunken-altezza-testa:20px;
	
	--tancredi-gronda-piccola: 10px;
	--tancredi-gronda-media: 34px;
	--tancredi-gronda-grande: 139px;
	--tancredi-spazio-piccolo: 8px;
	--tancredi-spazio-mediopiccolo: 17px;
	--tancredi-spazio-medio: 45px;
	--tancredi-spazio-grosso:80px;
	--tancredi-grondaia-piccola: 13px;
    --tancredi-grondaia-media: 22px;
    --tancredi-grondaia-grande: 32px;
	
	--telegiornale-altezza-controlli:74px;
	--telegiornale-altezza-pallini:32px;
	
}


* {
    margin: 0;
    padding: 0;
}
li {
	list-style:none;
}

/* BOXATURA */
.boxato,.boxato-stretto,.boxato-mega {
	margin-right: auto;
	margin-left: auto;
	padding-left: var(--tancredi-padding-mobile);
	padding-right: var(--tancredi-padding-mobile);
	box-sizing: border-box;
	width: 100%;
}
@media(min-width:500px) {
	.boxato {
		padding-left: var(--tancredi-padding-desktop);
		padding-right: var(--tancredi-padding-desktop);
	}
}
.boxato {
	max-width: var(--tancredi-boxatura);
}
.boxato-stretto {
	max-width: var(--tancredi-boxatura-stretta);
}
.boxato.raso {padding-left:0;padding-right:0;}
.boxato-mega {
	max-width: var(--tancredi-mega-width);
	padding-left: 0;
	padding-right: 0;
}
.corpo > .vivo {
    max-width: 100%;
}
/* BOXATURA */


table.tancredi-sitemap {
	margin-top: 26px;
	font-size: 12px;
	width: 100%;
	font-family: monospace;
	border-collapse: collapse;
	border-color:var(--tancredi-nero);
	border-width: 1px;
	border-style: none;

}
table.tancredi-sitemap tr.url.stile1 {
    background-color: white;
}
table.tancredi-sitemap tr.url.stile2 {
    background-color: var(--tancredi-grigino);
}
table.tancredi-sitemap tr.url:hover {
    background-color: var(--tancredi-grigio);
    
}
table.tancredi-sitemap td.loc,
table.tancredi-sitemap td.titolo {
    width: 40%;
}
table.tancredi-sitemap td.link,
table.tancredi-sitemap td.changefreq {
    width: 10%;
}
table.tancredi-sitemap a {
    color: inherit;
    text-decoration: none;
}
table.tancredi-sitemap a:hover {
	text-decoration: underline;
}

table.tancredi-sitemap tr.url {
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}
#wp-admin-bar-customize,
#wp-admin-bar-updates,
#wp-admin-bar-comments,
#wp-admin-bar-new-content,
#wp-admin-bar-edit,
#wp-admin-bar-tancrediLOG,
#wp-admin-bar-wtf-bar,
#wp-admin-bar-cinerama-menu-bar {
	display:none;
}

#wpadminbar #wp-admin-bar-site-name>.ab-item:before,
#wpadminbar-finta #wp-admin-bar-site-name>.ab-item:before {
    height: 20px;
    width: 28px;
    content: '' !important;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}
#wp-admin-bar-wp-logo {display:none;}
#wpadminbar-finta * {
	height: auto;
	width: auto;
	margin: 0;
	padding: 0;
	position: static;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-size: 13px;
	font-weight: 400;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-style: normal;
	line-height: 2.46153846;
	border-radius: 0;
	box-sizing: content-box;
	transition: none;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}
#wpadminbar-finta {
	direction: ltr;
	color: #c3c4c7;
	font-size: 13px;
	font-weight: 400;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	line-height: 2.46153846;
	height: 32px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 600px;
	z-index: 999001;
	background: #1d2327;
}
@media screen and (max-width: 782px) {
	#wpadminbar-finta {
		height: 46px;
		}
}

#wpadminbar-finta .quicklinks>ul>li>a {
    padding: 0 8px 0 7px;
}
#wpadminbar .quicklinks .ab-empty-item {
    height: 32px;
    display: block;
    padding: 0 10px;
    margin: 0;
}
#wpadminbar-finta #wp-admin-bar-site-name>.ab-item:before {
	content: '';
	top: 2px;
	position: relative;
	float: left;
	font: normal 20px/1 dashicons;
	speak: never;
	padding: 4px 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: 0;
	margin-left: 6px;
	color: rgba(240,246,252,1);
	position: relative;
	transition: color .1s ease-in-out;
}
#wpadminbar-finta ul, 
#wpadminbar-finta ul li {
    background: 0 0;
    clear: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-indent: 0;
    z-index: 99999;
}
#wpadminbar-finta li {
    float: left;
}
#wpadminbar-finta a.ab-item {
	color:white;
}
#wpadminbar-finta a, 
#wpadminbar-finta a:hover {
    border: none;
    text-decoration: none;
    background: 0 0;
    box-shadow: none;
}
body.pagina-riservata #wp-admin-bar-tancrediEDIT {display:none;}

@media(min-width:600px) {
	.corpo > p {
		column-count: 2;
	}
}

#wp-admin-bar-tancrediARRAY-sputato {
	display:none;
	position: fixed;
	background-color: white;
	left: 12%;
	right: 12%;
	top: 12%;
	bottom: 12%;
	padding: 30px;
	border: 2px dashed gray;
	color: gray;
	overflow-y: scroll;
	overflow-x: hidden;
	flex-direction: column;
	-webkit-flex-direction: column;
	z-index: 900000;
}
#wp-admin-bar-tancrediARRAY-sputato.visibile {
	display:flex;
	display:-webkit-flex;
}
span#chiudi-wp-admin-bar-tancrediARRAY-sputato {
    cursor: pointer;
    text-decoration: underline;
}
#wp-admin-bar-tancrediARRAY-sputato > div:nth-child(1) {
	display: flex;
	justify-content: flex-end;
	display: -webkit-flex;
	-webkit-justify-content: flex-end;
}
#wpadminbar #wp-admin-bar-tancrediARRAY > div {
	cursor:pointer;
}

.soloadmin {display:none;}
body.soloadmin .soloadmin {display:inline;}

body.slug-tancredi___sitemap #principe {
	margin-top:0;
}
@media(min-width:800px) {
	body.slug-tancredi___sitemap #principe {
		margin-top:0;
	}
}

/* Scatole Bunsen */
body.Bunsen {
    width: 100%;
}

#principe.Bunsen,
#testa.Bunsen {
	width:100%;
}

.colonne.Bunsen {
	display:flex;
	display:-webkit-flex;
}
.colonna.Bunsen {
	overflow: hidden;
	padding-right: var(--tancredi-grondaia-media);
	padding-left: var(--tancredi-grondaia-media);
}

[data-colonne="1"] > .colonna {
	flex-basis:100%;
	-webkit-flex-basis:100%;
	max-width: 100%;
}
[data-colonne="2"] > .colonna {
	flex-basis:50%;
	-webkit-flex-basis:50%;
	max-width: 50%;
}
[data-colonne="3"] > .colonna {
	flex-basis:33.3333333333333%;
	-webkit-flex-basis:33.3333333333333%;
	max-width: 33.3333333333333%;
}

.colonna.Bunsen:nth-child(1) {
	padding-left:0;
}
.colonna.Bunsen:nth-last-child(1) {
	padding-right:0;
}


article#principe.tancredi.Bunsen > .corpo > h2 + * {
    /* margin-top: 0; */
}
.telegiornale.vuoto {display:none;}
.colonna.Bunsen > *:nth-last-child(1) {
    /* margin-bottom: 0; */
}
.colonna.Bunsen > .colonne.Bunsen > * {
    margin-bottom: 0;
}
.colonna .colonna.Bunsen > * {
    margin-bottom: 0;
}
.colonna.Bunsen > section:last-of-type,
.colonna.Bunsen > div:last-of-type {
    /* margin-bottom: 0; */
}
.corpo > * {
    margin-top: 0;
}
.colonna.Bunsen > iframe {
    width: 100%;
}
.colonna.Bunsen:nth-child(1):nth-last-child(1) {
	width:100%;
}
/* Scatole Bunsen */

.cambia-vista {
    display: flex;
}

.solo-aria {
/* sarebbe il .visually-hidden di chat gpt */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


#telefunken {

	padding: 0;
	border: 0;
	box-shadow: 0 20px 70px -10px rgba(0,0,0,0.4);
	overflow: hidden;
	position: fixed;
  max-width: var(--telefunken-max-width);
  max-height: var(--telefunken-max-height);
	    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#telefunken > .funken-dentro {
	padding: 0;
	border: 0;
	max-height: var(--telefunken-max-height);
	height: var(--telefunken-max-height);
}


#telefunken::backdrop {
	background: var(--telefunken-bg);
	backdrop-filter: blur(4px);
}

.funken-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.funken-title {
	margin: 0;
	font:var(--tancredi-carattere);
}

.funken-chiudi {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  color: var(--tancredi-colore2);
}

.funken-chiudi:hover,
.funken-chiudi:focus {
	color: var(--tancredi-grigio);
}

.funken-content {
  padding: 0;
  height: calc(100% - var(--telefunken-altezza-testa)); 
  overflow: hidden;
}

.funken-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Per immagini vogliamo centrare e contenere */
.funken-image-container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 100%;
	position: relative;
	overflow: hidden;
	max-width: 100%;
	max-height: 100%;
	box-sizing:border-box;
}

#funkenContent.zoom .funken-image {
	position: absolute;
}
#funkenContent.zoom .funken-image:not(.zoom) {
	top: unset !important;
	left: unset !important;
}
#funkenContent.zoom .funken-image.zoom.nozoom {
	top: 0 !important;
	left: 0 !important;
}
.funken-image.zoom {
	transform-origin: top left;
	position: absolute;
	top: 0;
	left: 0;
	cursor:zoom-out;
}
.funken-image.zoom.nozoom {
	cursor:zoom-in;
}
.funken-image-container.hoverato > img.funken-image.zoom:not(.nozoom) {
    transform: none !important;
}

#telefunken.tipo-iframe .funken-dentro {
    height: 95vh;
    width: 95vw;
}
@media(min-width:800px) {
	#telefunken.tipo-iframe .funken-dentro {
		height: 81vh;
		width: 86vw;
	}	
}
.funken-image-container:not(.hoverato) > img.zoom {
    top: 0 !important;
    left: 0 !important;
}

/* Bottoni */
.funken-prev, .funken-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1;
}

.funken-prev {
  left: 0;
}

.funken-next {
  right: 0;
}

.funken-prev:disabled, .funken-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* menu magellano */
.magello-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.magello-ul > li {
  /* position: relative; */
}

.magello-ul button,
.magello-ul a {
  display: block;
  width: 100%;
  text-align: left;
  /* padding: 1rem 1.5rem; */
  background: none;
  border: none;
  /* font: inherit; */
  color: inherit;
  cursor: pointer;
  /* text-decoration: none; */
}

.magello-ul button:focus-visible,
.magello-dialog button:focus-visible,
.magello-ul a:focus-visible {
	outline: var(--tancredi-outline);
	outline-offset: var(--tancredi-outline-offset);
	background: #f0f8ff;
	padding: 4px;
}

.magello-ul.nascosto {
  display: none;
}

.magello-ul button[aria-expanded="true"] + [role="menu"] {
  display: block;
}

/* Indentazione visiva per i livelli */
.magello-ul ul ul {
  /* padding-left: 1.2rem; */
  /* border-left: 3px solid #eee; */
}

body.magello-aperto { overflow: hidden; }

.magello-barra-sopra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--tancredi-grigino);
  /* border-bottom: 1px solid #ddd; */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.magello-barra-sopra button {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}
.magello-barra-sopra button:focus-visible,
.blocco-hero a.link-muto:focus-visible {
	outline: var(--tancredi-outline);
	outline-offset: var(--tancredi-outline-offset);
}

.blocco-hero .colori-invertiti a.link-muto:focus-visible {
	outline: var(--tancredi-outline-invertito);
}


dialog.magello-dialog {
  border: none;
  /* box-shadow: 0 20px 40px rgba(0,0,0,0.25); */
  background: var(--tancredi-grigino);
  left: 0;
  width: 100vw;
  right: 0;
}

dialog.magello-dialog::backdrop {
	background: rgba(0,0,0,0.6);
}

.magello-dialog > div.testa {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.magello-dialog > div.testa h2 {
	margin: 0;
}

.chiudi {
	padding: 0.3rem;
	line-height: 1;
}

.magello-dialog > div.corpo {}

.magello-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.magello-ul a {
	display: block;
	/* text-decoration: none; */
	color:var(--tancredi-nero);
}
.magello-ul a:hover,
.magello-ul a:focus {
	/* background: #f5f5f5; */
}

.magello-ul a .iconcina:after {
	content:"\2192"; /*destra */
}

.magello-ul button[aria-expanded='false'] .iconcina:after {
	content:"\2193"; /*giu*/
}
.magello-ul button[aria-expanded='true'] .iconcina:after {
	content:"\2191"; /*su*/
}

.magello-barra-sopra > div {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.magello-dialog li.posizione.senza-elementi {
    display: none;
}
footer .senza-elementi {
    display: none;
}
nav.magello-skip {
    position: fixed;
    width: 100%;
    background-color: var(--nocciola);
    z-index: 45;
    height: 0;
    display: block;
    padding: 0px;
    transition: height 0.1s linear;
    overflow: hidden;
}
nav.magello-skip:focus-within {
    height: 100px;
}
nav.magello-skip:focus-within + #magello-menu-principe {
    margin-top: 100px;
}
nav.magello-skip a {
    color: var(--nero);
    text-align: center;
    max-width: 202px;
    flex: 1 1 0%;
    padding: 0 var(--grondaia-piccola);
}
section[data-livello='1'] {
    margin-left: 1.5rem;
}
section[data-livello='2'] {
    margin-left: 3rem;
}
section[data-livello='2'] {
    margin-left: 4.5rem;
}

.magello-logo-linkante {
	display: block;
}
.magello-logo-linkante:focus-visible {
  outline: var(--tancredi-outline);
  outline-offset: var(--tancredi-outline-offset);
}

/****************   TELEGIORNALE *****************/
.telegiornale {position: relative; overflow: hidden; }
.telegiornale .lanci  {position: relative;overflow: hidden;height: calc(100% - var(--telegiornale-altezza-pallini) - var(--telegiornale-altezza-controlli));}
.telegiornale li.lancio { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; }
.telegiornale li.lancio.attivo {display: block;}
.telegiornale-background { width: 100%; height: 100%; z-index: 1; }
.telegiornale-content {position: relative;z-index: 2;max-height: 100%;}
.telegiornale-controls {position: absolute;width: 100%;display: flex;justify-content: space-around;z-index: 3;flex-direction: row;bottom: var(--telegiornale-altezza-pallini);height: var(--telegiornale-altezza-controlli);align-items: center;}
.telegiornale-controls button {
	border: none;
	padding: 0;
	cursor: pointer;
	background-size: 60px 60px;
	height: 60px;
	width: 60px;
	display: block;
	font-size: 0;
	background-color:var(--tancredi-nero);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-size: 60px 60px;
	mask-repeat: no-repeat;
	mask-position: center;
}
.telegiornale-controls.colori-invertiti button {
	background-color:var(--tancredi-bianco);
}
.telegiornale-controls button:focus { outline: var(--tancredi-outline); outline-offset: var(--tancredi-outline-offset); /* Focus visible */ }
.pallini {position: absolute;display: flex;list-style: none;z-index: 3;bottom: 0;align-items: center;width: 100%;flex-direction: row;justify-content: center;height: var(--telegiornale-altezza-pallini);}
.pallini li { background: white; width: 10px; height: 10px; border-radius: 50%; margin: 0 0.5rem; cursor: pointer; }
.pallini li[aria-selected="true"] { background: blue; }

/* Media query per responsive */
@media (max-width: 768px) { .telegiornale[data-fullo] { height: 40vh; } }

@media (max-width: 768px) {
  .telegiornale-background video {
    display: none;
  }

	/*
  .telegiornale-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, var(--tancredi-grigio), var(--tancredi-nero));
  }
	*/
}

.telegiornale-background {
  position: absolute;
  inset: 0;               /* shorthand per top/right/bottom/left: 0 */
  overflow: hidden;       /* nasconde parti cropate */
}

/* Per <img> e <video> dentro .slide-background */
.telegiornale-background img,
.telegiornale-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* il piÃ¹ usato per hero: riempie, crop se necessario, mantiene aspect ratio */
  object-position: center; /* centra il crop â€“ puoi cambiare in top, bottom, etc. se il soggetto Ã¨ decentrato */
}

/* Opzionale: se vuoi un effetto piÃ¹ "cinematografico" su mobile portrait */
@media (max-width: 768px) and (orientation: portrait) {
  .telegiornale-background img,
  .telegiornale-background video {
    object-position: 50% 30%; /* sposta il focus piÃ¹ in alto se il contenuto importante Ã¨ in basso */
  }
}

/* Contenitore carousel/slide con aspect-ratio intrinseco (previene CLS) */
.telegiornale[data-fullo],
.telegiornale[data-fullo] .slide {
  aspect-ratio: 16 / 9;   /* o 4 / 3, 21 / 9, etc. â€“ scegli in base al tuo contenuto medio */
  /* Se non vuoi fissare un ratio rigido (perchÃ© full-height variabile), usa min-height invece */
  min-height: 50vh;       /* fallback se aspect-ratio non supportato o vuoi flessibilitÃ  */
  height: 60vh;           /* o calc(100vh - header-height) se hai header fisso */
  max-height: 80vh;       /* evita che diventi troppo alto su desktop ultrawide */
}

/*********************/
.telegiornale.tipo-feed li.lancio {
    height: 300px;
    display: block;
    position: relative;
    flex: 0 300px;
}
.telegiornale.tipo-feed .lanci {
    display: flex;
	flex-wrap: wrap;
}

/****************   TELEGIORNALE *****************/

/************** aggiungo al telegiornale *******************/
.telegiornale[data-fullo] .slide {
	aspect-ratio: inherit;
	}
.telegiornale[data-quanti='1'] .telegiornale-controls,
.telegiornale[data-quanti='1'] .pallini {
	display:none;
}

.telegiornale-controls button.prev {mask-image: url(../../svg/prev.svg);-webkit-mask-image: url(../../svg/prev.svg);/* background-image: url(../../svg/prev.svg); */}
.telegiornale-controls button.next {mask-image: url(../../svg/next.svg);-webkit-mask-image: url(../../svg/next.svg);/* background-image: url(../../svg/next.svg); */}
.telegiornale-controls button.pause {mask-image: url(../../svg/pause.svg);-webkit-mask-image: url(../../svg/pause.svg);/* background-image: url(../../svg/pause.svg); */}
.telegiornale-background > picture {
    height: 100%;
}


.telegiornale ul.lanci, .telegiornale .scrollatore {
    height: 100%;
}

.telegiornale-background > video {display:none;}
@media(min-width:1000px) {
	.telegiornale-background > img {display:none;}
	.telegiornale-background > video {display:block;}
}


/****************   TELEGIORNALE *****************/

/****************** FILTRIERA magellanica ***************/
.pallino {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: white;
  text-decoration: none;
  color: #333;
}

.filtro.inattivo > .pallino:hover,
.filtro.inattivo > .pallino:focus-visible {
  background: #e9ecef;
  border-color: #adb5bd;
}

.filtro.attivo > .pallino {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
  font-weight: 500;
}

.togli-filtro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  color: white;
  text-decoration: none;
}

.togli-filtro:hover,
.togli-filtro:focus-visible {
  /* background: rgba(255,255,255,0.5); */
}

/* Focus visibile sul remove */
.togli-filtro:focus-visible {
  outline: var(--tancredi-outline);
  outline-offset: var(--tancredi-outline-offset);
}
/****************** filtriera magellanica ***************/

ul.filtri {
	display:flex;
}
/****************** aggiunte ************************/


/****************** photo gallery con telegiornale ******/
.galla {
  position: relative;
  /* max-width: 800px; */ 
  margin: 0 auto;
}

.galla-container {
  overflow-x: auto; 
  white-space: nowrap; 
  scroll-behavior: smooth;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.galla-container::-webkit-scrollbar {
  display: none;
}
.galla-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
}

.galla-list li {
  flex: 0 0 auto; /* Larghezza fissa per ogni item */
  /* margin-right: 10px; */ /* Spazio tra immagini */
  /* max-width: 500px; */
  overflow: hidden;
  /* width: 500px; */
  scroll-snap-align: start;
}

.galla-list img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  width:unset;
  height:unset;
  /*  object-fit:unset; */
}

/* Mostra 3 immagini + un pezzo della quarta */
.galla-container {
  /* width: calc(500px * 3 ); */ /* 3 full (200px) + 2 spazi (10px) + pezzo quarta (50px) */
  width:100%;
  display: block;
}

/* Bottoni */
.galla-prev, .galla-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  /* font-size: 20px; */
  z-index: 1;
}

.galla-prev {
  left: 0;
}

.galla-next {
  right: 0;
}

.galla-prev:disabled, .galla-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Focus per accessibilitÃ  */
.galla-list a:focus img {
	outline: var(--tancredi-outline);
	outline-offset: var(--tancredi-outline-offset);
}

/* Nascondi i bottoni su mobile */
@media (max-width: 768px) {
  .galla-prev, .galla-next {
    display: none;
  }
  
  .galla-container {
    width: 100%;                    /* full width su mobile */
  }
}

/****************** photo gallery con telegiornale ******/



/****************** banner ******************************/
.tele-banner {
	aspect-ratio:16 / 9;
}
.background-del-banner {
    height: 100%;
    position: relative;
}
.background-del-banner > section {
	position: absolute;
	inset: 0;
	display: flex;
    flex-direction: column;
}
.background-del-banner > a {
	position: absolute;
	inset: 0; 
}
.tele-banner .contento {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tele-banner.position-bottom .background-del-banner {background-position:bottom;}
.tele-banner.position-top .background-del-banner {background-position:top;}
.tele-banner.position-left .background-del-banner {background-position:left;}
.tele-banner.position-right .background-del-banner {background-position:right;}
.tele-banner.position-center .background-del-banner {background-position:center;}
.tele-banner.fit-cover .background-del-banner {background-size:cover;}
.tele-banner.fit-contain .background-del-banner {background-size:contain;}
/****************** banner ******************************/

/******************* SHARE LINKS ********************************/
.share-buttons {
  margin: 2rem 0;
}

.share-title {
  margin: 0 0 0.8rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #333;
  background: #f5f5f5;
  border-radius: 50%;
  transition: all 0.18s ease;
  text-decoration: none;
}

.share-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.share-facebook { color: #1877f2; }
.share-instagram { color: #e1306c; }
.share-x         { color: #000; }
.share-whatsapp  { color: #25d366; }
/******************* SHARE LINKS ********************************/

/***************************  aggiungo ******************************/
span.svg > svg {
    height: 100%;
    width: 100%;
    fill: black;
}

.tele-gallery {
    position: relative;
    width: 100%;
}


/******************************************************
 *                                                    *
 *   .corpo                                           *
 *                                                    *
 * ****************************************************/
 .corpo,.colonna {display:block;}
.corpo {
    /*padding-bottom: var(--tancredi-spazio-medio);*/
}

.corpo > * {
	margin-top:var(--tancredi-spazio-grosso);
	margin-bottom:var(--tancredi-spazio-grosso);
}
.colonna > * {
	margin-top:var(--tancredi-spazio-medio);
	margin-bottom:var(--tancredi-spazio-medio);
}
.corpo > :nth-child(1) {margin-top:0;}
.colonna > :nth-child(1) {margin-top:0;}
.corpo > .aderente-sotto,.colonna > .aderente-sotto {margin-bottom:0;}

.aderente-sotto + * {margin-top:0;}

.corpo > h2 + *,.colonna > h2 + * {margin-top: var(--spazio-mediopiccolo);}
.corpo > h2,.colonna > h2 {margin-bottom:0;}
.corpo > h3 + *,.colonna > h3 + * {margin-top: var(--spazio-piccolo);}
.corpo > h3,.colonna > h3 {margin-bottom:0;}

/******************************************************
 *                                                    *
 *   .corpo                                           *
 *                                                    *
 * ****************************************************/


.blocco-hero a.link-muto {
    position: absolute;
    inset: 0;
}
.telegiornale:focus-visible,
.tele-gallery:focus-visible {
    outline: var(--tancredi-outline);
    outline-offset: var(--tancredi-outline-offset);
}

