/* ─── HOMEPAGE — hero, bento, sezioni categorie ──────────────────── */

body.page-index { overflow-x: hidden; }

/* ══════════════════════════════════════════════════
   HERO — carousel con testo dinamico per slide
══════════════════════════════════════════════════ */
.bn-hero {
  position: relative;
  min-height: 100svh; min-height: 80vh;
  overflow: hidden;
  background: var(--dark);
}

/* Slides (solo foto, absolute) */
.bn-hero__slides { position: absolute; inset: 0; z-index: 0; }
.bn-hero__slide  { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.bn-hero__slide.active { opacity: 1; }
.bn-hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: grayscale(16%) contrast(1.08) brightness(.76);
  will-change: transform;
}

/* Overlay doppio: vignetta laterale + gradiente basso */
.bn-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(14,12,11,.72) 0%, rgba(14,12,11,.1) 55%, rgba(14,12,11,.0) 100%),
    linear-gradient(to top,   rgba(14,12,11,.96) 0%, rgba(14,12,11,.3) 38%, transparent 70%);
}

/* Panel contenuto per ogni slide (testo a sinistra, in basso) */
.bn-hero__panels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bn-hero__panel {
  position: absolute;
  bottom: 110px; left: 60px;
  max-width: 660px;
  opacity: 0; pointer-events: none;
  transition: opacity .55s ease;
}
.bn-hero__panel.active { opacity: 1; pointer-events: auto; }

.bn-hero__panel-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-d); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.bn-hero__panel-kicker::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal);
  animation: bn-pulse 2s ease-in-out infinite;
}
.bn-hero__panel-cat { margin-bottom: 12px; }

.bn-hero__panel-title {
  font-family: var(--f-d);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 800; color: #fff;
  line-height: 1.07; letter-spacing: -.025em;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.bn-hero__panel-excerpt {
  font-family: var(--f-b);
  font-size: clamp(.88rem, 1.15vw, 1.02rem);
  color: rgba(255,255,255,.55); line-height: 1.62;
  margin-bottom: 28px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.bn-hero__panel-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-d); font-size: 13px; font-weight: 700;
  color: var(--ink); background: var(--teal);
  padding: 13px 26px; border-radius: 100px;
  text-decoration: none; transition: all .25s var(--ease);
}
.bn-hero__panel-btn:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(11,189,194,.28);
}
.bn-hero__panel-btn svg { flex-shrink: 0; }

/* Nav: frecce + dots */
.bn-hero__nav {
  position: absolute; bottom: 36px; left: 60px;
  z-index: 3; display: flex; align-items: center; gap: 14px;
}
.bn-hero__arr {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; backdrop-filter: blur(8px); flex-shrink: 0;
}
.bn-hero__arr:hover { background: rgba(255,255,255,.18); color: #fff; }
.bn-hero__dots-row { display: flex; align-items: center; gap: 8px; }
.bn-hero__dot-btn {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.28); border: none; cursor: pointer;
  padding: 0; transition: all .3s;
}
.bn-hero__dot-btn.active { background: var(--teal); width: 22px; border-radius: 3px; }

/* Indicatore di scorrimento (desktop) */
.bn-hero__scroll {
  position: absolute; bottom: 36px; right: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.bn-hero__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.38), transparent);
  animation: bn-line 2s ease-in-out infinite;
}
@keyframes bn-line {
  0%  { transform:scaleY(0); transform-origin:top; opacity:0; }
  50% { transform:scaleY(1); transform-origin:top; opacity:1; }
  100%{ transform:scaleY(1); transform-origin:bottom; opacity:0; }
}
.bn-hero__scroll-label {
  font-family: var(--f-d); font-size: 9px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.24); writing-mode: vertical-rl;
}

@keyframes bn-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.35; transform:scale(.6); }
}

