/* main.css dipende da tokens.css e components.css (caricati prima).
   Qui solo stili di layout e sezione specifici del tema Kuhn Elegante. */
.u { text-transform: uppercase; letter-spacing: .22em; }

/* ===== topbar ===== */
.topbar { font-size: 10px; text-align: center; padding: 9px; background: var(--brand); color: #fff; letter-spacing: .25em; text-transform: uppercase; }

/* ===== header ===== */
header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd { max-width: 1500px; margin: 0 auto; padding: 0 50px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.hd-left, .hd-right { display: flex; gap: 32px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.hd-right { justify-content: flex-end; }
.hd a { position: relative; padding-bottom: 3px; }
.hd a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ink); transition: width var(--trans-hover); }
.hd a:hover::after { width: 100%; }

/* dropdown nav */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown__arrow { transition: transform var(--dur-fast) var(--ease-smooth); flex-shrink: 0; margin-top: 1px; }
.nav-dropdown:hover .nav-dropdown__arrow { transform: rotate(180deg); }
.nav-dropdown__panel {
  position: absolute; top: 100%; left: 50%;
  padding-top: 16px; /* ponte invisibile sopra il panel */
  background: transparent; min-width: 200px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans-micro);
}
.nav-dropdown__panel__inner {
  background: var(--white); border: var(--border-hair);
  padding: 8px 0; box-shadow: var(--shadow-nav);
  transform: translateX(-50%) translateY(-6px);
  transition: transform var(--trans-micro);
}
.nav-dropdown:hover .nav-dropdown__panel { opacity: 1; pointer-events: auto; }
.nav-dropdown:hover .nav-dropdown__panel__inner { transform: translateX(-50%) translateY(0); }
.nav-dropdown__item { display: block; padding: 10px 20px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; color: var(--ink); transition: background .15s; }
.nav-dropdown__item::after { display: none; }
.nav-dropdown__item:hover { background: var(--sand); }
.brand { display: flex; align-items: center; justify-content: center; }
.brand__logo { height: 42px; width: auto; display: block; }

/* ===== hero ===== */
.hero { position: relative; height: calc(100vh - 121px); min-height: 560px; overflow: hidden; }
.hero .bg {
  position: absolute; inset: 0;
  background: url('https://www.kuhnsrl.com/wp-content/uploads/2019/02/home_kuhn-1.jpg') center/cover, linear-gradient(160deg,#002b54,#0a3d6e);
  filter: saturate(.7) brightness(.92);
  transform: scale(1.04);
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.06) 55%); }
.hero .inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; color: #fff; padding-bottom: 84px; }
.hero .eyebrow { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; opacity: .85; color: #fff; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1.15; margin: 18px 0 8px; max-width: 18ch; }
.hero p { font-size: 15px; font-weight: 300; max-width: 52ch; opacity: .92; }
.cta-line { display: inline-block; margin-top: 30px; color: #fff; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 6px; transition: letter-spacing .3s, border-color .3s; }
.cta-line:hover { border-color: #fff; letter-spacing: .34em; }
.cta-line:focus-visible { outline-color: #fff; }

/* ===== statement ===== */
.statement { text-align: center; padding: 130px 30px; max-width: 860px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--brand); }
.statement h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.4; margin-top: 26px; }
.statement h2 em { font-style: italic; color: var(--brand-em, #1a5490); font-weight: 500; }

/* ===== duo grid ===== */
.cards-grid { display: flex; flex-direction: column; gap: 30px; max-width: 1500px; margin: 0 auto; padding: 0 50px; }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.duo-bottom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { position: relative; overflow: hidden; height: 500px; cursor: pointer; }
.card .ph { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.9) brightness(1.4); transition: transform var(--dur-zoom) var(--ease-smooth); }
.card:hover .ph { transform: scale(1.05); }
.card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, transparent 100%); }
.card .label { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding: 0 30px; }
.card .label h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; margin-bottom: 6px; }
.card .label small { display: block; font-size: 12px; letter-spacing: .1em; opacity: .9; margin-bottom: 16px; color: #fff; }
.card .label .cta-line { margin-top: 0; font-size: 11px; }
.p1 { background-color: #002b54; }
.p2 { background-color: #0d3f70; }
.p3 { background-color: #1a558c; }
.p4 { background-color: #2a6ca8; }
.p5 { background-color: #3a7dbf; }

.card--cta { background: var(--blue-800, #002b54); border: 2px dashed rgba(255,255,255,.25); display: flex; align-items: flex-end; text-decoration: none; }
/* --- homepage services carousel --- */
.home-svc-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1500px; margin: 0 auto 28px; padding: 0 50px; }
.cards-grid--carousel { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 50px; gap: 24px; }
.cards-grid--carousel::-webkit-scrollbar { display: none; }
.cards-grid--carousel .card { flex: 0 0 calc(33.333% - 16px); scroll-snap-align: center; }

/* ===== services index ===== */
.svcindex { max-width: 1500px; margin: 0 auto; padding: 130px 50px; }
.svcindex .head { text-align: center; margin-bottom: 70px; }
.svcindex h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); margin-top: 22px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding: 26px 6px; border-bottom: var(--border-hair); transition: padding var(--trans-hover); }
.row:first-of-type { border-top: var(--border-hair); }
.row:hover { padding-left: 18px; }
.row h3 { font-weight: 400; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.row p { font-size: 13px; color: var(--grey); flex: 1; text-align: right; }
.row .arrow { color: var(--brand); opacity: 0; transition: opacity .3s; font-size: 14px; }
.row:hover .arrow { opacity: 1; }

/* ===== come operiamo ===== */
.metodo { max-width: 1100px; margin: 0 auto; padding: 130px 40px; }
.metodo__head { text-align: center; margin-bottom: 80px; }
.metodo__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); margin-top: 22px; }
.metodo__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 80px; }
.metodo__item {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr 96px;
  grid-template-rows: auto auto;
  column-gap: 16px;
}
.metodo__num {
  font-family: var(--font-body);
  font-size: 72px;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  opacity: .12;
  pointer-events: none;
  user-select: none;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 96px;
  text-align: right;
  letter-spacing: -.02em;
}
.metodo__item h3 { font-weight: 400; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; grid-column: 1; grid-row: 1; }
.metodo__item p { font-size: 16px; color: var(--grey); line-height: 1.8; grid-column: 1; grid-row: 2; }
@media (max-width: 860px) { .metodo__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== maison band ===== */
.maison { background: var(--sand); padding: 120px 30px 160px; text-align: center; margin-top: 100px; }
.maison .num-row { display: flex; justify-content: center; gap: 90px; margin-top: 60px; flex-wrap: wrap; }
.maison .num { font-family: var(--font-display); font-size: 54px; font-weight: 400; color: var(--ink); }
.maison .lbl { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.maison h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); max-width: 24ch; margin: 24px auto 0; line-height: 1.35; }

/* ===== chi siamo ===== */
.chisiamo { display: grid; grid-template-columns: 1fr 1fr; margin: 0; align-items: stretch; min-height: 500px; }
.chisiamo__testo { padding: 80px 80px 80px calc((100vw - 1500px) / 2 + 50px); display: flex; flex-direction: column; justify-content: center; }
.chisiamo__testo .eyebrow { margin-bottom: 24px; }
.chisiamo__testo h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.3; margin-bottom: 28px; }
.chisiamo__testo p { font-size: 16px; color: var(--grey); line-height: 1.9; margin-bottom: 36px; max-width: 52ch; }
.cta-dark { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); border-bottom: 1px solid var(--brand); padding-bottom: 5px; transition: letter-spacing .3s; }
.cta-dark:hover { letter-spacing: .28em; }
.chisiamo__img { background-size: cover; background-position: center; }
@media (max-width: 1500px) { .chisiamo__testo { padding: 80px 60px; } }
@media (max-width: 860px) { .chisiamo { grid-template-columns: 1fr; min-height: auto; } .chisiamo__testo { padding: 60px 20px; } .chisiamo__img { height: 300px; } }

/* ===== news home ===== */
.newshome { max-width: 1500px; margin: 0 auto; padding: 100px 50px 130px; }
.newshome__head { text-align: center; margin-bottom: 60px; }
.newshome__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); margin-top: 22px; }
.newshome__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 3px;
}
.newshome__tiles .nm-tile:nth-child(1) { background-color: #00396e; }
.newshome__tiles .nm-tile:nth-child(2) { background-color: var(--brand); }
.newshome__tiles .nm-tile:nth-child(3) { background-color: #0a3d6e; }
.newshome__footer { display: flex; justify-content: center; margin-top: 48px; }
.newshome__cta { color: var(--brand); border-bottom-color: var(--brand); font-size: 12px; }
@media (max-width: 860px) {
  .newshome { padding: 0 20px 80px; }
  .newshome__tiles { grid-template-columns: 1fr; grid-auto-rows: 300px; }
}

/* ===== full-bleed banner ===== */
.banner { position: relative; height: 72vh; min-height: 440px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; margin-top: 120px; }
.banner .bg {
  position: absolute; inset: 0;
  background: url('https://www.kuhnsrl.com/wp-content/uploads/2025/11/Sede-Roma-Kuhn.jpg') center/cover, linear-gradient(140deg,#002b54,#001830);
}
.banner .inner { position: relative; padding: 0 30px; }
.banner h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 54px); max-width: 22ch; line-height: 1.25; }
.banner .eyebrow { color: #fff; opacity: .8; }
.banner__download {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth);
}
.banner__download:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.9); }

