/* Stile pagine informazioni.html    */
.btn-green {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #00b96c;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-green:hover {
  background: #67e0ae;
  transform: scale(1.05);
}
.video-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.video-container {
    position: relative;
}

.video-thumbnail img {
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
}
  .video-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .video-card {
      text-align: center;
      max-width: 480px;
      flex: 1 1 300px;
      background: #f9f9f9;
      padding: 1rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .video-card h4 {
      margin-bottom: 0.5rem;
      color: #333;
  }

  .video-card video {
      width: 100%;
      border-radius: 8px;
      margin-bottom: 0.5rem;
  }

  .video-card a {
      display: inline-block;
      margin-top: 0.5rem;
      color: #0056b3;
      text-decoration: none;
      font-weight: bold;
  }

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

.photo-grid_2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain; /* mantiene proporzioni */
  margin-bottom: 0.5rem;
}

.info-card p {
  font-weight: bold;
  margin: 0.5rem 0;
}

.download-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.download-link:hover {
  background: #004a99;
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}
/* Thumbnail nell'hero */
.hero img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  width: auto;
  object-fit: contain;  /* così non ritaglia e non deforma */
  border-radius: 12px;
  cursor: pointer;
}

/* Immagine ingrandita nel modal */
.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 95vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 1rem 2rem;
  border-radius: 8px;
}

/* LOGHI PARTNERS E SPONSOR */

.logo-grid {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(160px, 1fr)
    );

    gap: 20px;
    margin: 25px 0 35px;

    align-items: stretch;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 125px;
    padding: 18px;

    border: 1px solid #e8ece9;
    border-radius: 14px;

    background: #fff;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.logo-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.logo-card a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.logo-card img {
    display: block;

    max-width: 100%;
    max-height: 85px;

    width: auto;
    height: auto;

    object-fit: contain;
}

@media (max-width: 500px) {

    .logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .logo-card {
        height: 105px;
        padding: 12px;
    }

    .logo-card img {
        max-height: 75px;
    }

}

/* FOTO */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.photo-grid img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 30px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto; /* permette di scrollare se l'immagine è molto alta */
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;   /* non oltre la larghezza */
  max-height: 95vh; /* non oltre l’altezza visibile */
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}
.close {
  position: absolute;
  top: 15px; right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* =====================================================
   PAGINA INFORMAZIONI - PROGETTO SCUOLA 2027
   ===================================================== */

.informazioni-page {
    --info-primary: #176b45;
    --info-primary-dark: #104d32;
    --info-accent: #e8f4ed;
    --info-text: #24352c;
    --info-muted: #6c7b72;
    --info-border: #e4ebe6;

    max-width: 1250px;
    margin: 0 auto;
    padding: 25px 20px 55px;
    color: var(--info-text);
}


/* HERO */

.info-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 55px;
    padding: 55px 45px;
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255, 255, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #104d32 0%,
            #176b45 55%,
            #2b865b 100%
        );

    color: #fff;
    box-shadow: 0 14px 35px rgba(16, 77, 50, 0.16);
}

.info-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.info-label {
    display: inline-block;
    margin-bottom: 17px;
    padding: 7px 13px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;

    background: rgba(255, 255, 255, 0.1);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.info-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.info-hero p {
    max-width: 620px;
    margin-bottom: 27px;

    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.8;
}

.btn-info-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 21px;
    border-radius: 10px;

    background: #fff;
    color: var(--info-primary-dark);

    font-weight: 750;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-info-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--info-primary-dark);
}


/* TITOLI SEZIONE */

.info-section {
    margin-bottom: 60px;
    scroll-margin-top: 25px;
}

.info-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 27px;
}

.info-eyebrow {
    display: block;
    margin-bottom: 8px;

    color: var(--info-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.info-section-heading h2 {
    margin: 0 0 10px;
    color: var(--info-text);

    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
}

.info-section-heading p {
    margin: 0;
    color: var(--info-muted);
    font-size: 1rem;
    line-height: 1.7;
}


/* DOCUMENTI */

.document-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.informazioni-page .info-card {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--info-border);
    border-radius: 16px;

    background: #fff;
    box-shadow: 0 5px 20px rgba(25, 55, 38, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.informazioni-page .info-card:hover {
    transform: translateY(-5px);

    border-color: #c9dfd0;
    box-shadow: 0 14px 32px rgba(25, 55, 38, 0.1);
}

.document-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    height: 215px;
    padding: 15px;

    overflow: hidden;
    background: #f3f7f4;
    text-decoration: none;
}

.document-preview img {
    display: block;

    max-width: 100%;
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.info-card:hover .document-preview img {
    transform: scale(1.04);
}

.document-type {
    position: absolute;
    left: 12px;
    top: 12px;

    padding: 6px 10px;
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.94);
    color: var(--info-primary-dark);

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.info-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;

    padding: 20px;
}

.info-card-body h3 {
    margin: 0 0 10px;

    color: var(--info-text);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.info-card-body p {
    flex: 1;
    margin: 0 0 22px;

    color: var(--info-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.btn-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    width: 100%;
    margin-top: auto;
    padding: 11px 13px;

    border: 1px solid #cfe3d5;
    border-radius: 9px;

    background: #f2f8f4;
    color: var(--info-primary-dark);

    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.btn-document:hover {
    background: var(--info-primary);
    color: #fff;
}


/* VIDEO */

.video-section {
    padding-top: 5px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.informazioni-page .video-card {
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--info-border);
    border-radius: 17px;

    background: #fff;
    box-shadow: 0 6px 24px rgba(25, 55, 38, 0.055);
}

.video-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px 23px;
}

.video-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 43px;
    height: 43px;

    border-radius: 12px;
    background: var(--info-accent);
    color: var(--info-primary);

    font-size: 1rem;
}

.video-card-heading h3 {
    margin: 0 0 5px;

    color: var(--info-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.video-card-heading p {
    margin: 0;
    color: var(--info-muted);
    font-size: 0.85rem;
}

.informazioni-page .video-container {
    position: relative;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 16 / 9;

    background: #17251c;
}

.informazioni-page .video-thumbnail {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;

    border: 0;
    background: #17251c;
    cursor: pointer;
}

.video-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0.85;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.04);
    opacity: 0.7;
}

.play-button {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;
    padding-left: 5px;

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: rgba(23, 107, 69, 0.92);
    color: #fff;

    font-size: 1.5rem;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    background: #176b45;
}

.informazioni-page .video-container video {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 16px 21px;
}

.video-card-footer span {
    color: var(--info-muted);
    font-size: 0.85rem;
}

.video-card-footer a {
    color: var(--info-primary);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.video-card-footer a:hover {
    color: var(--info-primary-dark);
    text-decoration: underline;
}


/* BANNER DOWNLOAD */

.download-banner {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 30px;
    border: 1px solid #d8e9dd;
    border-radius: 18px;

    background: linear-gradient(120deg, #f0f8f2, #f9fcfa);
}

.download-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 60px;
    height: 60px;

    border-radius: 16px;
    background: #dcefe2;
    color: var(--info-primary);

    font-size: 1.8rem;
    font-weight: 800;
}

.download-banner-text {
    flex: 1;
}

.download-banner-text h2 {
    margin: 0 0 8px;

    color: var(--info-text);
    font-size: 1.4rem;
    font-weight: 800;
}

.download-banner-text p {
    margin: 0;

    color: var(--info-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    flex-shrink: 0;
    padding: 14px 20px;

    border-radius: 10px;
    background: var(--info-primary);
    color: #fff;

    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    background: var(--info-primary-dark);
    color: #fff;
}


/* ACCESSIBILITÀ */

.informazioni-page a:focus-visible,
.informazioni-page button:focus-visible {
    outline: 3px solid #e4a93b;
    outline-offset: 4px;
}


/* TABLET */

@media (max-width: 1050px) {

    .document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-preview {
        height: 240px;
    }

}


/* TELEFONI */

@media (max-width: 650px) {

    .informazioni-page {
        padding: 15px 12px 35px;
    }

    .info-hero {
        margin-bottom: 40px;
        padding: 35px 23px;
        border-radius: 17px;
    }

    .info-hero p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .info-section {
        margin-bottom: 45px;
    }

    .info-section-heading {
        margin-bottom: 20px;
    }

    .document-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .document-preview {
        height: 235px;
    }

    .info-card-body {
        padding: 18px;
    }

    .video-card-heading {
        padding: 18px;
    }

    .video-card-footer {
        padding: 14px 17px;
    }

    .download-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;

        padding: 24px 20px;
    }

    .download-banner-text h2 {
        font-size: 1.3rem;
    }

    .btn-download {
        width: 100%;
    }

}

    .support-section {
      background: #e6f2ff; /* azzurro chiaro */
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin: 2rem 0;
      text-align: center;
    }

    .support-section h2 {
      margin-bottom: 1.5rem;
      font-size: 1.8rem;
      color: #0056b3;
    }

    .photo-grid_b {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .photo-grid_b img {
      max-height: 100px;
      transition: transform 0.3s ease;
    }

    .photo-grid_b img:hover {
      transform: scale(1.1);
    }
    .photo-grid_b img {
      max-height: 100px;
      background: white;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      transition: transform 0.3s ease;
    }
    .btn-green {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.6rem 1.2rem;
      background: #00b96c;
      color: #fff;
      font-weight: bold;
      text-decoration: none;
      border-radius: 6px;
      transition: background 0.3s ease, transform 0.2s ease;
    }
    .btn-green:hover {
      background: #67e0ae;
      transform: scale(1.05);
    }

    .photo-grid_b {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }

    .photo-grid_b a {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #fff;       /* sfondo neutro */
      border-radius: 8px;
      padding: 10px;
      transition: transform 0.3s ease;
    }

    .photo-grid_b img {
      max-width: 100%;
      max-height: 150px;      /* tutte le immagini alla stessa altezza */
      object-fit: contain;    /* NON taglia mai l’immagine */
      transition: transform 0.3s ease;
    }

    .photo-grid_b a:hover img {
      transform: scale(1.2);  /* ingrandisce al passaggio */
      z-index: 5;
    }


    /* Modal fullscreen */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      padding-top: 40px;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.9);
    }

    .modal-content {
      display: block;
      margin: auto;
      max-width: 90%;
      max-height: 95vh;
    }
    .close {
      position: absolute;
      top: 15px; right: 25px;
      color: white;
      font-size: 35px;
      font-weight: bold;
      cursor: pointer;
    }

    .video-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .video-card {
        background: #fff;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        text-align: center;
    }

    .video-container {
        position: relative;
    }

    .video-thumbnail img {
        max-width: 100%;
        border-radius: 8px;
        object-fit: cover;
        cursor: pointer;
    }

    .photo-grid_2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }

    .info-card {
      text-align: center;
      background: #fff;
      border-radius: 8px;
      padding: 1rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .info-card img {
      width: 100%;
      max-height: 200px;
      object-fit: contain; /* mantiene proporzioni */
      margin-bottom: 0.5rem;
    }

    .info-card p {
      font-weight: bold;
      margin: 0.5rem 0;
    }

    .download-link {
      display: inline-block;
      margin-top: 0.5rem;
      padding: 0.4rem 0.8rem;
      background: #0066cc;
      color: #fff;
      border-radius: 4px;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .download-link:hover {
      background: #004a99;
    }

    /* HERO */
    .hero {
      position: relative;
      text-align: center;
      margin-bottom: 2rem;
    }
    /* Thumbnail nell'hero */
    .hero img {
      max-width: 100%;
      max-height: 400px;
      height: auto;
      width: auto;
      object-fit: contain;  /* così non ritaglia e non deforma */
      border-radius: 12px;
      cursor: pointer;
    }

    /* Immagine ingrandita nel modal */
    .modal-content {
      display: block;
      margin: auto;
      max-width: 90%;
      max-height: 95vh;
      width: auto;
      height: auto;
      border-radius: 6px;
      box-shadow: 0 0 15px rgba(0,0,0,0.6);
    }

    .hero-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      background: rgba(0,0,0,0.5);
      padding: 1rem 2rem;
      border-radius: 8px;
    }

    /* LOGHI */
    .logo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
      align-items: center;
    }
    .logo-card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      padding: 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 120px;
    }
    .logo-card img {
      max-height: 80px;
      max-width: 100%;
      object-fit: contain;
    }

    /* FOTO */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }
    .photo-grid img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 8px;
      transition: transform 0.2s ease;
    }
    .photo-grid img:hover {
      transform: scale(1.05);
    }

    .video-container video {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover; /* oppure contain se non vuoi tagli */
    }
    .video-container {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .video-container video,
    .video-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
    }
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      padding-top: 30px;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.9);
      overflow: auto; /* permette di scrollare se l'immagine è molto alta */
    }

    .modal-content {
      display: block;
      margin: auto;
      max-width: 90%;   /* non oltre la larghezza */
      max-height: 95vh; /* non oltre l’altezza visibile */
      border-radius: 6px;
      box-shadow: 0 0 15px rgba(0,0,0,0.6);
    }
    .close {
      position: absolute;
      top: 15px; right: 25px;
      color: white;
      font-size: 35px;
      font-weight: bold;
      cursor: pointer;
    }
    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3rem;
        color: white;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        padding: 0.5rem 1rem;
    }
    .video-thumbnail {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9; /* oppure 9/16 per verticali */
        overflow: hidden;
        border-radius: 8px;
    }

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* =========================================
   HOMEPAGE - BANNER INFORMAZIONI
   ========================================= */

.home-info-banner {
    display: flex;
    align-items: center;
    gap: 25px;

    margin: 40px 0;
    padding: 30px;

    border: 1px solid #d7e9dc;
    border-radius: 18px;

    background: linear-gradient(
        120deg,
        #edf7f0 0%,
        #f8fcf9 100%
    );

    box-shadow: 0 5px 20px rgba(25, 75, 45, 0.07);
}

.home-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 70px;
    height: 70px;

    border-radius: 18px;
    background: #dcefe2;

    font-size: 2rem;
}

.home-info-text {
    flex: 1;
}

.home-info-label {
    display: inline-block;
    margin-bottom: 8px;

    color: #176b45;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.home-info-text h2 {
    margin: 0 0 10px;

    color: #194d32;

    font-size: 1.5rem;
    font-weight: 800;
}

.home-info-text p {
    margin: 0;

    color: #596b60;

    font-size: 0.95rem;
    line-height: 1.7;
}

.home-info-action {
    flex-shrink: 0;
}

.home-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 20px;

    border-radius: 10px;

    background: #176b45;
    color: #fff;

    font-weight: 750;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.home-info-button:hover {
    transform: translateY(-2px);

    background: #104d32;
    color: #fff;
}

.home-info-button:focus-visible {
    outline: 3px solid #e4a93b;
    outline-offset: 4px;
}


/* TABLET E SMARTPHONE */

@media (max-width: 800px) {

    .home-info-banner {
        flex-direction: column;
        align-items: flex-start;

        gap: 18px;

        padding: 24px;
    }

    .home-info-icon {
        width: 58px;
        height: 58px;

        border-radius: 14px;

        font-size: 1.7rem;
    }

    .home-info-text h2 {
        font-size: 1.3rem;
    }

    .home-info-action {
        width: 100%;
    }

    .home-info-button {
        width: 100%;
    }

}

  .image-group {
      display: flex;
      justify-content: center;
      gap: 2rem; /* spazio tra le immagini */
      flex-wrap: wrap;
      margin-top: 1.5rem;
  }

  .image-group a img {
    max-width: 100%;   /* l’immagine non supera la larghezza del contenitore */
    height: auto;      /* mantiene le proporzioni */
    transition: transform 0.2s ease;
    cursor: pointer;
    border-radius: 8px; /* opzionale: angoli arrotondati */
  }


  .image-group a img:hover {
      transform: scale(1.1); /* effetto zoom al passaggio */
  }

  .download-section {
    margin-top: 2rem;
    text-align: center;
  }

  .download-section ul {
    list-style: none;
    padding: 0;
  }

  .download-section li {
    margin: 0.5rem 0;
  }

  .download-section a {
    text-decoration: none;
    font-weight: bold;
    color: #007bff;
    transition: color 0.2s ease;
  }

  .download-section a:hover {
    color: #0056b3;
  }