/* ══════════════════════════════════════════════════
   SECTION HEADER — riutilizzabile
══════════════════════════════════════════════════ */
.bn-sec-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; padding: 0 40px;
}
.bn-sec-label {
  font-family: var(--f-d); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.bn-sec-more {
  font-family: var(--f-d); font-size: 12px; font-weight: 600;
  color: var(--teal); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; transition: gap .2s;
}
.bn-sec-more:hover { gap: 9px; }

/* Sezione con kicker + heading grande */
.bn-cat-head {
  max-width: 1320px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px;
}
.bn-cat-head__left {}
.bn-cat-head__kicker {
  font-family: var(--f-d); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 6px;
}
.bn-cat-head__h2 {
  font-family: var(--f-d); font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
}
.bn-cat-head__h2--light { color: #fff; }
.bn-cat-head__h2--dark  { color: var(--ink); }
.bn-cat-head__more {
  font-family: var(--f-d); font-size: 12px; font-weight: 600;
  color: var(--teal); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; transition: gap .2s;
  white-space: nowrap;
}
.bn-cat-head__more:hover { gap: 9px; }

/* ══════════════════════════════════════════════════
   BENTO GRID — ultime notizie
══════════════════════════════════════════════════ */
.bn-bento-section { background: var(--paper); padding: 72px 0 2px; }

.bn-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 300px;
  gap: 2px; background: var(--border);
  grid-auto-flow: dense;
}
.bn-bento .bn-bc:nth-child(1) { grid-column: 1 / 9;  grid-row: 1 / 3; }
.bn-bento .bn-bc:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 2; }
.bn-bento .bn-bc:nth-child(3) { grid-column: 9 / 13; grid-row: 2 / 3; }
.bn-bento .bn-bc:nth-child(4) { grid-column: 1 / 7;  grid-row: 3 / 4; }
.bn-bento .bn-bc:nth-child(5) { grid-column: 7 / 13; grid-row: 3 / 4; }

.bn-bento--4 .bn-bc:nth-child(1) { grid-column: 1 / 9;  grid-row: 1 / 3; }
.bn-bento--4 .bn-bc:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 2; }
.bn-bento--4 .bn-bc:nth-child(3) { grid-column: 9 / 13; grid-row: 2 / 3; }
.bn-bento--4 .bn-bc:nth-child(4) { grid-column: 1 / 13; grid-row: 3 / 4; }

.bn-bento--3 .bn-bc:nth-child(1) { grid-column: 1 / 9;  grid-row: 1 / 3; }
.bn-bento--3 .bn-bc:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 2; }
.bn-bento--3 .bn-bc:nth-child(3) { grid-column: 9 / 13; grid-row: 2 / 3; }

.bn-bento--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 380px; }
.bn-bento--2 .bn-bc:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.bn-bento--2 .bn-bc:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }

.bn-bc {
  position: relative; overflow: hidden;
  background: var(--dark); cursor: pointer;
  display: flex; flex-direction: column; text-decoration: none;
}
.bn-bc:hover { color: inherit; }
.bn-bc__img { position: absolute; inset: 0; z-index: 0; transition: transform .7s var(--ease); }
.bn-bc:hover .bn-bc__img { transform: scale(1.05); }
.bn-bc__img img { width: 100%; height: 100%; object-fit: cover; }
.bn-bc__grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14,12,11,.93) 0%, rgba(14,12,11,.2) 55%, transparent 100%);
}
.bn-bc__body { position: relative; z-index: 2; padding: 20px; margin-top: auto; }
.bn-bc__tag { margin-bottom: 10px; }
.bn-bc__title {
  font-family: var(--f-d); font-weight: 700; color: var(--white);
  line-height: 1.2; letter-spacing: -.015em;
}
.bn-bc:nth-child(1) .bn-bc__title { font-size: clamp(1.35rem, 2.3vw, 2.05rem); }
.bn-bc:nth-child(n+2) .bn-bc__title { font-size: clamp(.9rem, 1.35vw, 1.12rem); }
.bn-bc__excerpt {
  font-family: var(--f-b); font-size: 14px;
  color: rgba(255,255,255,.52); line-height: 1.5; margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.bn-bc:nth-child(n+2) .bn-bc__excerpt { display: none; }

/* ══════════════════════════════════════════════════
   MARQUEE CATEGORIE
══════════════════════════════════════════════════ */
.bn-marquee {
  background: var(--ink); padding: 18px 0; overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.bn-marquee__track { display: flex; will-change: transform; }
.bn-mi {
  flex-shrink: 0; display: flex; align-items: center; gap: 20px;
  padding: 0 26px; font-family: var(--f-d); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.3); text-transform: uppercase;
  letter-spacing: .8px; white-space: nowrap; text-decoration: none;
  transition: color .2s;
}
.bn-mi:hover { color: var(--teal); }
.bn-mi::after {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--teal); opacity: .32;
}