/* ===== sedi ===== */
/* ===== footer ===== */
footer { background: var(--brand); color: #fff; }
.footer__main { max-width: 1300px; margin: 0 auto; padding: 70px 50px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.footer__logo { height: 28px; width: auto; margin-bottom: 20px; display: block; }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.7; color: rgba(255,255,255,.65); font-weight: 400; max-width: 44ch; }
.footer__sedi { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__sede-city { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 4px; }
.footer__sede-sub { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer__sede p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.9; }
.footer__cert { max-width: 1300px; margin: 0 auto; padding: 28px 50px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 32px; }
.footer__cert-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); white-space: nowrap; }
.footer__cert-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__cert-badge { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; text-decoration: none; transition: color .2s, border-color .2s; }
a.footer__cert-badge { cursor: pointer; }
a.footer__cert-badge:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.footer__legal { max-width: 1300px; margin: 0 auto; padding: 20px 50px 30px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 20px; }
.footer__legal span { font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; flex: 1; text-align: center; }
.footer__linkedin { display: flex; align-items: center; color: rgba(255,255,255,.4); transition: color .2s; flex-shrink: 0; }
.footer__linkedin:hover { color: #fff; }
@media (max-width: 860px) {
  .footer__main { grid-template-columns: 1fr; gap: 50px; padding: 50px 20px 40px; }
  .footer__sedi { grid-template-columns: 1fr; gap: 36px; }
  .footer__cert { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { padding: 20px; flex-direction: column; gap: 14px; }
}
.fnav { display: flex; justify-content: center; gap: 38px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; flex-wrap: wrap; }
.legal { margin-top: 34px; font-size: 11px; color: var(--grey); letter-spacing: .06em; }

/* ===== hero video ===== */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); }

/* ===== hero carosello ===== */
.hero__carousel { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }

/* ===== responsive ===== */
@media (max-width: 860px) {
  .hd { padding: 0 20px; }
  .hd-left, .hd-right { display: none; }
  .cards-grid { padding: 0 20px; gap: 20px; }
  .cards-grid--carousel { padding: 0 20px; gap: 16px; }
  .cards-grid--carousel .card { flex: 0 0 80%; }
  .home-svc-nav { padding: 0 20px; }
  .duo { grid-template-columns: 1fr; }
  .duo-bottom { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding: 50px 20px; }
  .footer__legal { padding: 20px; }
  .row p { display: none; }
}

/* ===== page hero (intestazione interna) ===== */
.page-hero { max-width: 1500px; margin: 0 auto; padding: 120px 50px 100px; border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 32px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5.5vw, 76px); line-height: 1.08; margin-bottom: 36px; }
.page-hero__sub { font-size: 18px; color: var(--grey); line-height: 1.85; max-width: 58ch; font-weight: 300; }
@media (max-width: 860px) { .page-hero { padding: 70px 20px 60px; } }

.page-hero--img { position: relative; max-width: none; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: none; }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero--img .page-hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.15) 60%); }
.page-hero--img .page-hero__inner { position: relative; z-index: 1; padding-bottom: 24px; }
.page-hero--img .eyebrow { color: #fff; opacity: .85; }
.page-hero--img h1 { color: #fff; }
.page-hero--img .page-hero__sub { color: rgba(255,255,255,.88); }
@media (max-width: 860px) { .page-hero--img { min-height: 440px; } }

/* ===== valori ===== */
.valori { max-width: 1500px; margin: 0 auto; padding: 110px 50px; }
.valori__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
.valori__grid--count-1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.valori__grid--count-2 { grid-template-columns: repeat(2, 1fr); }
.valori__grid--count-4 { grid-template-columns: repeat(2, 1fr); }
.valori__grid--count-1 .valori__item h3 { font-size: clamp(28px, 3vw, 40px); }
.valori__grid--count-1 .valori__item p { font-size: 18px; }
.valori__item { border-top: 2px solid var(--brand); padding-top: 36px; }
.valori__item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; margin-bottom: 20px; color: var(--ink); }
.valori__item p { font-size: 17px; color: var(--grey); line-height: 1.85; }
@media (max-width: 860px) { .valori { padding: 70px 20px; } .valori__grid { grid-template-columns: 1fr; gap: 44px; } }

/* ===== mission / vision ===== */
.mv { background: var(--sand); padding: 110px 50px; }
.mv__grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 100px; align-items: start; }
.mv__divider { background: var(--line); height: 100%; min-height: 140px; }
.mv__item .eyebrow { margin-bottom: 28px; }
.mv__item h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.45; }
@media (max-width: 860px) { .mv { padding: 70px 20px; } .mv__grid { grid-template-columns: 1fr; gap: 50px; } .mv__divider { display: none; } }

/* ===== team ===== */
.team { max-width: 1500px; margin: 0 auto; padding: 110px 50px; }
.team__head { text-align: center; margin-bottom: 80px; }
.team__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); margin-top: 24px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.team__foto { aspect-ratio: 3/4; background: var(--sand); background-size: cover; background-position: center top; filter: grayscale(1) brightness(1.45); transition: filter .5s var(--ease-smooth); }
.team__card:hover .team__foto { filter: grayscale(0) brightness(1.15); }
.team__info { padding-top: 20px; }
.team__name { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: .01em; color: var(--ink); margin-bottom: 6px; }
.team__ruolo { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.team__bio { font-size: 15px; color: var(--grey); line-height: 1.75; margin-top: 14px; }
.team__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.team__contact-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .01em; color: var(--grey); transition: color .2s; width: fit-content; }
.team__contact-link:hover { color: var(--ink); }
.team__contact-link svg { flex-shrink: 0; opacity: .7; }
@media (max-width: 860px) { .team { padding: 70px 20px; } .team__grid { grid-template-columns: 1fr; gap: 44px; } }

/* ===== join (lavora con noi) ===== */
.join { background: var(--sand); color: var(--ink); padding: 110px 50px; text-align: center; border-top: 1px solid var(--line); }
.join__inner { max-width: 700px; margin: 0 auto; }
.join .eyebrow { color: var(--grey); }
.join h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.3; margin: 24px 0 56px; color: var(--ink); }
.join .art-cta { display: inline-flex; }
@media (max-width: 860px) { .join { padding: 70px 20px; } }

/* ===== pagine generiche ===== */
.page-content { max-width: 860px; margin: 0 auto; padding: 80px 40px 130px; }
.page-inner h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.2; margin-bottom: 40px; }
.page-body { font-size: 16px; color: var(--grey); line-height: 1.9; }
.page-body p { margin-bottom: 20px; }
.page-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.5vw, 36px); color: var(--ink); margin: 40px 0 16px; }
.page-body h3 { font-weight: 400; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 30px 0 12px; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 20px; }
.page-body li { margin-bottom: 8px; }
@media (max-width: 860px) { .page-content { padding: 60px 20px 80px; } }

/* ===== pagina news ===== */
.news-hd { max-width: 1500px; margin: 0 auto; padding: 90px 50px 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--line); }
.news-hd__inner h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 4vw, 60px); line-height: 1.1; margin-top: 16px; }
.news-hd__sub { font-size: 15px; color: var(--grey); line-height: 1.7; margin-top: 14px; max-width: 480px; }
.news-hd__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); white-space: nowrap; padding-bottom: 6px; }

