SOT - PAGINA SOCIETÀ / ORGANI
   File: /wp-content/themes/twentytwenty-child/style2.css
   ========================================================= */



/* =========================================================
   ISCRIZIONE SOCI
   ========================================================= */

.sot-membership-page,
.sot-membership-page * {
}

.sot-membership-page {
  --sot-navy: #0c2f62;
  --sot-red: #d9232e;
  --sot-text: #20334e;
  --sot-muted: #6f7e91;
  --sot-line: #dfe7ef;
  --sot-soft: #f4f8fb;

  width: 100%;
  max-width: none;

  margin: 0;

  font-family: Inter, Arial, Helvetica, sans-serif;

  color: var(--sot-text);
  background: #fff;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.sot-membership-container {
  width: calc(100% - 120px);
  max-width: 1280px;

  margin-left: auto;
  margin-right: auto;
}


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

.sot-membership-hero {
  position: relative;

  width: 100%;
  height: 230px;

  overflow: hidden;

  background: #eef5fa;

  isolation: isolate;
}


.sot-membership-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 0;

  background-image:

    linear-gradient(
      90deg,
      rgba(248,251,254,1) 0%,
      rgba(248,251,254,.98) 20%,
      rgba(248,251,254,.88) 38%,
      rgba(248,251,254,.58) 56%,
      rgba(248,251,254,.18) 76%,
      rgba(248,251,254,0) 100%
    ),

    url("https://sotweb.org/wp-content/uploads/2026/09/Sot-consiglio-direttivo-header.webp");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


.sot-membership-hero-inner {
  position: relative;

  z-index: 2;

  height: 230px;

  display: flex;
  align-items: center;
}


.sot-membership-hero-copy {
  max-width: 620px;
}


.sot-membership-eyebrow {
  margin-bottom: 8px;

  color: #536f93;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .16em;
}


.sot-membership-hero h1 {
  margin: 0;

  max-width: 620px;

  color: var(--sot-navy);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(42px, 3.6vw, 58px);

  font-weight: 600;

  line-height: .98;

  letter-spacing: -.03em;
}


.sot-membership-hero p {
  max-width: 520px;

  margin: 12px 0 0;

  color: #60738e;

  font-size: 15px;

  line-height: 1.45;
}


/* =========================================================
   CONTENT
   ========================================================= */

.sot-membership-content {
  position: relative;

  z-index: 5;

  width: 100%;

  padding: 64px 0 96px;

  background: #ffffff;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.sot-membership-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    330px;

  gap: 64px;

  align-items: start;
}


.sot-membership-main {
  min-width: 0;

  margin: 0;
  padding: 0;
}


/* =========================================================
   TITLE
   ========================================================= */

.sot-membership-section-title {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  margin-bottom: 18px;
}


.sot-membership-section-title::before {
  content: "";

  width: 34px;
  height: 2px;

  margin-top: 9px;

  background: var(--sot-red);

  flex: 0 0 auto;
}


.sot-membership-section-title span {
  display: block;

  color: #5f6e83;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: .12em;
}


.sot-membership-section-title strong {
  display: block;

  margin-top: 2px;

  color: var(--sot-navy);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 34px;

  font-weight: 600;

  line-height: 1.05;
}


.sot-membership-intro {
  max-width: 680px;

  margin: 0 0 34px;

  color: #65758a;

  font-size: 15px;

  line-height: 1.6;
}


/* =========================================================
   FORM WRAPPER
   ========================================================= */

.sot-membership-form {
  width: 100%;
}


.sot-membership-form .wpcf7 {
  width: 100%;
}


.sot-membership-form .wpcf7-form {
  width: 100%;
}


/* =========================================================
   CF7 GRID
   ========================================================= */

.sot-membership-form .sot-cf7-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 22px;

  row-gap: 18px;
}


.sot-membership-form .sot-cf7-full {
  grid-column: 1 / -1;
}


/* =========================================================
   FIELDS
   ========================================================= */

.sot-membership-form .sot-cf7-field {
  min-width: 0;
}


.sot-membership-form .sot-cf7-field label {
  display: block;

  margin-bottom: 7px;

  color: var(--sot-navy);

  font-size: 12px;

  font-weight: 600;

  line-height: 1.35;
}


.sot-membership-form .wpcf7-form-control-wrap {
  display: block;

  width: 100%;
}


/* =========================================================
   INPUTS
   ========================================================= */

.sot-membership-form input[type="text"],
.sot-membership-form input[type="email"],
.sot-membership-form input[type="tel"],
.sot-membership-form input[type="number"],
.sot-membership-form input[type="date"],
.sot-membership-form select,
.sot-membership-form textarea {

  display: block;

  width: 100%;

  max-width: none;

  min-height: 48px;

  margin: 0;

  padding: 10px 13px;

  border: 1px solid #d8e3ed;

  border-radius: 6px;

  background: #fff;

  color: #20334e;

  font-size: 14px;

  line-height: 1.4;

  box-shadow: none;

  outline: none;
}


.sot-membership-form input:focus,
.sot-membership-form select:focus,
.sot-membership-form textarea:focus {
  border-color: #86abc9;

  box-shadow:
    0 0 0 3px rgba(86,143,188,.09);
}


/* =========================================================
   RADIO / CHECKBOX
   ========================================================= */

.sot-membership-form .wpcf7-list-item {
  margin: 0 18px 0 0;
}


.sot-membership-form .wpcf7-list-item-label {
  color: #53667e;

  font-size: 13px;
}


.sot-membership-form input[type="checkbox"],
.sot-membership-form input[type="radio"] {
  accent-color: var(--sot-red);
}


/* =========================================================
   ACCEPTANCE
   ========================================================= */