/* ══════════════════════════════════════════════════
   CARD SCURA (inchieste, reportage) — foto + testo overlay
══════════════════════════════════════════════════ */
.bn-nc-section { background: var(--dark); padding: 80px 0; }
.bn-nc-section__inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.bn-nc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
/* Reportage: 2 colonne più ampie */
.bn-nc-grid--2 { grid-template-columns: repeat(2, 1fr); }

.bn-nc {
  position: relative; height: 340px; overflow: hidden;
  background: var(--dark); cursor: pointer; display: block; text-decoration: none;
}
.bn-nc__img { position: absolute; inset: 0; }
.bn-nc__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(18%); transition: transform .65s var(--ease), filter .5s;
}
.bn-nc:hover .bn-nc__img img { transform: scale(1.06); filter: grayscale(0); }
.bn-nc__grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,11,.94) 0%, rgba(14,12,11,.18) 60%, transparent 100%);
  transition: opacity .35s;
}
.bn-nc:hover .bn-nc__grad { opacity: .88; }
.bn-nc__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 22px; z-index: 1;
}
.bn-nc__tag { margin-bottom: 9px; }
.bn-nc__title {
  font-family: var(--f-d); font-size: clamp(.9rem, 1.2vw, 1.08rem);
  font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.bn-nc:hover .bn-nc__title { color: var(--teal); }
.bn-nc__meta {
  margin-top: 8px; font-family: var(--f-b); font-size: 11px;
  color: rgba(255,255,255,.32); transition: opacity .2s;
}

/* ══════════════════════════════════════════════════
   CARD CHIARA (storie, curiosità) — foto + testo sotto
══════════════════════════════════════════════════ */
.bn-sc-section { background: var(--warm); padding: 80px 0; }
.bn-sc-section__inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.bn-sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.bn-sc {
  background: var(--paper); border-radius: 8px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer;
}
.bn-sc:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.bn-sc__img { aspect-ratio: 3/2; overflow: hidden; }
.bn-sc__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.bn-sc:hover .bn-sc__img img { transform: scale(1.05); }
.bn-sc__body { padding: 14px 16px 18px; flex: 1; }
.bn-sc__tag { margin-bottom: 8px; }
.bn-sc__title {
  font-family: var(--f-d); font-size: clamp(.88rem, 1.1vw, 1rem);
  font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.bn-sc:hover .bn-sc__title { color: var(--teal); }

/* ══════════════════════════════════════════════════
   SHARED CAROUSEL COMPONENTS
══════════════════════════════════════════════════ */
.bn-car__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--border-dark);
  color: rgba(255,255,255,.7); cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; backdrop-filter: blur(8px);
}
.bn-car__btn:hover { border-color: var(--teal); color: var(--teal); }
.bn-car__btn--prev { left: 10px; }
.bn-car__btn--next { right: 10px; }
.bn-car__dots {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 20px 0 0;
}
.bn-car__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  padding: 0; transition: all .3s;
}
.bn-car__dot.active { background: var(--teal); width: 20px; border-radius: 3px; }

/* ══════════════════════════════════════════════════
   EVENTI — carousel
══════════════════════════════════════════════════ */
.bn-events { background: var(--paper); padding: 80px 0; }
.bn-events__car { position: relative; max-width: 1320px; margin: 0 auto; }
.bn-events__viewport { overflow: hidden; }
.bn-events__track { display: flex; transition: transform .55s var(--ease); }