/* filtri */
.news-filters { max-width: 1500px; margin: 0 auto; padding: 24px 50px; display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.news-filter { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--line); color: var(--grey); transition: background .2s, color .2s, border-color .2s; }
.news-filter:hover, .news-filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* featured */
.news-feat { display: grid; grid-template-columns: 1fr 44%; max-width: 1500px; margin: 0 auto; background: var(--brand); color: #fff; text-decoration: none; min-height: 440px; transition: opacity .3s; }
.news-feat:hover { opacity: .92; }
.news-feat:hover::after { display: none; }
.news-feat__text { padding: 64px 60px; display: flex; flex-direction: column; justify-content: space-between; }
.news-feat__cat { color: rgba(255,255,255,.6); margin-bottom: 20px; }
.news-feat__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; color: #fff; }
.news-feat__excerpt { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.75; margin-top: 20px; flex-grow: 1; }
.news-feat__footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; }
.news-feat__date { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.news-feat__cta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.news-feat__img { background: var(--sand) center/cover no-repeat; }
.news-feat__img--empty { background: #0a3d6e; }

/* lista editoriale */
.news-list { max-width: 1500px; margin: 0 auto; padding: 0 50px 80px; }
.nitem { display: grid; grid-template-columns: 96px 1fr 180px; gap: 0 40px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nitem:hover::after { display: none; }
.nitem:hover .nitem__title { color: var(--brand); }
.nitem__date { display: flex; flex-direction: column; align-items: flex-start; padding-top: 4px; }
.nitem__day { font-family: var(--font-body); font-weight: 300; font-size: 44px; line-height: 1; color: var(--brand); opacity: .18; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: block; }
.nitem__monthyear { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-top: 5px; display: block; }
.nitem__cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.nitem__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; transition: color .2s; }
.nitem__excerpt { font-size: 14px; color: var(--grey); line-height: 1.75; margin-top: 10px; }
.nitem__thumb { aspect-ratio: 16/10; background: var(--sand) center/cover no-repeat; align-self: center; }

/* paginazione */
.news-pager { max-width: 1500px; margin: 0 auto; padding: 40px 50px 80px; display: flex; justify-content: flex-end; }
.news-pager ul { display: flex !important; flex-direction: row !important; align-items: center; gap: 4px; list-style: none; flex-wrap: nowrap; margin: 0; padding: 0; }
.news-pager li { flex: 0 0 auto; }
.news-pager .page-numbers { display: inline-block; font-size: 12px; letter-spacing: .1em; padding: 9px 16px; border: 1px solid var(--line); color: var(--grey); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.news-pager .page-numbers:hover, .news-pager .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.news-pager .page-numbers.dots { border-color: transparent; background: none; }

@media (max-width: 860px) {
  .nitem { grid-template-columns: 70px 1fr; }
  .nitem__thumb { display: none; }
}
@media (max-width: 700px) {
  .news-hd { flex-direction: column; align-items: flex-start; padding: 60px 20px 40px; }
  .news-filters { padding: 20px; gap: 6px; }
  .news-feat { grid-template-columns: 1fr; }
  .news-feat__img { aspect-ratio: 16/9; }
  .news-feat__text { padding: 40px 24px; }
  .news-list { padding: 0 20px 60px; }
  .news-pager { padding: 30px 20px 60px; }
  .nitem { grid-template-columns: 56px 1fr; gap: 0 20px; padding: 28px 0; }
  .nitem__day { font-size: 34px; }
}

/* ===== single articolo ===== */
.art-hero { position: relative; background: var(--brand); padding: 100px 50px 80px; }
.art-hero--img { background-size: cover; background-position: center; min-height: 420px; display: flex; align-items: flex-end; }
.art-hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,50,.85) 40%, rgba(0,20,50,.4)); }
.art-hero__inner { position: relative; max-width: 860px; margin: 0 auto; width: 100%; }
.art-hero__meta { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.art-hero__cat { color: rgba(255,255,255,.65); }
.art-hero__cat::after { display: none; }
.art-hero__date { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.art-hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; color: #fff; }

.art-wrap { max-width: 860px; margin: 0 auto; padding: 70px 50px 100px; }

.art-body { font-size: 17px; color: var(--grey); line-height: 1.9; }
.art-body p { margin-bottom: 24px; }
.art-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.5vw, 36px); color: var(--ink); margin: 50px 0 18px; line-height: 1.2; }
.art-body h3 { font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 36px 0 14px; }
.art-body ul, .art-body ol { padding-left: 24px; margin-bottom: 24px; }
.art-body li { margin-bottom: 10px; }
.art-body a { color: var(--brand); border-bottom: 1px solid var(--line); transition: border-color .2s; }
.art-body a:hover { border-bottom-color: var(--brand); }
.art-body img { max-width: 100%; height: auto; margin: 32px 0; }
.art-body img[src=""], .art-body img:not([src]) { display: none; }

.art-hero__occhiello { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 14px; }

/* tag pills */
.art-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ktag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--ktag-bg, #002b54); color: var(--ktag-txt, #fff); border-bottom: none !important; transition: opacity .2s; }
.ktag:hover { opacity: .8; }
.ktag__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
/* tag pills on light bg (card / listing) */
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.art-intro { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 400; color: var(--ink); line-height: 1.6; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }

.art-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.art-cta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 14px 28px; transition: background .2s, color .2s; border-bottom: none !important; }
.art-cta--primary { background: var(--brand); color: #fff !important; }
.art-cta--primary:hover { background: var(--brand-em); color: #fff !important; }
.art-cta--secondary { border: 1px solid var(--brand) !important; color: var(--brand) !important; }
.art-cta--secondary:hover { background: var(--brand); color: #fff !important; }
.edgtf-btn { display: inline-block; background: var(--brand); color: #fff !important; padding: 14px 32px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 24px 0; border-bottom: none !important; transition: background .2s; }
.edgtf-btn:hover { background: var(--brand-em); }
.art-body blockquote { border-left: 3px solid var(--brand); margin: 36px 0; padding: 4px 0 4px 28px; font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--ink); line-height: 1.5; }

.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-top: 1px solid var(--line); margin-top: 70px; padding-top: 40px; }
.art-nav__item { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; }
.art-nav__item--next { text-align: right; align-items: flex-end; }
.art-nav__item::after { display: none; }
.art-nav__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.art-nav__ptitle { font-family: var(--font-display); font-size: 18px; color: var(--ink); line-height: 1.3; transition: color .2s; }
.art-nav__item:hover .art-nav__ptitle { color: var(--brand); }

.art-back { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }

@media (max-width: 700px) {
  .art-hero { padding: 70px 20px 50px; }
  .art-wrap { padding: 50px 20px 70px; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav__item--next { text-align: left; align-items: flex-start; }
}

/* ===== partnership ===== */
.partnership {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 3px;
  background: var(--white);
  min-height: 500px;
  margin-top: 120px;
}
.partnership__img {
  height: 500px;
  background: center/cover no-repeat;
}
.partnership__img--empty {
  background-color: var(--brand);
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.partnership__testo {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 60px;
  gap: 0;
}
.partnership__testo .eyebrow { margin-bottom: 24px; }
.partnership__testo h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}
.partnership__testo p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.85;
  max-width: 52ch;
  margin-bottom: 36px;
}
@media (max-width: 860px) {
  .partnership { grid-template-columns: 1fr; }
  .partnership__img { height: 280px; }
  .partnership__testo { padding: 50px 20px; }
}

/* ================================================================
   NEWS PAGE — layout editoriale sfondo bianco
   ================================================================ */

.news-page { background: var(--white, #fff); color: var(--ink); }

/* ── header ── */
.news-hd {
  max-width: 1500px; margin: 0 auto;
  padding: 90px 50px 60px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  border-bottom: 1px solid var(--line);
}
.news-hd h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.08;
  margin-top: 14px; color: var(--ink);
}
.news-hd__sub { font-size: 15px; color: var(--grey); line-height: 1.7; margin-top: 14px; max-width: 480px; }
.news-hd__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); white-space: nowrap; padding-bottom: 6px; }

/* hero navy */
.news-hd--navy {
  background: var(--brand);
  border-bottom: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
}
.news-hd--navy .news-hd__ph { display: none; }
.news-hd--navy .news-hd__navy-inner {
  position: relative;
  max-width: 1500px; margin: 0 auto;
  padding: 104px 50px 78px;
}
.news-hd--navy h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.06; margin-top: 18px; color: #fff;
}
.news-hd--navy .news-hd__sub { color: rgba(255,255,255,.72); max-width: 480px; margin-top: 20px; }
@media (max-width: 860px) {
  .news-hd--navy .news-hd__navy-inner { padding: 70px 20px 50px; }
}