/* =========================================
   PAGINA DOCUMENTI E DOWNLOAD
   ========================================= */

.download-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #263238;
}


/* INTESTAZIONE */

.download-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 45px 25px;
    margin-bottom: 40px;
    border-radius: 18px;
    background: linear-gradient(135deg, #163b67, #245a91);
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.15);
}

.download-hero-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.download-hero h1 {
    margin: 0 0 15px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
}

.download-hero p {
    max-width: 700px;
    margin: 0 auto 22px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.download-season {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
}


/* GRUPPI DI DOCUMENTI */

.download-group {
    margin-bottom: 42px;
}

.download-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8edf2;
}

.download-title-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf1f8;
    font-size: 26px;
}

.download-group-title h2 {
    margin: 0 0 5px;
    font-size: 23px;
    font-weight: 800;
    color: #173f6b;
}

.download-group-title p {
    margin: 0;
    color: #667482;
    font-size: 14px;
    line-height: 1.5;
}


/* GRIGLIA */

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* SCHEDA DOCUMENTO */

.download-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(30, 50, 70, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: #a9c4df;
    box-shadow: 0 10px 25px rgba(30, 50, 70, 0.11);
}

.download-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #f0f5fa;
    font-size: 28px;
}

.download-card-content {
    flex: 1;
    width: 100%;
}

.download-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #4779a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.download-card h3 {
    margin: 0 0 10px;
    color: #243b53;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.download-card p {
    margin: 0 0 22px;
    color: #687784;
    font-size: 14px;
    line-height: 1.7;
}


/* PULSANTE DOWNLOAD */

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 9px;
    background: #174b7a;
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.download-button:hover {
    background: #0e3458;
    color: #fff !important;
    transform: translateY(-1px);
}

.download-button span {
    font-size: 19px;
    line-height: 1;
}


/* NOTA FINALE */

.download-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
    border: 1px solid #dbe7f1;
    border-radius: 12px;
    background: #f4f8fc;
}

.download-footer-note > span {
    font-size: 22px;
}

.download-footer-note p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.7;
}


/* TABLET */

@media (max-width: 768px) {
    .download-page {
        padding: 18px 14px 35px;
    }

    .download-hero {
        padding: 35px 20px;
        margin-bottom: 32px;
    }

    .download-hero p {
        font-size: 15px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-card {
        padding: 22px;
    }

    .download-group-title h2 {
        font-size: 20px;
    }
}


/* SMARTPHONE */

@media (max-width: 480px) {
    .download-hero {
        padding: 30px 16px;
        border-radius: 13px;
    }

    .download-hero-icon {
        font-size: 36px;
    }

    .download-hero h1 {
        font-size: 27px;
    }

    .download-group-title {
        align-items: flex-start;
        gap: 12px;
    }

    .download-title-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .download-group-title h2 {
        font-size: 18px;
    }

    .download-card {
        padding: 19px;
    }

    .download-card h3 {
        font-size: 18px;
    }

    .download-footer-note {
        padding: 16px;
    }
}

.societa-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* griglia responsive */
.societa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* card singola */
.societa-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

/* logo piccolo */
.societa-logo {
  max-width: 80px;
  max-height: 80px;
  margin-bottom: 0.8rem;
  object-fit: contain; /* mantiene proporzioni senza deformare */
  border-radius: 8px;
}

/* titolo società */
.societa-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #2c3e50;
}

/* testo direttore tecnico */
.societa-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* effetto hover */
.societa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* ==========================================
   PAGINA ASPETTI TECNICI E ORGANIZZATIVI
   ========================================== */

.aspetti-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* HERO */

.aspetti-hero {
    text-align: center;
    padding: 45px 25px;
    margin-bottom: 35px;
    border-radius: 18px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.aspetti-hero-icon {
    margin-bottom: 12px;
    font-size: 44px;
}

.aspetti-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.aspetti-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(27px, 4vw, 39px);
    font-weight: 800;
    line-height: 1.2;
}

.aspetti-hero > p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
}


/* SEZIONI PRINCIPALI */

.aspetti-section {
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid #e5ebf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.045);
}


/* TITOLI */

.aspetti-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaf0f5;
}

.aspetti-icon {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #eaf2fa;
    font-size: 27px;
}

.aspetti-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.aspetti-section-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    line-height: 1.35;
}


/* TESTO */

.aspetti-text p {
    margin: 0 0 18px;
    color: #4c5b68;
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
}

.aspetti-text p:last-child {
    margin-bottom: 0;
}

.aspetti-text strong {
    color: #173f6b;
}


/* TIPOLOGIE DI ESERCIZIO */

.aspetti-prove {
    margin: 28px 0;
    padding: 25px;
    border-radius: 14px;
    background: #f5f8fc;
}

.aspetti-prove > h3 {
    margin: 0 0 20px;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.aspetti-prove-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.aspetti-prova-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
    border: 1px solid #e0e9f2;
    border-radius: 12px;
    background: #fff;
}

.aspetti-prova-numero {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #174b7a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.aspetti-prova-card h4 {
    margin: 0 0 8px;
    color: #263f57;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.aspetti-prova-card p {
    margin: 0;
    color: #637382;
    font-size: 13px;
    line-height: 1.7;
}


/* ORGANIZZAZIONE */

.aspetti-organizzazione {
    background: #fbfcfe;
}

.aspetti-organizzazione-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.aspetti-info-card {
    position: relative;
    padding: 25px;
    border: 1px solid #e3eaf1;
    border-radius: 14px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.aspetti-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 50, 70, 0.08);
}

.aspetti-info-icon {
    margin-bottom: 13px;
    font-size: 29px;
}

.aspetti-info-numero {
    margin-bottom: 5px;
    color: #174b7a;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
}

.aspetti-info-card h3 {
    margin: 0 0 10px;
    color: #263f57;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.aspetti-info-card p {
    margin: 0;
    color: #637382;
    font-size: 14px;
    line-height: 1.8;
}

.aspetti-info-card-evidenza {
    border-color: #b8d0e7;
    background: #f1f7fc;
}


/* NOTA FINALE */

.aspetti-nota {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f4f8fc;
}

.aspetti-nota-icon {
    flex-shrink: 0;
    font-size: 23px;
}

.aspetti-nota p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {
    .aspetti-prove-grid {
        grid-template-columns: 1fr;
    }

    .aspetti-prova-card {
        padding: 18px;
    }
}


/* SMARTPHONE E TABLET PICCOLI */

@media (max-width: 600px) {
    .aspetti-page {
        padding: 18px 12px 35px;
    }

    .aspetti-hero {
        padding: 32px 18px;
        margin-bottom: 22px;
        border-radius: 14px;
    }

    .aspetti-hero-icon {
        font-size: 36px;
    }

    .aspetti-hero > p {
        font-size: 14px;
    }

    .aspetti-section {
        padding: 20px 16px;
        margin-bottom: 22px;
    }

    .aspetti-section-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .aspetti-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 23px;
    }

    .aspetti-section-heading h2 {
        font-size: 20px;
    }

    .aspetti-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .aspetti-prove {
        padding: 18px 14px;
    }

    .aspetti-prove > h3 {
        font-size: 18px;
    }

    .aspetti-organizzazione-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .aspetti-info-card {
        padding: 20px;
    }

    .aspetti-nota {
        padding: 17px;
    }
}
/* ==========================================
   UFFICIALI DI GARA
   ========================================== */

.ufficiali-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* INTESTAZIONE */

.ufficiali-hero {
    text-align: center;
    padding: 45px 25px;
    margin-bottom: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.ufficiali-hero-icon {
    margin-bottom: 12px;
    font-size: 44px;
}

.ufficiali-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ufficiali-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.25;
}

.ufficiali-hero > p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
}


/* INTRODUZIONE */

.ufficiali-intro {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 28px;
    padding: 23px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #f4f8fc;
}

.ufficiali-intro-icon {
    flex-shrink: 0;
    font-size: 30px;
}

.ufficiali-intro h2 {
    margin: 0 0 8px;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.ufficiali-intro p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* SCHEDE DELLE PROVE */

.ufficiali-card {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #e3eaf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.045);
}

.ufficiali-card-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaf0f5;
}

.ufficiali-card-icon {
    display: flex;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #eaf2fa;
    font-size: 28px;
}

.ufficiali-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.ufficiali-card-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: clamp(19px, 3vw, 24px);
    font-weight: 800;
    line-height: 1.4;
}


/* RUOLI */

.ufficiali-ruoli {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ufficiali-ruolo {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e6edf3;
    border-radius: 12px;
    background: #fbfcfe;
}

.ufficiali-ruolo-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eaf2fa;
    font-size: 22px;
}

.ufficiali-ruolo h3 {
    margin: 0 0 8px;
    color: #263f57;
    font-size: 16px;
    font-weight: 800;
}

.ufficiali-ruolo p {
    margin: 0;
    color: #5b6b79;
    font-size: 14px;
    line-height: 1.8;
}

.ufficiali-ruolo strong {
    color: #174b7a;
}


/* AVVISO SCHEDE CARTACEE */

.ufficiali-avviso {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #ead8a5;
    border-radius: 14px;
    background: #fffaf0;
}

.ufficiali-avviso-icon {
    flex-shrink: 0;
    font-size: 30px;
}

.ufficiali-avviso h2 {
    margin: 0 0 10px;
    color: #75531b;
    font-size: 20px;
    font-weight: 800;
}

.ufficiali-avviso p {
    margin: 0;
    color: #6d5b3d;
    font-size: 14px;
    line-height: 1.9;
}


/* TAVOLO CENTRALE */

.ufficiali-tavolo {
    margin-top: 32px;
    padding: 30px;
    border-radius: 17px;
    background: #173f6b;
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.13);
}

.ufficiali-tavolo-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ufficiali-tavolo-icon {
    display: flex;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 28px;
}

.ufficiali-tavolo .ufficiali-label {
    color: #c5ddf4;
}

.ufficiali-tavolo-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}


/* RESPONSABILE */

.ufficiali-responsabile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
}

.ufficiali-responsabile-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 25px;
}

.ufficiali-responsabile-label {
    display: block;
    margin-bottom: 5px;
    color: #c5ddf4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ufficiali-responsabile h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}


/* COMPITI DEL TAVOLO CENTRALE */

.ufficiali-tavolo-compiti h3 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.ufficiali-tavolo-compiti ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ufficiali-tavolo-compiti li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 14px;
    line-height: 1.8;
}

.ufficiali-check {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}


/* NOTA FINALE */

.ufficiali-footer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 21px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f4f8fc;
}

.ufficiali-footer > span {
    flex-shrink: 0;
    font-size: 23px;
}

.ufficiali-footer p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 800px) {
    .ufficiali-ruoli {
        grid-template-columns: 1fr;
    }
}


/* SMARTPHONE */

@media (max-width: 600px) {
    .ufficiali-page {
        padding: 18px 12px 35px;
    }

    .ufficiali-hero {
        padding: 32px 18px;
        border-radius: 14px;
    }

    .ufficiali-hero-icon {
        font-size: 36px;
    }

    .ufficiali-hero > p {
        font-size: 14px;
    }

    .ufficiali-card {
        padding: 20px 16px;
        margin-bottom: 18px;
    }

    .ufficiali-card-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .ufficiali-card-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 23px;
    }

    .ufficiali-card-heading h2 {
        font-size: 19px;
    }

    .ufficiali-ruolo {
        padding: 16px;
    }

    .ufficiali-intro,
    .ufficiali-avviso {
        padding: 18px;
    }

    .ufficiali-tavolo {
        padding: 22px 17px;
    }

    .ufficiali-tavolo-heading h2 {
        font-size: 21px;
    }

    .ufficiali-responsabile {
        padding: 17px;
    }

    .ufficiali-responsabile h3 {
        font-size: 18px;
    }

    .ufficiali-footer {
        padding: 17px;
    }
}
/* ==========================================
   PROSPETTO ANALITICO DELLA COMPETIZIONE
   ========================================== */

.analitico-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* INTESTAZIONE */

.analitico-hero {
    text-align: center;
    padding: 45px 25px;
    margin-bottom: 25px;
    border-radius: 18px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.analitico-hero-icon {
    margin-bottom: 12px;
    font-size: 44px;
}

.analitico-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.analitico-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(27px, 4vw, 39px);
    font-weight: 800;
    line-height: 1.25;
}

.analitico-hero > p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.93);
    font-size: 16px;
    line-height: 1.7;
}


/* INTRODUZIONE */

.analitico-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
    padding: 20px 22px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f4f8fc;
}

.analitico-intro > span {
    flex-shrink: 0;
    font-size: 25px;
}

.analitico-intro p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* GRIGLIA */

.analitico-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}


/* SCHEDA */

.analitico-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.analitico-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(30, 50, 70, 0.11);
}


/* TITOLI SCHEDE */

.analitico-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 110px;
    padding: 22px;
    border-bottom: 1px solid #edf1f5;
}

.analitico-card-icon {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: #eaf2fa;
    font-size: 26px;
}

.analitico-label {
    display: block;
    margin-bottom: 6px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.analitico-card-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}


/* ANTEPRIMA IMMAGINE */

.analitico-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    margin: 20px;
    overflow: hidden;
    border: 1px solid #e6ebf0;
    border-radius: 10px;
    background: #f5f7fa;
    text-decoration: none;
}

.analitico-preview img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.25s ease;
}

.analitico-preview:hover img {
    transform: scale(1.025);
}

.analitico-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 8px 12px;
    border-radius: 7px;
    background: rgba(23, 63, 107, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.analitico-preview:hover .analitico-zoom,
.analitico-preview:focus-visible .analitico-zoom {
    opacity: 1;
}


/* DOWNLOAD */

.analitico-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 0 20px 22px;
    padding: 12px 16px;
    border-radius: 9px;
    background: #174b7a;
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.analitico-download:hover {
    background: #0e3458;
    color: #fff !important;
    transform: translateY(-1px);
}

.analitico-download > span {
    font-size: 20px;
    line-height: 1;
}


/* NOTA FINALE */

.analitico-footer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding: 21px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f4f8fc;
}

.analitico-footer > span {
    flex-shrink: 0;
    font-size: 23px;
}

.analitico-footer p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 800px) {
    .analitico-grid {
        gap: 18px;
    }

    .analitico-card-heading {
        padding: 18px;
    }

    .analitico-card-heading h2 {
        font-size: 17px;
    }

    .analitico-preview {
        min-height: 220px;
        margin: 15px;
    }

    .analitico-preview img {
        height: 240px;
    }

    .analitico-download {
        margin: 0 15px 18px;
    }
}


/* SMARTPHONE */