.bn-evc {
  flex-shrink: 0; width: 33.3333%;
  background: #fff; padding: 28px 32px; cursor: pointer;
  display: flex; align-items: center; gap: 24px;
  text-decoration: none; transition: background .2s;
  border-right: 1px solid var(--border);
}
.bn-evc:hover { background: #f9f9f9; }
.bn-evc:last-child { border-right: none; }

.bn-evc__cal {
  flex-shrink: 0; width: 56px; text-align: center;
  border: 2px solid var(--teal); border-radius: 8px;
  padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.bn-evc__cal-day { font-family: var(--f-d); font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.bn-evc__cal-name { font-family: var(--f-d); font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.bn-evc__cal-month { font-family: var(--f-d); font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--teal); }
.bn-evc__info { flex: 1; min-width: 0; }
.bn-evc__title {
  font-family: var(--f-d); font-size: 1.02rem; font-weight: 700;
  color: var(--ink); line-height: 1.3; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bn-evc__where {
  font-family: var(--f-b); font-size: 12px; color: var(--muted); margin-top: 6px;
  display: flex; align-items: center; gap: 6px;
}
.bn-evc__where::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.bn-evc__time { font-family: var(--f-d); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.bn-evc__arr { flex-shrink: 0; color: var(--border); transition: color .2s, transform .2s; }
.bn-evc:hover .bn-evc__arr { color: var(--teal); transform: translateX(4px); }

/* Pulsanti posizionati appena fuori dal viewport per non coprire le card */
.bn-events__car .bn-car__btn { background: var(--dark); border-color: var(--border-dark); color: rgba(255,255,255,.6); }
.bn-events__car .bn-car__btn:hover { border-color: var(--teal); color: var(--teal); }
.bn-events__car .bn-car__btn--prev { left: -22px; }
.bn-events__car .bn-car__btn--next { right: -22px; }
.bn-events .bn-car__dot { background: var(--border); }
.bn-events .bn-car__dot.active { background: var(--teal); }

/* ══════════════════════════════════════════════════
   GALLERY — carousel full-width
══════════════════════════════════════════════════ */
.bn-gallery { background: var(--dark); padding: 80px 0; }
.bn-gallery__hdr { padding: 0 40px; margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; }
.bn-gallery__label { font-family: var(--f-d); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.32); }
.bn-gallery__link { font-family: var(--f-d); font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.bn-gallery__link:hover { gap: 10px; }

.bn-gallery__car { position: relative; }
.bn-gallery__viewport { overflow: hidden; }
.bn-gallery__track { display: flex; transition: transform .7s var(--ease); }
.bn-gallery__page {
  flex-shrink: 0; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding: 0 40px;
  box-sizing: border-box;
}
.bn-gi {
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none;
  border-radius: 6px; display: block;
}
.bn-gi img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease), filter .5s;
  filter: grayscale(22%) contrast(1.06);
}
.bn-gi:hover img { transform: scale(1.07); filter: grayscale(0%); }

/* Gradiente sempre visibile in basso per il nome */
.bn-gi__grad {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(14,12,11,.88) 0%, transparent 100%);
  pointer-events: none;
}

/* Nome galleria — sempre visibile */
.bn-gi__label {
  position: absolute; bottom: 14px; left: 14px; right: 52px;
  font-family: var(--f-d); font-size: 13px; font-weight: 600;
  color: var(--white); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Freccia teal — appare al hover */
.bn-gi__arr {
  position: absolute; bottom: 10px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.65) rotate(-45deg);
  transition: opacity .25s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.bn-gi__arr svg { flex-shrink: 0; }
.bn-gi:hover .bn-gi__arr { opacity: 1; transform: scale(1) rotate(0deg); }

.bn-gallery__car .bn-car__btn { background: rgba(14,12,11,.7); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.65); }
.bn-gallery__car .bn-car__btn:hover { border-color: var(--teal); color: var(--teal); }
.bn-gallery .bn-car__dot { background: rgba(255,255,255,.2); }
.bn-gallery .bn-car__dot.active { background: var(--teal); }

/* ══════════════════════════════════════════════════
   NEWSLETTER CTA
══════════════════════════════════════════════════ */
.bn-nl { background: var(--ink); padding: 100px 40px; text-align: center; position: relative; overflow: hidden; }
.bn-nl::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(11,189,194,.08) 0%, transparent 70%); }
.bn-nl__inner { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.bn-nl__kicker { display: inline-block; font-family: var(--f-d); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.bn-nl__heading { font-family: var(--f-d); font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.0; letter-spacing: -.03em; margin-bottom: 14px; }
.bn-nl__sub { font-family: var(--f-b); font-size: 15px; color: rgba(255,255,255,.38); line-height: 1.5; margin-bottom: 34px; }
.bn-nl__form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.bn-nl__input { flex: 1; font-family: var(--f-b); font-size: 14px; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 12px 20px; outline: none; transition: all .2s; }
.bn-nl__input::placeholder { color: rgba(255,255,255,.26); }
.bn-nl__input:focus { border-color: var(--teal); background: rgba(11,189,194,.06); }
.bn-nl__submit { font-family: var(--f-d); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--teal); border: none; border-radius: 100px; padding: 12px 22px; cursor: pointer; white-space: nowrap; transition: all .2s; }
.bn-nl__submit:hover { background: #fff; transform: translateY(-1px); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .bn-bento { grid-template-columns: repeat(6, 1fr); grid-template-rows: 280px 280px 200px 200px; }
  .bn-bc:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
  .bn-bc:nth-child(2) { grid-column: 1 / 4; grid-row: 3 / 4; }
  .bn-bc:nth-child(3) { grid-column: 4 / 7; grid-row: 3 / 4; }
  .bn-bc:nth-child(4) { grid-column: 1 / 4; grid-row: 4 / 5; }
  .bn-bc:nth-child(5) { grid-column: 4 / 7; grid-row: 4 / 5; }
  .bn-nc-grid { grid-template-columns: repeat(3, 1fr); }
  .bn-sc-grid  { grid-template-columns: repeat(2, 1fr); }
  .bn-evc { width: 50%; }
  .bn-hero__panel { left: 40px; max-width: 580px; }
}
@media (max-width: 768px) {
.bn-hero{min-height: 60vh;}
  .bn-hero__panel { bottom: 90px; left: 20px; right: 20px; max-width: none; }
  .bn-hero__panel-title { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
  .bn-hero__panel-excerpt { display: none; }
  .bn-hero__panel-btn { font-size: 12px; padding: 11px 22px; }
  .bn-hero__nav { left: 20px; bottom: 28px; }
  .bn-hero__scroll { display: none; }

  .bn-sec-hdr { padding: 0 20px; }
  .bn-cat-head { padding: 0 20px; }

  /* Bento mobile: flexbox colonna unica, evita i conflitti di grid-auto-flow: dense */
  .bn-bento { display: flex; flex-direction: column; gap: 2px; background: var(--border); }
  .bn-bc { width: 100%; height: 230px; }
  .bn-bc:nth-child(1) { height: 280px; }
  .bn-bc:nth-child(1) .bn-bc__excerpt { display: none; }

  .bn-nc-section__inner { padding: 0; }
  .bn-nc-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .bn-nc { height: 220px; }
  .bn-nc-grid--2 { grid-template-columns: 1fr; }

  .bn-sc-section__inner { padding: 0 20px; }
  .bn-sc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Agenda eventi mobile: scroll nativo con snap centrale */
  .bn-events__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .bn-events__viewport::-webkit-scrollbar { display: none; }
  .bn-events__track { transform: none !important; transition: none; }
  .bn-evc { width: 82vw; flex-shrink: 0; scroll-snap-align: center; border-right: 1px solid var(--border); border-bottom: none; }
  /* La freccia dentro la card (bn-evc__arr) confonde: si nasconde su mobile */
  .bn-evc__arr { display: none; }
  /* I pulsanti prev/next restano visibili ma vengono pilotati via scrollLeft dal JS mobile */
  .bn-events .bn-car__dots { display: none; }
  /* Su mobile ripristina posizione interna (lo spazio esterno non c'è) */
  .bn-events__car .bn-car__btn { z-index: 10; }
  .bn-events__car .bn-car__btn--prev { left: 4px; }
  .bn-events__car .bn-car__btn--next { right: 4px; }

  .bn-gallery__page { padding: 0 20px; gap: 8px; }
  .bn-gallery__hdr { padding: 0 20px; }
  .bn-car__btn--prev { left: 4px; }
  .bn-car__btn--next { right: 4px; }

  .bn-nl { padding: 72px 20px; }
  .bn-nl__form { flex-direction: column; }
}
@media (max-width: 480px) {
  .bn-sc-grid { grid-template-columns: 1fr; }
  .bn-nc-grid { grid-template-columns: 1fr; }
  .bn-nc { height: 260px; }
  /* Card eventi leggermente più larghe sui telefoni piccoli */
  .bn-evc { width: 90vw; }
}