/* ── filtri sticky ── */
.news-filterbar {
  position: sticky; top: 88px; z-index: 40;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-filterbar__inner {
  max-width: 1500px; margin: 0 auto;
  padding: 0 50px;
  display: flex; flex-direction: column;
}
.news-fbar-row {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 14px 0;
}
.news-fbar-row + .news-fbar-row { border-top: 1px solid var(--line); }
.news-fbar-label {
  min-width: 84px; flex-shrink: 0; padding-top: 7px;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey);
}
.news-fbar-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.news-fbar-right {
  display: flex; align-items: center; gap: 16px;
  white-space: nowrap; padding-top: 7px; padding-left: 8px; margin-left: auto;
}
.news-fbar-reset {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  border-top: none; border-left: none; border-right: none;
  background: transparent; cursor: pointer;
}
.news-fbar-count { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.news-fbar-div { height: 1px; background: var(--line); opacity: .55; }

/* chip filtro — solo bordo, niente filled */
.news-filter {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line);
  color: var(--grey);
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.news-filter:hover { border-color: var(--brand); color: var(--brand); }
.news-filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── featured card ── */
.news-feat-wrap { max-width: 1500px; margin: 0 auto; padding: 56px 50px 0; }
.news-feat {
  display: grid; grid-template-columns: 1fr 44%;
  background: var(--brand); color: #fff;
  text-decoration: none; min-height: 440px;
  transition: opacity .3s;
}
.news-feat:hover { opacity: .92; }
.news-feat::after { display: none; }
.news-feat__text { padding: 64px 60px; display: flex; flex-direction: column; justify-content: space-between; }
.news-feat__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.news-feat__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3vw, 42px); line-height: 1.2; color: #fff;
}
.news-feat__excerpt { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.75; margin-top: 20px; flex-grow: 1; }
.news-feat__footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; }
.news-feat__date { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.news-feat__cta {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px;
}
.news-feat__img {
  background: #001e3d center/cover no-repeat;
  background-image:
    repeating-linear-gradient(0deg,transparent 0 19px,rgba(255,255,255,.04) 19px 20px),
    repeating-linear-gradient(90deg,transparent 0 19px,rgba(255,255,255,.04) 19px 20px),
    linear-gradient(150deg,#0a3d6e,#001a38);
}

/* ── griglia card ── */
.newshome { max-width: 1500px; margin: 0 auto; padding: 48px 50px 130px; }
.newshome--after-feat { padding-top: 48px; }
.newshome__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* ── newscard ── */
.newscard {
  display: block; color: inherit; cursor: pointer; text-decoration: none;
  transition: opacity .2s;
}
.newscard::after { display: none; }
.newscard:hover { opacity: .82; }

/* immagine — shared */
.newscard__img {
  height: 240px;
  background: #001e3d center/cover no-repeat;
  background-image:
    repeating-linear-gradient(0deg,transparent 0 19px,rgba(255,255,255,.04) 19px 20px),
    repeating-linear-gradient(90deg,transparent 0 19px,rgba(255,255,255,.04) 19px 20px),
    linear-gradient(150deg,#0a3d6e,#001a38);
  position: relative;
  overflow: hidden;
}
.newscard__img-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap; z-index: 1;
}

/* layout OUTSIDE: testo sotto */
.newscard__body { padding: 18px 0 0; }
.newscard h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; line-height: 1.3; margin: 0 0 10px; color: var(--ink);
}
.newscard__date {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey);
}

/* layout INSIDE: testo in overlay */
.newscard--inside .newscard__img--cover {
  height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.newscard--inside .newscard__img--cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,15,40,.82) 0%, rgba(0,15,40,.08) 55%);
  pointer-events: none;
}
.newscard--inside .newscard__img-body {
  position: relative; z-index: 1;
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.newscard--inside .newscard__title--white {
  font-family: var(--font-display); font-weight: 400;
  font-size: 20px; line-height: 1.28; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.newscard--inside .newscard__date--white {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5);
}

/* ── badge tag — solo bordo + testo ── */
.nbadge {
  display: inline-block;
  font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--nbadge-color, var(--brand));
  color: var(--nbadge-color, var(--brand));
  line-height: 1.4; white-space: nowrap;
}
/* su sfondo scuro (featured, inside, immagine): sempre bianco */
.nbadge--on-dark {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}

/* ── empty state ── */
.news-empty {
  max-width: 700px; margin: 0 auto;
  text-align: center; padding: 110px 50px 130px;
}
.news-empty p { font-family: var(--font-display); font-size: 28px; line-height: 1.3; color: var(--ink); }

/* ── responsive ── */
@media (max-width: 860px) {
  .news-hd { flex-direction: column; align-items: flex-start; padding: 60px 20px 40px; }
  .news-filterbar__inner { padding: 0 20px; }
  .news-fbar-label { min-width: 60px; }
  .news-feat-wrap { padding: 40px 20px 0; }
  .news-feat { grid-template-columns: 1fr; }
  .news-feat__img { min-height: 240px; }
  .newshome { padding: 0 20px 80px; }
  .newshome__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── filtri editoriali su sfondo bianco (ev-listing) ────────────────────────
   Niente box, niente bg — solo testo + separatore hairline.
   Il linguaggio è quello dell'indice tipografico, coerente con il tema. */
.ev-listing .ev-filters {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin-bottom: 56px;
}
.ev-listing .ev-filter-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 10px 0;
}
.ev-listing .ev-filter-row + .ev-filter-row {
  border-top: 1px solid var(--line);
}
.ev-listing .ev-filter-label {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--grey);
  width: 52px;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  margin-right: 20px;
  line-height: 1;
}
/* link anno: testo puro, pipe come separatore visuale nel DOM */
.ev-listing .ev-filter-year-link {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 2px 0;
  margin-right: 20px;
  border-bottom: none !important;
  transition: color .15s;
  position: relative;
}
.ev-listing .ev-filter-year-link:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background: var(--line);
}
.ev-listing .ev-filter-year-link:hover { color: var(--ink); }
.ev-listing .ev-filter-year-link.is-active { color: var(--brand); font-weight: 600; }

/* link tag: dot colorato + testo, nessun box */
.ev-listing .ev-filter-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 2px 0;
  margin-right: 22px;
  border-bottom: none !important;
  transition: color .15s;
}
.ev-listing .ev-filter-tag-link:hover { color: var(--ink); }
.ev-listing .ev-filter-tag-link .ev-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ktag-bg, var(--line));
  flex-shrink: 0;
  transition: transform .15s;
}
.ev-listing .ev-filter-tag-link:hover .ev-tag-dot { transform: scale(1.25); }
.ev-listing .ev-filter-tag-link.is-active { color: var(--ink); font-weight: 600; }
.ev-listing .ev-filter-tag-link.is-active .ev-tag-dot { transform: scale(1.4); }

.nm-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--brand);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s;
}
.nm-tile:hover { opacity: .88; }
.nm-tile::after { display: none; }
.nm-tile { grid-column: span 1; }

.nm-tile__veil {
  flex: 1;
  background: center/cover no-repeat;
  position: relative;
  min-height: 120px;
}
.nm-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,20,50,.78) 0%, rgba(0,20,50,.1) 60%);
}
.nm-tile--no-img .nm-tile__veil {
  background: var(--brand);
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 14px 14px;
}
.nm-tile__veil--empty { background: #001e3d; }

.nm-tile__body {
  flex-shrink: 0;
  padding: 16px 22px 18px;
  display: flex; flex-direction: column; gap: 5px;
  background: inherit;
}
.nm-tile--hero .nm-tile__body { padding: 20px 32px 24px; }

.nm-tile__cat {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 500;
}
.nm-tile__title {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.22; color: #fff;
  font-size: clamp(15px, 1.3vw, 19px);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nm-tile--hero .nm-tile__title {
  font-size: clamp(20px, 2vw, 30px);
  -webkit-line-clamp: 3;
}
.nm-tile__date {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.nm-tile__meta {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.42); line-height: 1.5;
}
.nm-tile__meta-sep { margin: 0 6px; opacity: .4; }

/* colori tile — varianti tonali della palette elegante */
.nm-title                            { background-color: var(--brand); }
.nm-grid--p1 .nm-tile:nth-child(2)  { background-color: #00396e; }
.nm-grid .nm-tile:nth-child(3n)     { background-color: var(--brand); }
.nm-grid .nm-tile:nth-child(3n+1)   { background-color: #00396e; }
.nm-grid .nm-tile:nth-child(3n+2)   { background-color: #1a4d6e; }

.nm-pager { padding: 40px 50px 80px; display: flex; justify-content: flex-end; max-width: 1500px; margin: 0 auto; }
.nm-pager ul { display: flex !important; flex-direction: row !important; align-items: center; gap: 3px; list-style: none; flex-wrap: nowrap; margin: 0; padding: 0; }
.nm-pager li { flex: 0 0 auto; }
.nm-pager .page-numbers { display: inline-block; font-size: 12px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--line); color: var(--grey); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.nm-pager .page-numbers:hover, .nm-pager .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.nm-pager .page-numbers.dots { border-color: transparent; background: none; }

@media (max-width: 860px) {
  .nm-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .nm-title { padding: 32px 24px 28px; }
  .nm-grid--p1 .nm-title { grid-column: 1 / 3; grid-row: 1; }
  .nm-grid--p1 .nm-tile:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .nm-grid .nm-tile { grid-column: span 1; }
  .nm-pager { padding: 30px 20px 60px; }
}

/* reduced motion: gestita globalmente in components.css via @media */

/* ================================================================
   CERTIFICAZIONI — HUB (template-cert-hub.php)
   ================================================================ */

/* ===== CERTIFICAZIONI HUB ===== */

/* griglia famiglie — 4 card navy grandi + 5a sotto */
.ch-fam-section { max-width: 1500px; margin: 0 auto; padding: 84px 50px 0; }
.ch-fam-eyebrow { display: block; text-align: center; margin-bottom: 52px; }
/* grid: 2 colonne. Card pari → griglia regolare. Card dispari → ghost CTA riempie l'ultima cella */
.ch-fam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
/* card ghost CTA — sfondo sabbia, bordo tratteggiato, stile editoriale */
.ch-fam-card--cta {
  background: var(--sand) !important;
  border: 2px dashed var(--line);
  justify-content: flex-end;
}
.ch-fam-card--cta h3 {
  color: var(--ink) !important;
  font-size: clamp(20px, 2vw, 28px) !important;
}
.ch-fam-card--cta p {
  color: var(--grey) !important;
}
.ch-fam-card--cta .cta-line {
  color: var(--brand) !important;
  border-bottom-color: rgba(0,43,84,.35) !important;
}
.ch-fam-card--cta:hover { filter: none; background: #e8ecf1 !important; }

/* pill nav sopra il carousel */
.ch-fam-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

/* ── CAROUSEL ── */
.ch-fam-grid--carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 3px;
  scrollbar-width: none;
}
.ch-fam-grid--carousel::-webkit-scrollbar { display: none; }
.ch-fam-grid--carousel .ch-fam-card {
  flex: 0 0 calc(33.333% - 2px);
  scroll-snap-align: start;
  min-width: 0;
}
/* su mobile mostra 1 card + peek */
@media (max-width: 860px) {
  .ch-fam-grid--carousel .ch-fam-card { flex: 0 0 80%; }
}
.ch-fam-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.ch-fam-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.ch-fam-dot.is-active { background: var(--brand); transform: scale(1.3); }

.ch-fam-card {
  position: relative; overflow: hidden;
  min-height: 368px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 46px;
  text-decoration: none;
  transition: filter .4s ease;
}
.ch-fam-card:hover { filter: brightness(1.12); }
.ch-fam-card__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,25,50,.45) 0%, rgba(0,20,45,.75) 100%);
  pointer-events: none;
}

.ch-fam-card__top {
  display: flex; justify-content: space-between; align-items: baseline;
  position: relative; z-index: 1;
}
.ch-fam-card__n {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.ch-fam-card__count {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.ch-fam-card__bottom { position: relative; z-index: 1; }
.ch-fam-card__bottom h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px); color: #fff;
  line-height: 1.12; margin-bottom: 14px;
}
.ch-fam-card__bottom p {
  font-size: 13px; letter-spacing: .04em;
  color: rgba(255,255,255,.62); line-height: 1.7;
  margin-bottom: 24px; max-width: 42ch;
}
.ch-fam-card .cta-line { font-size: 11px; color: #fff; border-bottom-color: rgba(255,255,255,.5); }

/* indice completo */
.ch-index-section { padding-top: 124px; }
.ch-filters { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:54px; }

/* banner CTA */
.ch-banner { margin-top: 120px; height: auto; min-height: 440px; }
.ch-banner__bg {
  background: linear-gradient(140deg, #002b54, #001830) !important;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
}

@media (max-width: 860px) {
  .ch-fam-section { padding: 60px 20px 0; }
  .ch-fam-grid { grid-template-columns: 1fr; }
  .ch-fam-card { min-height: 280px; padding: 32px; }
  .ch-index-section { padding-top: 60px; }
}

/* ================================================================
   CERTIFICAZIONE — SCHEDA DETTAGLIO (template-cert-detail.php)
   ================================================================ */

/* HERO */
.cd-hero {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 50px 90px;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}
.cd-hero__watermark {
  position: absolute;
  right: -0.02em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  opacity: .06;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.cd-hero__inner { position: relative; max-width: 800px; }
.cd-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 28px; flex-wrap: wrap; }
.cd-breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--dur-fast); }
.cd-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.cd-breadcrumb a::after { display: none; }
.cd-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1.15; color: #fff; margin-bottom: 16px; }
.cd-hero__sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.72); max-width: 58ch; }