@media (max-width: 600px) {
    .analitico-page {
        padding: 18px 12px 35px;
    }

    .analitico-hero {
        padding: 32px 18px;
        border-radius: 14px;
    }

    .analitico-hero-icon {
        font-size: 36px;
    }

    .analitico-hero > p {
        font-size: 14px;
    }

    .analitico-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .analitico-card-heading {
        min-height: auto;
        padding: 20px;
    }

    .analitico-card-heading h2 {
        font-size: 19px;
    }

    .analitico-preview {
        min-height: 250px;
        margin: 16px;
    }

    .analitico-preview img {
        height: 270px;
    }

    .analitico-zoom {
        opacity: 1;
    }

    .analitico-download {
        margin: 0 16px 20px;
    }

    .analitico-footer {
        padding: 17px;
    }
} 
/* ACCESSIBILITÀ E DISPOSITIVI TOUCH */

.analitico-preview:focus-visible {
    outline: 3px solid #4779a9;
    outline-offset: 3px;
}

.analitico-download:focus-visible {
    outline: 3px solid #4779a9;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .analitico-card,
    .analitico-preview img,
    .analitico-zoom,
    .analitico-download {
        transition: none;
    }

    .analitico-card:hover,
    .analitico-download:hover {
        transform: none;
    }
}
/* ==========================================
   PAGINA PERCORSO A TEMPO
   TROFEO BRESCIANO 2027
   ========================================== */

.percorso-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* ==========================================
   HERO
   ========================================== */

.percorso-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 48px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.percorso-hero::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 250px;
    height: 250px;
    border: 35px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
    pointer-events: none;
}

.percorso-hero::after {
    content: "";
    position: absolute;
    bottom: -130px;
    left: -70px;
    width: 250px;
    height: 250px;
    border: 35px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.percorso-hero-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 45px;
}

.percorso-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 12px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.percorso-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.25;
}

.percorso-hero > p {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 16px;
    line-height: 1.8;
}

.percorso-hero-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 23px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;
    background: #fff;
    color: #174b7a !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.percorso-hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: #0e3458 !important;
}


/* ==========================================
   SEZIONI
   ========================================== */

.percorso-section {
    margin-bottom: 30px;
    padding: 28px;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.045);
    scroll-margin-top: 25px;
}

.percorso-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.percorso-heading-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf2fa;
    font-size: 26px;
}

.percorso-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.percorso-section-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.35;
}

.percorso-section-subtitle {
    margin: 8px 0 0;
    color: #647586;
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
   DESCRIZIONE DEL PERCORSO
   ========================================== */

.percorso-description {
    padding-left: 20px;
    border-left: 3px solid #d7e7f6;
}

.percorso-description p {
    margin: 0 0 14px;
    color: #526575;
    font-size: 15px;
    line-height: 1.9;
}

.percorso-description p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   PARAMETRI DI VALUTAZIONE
   ========================================== */

.percorso-regole-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.percorso-regola-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2e9f0;
    border-radius: 13px;
    background: #f9fbfd;
}

.percorso-regola-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: #eaf2fa;
    font-size: 25px;
}

.percorso-regola-card h3 {
    margin: 0 0 10px;
    color: #173f6b;
    font-size: 19px;
    font-weight: 800;
}

.percorso-regola-card > p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ESEMPIO TEMPO */

.percorso-esempio {
    margin-top: 20px;
    padding: 17px;
    border: 1px solid #dce8f2;
    border-radius: 10px;
    background: #fff;
}

.percorso-esempio-label {
    display: block;
    margin-bottom: 8px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.percorso-esempio p {
    margin: 0 0 7px;
    color: #526575;
    font-size: 13px;
    line-height: 1.6;
}

.percorso-esempio strong {
    display: block;
    color: #174b7a;
    font-size: 25px;
    font-weight: 800;
}


/* PENALITÀ */

.percorso-penalita {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 17px;
    border: 1px solid #f0dada;
    border-radius: 10px;
    background: #fff7f7;
}

.percorso-penalita-numero {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #a83232;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.percorso-penalita strong,
.percorso-penalita div > span {
    display: block;
}

.percorso-penalita strong {
    color: #8e2929;
    font-size: 14px;
    line-height: 1.5;
}

.percorso-penalita div > span {
    margin-top: 4px;
    color: #795959;
    font-size: 12px;
}


/* NOTA INFORMATIVA */

.percorso-nota {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid #dce8f2;
    border-radius: 11px;
    background: #f4f8fc;
}

.percorso-nota-icon {
    flex-shrink: 0;
    font-size: 23px;
}

.percorso-nota p {
    margin: 0;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================
   VIDEO
   ========================================== */

.percorso-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.percorso-video-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.percorso-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(30, 50, 70, 0.1);
}


/* INTESTAZIONE VIDEO */

.percorso-video-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
    padding: 21px;
    border-bottom: 1px solid #edf1f5;
}

.percorso-video-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eaf2fa;
    color: #174b7a;
    font-size: 20px;
}

.percorso-video-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.percorso-video-heading h3 {
    margin: 0;
    color: #173f6b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.percorso-video-heading p {
    margin: 5px 0 0;
    color: #718092;
    font-size: 12px;
}


/* CONTENITORE VIDEO */

.percorso-video-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    margin: 18px;
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 11px;
    background: #101b28;
}

.percorso-video-thumbnail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 250px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #101b28;
    cursor: pointer;
}

.percorso-video-thumbnail img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.percorso-video-thumbnail:hover img {
    transform: scale(1.04);
}

.percorso-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    padding-left: 5px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(23, 75, 122, 0.94);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.percorso-video-thumbnail:hover .percorso-play-button {
    transform: translate(-50%, -50%) scale(1.08);
    background: #285d91;
}

.percorso-video-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 15px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
}


/* PLAYER */

.percorso-video-player {
    display: block;
    width: 100%;
    max-height: 420px;
    background: #000;
}


/* FOOTER VIDEO */

.percorso-video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 17px 20px;
    border-top: 1px solid #edf1f5;
    background: #fafbfd;
}

.percorso-video-footer > span {
    color: #647586;
    font-size: 12px;
}

.percorso-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: 8px;
    background: #174b7a;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.percorso-download-link:hover {
    background: #0e3458;
    color: #fff !important;
}


/* ==========================================
   FOOTER PAGINA
   ========================================== */

.percorso-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    border: 1px solid #dce8f2;
    border-radius: 15px;
    background: linear-gradient(135deg, #f4f8fc, #eaf2fa);
}

.percorso-footer-icon {
    display: flex;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #fff;
    font-size: 29px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.06);
}

.percorso-footer h2 {
    margin: 0 0 7px;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.percorso-footer p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 800px) {

    .percorso-section {
        padding: 23px;
    }

    .percorso-regole-grid,
    .percorso-video-grid {
        gap: 17px;
    }

    .percorso-regola-card {
        padding: 19px;
    }

    .percorso-video-heading {
        padding: 17px;
    }

    .percorso-video-heading h3 {
        font-size: 16px;
    }

    .percorso-video-container {
        min-height: 210px;
        margin: 13px;
    }

    .percorso-video-thumbnail {
        min-height: 210px;
    }

    .percorso-video-thumbnail img {
        height: 230px;
    }

    .percorso-video-footer {
        flex-wrap: wrap;
        padding: 14px;
    }

}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 600px) {

    .percorso-page {
        padding: 17px 12px 35px;
    }

    .percorso-hero {
        padding: 34px 18px;
        border-radius: 15px;
    }

    .percorso-hero-icon {
        font-size: 37px;
    }

    .percorso-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .percorso-hero h1 {
        font-size: 29px;
    }

    .percorso-hero > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .percorso-section {
        margin-bottom: 20px;
        padding: 19px 16px;
        border-radius: 13px;
    }

    .percorso-section-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .percorso-heading-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 11px;
        font-size: 22px;
    }

    .percorso-section-heading h2 {
        font-size: 21px;
    }

    .percorso-description {
        padding-left: 13px;
    }

    .percorso-description p {
        font-size: 14px;
    }

    .percorso-regole-grid,
    .percorso-video-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .percorso-regola-card {
        padding: 20px;
    }

    .percorso-regola-card h3 {
        font-size: 18px;
    }

    .percorso-nota {
        padding: 15px;
    }

    .percorso-video-heading {
        min-height: auto;
        padding: 19px;
    }

    .percorso-video-heading h3 {
        font-size: 18px;
    }

    .percorso-video-container {
        min-height: 220px;
        margin: 14px;
    }

    .percorso-video-thumbnail {
        min-height: 220px;
    }

    .percorso-video-thumbnail img {
        height: 250px;
    }

    .percorso-play-button {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .percorso-video-footer {
        flex-wrap: nowrap;
        padding: 14px;
    }

    .percorso-video-footer > span {
        font-size: 11px;
    }

    .percorso-download-link {
        padding: 10px;
        font-size: 11px;
    }

    .percorso-footer {
        align-items: flex-start;
        gap: 13px;
        padding: 19px 16px;
    }

    .percorso-footer-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .percorso-footer h2 {
        font-size: 18px;
    }

    .percorso-footer p {
        font-size: 13px;
    }

}


/* ==========================================
   ACCESSIBILITÀ
   ========================================== */

.percorso-hero-button:focus-visible,
.percorso-download-link:focus-visible,
.percorso-video-thumbnail:focus-visible {
    outline: 3px solid #76b7f0;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .percorso-hero-button,
    .percorso-video-card,
    .percorso-video-thumbnail img,
    .percorso-play-button,
    .percorso-download-link {
        transition: none;
    }

    .percorso-video-card:hover,
    .percorso-hero-button:hover {
        transform: none;
    }

}
/* ==========================================
   BABY MAKIWARA - GIOCO TECNICO PALLONCINO
   ========================================== */

.makiwara-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* ==========================================
   HERO
   ========================================== */

.makiwara-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 48px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.makiwara-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -70px;
    width: 260px;
    height: 260px;
    border: 35px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.makiwara-hero::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -70px;
    width: 270px;
    height: 270px;
    border: 35px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.makiwara-hero-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 46px;
}

.makiwara-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 12px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.makiwara-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(28px, 4vw, 41px);
    font-weight: 800;
    line-height: 1.3;
}

.makiwara-hero > p {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 16px;
    line-height: 1.8;
}

.makiwara-hero-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 9px;
    background: #fff;
    color: #174b7a !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.makiwara-hero-button:hover {
    transform: translateY(-2px);
    color: #0e3458 !important;
}


/* ==========================================
   SEZIONI
   ========================================== */

.makiwara-section {
    margin-bottom: 30px;
    padding: 28px;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.045);
    scroll-margin-top: 25px;
}

.makiwara-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.makiwara-heading-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf2fa;
    font-size: 25px;
}

.makiwara-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.makiwara-section-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.4;
}

.makiwara-section-subtitle {
    margin: 8px 0 0;
    color: #647586;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   INTRODUZIONE
   ========================================== */

.makiwara-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    align-items: center;
    gap: 30px;
}

.makiwara-intro-text > p {
    margin: 0 0 16px;
    color: #526575;
    font-size: 15px;
    line-height: 1.9;
}

.makiwara-intro-text strong {
    color: #173f6b;
}

.makiwara-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 17px;
    border: 1px solid #dce8f2;
    border-radius: 11px;
    background: #f4f8fc;
}

.makiwara-info-box > span {
    flex-shrink: 0;
    font-size: 22px;
}

.makiwara-info-box p {
    margin: 0;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}


/* IMMAGINE BABY MAKIWARA */

.makiwara-image-card {
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    background: #f8fafc;
}

.makiwara-image-card a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
}

.makiwara-image-card img {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 320px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 9px;
    transition: transform 0.25s ease;
}

.makiwara-image-card a:hover img {
    transform: scale(1.035);
}

.makiwara-image-caption {
    display: block;
    margin-top: 12px;
    color: #4779a9;
    font-size: 12px;
    font-weight: 700;
}


/* ==========================================
   TECNICHE AMMESSE
   ========================================== */

.makiwara-technique-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.makiwara-technique-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    background: #fbfcfe;
}

.makiwara-technique-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf3;
}

.makiwara-technique-icon {
    display: flex;
    flex: 0 0 49px;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    border-radius: 13px;
    background: #eaf2fa;
    font-size: 25px;
}

.makiwara-technique-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.makiwara-technique-header h3 {
    margin: 0;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.makiwara-technique-description {
    margin: 0 0 18px;
    color: #647586;
    font-size: 13px;
    line-height: 1.8;
}


/* ELENCO TECNICHE */

.makiwara-technique-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.makiwara-technique-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 0;
    border-top: 1px solid #e9eef3;
}

.makiwara-technique-number {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf2fa;
    color: #174b7a;
    font-size: 12px;
    font-weight: 800;
}

.makiwara-technique-list li > div {
    min-width: 0;
    flex: 1;
}

.makiwara-technique-list strong {
    display: block;
    margin-bottom: 6px;
    color: #173f6b;
    font-size: 15px;
    font-weight: 800;
}

.makiwara-technique-list p {
    margin: 0 0 9px;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}

.makiwara-technique-target {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #dce8f2;
    border-radius: 6px;
    background: #f0f6fc;
    color: #285d91;
    font-size: 11px;
    font-weight: 800;
}


/* ==========================================
   PENALITÀ
   ========================================== */

.makiwara-warning-icon {
    background: #fff1e6;
}

.makiwara-penalty-main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 23px;
    border: 1px solid #f0dada;
    border-radius: 13px;
    background: #fff7f7;
}

.makiwara-penalty-number {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 15px;
    background: #a83232;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
}

.makiwara-penalty-main h3 {
    margin: 0 0 9px;
    color: #8e2929;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
}

.makiwara-penalty-main p {
    margin: 0;
    color: #795959;
    font-size: 14px;
    line-height: 1.8;
}

.makiwara-penalty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.makiwara-penalty-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid #e2e9f0;
    border-radius: 12px;
    background: #f9fbfd;
}

.makiwara-penalty-card-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #eaf2fa;
    font-size: 22px;
}

.makiwara-penalty-card h3 {
    margin: 0 0 8px;
    color: #173f6b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.makiwara-penalty-card p {
    margin: 0;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}

.makiwara-penalty-stop .makiwara-penalty-card-icon {
    background: #fff1e6;
}


/* ==========================================
   DURATA PER CLASSE
   ========================================== */

.makiwara-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.makiwara-category-card {
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(30, 50, 70, 0.04);
}

.makiwara-category-top {
    padding: 23px;
    background: #f4f8fc;
    text-align: center;
}

.makiwara-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border-radius: 13px;
    background: #fff;
    font-size: 26px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.05);
}

.makiwara-category-name {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.makiwara-category-top h3 {
    margin: 0;
    color: #173f6b;
    font-size: 23px;
    font-weight: 800;
}

.makiwara-category-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 22px;
    border-bottom: 1px solid #e9eef3;
}

.makiwara-category-time strong {
    color: #174b7a;
    font-size: 39px;
    font-weight: 800;
    line-height: 1.2;
}

.makiwara-category-time span {
    color: #647586;
    font-size: 12px;
}

.makiwara-category-description {
    padding: 23px;
}

.makiwara-category-description h4 {
    margin: 0 0 12px;
    color: #173f6b;
    font-size: 15px;
    font-weight: 800;
}

.makiwara-category-description p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.9;
}

.makiwara-category-description ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.makiwara-category-description li {
    position: relative;
    padding-left: 17px;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}

.makiwara-category-description li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4779a9;
}

.makiwara-category-description li strong {
    color: #174b7a;
}

.makiwara-category-featured {
    border-color: #cadceb;
}


/* ==========================================
   PARAMETRI DI VALUTAZIONE
   ========================================== */

.makiwara-parameters-card {
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 13px;
    background: #f8fafc;
}

.makiwara-parameters-image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-decoration: none;
}