.sot-cf7-acceptance {
  padding: 16px 18px;

  background: #f5f9fc;

  border: 1px solid #e1eaf2;

  border-radius: 8px;

  color: #627187;

  font-size: 12px;

  line-height: 1.55;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.sot-membership-form input[type="submit"] {
  width: auto;

  min-width: 230px;

  min-height: 50px;

  padding: 0 28px;

  border: 0;

  border-radius: 999px;

  background: var(--sot-red);

  color: #fff;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;
}


.sot-membership-form input[type="submit"]:hover {
  background: #bd1721;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sot-membership-side {
  grid-column: 2;
  grid-row: 1;

  align-self: start;

  display: flex;

  flex-direction: column;

  gap: 16px;

  width: 330px;

  margin: 0;
  padding: 0;

  position: sticky;

  top: 30px;
}


.sot-membership-info {
  width: 100%;

  padding: 22px;

  background: #f3f8fc;

  border: 1px solid #dfe9f2;

  border-radius: 12px;
}


.sot-membership-info-label {
  margin-bottom: 9px;

  color: var(--sot-red);

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .14em;
}


.sot-membership-price {
  color: var(--sot-navy);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 38px;

  line-height: 1;
}


.sot-membership-price small {
  margin-left: 4px;

  color: #758398;

  font-family: Inter, Arial, sans-serif;

  font-size: 12px;
}


.sot-membership-info strong {
  color: var(--sot-navy);
}


.sot-membership-info p {
  margin: 11px 0 0;

  color: #68788d;

  font-size: 13px;

  line-height: 1.5;
}


.sot-membership-link {
  display: inline-block;

  margin-top: 14px;

  color: var(--sot-red);

  font-size: 13px;

  font-weight: 700;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  .sot-membership-container {
    width: calc(100% - 64px);
  }

  .sot-membership-layout {
    grid-template-columns:
      minmax(0, 1fr)
      300px;

    gap: 40px;
  }

  .sot-membership-side {
    width: 300px;
  }

}


@media (max-width: 900px) {

  .sot-membership-layout {
    grid-template-columns: 1fr;

    gap: 36px;
  }

  .sot-membership-side {
    grid-column: 1;
    grid-row: auto;

    width: 100%;

    position: static;

    display: grid;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

}


@media (max-width: 680px) {

  .sot-membership-container {
    width: calc(100% - 32px);
  }

  .sot-membership-hero {
    height: auto;

    min-height: 205px;
  }

  .sot-membership-hero-inner {
    height: auto;

    min-height: 205px;

    padding: 28px 0;
  }

  .sot-membership-hero h1 {
    font-size: 42px;
  }

  .sot-membership-content {
    padding: 44px 0 68px;
  }

  .sot-membership-form .sot-cf7-grid {
    grid-template-columns: 1fr;
  }

  .sot-membership-form .sot-cf7-full {
    grid-column: auto;
  }

  .sot-membership-side {
    grid-template-columns: 1fr;
  }

  .sot-membership-form input[type="submit"] {
    width: 100%;
  }

}

/* =========================================================
   RESET SPECIFICO PER TWENTY TWENTY
   ========================================================= */

body .entry-content > .sot-sections {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body .sot-sections h1,
body .sot-sections h2,
body .sot-sections h3,
body .sot-sections h4,
body .sot-sections p,
body .sot-sections div,
body .sot-sections section,
body .sot-sections article,
body .sot-sections aside {
  max-width: none;
}

.sot-sections .sot-container {
  width: calc(100% - 40px) !important;
  max-width: var(--sot-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sot-sections img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sot-sections p {
  margin: 0 0 16px;
}

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

.sot-sections .sot-hero {
  position: relative;

  width: 100%;
  /*min-height: 390px;*/

  overflow: hidden;

  background: #eef5fa;

  isolation: isolate;
}


/* =========================================================
   IMMAGINE FULL WIDTH DI SFONDO
   ========================================================= */

.sot-sections .sot-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 0;

  background-image:
    linear-gradient(
      90deg,

      rgba(248, 251, 254, 1) 0%,

      rgba(248, 251, 254, 0.98) 18%,

      rgba(248, 251, 254, 0.92) 32%,

      rgba(248, 251, 254, 0.72) 47%,

      rgba(248, 251, 254, 0.42) 60%,

      rgba(248, 251, 254, 0.12) 76%,

      rgba(248, 251, 254, 0) 100%
    ),

    url("https://sotweb.org/wp-content/uploads/2026/09/Sot-consiglio-direttivo-header.webp");

  background-repeat: no-repeat;

  background-size: cover;

  background-position: center right;

  pointer-events: none;
}


/* leggerissimo velo azzurro generale */

.sot-sections .sot-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(226, 241, 250, 0.07),
      rgba(226, 241, 250, 0.12)
    );

  pointer-events: none;
}


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

.sot-sections .sot-hero-grid {
  position: relative;

  z-index: 3;

  /*min-height: 390px;*/

  display: grid !important;

  grid-template-columns:
    minmax(420px, 0.9fr)
    minmax(420px, 1.1fr) !important;

  align-items: center;

  gap: 40px;

  padding-top: 0;
  padding-bottom: 0;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.sot-sections .sot-eyebrow {
  color: #536f93;

  text-transform: uppercase;

  font-size: 12px;

  letter-spacing: 0.16em;

  margin-bottom: 14px;

  font-weight: 700;
}


/* =========================================================
   TITOLO
   ========================================================= */

body .sot-sections .sot-hero h1 {
  margin: 0 !important;

  color: var(--sot-navy) !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif !important;

  font-weight: 600 !important;

  font-size:
    clamp(50px, 5vw, 76px) !important;

  line-height: 0.96 !important;

  letter-spacing:
    -0.035em !important;

  max-width:
    620px !important;
}


/* =========================================================
   SOTTOTITOLO
   ========================================================= */

body .sot-sections .sot-hero p {
  color: #60738e !important;

  font-size: 18px !important;

  line-height: 1.5 !important;

  max-width: 520px !important;

  margin-top: 18px !important;

  margin-bottom: 0 !important;
}


/* =========================================================
   AREA DESTRA
   ========================================================= */

/*
Ora NON contiene più l'immagine.
Serve solo per mantenere la struttura a due colonne
e per posizionare le parole decorative.
*/

.sot-sections .sot-hero-visual {
  position: relative;

  height: 390px;

  overflow: visible;

  background: transparent !important;
}


/* Nascondiamo la vecchia immagine */

.sot-sections .sot-eye {
  display: none !important;
}


/* =========================================================
   RIMUOVIAMO IL VECCHIO CERCHIO
   ========================================================= */

.sot-sections .sot-hero-visual::before,
.sot-sections .sot-hero-visual::after {
  display: none !important;
}


/* =========================================================
   PAROLE DECORATIVE A DESTRA
   ========================================================= */

.sot-sections .sot-hero-words {
  position: absolute;

  right: 25px;

  top: 90px;

  z-index: 4;

  color: #697a90;

  text-transform: uppercase;

  letter-spacing: 0.10em;

  font-size: 11px;

  line-height: 1.5;

  opacity: 0.75;
}


.sot-sections .sot-hero-words b {
  color: var(--sot-red);

  font-weight: 600;
}


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

@media (max-width: 980px) {

  .sot-sections .sot-hero::before {
    background-image:

      linear-gradient(
        90deg,

        rgba(248, 251, 254, 1) 0%,

        rgba(248, 251, 254, 0.94) 35%,

        rgba(248, 251, 254, 0.45) 65%,

        rgba(248, 251, 254, 0.05) 100%
      ),

      url("https://sotweb.org/wp-content/uploads/2026/09/Sot-consiglio-direttivo-header.webp");

    background-position: 65% center;
  }


  .sot-sections .sot-hero-grid {
    grid-template-columns: 1fr !important;

    /*min-height: 420px;*/

    padding-top: 48px;

    padding-bottom: 48px;
  }


  .sot-sections .sot-hero-visual {
    display: none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .sot-sections .sot-hero::before {
    background-image:

      linear-gradient(
        90deg,

        rgba(248, 251, 254, 0.98) 0%,

        rgba(248, 251, 254, 0.90) 55%,

        rgba(248, 251, 254, 0.40) 100%
      ),

      url("https://sotweb.org/wp-content/uploads/2026/09/Sot-consiglio-direttivo-header.webp");

    background-position: 72% center;
  }


  body .sot-sections .sot-hero h1 {
    font-size:
      46px !important;
  }


  body .sot-sections .sot-hero p {
    font-size:
      16px !important;
  }

}
/* =========================================================
   INTRO + CONTATTI
   ========================================================= */

.sot-sections .sot-intro {
  padding: 54px 0 34px;
}

.sot-sections .sot-intro-grid {
  display: grid !important;

  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(260px, 0.8fr) !important;

  gap: 44px;

  align-items: start;
}

body .sot-sections .sot-intro-copy {
  font-size: 15px !important;
  line-height: 1.68 !important;

  color: #53667f !important;
}

.sot-sections .sot-contact-card {
  background: var(--sot-soft);

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

  padding: 22px;

  box-shadow:
    0 8px 20px rgba(12, 47, 98, 0.04);
}

.sot-sections .sot-contact-row {
  display: grid !important;

  grid-template-columns:
    34px 1fr !important;

  gap: 12px;

  margin: 14px 0;
}

.sot-sections .sot-icon {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #e7f1fa;

  color: var(--sot-red);

  display: grid;
  place-items: center;

  font-weight: 800;
  line-height: 1;
}

.sot-sections .sot-contact-card strong {
  color: var(--sot-navy);
}

.sot-sections .sot-contact-card small {
  display: block;

  color: #7a899a;

  line-height: 1.4;
}

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

.sot-sections .sot-section {
  padding: 18px 0 30px;
}

.sot-sections .sot-section-title {
  display: flex !important;

  align-items: flex-start;

  gap: 14px;

  margin: 0 0 22px;
}

.sot-sections .sot-section-title::before {
  content: "";

  width: 34px;
  height: 2px;

  background: var(--sot-red);

  margin-top: 9px;

  flex: 0 0 auto;
}

.sot-sections .sot-section-title span {
  display: block;

  color: #5f6e83;

  font-size: 12px;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sot-sections .sot-section-title strong {
  display: block;

  margin-top: 2px;

  color: var(--sot-navy);

  font-family: Georgia, "Times New Roman", serif;

  font-weight: 600;

  font-size: clamp(28px, 3vw, 40px);

  line-height: 1.1;
}

/* =========================================================
   GRIGLIA PERSONE
   ========================================================= */

.sot-sections .sot-people-grid {
  display: grid !important;

  grid-template-columns:
    repeat(5, minmax(0, 1fr)) !important;

  gap: 16px !important;
}

.sot-sections .sot-person {
  background: #ffffff;

  border: 1px solid #e5edf4;

  border-radius: 10px;

  overflow: hidden;

  box-shadow:
    0 5px 18px rgba(20, 63, 119, 0.05);

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

.sot-sections .sot-person:hover {
  transform: translateY(-4px);

  box-shadow: var(--sot-shadow);
}

.sot-sections .sot-person-photo {
  aspect-ratio: 1 / 1.12;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #edf3f8,
      #dbe7f2
    );
}

.sot-sections .sot-person-photo img {
  object-position: center top;
}

.sot-sections .sot-person-photo.placeholder::before {
  content: "";

  position: absolute;

  width: 70px;
  height: 70px;

  border-radius: 50%;

  background: #1b3658;

  top: 22%;
  left: 50%;

  transform: translateX(-50%);
}

.sot-sections .sot-person-photo.placeholder::after {
  content: "";

  position: absolute;

  width: 115px;
  height: 90px;

  border-radius:
    60px 60px 0 0;

  background: #1b3658;

  bottom: 0;
  left: 50%;

  transform: translateX(-50%);
}

.sot-sections .sot-person-body {
  text-align: center;

  padding: 11px 8px 13px;

  min-height: 74px;
}

.sot-sections .sot-person-body strong {
  display: block;

  color: var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 600;

  font-size: 18px;

  line-height: 1.2;
}

.sot-sections .sot-person-body span {
  display: block;

  margin-top: 4px;

  color: #8a97a8;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

/* PRESIDENTI ONORARI */

.sot-sections
.sot-honorary
.sot-people-grid {
  grid-template-columns:
    repeat(2, 180px) !important;
}

/* =========================================================
   BLOCCO CONTATTI FINALE
   ========================================================= */

.sot-sections .sot-contact-band {
  margin-top: 34px;

  padding: 32px 0;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #eef6fb,
      #e6f1f8
    );
}

.sot-sections .sot-contact-band::after {
  content: "SOT";

  position: absolute;

  right: 40px;
  bottom: -15px;

  color: rgba(12, 47, 98, 0.08);

  font-family: Georgia, serif;

  font-size: 120px;

  font-weight: 700;

  line-height: 1;
}

.sot-sections .sot-contact-band h3 {
  text-align: center;

  margin: 0 0 12px;

  color: var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 26px;

  font-weight: 600;
}

.sot-sections .sot-contact-band p {
  text-align: center;

  margin: 4px 0;

  color: #5e7087;

  font-size: 14px;
}

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

@media (max-width: 980px) {

  .sot-sections .sot-hero-grid {
    grid-template-columns:
      1fr !important;

    gap: 24px;

    padding-top: 34px;
  }

  .sot-sections .sot-hero-visual {
    height: 320px;
  }

  .sot-sections .sot-intro-grid {
    grid-template-columns:
      1fr !important;
  }

  .sot-sections .sot-people-grid {
    grid-template-columns:
      repeat(3, 1fr) !important;
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .sot-sections .sot-container {
    width: calc(100% - 24px) !important;
  }

  body .sot-sections .sot-hero h1 {
    font-size: 48px !important;
  }

  body .sot-sections .sot-hero p {
    font-size: 17px !important;
  }

  .sot-sections .sot-hero-visual {
    height: 240px;
  }

  .sot-sections .sot-people-grid {
    grid-template-columns:
      repeat(2, 1fr) !important;
  }

  .sot-sections
  .sot-honorary
  .sot-people-grid {
    grid-template-columns:
      repeat(2, 1fr) !important;
  }

}




/* =========================================================
   FIX FONDAMENTALE - FULL WIDTH TWENTY TWENTY
   ========================================================= */

body .entry-content > .sot-membership-page,
body .entry-content .sot-membership-page {
    position: relative !important;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* impedisce a Twenty Twenty di limitare i figli */

body .sot-membership-page > section {
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   CONTENITORE INTERNO
   ========================================================= */

body .sot-membership-page .sot-membership-container {
    width: calc(100% - 120px) !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


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

body .sot-membership-page .sot-membership-hero {
    width: 100% !important;
    max-width: none !important;

    height: 350px !important;
    min-height: 350px !important;

    margin: 0 !important;
}


body .sot-membership-page .sot-membership-hero-inner {
    width: calc(100% - 120px) !important;
    max-width: 1280px !important;

    height: 230px !important;
    min-height: 230px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   CONTENUTO
   ========================================================= */

body .sot-membership-page .sot-membership-content {
    width: 100% !important;
    max-width: none !important;

    padding: 64px 0 96px !important;

    margin: 0 !important;

    background: #ffffff !important;
}


/* =========================================================
   FORM + SIDEBAR
   ========================================================= */

body .sot-membership-page .sot-membership-layout {
    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 330px) !important;

    gap: 64px !important;

    align-items: start !important;
}


body .sot-membership-page .sot-membership-main {
    width: 100% !important;
    min-width: 0 !important;

    grid-column: 1 !important;
    grid-row: 1 !important;

    margin: 0 !important;
    padding: 0 !important;
}


body .sot-membership-page .sot-membership-side {
    width: 100% !important;
    min-width: 0 !important;

    grid-column: 2 !important;
    grid-row: 1 !important;

    align-self: start !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: sticky !important;
    top: 30px !important;
}


/* =========================================================
   EVITA LIMITI DI LARGHEZZA DEL TEMA
   ========================================================= */

body .sot-membership-page h1,
body .sot-membership-page h2,
body .sot-membership-page h3,
body .sot-membership-page p,
body .sot-membership-page div,
body .sot-membership-page main,
body .sot-membership-page aside,
body .sot-membership-page form {
    max-width: none;
}


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

@media (max-width: 1050px) {

    body .sot-membership-page .sot-membership-container,
    body .sot-membership-page .sot-membership-hero-inner {
        width: calc(100% - 64px) !important;
    }

    body .sot-membership-page .sot-membership-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(250px, 290px) !important;

        gap: 38px !important;
    }
}


/* =========================================================
   MOBILE / TABLET STRETTO
   ========================================================= */

@media (max-width: 850px) {

    body .sot-membership-page .sot-membership-layout {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    body .sot-membership-page .sot-membership-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    body .sot-membership-page .sot-membership-side {
        grid-column: 1 !important;
        grid-row: 2 !important;

        position: static !important;

        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    body .sot-membership-page .sot-membership-container,
    body .sot-membership-page .sot-membership-hero-inner {
        width: calc(100% - 32px) !important;
    }

    body .sot-membership-page .sot-membership-side {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   CONTATTI SOT
   ========================================================= */

.sot-contact-page {
  padding: 64px 0 90px;

  background: #ffffff;
}


.sot-contact-container {
  width: calc(100% - 120px);

  max-width: 1280px;

  margin: 0 auto;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.sot-contact-layout {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns:
    minmax(0, 1fr)
    340px;

  gap: 64px;

  align-items: start;
}


.sot-contact-main {
  min-width: 0;
}


.sot-contact-side {
  display: flex;

  flex-direction: column;

  gap: 18px;

  align-self: start;
}


/* =========================================================
   TITOLO SEZIONE
   ========================================================= */

.sot-contact-section-title {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  margin-bottom: 18px;
}


.sot-contact-section-title::before {
  content: "";

  width: 34px;

  height: 2px;

  margin-top: 9px;

  background: #d9232e;

  flex: 0 0 auto;
}


.sot-contact-section-title span {
  display: block;

  color: #5f6e83;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: .12em;
}


.sot-contact-section-title strong {
  display: block;

  margin-top: 2px;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 34px;

  font-weight: 600;

  line-height: 1.05;
}


.sot-contact-intro {
  max-width: 680px;

  margin: 0 0 32px;

  color: #65758a;

  font-size: 15px;

  line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.sot-contact-form {
  width: 100%;
}


.sot-contact-form .wpcf7 {
  width: 100%;
}


.sot-contact-form .wpcf7-form {
  width: 100%;
}


.sot-contact-form label {
  display: block;

  margin-bottom: 7px;

  color: #0c2f62;

  font-size: 12px;

  font-weight: 600;
}


.sot-contact-form input[type="text"],
.sot-contact-form input[type="email"],
.sot-contact-form input[type="tel"],
.sot-contact-form textarea,
.sot-contact-form select {

  width: 100% !important;

  max-width: none !important;

  min-height: 48px;

  margin: 0 0 18px !important;

  padding: 10px 13px !important;

  border: 1px solid #d8e3ed !important;

  border-radius: 6px !important;

  background: #ffffff !important;

  color: #20334e !important;

  font-size: 14px !important;

  box-shadow: none !important;

  outline: none !important;
}


.sot-contact-form textarea {
  min-height: 150px;

  resize: vertical;
}


.sot-contact-form input:focus,
.sot-contact-form textarea:focus,
.sot-contact-form select:focus {

  border-color: #86abc9 !important;

  box-shadow:
    0 0 0 3px rgba(86,143,188,.09) !important;
}


.sot-contact-form input[type="submit"] {
  min-width: 150px;

  min-height: 48px;

  padding: 0 24px !important;

  border: 0 !important;

  border-radius: 999px !important;

  background: #d9232e !important;

  color: #ffffff !important;

  font-size: 14px !important;

  font-weight: 700 !important;

  cursor: pointer;
}


/* =========================================================
   RIQUADRI DESTRA
   ========================================================= */

.sot-contact-info {
  width: 100%;

  padding: 24px;

  background: #f3f8fc;

  border: 1px solid #dfe9f2;

  border-radius: 12px;
}


.sot-contact-info-label {
  margin-bottom: 10px;

  color: #d9232e;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .14em;
}


.sot-contact-info h3 {
  margin: 0 0 14px;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 22px;

  font-weight: 600;

  line-height: 1.15;
}


.sot-contact-info p {
  margin: 0 0 14px;

  color: #68788d;

  font-size: 13px;

  line-height: 1.55;
}


.sot-contact-info strong {
  color: #0c2f62;
}


.sot-contact-link {
  display: inline-block;

  margin-top: 2px;

  color: #d9232e !important;

  font-size: 13px;

  font-weight: 700;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .sot-contact-container {
    width: calc(100% - 64px);
  }

  .sot-contact-layout {
    grid-template-columns:
      minmax(0, 1fr)
      300px;

    gap: 40px;
  }

}


@media (max-width: 850px) {

  .sot-contact-layout {
    grid-template-columns: 1fr;
  }

  .sot-contact-side {
    display: grid;

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

}


@media (max-width: 600px) {

	div.sot-contact-layout {grid-auto-flow: row;}


  .sot-contact-container {
    width: calc(100% - 32px);
  }

  .sot-contact-page {
    padding: 48px 0 70px;
  }

  .sot-contact-side {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   PAGINA PIONIERI SOT
   ========================================================= */

.sot-pioneers-page,
.sot-pioneers-page * {
  box-sizing: border-box;
}

.sot-pioneers-page {
  --sot-navy:#0c2f62;
  --sot-red:#d9232e;
  --sot-text:#20334e;
  --sot-muted:#6f7e91;
  --sot-soft:#f3f8fc;
  --sot-line:#dfe9f2;

  width:100%;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  color:var(--sot-text);

  background:#fff;
}


.sot-pioneers-container {
  width:calc(100% - 120px);

  max-width:1280px;

  margin-left:auto;
  margin-right:auto;
}


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

.sot-pioneers-hero {
  position:relative;

  height:350px;

  overflow:hidden;

  background:#eef5fa;

  isolation:isolate;
}


.sot-pioneers-hero::before {
  content:"";

  position:absolute;

  inset:0;

  z-index:0;

  background-image:

    linear-gradient(
      90deg,
      rgba(248,251,254,1) 0%,
      rgba(248,251,254,.98) 20%,
      rgba(248,251,254,.88) 40%,
      rgba(248,251,254,.58) 58%,
      rgba(248,251,254,.18) 76%,
      rgba(248,251,254,0) 100%
    ),

    url("https://sotweb.org/wp-content/uploads/2026/10/pionieri-oftalmologia-hero.webp");

  background-size:cover;

  background-position:center right;

  background-repeat:no-repeat;
}


.sot-pioneers-hero-inner {
  position:relative;

  z-index:2;

  height:240px;

  display:flex;

  align-items:center;
}


.sot-pioneers-hero-copy {
  max-width:700px;
}


.sot-pioneers-eyebrow {
  margin-bottom:8px;

  color:#536f93;

  font-size:10px;

  font-weight:700;

  text-transform:uppercase;

  letter-spacing:.16em;
}


.sot-pioneers-hero h1 {
  margin:0;

  color:var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(44px,4vw,62px);

  font-weight:600;

  line-height:.98;

  letter-spacing:-.03em;
}


.sot-pioneers-hero p {
  max-width:620px;

  margin:14px 0 0;

  color:#60738e;

  font-size:15px;

  line-height:1.5;
}


/* =========================================================
   INTRO
   ========================================================= */

.sot-pioneers-intro {
  padding:64px 0 36px;
}


.sot-pioneers-intro-grid {
  display:grid;

  grid-template-columns:
    minmax(0,1.4fr)
    minmax(240px,.6fr);

  gap:64px;

  align-items:start;
}


.sot-pioneers-section-title {
  

  align-items:flex-start;

  gap:14px;

  margin-bottom:18px;
}


.sot-pioneers-section-title::before {
  content:"";

  width:34px;

  height:2px;

  margin-top:9px;

  background:var(--sot-red);

  flex:0 0 auto;
}


.sot-pioneers-section-title span {
  display:block;

  color:#5f6e83;

  font-size:10px;

  text-transform:uppercase;

  letter-spacing:.12em;
}


.sot-pioneers-section-title strong {
  display:block;

  margin-top:2px;

  color:var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:36px;

  font-weight:600;

  line-height:1.05;
}


.sot-pioneers-intro p {
  max-width:760px;

  margin:0;

  color:#65758a;

  font-size:15px;

  line-height:1.65;
}


/* BOX RICONOSCIMENTO */

.sot-pioneers-stat {
  padding:24px;

  background:var(--sot-soft);

  border:1px solid var(--sot-line);

  border-radius:12px;
}


.sot-pioneers-stat small {
  display:block;

  color:var(--sot-red);

  font-size:10px;

  font-weight:700;

  text-transform:uppercase;

  letter-spacing:.14em;
}


.sot-pioneers-stat strong {
  display:block;

  margin-top:6px;

  color:var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:38px;
}


.sot-pioneers-stat p {
  margin-top:8px;

  font-size:13px;
}


/* =========================================================
   PIONIERI GRID
   ========================================================= */

.sot-pioneers-grid-section {
  padding:16px 0 74px;
}


.sot-pioneers-grid {
  display:grid;

  grid-template-columns:
    repeat(5,minmax(0,1fr));

  gap:35px;
}


.sot-pioneer-card {
  background:#fff;

  border:1px solid #e5edf4;

  border-radius:12px;

  overflow:hidden;

  box-shadow:
    0 8px 24px rgba(12,47,98,.05);

  transition:.25s ease;
}


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

  box-shadow:
    0 16px 34px rgba(12,47,98,.10);
}


.sot-pioneer-photo {
  aspect-ratio:4/5;

  background:
    linear-gradient(
      145deg,
      #edf3f8,
      #dbe7f2
    );
}


.sot-pioneer-photo img {
  display:block;

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center top;
}


/* CARD BODY */

.sot-pioneer-body {
  padding:18px 16px 20px;
}


.sot-pioneer-body::before {
  content:"";
  display:block;
  width:36px;
  height:2px;
  margin-bottom:12px;
  background:var(--sot-red);
}


.sot-pioneer-body span {
  display:block;
  color:#8a97a8;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
}


.sot-pioneer-body h3 {
  margin:6px 0 0;
  color:var(--sot-navy);
  font-family:'Inter', sans-serif;
  font-size:21px;
  color: #16345F;
  font-weight:700;
  line-height:1.12;
}


.sot-pioneer-year {
  margin-top:15px;
margin-bottom:5px;

  color:#8a97a8;

  font-size:14px;

  font-weight:700;
}

.sot-pioneer-cta {font-size:16px;}

/* =========================================================
   STORIA
   ========================================================= */

.sot-pioneers-history {
  padding:72px 0;

  background:var(--sot-soft);

  border-top:
    1px solid #e6eef5;

  border-bottom:
    1px solid #e6eef5;
}


.sot-pioneers-history-grid {
  display:grid;

  grid-template-columns:
    .8fr 1.2fr;

  gap:70px;

  align-items:start;
}


.sot-pioneers-history h2 {
  margin:0;

  color:var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:44px;

  font-weight:600;

  line-height:1;
}


.sot-pioneers-history-copy p {
  margin:0 0 18px;

  color:#617188;

  font-size:15px;

  line-height:1.7;
}


/* =========================================================
   GALLERY SCORREVOLE
   ========================================================= */

.sot-pioneers-gallery {
  padding: 72px 0 90px;
}

.sot-pioneers-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.sot-pioneers-gallery-head h2 {
  margin: 0;

  color: var(--sot-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 38px;
  font-weight: 600;
}

.sot-pioneers-gallery-head p {
  max-width: 500px;

  margin: 0;

  color: #6b7b90;

  font-size: 14px;
  line-height: 1.55;
}


/* slider */

.sot-gallery-slider {
  position: relative;
}


.sot-gallery-track {
  display: flex;

  gap: 18px;

  overflow-x: auto;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  padding: 0 2px 14px;

  scrollbar-width: none;
}

.sot-gallery-track::-webkit-scrollbar {
  display: none;
}


/* slide */

.sot-gallery-slide {
  flex: 0 0 calc((100% - 36px) / 3);

  aspect-ratio: 16 / 10;

  margin: 0;

  overflow: hidden;

  border-radius: 12px;

  background: #e8f1f8;

  border: 1px solid #dfe9f2;

  scroll-snap-align: start;
}


.sot-gallery-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .35s ease;
}


.sot-gallery-slide:hover img {
  transform: scale(1.025);
}


/* frecce */

.sot-gallery-arrow {
  position: absolute;

  top: 50%;

  z-index: 5;

  width: 44px;
  height: 44px;

  transform: translateY(-50%);

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid #dce6ef;
  border-radius: 50%;

  background: rgba(255,255,255,.94);

  color: var(--sot-navy);

  font-size: 19px;

  cursor: pointer;

  box-shadow:
    0 8px 24px rgba(12,47,98,.09);

  transition:
    transform .2s ease,
    border-color .2s ease;
}


.sot-gallery-arrow:hover {
  border-color: var(--sot-red);
}


.sot-gallery-prev {
  left: -22px;
}


.sot-gallery-next {
  right: -22px;
}


/* tablet */

@media (max-width: 900px) {

  .sot-gallery-slide {
    flex-basis: calc((100% - 18px) / 2);
  }

}


/* mobile */

@media (max-width: 600px) {

  .sot-pioneers-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sot-gallery-slide {
    flex-basis: 86%;
  }

  .sot-gallery-prev {
    left: 8px;
  }

  .sot-gallery-next {
    right: 8px;
  }

}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1000px) {

  .sot-pioneers-container {
    width:calc(100% - 64px);
  }

  .sot-pioneers-grid {
    grid-template-columns:
      repeat(3,1fr);
  }

  .sot-pioneers-intro-grid,
  .sot-pioneers-history-grid {
    grid-template-columns:1fr;

    gap:34px;
  }

}


@media (max-width:700px) {

  .sot-pioneers-container {
    width:calc(100% - 32px);
  }

  .sot-pioneers-hero {
    height:auto;

    min-height:220px;
  }

  .sot-pioneers-hero-inner {
    height:auto;

    min-height:220px;

    padding:30px 0;
  }

  .sot-pioneers-grid {
    grid-template-columns:
      repeat(2,1fr);
gap:20px;
  }

  .sot-pioneers-gallery-grid {
    grid-template-columns:1fr;
  }

  .sot-pioneers-gallery-head {
    align-items:flex-start;

    flex-direction:column;
  }

}



}

.sot-archive-container {
  width: calc(100% - 120px);
  max-width: 1280px;
  margin: 0 auto;
}


/* HERO */

.sot-archive-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #eef5fa;
}

.sot-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(248,251,254,1) 0%,
      rgba(248,251,254,.98) 20%,
      rgba(248,251,254,.88) 40%,
      rgba(248,251,254,.58) 58%,
      rgba(248,251,254,.18) 76%,
      rgba(248,251,254,0) 100%
    ),
    url("https://sotweb.org/wp-content/uploads/2026/09/Sot-consiglio-direttivo-header.webp");

  background-size: cover;
  background-position: center right;
}

.sot-archive-hero-inner {
  position: relative;
  z-index: 2;
  height: 240px;
  display: flex;
  align-items: center;
}

.sot-archive-eyebrow {
  margin-bottom: 8px;
  color: #536f93;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.sot-archive-hero h1 {
  margin: 0;
  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(44px,4vw,62px);
  font-weight: 600;
  line-height: .98;
}

.sot-archive-hero p {
  max-width: 620px;

  margin: 14px 0 0;

  color: #60738e;

  font-size: 15px;
  line-height: 1.5;
}


/* ARCHIVE */

.sot-congress-archive {
  padding: 64px 0 90px;
  background: #fff;
}

.sot-archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;

  margin-bottom: 30px;
}

.sot-archive-heading p {
  max-width: 520px;

  margin: 0;

  color: #69798e;

  font-size: 14px;
  line-height: 1.55;
}


/* SECTION TITLE */

.sot-archive-section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sot-archive-section-title::before {
  content: "";

  width: 34px;
  height: 2px;

  margin-top: 9px;

  background: #d9232e;
}

.sot-archive-section-title span {
  display: block;

  color: #5f6e83;

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.sot-archive-section-title strong {
  display: block;

  margin-top: 2px;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 36px;
  font-weight: 600;
}


/* FILTER */

.sot-year-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;

  margin-bottom: 32px;
}

.sot-year-filter button {
  padding: 9px 16px;

  border: 1px solid #dce6ef;
  border-radius: 999px;

  background: #fff;

  color: #64758a;

  font-size: 12px;

  cursor: pointer;
}

.sot-year-filter button.active {
  background: #0c2f62;
  border-color: #0c2f62;
  color: #fff;
}


/* GRID */

.sot-congress-grid {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap: 24px;
  padding-bottom:50px;
}


/* CARD */

.sot-congress-card {
  overflow: hidden;

  background: #fff;

  border: 1px solid #e3ebf2;
  border-radius: 12px;

  box-shadow:
    0 8px 24px rgba(12,47,98,.05);

  transition: .25s ease;
}

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

  box-shadow:
    0 16px 34px rgba(12,47,98,.10);
}

.sot-congress-card a {
  display: block;
  height: 100%;

  color: inherit;
  text-decoration: none;
}

.sot-congress-image {
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #e8f1f8;
}

.sot-congress-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.sot-congress-body {
  padding: 20px;
}

.sot-congress-body span {
  display: block;

  color: #d9232e;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .12em;
}

.sot-congress-body h3 {
  margin: 7px 0 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 22px;
  line-height: 1.15;
}

.sot-congress-meta {
  margin-top: 12px;

  color: #748399;

  font-size: 12px;
}

.sot-congress-link {
  margin-top: 18px;

  color: #d9232e;

  font-size: 12px;
  font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

  .sot-archive-container {
    width: calc(100% - 64px);
  }

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

}

@media (max-width: 650px) {

  .sot-archive-container {
    width: calc(100% - 32px);
  }

  .sot-archive-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  

}


/* =========================================================
   ARCHIVIO CONGRESSI
   ========================================================= */

.sot-congress-archive {
  padding: 68px 0 92px;
  background: #fff;
}

.sot-archive-container {
  width: calc(100% - 120px);
  max-width: 1280px;
  margin: 0 auto;
}


/* HEADER SEZIONE */

.sot-archive-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 50px;

  margin-bottom: 34px;
}

.sot-archive-title {
  display: flex;
  align-items: flex-start;

  gap: 14px;
}

.sot-archive-line {
  width: 32px;
  height: 2px;

  margin-top: 10px;

  flex: 0 0 auto;

  background: #d9232e;
}

.sot-archive-eyebrow {
  display: block;

  margin-bottom: 4px;

  color: #6b798b;

  font-size: 10px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: .13em;
}

.sot-archive-title h2 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 38px;
  font-weight: 600;

  line-height: 1.05;
}

.sot-archive-description {
  max-width: 470px;

  margin: 0;

  color: #65758a;

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   GRID
   ========================================================= */

.sot-congress-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

padding: 0 100px;

  gap: 24px;
}


/* =========================================================
   CARD
   ========================================================= */

.sot-congress-card {
  min-width: 0;

  overflow: hidden;

  background: #fff;

  border: 1px solid #e1e9f1;
  border-radius: 12px;

  box-shadow:
    0 7px 22px rgba(12, 47, 98, .045);

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

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

  border-color: #d4e0eb;

  box-shadow:
    0 17px 38px rgba(12, 47, 98, .09);
}


/* LINK */

.sot-congress-card-link {
  display: flex;
  flex-direction: column;

  height: 100%;

  color: inherit !important;

  text-decoration: none !important;
}


/* IMMAGINE */

.sot-congress-image {
  position: relative;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #edf4f8;
}

.sot-congress-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .4s ease;
}

.sot-congress-card:hover
.sot-congress-image img {
  transform: scale(1.025);
}


/* FALLBACK SE NON C'È IMMAGINE */

.sot-congress-placeholder {
  display: flex;

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

  width: 100%;
  height: 100%;

  color: rgba(12, 47, 98, .2);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 42px;
  font-weight: 600;

  background:
    linear-gradient(
      135deg,
      #f3f8fc,
      #e4f0f7
    );
}


/* CONTENUTO */

.sot-congress-body {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 21px 22px 22px;
}

.sot-congress-type {
  color: #d9232e;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .13em;
}

.sot-congress-body h3 {
  margin: 7px 0 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 22px;
  font-weight: 600;

  line-height: 1.2;
}


/* ANNO */

.sot-congress-meta {
  margin-top: 11px;

  color: #7a899b;

  font-size: 12px;
}


/* CTA */

.sot-congress-cta {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: auto;
  padding-top: 21px;

  color: #d9232e;

  font-size: 12px;
  font-weight: 700;
}

.sot-congress-cta span {
  transition:
    transform .2s ease;
}

.sot-congress-card:hover
.sot-congress-cta span {
  transform: translateX(4px);
}


/* NESSUN RISULTATO */

.sot-archive-empty {
  padding: 30px;

  color: #65758a;

  text-align: center;

  background: #f3f8fc;

  border-radius: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .sot-archive-container {
    width: calc(100% - 64px);
  }

  .sot-congress-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
padding: 0px 10px;
  }

}


@media (max-width: 700px) {

  .sot-congress-archive {
    padding: 50px 0 65px;
  }

  .sot-archive-container {
    width: calc(100% - 32px);
  }

  .sot-archive-heading {
    align-items: flex-start;
    flex-direction: column;

    gap: 18px;

    margin-bottom: 28px;
  }

  .sot-archive-title h2 {
    font-size: 32px;
  }

  .sot-congress-grid {
   

    gap: 15px;
  }

}

/* =========================================================
   PROSSIMO EVENTO
   ========================================================= */

.sot-next-event {
  position: relative;

  padding: 58px 0 64px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f9fc 100%
    );
}


/* CARD */

.sot-next-event-card {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, .92fr);

  overflow: hidden;

  background: #fff;

  border: 1px solid #dfe9f2;
  border-radius: 16px;

  box-shadow:
    0 18px 50px rgba(12, 47, 98, .08);
}


/* =========================================================
   IMMAGINE
   ========================================================= */

.sot-next-event-image {
  position: relative;

  min-height: 390px;

  overflow: hidden;

  background: #eaf3f8;
}

.sot-next-event-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(12, 47, 98, .05),
      rgba(12, 47, 98, 0)
    );

  pointer-events: none;
}

.sot-next-event-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* BADGE */

.sot-next-event-badge {
  position: absolute;

  top: 22px;
  left: 22px;

  z-index: 2;

  padding: 9px 14px;

  background: #d9232e;

  color: #fff;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .12em;

  box-shadow:
    0 7px 20px rgba(217, 35, 46, .22);
}


/* =========================================================
   CONTENUTO
   ========================================================= */

.sot-next-event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 50px 52px;
}


/* EYEBROW */

.sot-next-event-eyebrow {
  margin-bottom: 10px;

  color: #d9232e;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .15em;
}


/* TITOLO */

.sot-next-event-content h2 {
  max-width: 520px;

  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(34px, 3vw, 48px);
  font-weight: 600;

  line-height: 1.05;
}


/* TESTO */

.sot-next-event-text {
  max-width: 570px;

  margin: 20px 0 0;

  color: #65758a;

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   META
   ========================================================= */

.sot-next-event-meta {
  display: flex;

  gap: 46px;

  margin-top: 29px;
  padding-top: 23px;

  border-top: 1px solid #e3eaf0;
}

.sot-next-event-meta-item {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.sot-next-event-meta-item span {
  color: #8290a2;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .12em;
}

.sot-next-event-meta-item strong {
  color: #0c2f62;

  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   CTA
   ========================================================= */

.sot-next-event-actions {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 13px;

  margin-top: 30px;
}


/* PRIMARY */

.sot-next-event-primary {
  display: inline-flex;

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

  gap: 10px;

  padding: 13px 20px;

  background: #0c2f62;

  color: #fff !important;

  border-radius: 99px;

  text-decoration: none !important;

  font-size: 12px;
  font-weight: 700;

  transition:
    background .2s ease,
    transform .2s ease;
}

.sot-next-event-primary:hover {
  background: #163f75;

  transform: translateY(-2px);
}

.sot-next-event-primary span {
  transition: transform .2s ease;
}

.sot-next-event-primary:hover span {
  transform: translateX(4px);
}


/* SECONDARY */

.sot-next-event-secondary {
  display: inline-flex;

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

  padding: 12px 19px;

  background: #fff;

  color: #0c2f62 !important;

  border: 1px solid #d8e3ec;
  border-radius: 99px;

  text-decoration: none !important;

  font-size: 12px;
  font-weight: 700;

  transition:
    border-color .2s ease,
    background .2s ease;
}

.sot-next-event-secondary:hover {
  background: #f4f8fb;

  border-color: #bfcfdd;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .sot-next-event-card {
    grid-template-columns: 1fr;
  }

  .sot-next-event-image {
    min-height: 320px;
  }

  .sot-next-event-content {
    padding: 40px;
  }

}


@media (max-width: 600px) {

  .sot-next-event {
    padding: 35px 0 45px;
  }

  .sot-next-event-card {
    border-radius: 12px;
  }

  .sot-next-event-image {
    min-height: 230px;
  }

  .sot-next-event-content {
    padding: 30px 24px;
  }

  .sot-next-event-content h2 {
    font-size: 32px;
  }

  .sot-next-event-meta {
    flex-direction: column;

    gap: 15px;
  }

}


/* =========================================================
   CASI CLINICI
   ========================================================= */

.sot-cases-page {
  background: #fff;
  padding: 0px;
  color: #0c2f62;
}


.sot-cases-container {
  width: calc(100% - 120px);
  max-width: 1280px;

  margin: 0 auto;
}



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

.sot-cases-hero {
  position: relative;

  min-height: 310px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(248,251,254,1) 0%,
      rgba(248,251,254,.98) 26%,
      rgba(248,251,254,.82) 43%,
      rgba(238,247,252,.35) 66%,
      rgba(230,244,250,.12) 100%
    ),
    url("https://sotweb.org/wp-content/uploads/2026/09/hero-casiclinici.webp");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


.sot-cases-hero-inner {
  min-height: 310px;

  display: flex;
  align-items: center;
}


.sot-cases-hero-copy {
  position: relative;
  z-index: 2;

  max-width: 630px;
}


.sot-cases-kicker {
  margin-bottom: 14px;

  color: #536f93;

  font-size: 10px;
  font-weight: 700;

  line-height: 1.5;

  text-transform: uppercase;
  letter-spacing: .17em;
}


.sot-cases-kicker::after {
  content: "";

  display: block;

  width: 30px;
  height: 2px;

  margin-top: 10px;

  background: #d9232e;
}


.sot-cases-hero h1 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(48px, 5vw, 68px);
  font-weight: 600;

  line-height: .98;

  letter-spacing: -.03em;
}


.sot-cases-hero p {
  max-width: 550px;

  margin: 18px 0 0;

  color: #5e738d;

  font-size: 16px;
  line-height: 1.6;
}



/* =========================================================
   HEADINGS
   ========================================================= */

.sot-cases-section-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 22px;
}


.sot-cases-section-title {
  display: flex;
  align-items: center;

  gap: 14px;
}


.sot-cases-red-line {
  display: block;

  width: 30px;
  height: 2px;

  flex: 0 0 auto;

  background: #d9232e;
}