/* LAYOUT 2 COLONNE */
.cd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 50px 100px;
  align-items: start;
}

/* corpo testo */
.cd-prose { font-size: 17px; color: var(--grey); line-height: 1.9; }
.cd-prose p { margin-bottom: 22px; }
.cd-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.5vw, 34px); color: var(--ink); margin: 48px 0 18px; line-height: 1.3; }
.cd-prose h3 { font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin: 36px 0 12px; }
.cd-prose ul { padding-left: 20px; margin-bottom: 22px; }
.cd-prose ul li { margin-bottom: 8px; }
.cd-prose strong { color: var(--ink); font-weight: 500; }

/* aside sticky */
.cd-aside { position: sticky; top: 108px; }
.cd-aside__card {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--white);
}
.cd-aside__block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.cd-aside__block:last-of-type { border-bottom: none; margin-bottom: 24px; padding-bottom: 0; }
.cd-aside__label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.cd-aside__block p { font-size: 14px; color: var(--grey); line-height: 1.75; }
.cd-aside__cta {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast);
  gap: 10px;
}
.cd-aside__cta:hover { background: #003d6b; }
.cd-aside__cta::after { display: none; }

/* PROCESSO */
.cd-processo { padding: 80px 50px; background: var(--sand); border-top: 1px solid var(--line); }
.cd-processo__inner { max-width: 1500px; margin: 0 auto; }
.cd-processo__head { text-align: center; margin-bottom: 60px; }
.cd-processo__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); margin-top: 18px; }
.cd-fasi { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.cd-fase { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cd-fase:first-child { border-top: 1px solid var(--line); }
.cd-fase__num { font-family: var(--font-body); font-size: 38px; font-weight: 300; color: var(--brand); opacity: .2; line-height: 1; letter-spacing: -.02em; padding-top: 4px; }
.cd-fase__body h3 { font-weight: 400; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.cd-fase__body p { font-size: 15px; color: var(--grey); line-height: 1.8; }

/* BENEFICI */
.cd-benefici { padding: 90px 50px; max-width:1500px; margin:0 auto; }
.cd-benefici__inner { }
.cd-benefici__inner .eyebrow { text-align: center; }
.cd-benefici__inner > h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); text-align: center; margin: 18px 0 60px; }
.cd-benefici__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.cd-beneficio { border-top: 2px solid var(--brand); padding-top: 24px; }
.cd-beneficio h3 { font-weight: 500; font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.cd-beneficio p { font-size: 16px; color: var(--grey); line-height: 1.8; }

/* NORME CORRELATE */
.cd-correlate { background: var(--sand); border-top: 1px solid var(--line); padding: 80px 50px; }
.cd-correlate__inner { max-width: 1500px; margin: 0 auto; }
.cd-correlate__inner .eyebrow { text-align: center; }
.cd-correlate__inner > h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.5vw, 34px); text-align: center; margin: 18px 0 50px; }
.cd-correlate__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3px; }
.cd-rel-tile {
  background: var(--brand); color: #fff; padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; transition: background var(--dur-fast);
  cursor: pointer;
}
.cd-rel-tile::after { display: none; }
.cd-rel-tile:hover { background: #003d6b; }
.cd-rel-tile__codice { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cd-rel-tile__titolo { font-family: var(--font-display); font-weight: 400; font-size: 18px; line-height: 1.2; flex: 1; }
.cd-rel-tile__sub { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.cd-rel-tile__arrow { margin-top: 14px; opacity: .5; transition: opacity var(--dur-fast), transform var(--dur-fast); }
.cd-rel-tile:hover .cd-rel-tile__arrow { opacity: 1; transform: translateX(4px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cd-layout { grid-template-columns: 1fr; gap: 0; padding: 60px 40px 80px; }
  .cd-aside { position: static; margin-top: 60px; }
}
@media (max-width: 640px) {
  .cd-hero { padding: 70px 20px 60px; }
  .cd-hero__watermark { font-size: 80px; opacity: .05; }
  .cd-layout { padding: 50px 20px 60px; }
  .cd-processo { padding: 60px 20px; }
  .cd-benefici { padding: 60px 20px; }
  .cd-correlate { padding: 60px 20px; }
  .cd-fase { grid-template-columns: 48px 1fr; gap: 16px; }
}

/* ===== CERTIFICAZIONE — SCHEDA (nuovo layout mockup) ===== */

/* back link */
.cs-back-wrap { max-width:860px; margin:0 auto; padding:34px 50px 0; }
.cs-back { font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.55); text-decoration:none; transition:color .2s; }
.cs-back:hover { color:rgba(255,255,255,.9); }
.cs-back::after { display:none; }

/* hero summary */
.cs-summary { font-size:18px; color:rgba(255,255,255,.72); line-height:1.85; font-weight:300; max-width:58ch; margin-top:24px; }

/* requisiti list inside .mv */
.cs-req-list { list-style:none; margin:0; padding:0; }
.cs-req-list li {
  position:relative;
  font-size:16px; color:var(--ink); font-weight:300; line-height:1.6;
  padding:16px 0 16px 28px;
  border-bottom:1px solid var(--line);
}
.cs-req-list li::before { content:'—'; position:absolute; left:0; top:16px; color:var(--brand); }
.cs-req-list li:last-child { border-bottom:none; }

/* benefici header */
.cs-benefici__head { text-align:center; margin-bottom:72px; }
.cs-benefici__head .eyebrow { display:block; }
.cs-benefici__head h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(28px,3vw,42px); margin-top:22px; }
.valori.cs-benefici { padding-top:110px; }

/* FAQ */
/* cd-corpo — approfondimento wysiwyg, layout 2 colonne come cs-faq */
.cd-corpo { padding:100px 50px; max-width:1500px; margin:0 auto; }
.cd-corpo__inner { display:grid; grid-template-columns:280px 1fr; gap:80px; align-items:start; }
.cd-corpo__hd .eyebrow { display:block; }
.cd-corpo__prose { font-size:17px; color:var(--grey); line-height:1.9; }
.cd-corpo__prose p { margin-bottom:20px; }
.cd-corpo__prose h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(24px,2.4vw,34px); margin:40px 0 14px; color:var(--ink); }
.cd-corpo__prose h3 { font-size:13px; font-weight:400; letter-spacing:.2em; text-transform:uppercase; margin:28px 0 10px; color:var(--ink); }
.cd-corpo__prose ul, .cd-corpo__prose ol { padding-left:20px; margin-bottom:18px; }
.cd-corpo__prose li { font-size:17px; color:var(--grey); line-height:1.75; margin-bottom:8px; }
.cd-corpo__prose strong { color:var(--ink); font-weight:500; }
@media (max-width:860px) { .cd-corpo { padding:60px 20px; } .cd-corpo__inner { grid-template-columns:1fr; gap:28px; } }

/*
 * FAQ: sezione allineata al bordo sinistro delle card (50px = stesso padding di ch-fam-section).
 * Il testo rimane leggibile grazie a max-width su .cs-faq__a, non sull'intera sezione.
 * layout a due colonne su desktop: titolo a sinistra, accordion a destra.
 */
.cs-faq { max-width:1500px; margin:0 auto; padding:120px 50px 60px; }
.cs-faq__inner { display:grid; grid-template-columns:280px 1fr; gap:80px; align-items:start; }
.cs-faq__hd .eyebrow { display:block; }
.cs-faq__hd h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(28px,3vw,42px); margin:22px 0 0; line-height:1.2; }
.cs-faq__item { border-top:1px solid var(--line); }
.cs-faq__item:last-child { border-bottom:1px solid var(--line); }
.cs-faq__q {
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:24px;
  padding:26px 0; cursor:pointer; list-style:none;
}
.cs-faq__q::-webkit-details-marker { display:none; }
.cs-faq__q span:first-child { font-size:16px; font-weight:400; color:var(--ink); letter-spacing:.01em; }
.cs-faq__sign { font-family:var(--font-display); font-size:30px; color:var(--brand); font-weight:300; line-height:1; flex-shrink:0; }
.cs-faq__sign::after { content:'+'; }
details[open] .cs-faq__sign::after { content:'–'; }
.cs-faq__a { font-size:16px; color:var(--grey); line-height:1.9; font-weight:300; padding:0 60px 30px 4px; margin:0; }