.makiwara-parameters-image-link img {
    display: block;
    width: 100%;
    max-width: 850px;
    max-height: 650px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.makiwara-parameters-image-link:hover img {
    transform: scale(1.015);
}

.makiwara-parameters-zoom {
    position: absolute;
    right: 30px;
    bottom: 30px;
    padding: 9px 13px;
    border-radius: 7px;
    background: rgba(23, 63, 107, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.makiwara-parameters-footer {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 22px;
    border-top: 1px solid #e2e9f0;
    background: #fff;
}

.makiwara-parameters-footer > span {
    flex-shrink: 0;
    font-size: 23px;
}

.makiwara-parameters-footer p {
    margin: 0;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}

.makiwara-parameters-footer strong {
    color: #173f6b;
}


/* ==========================================
   FOOTER
   ========================================== */

.makiwara-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    border: 1px solid #dce8f2;
    border-radius: 15px;
    background: linear-gradient(135deg, #f4f8fc, #eaf2fa);
}

.makiwara-footer-icon {
    display: flex;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #fff;
    font-size: 29px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.06);
}

.makiwara-footer h2 {
    margin: 0 0 7px;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.makiwara-footer p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 850px) {

    .makiwara-intro-grid {
        grid-template-columns: 1fr;
    }

    .makiwara-image-card {
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .makiwara-technique-grid {
        grid-template-columns: 1fr;
    }

    .makiwara-technique-card {
        padding: 22px;
    }

}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 600px) {

    .makiwara-page {
        padding: 17px 12px 35px;
    }

    .makiwara-hero {
        padding: 34px 18px;
        border-radius: 15px;
    }

    .makiwara-hero-icon {
        font-size: 38px;
    }

    .makiwara-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .makiwara-hero h1 {
        font-size: 28px;
    }

    .makiwara-hero > p {
        font-size: 14px;
    }

    .makiwara-section {
        margin-bottom: 20px;
        padding: 19px 16px;
        border-radius: 13px;
    }

    .makiwara-section-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .makiwara-heading-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 11px;
        font-size: 22px;
    }

    .makiwara-section-heading h2 {
        font-size: 21px;
    }

    .makiwara-intro-text > p {
        font-size: 14px;
    }

    .makiwara-technique-card {
        padding: 17px;
    }

    .makiwara-technique-header {
        gap: 11px;
    }

    .makiwara-technique-header h3 {
        font-size: 18px;
    }

    .makiwara-technique-list li {
        gap: 10px;
    }

    .makiwara-penalty-main {
        align-items: flex-start;
        gap: 13px;
        padding: 17px;
    }

    .makiwara-penalty-number {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
        border-radius: 12px;
        font-size: 23px;
    }

    .makiwara-penalty-main h3 {
        font-size: 16px;
    }

    .makiwara-penalty-main p {
        font-size: 13px;
    }

    .makiwara-penalty-grid,
    .makiwara-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .makiwara-penalty-card {
        padding: 16px;
    }

    .makiwara-category-top {
        padding: 20px;
    }

    .makiwara-category-time strong {
        font-size: 35px;
    }

    .makiwara-category-description {
        padding: 20px;
    }

    .makiwara-parameters-image-link {
        padding: 12px;
    }

    .makiwara-parameters-zoom {
        right: 18px;
        bottom: 18px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .makiwara-parameters-footer {
        padding: 15px;
    }

    .makiwara-footer {
        align-items: flex-start;
        gap: 13px;
        padding: 19px 16px;
    }

    .makiwara-footer-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .makiwara-footer h2 {
        font-size: 18px;
    }

    .makiwara-footer p {
        font-size: 13px;
    }

}


/* ==========================================
   ACCESSIBILITÀ
   ========================================== */

.makiwara-hero-button:focus-visible,
.makiwara-image-card a:focus-visible,
.makiwara-parameters-image-link:focus-visible {
    outline: 3px solid #76b7f0;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .makiwara-hero-button,
    .makiwara-image-card img,
    .makiwara-technique-card,
    .makiwara-parameters-image-link img {
        transition: none;
    }

    .makiwara-hero-button:hover {
        transform: none;
    }

}
/* ==========================================
   PAGINA KATA
   TROFEO BRESCIANO 2027
   ========================================== */

.kata-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 50px;
    color: #293746;
}


/* ==========================================
   HERO
   ========================================== */

.kata-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 48px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #163b67, #285d91);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(20, 50, 80, 0.14);
}

.kata-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -70px;
    width: 260px;
    height: 260px;
    border: 35px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.kata-hero::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -70px;
    width: 270px;
    height: 270px;
    border: 35px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.kata-hero-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 46px;
}

.kata-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 12px;
    color: #d6e7f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.kata-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
}

.kata-hero > p {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 16px;
    line-height: 1.8;
}

.kata-hero-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 9px;
    background: #fff;
    color: #174b7a !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.kata-hero-button:hover {
    transform: translateY(-2px);
    color: #0e3458 !important;
}


/* ==========================================
   SEZIONI
   ========================================== */

.kata-section {
    margin-bottom: 30px;
    padding: 28px;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 50, 70, 0.045);
    scroll-margin-top: 25px;
}

.kata-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.kata-heading-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf2fa;
    font-size: 25px;
}

.kata-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.kata-section-heading h2 {
    margin: 0;
    color: #173f6b;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.4;
}

.kata-section-subtitle {
    margin: 8px 0 0;
    color: #647586;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   INTRODUZIONE
   ========================================== */

.kata-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #dce8f2;
    border-radius: 12px;
    background: #f4f8fc;
}

.kata-intro-icon {
    flex-shrink: 0;
    font-size: 25px;
}

.kata-intro p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.9;
}


/* ==========================================
   SCHEDE CATEGORIE
   ========================================== */

.kata-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.kata-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(30, 50, 70, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kata-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(30, 50, 70, 0.09);
}

.kata-category-featured {
    border-color: #cadceb;
}

.kata-category-header {
    padding: 23px 20px;
    background: #f4f8fc;
    text-align: center;
}

.kata-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 13px;
    background: #fff;
    font-size: 27px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.05);
}

.kata-category-label {
    display: block;
    margin-bottom: 6px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.kata-category-header h3 {
    margin: 0;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
}


/* TEMPO MASSIMO */

.kata-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px;
    border-bottom: 1px solid #e9eef3;
}

.kata-time-label {
    margin-bottom: 7px;
    color: #647586;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.kata-time strong {
    color: #174b7a;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.2;
}

.kata-time-description {
    margin-top: 5px;
    color: #718092;
    font-size: 12px;
}

.kata-category-body {
    flex: 1;
    padding: 22px;
}

.kata-category-body h4 {
    margin: 0 0 10px;
    color: #173f6b;
    font-size: 15px;
    font-weight: 800;
}

.kata-category-body p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.9;
}


/* ==========================================
   GIUDICI
   ========================================== */

.kata-judges-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #dce8f2;
    border-radius: 12px;
    background: #f4f8fc;
}

.kata-judges-icon {
    flex-shrink: 0;
    font-size: 25px;
}

.kata-judges-note > div:last-child {
    min-width: 0;
}

.kata-judges-note > div > strong {
    display: block;
    margin-bottom: 7px;
    color: #173f6b;
    font-size: 15px;
    font-weight: 800;
}

.kata-judges-note p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   INTRODUZIONE AGONISTI
   ========================================== */

.kata-agonisti-intro {
    margin-bottom: 22px;
}

.kata-agonisti-intro p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.9;
}


/* ==========================================
   GRADI E NUMERO DI KATA
   ========================================== */

.kata-gradi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.kata-grado-card {
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(30, 50, 70, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kata-grado-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(30, 50, 70, 0.09);
}

.kata-grado-avanzato {
    border-color: #cadceb;
}

.kata-grado-top {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 115px;
    padding: 21px;
    background: #f4f8fc;
}

.kata-grado-icon {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff;
    font-size: 25px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.05);
}

.kata-grado-label {
    display: block;
    margin-bottom: 5px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.kata-grado-top h3 {
    margin: 0;
    color: #173f6b;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.kata-grado-content {
    padding: 23px;
}

.kata-grado-numero {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.kata-grado-numero strong {
    display: flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #174b7a;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}

.kata-grado-numero span {
    color: #173f6b;
    font-size: 16px;
    font-weight: 800;
}

.kata-grado-content > p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}

.kata-grado-content > p strong {
    color: #174b7a;
}


/* ==========================================
   REGOLAMENTO FIJLKAM
   ========================================== */

.kata-fijlkam-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 25px;
    padding: 22px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f4f8fc;
}

.kata-fijlkam-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    font-size: 24px;
}

.kata-fijlkam-label {
    display: block;
    margin-bottom: 6px;
    color: #4779a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.kata-fijlkam-box h3 {
    margin: 0 0 9px;
    color: #173f6b;
    font-size: 18px;
    font-weight: 800;
}

.kata-fijlkam-box p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   PARAMETRI DI VALUTAZIONE
   ========================================== */

.kata-parametri-card {
    overflow: hidden;
    border: 1px solid #e2e9f0;
    border-radius: 13px;
    background: #f8fafc;
}

.kata-parametri-image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-decoration: none;
}

.kata-parametri-image-link img {
    display: block;
    width: 100%;
    max-width: 850px;
    max-height: 650px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.kata-parametri-image-link:hover img {
    transform: scale(1.015);
}

.kata-parametri-zoom {
    position: absolute;
    right: 30px;
    bottom: 30px;
    padding: 9px 13px;
    border-radius: 7px;
    background: rgba(23, 63, 107, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.kata-parametri-footer {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 22px;
    border-top: 1px solid #e2e9f0;
    background: #fff;
}

.kata-parametri-footer > span {
    flex-shrink: 0;
    font-size: 23px;
}

.kata-parametri-footer p {
    margin: 0;
    color: #526575;
    font-size: 13px;
    line-height: 1.8;
}

.kata-parametri-footer strong {
    color: #173f6b;
}


/* ==========================================
   FOOTER
   ========================================== */

.kata-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    border: 1px solid #dce8f2;
    border-radius: 15px;
    background: linear-gradient(135deg, #f4f8fc, #eaf2fa);
}

.kata-footer-icon {
    display: flex;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #fff;
    font-size: 29px;
    box-shadow: 0 3px 10px rgba(30, 50, 70, 0.06);
}

.kata-footer h2 {
    margin: 0 0 7px;
    color: #173f6b;
    font-size: 20px;
    font-weight: 800;
}

.kata-footer p {
    margin: 0;
    color: #526575;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 800px) {

    .kata-section {
        padding: 23px;
    }

    .kata-category-grid,
    .kata-gradi-grid {
        gap: 17px;
    }

    .kata-grado-top {
        align-items: flex-start;
        padding: 17px;
    }

    .kata-grado-top h3 {
        font-size: 15px;
    }

}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 600px) {

    .kata-page {
        padding: 17px 12px 35px;
    }

    .kata-hero {
        padding: 34px 18px;
        border-radius: 15px;
    }

    .kata-hero-icon {
        font-size: 38px;
    }

    .kata-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .kata-hero h1 {
        font-size: 29px;
    }

    .kata-hero > p {
        font-size: 14px;
    }

    .kata-section {
        margin-bottom: 20px;
        padding: 19px 16px;
        border-radius: 13px;
    }

    .kata-section-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .kata-heading-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 11px;
        font-size: 22px;
    }

    .kata-section-heading h2 {
        font-size: 21px;
    }

    .kata-intro {
        gap: 11px;
        padding: 16px;
    }

    .kata-intro p {
        font-size: 13px;
    }

    .kata-category-grid,
    .kata-gradi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kata-category-header {
        padding: 20px;
    }

    .kata-category-header h3 {
        font-size: 19px;
    }

    .kata-time strong {
        font-size: 38px;
    }

    .kata-category-body {
        padding: 20px;
    }

    .kata-judges-note {
        gap: 11px;
        padding: 16px;
    }

    .kata-judges-note p {
        font-size: 13px;
    }

    .kata-grado-top {
        align-items: center;
        min-height: auto;
        padding: 18px;
    }

    .kata-grado-top h3 {
        font-size: 16px;
    }

    .kata-grado-content {
        padding: 20px;
    }

    .kata-grado-numero strong {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .kata-fijlkam-box {
        gap: 12px;
        padding: 17px;
    }

    .kata-fijlkam-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 21px;
    }

    .kata-fijlkam-box h3 {
        font-size: 16px;
    }

    .kata-fijlkam-box p {
        font-size: 13px;
    }

    .kata-parametri-image-link {
        padding: 12px;
    }

    .kata-parametri-zoom {
        right: 18px;
        bottom: 18px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .kata-parametri-footer {
        padding: 15px;
    }

    .kata-footer {
        align-items: flex-start;
        gap: 13px;
        padding: 19px 16px;
    }

    .kata-footer-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .kata-footer h2 {
        font-size: 18px;
    }

    .kata-footer p {
        font-size: 13px;
    }

}


/* ==========================================
   ACCESSIBILITÀ
   ========================================== */

.kata-hero-button:focus-visible,
.kata-parametri-image-link:focus-visible {
    outline: 3px solid #76b7f0;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .kata-hero-button,
    .kata-category-card,
    .kata-grado-card,
    .kata-parametri-image-link img {
        transition: none;
    }

    .kata-hero-button:hover,
    .kata-category-card:hover,
    .kata-grado-card:hover {
        transform: none;
    }

}
/* =========================================================
   PAGINA KUMITE
   ========================================================= */

.kumite-page {
    --kumite-primary: #12345a;
    --kumite-secondary: #1e5a91;
    --kumite-accent: #e8a23b;
    --kumite-text: #26374a;
    --kumite-muted: #64748b;
    --kumite-light: #f3f7fb;
    --kumite-border: #dce5ef;

    color: var(--kumite-text);
    padding-bottom: 3rem;
}

.kumite-page * {
    box-sizing: border-box;
}

.kumite-page p {
    line-height: 1.75;
}


/* HERO */

.kumite-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 340px;
    padding: 4rem clamp(1.5rem, 6vw, 5rem);

    margin-top: 24px; /* Spazio sotto il menu */
    margin-bottom: 3.5rem;

    border-radius: 26px;
    color: #fff;
    background: linear-gradient(
        120deg,
        #102b4c 0%,
        #174c7b 65%,
        #246b9b 100%
    );
    isolation: isolate;
}

.kumite-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: 6%;
    top: -160px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    z-index: -1;
}

.kumite-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: 12%;
    bottom: -190px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    z-index: -1;
}