.sot-cases-section-title h2 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 28px;
  font-weight: 600;

  line-height: 1.1;
}


.sot-cases-small-note {
  color: #7b8da4;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .13em;
}



/* =========================================================
   AREE CLINICHE - VERSIONE CORRETTA
   ========================================================= */

.sot-cases-areas {
  padding: 48px 0 42px;
}

.sot-cases-area-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}

.sot-clinical-area-card {
  display: grid;

  grid-template-columns: 72px 1fr auto;

  align-items: center;

  gap: 16px;

  min-width: 0;

  min-height: 92px;

  padding: 10px 18px 10px 10px;

  background: #fff;

  border: 1px solid #dfe8f0;
  border-radius: 12px;

  color: #0c2f62 !important;

  text-decoration: none !important;

  box-shadow:
    0 7px 20px rgba(12,47,98,.04);

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

.sot-clinical-area-card:hover {
  transform: translateY(-3px);

  border-color: #cfdde8;

  box-shadow:
    0 12px 28px rgba(12,47,98,.08);
}


/* IMMAGINE */

.sot-clinical-area-image {
  width: 72px;
  height: 72px;

  overflow: hidden;

  border-radius: 10px;

  background: #eef4f8;
}

.sot-clinical-area-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* TESTO */

.sot-clinical-area-card > span {
  min-width: 0;

  color: #0c2f62;

  font-size: 15px;
  font-weight: 700;

  line-height: 1.2;

  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}


/* FRECCIA */

.sot-clinical-area-card > strong {
  color: #d9232e;

  font-size: 17px;
  font-weight: 500;
}


/* TABLET */

@media (max-width: 950px) {

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

}


/* MOBILE */

@media (max-width: 600px) {

  .sot-cases-area-grid {
    grid-template-columns: 1fr;
  }

  .sot-clinical-area-card {
    grid-template-columns:
      64px 1fr auto;

    min-height: 84px;
  }

  .sot-clinical-area-image {
    width: 64px;
    height: 64px;
  }

}


/* =========================================================
   CASO IN EVIDENZA - CORRETTO
   ========================================================= */

.sot-case-featured {
  padding: 22px 0 52px;
}


/* CARD */

.sot-featured-case-card {
  display: grid !important;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1.15fr)
    250px;

  grid-template-rows: 1fr;

  width: 100%;

  overflow: hidden;

  background: #fff;

  border: 1px solid #dfe8f0;
  border-radius: 12px;

  box-shadow:
    0 12px 32px rgba(12,47,98,.07);
}


/* =========================================================
   1. IMMAGINE A SINISTRA
   ========================================================= */

.sot-featured-case-image {
  grid-column: 1 !important;
  grid-row: 1 !important;

  position: relative;

  width: 100%;
  min-width: 0;
  min-height: 300px;

  overflow: hidden;

  background: #e6eef5;
}


.sot-featured-case-image img {
  display: block;

  width: 100% !important;
  height: 100% !important;

  min-height: 300px;

  object-fit: cover;
}


/* TAG */

.sot-case-tag {
  position: absolute;

  top: 16px;
  left: 16px;

  z-index: 3;

  padding: 6px 11px;

  background: #d9232e;

  color: #fff;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .08em;
}


/* =========================================================
   2. TESTO CENTRALE
   ========================================================= */

.sot-featured-case-content {
  grid-column: 2 !important;
  grid-row: 1 !important;

  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 34px 38px;
}


.sot-featured-case-content h3 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 27px;
  font-weight: 600;

  line-height: 1.1;
}


.sot-featured-case-content p {
  margin: 14px 0 0;
  padding-top:15px;

  color: #66788d;

  font-size: 16px;
  line-height: 1.6;
}


/* BOTTONE */

.sot-case-primary-button {
  display: inline-flex;

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

  gap: 10px;

  width: fit-content;

  margin-top: 22px;

  padding: 12px 19px;

  background: #d9232e;

  color: #fff !important;

  border-radius: 999px;

  text-decoration: none !important;

  font-size: 16px;
  font-weight: 500;

  transition:
    background .2s ease,
    transform .2s ease;
}


.sot-case-primary-button:hover {
  background: #be1d27;

  transform: translateY(-2px);
}


.sot-case-primary-button span {
  transition: transform .2s ease;
}


.sot-case-primary-button:hover span {
  transform: translateX(4px);
}


/* =========================================================
   3. METADATI A DESTRA
   ========================================================= */

.sot-featured-case-meta {
  grid-column: 3 !important;
  grid-row: 1 !important;

  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 24px;

  padding: 32px 26px;

  background: #fbfdff;

  border-left: 1px solid #dfe8f0;
}


.sot-case-meta-row {
  display: flex;

  align-items: flex-start;

  gap: 11px;
}


.sot-case-meta-icon {
  flex: 0 0 auto;

  color: #0c2f62;

  font-size: 17px;
}


.sot-case-meta-row small {
  display: block;

  margin-bottom: 4px;

  color: #75879d;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .1em;
}


.sot-case-meta-row strong {
  display: block;

  color: #536a84;

  font-size: 12px;
  font-weight: 500;

  line-height: 1.45;
}


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

@media (max-width: 1050px) {

  .sot-featured-case-card {
    grid-template-columns:
      1fr
      1fr;
  }

  .sot-featured-case-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .sot-featured-case-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .sot-featured-case-meta {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;

    display: grid;

    grid-template-columns:
      repeat(3, minmax(0,1fr));

    border-left: 0;
    border-top: 1px solid #dfe8f0;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .sot-featured-case-card {
    grid-template-columns: 1fr;
  }

  .sot-featured-case-image {
    grid-column: 1 !important;
    grid-row: 1 !important;

    min-height: 220px;
  }

  .sot-featured-case-image img {
    min-height: 220px;
  }

  .sot-featured-case-content {
    grid-column: 1 !important;
    grid-row: 2 !important;

    padding: 28px 24px;
  }

  .sot-featured-case-meta {
    grid-column: 1 !important;
    grid-row: 3 !important;

    display: flex;

    padding: 25px 24px;
  }

}



/* =========================================================
   ARCHIVIO
   ========================================================= */

.sot-cases-archive {
  padding: 20px 0 16px;
}


.sot-case-sort {
  display: flex;

  align-items: center;

  gap: 10px;
}


.sot-case-sort a {
  color: #617998 !important;

  font-size: 12px;
  font-weight: 700;

  text-decoration: none !important;

  text-transform: uppercase;
  letter-spacing: .1em;
}


.sot-case-sort a.active,
.sot-case-sort a:hover {
  color: #d9232e !important;
}


.sot-case-sort span {
  color: #c8d3de;

  font-size: 10px;
}



/* =========================================================
   CARD DINAMICHE
   Compatibilità shortcode attuale
   ========================================================= */

.sot-cases-page + .sot-congress-grid,
.sot-cases-archive + .sot-congress-grid {
  margin-bottom: 70px;
}


.sot-congress-grid {
  width: calc(100% - 120px);
  max-width: 1280px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));
  padding-bottom:50px;
  gap: 20px;
}


.sot-congress-card {
  overflow: hidden;

  background: #fff;

  border: 1px solid #dfe8f0;
  border-radius: 10px;

  box-shadow:
    0 7px 20px rgba(12,47,98,.045);
}


.sot-congress-card-link {
  display: flex;

  flex-direction: column;

  height: 100%;

  color: inherit !important;

  text-decoration: none !important;
}


.sot-congress-image {
  aspect-ratio: 16 / 8.7;

  overflow: hidden;

  background: #e8f1f6;
}


.sot-congress-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .35s ease;
}


.sot-congress-card:hover
.sot-congress-image img {
  transform: scale(1.025);
}


.sot-congress-body {
  position: relative;

  flex: 1;

  padding: 18px 20px 19px;
}


.sot-congress-type {
  display: inline-block;

  margin-top: -31px;
  margin-bottom: 9px;

  position: relative;
  z-index: 2;

  padding: 5px 10px;

  color: #0c2f62;

  background: #e7f1f7;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 700;

  text-transform: uppercase;
}


.sot-congress-body h3 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 20px;
  font-weight: 600;

  line-height: 1.2;
}


.sot-congress-meta {
  margin-top: 9px;

  color: #79899c;

  font-size: 11px;
}


.sot-congress-cta {
  margin-top: 17px;

  color: #d9232e;

  font-size: 11px;
  font-weight: 700;
}



/* =========================================================
   CTA FINALE
   ========================================================= */

.sot-cases-submit {
  margin-top: 70px;

  padding: 42px 0;

  background: #f5f9fc;

  border-top: 1px solid #e3ebf2;
}


.sot-cases-submit-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    220px;

  align-items: center;

  gap: 44px;
}


.sot-cases-submit-copy {
  display: flex;

  align-items: flex-start;

  gap: 18px;
}


.sot-cases-submit-copy h2 {
  margin: 0;

  color: #0c2f62;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 30px;
  font-weight: 600;
}


.sot-cases-submit-copy p {
  margin: 8px 0 0;

  color: #697b91;

  font-size: 16px;
  line-height: 1.6;
}


.sot-cases-submit-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}


.sot-cases-submit-actions
.sot-case-primary-button {
  margin: 0;
}


.sot-case-secondary-button {
  display: inline-flex;

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

  gap: 9px;

  padding: 11px 19px;

  color: #d9232e !important;

  background: transparent;

  border: 1px solid #d9232e;
  border-radius: 999px;

  text-decoration: none !important;

  font-size: 16px;
  font-weight: 500;
}


.sot-cases-submit-claim {
  padding-left: 28px;

  color: #6d88a6;

  border-left: 1px solid #cad8e4;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.7;

  text-transform: uppercase;
  letter-spacing: .15em;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  .sot-cases-container,
  .sot-congress-grid {
    width: calc(100% - 64px);
  }

  .sot-cases-area-grid {
    grid-template-columns:
      repeat(3, minmax(0,1fr));
  }

  .sot-featured-case-card {
    grid-template-columns:
      1fr 1fr;
  }

  .sot-featured-case-meta {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns:
      repeat(3,1fr);

    border-left: 0;
    border-top: 1px solid #dfe8f0;
  }

  .sot-cases-submit-inner {
    grid-template-columns: 1fr auto;
  }

  .sot-cases-submit-claim {
    display: none;
  }

}