/* correlate (usa svcindex) */
.cs-correlate { padding-top:96px; padding-bottom:40px; }

/* banner CTA navy (scheda certificazione) */
.cs-cta-banner {
  position:relative;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(140deg,#002b54,#001830);
  background-size:22px 22px, 22px 22px, 100% 100%;
  text-align:center;
  color:#fff;
  padding:96px 40px;
}
.cs-cta-banner__inner { max-width:700px; margin:0 auto; }
.cs-cta-banner h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(28px,3.2vw,46px); line-height:1.25; margin:18px 0 36px; color:#fff; }

/* mv full-width variant (no a-chi-è-rivolta) */
.mv__grid--full { grid-template-columns: 1fr; gap: 0; }

/* FAMIGLIA HUB */
.cf-back-wrap { max-width:1500px; margin:0 auto; padding:32px 50px 0; }
.cf-back { font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--grey); text-decoration:none; transition:color .2s; }
.cf-back:hover { color:var(--ink); }
.cf-back::after { display:none; }

/* hero famiglia — titolo enorme Cormorant, intro a sinistra */
.cf-hero-wrap { max-width:1500px; margin:0 auto; padding:48px 50px 0; }
.cf-hero-eyebrow { display:block; margin-bottom:24px; }
.cf-hero-title { font-family:var(--font-display); font-weight:400; font-size:clamp(64px,8vw,120px); line-height:1; color:var(--ink); margin:0 0 40px; }
.cf-hero-intro { font-size:16px; color:var(--grey); line-height:1.75; max-width:44ch; font-weight:300; }
.cf-divider { border:none; border-top:1px solid var(--line); margin:60px 0 0; }

.cf-certs-section { padding-top:80px; }
.cf-empty { font-size:15px; color:var(--grey); padding:40px 6px; }
.cf-cta-link { font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:#fff; border-bottom:1px solid rgba(255,255,255,.4); padding-bottom:3px; text-decoration:none; transition:border-color .2s; }
.cf-cta-link:hover { border-bottom-color:#fff; }
.cf-cta-link::after { display:none; }

@media (max-width:860px) {
  .cf-hero-wrap { padding:36px 20px 0; }
  .cf-hero-title { font-size:clamp(48px,12vw,80px); }
}

@media (max-width:860px) {
  .cs-back-wrap { padding:24px 20px 0; }
  .cs-faq { padding:70px 20px 30px; }
  .cs-faq__inner { grid-template-columns:1fr; gap:32px; }
  .svcindex { padding:70px 20px; }
  .cf-back-wrap { padding:24px 20px 0; }
}

/* ===== eventi ===== */
.ev-hero { position: relative; background: var(--brand); padding: 100px 50px 80px; min-height: 380px; display: flex; align-items: flex-end; }
.ev-hero--img { background-size: cover; background-position: center; }
.ev-hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,50,.88) 40%, rgba(0,20,50,.45)); }
.ev-hero__inner { position: relative; max-width: 860px; margin: 0 auto; width: 100%; }
.ev-hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 52px); color: #fff; margin: 18px 0 20px; line-height: 1.15; }
.ev-hero__meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.ev-hero__luogo, .ev-hero__data { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ev-hero__cta { margin-bottom: 16px; }
.ev-hero__detail { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: none !important; }
.ev-hero__detail:hover { color: #fff; }

.btn-primary { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 14px 28px; background: var(--brand); color: #fff; border-bottom: none !important; transition: background .2s; }
.btn-primary:hover { background: var(--brand-em); color: #fff; }

.ev-listing { max-width: 1500px; margin: 0 auto; padding: 70px 50px 100px; }
.ev-listing__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.ev-listing__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 60px); color: var(--ink); margin: 10px 0 0; }

.ev-timeline { display: flex; flex-direction: column; gap: 60px; }
.ev-empty { font-size: 15px; color: var(--grey); }

.ev-empty-state { padding: 70px 0 100px; border-top: 1px solid var(--line); }
.ev-empty-msg { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: var(--ink); line-height: 1.5; margin-bottom: 28px; }
.ev-empty-msg strong { font-weight: 600; color: var(--brand); }
.ev-empty-reset { color: var(--ink); font-size: 11px; letter-spacing: .22em; border-bottom-color: var(--line); }

.ev-year { display: grid; grid-template-columns: 90px 1fr; gap: 0 48px; }
.ev-year__label { font-family: var(--font-display); font-size: 52px; font-weight: 400; color: var(--brand); opacity: .18; line-height: 1; padding-top: 2px; }
.ev-year__months { display: flex; flex-direction: column; gap: 48px; border-left: 2px solid var(--brand); opacity-left: .12; padding-left: 48px; }

.ev-month__label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--brand); opacity: .6; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ev-month__list { display: flex; flex-direction: column; gap: 0; }

.ev-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.ev-card:last-child { border-bottom: 1px solid var(--line); }
/* passati: più leggeri ma ancora leggibili */
.ev-card--past .ev-card__day,
.ev-card--past .ev-card__title { opacity: .45; }
.ev-card--past .ev-card__luogo { opacity: .35; }
.ev-card__date-col { display: flex; flex-direction: column; gap: 5px; text-align: center; }
.ev-card__day { font-family: var(--font-display); font-size: 20px; color: var(--ink); line-height: 1; font-weight: 400; }
.ev-card__luogo { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.ev-card__body { display: flex; flex-direction: column; gap: 8px; }
.ev-card__title { font-size: 17px; color: var(--ink); line-height: 1.35; font-family: var(--font-display); font-weight: 400; border-bottom: none !important; transition: color .2s; }
.ev-card__title:hover { color: var(--brand); }
.ev-card__actions { display: flex; align-items: center; justify-content: flex-end; min-width: 120px; }
/* badge "Concluso" visibile */
.ev-card__badge {
  display: inline-block;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--line);
  padding: 5px 14px;
  white-space: nowrap;
}
.ev-card__cta { font-size: 11px; white-space: nowrap; }

@media (max-width: 860px) {
  .ev-hero { padding: 70px 20px 50px; }
  .ev-listing { padding: 50px 20px 70px; }
  .ev-listing__header { flex-direction: column; }
  .ev-year { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .ev-year__label { font-size: 32px; }
  .ev-year__months { padding-left: 20px; }
  .ev-card { grid-template-columns: 52px 1fr; grid-template-rows: auto auto; gap: 16px 20px; }
  .ev-card__actions { grid-column: 2; justify-content: flex-start; }
}

/* ===== pagina progetti / CSR ===== */
.pg-list {
  width: 100%;
  padding: 0 0 120px;
  display: flex; flex-direction: column;
}

.pg-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-bottom: 1px solid var(--line);
}

/* immagine pari: destra → sborda a destra; dispari: sinistra → sborda a sinistra */
.pg-item__visual {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.pg-item__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-smooth);
}
.pg-item:hover .pg-item__visual img { transform: scale(1.04); }

