    :root {
      --ink: #16212b;
      --muted: #5b6870;
      --paper: #f7f3ec;
      --paper-2: #fffaf2;
      --stone: #d9d0c3;
      --blue: #153d63;
      --blue-2: #235e8a;
      --green: #2f7a53;
      --green-2: #9bc278;
      --gold: #d7c547;
      --white: #ffffff;
      --shadow: 0 24px 70px rgba(22, 33, 43, 0.18);
      --radius: 8px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.55;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; }
    button, input, textarea { font: inherit; }
    :focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      border-bottom: 1px solid rgba(255,255,255,0.18);
      background: rgba(20, 43, 59, 0.92);
      color: var(--white);
      backdrop-filter: blur(16px);
    }

    .nav {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      min-width: 215px;
    }

    .brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
      background: var(--white);
    }

    .brand span {
      display: block;
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: 0;
    }

    .brand small {
      display: block;
      margin-top: 2px;
      color: rgba(255,255,255,0.72);
      font-size: 0.75rem;
      font-weight: 500;
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 4px;
    }

    .nav-links a,
    .nav-links button {
      padding: 10px 11px;
      border: 0;
      color: rgba(255,255,255,0.82);
      background: transparent;
      text-decoration: none;
      font-size: 0.86rem;
      font-weight: 700;
      border-radius: 6px;
      cursor: pointer;
    }

    .nav-links a:hover,
    .nav-links button:hover { background: rgba(255,255,255,0.12); color: var(--white); }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.24);
      border-radius: 6px;
      background: rgba(255,255,255,0.1);
      color: var(--white);
      cursor: pointer;
    }

    .menu-toggle span,
    .menu-toggle::before,
    .menu-toggle::after {
      content: "";
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle {
      flex-direction: column;
      gap: 5px;
    }

    .menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span { opacity: 0; }
    .menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

    .hero {
      min-height: calc(100svh - 72px);
      display: grid;
      align-items: end;
      position: relative;
      color: var(--white);
      background:
        linear-gradient(0deg, rgba(8, 20, 31, 0.94) 0%, rgba(8, 20, 31, 0.82) 20%, rgba(8, 20, 31, 0.26) 48%, rgba(8, 20, 31, 0.04) 76%),
        var(--hero-img, url("/assets/img/hero-monveso.jpg")) center / cover no-repeat;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 130px;
      background: linear-gradient(0deg, var(--paper) 0%, rgba(247,243,236,0) 100%);
      pointer-events: none;
    }

    .hero-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      min-height: calc(100svh - 72px);
      padding: 0 0 86px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .eyebrow {
      display: inline-flex;
      margin: 0 0 18px;
      padding: 8px 12px;
      border-radius: 6px;
      background: rgba(8, 20, 31, 0.62);
      color: #ffe560;
      font-size: 0.84rem;
      font-weight: 900;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      text-shadow: 0 2px 8px rgba(0,0,0,.8);
      box-shadow: 0 10px 30px rgba(0,0,0,.16);
    }

    h1, h2, h3 {
      font-family: "Cormorant Garamond", Georgia, serif;
      line-height: 0.98;
      letter-spacing: 0;
    }

    h1 {
      max-width: 1080px;
      margin: 0;
      font-size: clamp(3rem, 7vw, 6.2rem);
      font-weight: 600;
    }

    .hero-subtitle {
      max-width: 840px;
      margin: 28px 0 0;
      color: rgba(255,255,255,0.9);
      font-size: clamp(1.08rem, 2vw, 1.35rem);
    }

    .hero-actions, .section-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-top: 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 13px 18px;
      border: 1px solid transparent;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 800;
      line-height: 1.1;
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
    }

    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--gold); color: #14202a; }
    .btn-secondary { border-color: rgba(255,255,255,0.42); color: var(--white); background: rgba(255,255,255,0.08); }
    .btn-dark { background: var(--blue); color: var(--white); }
    .btn-light { background: var(--white); color: var(--blue); border-color: rgba(21, 61, 99, .18); }

    .hero-facts {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      width: min(1180px, calc(100% - 32px));
      margin: -58px auto 0;
      position: relative;
      z-index: 5;
      background: rgba(255,255,255,0.5);
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .fact {
      padding: 26px;
      background: var(--paper-2);
    }

    .fact strong {
      display: block;
      color: var(--blue);
      font-size: 1.85rem;
      line-height: 1;
    }

    .fact span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: .95rem;
      font-weight: 700;
    }

    section { scroll-margin-top: 92px; }
    .section {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 72px 0;
    }

    .section.compact {
      padding-top: 40px;
      padding-bottom: 46px;
    }

    .section.compact + .section { padding-top: 46px; }

    .section-header {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 44px;
      align-items: end;
      margin-bottom: 34px;
    }

    .section-kicker {
      margin: 0 0 10px;
      color: var(--green);
      font-size: 0.82rem;
      font-weight: 900;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      color: var(--blue);
      font-size: clamp(2.4rem, 4.4vw, 4.4rem);
      font-weight: 600;
    }

    .lead {
      margin: 0;
      color: #33424d;
      font-size: clamp(1.08rem, 2vw, 1.32rem);
    }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
      gap: 44px;
      align-items: center;
    }

    .text-stack {
      display: grid;
      gap: 22px;
      color: #2c3a43;
      font-size: 1.04rem;
    }

    .text-stack p { margin: 0; }

    .quote-panel {
      padding: 34px;
      background: var(--blue);
      color: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .quote-panel blockquote {
      margin: 0;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.8rem, 3.3vw, 3.3rem);
      line-height: 1.05;
    }

    .quote-panel p {
      margin: 22px 0 0;
      color: rgba(255,255,255,0.78);
    }

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

    .card {
      border: 1px solid rgba(22, 33, 43, 0.1);
      border-radius: var(--radius);
      background: var(--paper-2);
      overflow: hidden;
    }

    .card-body { padding: 24px; }
    .card img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      background: var(--stone);
    }

    .card h3, .item h3 {
      margin: 0 0 10px;
      color: var(--blue);
      font-size: 1.6rem;
      font-weight: 600;
      line-height: 1.08;
    }

    .card p, .item p { margin: 0; color: var(--muted); }

    .voices {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 8px;
    }

    .voice {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 26px;
      border: 1px solid rgba(22, 33, 43, 0.1);
      border-radius: var(--radius);
      background: var(--paper-2);
    }

    .voice blockquote {
      margin: 0;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.5rem;
      line-height: 1.12;
      color: var(--blue);
    }

    .voice-meta { margin-top: auto; }
    .voice-meta strong { display: block; color: var(--ink); font-size: 1rem; }
    .voice-meta span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

    .voice-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-top: 14px;
      color: var(--green);
      font-weight: 900;
      font-size: .9rem;
      text-decoration: none;
    }
    .voice-link:hover { text-decoration: underline; text-underline-offset: 4px; }

    .faq {
      display: grid;
      gap: 14px;
    }

    .faq details {
      border: 1px solid rgba(22, 33, 43, 0.1);
      border-radius: var(--radius);
      background: var(--paper-2);
      overflow: hidden;
    }

    .faq summary {
      list-style: none;
      cursor: pointer;
      padding: 22px 24px;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--blue);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .faq summary::-webkit-details-marker { display: none; }

    .faq summary::after {
      content: "+";
      font-family: "Inter", sans-serif;
      font-size: 1.6rem;
      color: var(--green);
      flex: 0 0 auto;
      transition: transform .2s ease;
    }

    .faq details[open] summary::after { transform: rotate(45deg); }

    .faq .faq-answer {
      padding: 0 24px 24px;
      color: #2c3a43;
      font-size: 1.04rem;
    }

    .faq .faq-answer p { margin: 0; }

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

    .gallery figure {
      position: relative;
      margin: 0;
      border-radius: var(--radius);
      overflow: hidden;
      aspect-ratio: 4 / 3;
      background: var(--stone);
      cursor: zoom-in;
    }

    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease;
    }

    .gallery figure:hover img { transform: scale(1.05); }

    .gallery figcaption {
      position: absolute;
      inset: auto 0 0;
      padding: 18px 14px 10px;
      background: linear-gradient(0deg, rgba(8,20,31,.82), rgba(8,20,31,0));
      color: #fff;
      font-size: .82rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      gap: 8px;
    }
    .gallery figcaption .year { color: var(--gold); font-weight: 800; }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 90;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 28px;
      background: rgba(8, 20, 31, .92);
    }
    .lightbox.is-open { display: flex; }
    .lightbox img { max-width: min(1100px, 96vw); max-height: 74vh; border-radius: var(--radius); }
    .lightbox-actions {
      position: absolute;
      inset: auto 0 64px;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 0 20px;
    }
    .lightbox-action {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      color: #fff;
      font: inherit;
      font-weight: 700;
      font-size: .95rem;
      text-decoration: none;
      cursor: pointer;
      transition: background .18s ease;
    }
    .lightbox-action:hover { background: rgba(255,255,255,.24); }
    .lightbox-action svg {
      width: 18px; height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .lightbox figcaption {
      position: absolute;
      inset: auto 0 22px;
      text-align: center;
      color: rgba(255,255,255,.9);
      font-weight: 600;
    }
    .lightbox-close {
      position: absolute;
      top: 18px; right: 22px;
      width: 46px; height: 46px;
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 8px;
      background: rgba(255,255,255,.1);
      color: #fff;
      font-size: 1.7rem;
      cursor: pointer;
    }

    .band {
      background: var(--blue);
      color: var(--white);
    }

    .band .section-kicker { color: var(--green-2); }
    .band h2 { color: var(--white); }
    .band .lead, .band .text-stack { color: rgba(255,255,255,0.84); }

    .principles {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 34px;
    }

    .principle {
      padding: 22px;
      min-height: 178px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius);
      background: rgba(255,255,255,0.07);
    }

    .principle strong {
      display: block;
      margin-bottom: 10px;
      color: var(--gold);
      font-size: 0.9rem;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .principle p { margin: 0; color: rgba(255,255,255,0.84); }

    .groups {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 22px;
      margin-top: 34px;
      align-items: start;
    }

    .group-card {
      padding: 26px 28px 28px;
      border: 1px solid rgba(22,33,43,.1);
      border-radius: var(--radius);
      background: var(--paper-2);
    }

    .group-card h3 {
      margin: 0 0 18px;
      color: var(--blue);
      font-size: 1.14rem;
    }

    .group-note {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 400;
    }

    .people {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .people li {
      display: inline-flex;
    }

    .people .person {
      font: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 13px;
      border: 1px solid rgba(22,33,43,.12);
      border-radius: 999px;
      background: var(--white);
      color: #2c3a43;
      font-size: .94rem;
      transition: border-color .15s, background .15s, color .15s;
    }

    .people .person.has-photo {
      padding-left: 5px;
    }

    .people .person-avatar {
      display: inline-flex;
      flex: none;
    }

    .people .person-avatar img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
    }

    .people .person:hover,
    .people .person:focus-visible {
      border-color: var(--blue);
      background: var(--paper-2);
      color: var(--blue);
    }

    .promoter-heading {
      display: flex;
      align-items: center;
      gap: 18px;
      min-width: 0;
    }

    /* Lo slot vuoto non deve occupare spazio (né gap) quando manca la foto. */
    #promoterPhotoSlot {
      display: contents;
    }

    .promoter-photo {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      object-fit: cover;
      flex: none;
      border: 3px solid var(--white);
      box-shadow: 0 6px 20px rgba(0,0,0,.18);
    }

    @media (max-width: 520px) {
      .promoter-photo {
        width: 76px;
        height: 76px;
      }
    }

    .promoter-bio {
      margin: 0;
      color: var(--ink);
      line-height: 1.6;
      white-space: pre-line;
    }

    .promoter-meta {
      margin: 0;
      color: var(--muted);
      font-size: .95rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
      gap: 34px;
      align-items: start;
    }

    .notice {
      padding: 22px;
      border-left: 4px solid var(--green);
      background: #edf4ea;
      border-radius: 0 var(--radius) var(--radius) 0;
      color: #254536;
    }

    .notice p { margin: 0; }
    .form {
      display: grid;
      gap: 16px;
      padding: 26px;
      background: var(--paper-2);
      border: 1px solid rgba(22, 33, 43, 0.12);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

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

    label {
      display: grid;
      gap: 7px;
      color: #31404b;
      font-size: .9rem;
      font-weight: 800;
    }

    input, textarea {
      width: 100%;
      border: 1px solid #cfc8bd;
      border-radius: 6px;
      background: var(--white);
      padding: 13px 14px;
      color: var(--ink);
    }

    textarea { min-height: 118px; resize: vertical; }

    .checkbox {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: var(--muted);
      font-weight: 500;
      font-size: .9rem;
    }

    .checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
    .form-note { margin: 0; color: var(--muted); font-size: .9rem; }
    .form-feedback {
      margin: 0;
      padding: 12px 14px;
      border-radius: 6px;
      font-size: .92rem;
      font-weight: 700;
    }
    .form-feedback.is-ok { background: #e7f1e9; color: #1f5236; border: 1px solid #bcdcc6; }
    .form-feedback.is-error { background: #fbeaea; color: #8a2b2b; border: 1px solid #efc6c6; }

    .toolbar {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 14px;
      align-items: center;
      margin-bottom: 20px;
    }

    .search {
      width: min(360px, 100%);
      background: var(--white);
    }

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

    .supporter {
      padding: 18px;
      border: 1px solid rgba(22,33,43,.1);
      border-radius: var(--radius);
      background: var(--paper-2);
    }

    .supporter strong { display: block; color: var(--blue); }
    .supporter span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
    .supporter .supporter-msg { font-size: .85rem; font-style: italic; margin-top: 6px; }

    .list {
      display: grid;
      gap: 14px;
    }

    .item {
      display: grid;
      grid-template-columns: 180px minmax(0, 1fr);
      gap: 22px;
      padding: 24px;
      border: 1px solid rgba(22,33,43,.1);
      border-radius: var(--radius);
      background: var(--paper-2);
    }

    .date-badge {
      display: grid;
      align-content: center;
      min-height: 112px;
      padding: 16px;
      border-radius: 6px;
      background: #e7efe9;
      color: var(--green);
      text-align: center;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .date-badge span {
      display: block;
      color: var(--blue);
      font-size: 1.8rem;
      line-height: 1;
      letter-spacing: 0;
    }

    .item-meta {
      margin: 0 0 8px;
      color: var(--green);
      font-size: .84rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .item-link {
      display: inline-flex;
      margin-top: 14px;
      color: var(--blue);
      font-weight: 900;
      text-decoration-thickness: 2px;
      text-underline-offset: 4px;
    }

    .item-cover {
      grid-column: 1 / -1;
      margin: 0 0 4px;
      border-radius: 8px;
      overflow: hidden;
      aspect-ratio: 16 / 7;
    }
    .item-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .item-more {
      margin-top: 14px;
      border-top: 1px solid rgba(22,33,43,.1);
      padding-top: 6px;
    }
    .item-more > summary {
      cursor: pointer;
      list-style: none;
      color: var(--blue);
      font-weight: 900;
      padding: 8px 0;
    }
    .item-more > summary::-webkit-details-marker { display: none; }
    .item-more > summary::after { content: " ↓"; }
    .item-more[open] > summary::after { content: " ↑"; }
    .item-richtext { color: var(--ink); }
    .item-richtext p { margin: 0 0 .8em; color: var(--ink); }
    .item-richtext a { color: var(--blue); font-weight: 700; }
    .item-richtext h1, .item-richtext h2, .item-richtext h3 { color: var(--blue); margin: 1em 0 .4em; }
    .item-richtext ul, .item-richtext ol { margin: 0 0 .8em; padding-left: 1.4em; }
    .item-richtext blockquote { margin: 0 0 .8em; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--muted); }

    .archive {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 44px;
      align-items: center;
      padding: 42px;
      border-radius: var(--radius);
      background:
        linear-gradient(90deg, rgba(21,61,99,.94), rgba(21,61,99,.7)),
        url("/assets/img/monveso-panorama.jpg") center / cover no-repeat;
      color: var(--white);
      box-shadow: var(--shadow);
    }

    .archive h2 { color: var(--white); }
    .archive p { color: rgba(255,255,255,.84); }

    .newsletter {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 34px;
      align-items: center;
      padding: 38px;
      border: 1px solid rgba(22,33,43,.1);
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(255,250,242,.96), rgba(231,239,233,.94)),
        url("/assets/LOGO-Montagnasacra-definitivo-1.webp") right 32px center / 220px auto no-repeat;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .newsletter-copy p { margin: 14px 0 0; color: var(--muted); }

    .newsletter-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: end;
      padding: 22px;
      border-radius: var(--radius);
      background: rgba(255,255,255,.76);
      border: 1px solid rgba(21,61,99,.14);
    }

    .newsletter-form input { background: var(--white); }

    .newsletter-note {
      grid-column: 1 / -1;
      margin: 0;
      color: var(--muted);
      font-size: .88rem;
    }

    .site-footer {
      background: #101a22;
      color: rgba(255,255,255,.76);
      padding: 42px 0;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(8, 20, 31, 0.68);
      backdrop-filter: blur(8px);
    }

    .modal.is-open { display: flex; }

    .modal-panel {
      width: min(560px, 100%);
      border-radius: var(--radius);
      background: var(--paper-2);
      color: var(--ink);
      box-shadow: 0 28px 90px rgba(0,0,0,.34);
      overflow: hidden;
    }

    .modal-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      padding: 26px 26px 18px;
      border-bottom: 1px solid rgba(22,33,43,.1);
    }

    .modal-header h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3rem);
    }

    .modal-close {
      width: 42px;
      height: 42px;
      border: 1px solid rgba(22,33,43,.14);
      border-radius: 6px;
      background: var(--white);
      color: var(--ink);
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
    }

    .modal-body {
      display: grid;
      gap: 14px;
      padding: 24px 26px 28px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 16px;
      border: 1px solid rgba(22,33,43,.1);
      border-radius: 6px;
      background: var(--white);
      color: var(--blue);
      text-decoration: none;
      font-weight: 900;
    }

    .contact-link span {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 700;
    }

    .footer-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-inner a { color: var(--white); font-weight: 800; }

    .footer-credit {
      width: 100%;
      margin-top: 8px;
      font-size: .85rem;
      color: rgba(255,255,255,.55);
    }

    .footer-credit a { font-weight: 700; }
    .empty, .error {
      padding: 22px;
      border-radius: var(--radius);
      background: rgba(21,61,99,.08);
      color: var(--muted);
    }

    @media (max-width: 960px) {
      .nav {
        min-height: 58px;
        align-items: center;
        padding: 7px 0;
        gap: 12px;
        flex-wrap: wrap;
      }
      .brand {
        min-width: 0;
        flex: 1 1 auto;
      }
      .brand img {
        width: 40px;
        height: 40px;
      }
      .brand span { font-size: .95rem; }
      .brand small { font-size: .68rem; }
      .menu-toggle { display: inline-flex; }
      .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height .24s ease, opacity .18s ease, visibility .18s ease, padding .18s ease;
      }
      .nav-links.is-open {
        /* Abbastanza alto anche col dropdown lingue aperto; se supera lo
           schermo si scorre (overflow-y) invece di tagliare le voci. */
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 8px 0 4px;
        opacity: 1;
        visibility: visible;
      }
      .nav-links a,
      .nav-links button {
        width: 100%;
        padding: 12px 10px;
        text-align: left;
        font-size: .9rem;
      }
      .hero { min-height: calc(86svh - 58px); }
      .hero-inner { min-height: calc(86svh - 58px); padding: 0 0 82px; }
      .hero-facts, .section-header, .two-col, .form-grid, .archive, .newsletter, .groups {
        grid-template-columns: 1fr;
      }
      .cards, .principles, .supporters, .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .section { padding: 58px 0; }
      .section.compact { padding-top: 36px; padding-bottom: 38px; }
      .section.compact + .section { padding-top: 38px; }
    }

    @media (max-width: 680px) {
      .hero {
        background:
          linear-gradient(0deg, rgba(8, 20, 31, 0.94) 0%, rgba(8, 20, 31, 0.76) 28%, rgba(8, 20, 31, 0.14) 68%),
          var(--hero-img, url("/assets/img/hero-monveso.jpg")) center / cover no-repeat;
      }
      .hero-facts, .cards, .principles, .supporters, .voices, .field-grid { grid-template-columns: 1fr; }
      .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .fact { padding: 20px; }
      .section-header { gap: 20px; }
      .item { grid-template-columns: 1fr; }
      .date-badge { min-height: 86px; }
      .archive, .form, .quote-panel { padding: 24px; }
      .newsletter { padding: 24px; background-position: right -34px bottom -30px; background-size: 150px auto; }
      .newsletter-form { grid-template-columns: 1fr; }
      h1 { font-size: clamp(3.8rem, 19vw, 5.6rem); }
    }