@media (max-width: 750px) {

  .sot-cases-container,
  .sot-congress-grid {
    width: calc(100% - 32px);
  }

  .sot-cases-hero {
    min-height: 280px;

    background-position: 65% center;
  }

  .sot-cases-hero-inner {
    min-height: 280px;
  }

  .sot-cases-section-head {
    align-items: flex-start;
    flex-direction: column;

    gap: 10px;
  }

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

  .sot-featured-case-card {
    grid-template-columns: 1fr;
  }

  .sot-featured-case-image {
    min-height: 230px;
  }

  .sot-featured-case-meta {
    grid-template-columns: 1fr;
  }

  .sot-case-sort {
    flex-wrap: wrap;
  }

  .sot-congress-grid {
    grid-template-columns: 1fr;
  }

  .sot-cases-submit-inner {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .sot-cases-submit-actions {
    flex-wrap: wrap;
  }

}


@media (max-width: 480px) {

  .sot-cases-area-grid {
    grid-template-columns: 1fr;
  }

}




/* =========================================================
   SOT — SINGOLO CASO CLINICO
   ========================================================= */


/* =========================================================
   VARIABILI + RESET
   ========================================================= */

.sot-case-single,
.sot-case-single * {
    box-sizing: border-box;
}

.sot-case-single {

    --sot-red: #d9232e;
    --sot-red-dark: #bd1721;

    --sot-navy: #0c2f62;
    --sot-text: #20334e;

    --sot-muted: #617590;
    --sot-muted-light: #8493a8;

    --sot-line: #dfe8f0;

    --sot-soft: #f3f8fc;
    --sot-soft-2: #eaf3f9;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    color: var(--sot-text);

    font-family: inherit;

    background: #ffffff;
}


/* =========================================================
   FIX FULL WIDTH — TWENTY TWENTY
   ========================================================= */

body .entry-content > .sot-case-single,
body .entry-content .sot-case-single {

    position: relative;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* impedisce al tema di limitare le sezioni */

body .sot-case-single > header,
body .sot-case-single > nav,
body .sot-case-single > section {

    width: 100%;
    max-width: none;
}


/* =========================================================
   CONTAINER
   Stessa larghezza dell'archivio Casi Clinici
   ========================================================= */

body .sot-case-single .sot-case-container {

    width: calc(100% - 120px);
    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 0;
    padding-right: 0;
}


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

body .sot-case-single .sot-case-hero {

    position: relative;

    width: 100%;
    max-width: none;

    min-height: 420px;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;

    background-color: #edf6fb;

    background-image:

        linear-gradient(
            90deg,

            rgba(248,251,254,1) 0%,
            rgba(248,251,254,.99) 18%,
            rgba(248,251,254,.96) 30%,
            rgba(248,251,254,.84) 42%,
            rgba(248,251,254,.58) 53%,
            rgba(248,251,254,.22) 66%,
            rgba(248,251,254,.04) 82%,
            rgba(248,251,254,0) 100%
        ),

        url("https://sotweb.org/wp-content/uploads/2026/10/Edema-maculare.webp");

    background-size: cover;

    background-position: center right;

    background-repeat: no-repeat;

    border-bottom: 1px solid #e3ebf2;
}


/* nessun vecchio pseudo-elemento */

body .sot-case-single .sot-case-hero::before,
body .sot-case-single .sot-case-hero::after {

    display: none !important;

    content: none !important;
}


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

body .sot-case-single .sot-case-hero > .sot-case-container {

    position: relative;

    z-index: 3;

    min-height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 42px;
    padding-bottom: 48px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.sot-case-single .sot-case-breadcrumb {

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    max-width: 720px;

    margin: 0 0 34px;

    color: #8190a4;

    font-size: 10px;
    font-weight: 500;

    line-height: 1.4;

    letter-spacing: .035em;
}


.sot-case-single .sot-case-breadcrumb a {

    color: #617895;

    text-decoration: none !important;

    transition: color .2s ease;
}


.sot-case-single .sot-case-breadcrumb a:hover {

    color: var(--sot-red);
}


.sot-case-single .sot-case-breadcrumb > span {

    color: #9ba7b7;
}


.sot-case-single .sot-case-breadcrumb > span:last-child {

    color: #738399;
}


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

.sot-case-single .sot-case-hero-copy {

    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 690px;
}


/* =========================================================
   BADGE / EYEBROW
   ========================================================= */

.sot-case-single .sot-case-badge {

    display: flex;
    align-items: center;

    gap: 12px;

    width: fit-content;

    margin: 0 0 18px;

    color: var(--sot-red);

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: .16em;
}


.sot-case-single .sot-case-badge::before {

    content: "";

    display: block;

    width: 28px;
    height: 2px;

    flex: 0 0 auto;

    background: var(--sot-red);
}


/* =========================================================
   TITOLO
   ========================================================= */

body .sot-case-single .sot-case-hero h1 {

    max-width: 690px;

    margin: 0 !important;

    padding: 0 !important;

    color: var(--sot-red) !important;

    font-family: inherit !important;

    font-size: clamp(42px, 4.1vw, 61px) !important;

    font-weight: 600 !important;

    line-height: 1.03 !important;

    letter-spacing: -.035em !important;

    text-wrap: balance;
}


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

.sot-case-single .sot-case-hero-meta {

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px 0;

    margin-top: 31px;
}


/* singola voce */

.sot-case-single .sot-case-meta {

    position: relative;

    display: flex;
    align-items: center;

    gap: 9px;

    padding-right: 22px;

    margin-right: 22px;

    color: #607694;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.4;
}


/* separatori */

.sot-case-single .sot-case-meta:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 1px;
    height: 22px;

    transform: translateY(-50%);

    background: #ccd9e4;
}


/* icona */

.sot-case-single .sot-case-meta-icon {

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

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    border: 1px solid #d5e2ec;

    border-radius: 50%;

    background: rgba(255,255,255,.84);

    color: var(--sot-navy);

    font-size: 10px;

    box-shadow:
        0 3px 10px rgba(12,47,98,.035);
}


/* =========================================================
   NAVIGAZIONE INTERNA
   ========================================================= */

body .sot-case-single .sot-case-nav {

    position: sticky;

    top: 0;

    z-index: 100;

    width: 100%;
    max-width: none;

    background: rgba(255,255,255,.97);

    border-top: 0;

    border-bottom: 1px solid #dfe7ee;

    box-shadow:
        0 6px 20px rgba(12,47,98,.035);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* admin bar WP */

body.admin-bar .sot-case-single .sot-case-nav {

    top: 32px;
}


/* container nav */

.sot-case-single .sot-case-nav .sot-case-container {

    display: flex;

    align-items: center;

    gap: 42px;

    min-height: 66px;

    overflow-x: auto;

    scrollbar-width: none;
}


.sot-case-single
.sot-case-nav
.sot-case-container::-webkit-scrollbar {

    display: none;
}


/* link */

.sot-case-single .sot-case-nav a {

    position: relative;

    display: flex;
    align-items: center;

    flex: 0 0 auto;

    min-height: 66px;

    padding: 0;

    color: #607590 !important;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    text-transform: uppercase;

    letter-spacing: .11em;

    transition:
        color .2s ease;
}


/* hover */

.sot-case-single .sot-case-nav a:hover {

    color: var(--sot-red) !important;
}


/* linea inferiore */

.sot-case-single .sot-case-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -1px;

    height: 2px;

    background: var(--sot-red);

    transform: scaleX(0);

    transform-origin: left center;

    transition:
        transform .22s ease;
}


.sot-case-single .sot-case-nav a:hover::after,
.sot-case-single .sot-case-nav a.active::after {

    transform: scaleX(1);
}


/* attivo */

.sot-case-single .sot-case-nav a.active {

    color: var(--sot-red) !important;
}


/* =========================================================
   ANCORE
   ========================================================= */

.sot-case-single #panoramica,
.sot-case-single #caso,
.sot-case-single #discussione,
.sot-case-single #conclusioni,
.sot-case-single #bibliografia {

    scroll-margin-top: 95px;
}


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

@media (max-width: 1100px) {

    body .sot-case-single .sot-case-container {

        width: calc(100% - 64px);
    }


    body .sot-case-single .sot-case-hero {

        min-height: 390px;

        background-position: 63% center;

        background-image:

            linear-gradient(
                90deg,

                rgba(248,251,254,1) 0%,
                rgba(248,251,254,.98) 27%,
                rgba(248,251,254,.88) 42%,
                rgba(248,251,254,.55) 57%,
                rgba(248,251,254,.16) 75%,
                rgba(248,251,254,0) 100%
            ),

            url("https://sotweb.org/wp-content/uploads/2026/10/Edema-maculare.webp");
    }


    body
    .sot-case-single
    .sot-case-hero
    > .sot-case-container {

        min-height: 390px;
    }


    .sot-case-single .sot-case-hero-copy {

        max-width: 610px;
    }


    body .sot-case-single .sot-case-hero h1 {

        max-width: 610px;

        font-size:
            clamp(39px, 5vw, 53px) !important;
    }


    .sot-case-single .sot-case-nav .sot-case-container {

        gap: 32px;
    }

}


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

@media (max-width: 850px) {

    body .sot-case-single .sot-case-hero {

        min-height: 390px;

        background-position: 70% center;

        background-image:

            linear-gradient(
                90deg,

                rgba(248,251,254,1) 0%,
                rgba(248,251,254,.98) 38%,
                rgba(248,251,254,.87) 56%,
                rgba(248,251,254,.54) 72%,
                rgba(248,251,254,.22) 100%
            ),

            url("https://sotweb.org/wp-content/uploads/2026/10/Edema-maculare.webp");
    }


    .sot-case-single .sot-case-hero-copy {

        max-width: 75%;
    }


    body .sot-case-single .sot-case-hero h1 {

        max-width: 100%;
    }


    .sot-case-single .sot-case-breadcrumb {

        margin-bottom: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body .sot-case-single .sot-case-container {

        width: calc(100% - 32px);
    }


    /* HERO */

    body .sot-case-single .sot-case-hero {

        min-height: 430px;

        align-items: flex-end;

        background-position: 72% center;

        background-image:

            linear-gradient(
                90deg,

                rgba(248,251,254,.99) 0%,
                rgba(248,251,254,.98) 40%,
                rgba(248,251,254,.91) 60%,
                rgba(248,251,254,.75) 76%,
                rgba(248,251,254,.56) 100%
            ),

            url("https://sotweb.org/wp-content/uploads/2026/10/Edema-maculare.webp");
    }


    body
    .sot-case-single
    .sot-case-hero
    > .sot-case-container {

        min-height: 430px;

        padding-top: 28px;
        padding-bottom: 34px;

        justify-content: center;
    }


    /* BREADCRUMB */

    .sot-case-single .sot-case-breadcrumb {

        display: block;

        width: 100%;

        margin-bottom: 26px;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;

        font-size: 12px;
    }


    .sot-case-single .sot-case-breadcrumb a,
    .sot-case-single .sot-case-breadcrumb span {

        margin-right: 5px;
    }


    /* COPY */

    .sot-case-single .sot-case-hero-copy {

        width: 100%;

        max-width: 100%;
    }


    /* BADGE */

    .sot-case-single .sot-case-badge {

        margin-bottom: 15px;

        font-size: 12px;
    }


    .sot-case-single .sot-case-badge::before {

        width: 24px;
    }


    /* TITLE */

    body .sot-case-single .sot-case-hero h1 {

        max-width: 100%;

        font-size: 35px !important;

        line-height: 1.04 !important;
    }


    /* META */

    .sot-case-single .sot-case-hero-meta {

        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 24px;
    }


    .sot-case-single .sot-case-meta {

        padding-right: 0;

        margin-right: 0;

        font-size: 10px;
    }


    .sot-case-single
    .sot-case-meta:not(:last-child)::after {

        display: none;
    }


    .sot-case-single .sot-case-meta-icon {

        width: 25px;
        height: 25px;

        flex-basis: 25px;
    }


    /* NAV */

    .sot-case-single .sot-case-nav .sot-case-container {

        width: 100%;

        padding-left: 16px;
        padding-right: 16px;

        gap: 27px;
    }


    .sot-case-single .sot-case-nav a {

        min-height: 58px;

        font-size: 12px;

        letter-spacing: .09em;
    }


    body.admin-bar .sot-case-single .sot-case-nav {

        top: 46px;
    }

}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    body .sot-case-single .sot-case-hero {

        min-height: 420px;

        /*
        Sposta la retina leggermente più verso destra:
        il testo resta leggibile e l'OCT rimane visibile.
        */

        background-position: 69% center;
    }


    body .sot-case-single .sot-case-hero h1 {

        font-size: 31px !important;
    }


    body
    .sot-case-single
    .sot-case-hero
    > .sot-case-container {

        min-height: 420px;

        padding-top: 24px;
        padding-bottom: 30px;
    }


    .sot-case-single .sot-case-breadcrumb {

        margin-bottom: 22px;
    }


    .sot-case-single .sot-case-hero-meta {

        margin-top: 21px;
    }

}




/* =========================================================
   AREA PRINCIPALE — FIX LAYOUT
   ========================================================= */

body .sot-case-single .sot-case-body {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 72px 0 0 !important;

    background: #ffffff;
}


/* =========================================================
   CONTAINER DEL BODY
   ========================================================= */

body .sot-case-single .sot-case-body > .sot-case-container {
    display: block !important;

    width: calc(100% - 120px) !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
}


/* =========================================================
   GRIGLIA PRINCIPALE
   ========================================================= */

body .sot-case-single .sot-case-layout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        310px !important;

    grid-template-rows: auto !important;

    column-gap: 64px !important;
    row-gap: 0 !important;

    align-items: start !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   COLONNA PRINCIPALE
   FORZIAMO COLONNA 1
   ========================================================= */

body .sot-case-single .sot-case-layout > .sot-case-content {
    display: block !important;

    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   SIDEBAR
   FORZIAMO COLONNA 2
   ========================================================= */

body .sot-case-single .sot-case-layout > .sot-case-sidebar {
    display: block !important;

    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 310px !important;
    min-width: 0 !important;
    max-width: 310px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: start !important;
}


/* =========================================================
   EVITA LIMITAZIONI DEL TEMA TWENTY TWENTY
   ========================================================= */

body .sot-case-single .sot-case-body h2,
body .sot-case-single .sot-case-body h3,
body .sot-case-single .sot-case-body h4,
body .sot-case-single .sot-case-body p,
body .sot-case-single .sot-case-body section,
body .sot-case-single .sot-case-body div,
body .sot-case-single .sot-case-body aside,
body .sot-case-single .sot-case-body figure {
    max-width: none;
}


/* =========================================================
   PANORAMICA
   ========================================================= */

body .sot-case-single .sot-case-overview {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 58px !important;
}


/* INTRO */

body .sot-case-single .sot-case-intro {
    width: 100% !important;
    max-width: 790px !important;

    margin: 0 0 18px !important;

    color: #3f5570 !important;

    font-size: 17px !important;
    line-height: 1.7 !important;
}


/* PARAGRAFI */

body .sot-case-single .sot-case-content p {
    width: 100% !important;
    max-width: 790px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


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

@media (max-width: 1050px) {

    body .sot-case-single .sot-case-body > .sot-case-container {
        width: calc(100% - 64px) !important;
    }

    body .sot-case-single .sot-case-layout {
        grid-template-columns:
            minmax(0, 1fr)
            270px !important;

        column-gap: 40px !important;
    }

    body .sot-case-single .sot-case-layout > .sot-case-sidebar {
        width: 270px !important;
        max-width: 270px !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   SIDEBAR SOTTO
   ========================================================= */

@media (max-width: 850px) {

    body .sot-case-single .sot-case-layout {
        grid-template-columns: 1fr !important;

        row-gap: 50px !important;
    }

    body .sot-case-single .sot-case-layout > .sot-case-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    body .sot-case-single .sot-case-layout > .sot-case-sidebar {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        max-width: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body .sot-case-single .sot-case-body {
        padding-top: 42px !important;
    }

    body .sot-case-single .sot-case-body > .sot-case-container {
        width: calc(100% - 32px) !important;
    }

}

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

.sot-case-single .sot-case-section {
    position: relative;

    margin: 0;
    padding: 0 0 64px;
}


.sot-case-single .sot-case-section + .sot-case-section {
    padding-top: 6px;
}


/* separatore molto leggero */

.sot-case-single .sot-case-section:not(:last-child) {
    margin-bottom: 54px;
    border-bottom: 1px solid #e6edf3;
}


/* =========================================================
   KICKER
   ========================================================= */

.sot-case-single .sot-case-section-kicker {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 12px;

    color: var(--sot-red);

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: .16em;
}


.sot-case-single .sot-case-section-kicker::before {
    content: "";

    width: 28px;
    height: 2px;

    flex: 0 0 auto;

    background: var(--sot-red);
}


/* =========================================================
   TITOLI CONTENUTO
   ========================================================= */

body .sot-case-single .sot-case-content h2 {
    margin: 0 0 22px !important;

    color: var(--sot-navy) !important;

    font-size: clamp(34px, 3vw, 46px) !important;

    font-weight: 600 !important;

    line-height: 1.05 !important;

    letter-spacing: -.025em !important;
}


body .sot-case-single .sot-case-content h3 {
    margin: 0 0 24px !important;

    color: var(--sot-navy) !important;

    font-size: 29px !important;

    font-weight: 600 !important;

    line-height: 1.1 !important;

    letter-spacing: -.02em !important;
}


body .sot-case-single .sot-case-content h4 {
    margin: 0 0 10px !important;

    color: var(--sot-navy) !important;

    font-size: 18px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;
}


/* =========================================================
   TESTI
   ========================================================= */

.sot-case-single .sot-case-content p {
    max-width: 780px;

    margin: 0 0 18px;

    color: #586b82;

    font-size: 15px;

    line-height: 1.75;
}


.sot-case-single .sot-case-intro {
    max-width: 800px !important;

    color: #3f5570 !important;

    font-size: 18px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   PANORAMICA
   ========================================================= */

.sot-case-single .sot-case-overview {
    padding-bottom: 58px;
}


/* =========================================================
   INFO VELOCI
   ========================================================= */

.sot-case-single .sot-case-facts {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 38px;
}


.sot-case-single .sot-case-fact {
    display: flex;

    align-items: center;

    gap: 13px;

    min-width: 0;

    min-height: 92px;

    padding: 17px;

    background: #f5f9fc;

    border: 1px solid #e1eaf2;

    border-radius: 12px;

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


.sot-case-single .sot-case-fact:hover {
    transform: translateY(-2px);

    border-color: #d1dfe9;

    box-shadow:
        0 10px 24px rgba(12,47,98,.055);
}


.sot-case-single .sot-case-fact-icon {
    display: flex;

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

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 50%;

    background: #e6f1f8;

    color: var(--sot-red);

    font-size: 15px;

    font-weight: 700;
}


.sot-case-single .sot-case-fact > div:last-child {
    min-width: 0;
}


.sot-case-single .sot-case-fact span {
    display: block;

    margin-bottom: 4px;

    color: #7c8da1;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: .10em;
}


.sot-case-single .sot-case-fact strong {
    display: block;

    color: var(--sot-navy);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   GALLERY
   ========================================================= */

.sot-case-single .sot-case-gallery {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
}


.sot-case-single .sot-case-media {
    position: relative;

    aspect-ratio: 4 / 3;

    margin: 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #edf4f8,
            #dfeaf2
        );

    border: 1px solid #dfe8f0;

    border-radius: 12px;

    box-shadow:
        0 8px 22px rgba(12,47,98,.045);
}


.sot-case-single .sot-case-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.sot-case-single .sot-case-media:hover img {
    transform: scale(1.025);
}


/* video */

.sot-case-single .sot-case-media-video::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(12,47,98,0),
            rgba(12,47,98,.13)
        );

    pointer-events: none;
}


.sot-case-single .sot-case-play {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 4;

    display: flex;

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

    width: 52px;
    height: 52px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(217,35,46,.94);

    color: #ffffff;

    font-size: 16px;

    box-shadow:
        0 8px 24px rgba(145,20,28,.25);
}


/* dots */

.sot-case-single .sot-case-gallery-dots {
    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 18px;
}


.sot-case-single .sot-case-gallery-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #cad5df;
}


.sot-case-single .sot-case-gallery-dots span.active {
    width: 22px;

    border-radius: 999px;

    background: var(--sot-red);
}


/* =========================================================
   DESCRIZIONE DEL CASO
   ========================================================= */

.sot-case-single .sot-case-description {
    position: relative;
}


.sot-case-single .sot-case-text-block {
    position: relative;

    padding: 0 0 0 28px;

    margin-bottom: 32px;
}


.sot-case-single .sot-case-text-block:last-child {
    margin-bottom: 0;
}


/* linea timeline */

.sot-case-single .sot-case-text-block::before {
    content: "";

    position: absolute;

    top: 5px;
    bottom: -37px;
    left: 5px;

    width: 1px;

    background: #dce6ee;
}


.sot-case-single .sot-case-text-block:last-child::before {
    bottom: 10px;
}


/* pallino */

.sot-case-single .sot-case-text-block::after {
    content: "";

    position: absolute;

    top: 6px;
    left: 1px;

    width: 9px;
    height: 9px;

    border: 2px solid var(--sot-red);

    border-radius: 50%;

    background: #ffffff;
}


.sot-case-single .sot-case-text-block p {
    margin-bottom: 0;
}


/* =========================================================
   LISTE
   ========================================================= */

.sot-case-single .sot-case-content ul {
    margin: 14px 0 0;

    padding: 0;

    list-style: none;
}


.sot-case-single .sot-case-content ul li {
    position: relative;

    margin: 0 0 10px;

    padding-left: 21px;

    color: #586b82;

    font-size: 15px;

    line-height: 1.65;
}


.sot-case-single .sot-case-content ul li::before {
    content: "";

    position: absolute;

    top: .7em;
    left: 0;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--sot-red);
}


/* =========================================================
   DISCUSSIONE / CONCLUSIONI
   ========================================================= */

.sot-case-single #discussione,
.sot-case-single #conclusioni {
    padding-right: 20px;
}


/* =========================================================
   PUNTI CHIAVE
   ========================================================= */

.sot-case-single .sot-case-keypoints {
    position: relative;

    margin: 10px 0 70px;

    padding: 30px 34px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f3f8fc 0%,
            #eef6fb 100%
        );

    border: 1px solid #dce8f1;

    border-radius: 15px;
}


.sot-case-single .sot-case-keypoints::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    bottom: -90px;

    border: 1px solid rgba(12,47,98,.06);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(12,47,98,.025),
        0 0 0 70px rgba(12,47,98,.015);

    pointer-events: none;
}


.sot-case-single .sot-case-keypoints-header {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 21px;
}


.sot-case-single .sot-case-keypoints-icon {
    display: flex;

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

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border-radius: 50%;

    background: var(--sot-red);

    color: #ffffff;

    font-size: 16px;

    font-weight: 800;
}


body .sot-case-single .sot-case-keypoints h3 {
    margin: 0 !important;

    font-size: 24px !important;
}


.sot-case-single .sot-case-keypoints ul {
    position: relative;

    z-index: 2;

    margin: 0;
}


.sot-case-single .sot-case-keypoints li {
    margin-bottom: 12px !important;

    color: #455b74 !important;

    font-size: 14px !important;
}


.sot-case-single .sot-case-keypoints li:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   BIBLIOGRAFIA
   ========================================================= */

.sot-case-single .sot-case-bibliography {
    padding-bottom: 20px;
}


.sot-case-single .sot-case-bibliography ol {
    margin: 0;

    padding-left: 22px;
}


.sot-case-single .sot-case-bibliography li {
    margin-bottom: 13px;

    padding-left: 5px;

    color: #607187;

    font-size: 13px;

    line-height: 1.65;
}


.sot-case-single .sot-case-bibliography li::marker {
    color: var(--sot-red);

    font-weight: 700;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sot-case-single .sot-case-sidebar {
    min-width: 0;
}


.sot-case-single .sot-case-sidebar-card {
    position: sticky;

    top: 100px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe8f0;

    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(12,47,98,.055);
}


/* singola sezione sidebar */

.sot-case-single .sot-case-sidebar-section {
    margin: 0;

    padding: 24px;
}


.sot-case-single
.sot-case-sidebar-section
+ .sot-case-sidebar-section {
    border-top: 1px solid #e5edf3;
}


body .sot-case-single .sot-case-sidebar-section h3 {
    margin: 0 0 18px !important;

    color: var(--sot-navy) !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    line-height: 1.2 !important;

    text-transform: uppercase;

    letter-spacing: .11em !important;
}


/* =========================================================
   AUTORI
   ========================================================= */

.sot-case-single .sot-case-author {
    display: grid;

    grid-template-columns:
        52px 1fr;

    gap: 12px;

    align-items: center;

    margin-bottom: 18px;
}


.sot-case-single .sot-case-author:last-child {
    margin-bottom: 0;
}


.sot-case-single .sot-case-author img {
    display: block;

    width: 52px;
    height: 52px;

    object-fit: cover;

    border-radius: 50%;

    background: #edf3f7;

    border: 2px solid #ffffff;

    box-shadow:
        0 0 0 1px #dbe6ee;
}


.sot-case-single .sot-case-author strong {
    display: block;

    margin-bottom: 3px;

    color: var(--sot-navy);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.3;
}


.sot-case-single .sot-case-author span {
    display: block;

    color: #667a92;

    font-size: 10px;

    line-height: 1.35;
}


.sot-case-single .sot-case-author small {
    display: block;

    margin-top: 2px;

    color: #91a0af;

    font-size: 12px;

    line-height: 1.3;
}

/* =========================================================
   DOWNLOAD SIDEBAR — FIX DEFINITIVO
   ========================================================= */

body .sot-case-single .sot-case-sidebar-section .sot-case-download {

    display: flex !important;
    align-items: center !important;

    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 58px !important;
    height: auto !important;

    margin: 0 0 9px !important;

    padding: 10px 12px !important;

    background: #f5f9fc !important;

    border: 1px solid #dce7ef !important;
    border-radius: 8px !important;

    color: #0c2f62 !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* ultimo bottone */

body .sot-case-single
.sot-case-sidebar-section
.sot-case-download:last-of-type {

    margin-bottom: 0 !important;
}


/* =========================================================
   RESET SPAN INTERNI
   ========================================================= */

body .sot-case-single
.sot-case-download > span {

    display: block !important;

    width: auto !important;
    max-width: none !important;

    min-width: 0 !important;
    min-height: 0 !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* =========================================================
   ICONA
   ========================================================= */

body .sot-case-single
.sot-case-download
.sot-case-download-icon {

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;

    min-width: 34px !important;
    flex: 0 0 34px !important;

    margin: 0 !important;

    border-radius: 50% !important;

    background: #e5f1f8 !important;

    color: #0c2f62 !important;

    font-size: 14px !important;

    line-height: 1 !important;
}


/* variante rossa */

body .sot-case-single
.sot-case-download-red
.sot-case-download-icon {

    background: #fdebed !important;

    color: #d9232e !important;
}


/* =========================================================
   TESTO
   ========================================================= */

body .sot-case-single
.sot-case-download small {

    display: block !important;

    margin: 0 0 2px !important;

    color: #6c7f95 !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    line-height: 1.15 !important;

    text-transform: uppercase !important;

    letter-spacing: .06em !important;

    white-space: nowrap !important;
}


body .sot-case-single
.sot-case-download strong {

    display: block !important;

    margin: 0 !important;

    color: #0c2f62 !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    line-height: 1.25 !important;

    white-space: normal !important;

    word-break: normal !important;
}


/* =========================================================
   HOVER
   ========================================================= */

body .sot-case-single
.sot-case-download:hover {

    background: #eef5fa !important;

    border-color: #cadbe7 !important;

    transform: translateY(-1px);
}


/* =========================================================
   TAG
   ========================================================= */

.sot-case-single .sot-case-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.sot-case-single .sot-case-tags a {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 5px 10px;

    border: 1px solid #dce6ee;

    border-radius: 999px;

    background: #f8fbfd;

    color: #607590 !important;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none !important;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.sot-case-single .sot-case-tags a:hover {
    color: var(--sot-red) !important;

    border-color: #efb9bd;

    background: #fff7f7;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.sot-case-single .sot-case-social {
    display: flex;

    gap: 8px;
}


.sot-case-single .sot-case-social a {
    display: flex;

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

    width: 34px;
    height: 34px;

    border: 1px solid #dce6ee;

    border-radius: 50%;

    background: #ffffff;

    color: var(--sot-navy) !important;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.sot-case-single .sot-case-social a:hover {
    transform: translateY(-2px);

    border-color: var(--sot-red);

    background: var(--sot-red);

    color: #ffffff !important;
}


/* =========================================================
   CASI CORRELATI
   ========================================================= */

.sot-case-single .sot-case-related {
    margin-top: 90px;

    padding: 56px 0 70px;

    border-top: 1px solid #e4ecf2;
}


.sot-case-single .sot-case-related-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}


body .sot-case-single .sot-case-related-heading h2 {
    position: relative;

    margin: 0 !important;

    padding-left: 47px;

    color: var(--sot-navy) !important;

    font-size: 32px !important;

    font-weight: 600 !important;

    line-height: 1.1 !important;

    letter-spacing: -.025em !important;
}


.sot-case-single .sot-case-related-heading h2::before {
    content: "";

    position: absolute;

    top: .55em;
    left: 0;

    width: 32px;
    height: 2px;

    background: var(--sot-red);
}


.sot-case-single .sot-case-related-heading > a {
    color: var(--sot-red) !important;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none !important;
}


/* GRID */

.sot-case-single .sot-case-related-grid {
    display: flex;



    gap: 18px;
}


/* CARD */

.sot-case-single .sot-case-related-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe8f0;

    border-radius: 12px;

    color: inherit !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 24px rgba(12,47,98,.045);

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


.sot-case-single .sot-case-related-card:hover {
    transform: translateY(-4px);

    border-color: #cedce7;

    box-shadow:
        0 15px 34px rgba(12,47,98,.085);
}


/* image */

.sot-case-single .sot-case-related-image {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eaf2f7;
}


.sot-case-single .sot-case-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.sot-case-single
.sot-case-related-card:hover
.sot-case-related-image img {
    transform: scale(1.035);
}


/* badge */

.sot-case-single .sot-case-related-badge {
    position: absolute;

    top: 13px;
    left: 13px;

    padding: 5px 9px;

    border-radius: 999px;

    background: var(--sot-red);

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .07em;
}


/* COPY */

.sot-case-single .sot-case-related-copy {
    padding: 20px;
}


.sot-case-single .sot-case-related-category {
    display: block;

    margin-bottom: 8px;

    color: var(--sot-red);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .11em;
}


body .sot-case-single .sot-case-related-copy h3 {
    min-height: 56px;

    margin: 0 0 20px !important;

    color: var(--sot-navy) !important;

    font-size: 17px !important;

    font-weight: 700 !important;

    line-height: 1.25 !important;

    letter-spacing: -.015em !important;
}


.sot-case-single .sot-case-related-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 14px;

    border-top: 1px solid #edf1f4;
}


.sot-case-single .sot-case-related-bottom small {
    color: #8291a2;

    font-size: 12px;
}


.sot-case-single .sot-case-related-bottom span {
    color: var(--sot-red);

    font-size: 17px;
}


/* =========================================================
   CONTATTI
   ========================================================= */

.sot-case-single .sot-case-contacts {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    margin-top: 10px;

    border-top: 1px solid #dfe8f0;
    border-bottom: 1px solid #dfe8f0;

    background: #f7fafc;
}


.sot-case-single .sot-case-contact {
    display: grid;

    grid-template-columns:
        40px 1fr;

    gap: 14px;

    align-items: center;

    min-height: 105px;

    padding: 22px 26px;
}


.sot-case-single
.sot-case-contact
+ .sot-case-contact {
    border-left: 1px solid #dfe8f0;
}


.sot-case-single .sot-case-contact-icon {
    display: flex;

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

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #e7f1f8;

    color: var(--sot-red);

    font-size: 15px;
}


.sot-case-single .sot-case-contact span {
    display: block;

    margin-bottom: 3px;

    color: #8392a5;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .10em;
}


.sot-case-single .sot-case-contact strong {
    display: block;

    color: var(--sot-navy);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.35;
}


.sot-case-single .sot-case-contact small {
    display: block;

    margin-top: 2px;

    color: #728399;

    font-size: 10px;
}


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

@media (max-width: 1100px) {

    .sot-case-single .sot-case-layout {
        grid-template-columns:
            minmax(0, 1fr)
            280px;

        gap: 45px;
    }


    .sot-case-single .sot-case-facts {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sot-case-single .sot-case-related-grid {
        gap: 14px;
    }

}


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

@media (max-width: 900px) {

    .sot-case-single .sot-case-body {
        padding-top: 55px;
    }


    .sot-case-single .sot-case-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .sot-case-single .sot-case-sidebar-card {
        position: static;
    }


    /* sidebar orizzontale su tablet */

    .sot-case-single .sot-case-sidebar-card {
        display: grid;

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


    .sot-case-single .sot-case-sidebar-section {
        border-top: 1px solid #e5edf3;
    }


    .sot-case-single
    .sot-case-sidebar-section:nth-child(odd) {
        border-right: 1px solid #e5edf3;
    }


    .sot-case-single .sot-case-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sot-case-single
    .sot-case-related-card:last-child {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .sot-case-single .sot-case-body {
        padding-top: 42px;
    }


    .sot-case-single .sot-case-section {
        padding-bottom: 42px;
    }


    .sot-case-single
    .sot-case-section:not(:last-child) {
        margin-bottom: 40px;
    }


    body .sot-case-single .sot-case-content h2 {
        font-size: 34px !important;
    }


    body .sot-case-single .sot-case-content h3 {
        font-size: 25px !important;
    }


    .sot-case-single .sot-case-intro {
        font-size: 16px !important;
    }


    /* FACTS */

    .sot-case-single .sot-case-facts {
        grid-template-columns: 1fr;

        gap: 9px;

        margin-top: 28px;
    }


    .sot-case-single .sot-case-fact {
        min-height: 75px;

        padding: 13px 15px;
    }


    /* GALLERY */

    .sot-case-single .sot-case-gallery {
        display: flex;

        gap: 12px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        padding-bottom: 5px;

        scrollbar-width: none;
    }


    .sot-case-single
    .sot-case-gallery::-webkit-scrollbar {
        display: none;
    }


    .sot-case-single .sot-case-media {
        flex: 0 0 86%;

        scroll-snap-align: start;
    }


    /* KEYPOINTS */

    .sot-case-single .sot-case-keypoints {
        margin-bottom: 50px;

        padding: 25px 22px;
    }


    /* SIDEBAR */

    .sot-case-single .sot-case-sidebar-card {
        display: block;
    }


    .sot-case-single
    .sot-case-sidebar-section:nth-child(odd) {
        border-right: 0;
    }


    /* RELATED */

    .sot-case-single .sot-case-related {
        margin-top: 65px;

        padding-top: 42px;
        padding-bottom: 55px;
    }


    .sot-case-single .sot-case-related-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    body
    .sot-case-single
    .sot-case-related-heading h2 {
        padding-left: 40px;

        font-size: 27px !important;
    }


    .sot-case-single
    .sot-case-related-heading h2::before {
        width: 26px;
    }


    .sot-case-single .sot-case-related-grid {
        grid-template-columns: 1fr;
    }


    .sot-case-single
    .sot-case-related-card:last-child {
        display: block;
    }


    body
    .sot-case-single
    .sot-case-related-copy h3 {
        min-height: auto;
    }


    /* CONTATTI */

    .sot-case-single .sot-case-contacts {
        grid-template-columns: 1fr;
    }


    .sot-case-single
    .sot-case-contact
    + .sot-case-contact {
        border-left: 0;

        border-top: 1px solid #dfe8f0;
    }


    .sot-case-single .sot-case-contact {
        min-height: 88px;

        padding: 18px 20px;
    }

}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    .sot-case-single .sot-case-layout {
        gap: 45px;
    }


    .sot-case-single .sot-case-media {
        flex-basis: 92%;
    }


    .sot-case-single .sot-case-text-block {
        padding-left: 25px;
    }


    .sot-case-single .sot-case-keypoints {
        border-radius: 12px;
    }


    .sot-case-single .sot-case-sidebar-section {
        padding: 21px 18px;
    }

}



/* =========================================================
   SOT — NORMALIZZAZIONE TIPOGRAFIA SINGOLO CASO
   ========================================================= */

/*
   Il sito SOT usa già questo stack nelle altre pagine custom.
   Impedisce soprattutto a Twenty Twenty di applicare
   font serif a paragrafi, liste, small, ecc.
*/
body .sot-case-single,
body .sot-case-single p,
body .sot-case-single li,
body .sot-case-single a,
body .sot-case-single span,
body .sot-case-single strong,
body .sot-case-single small,
body .sot-case-single h1,
body .sot-case-single h2,
body .sot-case-single h3,
body .sot-case-single h4 {
    font-family: Inter, Arial, Helvetica, sans-serif !important;
}


/* =========================================================
   COLORI BASE
   ========================================================= */

.sot-case-single {
    --sot-navy: #0c2f62;

    /* testo principale: più scuro */
    --sot-body-text: #425772;

    /* testo secondario */
    --sot-secondary-text: #62758d;

    /* microtesti */
    --sot-small-text: #718299;
}


/* =========================================================
   PARAGRAFI PRINCIPALI
   ========================================================= */

body .sot-case-single .sot-case-content p,
body .sot-case-single .sot-case-text-block p,
body .sot-case-single #discussione p,
body .sot-case-single #conclusioni p {

    color: var(--sot-body-text) !important;

    font-size: 17px !important;
    font-weight: 400 !important;

    line-height: 1.7 !important;

    letter-spacing: 0 !important;
}


/* introduzione leggermente più grande */

body .sot-case-single .sot-case-intro {

    color: #344d6b !important;

    font-size: 18px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   TITOLI
   ========================================================= */

body .sot-case-single .sot-case-content h2 {

    color: var(--sot-navy) !important;

    font-size: clamp(36px, 3vw, 46px) !important;

    font-weight: 650 !important;

    line-height: 1.08 !important;
}


body .sot-case-single .sot-case-content h3 {

    color: var(--sot-navy) !important;

    font-size: 30px !important;

    font-weight: 650 !important;

    line-height: 1.15 !important;
}


body .sot-case-single .sot-case-content h4 {

    color: var(--sot-navy) !important;

    font-size: 19px !important;

    font-weight: 700 !important;

    line-height: 1.35 !important;
}


/* =========================================================
   LISTE
   ========================================================= */

body .sot-case-single .sot-case-content ul li {

    color: var(--sot-body-text) !important;

    font-family: Inter, Arial, Helvetica, sans-serif !important;

    font-size: 16px !important;

    font-weight: 400 !important;

    line-height: 1.65 !important;
}


/* =========================================================
   PUNTI CHIAVE
   ========================================================= */

body .sot-case-single .sot-case-keypoints h3 {

    color: var(--sot-navy) !important;

    font-size: 26px !important;

    font-weight: 700 !important;
}


body .sot-case-single .sot-case-keypoints li {

    color: #405772 !important;

    font-family: Inter, Arial, Helvetica, sans-serif !important;

    font-size: 16px !important;

    font-weight: 400 !important;

    line-height: 1.65 !important;
}


/* =========================================================
   FACTS
   ========================================================= */

body .sot-case-single .sot-case-fact span {

    color: #63768e !important;

    font-size: 11px !important;

    font-weight: 700 !important;
}


body .sot-case-single .sot-case-fact strong {

    color: var(--sot-navy) !important;

    font-size: 14px !important;

    font-weight: 700 !important;
}


/* =========================================================
   BIBLIOGRAFIA
   ========================================================= */

body .sot-case-single .sot-case-bibliography li {

    color: var(--sot-body-text) !important;

    font-family: Inter, Arial, Helvetica, sans-serif !important;

    font-size: 15px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

body .sot-case-single .sot-case-sidebar-section h3 {

    color: var(--sot-navy) !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    letter-spacing: .09em !important;
}


/* AUTORI */

body .sot-case-single .sot-case-author strong {

    color: var(--sot-navy) !important;

    font-size: 14px !important;

    font-weight: 700 !important;
}


body .sot-case-single .sot-case-author span {

    color: #526a85 !important;

    font-size: 12px !important;

    line-height: 1.4 !important;
}


body .sot-case-single .sot-case-author small {

    color: #718299 !important;

    font-size: 11px !important;

    line-height: 1.4 !important;
}


/* =========================================================
   DOWNLOAD
   ========================================================= */

body .sot-case-single .sot-case-download small {

    color: #687b92 !important;

    font-size: 10px !important;

    font-weight: 600 !important;
}


body .sot-case-single .sot-case-download strong {

    color: var(--sot-navy) !important;

    font-size: 15px !important;

    font-weight: 500 !important;
}


/* =========================================================
   TAG
   ========================================================= */

body .sot-case-single .sot-case-tags a {

    color: #526a84 !important;

    font-size: 11px !important;

    font-weight: 600 !important;
}


/* =========================================================
   CASI CORRELATI
   ========================================================= */

body .sot-case-single .sot-case-related-category {

    font-size: 10px !important;
}


body .sot-case-single .sot-case-related-copy h3 {

    color: var(--sot-navy) !important;

    font-size: 18px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;
}


body .sot-case-single .sot-case-related-bottom small {

    color: #64768d !important;

    font-size: 11px !important;
}


/* =========================================================
   CONTATTI
   ========================================================= */

body .sot-case-single .sot-case-contact span {

    color: #65788f !important;

    font-size: 10px !important;

    font-weight: 700 !important;
}


body .sot-case-single .sot-case-contact strong {

    color: var(--sot-navy) !important;

    font-size: 14px !important;
}


body .sot-case-single .sot-case-contact small {

    color: #61758c !important;

    font-size: 12px !important;
}


/* =========================================================
   HERO — MICROTESTI
   ========================================================= */

body .sot-case-single .sot-case-breadcrumb {

    color: #64778f !important;

    font-size: 11px !important;
}


body .sot-case-single .sot-case-meta {

    color: #526b88 !important;

    font-size: 12px !important;
}


/* =========================================================
   NAV INTERNA
   ========================================================= */

body .sot-case-single .sot-case-nav a {

    color: #526b88 !important;

    font-size: 11px !important;

    font-weight: 700 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body .sot-case-single .sot-case-content p,
    body .sot-case-single .sot-case-text-block p,
    body .sot-case-single .sot-case-content ul li,
    body .sot-case-single .sot-case-keypoints li {

        font-size: 16px !important;

        line-height: 1.65 !important;
    }


    body .sot-case-single .sot-case-intro {

        font-size: 17px !important;
    }


    body .sot-case-single .sot-case-content h2 {

        font-size: 34px !important;
    }


    body .sot-case-single .sot-case-content h3 {

        font-size: 26px !important;
    }


    body .sot-case-single .sot-case-content h4 {

        font-size: 18px !important;
    }

}


/* =========================================================
   FIX PARAGRAFI AUTOMATICI WORDPRESS NELLA SIDEBAR
   ========================================================= */

.sot-case-single .sot-case-sidebar-section > p {
    display: none !important;

    margin: 0 !important;
    padding: 0 !important;

    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;

    border: 0 !important;
    background: none !important;
}



/* =========================================================
   SOT HOME
========================================================= */

.sot-home {
  --sot-navy: #0c2f62;
  --sot-blue: #174f8c;
  --sot-red: #d9232e;
  --sot-text: #20334e;
  --sot-muted: #6f7e91;
  --sot-line: #dfe7ef;
  --sot-soft: #f5f9fc;
  --sot-soft-blue: #edf5fb;
  --sot-white: #ffffff;

  color: var(--sot-text);
  overflow: hidden;
}

.sot-home * {
  box-sizing: border-box;
}

.sot-home-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.sot-home h1,
.sot-home h2,
.sot-home h3 {
  color: var(--sot-navy);
  margin: 0;
}

.sot-home h1,
.sot-home h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.sot-home h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 0.98;
}

.sot-home h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}

.sot-home h3 {
  font-size: 23px;
  line-height: 1.15;
}

.sot-home p {
  color: var(--sot-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.sot-home-eyebrow,
.sot-home-light-eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sot-home-eyebrow {
  color: var(--sot-blue);
}

.sot-home-light-eyebrow {
  color: rgba(255,255,255,.8);
}


/* =========================================================
   BUTTONS
========================================================= */

.sot-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-height: 52px;
  padding: 0 25px;

  border-radius: 999px;
  text-decoration: none !important;

  font-size: 16px;
  font-weight: 600;

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.sot-home-btn:hover {
  transform: translateY(-2px);
}

.sot-home-btn span {
  font-size: 18px;
}

.sot-home-btn-primary {
  background: var(--sot-navy);
  color: #fff !important;
  border: 1px solid var(--sot-navy);
}

.sot-home-btn-primary:hover {
  background: #071f42;
}

.sot-home-btn-secondary,
.sot-home-btn-outline {
  background: transparent;
  color: var(--sot-navy) !important;
  border: 1px solid rgba(12,47,98,.55);
}

.sot-home-btn-secondary:hover,
.sot-home-btn-outline:hover {
  background: var(--sot-navy);
  color: #fff !important;
}



/* =========================================================
   SOT HOME — CONGRESSO 2027
   PREMIUM EDITORIAL / FLEXBOX
========================================================= */

/* =========================================================
   01 — SEZIONE
========================================================= */

.sot-home-congress {
  --sot27-navy: #0c2f62;
  --sot27-red: #d9232e;
  --sot27-text: #344960;
  --sot27-muted: #74859a;
  --sot27-line: #dce5ee;

  display: block;
  position: relative;
  clear: both;

  width: 100%;
  padding: 36px 0 90px;

  background: #ffffff;
}

.sot-home-congress,
.sot-home-congress *,
.sot-home-congress *::before,
.sot-home-congress *::after {
  box-sizing: border-box;
}

.sot-home-congress .sot27-container {
  display: block;
  width: calc(100% - 40px);
  max-width: 1180px;

  margin: 0 auto;
  padding: 0;
}

/* =========================================================
   02 — CARD PRINCIPALE
========================================================= */

.sot-home-congress .sot27-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;

  

  width: 100%;
  min-height: 0;

  margin: 0;
  padding: clamp(40px, 3vw, 60px);

  border: 1px solid #e0e8f0;
  border-radius: 24px;

  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #f8fafc 52%,
    #f1f6fa 100%
  );

  box-shadow:
    0 18px 45px rgba(12,47,98,.045);

  overflow: hidden;
}



/* =========================================================
   03 — COLONNA CONTENUTO
========================================================= */

.sot-home-congress .sot27-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;

  margin: 0;
  padding: 0;

  float: none;
  clear: none;

  text-align: left;
  transform: none;
}

/* =========================================================
   04 — TOPLINE
========================================================= */

.sot-home-congress .sot27-topline {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;

  gap: 12px;
  margin: 0 0 27px;
  padding: 0;

  color: var(--sot27-navy);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  white-space: nowrap;
}

.sot-home-congress .sot27-topline-line {
  display: block;
  flex: 0 0 22px;

  width: 22px;
  height: 2px;

  margin: 0;
  padding: 0;

  background: var(--sot27-red);
}

/* =========================================================
   05 — HEADING
========================================================= */

.sot-home-congress .sot27-heading {
  display: block;
  width: 100%;

  margin: 0;
  padding: 0;
}

.sot-home-congress .sot27-edition {
  display: block;

  margin: 0 0 13px;
  padding: 0;

  color: var(--sot27-red);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .105em;
}

.sot-home-congress h2.sot27-title {
  display: block;
  height:140px;
  width: 100%;
  margin: 0;
  padding: 0;

  color: var(--sot27-navy);

  font-size: clamp(42px, 4.1vw, 62px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.047em;

  text-align: left;
  text-transform: none;
}

.sot-home-congress h2.sot27-title span {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;

  color: var(--sot27-red);

  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: inherit;
}

/* =========================================================
   06 — DESCRIZIONE
========================================================= */

.sot-home-congress p.sot27-description {
  display: block;

  width: 100%;
  max-width: 480px;

  margin: 25px 0 0;
  padding: 0;

  color: var(--sot27-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;

  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* =========================================================
   07 — INFORMAZIONI EVENTO
========================================================= */

.sot-home-congress .sot27-event-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;

  gap: 25px;

  width: 100%;
  max-width: 480px;

  margin: 29px 0 0;
  padding: 20px 0;

  border-top: 1px solid var(--sot27-line);
  border-bottom: 1px solid var(--sot27-line);
}

.sot-home-congress .sot27-event-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sot-home-congress .sot27-detail-label {
  display: block;

  width: auto;
  margin: 0;
  padding: 0;

  color: var(--sot27-muted);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
}

.sot-home-congress .sot27-event-detail strong {
  display: block;

  width: auto;
  margin: 0;
  padding: 0;

  color: var(--sot27-navy);

  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.sot-home-congress .sot27-detail-divider {
  display: block;
  flex: 0 0 1px;

  width: 1px;
  height: 35px;

  margin: 0;
  padding: 0;

  background: var(--sot27-line);
}

/* =========================================================
   08 — AZIONI E PULSANTE
========================================================= */

.sot-home-congress .sot27-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  margin: 28px 0 0;
  padding: 0;
}

/* Reset mirato per conflitti TwentyTwenty */

.sot-home-congress a.sot27-cta {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;

  flex: 0 0 auto;
  width: auto !important;
  min-width: 230px;
  min-height: 51px;

  gap: 28px;

  margin: 0 !important;
  padding: 14px 22px !important;

  border: 1px solid var(--sot27-navy) !important;
  border-radius: 999px !important;

  background: var(--sot27-navy) !important;
  box-shadow: none;

  color: #ffffff !important;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;

  text-decoration: none !important;
  text-transform: none !important;

  transition:
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.sot-home-congress a.sot27-cta > span {
  display: inline-block !important;
  position: static !important;

  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: inherit !important;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;

  transform: none !important;
}

.sot-home-congress a.sot27-cta .sot27-cta-arrow {
  font-size: 20px !important;
  font-weight: 400;
  line-height: 1;
}

.sot-home-congress a.sot27-cta:hover {
  background: #174780 !important;
  border-color: #174780 !important;

  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow:
    0 12px 24px rgba(12,47,98,.13);
}

.sot-home-congress a.sot27-cta:focus-visible {
  outline: 3px solid var(--sot27-red);
  outline-offset: 4px;
}

.sot-home-congress p.sot27-status {
  display: block;

  max-width: 360px;

  margin: 16px 0 0;
  padding: 0;

  color: var(--sot27-muted);

  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;

  text-align: left;
}

/* =========================================================
   09 — COLONNA LOCANDINA
========================================================= */

.sot-home-congress .sot27-visual {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  flex: 0 0 44%;
  width: 44%;
  min-width: 0;
  max-width: 450px;

  margin: 0;
  padding: 0;

  float: none;
  align-self: center;
  transform: none;
}

/* Poster */

.sot-home-congress .sot27-poster-frame {
  position: relative;
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  margin: 0;
  padding: 0;

  overflow: hidden;

  border-radius: 15px;
  background: #052b47;

  box-shadow:
    0 20px 42px rgba(12,47,98,.15),
    0 4px 12px rgba(12,47,98,.05);
}

.sot-home-congress .sot27-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: inherit;

  pointer-events: none;
}

.sot-home-congress img.sot27-poster {
  display: block !important;

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

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain;
  border-radius: 0;
}

/* Didascalia */

.sot-home-congress .sot27-poster-caption {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 8px 14px;

  width: 100%;
  margin: 18px 0 0;
  padding: 0;

  color: var(--sot27-muted);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .105em;
}

.sot-home-congress .sot27-poster-caption span {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
}

.sot-home-congress .sot27-poster-caption span:last-child {
  color: var(--sot27-navy);
}

/* =========================================================
   10 — TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .sot-home-congress .sot27-card {
    gap: 30px;
    padding: 38px;
  }

  .sot-home-congress .sot27-card::before {
    left: 38px;
  }

  .sot-home-congress h2.sot27-title {
    font-size: clamp(34px, 4.3vw, 47px);
  }

  .sot-home-congress p.sot27-description {
    font-size: 16px;
    line-height: 1.75;
  }

  .sot-home-congress .sot27-visual {
    flex: 0 0 42%;
    width: 42%;
  }

  .sot-home-congress .sot27-event-info {
    gap: 16px;
  }

  .sot-home-congress .sot27-event-detail strong {
    font-size: 14px;
  }

  .sot-home-congress a.sot27-cta {
    min-width: 205px;
  }
}

/* =========================================================
   11 — MOBILE
========================================================= */

@media (max-width: 767px) {

  .sot-home-congress {
    padding: 26px 0 68px;
  }

  .sot-home-congress .sot27-container {
    width: calc(100% - 28px);
  }

  .sot-home-congress .sot27-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 30px;

    padding: 30px 23px 26px;
    border-radius: 20px;
  }

  .sot-home-congress .sot27-card::before {
    left: 23px;
    width: 56px;
  }

  .sot-home-congress .sot27-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* TOPLINE */

  .sot-home-congress .sot27-topline {
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: .12em;
  }

  /* TITOLO */

  .sot-home-congress .sot27-edition {
    font-size: 11px;
    margin-bottom: 11px;
  }

  .sot-home-congress h2.sot27-title {
    font-size: clamp(36px, 9vw, 46px);
    line-height: 1.06;
    letter-spacing: -.04em;
  }

  /* DESCRIZIONE */

  .sot-home-congress p.sot27-description {
    max-width: none;
    margin-top: 20px;

    font-size: 16px;
    line-height: 1.8;
  }

  /* INFORMAZIONI */

  .sot-home-congress .sot27-event-info {
    gap: 17px;

    max-width: none;
    margin-top: 25px;
    padding: 18px 0;
  }

  .sot-home-congress .sot27-detail-label {
    font-size: 12px;
  }

  .sot-home-congress .sot27-event-detail strong {
    font-size: 14px;
  }

  .sot-home-congress .sot27-detail-divider {
    height: 30px;
  }

  /* CTA */

  .sot-home-congress .sot27-actions {
    margin-top: 24px;
  }

  .sot-home-congress a.sot27-cta {
    min-width: 220px;
    min-height: 50px;

    padding: 14px 20px !important;
  }

  .sot-home-congress p.sot27-status {
    margin-top: 14px;
    font-size: 11px;
  }

  /* LOCANDINA */

  .sot-home-congress .sot27-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .sot-home-congress .sot27-poster-frame {
    border-radius: 12px;
  }

  .sot-home-congress .sot27-poster-caption {
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: .07em;
  }
}

/* =========================================================
   12 — MOBILE PICCOLO
========================================================= */

@media (max-width: 380px) {

  .sot-home-congress .sot27-card {
    padding: 28px 18px 23px;
  }

  .sot-home-congress .sot27-card::before {
    left: 18px;
  }

  .sot-home-congress h2.sot27-title {
    font-size: 34px;
  }

  .sot-home-congress .sot27-event-info {
    gap: 12px;
  }

  .sot-home-congress .sot27-event-detail strong {
    font-size: 12px;
  }

  .sot-home-congress a.sot27-cta {
    min-width: 0;
    width: 100% !important;
  }
}

/* =========================================================
   13 — ACCESSIBILITÀ
========================================================= */

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

  .sot-home-congress a.sot27-cta {
    transition: none;
  }

  .sot-home-congress a.sot27-cta:hover {
    transform: none;
  }
}


/* =========================================================
   ABOUT
========================================================= */

.sot-home-about {
  padding: 100px 0 120px;
}

.sot-home-about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.sot-home-about-copy p {
  margin-top: 22px;
}

.sot-home-about-copy .sot-home-btn {
  margin-top: 32px;
}

.sot-home-about-image {
  position: relative;
  overflow: hidden;

  min-height: 470px;

  border-radius: 24px;
}

.sot-home-about-image::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -120px;
  bottom: -130px;

  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
}

.sot-home-about-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
}


/* =========================================================
   EVENTS
========================================================= */

.sot-home-events {
  padding: 110px 0;
  background:
    linear-gradient(135deg, #f5fafd 0%, #eaf4fa 100%);
}

.sot-home-events-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.5fr;
  align-items: center;
}

.sot-home-events-intro p {
  padding-right: 20px;
  max-width: 430px;
  margin-top: 24px;
}

.sot-home-events-intro .sot-home-btn {
  margin-top: 30px;
}

.sot-home-event-cards {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sot-home-event-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(23,79,140,.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.sot-home-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(23,79,140,.12);
}

.sot-home-event-image {
  height: 190px;
  overflow: hidden;
}

.sot-home-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform .5s ease;
}

.sot-home-event-card:hover .sot-home-event-image img {
  transform: scale(1.04);
}

.sot-home-event-body {
  position: relative;
  min-height: 245px;
  padding: 25px 24px 60px;
}

.sot-home-event-kicker {
  color: var(--sot-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sot-home-event-body h3 {
  margin-top: 9px;
}

.sot-home-event-body p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.sot-home-card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;

  width: 35px;
  height: 35px;

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

  border: 1px solid #b9cde0;
  border-radius: 50%;

  color: var(--sot-navy);

  transition:
    background .25s ease,
    color .25s ease;
}

.sot-home-event-card:hover .sot-home-card-arrow {
  background: var(--sot-navy);
  color: #fff;
}


/* =========================================================
   FEATURES
========================================================= */

.sot-home-feature {
  padding: 120px 0;
}

.sot-home-feature + .sot-home-feature {
  padding-top: 35px;
}

.sot-home-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}

.sot-home-feature-image {
  position: relative;
}

.sot-home-feature-image::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -50px;

  border-radius: 50%;
  background: var(--sot-soft-blue);
}