.kumite-hero-content {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.kumite-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kumite-hero h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.kumite-hero-content > p {
    max-width: 620px;
    margin: 0 0 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.kumite-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.25rem;
    border-radius: 9px;
    background: #fff;
    color: var(--kumite-primary);
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kumite-hero-button:hover {
    color: var(--kumite-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.kumite-hero-button span {
    font-size: 1.2rem;
}

.kumite-hero-decoration {
    position: absolute;
    right: 5%;
    bottom: 1.5rem;
    pointer-events: none;
    user-select: none;
}

.kumite-hero-decoration span {
    color: rgba(255, 255, 255, 0.07);
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.07em;
}


/* SEZIONI */

.kumite-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    scroll-margin-top: 100px;
}

.kumite-section + .kumite-section {
    margin-top: 3rem;
}

.kumite-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.kumite-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--kumite-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(18, 52, 90, 0.18);
}

.kumite-kicker {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--kumite-secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.kumite-section-heading h2 {
    margin: 0 0 0.5rem;
    color: var(--kumite-primary);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.kumite-section-subtitle {
    margin: 0;
    color: var(--kumite-muted);
    font-size: 1rem;
}


/* INTRODUZIONE */

.kumite-intro-card {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 1.4rem;
    padding: 2rem;
    border: 1px solid var(--kumite-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(18, 52, 90, 0.05);
}

.kumite-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 15px;
    background: var(--kumite-light);
    font-size: 2rem;
}

.kumite-intro-card h3 {
    margin: 0 0 0.8rem;
    color: var(--kumite-primary);
    font-size: 1.35rem;
    font-weight: 850;
}

.kumite-intro-card p {
    margin: 0 0 0.8rem;
}

.kumite-intro-card p:last-child {
    margin-bottom: 0;
}


/* SOTTOTITOLI */

.kumite-subheading {
    margin: 2.8rem 0 1.25rem;
}

.kumite-subheading h3 {
    margin: 0 0 0.45rem;
    color: var(--kumite-primary);
    font-size: 1.45rem;
    font-weight: 850;
}

.kumite-subheading > p {
    margin: 0;
    color: var(--kumite-muted);
}


/* CRITERI DI VALUTAZIONE */

.kumite-criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.kumite-criteria-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid var(--kumite-border);
    border-radius: 15px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kumite-criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(18, 52, 90, 0.09);
}

.kumite-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: #e8f0f8;
    color: var(--kumite-secondary);
    font-size: 0.85rem;
    font-weight: 900;
}

.kumite-criteria-card h4 {
    margin: 0 0 0.65rem;
    color: var(--kumite-primary);
    font-size: 1.05rem;
    font-weight: 850;
}

.kumite-criteria-card p {
    margin: 0;
    color: var(--kumite-muted);
    font-size: 0.94rem;
}


/* DURATA */

.kumite-duration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.kumite-duration-card {
    padding: 1.7rem;
    border: 1px solid var(--kumite-border);
    border-radius: 17px;
    background: var(--kumite-light);
    text-align: center;
}

.kumite-duration-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--kumite-secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kumite-duration-card h4 {
    margin: 0;
    color: var(--kumite-primary);
    font-size: 1.15rem;
    font-weight: 850;
}

.kumite-duration-time {
    margin: 0.6rem 0;
    color: var(--kumite-primary);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.kumite-duration-time span {
    margin-left: 0.15rem;
    font-size: 2rem;
}

.kumite-duration-card p {
    margin: 0;
    color: var(--kumite-muted);
    font-size: 0.92rem;
}


/* NOTE INFORMATIVE */

.kumite-info-note,
.kumite-warning-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
}

.kumite-info-note {
    margin-top: 1.2rem;
    border: 1px solid #d6e6f5;
    background: #edf5fc;
}

.kumite-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--kumite-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.kumite-info-note p,
.kumite-warning-note p {
    margin: 0;
}


/* PROTEZIONI */

.kumite-protection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.kumite-protection-card {
    padding: 1.6rem;
    border: 1px solid var(--kumite-border);
    border-radius: 16px;
    background: #fff;
}

.kumite-protection-required {
    border-top: 4px solid #27845b;
}

.kumite-protection-optional {
    border-top: 4px solid var(--kumite-accent);
}

.kumite-protection-heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.kumite-protection-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e9f6ef;
    color: #23794f;
    font-size: 1.2rem;
    font-weight: 900;
}

.kumite-protection-optional .kumite-protection-symbol {
    background: #fff4df;
    color: #97600c;
}

.kumite-protection-heading h4 {
    margin: 0;
    color: var(--kumite-primary);
    font-size: 1.15rem;
    font-weight: 850;
}

.kumite-protection-card ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.2rem;
}

.kumite-protection-card li {
    padding-left: 0.2rem;
    line-height: 1.6;
}


/* PARAMETRI GIUDICI */

.kumite-judges-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 2rem;
    border-radius: 20px;
    background: var(--kumite-light);
}

.kumite-judges-content h3 {
    margin: 0 0 0.8rem;
    color: var(--kumite-primary);
    font-size: 1.7rem;
    font-weight: 900;
}

.kumite-judges-content p {
    margin: 0;
    color: var(--kumite-text);
}

.kumite-parameters-image-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--kumite-secondary);
    font-size: 0.85rem;
    font-weight: 750;
}

.kumite-parameters-image-link img {
    display: block;
    width: 100%;
    max-width: 650px;
    max-height: 430px;
    margin: 0 auto 0.7rem;
    object-fit: contain;
    border: 1px solid var(--kumite-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(18, 52, 90, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.kumite-parameters-image-link:hover img {
    transform: scale(1.025);
    box-shadow: 0 12px 28px rgba(18, 52, 90, 0.15);
}

.kumite-parameters-image-link:hover {
    color: var(--kumite-primary);
}


/* SEPARATORE */

.kumite-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 700px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.kumite-divider > span {
    height: 1px;
    flex: 1;
    background: var(--kumite-border);
}

.kumite-divider > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kumite-primary);
    color: #fff;
    font-size: 1.35rem;
}


/* REGOLAMENTO TECNICOLOR */

.kumite-regulation-card {
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid var(--kumite-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(18, 52, 90, 0.04);
}

.kumite-regulation-header {
    padding: 1.3rem 1.6rem;
    background: var(--kumite-light);
    border-bottom: 1px solid var(--kumite-border);
}

.kumite-regulation-tag {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.65rem;
    border-radius: 5px;
    background: #dceaf7;
    color: var(--kumite-primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kumite-regulation-header h3 {
    margin: 0;
    color: var(--kumite-primary);
    font-size: 1.3rem;
    font-weight: 850;
}

.kumite-regulation-body {
    padding: 1.5rem 1.6rem;
}

.kumite-regulation-body > p {
    margin: 0 0 1rem;
}

.kumite-regulation-body > p:last-child {
    margin-bottom: 0;
}

.kumite-warning-note {
    margin-top: 1rem;
    border: 1px solid #f0d8a5;
    background: #fff7e8;
}

.kumite-warning-note .kumite-note-icon {
    background: #a36a0a;
}


/* NOTA FINALE */

.kumite-final-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--kumite-border);
    border-radius: 15px;
    background: #f8fafc;
}

.kumite-final-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--kumite-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.kumite-final-note h3 {
    margin: 0 0 0.5rem;
    color: var(--kumite-primary);
    font-size: 1.15rem;
    font-weight: 850;
}

.kumite-final-note p {
    margin: 0;
}


/* RESPONSIVE TABLET */

@media (max-width: 950px) {
    .kumite-criteria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kumite-judges-card {
        grid-template-columns: 1fr;
    }

    .kumite-judges-content {
        text-align: center;
    }

    .kumite-parameters-image-link img {
        max-height: 500px;
    }
}


/* RESPONSIVE SMARTPHONE */

@media (max-width: 600px) {
    .kumite-hero {
        min-height: 310px;
        padding: 3rem 1.3rem;
        margin-bottom: 2.5rem;
        border-radius: 0 0 18px 18px;
    }

    .kumite-hero-content > p {
        font-size: 1rem;
    }

    .kumite-hero-decoration {
        right: 4%;
        bottom: 0.5rem;
    }

    .kumite-section {
        padding: 0 1rem;
    }

    .kumite-section-heading {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .kumite-section-number {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .kumite-section-heading h2 {
        font-size: 1.65rem;
    }

    .kumite-section-subtitle {
        font-size: 0.9rem;
    }

    .kumite-intro-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.3rem;
    }

    .kumite-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .kumite-criteria-grid,
    .kumite-duration-grid,
    .kumite-protection-grid {
        grid-template-columns: 1fr;
    }

    .kumite-criteria-card {
        padding: 1.25rem;
    }

    .kumite-duration-card {
        padding: 1.4rem;
    }

    .kumite-judges-card {
        gap: 1.5rem;
        padding: 1.2rem;
    }

    .kumite-judges-content h3 {
        font-size: 1.4rem;
    }

    .kumite-regulation-header,
    .kumite-regulation-body {
        padding: 1.2rem;
    }

    .kumite-final-note {
        padding: 1.2rem;
    }

    .kumite-divider {
        margin: 3rem auto;
    }
}


/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {
    .kumite-page *,
    .kumite-page *::before,
    .kumite-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.kumite-page a:focus-visible {
    outline: 3px solid var(--kumite-accent);
    outline-offset: 4px;
}
/* =========================================================
   PAGINA PARTNERS
   ========================================================= */

.partners-page {
    --partners-primary: #12345a;
    --partners-secondary: #1e5a91;
    --partners-accent: #e8a23b;
    --partners-text: #26374a;
    --partners-muted: #64748b;
    --partners-light: #f3f7fb;
    --partners-border: #dce5ef;

    color: var(--partners-text);
    padding-bottom: 3rem;
}

.partners-page * {
    box-sizing: border-box;
}

.partners-page p {
    line-height: 1.75;
}


/* HERO */

.partners-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 310px;
    overflow: hidden;
    padding: 4rem clamp(1.5rem, 6vw, 5rem);
    margin-top: 24px; /* Spazio sotto il menu */
    margin-bottom: 3.5rem;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(
        120deg,
        #102b4c 0%,
        #174c7b 65%,
        #246b9b 100%
    );
    color: #fff;
    isolation: isolate;
}

.partners-hero::before,
.partners-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.partners-hero::before {
    width: 350px;
    height: 350px;
    right: 8%;
    top: -160px;
}

.partners-hero::after {
    width: 260px;
    height: 260px;
    right: 15%;
    bottom: -180px;
}

.partners-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.partners-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.partners-hero h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.partners-hero-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.partners-hero-decoration {
    position: absolute;
    right: 4%;
    bottom: 1rem;
    color: rgba(255, 255, 255, 0.07);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    pointer-events: none;
    user-select: none;
}


/* INTRODUZIONE */

.partners-intro {
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    text-align: center;
}

.partners-section-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--partners-secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.partners-intro h2 {
    margin: 0 0 1rem;
    color: var(--partners-primary);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.partners-intro p {
    margin: 0;
    color: var(--partners-muted);
    font-size: 1.02rem;
}


/* GRIGLIA PARTNER */

.partners-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}


/* SINGOLA SCHEDA */

.partner-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--partners-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(18, 52, 90, 0.055);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: #b7cde2;
    box-shadow: 0 15px 35px rgba(18, 52, 90, 0.12);
}


/* AREA LOGO */

.partner-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 1.5rem;
    border-bottom: 1px solid var(--partners-border);
    background: #f8fafc;
}

.partner-logo-area img {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 135px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.partner-card:hover .partner-logo-area img {
    transform: scale(1.04);
}


/* TESTI PARTNER */

.partner-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding: 1.6rem;
}

.partner-category {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--partners-secondary);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.partner-card-content h3 {
    margin: 0 0 0.8rem;
    color: var(--partners-primary);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.25;
}

.partner-card-content p {
    flex: 1;
    margin: 0 0 1.5rem;
    color: var(--partners-muted);
    font-size: 0.96rem;
}


/* LINK AL SITO */

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: var(--partners-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.partner-link:hover {
    background: var(--partners-secondary);
    color: #fff;
    transform: translateY(-2px);
}

.partner-link span {
    font-size: 1.05rem;
}


/* CHIUSURA PAGINA */

.partners-footer {
    max-width: 850px;
    margin: 4rem auto 0;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--partners-border);
}

.partners-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1.2rem;
    border-radius: 18px;
    background: var(--partners-light);
    font-size: 2rem;
}

.partners-footer h2 {
    margin: 0 0 0.8rem;
    color: var(--partners-primary);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
}

.partners-footer p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--partners-muted);
}


/* TABLET */

@media (max-width: 800px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .partner-logo-area {
        min-height: 160px;
    }

    .partner-logo-area img {
        max-height: 110px;
    }

    .partner-card-content {
        padding: 1.25rem;
    }
}


/* SMARTPHONE */

@media (max-width: 560px) {
    .partners-hero {
        min-height: 280px;
        padding: 3rem 1.3rem;
        margin-bottom: 2.5rem;
        border-radius: 0 0 18px 18px;
    }

    .partners-hero-content p {
        font-size: 1rem;
    }

    .partners-intro {
        margin-bottom: 2rem;
        padding: 0 1.2rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .partner-logo-area {
        min-height: 175px;
    }

    .partner-logo-area img {
        max-height: 125px;
    }

    .partner-card-content {
        padding: 1.4rem;
    }

    .partners-footer {
        margin-top: 3rem;
    }
}


/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {
    .partners-page *,
    .partners-page *::before,
    .partners-page *::after {
        transition: none !important;
        animation: none !important;
    }
}

.partners-page a:focus-visible {
    outline: 3px solid var(--partners-accent);
    outline-offset: 4px;
}
/* =========================================================
   PAGINA STAMPA - ARCHIVIO STORICO
   ========================================================= */

.stampa-page {
    --stampa-primary: #12345a;
    --stampa-secondary: #1e5a91;
    --stampa-accent: #e8a23b;
    --stampa-text: #26374a;
    --stampa-muted: #64748b;
    --stampa-light: #f3f7fb;
    --stampa-border: #dce5ef;

    color: var(--stampa-text);
    padding-bottom: 3rem;
}

.stampa-page * {
    box-sizing: border-box;
}

.stampa-page p {
    line-height: 1.75;
}


/* HERO */

.stampa-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 330px;
    overflow: hidden;
    padding: 4rem clamp(1.5rem, 6vw, 5rem);
    margin-bottom: 3.5rem;
    border-radius: 0 0 26px 26px;
    margin-top: 24px; /* Spazio sotto il menu */
    background: linear-gradient(
        120deg,
        #102b4c 0%,
        #174c7b 65%,
        #246b9b 100%
    );
    color: #fff;
    isolation: isolate;
}

.stampa-hero::before,
.stampa-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.stampa-hero::before {
    width: 360px;
    height: 360px;
    top: -160px;
    right: 8%;
}

.stampa-hero::after {
    width: 260px;
    height: 260px;
    bottom: -180px;
    right: 15%;
}