.pg-item__placeholder {
  width: 100%; height: 100%;
  background: var(--cat-color, var(--brand));
  opacity: .1;
  display: flex; align-items: center; justify-content: center;
}
.pg-item__placeholder span {
  font-family: var(--font-display);
  font-size: clamp(120px, 15vw, 220px); font-weight: 400;
  color: var(--brand); line-height: 1; opacity: .25;
  user-select: none;
}

/* testo: padding interno generoso, max-width per leggibilità */
.pg-item__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 10% 80px 8%;
}
/* item dispari (reverse): immagine a sinistra, testo a destra */
.pg-item--reverse { }
.pg-item--reverse .pg-item__visual { order: 2; }
.pg-item--reverse .pg-item__body {
  padding: 80px 8% 80px 10%;
}

.pg-item__meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.pg-item__cat {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
}
.pg-item__anno {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey);
}
.pg-item__anno::before { content: '·'; margin-right: 14px; color: var(--line); }

.pg-item__body h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.13; color: var(--ink);
  margin-bottom: 22px; max-width: 16ch;
}
.pg-item__testo {
  font-size: 16px; color: var(--grey);
  line-height: 1.85; max-width: 50ch;
}
.pg-item__testo p { margin-bottom: 14px; }
.pg-item__testo p:last-child { margin-bottom: 0; }
.pg-item__testo strong { color: var(--ink); font-weight: 600; }
.pg-item__testo a { color: var(--brand); border-bottom: 1px solid rgba(0,43,84,.25); }
.pg-item__testo a:hover { border-bottom-color: var(--brand); }
.pg-item__cta { margin-top: 36px; align-self: flex-start; }

@media (max-width: 860px) {
  .pg-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pg-item__visual { aspect-ratio: 4/3; order: 0 !important; }
  .pg-item__body,
  .pg-item--reverse .pg-item__body { padding: 48px 24px; }
  .pg-item__body h2 { max-width: none; }
}

/* ── Lavora con noi ─────────────────────────────────────────────── */
.lc-chi { padding: 110px 0 110px max(50px, calc((100vw - 1400px) / 2 + 50px)); border-bottom: 1px solid var(--line); }
.lc-chi__inner { display: grid; grid-template-columns: minmax(0, 820px) 1fr; gap: 100px; align-items: start; }
.lc-chi__left .eyebrow { margin-bottom: 32px; }
.lc-chi__claim { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; color: var(--ink); margin-bottom: 36px; }
.lc-chi__testo p { font-size: 17px; line-height: 1.9; color: var(--grey); margin-bottom: 18px; }
.lc-chi__testo p:last-child { margin-bottom: 0; }
.lc-chi__testo strong { color: var(--ink); font-weight: 600; }

.lc-chi__panel { background: var(--sand); padding: 72px max(40px, calc((100vw - 1400px) / 2 + 50px)) 72px 56px; position: sticky; top: 100px; align-self: stretch; }
.lc-chi__panel-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 28px; }
.lc-chi__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.lc-chi__tag { font-size: 13px; letter-spacing: .04em; color: var(--brand); border: 1px solid var(--brand); padding: 6px 14px; line-height: 1; }
.lc-chi__panel-note { font-size: 14px; color: var(--grey); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 24px; }

/* sfondo bianco — rompe il muro sand tra chi-cerchiamo e join */
.lc-requisiti { background: #fff; padding: 110px 50px; border-top: 1px solid var(--line); }
.lc-requisiti__inner { max-width: 1500px; margin: 0 auto; }
.lc-requisiti__inner > .eyebrow { margin-bottom: 60px; }
.lc-requisiti__inner .valori__item-testo { font-size: 17px; color: var(--grey); line-height: 1.85; }
.lc-requisiti__inner .valori__item-testo p { margin-bottom: 12px; }
.lc-requisiti__inner .valori__item-testo p:last-child { margin-bottom: 0; }

.lc-join__sub,
.ct-join__sub { font-size: 17px; color: var(--grey); line-height: 1.75; margin: -16px 0 52px; }

@media (max-width: 1100px) {
  .lc-chi { padding: 70px 50px; }
  .lc-chi__inner { grid-template-columns: 1fr; gap: 60px; }
  .lc-chi__panel { position: static; padding: 48px 50px; }
}
@media (max-width: 860px) {
  .lc-chi { padding: 70px 20px; }
  .lc-chi__panel { padding: 40px 20px; }
  .lc-requisiti { padding: 70px 20px; }
}

/* ── Contatti ───────────────────────────────────────────────────── */
.ct-sedi { padding: 110px 50px; }
.ct-sedi .mv__grid { max-width: 1500px; margin: 0 auto; }
.ct-sedi .mv__grid--count-3 { grid-template-columns: 1fr 1px 1fr 1px 1fr; }
.ct-sede .eyebrow { margin-bottom: 12px; }
.ct-sede__ruolo { font-size: 15px; color: var(--grey); margin-bottom: 24px; font-style: normal; }
.ct-sede__address { display: flex; flex-direction: column; gap: 4px; font-style: normal; font-size: 16px; color: var(--ink); line-height: 1.6; margin-bottom: 28px; }
.ct-sede__contacts { display: flex; flex-direction: column; gap: 10px; }
.ct-sede__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brand); text-decoration: none; transition: opacity .15s; }
.ct-sede__link:hover { opacity: .75; }
.ct-sede__link svg { flex-shrink: 0; color: var(--brand); }