.sot-home-feature-image img {
  position: relative;
  z-index: 1;

  width: 100%;
  min-height: 430px;
  height: 430px;

  display: block;
  object-fit: cover;

  border-radius: 24px;

  box-shadow: 0 18px 45px rgba(12,47,98,.10);
}

.sot-home-feature-icon {
  position: absolute;
  z-index: 2;

  right: -26px;
  bottom: 45px;

  width: 76px;
  height: 76px;

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

  border-radius: 50%;
  background: #fff;

  color: var(--sot-navy);
  font-size: 31px;

  box-shadow: 0 10px 30px rgba(12,47,98,.14);
}

.sot-home-feature-copy p {
  margin-top: 22px;
  max-width: 510px;
}

.sot-home-feature-copy .sot-home-btn {
  margin-top: 32px;
}

.sot-home-cases {
  padding-bottom: 130px;
}

.sot-home-feature-reverse .sot-home-feature-image::before {
  right: auto;
  left: -60px;
}

.sot-home-feature-reverse .sot-home-feature-icon {
  right: auto;
  left: -26px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.sot-home-final {
  padding: 0 0 100px;
}

.sot-home-final-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;

  padding: 60px 65px;


  background:
    linear-gradient(
      130deg,
      #092a57 0%,
      #0c3d77 70%,
      #15579a 100%
    );
}

.sot-home-final-card h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(36px, 4vw, 53px);
}

.sot-home-final-card p {
  max-width: 630px;
  margin-top: 18px;
  color: rgba(255,255,255,.7);
}

.sot-home-final-button {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 30px;

  padding: 18px 26px;

  border-radius: 999px;
  background: #fff;

  color: var(--sot-navy) !important;
  text-decoration: none !important;
  font-weight: 600;

  transition: transform .25s ease;
}

.sot-home-final-button:hover {
  transform: translateY(-3px);
}


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

@media (max-width: 1050px) {

  .sot-home-hero-values {
    display: none;
  }

  .sot-home-hero-copy {
    width: 65%;
  }

  .sot-home-about-grid,
  .sot-home-feature-grid {
    gap: 55px;
  }

  .sot-home-events-layout {
    grid-template-columns: 1fr;
  }

  .sot-home-events-intro {
    max-width: 650px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .sot-home-container {
    width: min(100% - 32px, 1180px);
  }


  /* HERO */

  .sot-home-hero {
    min-height: 670px;
    align-items: flex-end;

    background:
      linear-gradient(
        180deg,
        rgba(244,249,253,.10) 0%,
        rgba(244,249,253,.28) 30%,
        rgba(244,249,253,.96) 61%,
        #f6fafd 100%
      ),
      url("https://sotweb.org/wp-content/uploads/2026/10/Occhio-azzurro-tra-archi-ottici.webp");

    background-size: auto 71%, cover;
    background-position: top right, center;
    background-repeat: no-repeat;
  }

  .sot-home-hero-inner {
    min-height: 670px;
    align-items: flex-end;
  }

  .sot-home-hero-copy {
    width: 100%;
    padding: 270px 0 50px;
  }



  .sot-home h2 {
    font-size: 39px;
  }

  .sot-home-hero-copy p {
    font-size: 18px;
    line-height: 1.65;
  }

  .sot-home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }


  /* CONGRESS */

  .sot-home-congress {
    padding: 80px 0 20px;
  }

  .sot-home-congress-card {
    min-height: 520px;
    align-items: flex-end;
    padding: 32px 25px;

    background-position: 63% center;
  }

  .sot-home-congress-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(5,32,68,.98) 0%,
        rgba(5,32,68,.82) 45%,
        rgba(5,32,68,.2) 100%
      );
  }


  /* ABOUT */

  .sot-home-about {
    padding: 70px 0 85px;
  }

  .sot-home-about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .sot-home-about-image,
  .sot-home-about-image img {
    min-height: 330px;
  }


  /* EVENTS */

  .sot-home-events {
    padding: 80px 0;
  }

  .sot-home-event-cards {
    grid-template-columns: 1fr;
  }

  .sot-home-event-image {
    height: 220px;
  }

  .sot-home-event-body {
    min-height: 205px;
  }

  .sot-home-event-cards {
    flex-direction: column;
}


  /* FEATURE */

  .sot-home-feature {
    padding: 120px 0 0 0;
  }

  .sot-home-feature + .sot-home-feature {
    padding-top: 10px;
  }

  .sot-home-feature-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .sot-home-feature-reverse .sot-home-feature-copy {
    order: 2;
  }

  .sot-home-feature-reverse .sot-home-feature-image {
    order: 1;
  }

  .sot-home-feature-image img {
    height: 330px;
    min-height: 330px;
  }

  .sot-home-feature-icon,
  .sot-home-feature-reverse .sot-home-feature-icon {
    width: 60px;
    height: 60px;
    right: 18px;
    left: auto;
    bottom: -25px;
    font-size: 25px;
  }


  /* FINAL */

  .sot-home-final {
    padding: 100px 0 70px 0;
  }

  .sot-home-final-card {
    display: block;
    padding: 38px 28px;
  }

  .sot-home-final-button {
    margin-top: 30px;
  }

}



/* ==========================================================
   SOT · HOME PREMIUM · PALETTE 2026
   CSS completo per HTML di home-nuova
   #0B2948 navy | #D8DDEF lavender | #D9232E red
   #689689 muted teal | #FDFFFC porcelain
   Sostituisce il CSS precedente della homepage.
========================================================== */