.stampa-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.stampa-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stampa-hero h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.stampa-hero-content p {
    max-width: 680px;
    margin: 0 0 1.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.stampa-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: 9px;
    background: #fff;
    color: var(--stampa-primary);
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stampa-hero-button:hover {
    color: var(--stampa-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.stampa-hero-decoration {
    position: absolute;
    right: 3%;
    bottom: 1rem;
    color: rgba(255, 255, 255, 0.06);
    font-size: clamp(2.8rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    pointer-events: none;
    user-select: none;
}


/* INTRODUZIONE */

.stampa-intro {
    max-width: 850px;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
    text-align: center;
}

.stampa-section-label {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--stampa-secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.stampa-intro h2,
.stampa-archivio-heading h2 {
    margin: 0 0 0.9rem;
    color: var(--stampa-primary);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.stampa-intro p {
    margin: 0;
    color: var(--stampa-muted);
    font-size: 1.02rem;
}


/* ARCHIVIO */

.stampa-archivio {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    scroll-margin-top: 100px;
}

.stampa-archivio-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stampa-archivio-heading h2 {
    margin-bottom: 0.5rem;
}

.stampa-archivio-heading p {
    margin: 0;
    color: var(--stampa-muted);
}

.stampa-archivio-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 95px;
    min-height: 80px;
    padding: 0.8rem;
    border: 1px solid var(--stampa-border);
    border-radius: 14px;
    background: var(--stampa-light);
    color: var(--stampa-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.stampa-archivio-count span:first-child {
    color: var(--stampa-primary);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
}


/* RICERCA */

.stampa-search-wrapper {
    max-width: 620px;
    margin-bottom: 2rem;
}

.stampa-search-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--stampa-primary);
    font-size: 0.92rem;
    font-weight: 850;
}

.stampa-search-box {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.25rem 0.7rem 0.25rem 1rem;
    border: 1px solid var(--stampa-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(18, 52, 90, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.stampa-search-box:focus-within {
    border-color: var(--stampa-secondary);
    box-shadow: 0 0 0 3px rgba(30, 90, 145, 0.12);
}

.stampa-search-box > span {
    color: var(--stampa-secondary);
    font-size: 1.8rem;
    line-height: 1;
}

.stampa-search-box input {
    width: 100%;
    min-width: 0;
    padding: 0.8rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--stampa-text);
    font: inherit;
}

.stampa-search-box input::placeholder {
    color: #94a3b8;
}

.stampa-clear-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: var(--stampa-light);
    color: var(--stampa-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.stampa-clear-button:hover {
    background: #e1ebf5;
}

.stampa-search-help {
    margin: 0.5rem 0 0;
    color: var(--stampa-muted);
    font-size: 0.82rem;
}


/* GALLERIA */

.stampa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}


/* SCHEDA */

.stampa-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--stampa-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(18, 52, 90, 0.05);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.stampa-card:hover {
    transform: translateY(-5px);
    border-color: #b9cde0;
    box-shadow: 0 14px 32px rgba(18, 52, 90, 0.12);
}

.stampa-card[hidden] {
    display: none !important;
}

.stampa-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.stampa-card-link:hover {
    color: inherit;
}


/* IMMAGINI */

.stampa-image-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e9eef4;
}

.stampa-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.stampa-card:hover .stampa-image-wrapper img {
    transform: scale(1.055);
}

.stampa-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 43, 76, 0.65);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 850;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.stampa-card:hover .stampa-image-overlay,
.stampa-card-link:focus-visible .stampa-image-overlay {
    opacity: 1;
}

.stampa-card-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.4rem 0.65rem;
    border-radius: 7px;
    background: #fff;
    color: var(--stampa-primary);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}


/* TESTI SCHEDA */

.stampa-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding: 1.25rem;
}

.stampa-card-category {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--stampa-secondary);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stampa-card-content h3 {
    margin: 0 0 1.1rem;
    color: var(--stampa-primary);
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.45;
}

.stampa-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid var(--stampa-border);
    width: 100%;
    color: var(--stampa-secondary);
    font-size: 0.86rem;
    font-weight: 850;
}

.stampa-card:hover .stampa-card-action {
    color: var(--stampa-primary);
}


/* NESSUN RISULTATO */

.stampa-empty {
    margin-top: 1rem;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--stampa-border);
    border-radius: 16px;
    background: var(--stampa-light);
    text-align: center;
}

.stampa-empty[hidden] {
    display: none !important;
}

.stampa-empty > span {
    color: var(--stampa-secondary);
    font-size: 2.5rem;
}

.stampa-empty h3 {
    margin: 0.7rem 0;
    color: var(--stampa-primary);
    font-size: 1.3rem;
    font-weight: 900;
}

.stampa-empty p {
    margin: 0;
    color: var(--stampa-muted);
}


/* CHIUSURA */

.stampa-footer {
    max-width: 850px;
    margin: 4rem auto 0;
    padding: 2.5rem 1.5rem 0;
    border-top: 1px solid var(--stampa-border);
    text-align: center;
}

.stampa-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1.2rem;
    border-radius: 18px;
    background: var(--stampa-light);
    font-size: 2rem;
}

.stampa-footer h2 {
    margin: 0 0 0.8rem;
    color: var(--stampa-primary);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
}

.stampa-footer p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--stampa-muted);
}


/* TABLET */

@media (max-width: 950px) {
    .stampa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .stampa-image-wrapper {
        height: 220px;
    }
}


/* SMARTPHONE */

@media (max-width: 560px) {
    .stampa-hero {
        min-height: 300px;
        padding: 3rem 1.3rem;
        margin-bottom: 2.5rem;
        border-radius: 0 0 18px 18px;
    }

    .stampa-hero-content p {
        font-size: 0.98rem;
    }

    .stampa-intro {
        margin-bottom: 2.5rem;
        padding: 0 1.2rem;
    }

    .stampa-archivio-heading {
        align-items: flex-start;
        gap: 1rem;
    }

    .stampa-archivio-count {
        min-width: 72px;
        min-height: 68px;
        padding: 0.5rem;
    }

    .stampa-archivio-count span:first-child {
        font-size: 1.5rem;
    }

    .stampa-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .stampa-image-wrapper {
        height: 240px;
    }

    .stampa-card-content {
        padding: 1.2rem;
    }

    .stampa-footer {
        margin-top: 3rem;
    }
}


/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {
    .stampa-page *,
    .stampa-page *::before,
    .stampa-page *::after {
        transition: none !important;
        animation: none !important;
    }
}

.stampa-page a:focus-visible,
.stampa-page button:focus-visible {
    outline: 3px solid var(--stampa-accent);
    outline-offset: 4px;
}
/* =========================================
   PAGINA VIDEO - TROFEO BRESCIANO
   ========================================= */

.pagina-video {
    padding-bottom: 55px;
}

/* INTRODUZIONE */

/* INTRODUZIONE VIDEO */

.pagina-video .video-hero {
    position: relative;
    overflow: hidden;
    padding: 55px 30px;
    margin-top: 24px;
    margin-bottom: 40px;

    border-radius: 26px;

    background: linear-gradient(
        120deg,
        #102b4c 0%,
        #174c7b 65%,
        #246b9b 100%
    );

    color: #fff;
    text-align: center;
}

.pagina-video .video-hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.pagina-video .video-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #f5c15d;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pagina-video .video-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
}

.pagina-video .video-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}


/* INTESTAZIONE GALLERIA */

.pagina-video .video-section-heading {
    margin-bottom: 25px;
}

.pagina-video .video-section-heading h2 {
    margin: 0 0 8px;
    color: #252a30;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 750;
}

.pagina-video .video-section-heading p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}


/* GRIGLIA */

.pagina-video .video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* SCHEDA */

.pagina-video .video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pagina-video .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}


/* CONTENITORE VIDEO */

.pagina-video .video-container {
    position: relative;
    overflow: hidden;
    background: #151515;
    aspect-ratio: 16 / 9;
}

.pagina-video .video-thumbnail {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    background: #202020;
}

.pagina-video .video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pagina-video .video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.pagina-video .video-thumbnail::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.48),
        rgba(0, 0, 0, 0.05) 65%
    );
    pointer-events: none;
}


/* PULSANTE PLAY */

.pagina-video .video-play-button {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding-left: 4px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(190, 25, 35, 0.94);
    color: #fff;
    font-size: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.pagina-video .video-thumbnail:hover .video-play-button {
    transform: scale(1.12);
    background: #d92332;
}

.pagina-video .video-thumbnail:focus-visible {
    outline: 3px solid #f5c15d;
    outline-offset: -4px;
}


/* ETICHETTA VIDEO */

.pagina-video .video-duration-label {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}


/* VIDEO IN RIPRODUZIONE */

.pagina-video .video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}


/* TESTI DELLA SCHEDA */

.pagina-video .video-card-content {
    padding: 20px;
}

.pagina-video .video-category {
    display: inline-block;
    margin-bottom: 9px;
    color: #b51f2a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.pagina-video .video-card-content h3 {
    margin: 0 0 10px;
    color: #252a30;
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.4;
}

.pagina-video .video-card-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.94rem;
    line-height: 1.65;
}


/* TABLET */

@media (max-width: 992px) {
    .pagina-video .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .pagina-video .video-hero {
        padding: 45px 24px;
    }
}


/* SMARTPHONE */

@media (max-width: 576px) {
    .pagina-video {
        padding-bottom: 30px;
    }

    .pagina-video .video-hero {
        padding: 35px 20px;
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .pagina-video .video-hero p {
        font-size: 0.97rem;
    }

    .pagina-video .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pagina-video .video-card-content {
        padding: 17px;
    }

    .pagina-video .video-play-button {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}


/* RIDUZIONE ANIMAZIONI */

@media (prefers-reduced-motion: reduce) {
    .pagina-video .video-card,
    .pagina-video .video-thumbnail img,
    .pagina-video .video-play-button {
        transition: none;
    }
}
/* =========================================================
   PAGINA FOTOGRAFIE
   ========================================================= */

.fotografie-page {
    --fotografie-primary: #102b4e;
    --fotografie-secondary: #174b7a;
    --fotografie-accent: #e8a12b;
    --fotografie-text: #243247;
    --fotografie-muted: #6b7788;
    color: var(--fotografie-text);
}


/* HERO */

.fotografie-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 360px;
    padding: 65px 7%;
    overflow: hidden;
    color: #fff;
    margin-top: 24px; /* Spazio sotto il menu */
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(66, 135, 190, 0.4),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0b1e36 0%,
            #12385f 55%,
            #205982 100%
        );
    border-radius: 0 0 28px 28px;
}

.fotografie-hero::before,
.fotografie-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.fotografie-hero::before {
    width: 380px;
    height: 380px;
    right: 8%;
    top: -180px;
}

.fotografie-hero::after {
    width: 260px;
    height: 260px;
    right: 20%;
    bottom: -180px;
}

.fotografie-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 24, 44, 0.25),
        transparent 80%
    );
}

.fotografie-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.fotografie-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.fotografie-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.fotografie-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.8;
}

.fotografie-hero p strong {
    color: #fff;
}

.fotografie-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 13px 20px;
    color: var(--fotografie-primary);
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.fotografie-hero-btn:hover {
    color: var(--fotografie-primary);
    background: #f0f4f8;
    transform: translateY(-2px);
}

.fotografie-hero-btn span:last-child {
    font-size: 1.3rem;
}


/* SEZIONE GALLERIA */

.fotografie-section {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 65px 5%;
}

.fotografie-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.fotografie-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--fotografie-secondary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.fotografie-section-header h2 {
    margin: 0 0 10px;
    color: var(--fotografie-primary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
}

.fotografie-section-header p {
    margin: 0;
    color: var(--fotografie-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.fotografie-counter {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    min-height: 90px;
    padding: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.fotografie-counter span {
    color: var(--fotografie-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.fotografie-counter small {
    margin-top: 5px;
    color: var(--fotografie-muted);
    font-size: 0.78rem;
}


/* GRIGLIA */

.fotografie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fotografie-card {
    position: relative;
    display: block;
    width: 100%;
    height: 245px;
    padding: 0;
    overflow: hidden;
    background: #e9eef4;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    isolation: isolate;
    box-shadow: 0 5px 18px rgba(16, 43, 78, 0.08);
    text-align: left;
}

.fotografie-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fotografie-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: rgba(8, 25, 45, 0.68);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fotografie-zoom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.fotografie-card-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.fotografie-card:hover img {
    transform: scale(1.07);
}

.fotografie-card:hover .fotografie-card-overlay,
.fotografie-card:focus-visible .fotografie-card-overlay {
    opacity: 1;
}

.fotografie-card:focus-visible {
    outline: 3px solid var(--fotografie-accent);
    outline-offset: 4px;
}


/* GALLERIA VUOTA */

.fotografie-empty {
    padding: 65px 20px;
    background: #f6f8fb;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

.fotografie-empty-icon {
    color: #8292a6;
    font-size: 3rem;
}

.fotografie-empty h3 {
    margin: 15px 0 8px;
    color: var(--fotografie-primary);
    font-size: 1.35rem;
}

.fotografie-empty p {
    margin: 0;
    color: var(--fotografie-muted);
}


/* VISUALIZZATORE A SCHERMO INTERO */

.fotografie-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 75px 35px;
    background: rgba(5, 12, 22, 0.96);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.fotografie-modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.fotografie-modal-open {
    overflow: hidden;
}

.fotografie-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.fotografie-modal-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 145px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.3);
    animation: fotografieZoomIn 0.25s ease;
    touch-action: pan-y;
}

.fotografie-modal-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(100%, 900px);
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

#fotografie-modal-number {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.fotografie-modal-close {
    position: absolute;
    top: 15px;
    right: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.fotografie-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.fotografie-modal-nav {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 62px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    font-size: 1.3rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.fotografie-modal-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.fotografie-modal-prev {
    left: 18px;
}

.fotografie-modal-next {
    right: 18px;
}

.fotografie-modal-close:focus-visible,
.fotografie-modal-nav:focus-visible {
    outline: 3px solid var(--fotografie-accent);
    outline-offset: 3px;
}

@keyframes fotografieZoomIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .fotografie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fotografie-card {
        height: 230px;
    }
}

@media (max-width: 768px) {
    .fotografie-hero {
        min-height: 320px;
        padding: 50px 6%;
        border-radius: 0 0 20px 20px;
    }

    .fotografie-section {
        padding: 45px 5%;
    }

    .fotografie-section-header {
        align-items: flex-start;
    }

    .fotografie-counter {
        min-width: 82px;
        min-height: 75px;
        padding: 10px;
    }

    .fotografie-counter span {
        font-size: 1.6rem;
    }

    .fotografie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fotografie-card {
        height: 210px;
        border-radius: 10px;
    }

    .fotografie-modal {
        padding: 70px 15px 30px;
    }

    .fotografie-modal-content img {
        max-width: 100%;
        max-height: calc(100vh - 145px);
    }

    .fotografie-modal-prev {
        left: 8px;
    }

    .fotografie-modal-next {
        right: 8px;
    }

    .fotografie-modal-nav {
        width: 38px;
        height: 48px;
        background: rgba(0, 0, 0, 0.55);
    }

    .fotografie-modal-close {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .fotografie-hero {
        min-height: 300px;
        padding: 42px 22px;
    }

    .fotografie-hero h1 {
        font-size: 2.15rem;
    }

    .fotografie-hero p {
        font-size: 0.96rem;
    }

    .fotografie-section {
        padding: 35px 15px;
    }

    .fotografie-section-header {
        flex-direction: column;
        gap: 18px;
    }

    .fotografie-counter {
        flex-direction: row;
        gap: 8px;
        min-height: auto;
        padding: 10px 14px;
    }

    .fotografie-counter small {
        margin-top: 0;
    }

    .fotografie-card {
        height: 165px;
    }

    .fotografie-card-overlay {
        gap: 5px;
    }

    .fotografie-zoom-icon {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .fotografie-card-text {
        font-size: 0.75rem;
    }

    .fotografie-modal-caption {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fotografie-page *,
    .fotografie-page *::before,
    .fotografie-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================================================
   PAGINE TAPPE TROFEO BRESCIANO
   ========================================================= */

.tappa-page {
    --tappa-primary: #102b4e;
    --tappa-secondary: #1b527f;
    --tappa-accent: #e8a12b;
    --tappa-text: #26364a;
    --tappa-muted: #6b7788;

    color: var(--tappa-text);
}


/* HERO */

.tappa-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 55px 7%;
    overflow: hidden;
    margin-top: 24px; /* Spazio sotto il menu */
    color: #fff;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(76, 143, 194, 0.4),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0b1e36 0%,
            #12385f 60%,
            #205982 100%
        );

    border-radius: 0 0 26px 26px;
}

.tappa-hero::before,
.tappa-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.tappa-hero::before {
    width: 340px;
    height: 340px;
    right: 8%;
    top: -180px;
}

.tappa-hero::after {
    width: 230px;
    height: 230px;
    right: 22%;
    bottom: -160px;
}

.tappa-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.tappa-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 13px;

    color: #fff;
    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tappa-hero h1 {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.tappa-hero-content > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 1.2rem;
    line-height: 1.6;
}

.tappa-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.tappa-hero-details > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 14px;

    color: #fff;
    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;

    font-size: 0.92rem;
    font-weight: 600;
}

.tappa-detail-icon {
    font-size: 1.05rem;
}


/* CONTENUTO */

.tappa-content {
    width: min(1250px, 100%);
    margin: 0 auto;
    padding: 60px 5%;
}

.tappa-intro {
    max-width: 750px;
    margin-bottom: 35px;
}

.tappa-section-label {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--tappa-secondary);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tappa-intro h2 {
    margin: 0 0 12px;

    color: var(--tappa-primary);

    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.25;
}

.tappa-intro p {
    margin: 0;

    color: var(--tappa-muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* LAYOUT */

.tappa-poster-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.8fr);
    align-items: start;
    gap: 28px;
}


/* LOCANDINA */

.tappa-poster-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e7edf3;
    border-radius: 16px;

    box-shadow: 0 8px 28px rgba(16, 43, 78, 0.09);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tappa-poster-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(16, 43, 78, 0.14);
}

.tappa-poster-image-link {
    display: block;
    background: #f1f4f8;
    text-align: center;
}

.tappa-poster-image {
    display: block;

    width: 100%;
    height: auto;
    max-height: 850px;

    object-fit: contain;

    transition: opacity 0.2s ease;
}

.tappa-poster-image-link:hover .tappa-poster-image {
    opacity: 0.94;
}

.tappa-poster-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;

    padding: 22px;
    border-top: 1px solid #edf1f5;
}

.tappa-poster-caption {
    display: flex;
    align-items: center;
    gap: 13px;
}

.tappa-poster-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    flex-shrink: 0;

    background: #edf4fb;
    border-radius: 12px;

    font-size: 1.35rem;
}

.tappa-poster-caption h3 {
    margin: 0 0 5px;

    color: var(--tappa-primary);

    font-size: 1.05rem;
    font-weight: 800;
}

.tappa-poster-caption p {
    margin: 0;

    color: var(--tappa-muted);

    font-size: 0.86rem;
}

.tappa-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 17px;

    color: #fff;
    background: var(--tappa-primary);

    border: 1px solid var(--tappa-primary);
    border-radius: 8px;

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.tappa-download-btn:hover {
    color: #fff;
    background: var(--tappa-secondary);
    border-color: var(--tappa-secondary);
    transform: translateY(-2px);
}

.tappa-download-btn span {
    font-size: 1.2rem;
}


/* PANNELLO INFORMAZIONI */

.tappa-info-card {
    padding: 25px;

    background: #f7f9fc;

    border: 1px solid #e4eaf1;
    border-radius: 16px;
}

.tappa-info-heading {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 24px;
    padding-bottom: 20px;

    border-bottom: 1px solid #e1e8f0;
}

.tappa-info-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    flex-shrink: 0;

    color: #fff;
    background: var(--tappa-primary);

    border-radius: 12px;

    font-size: 1.5rem;
    font-weight: 700;
}

.tappa-info-heading > div > span {
    display: block;
    margin-bottom: 3px;

    color: var(--tappa-muted);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tappa-info-heading h3 {
    margin: 0;

    color: var(--tappa-primary);

    font-size: 1.3rem;
    font-weight: 800;
}

.tappa-info-row {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 15px 0;

    border-bottom: 1px solid #e5ebf2;
}

.tappa-info-row:first-of-type {
    padding-top: 0;
}

.tappa-info-row:last-of-type {
    border-bottom: 0;
}

.tappa-info-label {
    color: var(--tappa-muted);
    font-size: 0.83rem;
}

.tappa-info-row strong {
    color: var(--tappa-primary);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

.tappa-info-note {
    margin-top: 20px;
    padding: 15px;

    color: #42566c;
    background: #eaf1f8;

    border-left: 3px solid var(--tappa-accent);
    border-radius: 5px;

    font-size: 0.88rem;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .tappa-poster-layout {
        grid-template-columns: 1fr;
    }

    .tappa-info-card {
        order: 2;
    }

    .tappa-poster-card {
        order: 1;
    }

    .tappa-poster-image {
        max-height: 900px;
    }
}

@media (max-width: 600px) {
    .tappa-hero {
        min-height: 280px;
        padding: 40px 22px;
        border-radius: 0 0 20px 20px;
    }

    .tappa-hero h1 {
        font-size: 2.5rem;
    }

    .tappa-hero-content > p {
        font-size: 1.05rem;
    }

    .tappa-hero-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        margin-top: 20px;
    }

    .tappa-hero-details > span {
        width: fit-content;
        max-width: 100%;
    }

    .tappa-content {
        padding: 40px 16px;
    }

    .tappa-poster-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .tappa-download-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .tappa-info-card {
        padding: 20px;
    }
}


/* LOCANDINA NON ANCORA DISPONIBILE */

.tappa-poster-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 430px;
    padding: 45px 30px;

    box-sizing: border-box;
    text-align: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(39, 91, 137, 0.07),
            transparent 55%
        ),
        #f7f9fc;

    border: 2px dashed #cbd7e4;
    border-radius: 12px;
}

.tappa-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;
    margin-bottom: 22px;

    color: #1b527f;
    background: #e6eef7;

    border-radius: 22px;

    font-size: 2.5rem;
}