/* ===== Pagine interne: indici e dettaglio (WordPress-like) ================ */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-hero .page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.page-hero .crumbs {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-2);
}
.page-hero .crumbs a { color: var(--green-2); text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero p { margin: 14px 0 0; color: rgba(255,255,255,.84); max-width: 720px; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22,33,43,.1);
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card a.post-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--stone);
  overflow: hidden;
}
.post-card a.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.post-card .post-meta {
  margin: 0;
  color: var(--green);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-card h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.06;
}
.post-card h2 a { color: var(--blue); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { margin: 0; color: var(--muted); }
.post-card .post-readmore {
  margin-top: auto;
  padding-top: 6px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(22,33,43,.16);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--blue);
  background: var(--paper-2);
}
.pagination a:hover { background: #e7efe9; }
.pagination .current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.pagination .disabled { color: var(--muted); background: transparent; border-color: transparent; cursor: default; }

/* Dettaglio articolo */
.post {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}
.post .post-cover-full {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--stone);
}
.post .post-cover-full img { width: 100%; height: 100%; object-fit: cover; }

/* Locandina evento: mostrata per intero, senza ritaglio */
.post .post-cover-full.is-poster {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
}
.post .post-cover-full.is-poster img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
}
.post .post-cover-full.is-poster[data-full] { cursor: zoom-in; }
.post .post-cover-full.is-poster[data-full]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.post .post-meta {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post h1 { color: var(--blue); font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 8px; }
.post .post-sub { margin: 0 0 28px; color: #33424d; font-size: 1.12rem; }
.post .post-richtext { color: #2c3a43; font-size: 1.08rem; }
.post .post-richtext p { margin: 0 0 1em; }
.post .post-richtext a { color: var(--blue); font-weight: 700; }
.post .post-richtext h2, .post .post-richtext h3 { color: var(--blue); margin: 1.4em 0 .4em; line-height: 1.1; }
.post .post-richtext ul, .post .post-richtext ol { margin: 0 0 1em; padding-left: 1.4em; }
.post .post-richtext blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--gold); color: var(--muted); }

.post-richtext .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 1em;
  border-radius: var(--radius);
  overflow: hidden;
  background: #101a22;
}