.sot-home {
  --sot-navy: #0B2948;
  --sot-navy-deep: #071e35;
  --sot-lavender: #D8DDEF;
  --sot-red: #D9232E;
  --sot-red-hover: #b91d27;
  --sot-teal: #689689;
  --sot-teal-deep: #456f64;
  --sot-porcelain: #FDFFFC;
  --sot-white: #fff;
  --sot-ink: #0B2948;
  --sot-body: #40546a;
  --sot-line: rgba(11,41,72,.13);
  --sot-serif: "Cormorant Garamond", Georgia, serif;
  --sot-sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sot-sans);
  color: var(--sot-ink);
  background: var(--sot-porcelain);
  overflow: clip;
}
.sot-home *, .sot-home *::before, .sot-home *::after {box-sizing:border-box}
.sot-home img {display:block;max-width:100%;height:auto}
.sot-home a {text-decoration:none}
.sot-home a:focus-visible {outline:3px solid var(--sot-teal);outline-offset:4px}
.sot-home h1,.sot-home h2,.sot-home h3,.sot-home p {margin-top:0}
.sot-home-container {width:min(100% - 80px,1200px);margin-inline:auto}
.sot-home h2 {font-family:var(--sot-serif);font-weight:500;letter-spacing:-.035em;line-height:1.04;color:var(--sot-navy);font-size:clamp(42px,4.2vw,64px)}
.sot-home p {font-size:16px;line-height:1.75;color:var(--sot-body)}
.sot-home-eyebrow, .sot-home-light-eyebrow {display:inline-flex;align-items:center;gap:12px;font:700 11px/1.4 var(--sot-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--sot-teal-deep)}
.sot-home-eyebrow::before,.sot-home-light-eyebrow::before {content:"";width:30px;height:2px;background:var(--sot-red);flex:none}
.sot-home-btn {display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:49px;padding:12px 23px;border:1px solid var(--sot-navy);border-radius:100px;font:700 13px/1.2 var(--sot-sans);transition:background .25s,color .25s,border-color .25s,transform .25s;white-space:nowrap}
.sot-home-btn span {font-size:19px;font-weight:400;transition:transform .25s}
.sot-home-btn:hover span {transform:translateX(4px)}
.sot-home-btn:hover {transform:translateY(-2px)}
.sot-home-btn-outline {color:var(--sot-navy)!important;background:transparent}
.sot-home-btn-outline:hover {color:#fff!important;background:var(--sot-navy)}
.sot-home-btn-primary {background:var(--sot-red);border-color:var(--sot-red);color:#fff!important}
.sot-home-btn-primary:hover {background:var(--sot-red-hover);border-color:var(--sot-red-hover);color:#fff!important}

/* =============== 01. HERO =============== */
.sot-premium-hero {position:relative;display:flex;align-items:center;isolation:isolate;min-height:720px;overflow:hidden;background:var(--sot-navy);color:#fff}
.sot-premium-hero__image {position:absolute;inset:0;z-index:-3;background:url("https://sotweb.org/wp-content/uploads/2026/10/Occhio-azzurro-nella-tecnologia-visiva-home.webp") 75% center/cover no-repeat}
.sot-premium-hero__panel {position:absolute;z-index:-1;inset:-12% auto -12% -12%;width:75%;border-radius:0 50% 50% 0/0 50% 50% 0;background:linear-gradient(105deg,rgba(11,41,72,.99),rgba(11,41,72,.97) 65%,rgba(11,41,72,.90));box-shadow:22px 0 65px rgba(7,30,53,.12)}
.sot-premium-hero__panel::after {content:"";position:absolute;inset:0;border-radius:inherit;background:url("https://sotweb.org/wp-content/uploads/2026/10/Occhio-azzurro-nella-tecnologia-visiva-home.webp") left center/cover no-repeat;opacity:.045;mix-blend-mode:screen}
.sot-premium-hero__container {width:min(100% - 80px,1200px);margin:auto;padding:100px 0}
.sot-premium-hero__content {position:relative;z-index:2;max-width:650px}
.sot-premium-hero__accent {display:block;width:44px;height:3px;margin-bottom:25px;background:var(--sot-red)}
.sot-premium-hero__eyebrow {margin:0 0 23px;font:600 12px/1.5 var(--sot-sans);letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.76)!important}
.sot-premium-hero__title {margin:0!important;font:500 clamp(52px,5.2vw,77px)/.99 var(--sot-serif)!important;letter-spacing:-.035em;color:#fff!important}
.sot-premium-hero__title em {font-family:inherit;font-weight:400;font-style:italic;color:#fff!important;white-space:normal}
.sot-premium-hero__description {margin:29px 0 0;max-width:490px;font:400 clamp(16px,1.4vw,19px)/1.65 var(--sot-sans);color:rgba(255,255,255,.87)!important}
.sot-premium-hero__actions {display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:36px}
.sot-premium-hero__btn {display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 25px;border:1px solid transparent;border-radius:100px;font:700 13px/1.3 var(--sot-sans);text-decoration:none!important;transition:background .25s,color .25s,border-color .25s,transform .25s}
.sot-premium-hero__btn:hover {transform:translateY(-2px)}
.sot-premium-hero__btn--primary {background:var(--sot-red);border-color:var(--sot-red);color:#fff!important}
.sot-premium-hero__btn--primary:hover {background:var(--sot-red-hover);border-color:var(--sot-red-hover);color:#fff!important}
.sot-premium-hero__btn--outline {border-color:rgba(255,255,255,.8);background:transparent;color:#fff!important}
.sot-premium-hero__btn--outline:hover {background:rgba(255,255,255,.13);border-color:#fff;color:#fff!important}
.sot-premium-hero__index {position:absolute;right:40px;bottom:26px;font:600 10px/1.5 var(--sot-sans);letter-spacing:.18em;color:rgba(255,255,255,.7)!important}

/* =============== 02. CONGRESSO =============== */
.sot-home-congress {position:relative;padding:100px 0;background:var(--sot-lavender);overflow:hidden}
.sot-home-congress::before {content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 25%,rgba(255,255,255,.7),transparent 43%)}
.sot27-container {position:relative;width:min(100% - 80px,1200px);margin:auto}
.sot27-card {display:flex;align-items:center;gap:clamp(40px,6vw,90px)}
.sot27-content {flex:1 1 54%;min-width:0}
.sot27-visual {flex:0 1 40%;min-width:0;max-width:465px}
.sot27-topline {display:flex;align-items:center;gap:13px;font:700 11px/1.4 var(--sot-sans);letter-spacing:.16em;color:var(--sot-navy)}
.sot27-topline-line {display:inline-block;width:32px;height:2px;background:var(--sot-red)}
.sot27-heading {margin-top:21px}
.sot27-edition {display:block;margin-bottom:11px;font:700 12px/1.5 var(--sot-sans);letter-spacing:.13em;color:var(--sot-red)}
.sot27-title {margin:0 0 23px!important;font:500 clamp(56px,6vw,91px)/.9 var(--sot-serif)!important;letter-spacing:-.055em;color:var(--sot-navy)!important}
.sot27-title span {display:block}
.sot27-description {max-width:525px;margin:0 0 28px!important;color:#3f526a!important}
.sot27-event-info {display:flex;align-items:center;flex-wrap:wrap;gap:26px;margin-bottom:35px}
.sot27-event-detail {display:flex;flex-direction:column;gap:6px}
.sot27-detail-label {font:700 10px/1.4 var(--sot-sans);letter-spacing:.16em;color:#64748b}
.sot27-event-detail strong {font:700 16px/1.4 var(--sot-sans);color:var(--sot-navy)}
.sot27-detail-divider {width:1px;height:40px;background:rgba(11,41,72,.20)}
.sot27-cta {display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:12px 24px;border-radius:100px;background:var(--sot-red);color:#fff!important;font:700 13px/1.2 var(--sot-sans);transition:background .25s,transform .25s}
.sot27-cta:hover {background:var(--sot-red-hover);transform:translateY(-2px);color:#fff!important}
.sot27-cta-arrow {font-size:19px}
.sot27-poster-frame {padding:11px;background:var(--sot-porcelain);border:1px solid rgba(255,255,255,.85);border-radius:17px;box-shadow:0 24px 55px rgba(11,41,72,.13)}
.sot27-poster {width:100%;border-radius:9px;object-fit:cover}
.sot27-poster-caption {display:flex;justify-content:space-between;gap:15px;padding:15px 4px 0;font:700 10px/1.5 var(--sot-sans);letter-spacing:.1em;color:rgba(11,41,72,.66)}

/* =============== 03. SOCIETÀ =============== */
.sot-home-about {padding:110px 0;background:var(--sot-porcelain)}
.sot-home-about-grid {display:flex;align-items:center;gap:clamp(45px,7vw,110px)}
.sot-home-about-copy {flex:1 1 49%;min-width:0}
.sot-home-about-copy h2 {margin:20px 0 25px!important}
.sot-home-about-copy p {max-width:510px;margin-bottom:17px}
.sot-home-about-copy .sot-home-btn {margin-top:20px;}
.sot-home-about-image {flex:1 1 51%;min-width:0;position:relative}
.sot-home-about-image::after {content:"";position:absolute;right:-14px;bottom:-14px;width:33%;height:36%;border-right:2px solid var(--sot-teal);border-bottom:2px solid var(--sot-teal);border-radius:0 0 18px 0;pointer-events:none}
.sot-home-about-image img {width:100%;height:430px;object-fit:cover;border-radius:15px;box-shadow:0 22px 50px rgba(11,41,72,.09)}

/* =============== 04. EVENTI =============== */
.sot-home-events {padding:108px 0 116px;background:linear-gradient(180deg,#f5f7f6 0%,var(--sot-porcelain) 100%)}
.sot-home-events-layout {display:block}
.sot-home-events-intro {max-width:820px;margin-bottom:43px}
.sot-home-events-intro h2 {margin:20px 0 16px!important}
.sot-home-events-intro p {max-width:640px;margin-bottom:23px}
.sot-home-event-cards {display:flex;gap:22px;align-items:stretch}
.sot-home-event-card {flex:1 1 0;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:15px;background:#fff;color:var(--sot-navy)!important;box-shadow:0 10px 30px rgba(11,41,72,.035);transition:transform .3s,box-shadow .3s,border-color .3s}
.sot-home-event-card:hover {transform:translateY(-6px);box-shadow:0 20px 50px rgba(11,41,72,.12);border-color:rgba(104,150,137,.5)}
.sot-home-event-image {height:228px;overflow:hidden;background:var(--sot-lavender)}
.sot-home-event-image img {width:100%;height:100%;object-fit:cover;transition:transform .5s}
.sot-home-event-card:hover .sot-home-event-image img {transform:scale(1.045)}
.sot-home-event-body {position:relative;display:flex;flex-direction:column;flex:1;padding:29px 29px 34px}
.sot-home-event-kicker {margin-bottom:10px;font:700 10px/1.4 var(--sot-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--sot-teal-deep)}
.sot-home-event-body h3 {margin:0 0 11px!important;font:500 34px/1.04 var(--sot-serif);letter-spacing:-.025em;color:var(--sot-navy)}
.sot-home-event-body p {margin:0 0 25px;font-size:14px;line-height:1.65;color:var(--sot-body)}
.sot-home-card-arrow {display:flex;align-items:center;justify-content:center;align-self:flex-end;width:38px;height:38px;margin-top:auto;border:1px solid rgba(104,150,137,.55);border-radius:50%;font:400 22px/1 var(--sot-sans);color:var(--sot-teal-deep);transition:background .25s,color .25s}
.sot-home-event-card:hover .sot-home-card-arrow {background:var(--sot-teal);color:#fff}

/* =============== 05. CONCORSO FOTOGRAFICO =============== */
.sot-home-photo {padding:100px 0;background:var(--sot-teal)}
.sot-home-feature-grid {display:flex;align-items:center;gap:clamp(45px,7vw,105px)}
.sot-home-feature-image {flex:1 1 52%;min-width:0;position:relative}
.sot-home-feature-image img {width:100%;height:445px;object-fit:cover;border-radius:16px;box-shadow:0 20px 40px rgba(11,41,72,.12)}
.sot-home-feature-icon {position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:50px;height:50px;background:rgba(253,255,252,.95);color:var(--sot-teal-deep);border-radius:50%;font-size:25px;box-shadow:0 8px 30px rgba(0,0,0,.1)}
.sot-home-feature-copy {flex:1 1 48%;min-width:0}
.sot-home-feature-copy h2 {margin:20px 0 22px!important}
.sot-home-feature-copy p {margin-bottom:17px;max-width:510px}
.sot-home-feature-copy .sot-home-btn {margin-top:18px}
.sot-home-photo .sot-home-eyebrow {color:rgba(255,255,255,.85)}
.sot-home-photo .sot-home-eyebrow::before {background:#fff}
.sot-home-photo h2 {color:#fff!important}
.sot-home-photo p {color:rgba(255,255,255,.92)!important}
.sot-home-photo .sot-home-btn-outline {border-color:#fff;color:var(--sot-navy)!important;background:#fff}
.sot-home-photo .sot-home-btn-outline:hover {background:var(--sot-navy);border-color:var(--sot-navy);color:#fff!important}

/* =============== 06. CASI CLINICI =============== */
.sot-home-cases {padding:110px 0;background:var(--sot-porcelain)}
.sot-home-cases .sot-home-feature-grid {gap:clamp(45px,7vw,110px)}
.sot-home-cases .sot-home-feature-icon {background:var(--sot-lavender);color:var(--sot-navy)}

/* =============== 07. CTA FINALE =============== */
.sot-home-final {padding:0;background:var(--sot-porcelain)}
.sot-home-final .sot-home-container {width:100%;max-width:none}
.sot-home-final-card {display:flex;justify-content:space-between;align-items:center;gap:40px;padding:72px max(40px,calc((100vw - 1200px)/2));background:var(--sot-navy);color:#fff}
.sot-home-light-eyebrow {color:rgba(255,255,255,.72)}
.sot-home-final-card h2 {max-width:720px;margin:18px 0 15px!important;font-size:clamp(40px,4.3vw,65px);color:#fff!important}
.sot-home-final-card p {max-width:670px;margin:0;color:rgba(255,255,255,.76)!important}
.sot-home-final-button {display:inline-flex;align-items:center;justify-content:center;gap:24px;flex:none;min-height:54px;padding:13px 25px;border-radius:100px;background:var(--sot-red);color:#fff!important;font:700 13px/1.2 var(--sot-sans);transition:transform .25s,background .25s}
.sot-home-final-button:hover {background:var(--sot-red-hover);transform:translateY(-2px);color:#fff!important}
.sot-home-final-button span {font-size:19px;font-weight:400}

/* =============== TABLET =============== */
@media(max-width:1100px) {
  .sot-premium-hero {min-height:660px}
  .sot-premium-hero__panel {width:86%}
  .sot-premium-hero__title {font-size:clamp(49px,6vw,68px)!important}
  .sot27-card {gap:42px}
  .sot27-title {font-size:clamp(55px,6.6vw,77px)!important}
  .sot-home-about-grid,.sot-home-feature-grid {gap:45px}
  .sot-home-event-image {height:190px}
  .sot-home-event-body {padding:24px}
}

/* =============== MOBILE =============== */
@media(max-width:767px) {
  .sot-home-container,.sot27-container {width:calc(100% - 40px)}
  .sot-home h2 {font-size:clamp(39px,10vw,51px)}
  .sot-home p {font-size:16px;line-height:1.7}
  .sot-home-eyebrow,.sot-home-light-eyebrow {font-size:10px;letter-spacing:.13em}
  .sot-home-btn {min-height:46px;padding:11px 20px;font-size:12px}

  /* Hero: la foto resta sopra, dissolvenza nel blu sotto */
  .sot-premium-hero {display:block;min-height:0!important;height:auto!important;padding:0!important;background:var(--sot-navy)}
  .sot-premium-hero__image {position:absolute;inset:0 0 auto;height:330px;background-position:72% center}
  .sot-premium-hero__panel {position:absolute;z-index:-1;inset:0;width:100%;height:100%;border-radius:0;box-shadow:none;background:linear-gradient(to bottom,rgba(11,41,72,0) 0%,rgba(11,41,72,0) 19%,rgba(11,41,72,.12) 25%,rgba(11,41,72,.7) 34%,#0B2948 43%,#0B2948 100%)}
  .sot-premium-hero__panel::after {display:none}
  .sot-premium-hero__container {position:relative;z-index:2;width:calc(100% - 40px);max-width:540px;padding:275px 0 65px!important;margin:auto}
  .sot-premium-hero__content {width:100%;max-width:100%}
  .sot-premium-hero__accent {width:30px;height:3px;margin-bottom:17px}
  .sot-premium-hero__eyebrow {margin-bottom:18px;font-size:10px;letter-spacing:.14em}
  .sot-premium-hero__title {font-size:clamp(43px,10vw,52px)!important;line-height:1.02!important}
  .sot-premium-hero__description {margin-top:22px;max-width:330px;font-size:16px!important;line-height:1.65}
  .sot-premium-hero__actions {margin-top:26px;gap:12px}
  .sot-premium-hero__btn {min-height:44px;padding:12px 18px;font-size:12px}
  .sot-premium-hero__index,.sot-desktop-only {display:none!important}

  /* Congresso */
  .sot-home-congress {padding:70px 0 76px}
  .sot27-card {flex-direction:column;align-items:stretch;gap:35px}
  .sot27-content,.sot27-visual {flex:auto;width:100%;max-width:none}
  .sot27-heading {margin-top:17px}
  .sot27-title {font-size:clamp(56px,14vw,78px)!important;line-height:.93!important}
  .sot27-description {font-size:16px!important;margin-bottom:22px!important}
  .sot27-event-info {gap:20px;margin-bottom:27px}
  .sot27-event-detail strong {font-size:14px}
  .sot27-poster-frame {max-width:520px;margin:auto;padding:8px}
  .sot27-poster-caption {max-width:520px;margin:auto;font-size:9px}

  /* La Società */
  .sot-home-about {padding:76px 0 84px}
  .sot-home-about-grid {flex-direction:column;align-items:stretch;gap:34px}
  .sot-home-about-copy h2 {margin:18px 0 20px!important}
  .sot-home-about-copy .sot-home-btn {margin-top:20px}
  .sot-home-about-image img {height:290px}
  .sot-home-about-image::after {right:-8px;bottom:-8px}

  /* Eventi */
  .sot-home-events {padding:76px 0 85px}
  .sot-home-events-intro {margin-bottom:30px}
  .sot-home-events-intro h2 {margin:18px 0!important}
  .sot-home-event-cards {flex-direction:column;gap:18px}
  .sot-home-event-card {width:100%}
  .sot-home-event-image {height:230px}
  .sot-home-event-body {padding:24px}
  .sot-home-event-body h3 {font-size:34px}

  /* Concorso / Casi */
  .sot-home-photo,.sot-home-cases {padding:75px 0 82px}
  .sot-home-feature-grid,.sot-home-cases .sot-home-feature-grid {flex-direction:column;align-items:stretch;gap:30px}
  .sot-home-feature-image,.sot-home-feature-copy {flex:auto;width:100%}
  .sot-home-feature-image img {height:290px}
  .sot-home-feature-copy h2 {margin:18px 0!important}
  .sot-home-photo .sot-home-feature-image {order:2}
  .sot-home-photo .sot-home-feature-copy {order:1}
  .sot-home-cases .sot-home-feature-copy {order:1}
  .sot-home-cases .sot-home-feature-image {order:2}

  /* CTA finale */
  .sot-home-final-card {flex-direction:column;align-items:flex-start;gap:25px;padding:67px 20px 72px}
  .sot-home-final-card h2 {font-size:clamp(41px,10vw,54px)}
  .sot-home-final-button {min-height:48px}
}
@media(max-width:380px) {
  .sot-home-container,.sot27-container {width:calc(100% - 32px)}
  .sot-premium-hero__container {width:calc(100% - 32px);padding:255px 0 45px!important}
  .sot-premium-hero__title {font-size:40px!important}
  .sot-premium-hero__btn {font-size:12px;padding:11px 15px}
  .sot-home-event-image {height:195px}
}
@media(prefers-reduced-motion:reduce) {
  .sot-home *, .sot-home *::before, .sot-home *::after {transition-duration:.01ms!important;animation-duration:.01ms!important}
}




/* ======================================================
   FIX CONGRESSO SOT 2027
   Desktop + Tablet + Mobile
====================================================== */

.sot-home .sot27-card {
  display: flex;
  align-items: center;
  gap: clamp(35px, 5vw, 75px);
}

.sot-home .sot27-content {
  flex: 1 1 52%;
  min-width: 0;
}

.sot-home .sot27-visual {
  flex: 1 1 43%;
  min-width: 0;
}

/* Titolo */
.sot-home .sot27-heading {
  display: block;
  position: relative;
  height: auto;
  margin: 24px 0 25px;
}

.sot-home .sot27-edition {
  display: block;
  position: static;
  margin-bottom: 17px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .14em;
  color: #D9232E;
}

.sot-home .sot27-title {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;

  margin: 0 !important;
  padding: 0;

  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(54px, 5.3vw, 76px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -.035em;

  color: #0B2948 !important;
  overflow-wrap: normal;
  word-break: normal;
}

/* SOT 2027 sulla seconda riga */
.sot-home .sot27-title span {
  display: block;
  position: static;
  margin-top: 0;

  font: inherit;
  line-height: inherit;
  color: #0B2948 !important;
}

/* Descrizione sempre sotto il titolo */
.sot-home .sot27-description {
  display: block;
  position: static;
  clear: both;

  max-width: 480px;
  margin: 0 0 28px !important;

  font-family: "DM Sans", sans-serif;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #40546A !important;
}

/* Informazioni evento */
.sot-home .sot27-event-info {
  position: relative;
  margin-top: 10px;
}

/* Tablet */
@media (max-width: 1024px) {
  .sot-home .sot27-title {
    font-size: clamp(46px, 5.5vw, 65px) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {

  .sot-home .sot27-card {
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
  }

  .sot-home .sot27-content,
  .sot-home .sot27-visual {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .sot-home .sot27-heading {
    margin: 18px 0 23px;
  }

  .sot-home .sot27-title {
    font-size: clamp(52px, 12vw, 72px) !important;
    line-height: .96 !important;
  }

  .sot-home .sot27-description {
    max-width: 100%;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
}



/* ======================================================
   FIX EVENTI HOME SOT
   Desktop + Tablet + Mobile
====================================================== */

/* Impostazione desktop */
.sot-home .sot-home-events-layout {
  display: block;
  width: 100%;
}

.sot-home .sot-home-event-cards {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.sot-home .sot-home-event-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;

  position: relative;
  min-width: 0;
  height: auto;

  overflow: hidden;
  background: #FDFFFC;
  border-radius: 16px;
}

/* Immagine */
.sot-home .sot-home-event-image {
  position: relative;
  display: block;
  flex: none;

  width: 100%;
  height: 220px;
  min-height: 220px;

  overflow: hidden;
  background: #D8DDEF;
}

.sot-home .sot-home-event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testi */
.sot-home .sot-home-event-body {
  display: flex;
  flex-direction: column;
  flex: 1;

  height: auto;
  min-height: 0;
  padding: 28px;
}

.sot-home .sot-home-event-body h3 {
  margin: 0 0 12px !important;
  color: #0B2948 !important;
}

.sot-home .sot-home-event-body p {
  display: block;
  color: #40546A !important;
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

  .sot-home .sot-home-events {
    padding: 76px 0 85px;
    overflow: visible;
  }

  .sot-home .sot-home-events-layout {
    display: block !important;
    width: 100% !important;
  }

  .sot-home .sot-home-events-intro {
    width: 100%;
    max-width: 100%;
    margin-bottom: 32px;
  }

  /* Tre card verticali */
  .sot-home .sot-home-event-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    height: auto !important;

    gap: 20px !important;
    overflow: visible !important;
  }

  .sot-home .sot-home-event-card {
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;

    overflow: hidden;
    border-radius: 16px;
    background: #FDFFFC;

    box-shadow: 0 10px 28px rgba(11,41,72,.06);
  }

  /* Immagine completa */
  .sot-home .sot-home-event-image {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;

    flex: none !important;
    overflow: hidden;
  }

  .sot-home .sot-home-event-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center;
  }

  /* Contenuto */
  .sot-home .sot-home-event-body {
    display: flex !important;
    flex-direction: column !important;

    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 25px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sot-home .sot-home-event-kicker {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    color: #456F64;
  }

  .sot-home .sot-home-event-body h3 {
    display: block !important;
    margin-bottom: 12px !important;

    font-size: 34px !important;
    line-height: 1.1 !important;

    color: #0B2948 !important;
  }

  .sot-home .sot-home-event-body p {
    display: block !important;
    margin-bottom: 24px !important;

    font-size: 16px !important;
    line-height: 1.7 !important;

    color: #40546A !important;
  }

  .sot-home .sot-home-card-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    margin-left: auto;

    width: 38px;
    height: 38px;
    flex: none;
  }
}

/* Smartphone piccoli */
@media (max-width: 380px) {

  .sot-home .sot-home-event-image {
    height: 190px !important;
    min-height: 190px !important;
  }

  .sot-home .sot-home-event-body {
    padding: 21px !important;
  }
}



/* ======================================================
   SOT · CONCORSO FOTOGRAFICO
   PREMIUM DESIGN — 2026
====================================================== */

.sot-photo-page {
  --navy: #0B2948;
  --navy-dark: #071E35;
  --lavender: #D8DDEF;
  --red: #D9232E;
  --teal: #689689;
  --teal-dark: #456F64;
  --porcelain: #FDFFFC;
  --text: #40546A;
  --line: rgba(11,41,72,.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  width: 100%;
  margin: 0;
  color: var(--navy);
  background: var(--porcelain);
  font-family: var(--sans);
  overflow: clip;
}

.sot-photo-page *,
.sot-photo-page *::before,
.sot-photo-page *::after {
  box-sizing: border-box;
}

.sot-photo-page img {
  display: block;
  max-width: 100%;
}

.sot-photo-page a {
  text-decoration: none;
}

.sot-photo-page a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.sot-photo-container {
  width: min(100% - 80px, 1200px);
  margin-inline: auto;
}

/* TYPOGRAPHY */

.sot-photo-page h1,
.sot-photo-page h2,
.sot-photo-page h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}

.sot-photo-page h2 {
  font-size: clamp(43px, 4.7vw, 69px);
  line-height: 1.03;
  color: var(--navy);
}

.sot-photo-page p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.sot-photo-page em {
  font-weight: 400;
  font-style: italic;
}

.sot-photo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sot-photo-eyebrow::before {
  content: "";
  display: block;
  flex: none;
  width: 31px;
  height: 2px;
  background: var(--red);
}

.sot-photo-eyebrow-light {
  color: rgba(255,255,255,.77);
}

/* BUTTONS */

.sot-photo-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  width: fit-content;
  min-height: 51px;
  padding: 13px 25px;
  border-radius: 100px;
  font: 500 16px/1.3 var(--sans);
  transition:
    background .25s,
    color .25s,
    transform .25s;
}

.sot-photo-btn span {
  font-size: 19px;
  font-weight: 400;
  transition: transform .25s;
}

.sot-photo-btn:hover {
  transform: translateY(-2px);
}

.sot-photo-btn:hover span {
  transform: translate(3px,-3px);
}

.sot-photo-btn-red {
  background: var(--red);
  color: #fff !important;
}

.sot-photo-btn-red:hover {
  background: #B91D27;
  color: #fff !important;
}

.sot-photo-btn-white {
  background: #fff;
  color: var(--navy) !important;
}

.sot-photo-btn-white:hover {
  background: var(--lavender);
  color: var(--navy) !important;
}

/* ======================================================
   01 — HERO
====================================================== */

.sot-photo-hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: 630px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.sot-photo-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(11,41,72,.99) 0%,
      rgba(11,41,72,.96) 35%,
      rgba(11,41,72,.72) 57%,
      rgba(11,41,72,.13) 100%
    ),
    url("https://sotweb.org/wp-content/uploads/2026/10/Fotocamera-e-iride-in-primo-piano.webp");

  background-size: cover;
  background-position: center, 75% center;
  background-repeat: no-repeat;
}

.sot-photo-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -190px;
  bottom: -340px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
}

.sot-photo-hero .sot-photo-container {
  padding-block: 115px;
}

.sot-photo-hero-content {
  max-width: 670px;
}

.sot-photo-hero h1 {
  margin: 27px 0;
  font-size: clamp(55px, 6vw, 89px);
  line-height: .99;
  font-weight: 500;
  color: #fff !important;
}

.sot-photo-hero h1 em {
  color: #fff;
}

.sot-photo-hero p {
  max-width: 490px;
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}

.sot-photo-hero-mark {
  position: absolute;
  right: 40px;
  bottom: 27px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(255,255,255,.7);
}

/* ======================================================
   02 — INTRODUZIONE
====================================================== */

.sot-photo-about {
  padding: 125px 0;
  background: var(--porcelain);
}

.sot-photo-about-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(65px, 9vw, 160px);
}

.sot-photo-about-heading {
  flex: 1 1 53%;
  min-width: 0;
}

.sot-photo-about-heading h2 {
  margin: 23px 0 0;
}

.sot-photo-about-content {
  flex: 1 1 47%;
  min-width: 0;
  padding-top: 28px;
}

.sot-photo-about-content p {
  margin: 0 0 19px;
}

.sot-photo-about-content .sot-photo-lead {
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -.015em;
}

/* ======================================================
   03 — SHOWCASE FOTOGRAFICO
====================================================== */

.sot-photo-showcase {
  padding: 100px 0 105px;
  background: var(--teal);
}

.sot-photo-showcase-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 43px;
}

.sot-photo-showcase-heading h2 {
  margin: 18px 0 0;
  color: #fff !important;
}

.sot-photo-showcase-heading p {
  max-width: 295px;
  margin: 0 0 6px;
  color: rgba(255,255,255,.88);
}

.sot-photo-showcase-grid {
  display: flex;
  align-items: stretch;
  gap: 22px;
  height: 510px;
}

.sot-photo-showcase-main {
  position: relative;
  flex: 1.6;
  min-width: 0;
  overflow: hidden;
  border-radius: 17px;
  background: var(--navy);
}

.sot-photo-showcase-main::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(
    transparent,
    rgba(7,30,53,.85)
  );
}

.sot-photo-showcase-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sot-photo-showcase-overlay {
  position: absolute;
  z-index: 2;
  left: 35px;
  right: 35px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.sot-photo-showcase-overlay span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.sot-photo-showcase-overlay strong {
  font: 500 43px/1.05 var(--serif);
  letter-spacing: -.025em;
}

.sot-photo-showcase-side {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 22px;
}

.sot-photo-showcase-small {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 17px;
}

.sot-photo-showcase-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sot-photo-showcase-quote {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 30px 35px;
  border-radius: 17px;
  background: var(--navy);
  color: #fff;
}

.sot-photo-quote-symbol {
  height: 34px;
  font: 500 70px/1 var(--serif);
  color: var(--teal);
}

.sot-photo-showcase-quote p {
  max-width: 350px;
  margin: 12px 0 18px;
  font: 500 30px/1.13 var(--serif);
  color: #fff;
}

.sot-photo-quote-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.sot-photo-showcase-note {
  margin: 18px 0 0;
  font-size: 11px !important;
  color: rgba(255,255,255,.85) !important;
}

/* ======================================================
   04 — COME PARTECIPARE
====================================================== */

.sot-photo-steps {
  padding: 125px 0;
  background: var(--porcelain);
}

.sot-photo-section-heading {
  max-width: 700px;
  margin-bottom: 60px;
}

.sot-photo-section-heading h2 {
  margin: 22px 0;
}

.sot-photo-section-heading p {
  max-width: 510px;
  margin: 0;
}

.sot-photo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
}

.sot-photo-step {
  position: relative;
  min-width: 0;
  padding: 34px 32px 38px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition:
    transform .25s,
    box-shadow .25s;
}

.sot-photo-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(11,41,72,.07);
}

.sot-photo-step-number {
  font: 500 48px/1 var(--serif);
  color: var(--teal);
}

.sot-photo-step-line {
  width: 100%;
  height: 1px;
  margin: 25px 0;
  background: var(--line);
}

.sot-photo-step h3 {
  margin: 0 0 13px;
  font-size: 36px;
  line-height: 1.1;
  color: var(--navy);
}

.sot-photo-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

/* ======================================================
   05 — INFORMAZIONI
====================================================== */

.sot-photo-info {
  padding: 115px 0;
  background: var(--lavender);
}

.sot-photo-info-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(60px, 8vw, 130px);
}

.sot-photo-info-intro {
  flex: 1 1 43%;
  min-width: 0;
}

.sot-photo-info-intro h2 {
  margin: 23px 0;
}

.sot-photo-info-intro p {
  max-width: 420px;
  margin-bottom: 28px;
}

.sot-photo-text-link {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 8px;
  font: 700 13px/1.4 var(--sans);
  color: var(--navy) !important;
}

.sot-photo-text-link span {
  font-size: 20px;
  font-weight: 400;
}

.sot-photo-info-list {
  flex: 1 1 57%;
  min-width: 0;
  border-top: 1px solid rgba(11,41,72,.22);
}

.sot-photo-info-item {
  
  padding: 29px 0;
  border-bottom: 1px solid rgba(11,41,72,.2);
}

.sot-photo-info-num {
  padding-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-dark);
}

.sot-photo-info-item h3 {
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.1;
  color: var(--navy);
}

.sot-photo-info-item p {
  max-width: 400px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.sot-photo-info-icon {
  font-size: 18px;
  color: var(--teal-dark);
}

/* ======================================================
   06 — CTA FINALE
====================================================== */

.sot-photo-final {
  padding: 95px 0;
  background: var(--navy);
}

.sot-photo-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.sot-photo-final-copy {
  max-width: 760px;
}

.sot-photo-final h2 {
  margin: 23px 0 18px;
  color: #fff !important;
}

.sot-photo-final p {
  max-width: 480px;
  margin: 0;
  color: rgba(255,255,255,.78);
}

.sot-photo-final .sot-photo-btn {
  flex: none;
}

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

@media (max-width: 1024px) {

  .sot-photo-container {
    width: calc(100% - 64px);
  }

  .sot-photo-hero {
    min-height: 570px;
  }

  .sot-photo-hero h1 {
    font-size: clamp(52px, 6.5vw, 76px);
  }

  .sot-photo-about-layout,
  .sot-photo-info-layout {
    gap: 45px;
  }

  .sot-photo-showcase-grid {
    height: 430px;
  }

  .sot-photo-showcase-quote {
    padding: 24px;
  }

  .sot-photo-showcase-quote p {
    font-size: 25px;
  }

  .sot-photo-step {
    padding: 27px 23px;
  }

  .sot-photo-final-inner {
    gap: 35px;
  }
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

  .sot-photo-container {
    width: calc(100% - 40px);
  }

  .sot-photo-page h2 {
    font-size: clamp(42px, 10vw, 55px);
  }

  .sot-photo-page p {
    font-size: 16px;
  }

  .sot-photo-eyebrow {
    font-size: 10px;
    letter-spacing: .13em;
  }

  /* Hero con immagine in alto */

  .sot-photo-hero {
    display: block;
    min-height: 0;
    background: var(--navy);
  }

  .sot-photo-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(11,41,72,.08) 0%,
        rgba(11,41,72,.1) 15%,
        rgba(11,41,72,.7) 33%,
        #0B2948 44%,
        #0B2948 100%
      ),
      url("https://sotweb.org/wp-content/uploads/2026/10/Fotocamera-e-iride-in-primo-piano.webp");

    background-size: cover, 100% 330px;
    background-position: center, top center;
    background-repeat: no-repeat;
  }

  .sot-photo-hero::after {
    display: none;
  }

  .sot-photo-hero .sot-photo-container {
    padding-top: 275px;
    padding-bottom: 75px;
  }

  .sot-photo-hero h1 {
    margin: 20px 0;
    font-size: clamp(47px, 11vw, 62px);
    line-height: 1.01;
  }

  .sot-photo-hero p {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 26px;
    padding-top:10px;
    color:white;
  }

  .sot-photo-hero-mark {
    display: none;
  }

  .sot-photo-btn {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 12px;
  }

  /* Introduzione */

  .sot-photo-about {
    padding: 77px 0 85px;
  }

  .sot-photo-about-layout {
    flex-direction: column;
    gap: 22px;
  }

  .sot-photo-about-heading,
  .sot-photo-about-content {
    flex: none;
    width: 100%;
  }

  .sot-photo-about-content {
    padding-top: 0;
  }

  .sot-photo-about-content .sot-photo-lead {
    font-size: 27px;
  }

  /* Showcase */

  .sot-photo-showcase {
    padding: 75px 0 82px;
  }

  .sot-photo-showcase-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 30px;
  }

  .sot-photo-showcase-heading p {
    max-width: 420px;
  }

  .sot-photo-showcase-grid {
    flex-direction: column;
    height: auto;
    gap: 15px;
  }

  .sot-photo-showcase-main {
    flex: none;
    height: 340px;
  }

  .sot-photo-showcase-overlay {
    left: 23px;
    right: 23px;
    bottom: 23px;
  }

  .sot-photo-showcase-overlay strong {
    font-size: 34px;
  }

  .sot-photo-showcase-side {
    flex: none;
    flex-direction: row;
    height: 205px;
    gap: 15px;
  }

  .sot-photo-showcase-small,
  .sot-photo-showcase-quote {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
  }

  .sot-photo-showcase-quote {
    padding: 18px;
  }

  .sot-photo-quote-symbol {
    font-size: 46px;
    height: 23px;
  }

  .sot-photo-showcase-quote p {
    font-size: 21px;
    line-height: 1.13;
    margin: 10px 0;
  }

  .sot-photo-quote-caption {
    font-size: 8px;
    letter-spacing: .07em;
  }

  /* Partecipazione */

  .sot-photo-steps {
    padding: 78px 0 85px;
  }

  .sot-photo-section-heading {
    margin-bottom: 32px;
  }

  .sot-photo-steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .sot-photo-step {
    padding: 27px 27px 30px;
  }

  .sot-photo-step-number {
    font-size: 42px;
  }

  .sot-photo-step-line {
    margin: 19px 0;
  }

  .sot-photo-step h3 {
    font-size: 33px;
  }

  /* Informazioni */

  .sot-photo-info {
    padding: 80px 0 85px;
  }

  .sot-photo-info-layout {
    flex-direction: column;
    gap: 38px;
  }

  .sot-photo-info-intro,
  .sot-photo-info-list {
    flex: none;
    width: 100%;
  }

  .sot-photo-info-item {
    grid-template-columns: 25px minmax(0,1fr) 18px;
    gap: 12px;
    padding: 24px 0;
  }

  .sot-photo-info-item h3 {
    font-size: 26px;
  }

  /* CTA finale */

  .sot-photo-final {
    padding: 78px 0;
  }

  .sot-photo-final-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .sot-photo-final-copy {
    width: 100%;
  }
}

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

@media (max-width: 380px) {

  .sot-photo-container {
    width: calc(100% - 32px);
  }

  .sot-photo-hero .sot-photo-container {
    padding-top: 255px;
    padding-bottom: 65px;
  }

  .sot-photo-hero h1 {
    font-size: 43px;
  }

  .sot-photo-showcase-side {
    flex-direction: column;
    height: auto;
  }

  .sot-photo-showcase-small {
    height: 180px;
    flex: none;
  }

  .sot-photo-showcase-quote {
    min-height: 185px;
    flex: none;
  }
}

/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {
  .sot-photo-page *,
  .sot-photo-page *::before,
  .sot-photo-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}



/* ==========================================================
   SOT — ARCHIVIO GENERALE
   PREMIUM DESIGN 2026
   Desktop / Tablet / Mobile
========================================================== */

.sot-archive-page {
  --navy: #0B2948;
  --navy-dark: #071E35;
  --lavender: #D8DDEF;
  --red: #D9232E;
  --red-hover: #B91D27;
  --teal: #689689;
  --teal-dark: #456F64;
  --porcelain: #FDFFFC;
  --text: #40546A;
  --muted: #728398;
  --line: rgba(11,41,72,.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--porcelain);
  overflow: clip;
}

.sot-archive-page *,
.sot-archive-page *::before,
.sot-archive-page *::after {
  box-sizing: border-box;
}

.sot-archive-page img {
  display: block;
  max-width: 100%;
}

.sot-archive-page a {
  text-decoration: none;
}

.sot-archive-page a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.sot-archive-container {
  width: min(100% - 80px, 1200px);
  margin-inline: auto;
}

/* =============== TYPOGRAPHY =============== */

.sot-archive-page h1,
.sot-archive-page h2,
.sot-archive-page h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}

.sot-archive-page h2 {
  margin: 0;
  font-size: clamp(42px, 4.7vw, 69px);
  line-height: 1.04;
  color: var(--navy);
}

.sot-archive-page p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.sot-archive-page em {
  font-style: italic;
  font-weight: 400;
}

/* Kicker */

.sot-archive-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;

  color: var(--teal-dark);
}

.sot-archive-eyebrow::before {
  content: "";
  flex: none;
  width: 31px;
  height: 2px;
  background: var(--red);
}

.sot-archive-eyebrow-light {
  color: rgba(255,255,255,.78);
}

/* Pulsanti */

.sot-archive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  min-height: 51px;
  width: fit-content;
  padding: 13px 25px;

  border: 1px solid transparent;
  border-radius: 100px;

  font: 700 13px/1.3 var(--sans);
  text-decoration: none !important;

  transition:
    background .25s,
    color .25s,
    transform .25s;
}

.sot-archive-btn span {
  font-size: 19px;
  font-weight: 400;
  transition: transform .25s;
}

.sot-archive-btn:hover {
  transform: translateY(-2px);
}

.sot-archive-btn:hover span {
  transform: translate(3px,-3px);
}

.sot-archive-btn-primary {
  color: #fff !important;
  background: var(--red);
}

.sot-archive-btn-primary:hover {
  color: #fff !important;
  background: var(--red-hover);
}

.sot-archive-btn-white {
  color: var(--navy) !important;
  background: #fff;
}

.sot-archive-btn-white:hover {
  color: var(--navy) !important;
  background: var(--lavender);
}

/* ==========================================================
   01 — HERO
========================================================== */

.sot-archive-hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;

  min-height: 460px;
  overflow: hidden;
  background: var(--porcelain);
}

.sot-archive-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(253,255,252,1) 0%,
      rgba(253,255,252,.99) 25%,
      rgba(253,255,252,.90) 43%,
      rgba(216,221,239,.45) 65%,
      rgba(216,221,239,.07) 100%
    ),
    url("https://sotweb.org/wp-content/uploads/2026/10/Occhio-azzurro-nella-tecnologia-visiva-home.webp");

  background-size: cover;
  background-position: center, 75% center;
  background-repeat: no-repeat;
}

.sot-archive-hero .sot-archive-container {
  padding-block: 85px;
}

.sot-archive-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.sot-archive-hero h1 {
  margin: 24px 0;

  font-size: clamp(56px, 6vw, 88px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.045em;

  color: var(--navy) !important;
}

.sot-archive-hero h1 em {
  color: var(--teal-dark);
}

.sot-archive-hero p {
  max-width: 510px;
  margin: 0 0 31px;

  font-size: 16px;
  line-height: 1.75;
}

.sot-archive-hero-mark {
  position: absolute;
  right: 35px;
  bottom: 24px;

  color: rgba(11,41,72,.6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
}

/* ==========================================================
   02 — INTRODUZIONE
========================================================== */

.sot-archive-intro {
  padding: 105px 0;
  background: var(--porcelain);
}

.sot-archive-intro-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(60px, 9vw, 150px);
}

.sot-archive-intro-layout > div:first-child {
  flex: 1 1 53%;
  min-width: 0;
}

.sot-archive-intro-layout h2 {
  margin: 23px 0 0;
}

.sot-archive-intro-text {
  flex: 1 1 47%;
  min-width: 0;
  padding-top: 22px;
}

.sot-archive-intro-text p {
  margin: 0 0 18px;
}

.sot-archive-intro-text .sot-archive-lead {
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--navy);
}

/* ==========================================================
   03 — CATEGORIE ARCHIVIO
========================================================== */

.sot-archive-categories {
  padding: 105px 0 120px;
  background: #F5F7F8;
}

.sot-archive-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 55px;
  margin-bottom: 42px;
}

.sot-archive-section-head h2 {
  margin: 20px 0 0;
}

.sot-archive-section-head > p {
  max-width: 340px;
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.7;
}

/* Griglia 2 colonne */

.sot-archive-category-grid {
  display: flex;
  gap: 15px;
}

/* Card */

.sot-archive-category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--navy) !important;

  box-shadow: 0 8px 25px rgba(11,41,72,.04);

  transition:
    transform .3s,
    box-shadow .3s,
    border-color .3s;
}

.sot-archive-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(104,150,137,.55);
  box-shadow: 0 20px 50px rgba(11,41,72,.11);
}

.sot-archive-category-image {
  position: relative;
  height: 275px;
  overflow: hidden;
  background: var(--lavender);
}

.sot-archive-category-image::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  pointer-events: none;
  background: linear-gradient(
    transparent,
    rgba(7,30,53,.35)
  );
}

.sot-archive-category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.sot-archive-category-card:hover
.sot-archive-category-image img {
  transform: scale(1.045);
}

.sot-archive-category-number {
  position: absolute;
  z-index: 2;
  top: 21px;
  right: 22px;

  display: inline-flex;
  padding: 9px 13px;

  border-radius: 100px;
  background: rgba(253,255,252,.94);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--navy);
}

/* Corpo card */

.sot-archive-category-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 33px 35px 36px;
}

.sot-archive-category-label {
  display: block;
  margin-bottom: 12px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: var(--teal-dark);
}

.sot-archive-category-body h3 {
  margin: 0 0 13px;

  font-family: var(--serif);
  font-size: clamp(35px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.035em;

  color: var(--navy) !important;
}

.sot-archive-category-body p {
  max-width: 460px;
  margin: 0 0 28px;

  font-size: 14px;
  line-height: 1.75;
}

.sot-archive-category-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);

  color: var(--navy);
  font: 700 13px/1.4 var(--sans);
}

.sot-archive-category-link span {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(104,150,137,.5);

  font-size: 17px;
  color: var(--teal-dark);

  transition: background .25s,color .25s;
}

.sot-archive-category-card:hover
.sot-archive-category-link span {
  color: #fff;
  background: var(--teal);
}

/* ==========================================================
   04 — FOCUS CONGRESSI
========================================================== */

.sot-archive-focus {
  padding: 110px 0;
  background: var(--teal);
}

.sot-archive-focus-layout {
  display: flex;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.sot-archive-focus-copy {
  flex: 1 1 48%;
  min-width: 0;
}

.sot-archive-focus-copy h2 {
  margin: 23px 0 25px;
  color: #fff !important;
}

.sot-archive-focus-copy p {
  max-width: 520px;
  margin: 0 0 17px;
  color: rgba(255,255,255,.9);
}

.sot-archive-focus-copy .sot-archive-btn {
  margin-top: 23px;
}

.sot-archive-focus-visual {
  position: relative;
  flex: 1 1 52%;
  min-width: 0;
  height: 435px;
  overflow: hidden;

  border-radius: 17px;
  background: var(--navy);

  box-shadow: 0 25px 50px rgba(7,30,53,.16);
}

.sot-archive-focus-visual::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;

  background: linear-gradient(
    transparent,
    rgba(7,30,53,.82)
  );
}

.sot-archive-focus-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sot-archive-focus-caption {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 32px;
  right: 32px;

  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.sot-archive-focus-caption span {
  font: 700 10px/1.5 var(--sans);
  letter-spacing: .14em;
}

.sot-archive-focus-caption strong {
  font: 500 35px/1.15 var(--serif);
  letter-spacing: -.025em;
}

/* ==========================================================
   05 — ALTRE RISORSE
========================================================== */

.sot-archive-resources {
  padding: 110px 0 120px;
  background: var(--porcelain);
}

.sot-archive-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sot-archive-resource {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  min-height: 270px;

  padding: 32px 29px;

  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--navy) !important;

  transition:
    background .25s,
    border-color .25s,
    transform .25s;
}

.sot-archive-resource:hover {
  transform: translateY(-4px);
  border-color: rgba(104,150,137,.5);
  background: #F3F7F5;
}

.sot-archive-resource-index {
  width: fit-content;
  margin-bottom: 27px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);

  font: 600 12px/1.4 var(--sans);
  color: var(--teal-dark);
}

.sot-archive-resource-content {
  flex: 1;
}

.sot-archive-resource-content > span {
  display: block;
  margin-bottom: 12px;

  font: 700 10px/1.4 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.sot-archive-resource h3 {
  margin: 0 0 12px;

  font: 500 35px/1.07 var(--serif);
  letter-spacing: -.025em;
  color: var(--navy) !important;
}

.sot-archive-resource p {
  max-width: 300px;
  margin: 0 0 17px;
  font-size: 13px;
  line-height: 1.7;
}

.sot-archive-resource-arrow {
  align-self: flex-end;
  display: grid;
  place-items: center;

  width: 37px;
  height: 37px;
  border: 1px solid rgba(104,150,137,.6);
  border-radius: 50%;

  color: var(--teal-dark);
  font-size: 18px;

  transition: background .25s,color .25s;
}

.sot-archive-resource:hover .sot-archive-resource-arrow {
  background: var(--teal);
  color: #fff;
}

/* ==========================================================
   06 — CTA FINALE
========================================================== */

.sot-archive-final {
  padding: 95px 0;
  background: var(--navy);
}

.sot-archive-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.sot-archive-final-copy {
  max-width: 790px;
}

.sot-archive-final h2 {
  margin: 22px 0 20px;
  color: #fff !important;
}

.sot-archive-final p {
  max-width: 515px;
  margin: 0;
  color: rgba(255,255,255,.8);
}

.sot-archive-final .sot-archive-btn {
  flex: none;
}

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

@media (max-width: 1024px) {

  .sot-archive-container {
    width: calc(100% - 64px);
  }

  .sot-archive-hero {
    min-height: 420px;
  }

  .sot-archive-hero h1 {
    font-size: clamp(52px, 6vw, 75px);
  }

  .sot-archive-intro-layout,
  .sot-archive-focus-layout {
    gap: 45px;
  }

  .sot-archive-category-image {
    height: 230px;
  }

  .sot-archive-category-body {
    padding: 28px;
  }

  .sot-archive-focus-visual {
    height: 380px;
  }

  .sot-archive-resources-grid {
    gap: 15px;
  }

  .sot-archive-resource {
    padding: 26px 23px;
  }

  .sot-archive-resource h3 {
    font-size: 30px;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

  .sot-archive-container {
    width: calc(100% - 40px);
  }

  .sot-archive-page h2 {
    font-size: clamp(41px, 10vw, 55px);
  }

  .sot-archive-page p {
    font-size: 14px;
  }

  .sot-archive-eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .sot-archive-btn {
    min-height: 46px;
    padding: 12px 21px;
    font-size: 12px;
  }

  /* Hero */

  .sot-archive-hero {
    min-height: 0;
    display: block;
  }

  .sot-archive-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(253,255,252,.24) 0%,
        rgba(253,255,252,.55) 35%,
        rgba(253,255,252,.95) 73%,
        #FDFFFC 100%
      ),
      url("https://sotweb.org/wp-content/uploads/2026/10/Occhio-azzurro-nella-tecnologia-visiva-home.webp");

    background-size: cover, 100% 320px;
    background-position: center, top center;
    background-repeat: no-repeat;
  }

  .sot-archive-hero .sot-archive-container {
    padding-top: 275px;
    padding-bottom: 72px;
  }

  .sot-archive-hero h1 {
    margin: 20px 0;
    font-size: clamp(51px, 12vw, 67px);
    line-height: 1.01;
  }

  .sot-archive-hero p {
    max-width: 360px;
    font-size: 14px;
  }

  .sot-archive-hero-mark {
    display: none;
  }

  /* Intro */

  .sot-archive-intro {
    padding: 75px 0 83px;
  }

  .sot-archive-intro-layout {
    flex-direction: column;
    gap: 25px;
  }

  .sot-archive-intro-layout > div:first-child,
  .sot-archive-intro-text {
    flex: none;
    width: 100%;
  }

  .sot-archive-intro-layout h2 {
    margin-top: 18px;
  }

  .sot-archive-intro-text {
    padding: 0;
  }

  .sot-archive-intro-text .sot-archive-lead {
    font-size: 27px;
  }

  /* Categorie */

  .sot-archive-categories {
    padding: 78px 0 85px;
  }

  .sot-archive-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
  }

  .sot-archive-section-head h2 {
    margin-top: 18px;
  }

  .sot-archive-section-head > p {
    max-width: 430px;
  }

  .sot-archive-category-grid {
    flex-direction: column;
    gap: 20px;
    
  }

  .sot-archive-category-image {
    height: 230px;
  }

  .sot-archive-category-body {
    padding: 26px 25px 28px;
  }

  .sot-archive-category-body h3 {
    font-size: 39px;
  }

  .sot-archive-category-body p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Focus */

  .sot-archive-focus {
    padding: 77px 0 85px;
  }

  .sot-archive-focus-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .sot-archive-focus-copy,
  .sot-archive-focus-visual {
    flex: none;
    width: 100%;
  }

  .sot-archive-focus-copy h2 {
    margin: 19px 0 20px;
  }

  .sot-archive-focus-copy .sot-archive-btn {
    margin-top: 15px;
  }

  .sot-archive-focus-visual {
    height: 310px;
  }

  .sot-archive-focus-caption {
    left: 23px;
    right: 23px;
    bottom: 23px;
  }

  .sot-archive-focus-caption strong {
    font-size: 29px;
  }

  /* Altre risorse */

  .sot-archive-resources {
    padding: 78px 0 85px;
  }

  .sot-archive-resources-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .sot-archive-resource {
    min-height: 0;
    padding: 27px;
  }

  .sot-archive-resource-index {
    margin-bottom: 22px;
  }

  .sot-archive-resource h3 {
    font-size: 34px;
  }

  /* CTA finale */

  .sot-archive-final {
    padding: 79px 0;
  }

  .sot-archive-final-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .sot-archive-final-copy {
    width: 100%;
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

  .sot-archive-container {
    width: calc(100% - 32px);
  }

  .sot-archive-hero .sot-archive-container {
    padding-top: 255px;
  }

  .sot-archive-hero h1 {
    font-size: 46px;
  }

  .sot-archive-category-image {
    height: 195px;
  }

  .sot-archive-category-body {
    padding: 23px 21px;
  }

  .sot-archive-focus-visual {
    height: 270px;
  }
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

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

  .sot-archive-page *,
  .sot-archive-page *::before,
  .sot-archive-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}





/* =========================================================
   SOT — HEADER UNICO RESPONSIVE
   Desktop >=1200px | Mobile/tablet <=1199px
   Compatibile con header.php indipendente
========================================================= */
#site-header.sot-site-header,
#site-header.sot-site-header * { box-sizing:border-box; }

#site-header.sot-site-header {
  --sh-navy:#0c2f62;
  --sh-red:#d9232e;
  --sh-line:#e1e8ef;
  position:sticky;
  top:0;
  z-index:9999;
  width:100%;
  margin:0;
  padding:0;
  background:rgba(255,255,255,.98);
  border:0;
  border-bottom:1px solid var(--sh-line);
  box-shadow:0 3px 20px rgba(12,47,98,.055);
  backdrop-filter:blur(12px);
}
body.admin-bar #site-header.sot-site-header { top:32px; }

#site-header.sot-site-header .sot-header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  width:min(calc(100% - 40px),1380px);
  min-height:82px;
  max-width:1380px;
  margin:0 auto;
  padding:0;
  gap:16px;
  border:0;
}
#site-header.sot-site-header .sot-header-brand {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-width:0;
  gap:12px;
}
#site-header.sot-site-header .sot-header-brand .header-titles,
#site-header.sot-site-header .sot-header-brand .site-logo,
#site-header.sot-site-header .sot-header-brand .site-logo a {
  display:flex;
  align-items:center;
  padding:0;
  margin:0;
}
#site-header.sot-site-header .sot-header-brand .custom-logo,
#site-header.sot-site-header .sot-header-brand .site-logo img {
  display:block;
  width:auto;
  height:auto;
  max-width:120px;
  max-height:100px;
  object-fit:contain;
}
#site-header.sot-site-header .sot-header-brand-text {
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  line-height:1.2;
  text-decoration:none!important;
}
#site-header.sot-site-header .sot-brand-name,
#site-header.sot-site-header .sot-brand-subname {
  display:block;
  white-space:nowrap;
  font-family:Inter,Arial,sans-serif!important;
}
#site-header.sot-site-header .sot-brand-name { color:#0c2f62!important; font-size:13px!important; font-weight:700; }
#site-header.sot-site-header .sot-brand-subname { color:#6f7e91!important; font-size:11px!important; font-weight:500; letter-spacing:.04em; }
#site-header.sot-site-header .sot-brand-fallback { color:#0c2f62; font-size:30px; font-weight:800; text-decoration:none; }