.tappa-placeholder-label {
    margin-bottom: 12px;
    padding: 6px 12px;

    color: #1b527f;
    background: #e5edf6;

    border-radius: 20px;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tappa-poster-placeholder h3 {
    margin: 0 0 12px;

    color: #102b4e;

    font-size: 1.5rem;
    font-weight: 800;
}

.tappa-poster-placeholder > p {
    max-width: 400px;
    margin: 0;

    color: #6b7788;

    font-size: 0.96rem;
    line-height: 1.8;
}

.tappa-placeholder-status {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;

    color: #64748b;

    font-size: 0.82rem;
    font-weight: 600;
}

.tappa-placeholder-status span {
    width: 8px;
    height: 8px;

    background: #e8a12b;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .tappa-poster-placeholder {
        min-height: 350px;
        padding: 30px 20px;
    }

    .tappa-placeholder-icon {
        width: 68px;
        height: 68px;
        font-size: 2rem;
    }

    .tappa-poster-placeholder h3 {
        font-size: 1.25rem;
    }
}  


/* INTRODUZIONE E MAPPA */
.tappa-header-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 32px;
}

.tappa-intro {
    min-width: 0;
}

/* HERO TAPPA: CONTENUTO A SINISTRA E MAPPA A DESTRA */
.tappa-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.tappa-hero-main {
    flex: 1;
    min-width: 0;
}

/* RIQUADRO GOOGLE MAPS */
.tappa-hero-map {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    width: 310px;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tappa-hero-map:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.tappa-hero-map-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
}

.tappa-hero-map-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.tappa-hero-map-text strong {
    margin-bottom: 3px;
    font-size: 1rem;
    color: #fff;
}

.tappa-hero-map-arrow {
    align-self: flex-start;
    margin-left: auto;
    font-size: 1.3rem;
    color: #fff;
}

/* TABLET */
@media (max-width: 900px) {
    .tappa-hero-content {
        align-items: flex-start;
        gap: 24px;
    }

    .tappa-hero-map {
        width: 280px;
        padding: 16px;
    }
}

/* SMARTPHONE */
@media (max-width: 650px) {
    .tappa-hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .tappa-hero-map {
        width: 100%;
        box-sizing: border-box;
    }
}
/* CONTENITORE DEI COLLEGAMENTI ALLE MAPPE */
.tappa-hero-maps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
    width: 320px;
}

/* RIQUADRI MAPPA */
.tappa-hero-maps .tappa-hero-map {
    width: 100%;
    box-sizing: border-box;
}

/* RESPONSIVE TABLET */
@media (max-width: 900px) {
    .tappa-hero-maps {
        width: 280px;
    }
}

/* RESPONSIVE SMARTPHONE */
@media (max-width: 650px) {
    .tappa-hero-maps {
        width: 100%;
    }
}
/* ==================================================
   CLASSIFICA ATLETI - PAGINA PRINCIPALE
   ================================================== */

.classifica-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 60px;
    color: #243247;
}

/* HERO */

.classifica-hero {
    position: relative;
    overflow: hidden;
    margin-top: 35px;
    padding: 55px 45px;
    color: #fff;
    background: linear-gradient(135deg, #102f55, #075d91);
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(16, 47, 85, 0.16);
}

.classifica-hero::after {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 45px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.classifica-hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.classifica-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b9ddff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.classifica-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.classifica-hero-content > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

.classifica-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.classifica-hero-details span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 0.88rem;
}


/* ==================================================
   RICERCA
   ================================================== */

.classifica-search-section {
    position: relative;
    z-index: 2;
    margin: -22px 25px 38px;
}

.classifica-search-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(20, 42, 70, 0.09);
}

.classifica-search-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.classifica-search-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #eaf3ff;
    border-radius: 15px;
    font-size: 1.6rem;
}

.classifica-search-heading h2 {
    margin: 0 0 6px;
    color: #153b66;
    font-size: 1.4rem;
    font-weight: 800;
}

.classifica-search-heading p {
    margin: 0;
    color: #68778b;
    font-size: 0.94rem;
    line-height: 1.5;
}

.classifica-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr) auto;
    align-items: end;
    gap: 16px;
}

.classifica-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.classifica-form-group label {
    color: #35465b;
    font-size: 0.9rem;
    font-weight: 700;
}

.classifica-form-group input,
.classifica-form-group select {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #26374b;
    background: #f8fafc;
    border: 1px solid #dce4ed;
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.classifica-form-group input:focus,
.classifica-form-group select:focus {
    outline: none;
    background: #fff;
    border-color: #2878bd;
    box-shadow: 0 0 0 3px rgba(40, 120, 189, 0.12);
}

.classifica-form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.classifica-btn-search,
.classifica-btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.classifica-btn-search {
    color: #fff;
    background: #155b98;
}

.classifica-btn-search:hover {
    color: #fff;
    background: #104675;
    transform: translateY(-2px);
}

.classifica-btn-reset {
    color: #42536a;
    background: #edf1f5;
}

.classifica-btn-reset:hover {
    color: #153b66;
    background: #dfe7f0;
}

.classifica-search-note {
    margin-top: 18px;
    color: #78869a;
    font-size: 0.82rem;
}


/* ==================================================
   INTESTAZIONE ATLETA
   ================================================== */

.classifica-athlete-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: #fff;
    border: 1px solid #e4ebf2;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(20, 42, 70, 0.05);
}

.classifica-athlete-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #eaf3ff;
    border-radius: 20px;
    font-size: 2rem;
}

.classifica-athlete-label {
    color: #63758c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.classifica-athlete-info h2 {
    margin: 5px 0 8px;
    color: #153b66;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.classifica-athlete-info p {
    margin: 0;
    color: #637187;
    font-size: 0.95rem;
}

.classifica-athlete-info p strong {
    color: #293b52;
}


/* ==================================================
   SETTORI
   ================================================== */

.classifica-sector {
    margin-bottom: 45px;
}

.classifica-sector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 24px 28px;
    color: #fff;
    border-radius: 16px;
}

.agonisti-heading {
    background: linear-gradient(120deg, #142e4c, #244f7b);
}

.scuola-heading {
    background: linear-gradient(120deg, #176348, #27886a);
}

.classifica-sector-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.classifica-sector-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
}

.classifica-sector-heading p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}


/* ==================================================
   RISULTATI AGONISTI
   ================================================== */

.classifica-agonisti-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.classifica-result-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(20, 42, 70, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.classifica-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(20, 42, 70, 0.1);
}

.classifica-result-card-header {
    padding: 22px 24px;
    background: #f1f6fb;
    border-bottom: 1px solid #e1e8f0;
}

.classifica-category-label {
    color: #657991;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.classifica-result-card-header h3 {
    margin: 7px 0 0;
    color: #173f69;
    font-size: 1.25rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.classifica-result-card-body {
    padding: 23px;
}

.classifica-points-label {
    margin-bottom: 12px;
    color: #617187;
    font-size: 0.88rem;
    font-weight: 600;
}

.classifica-points-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.classifica-point-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    color: #1d5488;
    background: #eaf3ff;
    border: 1px solid #d7e8fb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.classifica-no-points {
    color: #7a8797;
    font-size: 0.88rem;
    font-style: italic;
}

.classifica-total-box,
.classifica-position-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding: 15px 17px;
    background: #f7f9fc;
    border-radius: 10px;
}

.classifica-total-box span,
.classifica-position-box span {
    color: #5c6d82;
    font-size: 0.9rem;
}

.classifica-total-box strong {
    color: #153b66;
    font-size: 1.5rem;
    font-weight: 800;
}

.classifica-position-box {
    background: #fff7e4;
    border: 1px solid #f4e3b8;
}

.classifica-position-box span {
    color: #795b18;
    font-weight: 600;
}

.classifica-position-box strong {
    color: #9a6c08;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: right;
}


/* ==================================================
   RIEPILOGO PROGETTO SCUOLA
   ================================================== */

.classifica-school-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.classifica-school-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 23px;
    background: #fff;
    border: 1px solid #e0ece5;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(25, 90, 65, 0.04);
}

.classifica-school-stat > span {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #e8f6ed;
    border-radius: 14px;
    font-size: 1.5rem;
}

.classifica-school-stat div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.classifica-school-stat small {
    color: #637b6e;
    font-size: 0.84rem;
}

.classifica-school-stat strong {
    color: #176348;
    font-size: 1.45rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}


/* ==================================================
   SCHEDE PROVE PROGETTO SCUOLA
   ================================================== */

.classifica-school-card {
    margin-bottom: 22px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e2e9e5;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(25, 90, 65, 0.04);
}

.classifica-school-card > h3 {
    margin: 0 0 18px;
    color: #24563f;
    font-size: 1.15rem;
    font-weight: 800;
}

.classifica-test-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8eee9;
}

.classifica-test-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #e8f6ed;
    border-radius: 13px;
    font-size: 1.45rem;
}

.classifica-test-heading h3 {
    margin: 0;
    color: #24563f;
    font-size: 1.15rem;
    font-weight: 800;
}

.classifica-test-heading p {
    margin: 5px 0 0;
    color: #718076;
    font-size: 0.88rem;
}

.classifica-test-result {
    margin-top: 15px;
    padding: 18px;
    background: #f8faf9;
    border: 1px solid #e5ece7;
    border-radius: 12px;
}

.classifica-test-result-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
    color: #246546;
    border-bottom: 1px solid #e0e9e2;
    font-size: 0.95rem;
    font-weight: 800;
}

.classifica-test-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.classifica-test-details > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.classifica-test-details > div > span {
    color: #718076;
    font-size: 0.82rem;
}

