/* Reset e stili base */

:root {
    --colore-primario: #fff; /* quadrati */
    --colore-secondario: #f1b600; /* barre */
    --colore-sfumato: #fff; /* sfumato quadrati */
	--colore-testoblu: #0062a7;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}

.disclaimer {
	margin-top: 1em;
	font-size: 0.8em !important;
}

.numbered-section .content sup a {
  text-decoration: none;
  background-image: none;
}

.numbered-section .content sup a:hover {
  text-decoration: none;
  background-image: none;
}

p[id^="nota"] {
  font-size: 0.9em;
  margin-top: 1em;
}

p[id^="nota"] a {
  color: var(--colore-testoblu);
  text-decoration: none;
}

[id^="nota"] {
  scroll-margin-top: 80px; /* o il valore che vuoi */
}


.numbered-section .content a {
  color: var(--colore-testoblu);
  line-height: 1.6;
  text-decoration: none;

  /* Sottolineatura */
  background-image: linear-gradient(var(--colore-testoblu), var(--colore-testoblu));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;

  transition: background-size 0.4s ease, background-image 0.4s ease;
}

/* Cambio colore e animazione su hover */
.numbered-section .content a:hover {
  color: var(--colore-secondario) !important;
  background-image: linear-gradient(var(--colore-secondario), var(--colore-secondario));
  background-size: 0% 2px;
}

/* Visited link (colore testo) */
.numbered-section .content a:visited {
  color: var(--colore-testoblu); /* o un altro colore se vuoi differenziare */
}



.slide-in-left{animation:slide-in-left .5s cubic-bezier(.25,.46,.45,.94) both}

/* ----------------------------------------------
 * Generated by Animista on 2025-4-6 19:45:14
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

@keyframes slide-in-left{0%{transform:translateX(-1000px);opacity:0}100%{transform:translateX(0);opacity:1}}

.accent-line-divider {
position: relative;
height: 5px;
background-color: var(--divider-color, #ffffff);
margin: 40px auto;
width: 70%;
max-width: 900px;
--divider-color: var(--colore-secondario);
}
.accent-line-divider span {
position: absolute;
width: 15px;
height: 15px;
background-color: var(--divider-color, #ffffff);
border-radius: 50%;
top: -5px;
left: 50%;
transform: translateX(-50%);
}
/* Sezione video */
.video-section {
--section-bg: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
background: var(--section-bg);
color: white;
padding: 60px 40px;
margin: 40px 0;
border-radius: 15px;
display: flex;
flex-direction: column;
gap: 30px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
/* Contenitore video responsive */
.video-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* Mantiene rapporto 16:9 */
height: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
/* Contenuto testuale */
.video-content {
padding: 0 20px;
}
.video-content h2 {
font-size: 32px;
margin-bottom: 15px;
font-weight: 700;
}
.video-content p {
font-size: 18px;
line-height: 1.7;
}
/* Responsive */
@media (max-width: 768px) {
.video-section {
padding: 40px 25px;
}
.video-content h2 {
font-size: 26px;
}
.video-content p {
font-size: 16px;
}
.head-section {
padding: 40px 25px;
}
.head-content h2 {
font-size: 26px;
}
.head-content p {
font-size: 16px;
}
}
/* Sezione video */
.head-section {
background-color: var(--colore-secondario);
color: #000;
padding: 10px;
border-radius: 15px;
display: flex;
flex-direction: column;
gap: 30px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
/* Contenuto testuale */
.head-content {
padding: 0 20px;
}
.head-content h2 {
font-size: 32px;
margin-bottom: 15px;
font-weight: 700;
}
.head-content p {
font-size: 18px;
line-height: 1.7;
}
.title-banner2 {
  width: 100%;
  display: flex;
  justify-content: center; /* Per centrare l’immagine */
  margin: 40px 0; /* Distanza sopra e sotto */
}

.title-banner2 img {
  width: 100%;
  height: auto;
  max-width: 1200px; /* Uguale al container */
  border-radius: 15px; /* Se vuoi arrotondare come il resto del sito */
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08); /* Stile ombra coerente */
  display: block;
}


.title-banner {
background-color: var(--colore-testoblu);
display: flex;
align-items: center;
justify-content: center; /* Centrato orizzontalmente */
gap: 40px;
max-width: 1200px;
border-radius: 15px;
margin: 50px auto;
padding: 20px 20px 20px;
text-align: left; /* Mantiene l'allineamento del testo a sinistra */
  background-image: url('DEF_rubrica_box BC_403x210.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 626px;
}
.number-circle {
--circle-bg-color: var(--colore-primario);
background-color: var(--circle-bg-color);
width: 200px; /* Più grande */
height: 200px; /* Più grande */
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.number-circle span {
color: var(--colore-testoblu);
font-size: 150px; /* Più grande */
font-weight: 600;
line-height: 1;
font-family: 'Montserrat', sans-serif;
}
.title-text {
display: flex;
flex-direction: column;
justify-content: center;
}
.subtitle {
font-size: 24px; /* Più grande */
font-weight: 600;
color: var(--colore-primario);
margin-bottom: 8px;
font-family: 'Montserrat', sans-serif;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.main-title {
font-size: 42px; /* Più grande */
font-weight: 700;
color: var(--colore-primario);
margin: 0;
line-height: 1.2;
font-family: 'Montserrat', sans-serif;
text-transform: uppercase;
}
/* Stili responsive */
@media (max-width: 768px) {
.title-banner {
gap: 30px;
}
.number-circle {
width: 130px;
height: 130px;
}
.number-circle span {
font-size: 80px;
}
.subtitle {
font-size: 20px;
}
.main-title {
font-size: 36px;
}
}
@media (max-width: 480px) {
.title-banner {
flex-direction: column;
text-align: center;
gap: 20px;
}
}

header {
margin-bottom: 0px !important;
}

.container-2 {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Stili header principale (giallo) */
.__s24 {
width: 100%;
}
/* Stili header secondario */
.secondary-header {
background-color: #fff;
padding: 15px 0;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
z-index: 1000;
}
.secondary-header .container-2 {
display: flex;
justify-content: space-between;
align-items: center;
}
.secondary-header .logo img {
height: 50px;
transition: all 0.3s ease;
}
.secondary-header .creato-per {
display: flex;
align-items: center;
}
.secondary-header .creato-per span {
margin-right: 10px;
font-size: 14px;
color: #666;
font-weight: 500;
}
.secondary-header .creato-per img {
height: 40px;
}
/* Stili header sticky */
.secondary-header.sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 8px 0;
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.secondary-header.sticky .logo img {
height: 35px;
}
.secondary-header.sticky .creato-per img {
height: 30px;
}
/* Sezione hero */
.hero {
background-color: #fff;
padding: 60px 0;
text-align: center;
margin-bottom: 30px;
}
.hero h1 {
font-size: 42px;
margin-bottom: 20px;
font-weight: 700;
color: #222;
}
.hero .subtitle {
font-size: 20px;
color: #666;
max-width: 800px;
margin: 0 auto 30px;
}
.hero-image {
max-width: 900px;
margin: 0 auto;
}
.hero-image img {
width: 100%;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
/* Contenuto principale */
.main-content {
padding: 20px 0 60px;
}
/* Sezioni numerate */
.numbered-section {
position: relative;
padding: 60px 100px !important;
margin: 40px 0;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
overflow: hidden;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}
/* Schemi di colore per le diverse sezioni */
.numbered-section:nth-of-type(1) {
background: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
}
.numbered-section:nth-of-type(2) {
background: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
}
.numbered-section:nth-of-type(3) {
background: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
}
.numbered-section:nth-of-type(4) {
background: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
}
.numbered-section:nth-of-type(5) {
background: linear-gradient(135deg, var(--colore-primario), var(--colore-sfumato));
}
/* Posizione del numero di sfondo */
.numbered-section .number {
color: var(--colore-testoblu) !important;
position: absolute;
font-size: 180px;
font-weight: 900;
opacity: 0.90;
color: #fff;
left: 40px; /* Aumentato da 20px per dare più spazio */
top: -20px; /* Modificato da -40px per evitare sovrapposizioni col titolo */
line-height: 1;
z-index: 1;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Ombra del testo con opacità */
}
/* Numero di sfondo a DESTRA per le sezioni con immagine a sinistra (2 e 4) */
.numbered-section.image-left .number {
left: auto; /* Rimuove il posizionamento a sinistra */
right: 40px; /* Posiziona a destra */
}
.numbered-section .content {
flex: 1;
z-index: 2;
color: var(--colore-testoblu);
max-width: 65%;
margin-left: 5em;
}
.numbered-section .content h2 {
font-size: 32px;
margin-bottom: 20px;
font-weight: 700;
}
.numbered-section .content p {
font-size: 18px;
line-height: 1.7;
}
.numbered-section .image {
width: 250px;
height: 250px;
border-radius: 50%;
overflow: hidden;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
border: 5px solid rgba(255, 255, 255, 0.2);
z-index: 2;
flex-shrink: 0;
}
.numbered-section .image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.numbered-section.image-left {
flex-direction: row-reverse;
}
/* Sezione Call to Action */
.cta {
background-color: #fff;
padding: 80px 0;
text-align: center;
margin-top: 40px;
}
.cta h2 {
font-size: 36px;
margin-bottom: 20px;
color: #222;
}
.cta p {
font-size: 18px;
color: #666;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.btn {
display: inline-block;
padding: 14px 36px;
background-color: #ff7e5f;
color: white;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn:hover {
background-color: #ff6346;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Stili responsive per mobile */
@media (max-width: 1000px) {
.hero h1 {
font-size: 32px;
}
.hero .subtitle {
font-size: 18px;
}
.numbered-section {
flex-direction: column;
padding: 50px 60px !important;
}
.numbered-section.image-left {
flex-direction: column;
}
.numbered-section .content {
max-width: 100%;
margin-bottom: 30px;
order: 2; /* Posiziona il contenuto sotto */
margin-left: 0px;
}
.numbered-section .number {
font-size: 140px;
top: -10px;
left: 15px;
}
.numbered-section.image-left .number {
right: 15px;
}
.numbered-section .content h2 {
font-size: 26px;
}
.numbered-section .content p {
font-size: 16px;
}

.numbered-section .image {
width: 180px;
height: 180px;
order: 1; /* Posiziona l'immagine sopra */
}
.secondary-header .logo img {
height: 35px;
}
.secondary-header .creato-per span {
font-size: 12px;
}
.secondary-header .creato-per img {
height: 30px;
}
.cta h2 {
font-size: 28px;
}
.cta p {
font-size: 16px;
}
}