/* Menu desktop */
#site-header.sot-site-header .sot-header-navigation {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:1 1 auto;
  min-width:0;
}
#site-header.sot-site-header .sot-header-navigation .primary-menu-wrapper {
  display:block;
  width:auto;
  max-width:none;
  margin:0;
}
#site-header.sot-site-header .sot-header-navigation ul.primary-menu {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(8px,1vw,18px);
  width:auto;
  margin:0;
  padding:0;
}
#site-header.sot-site-header .sot-header-navigation .primary-menu > li {
  position:relative;
  flex:0 0 auto;
  margin:0!important;
  padding:0!important;
}
body:not(.overlay-header) #site-header.sot-site-header .sot-header-navigation .primary-menu > li > a {
  display:inline-flex;
  align-items:center;
  position:relative;
  padding:30px 0!important;
  color:#20334e!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:500;
  line-height:1.4;
  white-space:nowrap;
  border:0!important;
  text-decoration:none!important;
}
#site-header.sot-site-header .sot-header-navigation .primary-menu > li > a::after {
  content:"";
  position:absolute;
  height:2px;
  left:0;
  right:0;
  bottom:21px;
  background:#d9232e;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
#site-header.sot-site-header .sot-header-navigation .primary-menu > li:hover > a::after,
#site-header.sot-site-header .sot-header-navigation .primary-menu > li.current-menu-item > a::after,
#site-header.sot-site-header .sot-header-navigation .primary-menu > li.current-menu-ancestor > a::after { transform:scaleX(1); }
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu {
  top:100%;
  left:-16px;
  min-width:220px;
  width:max-content;
  max-width:300px;
  margin:0!important;
  padding:9px!important;
  background:#fff!important;
  border:1px solid #e1e8ef;
  border-radius:11px;
  box-shadow:0 18px 45px rgba(12,47,98,.13);
}
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu::before,
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu::after { display:none!important; }
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu li { margin:0!important; }
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu a {
  display:block;
  padding:11px 15px!important;
  border:0!important;
  border-radius:6px;
  color:#20334e!important;
  background:transparent!important;
  text-decoration:none!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.4;
}
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu a:hover { background:#f2f7fc!important; }
#site-header.sot-site-header .sot-header-navigation .primary-menu .sub-menu .sub-menu { top:-9px; left:100%; }

/* CTA */
#site-header.sot-site-header .sot-header-actions {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:10px;
  margin-left:0;
}
#site-header.sot-site-header .sot-header-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:11px 17px;
  white-space:nowrap;
  color:#fff!important;
  background:#d9232e;
  border:1px solid #d9232e;
  border-radius:99px;
  font-family:Inter,Arial,sans-serif!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
  line-height:1.2;
  transition:background .2s ease;
}
#site-header.sot-site-header .sot-header-cta:hover { background:#bd1721; }
#site-header.sot-site-header .sot-header-cta svg { flex-shrink:0; }