.post-richtext .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.post .post-link { display: inline-flex; margin-top: 8px; color: var(--blue); font-weight: 900; }

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}
.post-gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stone);
  cursor: zoom-in;
}
.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-gallery figure:hover img { transform: scale(1.05); }

/* Condivisione social */
.share {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding: 24px 26px 26px;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.share-title {
  margin: 0 0 16px;
  color: var(--green);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--stone);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn.is-stroke svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.share-btn:hover { color: var(--white); border-color: transparent; }
.share-btn.is-facebook:hover { background: #1877f2; }
.share-btn.is-whatsapp:hover { background: #25d366; }
.share-btn.is-telegram:hover { background: #229ed9; }
.share-btn.is-x:hover        { background: #101418; }
.share-btn.is-linkedin:hover { background: #0a66c2; }
.share-btn.is-email:hover,
.share-btn.is-copy:hover     { background: var(--blue); }
.share-btn.is-done { background: var(--green); border-color: transparent; color: var(--white); }

.post-nav {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.post-nav a { color: var(--blue); font-weight: 800; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .archive-grid { grid-template-columns: 1fr; }
  .post-gallery { grid-template-columns: 1fr; }
}

/* Honeypot anti-bot: fuori dallo schermo, mai visibile agli utenti reali. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Selettore lingua nell'header: dropdown con bandierine. */
.lang-dd {
  position: relative;
  margin-left: 6px;
}
.lang-dd .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
}
.lang-dd summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  user-select: none;
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s;
}
.lang-dd[open] .lang-caret { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #14324f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  min-width: 168px;
  z-index: 60;
}
.lang-dd-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}
.lang-dd-menu a:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.lang-dd-menu a.is-current {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
@media (max-width: 960px) {
  .lang-dd { margin-left: 0; margin-top: 6px; }
  .lang-dd-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }
}

/* --- Banner "articoli su Sherpa Gate" (home + pagina notizie) ----------- */
.sherpa-banner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(22, 33, 43, .1);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.sherpa-banner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 28px;
  border: 1px solid rgba(22, 33, 43, .08);
  border-radius: var(--radius);
  background: var(--white);
}

.sherpa-banner-media img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}

.sherpa-banner-body h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.sherpa-banner-body p { margin: 0; color: var(--muted); max-width: 62ch; }

.sherpa-banner .section-actions {
  margin-top: 24px;
  justify-content: flex-start;
}

@media (max-width: 860px) {
  .sherpa-banner { grid-template-columns: 1fr; gap: 26px; padding: 24px; }
  .sherpa-banner-media { padding: 20px; }
  .sherpa-banner-media img { max-width: 240px; }
  .sherpa-banner .section-actions { justify-content: center; }
}