.ct-funzioni { background: #fff; border-top: 1px solid var(--line); padding: 110px 50px; }
.ct-funzioni__inner { max-width: 1500px; margin: 0 auto; }
.ct-funzioni__inner > .eyebrow { margin-bottom: 60px; }
.ct-funzioni__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ct-funzione { padding: 40px 0; border-top: 1px solid var(--line); padding-right: 40px; }
.ct-funzione__area { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.ct-funzione__nome { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.ct-funzione__ruolo { font-size: 14px; color: var(--grey); margin-bottom: 16px; }
.ct-funzione__testo { font-size: 15px; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.ct-funzione__testo p { margin-bottom: 10px; }
.ct-funzione__testo p:last-child { margin-bottom: 0; }
.ct-funzione .team__contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

/* .ct-join usa già .join come base */

@media (max-width: 1100px) {
  .ct-funzioni__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ct-sedi { padding: 70px 20px; }
  .ct-sedi .mv__grid { grid-template-columns: 1fr; gap: 50px; }
  .ct-sedi .mv__divider { display: none; }
  .ct-funzioni { padding: 70px 20px; }
  .ct-funzioni__grid { grid-template-columns: 1fr; }
  .ct-funzione { padding-right: 0; }
}

/* ── COME OPERIAMO ───────────────────────────────────────────────────────────── */

.co-commerciale { padding: 110px 50px; background: var(--sand); }
.co-commerciale .mv__head { max-width: 1500px; margin: 0 auto 80px; }
.co-commerciale__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; max-width: 1500px; margin: 0 auto; }
.co-commerciale__sep { background: var(--line); }
.co-commerciale__blocco { padding: 0 60px; }
.co-commerciale__blocco:first-child { padding-left: 0; }
.co-commerciale__blocco:last-child { padding-right: 0; }
.co-commerciale__label { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; color: var(--ink); margin-bottom: 28px; line-height: 1.3; }
.co-commerciale__testo p { font-size: 17px; line-height: 1.9; color: var(--grey); margin-bottom: 16px; }
.co-commerciale__testo p:last-child { margin-bottom: 0; }
.co-commerciale__testo strong { color: var(--ink); font-weight: 600; }
.co-commerciale__testo ul { margin: 0; padding-left: 20px; }
.co-commerciale__testo li { font-size: 16px; line-height: 1.8; color: var(--grey); margin-bottom: 8px; }

/* ASSISTENZA — layout lista */
.co-assistenza--lista { display: grid; grid-template-columns: 440px 1fr; gap: 0 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.co-assistenza__lista-head { padding: 90px 30px 90px 50px; position: sticky; top: 0; align-self: start; }
.co-assistenza__lista-head .eyebrow { margin-bottom: 20px; }
.co-assistenza__lista-head h2 { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 42px); font-weight: 400; color: var(--ink); margin-bottom: 24px; line-height: 1.15; }
.co-assistenza__lista-head::after { content: ''; display: block; width: 40px; height: 2px; background: var(--brand); margin-top: 4px; }
.co-assistenza__lista-sub { font-size: 15px; line-height: 1.75; color: var(--grey); margin-top: 20px; }
.co-assistenza__lista-item { display: grid; grid-template-columns: 80px 1fr; gap: 0 32px; padding: 52px 50px 52px 0; border-bottom: 1px solid var(--line); align-items: start; }
.co-assistenza__lista-item:last-child { border-bottom: none; }
.co-assistenza__num { font-family: var(--font-display); font-size: clamp(48px, 5vw, 72px); font-weight: 300; color: var(--line); line-height: 1; }
.co-assistenza__lista-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 12px; padding-top: 12px; }
.co-assistenza__lista-testo { font-size: 16px; line-height: 1.8; color: var(--grey); margin: 0; }

/* ASSISTENZA — layout griglia */
.co-assistenza--griglia { display: grid; grid-template-columns: repeat(3, 1fr); }
.co-assistenza__tile { background: var(--at-colore, #001a38); padding: 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; border: 1px solid rgba(255,255,255,.08); }
.co-assistenza__tile--head { justify-content: center; }
.co-assistenza__tile--head .eyebrow { color: rgba(255,255,255,.5); margin-bottom: 16px; }
.co-assistenza__tile--head h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; color: #fff; margin: 0; line-height: 1.2; }
.co-assistenza--griglia .co-assistenza__num { font-family: var(--font-display); font-size: clamp(40px, 4vw, 60px); font-weight: 300; color: rgba(255,255,255,.2); line-height: 1; margin-bottom: auto; padding: 0; }
.co-assistenza__tile-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.9); margin-top: 32px; margin-bottom: 12px; }
.co-assistenza__tile-testo { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.65); margin: 0; }

@media (max-width: 860px) {
  .co-assistenza--lista { grid-template-columns: 1fr; }
  .co-assistenza__lista-head { padding: 60px 20px 40px; position: static; }
  .co-assistenza__lista-head::after { display: none; }
  .co-assistenza__lista-items { border-left: none; border-top: 1px solid var(--line); }
  .co-assistenza__lista-item { grid-template-columns: 60px 1fr; padding: 36px 20px; }
  .co-assistenza__num { font-size: 40px; padding-left: 0; }
  .co-assistenza--griglia { grid-template-columns: 1fr; }
  .co-assistenza__tile { min-height: 200px; padding: 36px 28px; }
}

.co-team { padding: 110px 50px; background: #fff; border-top: 1px solid var(--line); }
.co-team__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; max-width: 1500px; margin: 0 auto; }
.co-team__sep { background: var(--line); }
.co-team__blocco { padding: 0 60px; }
.co-team__blocco:first-child { padding-left: 0; }
.co-team__blocco:last-child { padding-right: 0; }
.co-team__blocco .eyebrow { margin-bottom: 20px; }
.co-team__blocco h2 { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; color: var(--ink); margin-bottom: 32px; line-height: 1.3; }
.co-team__testo p { font-size: 17px; line-height: 1.9; color: var(--grey); margin-bottom: 16px; }
.co-team__testo p:last-child { margin-bottom: 0; }
.co-team__testo ul { margin: 0; padding-left: 20px; }
.co-team__testo li { font-size: 16px; line-height: 1.85; color: var(--grey); margin-bottom: 8px; }

.co-join__sub,
.pt-join__sub { font-size: 17px; color: var(--grey); line-height: 1.75; margin: -16px 0 52px; }

@media (max-width: 1100px) {
  .co-commerciale__grid,
  .co-team__grid { grid-template-columns: 1fr; gap: 60px; }
  .co-commerciale__sep,
  .co-team__sep { display: none; }
  .co-commerciale__blocco,
  .co-team__blocco { padding: 0; }
}
@media (max-width: 860px) {
  .co-commerciale { padding: 70px 20px; }
  .co-assistenza { grid-template-columns: 1fr; }
  .co-assistenza__img { min-height: 280px; }
  .co-assistenza__body { padding: 60px 20px; }
  .co-team { padding: 70px 20px; }
}

/* ── PARTNERSHIP ─────────────────────────────────────────────────────────────── */

.pt-intro { padding: 90px 50px; background: var(--sand); }
.pt-intro__head { max-width: 900px; margin: 0 auto; text-align: center; }
.pt-intro__head .eyebrow { margin-bottom: 20px; }
.pt-intro__head h2 { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; color: var(--ink); margin-bottom: 0; line-height: 1.25; }

.pt-partners { width: 100%; margin-top: 120px; }
.pt-partner { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; border-bottom: 1px solid var(--line); }
.pt-partner--alt .pt-partner__img { order: 2; }
.pt-partner--alt .pt-partner__body { order: 1; padding: 80px 8% 80px 10%; }
.pt-partner__img { background-size: cover; background-position: center; background-color: var(--sand); display: block; }
.pt-partner--alt .pt-partner__img { background-position: left center; }
a.pt-partner__img { cursor: pointer; transition: opacity .2s; }
a.pt-partner__img:hover { opacity: .85; }
.pt-partner__img--empty { background-color: var(--sand); }
.pt-partner__body { padding: 80px 10% 80px 8%; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.pt-partner__area { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.pt-partner__nome { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 36px); font-weight: 500; color: var(--ink); margin-bottom: 28px; line-height: 1.25; }
.pt-partner__nome a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .15s; }
.pt-partner__nome a:hover { border-bottom-color: var(--brand); }
.pt-partner__testo p { font-size: 16px; line-height: 1.85; color: var(--grey); margin-bottom: 14px; }
.pt-partner__testo p:last-child { margin-bottom: 0; }
.pt-partner__cta { margin-top: 32px; align-self: flex-start; }

.pt-partners + .join { margin-top: 120px; }

@media (max-width: 900px) {
  .pt-intro { padding: 60px 20px 50px; }
  .pt-partner { grid-template-columns: 1fr; }
  .pt-partner--alt .pt-partner__img { order: 1; }
  .pt-partner--alt .pt-partner__body { order: 2; }
  .pt-partner__img { min-height: 240px; }
  .pt-partner__body { padding: 50px 20px; }
}

/* ═══════════════════════════════════════════════
   LEGACY IMPORT — pagine migrate da kuhnsrl.com
   ═══════════════════════════════════════════════ */

.art-hero--legacy { min-height: 380px; display: flex; align-items: center; padding: 80px 50px; }
.art-hero--legacy .art-hero__inner { max-width: 1100px; }

.legacy-body {
  padding: 3rem 0 4rem;
  font-size: 1rem;
}

.legacy-body__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Layout colonne WPBakery: vc_col-sm-6 → due colonne affiancate */
.legacy-body [class*="vc_col-sm-"] { box-sizing: border-box; }
.legacy-body .vc_col-sm-6 { width: 50%; float: left; padding: 0 1rem; }
.legacy-body .vc_col-sm-4 { width: 33.33%; float: left; padding: 0 1rem; }
.legacy-body .vc_col-sm-8 { width: 66.66%; float: left; padding: 0 1rem; }
.legacy-body .vc_col-sm-12 { width: 100%; float: none; clear: both; }

/* Clearfix per le righe WPBakery */
.legacy-body .wpb_row::after,
.legacy-body .vc_row::after { content: ''; display: table; clear: both; }

/* Reset strutturali WPBakery (div passano in block senza interferire) */
.legacy-body .wpb_content_element,
.legacy-body .vc_column_inner,
.legacy-body .vc_column,
.legacy-body .wpb_wrapper { display: block; }

/* Immagini */
.legacy-body img.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.legacy-body img.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.legacy-body img.aligncenter { display: block; margin: 1.5rem auto; }
.legacy-body img { max-width: 100%; height: auto; display: block; }

/* Tipografia */
.legacy-body h2 { color: var(--blue-800); margin: 2rem 0 0.75rem; font-size: clamp(20px,2.5vw,30px); }
.legacy-body h3 { color: var(--blue-700); margin: 1.5rem 0 0.5rem; font-size: clamp(17px,2vw,22px); }
.legacy-body p  { line-height: 1.8; color: var(--neutral-700); margin-bottom: 1rem; font-size: 16px; }
.legacy-body ul,
.legacy-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legacy-body li { margin-bottom: 0.4rem; line-height: 1.7; color: var(--neutral-700); font-size: 16px; }
.legacy-body strong { color: var(--blue-900); font-size: inherit; }
.legacy-body a { color: var(--blue-600); text-decoration: underline; font-size: inherit; }
.legacy-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legacy-body td, .legacy-body th { padding: 0.5rem 0.75rem; border: 1px solid #dce3ec; font-size: 15px; }
.legacy-body th { background: var(--blue-800); color: #fff; }

/* Bottoni inline del vecchio sito (link con style="background-color:...") */
.legacy-body a[style*="background-color"] {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  min-width: 160px;
  min-height: 2.5rem;
  background-color: var(--brand) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 4px;
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .legacy-body .vc_col-sm-6,
  .legacy-body .vc_col-sm-4,
  .legacy-body .vc_col-sm-8 { width: 100%; float: none; padding: 0; }
  .legacy-body__inner { padding: 0 1.25rem; }
}