.classifica-test-details > div > strong {
    color: #2b4235;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}


/* ==================================================
   NESSUN RISULTATO
   ================================================== */

.classifica-empty-state {
    margin: 35px 0;
    padding: 45px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(20, 42, 70, 0.05);
}

.classifica-empty-icon {
    margin-bottom: 15px;
    font-size: 3rem;
}

.classifica-empty-state h2 {
    margin-bottom: 12px;
    color: #153b66;
    font-size: 1.6rem;
    font-weight: 800;
}

.classifica-empty-state p {
    max-width: 540px;
    margin: 0 auto 25px;
    color: #68778b;
    line-height: 1.7;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {
    .classifica-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .classifica-form-actions {
        grid-column: 1 / -1;
    }

    .classifica-form-actions .classifica-btn-search {
        flex: 1;
    }
}

@media (max-width: 760px) {
    .classifica-page {
        width: calc(100% - 24px);
    }

    .classifica-hero {
        margin-top: 20px;
        padding: 38px 25px;
        border-radius: 17px;
    }

    .classifica-hero-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .classifica-search-section {
        margin: -15px 10px 30px;
    }

    .classifica-search-card {
        padding: 22px 18px;
    }

    .classifica-search-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .classifica-search-heading h2 {
        font-size: 1.2rem;
    }

    .classifica-search-form {
        grid-template-columns: 1fr;
    }

    .classifica-form-actions {
        grid-column: auto;
    }

    .classifica-athlete-card {
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    .classifica-athlete-avatar {
        width: 55px;
        height: 55px;
        border-radius: 14px;
        font-size: 1.6rem;
    }

    .classifica-sector-heading {
        padding: 22px;
    }

    .classifica-sector-heading h2 {
        font-size: 1.35rem;
    }

    .classifica-agonisti-grid {
        grid-template-columns: 1fr;
    }

    .classifica-school-summary {
        grid-template-columns: 1fr;
    }

    .classifica-school-card {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .classifica-hero {
        padding: 30px 20px;
    }

    .classifica-hero-content > p {
        font-size: 0.96rem;
    }

    .classifica-search-heading {
        flex-direction: column;
    }

    .classifica-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .classifica-btn-search,
    .classifica-btn-reset {
        width: 100%;
        box-sizing: border-box;
    }

    .classifica-athlete-card {
        flex-direction: column;
    }

    .classifica-test-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .classifica-total-box,
    .classifica-position-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .classifica-position-box strong {
        text-align: left;
    }

    .classifica-school-stat {
        padding: 18px;
    }
}
/* ==================================================
   SOCIETÀ PARTECIPANTI - TROFEO BRESCIANO
   ================================================== */

.societa-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 60px;
    color: #26364b;
}


/* HERO */

.societa-hero {
    position: relative;
    overflow: hidden;
    margin-top: 35px;
    padding: 55px 45px;
    color: #fff;
    background: linear-gradient(135deg, #102f55, #075d91);
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(16, 47, 85, 0.16);
}

.societa-hero::after {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -130px;
    width: 310px;
    height: 310px;
    border: 45px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.societa-hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.societa-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #b9ddff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.societa-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.societa-hero-content > p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
}

.societa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 10px 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}


/* INTRODUZIONE */

.societa-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 30px;
    padding: 25px 28px;
    background: #fff;
    border: 1px solid #e4ebf2;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(20, 42, 70, 0.04);
}

.societa-intro-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #eaf3ff;
    border-radius: 16px;
    font-size: 1.8rem;
}

.societa-intro h2 {
    margin: 0 0 8px;
    color: #153b66;
    font-size: 1.4rem;
    font-weight: 800;
}

.societa-intro p {
    margin: 0;
    color: #68778b;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* GRIGLIA */

.societa-grid-section {
    margin-top: 30px;
}

.societa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}


/* CARD SOCIETÀ */

.societa-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(20, 42, 70, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.societa-card:hover {
    transform: translateY(-6px);
    border-color: #c5d9ed;
    box-shadow: 0 16px 35px rgba(20, 42, 70, 0.12);
}


/* TESTATA CARD */

.societa-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 17px 20px;
    background: #f5f8fc;
    border-bottom: 1px solid #e8eef5;
}

.societa-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #155b98;
    background: #e3effd;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
}

.societa-card-label {
    color: #718198;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}


/* LOGO */

.societa-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 205px;
    margin: 20px 20px 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #edf1f6;
    border-radius: 14px;
}

.societa-logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 155px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.societa-card:hover .societa-logo {
    transform: scale(1.05);
}


/* TESTI CARD */

.societa-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 22px;
}

.societa-card-body h3 {
    margin: 0;
    color: #153b66;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.societa-divider {
    width: 45px;
    height: 3px;
    margin: 17px 0;
    background: #2678b9;
    border-radius: 5px;
}


/* DIRETTORE TECNICO */

.societa-direttore {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 15px;
    background: #f7f9fc;
    border-radius: 12px;
}

.societa-direttore-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #e6f0fc;
    border-radius: 11px;
    font-size: 1.25rem;
}

.societa-info-label {
    display: block;
    margin-bottom: 4px;
    color: #75849a;
    font-size: 0.75rem;
    font-weight: 600;
}

.societa-direttore p {
    margin: 0;
    color: #263d58;
    font-size: 0.92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}


/* PIEDE CARD */

.societa-card-footer {
    padding: 14px 20px;
    color: #6b7d92;
    background: #fbfcfe;
    border-top: 1px solid #edf1f6;
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
}


/* MESSAGGIO FINALE */

.societa-bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding: 28px;
    background: #eef5fc;
    border: 1px solid #dce9f7;
    border-radius: 17px;
}

.societa-bottom-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 15px;
    font-size: 1.6rem;
}

.societa-bottom h2 {
    margin: 0 0 7px;
    color: #153b66;
    font-size: 1.2rem;
    font-weight: 800;
}

.societa-bottom p {
    margin: 0;
    color: #64758a;
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {
    .societa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .societa-page {
        width: calc(100% - 24px);
        padding-bottom: 40px;
    }

    .societa-hero {
        margin-top: 20px;
        padding: 35px 24px;
        border-radius: 17px;
    }

    .societa-hero-content > p {
        font-size: 0.96rem;
    }

    .societa-intro {
        align-items: flex-start;
        gap: 14px;
        margin-top: 28px;
        padding: 20px;
    }

    .societa-intro-icon {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 1.45rem;
    }

    .societa-intro h2 {
        font-size: 1.2rem;
    }

    .societa-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .societa-logo-container {
        min-height: 190px;
    }

    .societa-logo {
        height: 145px;
    }

    .societa-card-body {
        padding: 22px;
    }

    .societa-bottom {
        align-items: flex-start;
        gap: 14px;
        padding: 21px;
    }

    .societa-bottom-icon {
        width: 45px;
        height: 45px;
        font-size: 1.35rem;
    }

    .societa-bottom h2 {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .societa-card,
    .societa-logo {
        transition: none;
    }

    .societa-card:hover,
    .societa-card:hover .societa-logo {
        transform: none;
    }
}
/* ========================================
   INTESTAZIONE - 19° GIOCO SPORT KARATE
   ======================================== */

.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(110deg, #7bcde9, #35b6e5);
    border-bottom: 4px solid #087ca8;
    box-sizing: border-box;
}

.site-header-inner {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header-image {
    display: block;
    width: 100%;
    max-width: 1800px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 768px) {
    .site-header-image {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   SMARTPHONE
   ======================================== */

@media (max-width: 480px) {
    .site-header {
        border-bottom-width: 3px;
    }

    .site-header-image {
        width: 100%;
        height: auto;
    }
}
/* ==========================================
   MENU PRINCIPALE - 19° GIOCO SPORT KARATE
   ========================================== */

:root {
    --menu-bg: #073b65;
    --menu-bg-dark: #052b4a;
    --menu-blue: #087eb5;
    --menu-light-blue: #25a9e0;
    --menu-yellow: #ffeb00;
    --menu-white: #ffffff;
    --menu-text: #173b56;
}

/* ==========================================
   CONTENITORE GENERALE DEL MENU
   ========================================== */

nav {
    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 16px;

    background: linear-gradient(
        110deg,
        var(--menu-bg-dark),
        var(--menu-bg),
        #07517c
    );

    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 14px rgba(0, 35, 65, 0.20);
}

/* ==========================================
   LISTA PRINCIPALE
   ========================================== */

nav ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* Elementi del menu */

nav li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Collegamenti principali */

nav ul.menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 44px;
    padding: 10px 13px;

    color: var(--menu-white);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 7px;
    border: 1px solid transparent;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* Effetto al passaggio del mouse */

nav ul.menu > li > a:hover,
nav ul.menu > li > a:focus-visible {
    color: var(--menu-yellow);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 235, 0, 0.40);
    transform: translateY(-1px);
    outline: none;
}

/* ==========================================
   ICONA PROFILO
   ========================================== */

nav ul.menu > li:first-child > a {
    min-width: 44px;
    padding: 5px;
    border-radius: 50%;
}

nav ul.menu > li:first-child img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;

    transition: transform 0.2s ease;
}

nav ul.menu > li:first-child > a:hover img {
    transform: scale(1.08);
}

/* ==========================================
   SOTTOMENU PRINCIPALI
   ========================================== */

nav .dropdown-content {
    display: none;
    position: absolute;

    /* Attaccato alla voce principale */
    top: 100%;
    left: 0;

    min-width: 205px;
    max-width: 280px;
    padding: 7px;

    margin: 0;
    list-style: none;

    background: #ffffff;
    border: 1px solid #dce8f0;
    border-radius: 10px;

    box-shadow: 0 12px 28px rgba(0, 30, 55, 0.20);

    z-index: 2000;
}

/* Apertura del sottomenu principale */

nav li.dropdown:hover > .dropdown-content,
nav li.dropdown:focus-within > .dropdown-content {
    display: block;
}

/* ==========================================
   VOCI DEI SOTTOMENU
   ========================================== */

nav .dropdown-content li {
    position: relative;
    width: 100%;
}

/* Link dei sottomenu */

nav .dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;

    color: var(--menu-text);
    font-size: 0.91rem;
    font-weight: 500;
    text-decoration: none;

    border-radius: 6px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

/* Hover sui sottomenu */

nav .dropdown-content a:hover,
nav .dropdown-content a:focus-visible {
    color: #07517c;
    background: #e9f6fd;
    outline: none;
}

/* ==========================================
   SOTTOMENU ANNIDATI A DESTRA
   Gallery → Foto → 9° Trofeo → Tappe
   ========================================== */

nav .dropdown-content li.dropdown {
    position: relative;
}

/* Posizione dei sottomenu di secondo, terzo e quarto livello */
nav .dropdown-content li.dropdown > .dropdown-content {
    display: none;
    position: absolute;

    top: -7px;
    left: 100%;

    min-width: 205px;
    max-width: 280px;

    margin: 0;
    z-index: 3000;
}

/* Apertura del sottomenu quando il mouse è sulla voce */
nav .dropdown-content li.dropdown:hover > .dropdown-content,
nav .dropdown-content li.dropdown:focus-within > .dropdown-content {
    display: block;
}

/* Area invisibile tra la voce e il sottomenu a destra */
nav .dropdown-content li.dropdown::after {
    content: "";
    position: absolute;

    top: 0;
    right: -12px;

    width: 12px;
    height: 100%;

    pointer-events: none;
}

/* I sottomenu devono rimanere sopra gli altri elementi */
nav .dropdown-content,
nav .dropdown-content .dropdown-content {
    z-index: 3000;
}

/* I link devono essere selezionabili */
nav .dropdown-content a {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* ==========================================
   PULSANTE MENU MOBILE
   ========================================== */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 46px;
    padding: 10px 14px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 8px;

    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle:hover {
    color: var(--menu-yellow);
    background: rgba(255, 255, 255, 0.14);
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1050px) {

    nav ul.menu {
        gap: 2px;
    }

    nav ul.menu > li > a {
        padding: 9px 10px;
        font-size: 0.88rem;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 768px) {

    nav {
        padding: 8px;
        border-radius: 0 0 10px 10px;
    }

    /* Pulsante per aprire il menu */

    .menu-toggle {
        display: flex;
    }

    /* Menu chiuso */

    nav ul.menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        width: 100%;
        box-sizing: border-box;

        margin-top: 8px;
        padding: 8px;

        background: var(--menu-bg-dark);
        border-radius: 8px;
    }

    /* Menu aperto */

    nav ul.menu.show {
        display: flex;
    }

    nav ul.menu > li {
        width: 100%;
    }

    nav ul.menu > li > a {
        justify-content: flex-start;

        width: 100%;
        box-sizing: border-box;

        min-height: 44px;
        padding: 11px 13px;
    }

    /* Profilo */

    nav ul.menu > li:first-child > a {
        width: 48px;
        justify-content: center;
    }

    /* Sottomenu in modalità mobile */

    nav .dropdown-content,
    nav .dropdown-content .dropdown-content {
        position: static;
        display: none;

        width: 100%;
        max-width: none;
        max-height: none;

        box-sizing: border-box;

        margin: 4px 0 8px;
        padding: 5px;

        background: rgba(255, 255, 255, 0.97);

        border: none;
        border-left: 3px solid var(--menu-yellow);
        border-radius: 5px;

        box-shadow: none;
        overflow: visible;
    }

    /* Apertura dei sottomenu */

    nav li.dropdown:hover > .dropdown-content,
    nav li.dropdown:focus-within > .dropdown-content {
        display: block;
    }

    /* Link mobile */

    nav .dropdown-content a {
        white-space: normal;
        padding: 11px 12px;
    }

    /* Sottomenu annidati in verticale */

    nav .dropdown-content .dropdown > .dropdown-content {
        margin-left: 5px;
        width: calc(100% - 5px);
    }

    /* Disattiva l'area di passaggio desktop */

    nav .dropdown-content li.dropdown::after {
        display: none;
    }
}

/* ==========================================
   ACCESSIBILITÀ
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    nav *,
    nav *::before,
    nav *::after {
        transition: none !important;
        transform: none !important;
    }
}
/* Header con banner */
.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.site-header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header-image {
    max-width: 1600px; /* prima 1050px: aumenta la larghezza */
    max-height: 430px; /* prima 160px: aumenta l'altezza massima */
    width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
    .site-header-inner {
        padding: 6px 10px;
    }

    .site-header-image {
        max-height: 100px;
    }
}
/* ========================================
   SPAZIATURA GENERALE DEL CONTENUTO
   ======================================== */

.content-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 24px 20px 0;
}

/* Le sezioni principali mantengono la larghezza disponibile */
.content-wrapper > section {
    box-sizing: border-box;
}

/* Smartphone */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 16px 12px 0;
    }
}
/* ========================================
   CARD SOLIDALE - SAVE THE CHILDREN
   ======================================== */

.sostegno-card {
    position: relative;
    overflow: hidden;
    width: calc(100% - 30px);
    max-width: 600px;
    box-sizing: border-box;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #102b4c 0%,
        #174c7b 65%,
        #246b9b 100%
    );

    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(16, 43, 76, 0.20);
}

.sostegno-card-body {
    position: relative;
    padding: 38px 28px;
}

/* Etichetta superiore */

.sostegno-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 30px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Titolo */

.sostegno-titolo {
    margin: 0 0 14px;
    color: #ffffff;

    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.3;
}

/* Descrizione */

.sostegno-descrizione {
    max-width: 450px;
    margin: 0 auto 24px;

    color: rgba(255, 255, 255, 0.90);
    font-size: 1rem;
    line-height: 1.7;
}

/* Riquadro del logo */

.sostegno-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 130px;
    margin: 0 auto 26px;
    padding: 18px;

    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
}

.sostegno-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sostegno-logo img {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 110px;

    height: auto;
    object-fit: contain;
}

/* Invito alla donazione */

.sostegno-invito {
    margin: 0 0 10px;
    color: #ffeb00;

    font-size: 1.6rem;
    font-weight: 800;
}

.sostegno-testo {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Pulsante DONA ORA */

.sostegno-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 30px;

    color: #ffffff;
    background: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 10px;

    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.sostegno-button:hover {
    color: #ffffff;
    background: #bb2d3b;
    border-color: #bb2d3b;

    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

/* Smartphone */

@media (max-width: 480px) {
    .sostegno-card {
        width: calc(100% - 24px);
        border-radius: 18px;
    }

    .sostegno-card-body {
        padding: 28px 18px;
    }

    .sostegno-logo {
        min-height: 110px;
        padding: 14px;
    }

    .sostegno-logo img {
        max-width: 220px;
        max-height: 90px;
    }

    .sostegno-button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sostegno-button {
        transition: none;
    }
}