/* Default desktop: hamburger e pannello spenti */
#site-header.sot-site-header button.sot-mobile-trigger { display:none!important; }
#sot-mobile-panel.sot-mobile-panel { display:none!important; }

/* Laptop da 1200 a 1399: liberiamo spazio per il menu */
@media (min-width:1200px) and (max-width:1399px) {
  #site-header.sot-site-header .sot-header-brand-text { display:none!important; }
  #site-header.sot-site-header .sot-header-inner { gap:12px; }
  #site-header.sot-site-header .sot-header-navigation ul.primary-menu { gap:9px; }
  body:not(.overlay-header) #site-header.sot-site-header .sot-header-navigation .primary-menu > li > a { font-size:12px!important; }
  #site-header.sot-site-header .sot-header-cta { padding:11px 12px; font-size:12px; }
}

/* Tablet e smartphone: navigazione desktop spenta */
@media (max-width:1199px) {
  #site-header.sot-site-header .sot-header-navigation { display:none!important; }
  #site-header.sot-site-header .sot-header-inner { min-height:76px; }
  #site-header.sot-site-header .sot-header-actions { margin-left:auto; }
  #site-header.sot-site-header button.sot-mobile-trigger {
    display:flex!important;
    align-items:center;
    justify-content:center;
    position:relative;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin:0!important;
    padding:0!important;
    background:#f1f6fb!important;
    border:1px solid #dfe7ef!important;
    border-radius:9px;
    visibility:visible!important;
    opacity:1!important;
    cursor:pointer;
  }
  #site-header.sot-site-header .sot-trigger-lines { display:flex; flex-direction:column; justify-content:space-between; width:19px; height:16px; }
  #site-header.sot-site-header .sot-trigger-lines span { display:block; width:100%; height:2px; background:#0c2f62; border-radius:2px; transition:transform .2s,opacity .2s; }
  #site-header.sot-site-header .sot-mobile-trigger.is-active .sot-trigger-lines span:first-child { transform:translateY(7px) rotate(45deg); }
  #site-header.sot-site-header .sot-mobile-trigger.is-active .sot-trigger-lines span:nth-child(2) { opacity:0; }
  #site-header.sot-site-header .sot-mobile-trigger.is-active .sot-trigger-lines span:last-child { transform:translateY(-7px) rotate(-45deg); }

  #sot-mobile-panel.sot-mobile-panel {
    display:block!important;
    position:fixed;
    top:var(--sot-mobile-top,76px)!important;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    z-index:9998;
    background:#fff;
    border-top:1px solid #e1e8ef;
    overflow:auto;
    overscroll-behavior:contain;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-9px);
    transition:opacity .2s,transform .2s,visibility .2s;
  }
  #sot-mobile-panel.sot-mobile-panel.is-open { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  body.sot-menu-open { overflow:hidden; }
  .sot-mobile-nav { width:min(calc(100% - 40px),560px); margin:0 auto; padding:22px 0 60px; }
  .sot-mobile-menu,.sot-mobile-menu ul { list-style:none!important; margin:0!important; padding:0; }
  .sot-mobile-menu li { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 42px; align-items:center; column-gap:8px; width:100%; min-width:0; margin:0!important; }
  .sot-mobile-menu > li { border-bottom:1px solid #e9eef4; }
  .sot-mobile-menu li > a { grid-column:1; display:block; min-width:0; padding:16px 0!important; margin:0!important; color:#20334e!important; font-family:Inter,Arial,sans-serif!important; font-size:15px!important; font-weight:600; line-height:1.45; overflow-wrap:anywhere; white-space:normal!important; border:0!important; text-decoration:none!important; }
  .sot-mobile-menu li:not(.menu-item-has-children) > a { grid-column:1/-1; }
  .sot-mobile-menu .sot-submenu-toggle { position:static!important; grid-column:2; grid-row:1; display:flex!important; justify-content:center; align-items:center; width:38px; height:38px; min-width:38px; min-height:38px; margin:0!important; padding:0!important; border:0!important; border-radius:8px; background:#f2f7fc!important; color:#0c2f62!important; font-size:22px; line-height:1; cursor:pointer; }
  .sot-mobile-menu .sub-menu { position:static!important; display:none!important; grid-column:1/-1; width:100%; max-width:100%; margin:0!important; padding:0 0 12px 13px!important; background:#fff!important; border:0!important; box-shadow:none!important; opacity:1!important; visibility:visible!important; transform:none!important; }
  .sot-mobile-menu .submenu-open > .sub-menu { display:block!important; }
  .sot-mobile-menu .sub-menu li > a { font-size:14px!important; font-weight:500; color:#53667c!important; padding:12px 0!important; }
  .sot-mobile-menu .icon { display:none!important; }
  .sot-mobile-menu .current-menu-item > a,.sot-mobile-menu .current-menu-ancestor > a { color:#d9232e!important; }
  .sot-mobile-bottom { margin-top:28px; }
  .sot-mobile-join { display:flex; align-items:center; justify-content:space-between; width:100%; padding:16px 20px; color:#fff!important; background:#d9232e; border-radius:8px; text-decoration:none!important; font-size:14px; font-weight:700; }
}
@media (max-width:767px) {
  #site-header.sot-site-header .sot-header-inner { width:calc(100% - 32px); min-height:70px; gap:10px; }
  #site-header.sot-site-header .sot-header-brand .custom-logo,
  #site-header.sot-site-header .sot-header-brand .site-logo img { max-width:72px; max-height:52px; }
  #site-header.sot-site-header .sot-brand-name { font-size:11px!important; }
  #site-header.sot-site-header .sot-brand-subname { font-size:10px!important; }
  #site-header.sot-site-header .sot-header-cta { padding:10px 12px; min-height:40px; font-size:11px; }
  #site-header.sot-site-header .sot-header-cta svg { display:none; }
  #site-header.sot-site-header button.sot-mobile-trigger { flex-basis:40px; width:40px; height:40px; }
}
@media (max-width:560px) {
  #site-header.sot-site-header .sot-header-brand-text { display:none!important; }
}
@media (max-width:340px) {
  #site-header.sot-site-header .sot-header-inner { width:calc(100% - 22px); }
  #site-header.sot-site-header .sot-header-brand .custom-logo,
  #site-header.sot-site-header .sot-header-brand .site-logo img { max-width:58px; }
  #site-header.sot-site-header .sot-header-cta { padding:9px; font-size:10px; }
}
@media (max-width:782px) { body.admin-bar #site-header.sot-site-header { top:46px; } }
#site-header.sot-site-header a:focus-visible,
#site-header.sot-site-header button:focus-visible,
.sot-mobile-panel a:focus-visible,
.sot-mobile-panel button:focus-visible { outline:2px solid #d9232e!important; outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
  #site-header.sot-site-header *, .sot-mobile-panel { transition:none!important; }
}


/* VISIBILITÀ HEADER — UN SOLO BREAKPOINT */

@media (min-width: 1200px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }

  #site-header.sot-site-header .primary-menu-wrapper {
    display: block !important;
  }

  #site-header.sot-site-header .sot-mobile-trigger {
    display: none !important;
  }

  #sot-mobile-panel {
    display: none !important;
  }

}

@media (max-width: 1199px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: none !important;
  }

  #site-header.sot-site-header .sot-mobile-trigger {
    display: flex !important;
  }

}



/* =========================================================
   SOT — HEADER RESPONSIVE
   Unico breakpoint: 1199 / 1200px
========================================================= */

#site-header.sot-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #e1e8ef;
}

body.admin-bar #site-header.sot-site-header {
  top: 32px;
}

#site-header.sot-site-header .sot-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 18px;
  width: calc(100% - 48px);
  max-width: 1400px;
  min-height: 84px;
  margin: 0 auto;
}

/* DESKTOP */

@media (min-width: 1200px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
  }

  #site-header.sot-site-header .primary-menu {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1vw, 20px);
    margin: 0;
    width: auto;
  }

  #site-header.sot-site-header .primary-menu > li {
    margin: 0 !important;
    flex-shrink: 0;
  }

  #site-header.sot-site-header .primary-menu > li > a {
    font-size: 12px !important;
    white-space: nowrap;
  }

  #site-header.sot-site-header button.sot-mobile-trigger {
    display: none !important;
  }

  #sot-mobile-panel {
    display: none !important;
  }
}

/* DESKTOP COMPATTO */

@media (min-width: 1200px) and (max-width: 1399px) {

  #site-header.sot-site-header .sot-header-brand-text {
    display: none !important;
  }

  #site-header.sot-site-header .primary-menu {
    gap: 9px;
  }

  #site-header.sot-site-header .sot-header-cta {
    padding: 11px 13px;
  }
}

/* TABLET E MOBILE */

@media (max-width: 1199px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: none !important;
  }

  #site-header.sot-site-header button.sot-mobile-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #site-header.sot-site-header .sot-header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  #sot-mobile-panel {
    display: block;
    top: var(--sot-mobile-top, 78px) !important;
  }

  /* Evita sovrapposizioni tra testo e toggle */

  #sot-mobile-panel .sot-mobile-menu li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    column-gap: 8px;
  }

  #sot-mobile-panel .sot-mobile-menu li > a {
    grid-column: 1;
    min-width: 0;
    white-space: normal !important;
  }

  #sot-mobile-panel .sot-submenu-toggle {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    width: 38px;
    height: 38px;
    margin: 0 !important;
  }

  #sot-mobile-panel .sot-mobile-menu .sub-menu {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {

  #site-header.sot-site-header .sot-header-inner {
    width: calc(100% - 32px);
    min-height: 70px;
    gap: 10px;
  }

  body.admin-bar #site-header.sot-site-header {
    top: 46px;
  }
}



/* Desktop */
@media screen and (min-width: 1200px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #site-header.sot-site-header .sot-header-navigation .primary-menu {
    display: flex !important;
  }

  #site-header.sot-site-header .sot-mobile-trigger {
    display: none !important;
  }
}

/* Tablet e smartphone */
@media screen and (max-width: 1199px) {

  #site-header.sot-site-header .sot-header-navigation {
    display: none !important;
  }

  #site-header.sot-site-header .sot-mobile-trigger {
    display: flex !important;
  }
}


/* ============================================================
   SOT — CTA HEADER PREMIUM (override mirato)
   Incollare ALLA FINE di style2.css oppure in CSS aggiuntivo.
   Non richiede modifiche a header.php o al JavaScript.
   ============================================================ */

/* CTA dell'header: elegante, leggera, non più completamente rossa */
#site-header.sot-site-header a.sot-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  padding: 7px 8px 7px 18px;
  border: 1px solid #d9e3ed !important;
  border-radius: 999px;
  background: #ffffff !important;
  color: #0c2f62 !important;
  box-shadow: 0 2px 7px rgba(12, 47, 98, 0.045);
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none !important;
  white-space: nowrap;
  transform: none;
  transition: background-color .2s ease, border-color .2s ease,
              box-shadow .2s ease, color .2s ease;
}

/* L'accento rosso resta solo sulla freccia */
#site-header.sot-site-header a.sot-header-cta svg {
  box-sizing: border-box;
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 7px;
  border-radius: 50%;
  background: #fff0f1;
  color: #c82532 !important;
  transform: none;
  transition: background-color .2s ease, color .2s ease,
              transform .2s ease;
}

#site-header.sot-site-header a.sot-header-cta:hover {
  background: #f6f9fc !important;
  color: #0c2f62 !important;
  border-color: #bfcfdf !important;
  box-shadow: 0 4px 12px rgba(12, 47, 98, .065);
  transform: none;
}

#site-header.sot-site-header a.sot-header-cta:hover svg {
  background: #d9232e;
  color: #ffffff !important;
  transform: translateX(1px);
}

#site-header.sot-site-header a.sot-header-cta:focus-visible {
  outline: 2px solid #0c2f62 !important;
  outline-offset: 3px;
}

/* Versione tablet/laptop: CTA leggermente più compatta */
@media (min-width: 768px) and (max-width: 1399px) {
  #site-header.sot-site-header a.sot-header-cta {
    padding: 7px 7px 7px 13px;
    gap: 7px;
    font-size: 12px;
  }
}

/* Smartphone: priorità a logo e hamburger */
@media (max-width: 767px) {
  #site-header.sot-site-header a.sot-header-cta {
    min-height: 39px;
    padding: 9px 13px;
    gap: 0;
    font-size: 11px;
    box-shadow: none;
  }

  #site-header.sot-site-header a.sot-header-cta svg {
    display: none !important;
  }
}

@media (max-width: 340px) {
  #site-header.sot-site-header a.sot-header-cta {
    padding: 8px 10px;
    font-size: 10px;
  }
}

/* CTA in fondo al menu mobile: stessa identità discreta */
@media (max-width: 1199px) {
  #sot-mobile-panel.sot-mobile-panel a.sot-mobile-join {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d9e3ed !important;
    border-radius: 10px;
    background: #f6f9fc !important;
    color: #0c2f62 !important;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease;
  }

  #sot-mobile-panel.sot-mobile-panel a.sot-mobile-join span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff0f1;
    color: #c82532 !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
  }

  #sot-mobile-panel.sot-mobile-panel a.sot-mobile-join:hover {
    background: #edf4f9 !important;
    border-color: #bfcfdf !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-header.sot-site-header a.sot-header-cta,
  #site-header.sot-site-header a.sot-header-cta svg,
  #sot-mobile-panel.sot-mobile-panel a.sot-mobile-join {
    transition: none !important;
  }
}

