@font-face { font-family: "Johnnie"; src: url("assets/fonts/Johnnie-Light.woff2") format("woff2"), url("assets/fonts/Johnnie-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Johnnie"; src: url("assets/fonts/Johnnie-Regular.woff2") format("woff2"), url("assets/fonts/Johnnie-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Johnnie"; src: url("assets/fonts/Johnnie-Medium.woff2") format("woff2"), url("assets/fonts/Johnnie-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Johnnie"; src: url("assets/fonts/Johnnie-Bold.woff2") format("woff2"), url("assets/fonts/Johnnie-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "ArchIP"; src: url("assets/fonts/ArchIP-Light.woff2") format("woff2"), url("assets/fonts/ArchIP-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "ArchIP"; src: url("assets/fonts/ArchIP-Regular.woff2") format("woff2"), url("assets/fonts/ArchIP-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "ArchIP"; src: url("assets/fonts/ArchIP-Italic.woff2") format("woff2"), url("assets/fonts/ArchIP-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #111;
  --muted: #666;
  --red: #781c15;
  --line: #e6e6e6;
  --soft: #f3f3f3;
  --serif: "ArchIP", Georgia, serif;
  --sans: "Johnnie", system-ui, sans-serif;
  --head: 68px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { letter-spacing: -.05rem; font-family: var(--sans); background: #fff; color: var(--ink); line-height: 1.5; padding-top: var(--head); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; height: var(--head); z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 0 44px; background: #fff; }
.logo { display: block; line-height: 0; }
.logo img { width: 128px; height: auto; }
.top nav { display: flex; gap: 28px; }
.top nav a { text-decoration: none; font-size: .82rem; font-weight: 500; padding: 8px 0; border-bottom: 1px solid transparent; }
.top nav a:hover { border-color: var(--red); }

/* Hero */
.hero { position: relative; height: min(74vh, 620px); min-height: 460px; overflow: hidden; background: #e7e5e1; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; display: flex; align-items: flex-end; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg.has-img { inset: -50px; filter: blur(30px) saturate(.9) brightness(1.08); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.55) 50%, rgba(255,255,255,.1)); }
.slide-cover { position: absolute; z-index: 2; right: max(80px, calc((100% - 1180px) / 2 + 40px)); top: 50%; translate: 0 -50%; height: min(82%, 480px); width: auto; box-shadow: 0 20px 50px -14px rgba(0,0,0,.45); }
.slide-body { position: relative; z-index: 3; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px 78px 80px; }
.kicker { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 2px; height: 10px; background: var(--red); }
.slide h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; max-width: 18ch; margin: 14px 0 12px; }
.slide .excerpt { font-size: .82rem; color: #333; max-width: 46ch; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide-meta { font-size: .82rem; font-weight: 500; margin-bottom: 22px; }
.more { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.more i { width: 40px; height: 40px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 1rem; transition: background .2s; }
.more:hover i { background: var(--red); }

.arrow { position: absolute; z-index: 5; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(90,90,90,.7); color: #fff; cursor: pointer; font-size: .95rem; }
.arrow:hover { background: var(--red); }
.arrow-prev { left: 16px; }
.arrow-next { right: 16px; }
.hero-ui { position: absolute; z-index: 5; left: 80px; bottom: 22px; display: flex; align-items: center; gap: 4px; }
.dots { display: flex; }
.dot { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; position: relative; }
.dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: rgba(0,0,0,.25); }
.dot[aria-selected="true"]::before { background: var(--red); }
.pause { background: none; border: 0; font: inherit; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; margin-left: 10px; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }

/* Tinte di riserva quando manca la copertina */
.tone-1, .tone-3, .tone-5 { background: linear-gradient(135deg, #ece8e1, #cfc8bb); }
.tone-2 { background: linear-gradient(135deg, #e6e9ec, #c3cbd2); }
.tone-4 { background: linear-gradient(135deg, #e7ebe2, #c6cdb9); }

/* Calendario */
.calendar { padding: 76px 0 96px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.sec-head h2 { font-family: var(--sans); font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 2px; height: 14px; background: var(--red); }
.view { display: flex; gap: 18px; }
.vbtn { font: inherit; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; min-height: 44px; cursor: pointer; color: var(--muted); }
.vbtn.is-on { color: var(--ink); border-color: var(--red); }

.cards { list-style: none; padding: 0; display: grid; gap: 30px 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1 / 1; background-size: cover; background-position: center 18%; background-color: var(--soft); overflow: hidden; }
.card-img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.stamp { position: absolute; z-index: 2; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 13px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.stamp .d { font-weight: 300; font-size: 2.7rem; line-height: .72; display: block; }
.stamp .sep { width: 1px; height: 2.3rem; background: rgba(255,255,255,.75); }
.stamp .my { font-weight: 300; font-size: .95rem; line-height: 1.15; letter-spacing: inherit; opacity: .95; display: block; }
.card-img.tile { background: var(--red) url("assets/logo_white.svg") center / 56% auto no-repeat; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.tag { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 500; margin-top: 4px; }
.tag b { background: #111; color: #fff; padding: 1px 8px; font-weight: 500; }
.card h3 { font-weight: 400; font-size: 1.45rem; line-height: 1.12; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--red); }
.where { font-size: .9rem; }
.where span { color: var(--red); margin: 0 9px; }
.card .excerpt { display: none; font-size: .86rem; color: var(--muted); max-width: 70ch; }
.empty { color: var(--muted); padding: 30px 0; }

.cards.as-list { grid-template-columns: 1fr; gap: 0; }
.cards.as-list .card { flex-direction: row; gap: 26px; padding: 22px 0; border-top: 1px solid var(--line); }
.cards.as-list .card:last-child { border-bottom: 1px solid var(--line); }
.cards.as-list .card-img { width: 220px; flex-shrink: 0; }
.cards.as-list .stamp .d { font-size: 2rem; }
.cards.as-list .stamp .sep { height: 1.8rem; }
.cards.as-list .card-body { padding-top: 0; justify-content: center; }
.cards.as-list .card .excerpt { display: block; }

/* Footer */
.foot { background: var(--soft); padding: 56px 0 26px; font-size: .78rem; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1.5fr 1fr 1fr; align-items: start; padding-bottom: 34px; border-bottom: 1px solid #d9d9d9; }
.foot img { display: block; margin-bottom: 18px; }
.foot address { font-style: normal; line-height: 1.8; }
.foot h2 { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.foot p { margin-bottom: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--red); }
.copy { margin: 20px 0 0; color: var(--muted); font-size: .72rem; }

@media (max-width: 800px) {
  .top { padding: 0 20px; }
  .top nav { gap: 16px; }
  .slide-cover, .arrow { display: none; }
  .slide-body { padding: 0 24px 76px; }
  .hero-ui { left: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cards.as-list .card { flex-direction: column; gap: 0; }
  .cards.as-list .card-img { width: 100%; aspect-ratio: 1 / 1; }
  .cards.as-list .card-body { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .more i { transition: none; } }

/* Angoli: 3px su tutti gli elementi rettangolari (i pulsanti tondi restano tondi) */
.card-img, .slide-cover, .tag b, .skip, .foot img { border-radius: 3px; }
.slide-cover { border-radius: 3px; }
.vbtn, .pause, .dot, .scroll, .logo img { border-radius: 3px; }
:focus-visible { border-radius: 3px; }

/* Icone SVG inline */
.ico { width: 1em; height: 1em; display: block; flex-shrink: 0; }
.arrow { display: grid; place-items: center; font-size: 1.25rem; }
.more i { font-size: 1.35rem; }
.vbtn { display: inline-flex; align-items: center; gap: 6px; }
.vbtn .ico { font-size: 1.25rem; }
@media (max-width: 800px) { .arrow { display: none; } }

/* Tipografia: sans con tracking stretto, serif (ArchIP) senza tracking */
.slide h1 { letter-spacing: 0; }
.kicker, .more, .pause, .scroll, .foot h2 { letter-spacing: 0; }

/* Intestazione di sezione e selettore vista */
.sec-head { align-items: center; margin-bottom: 30px; }
.sec-head h2 { font-size: 1.5rem; font-weight: 400; gap: 12px; line-height: 1.1; }
.sec-head h2 b { font-weight: 700; margin-right: -.2rem; }
.sec-head h2::before { height: 1.15em; }
.view { gap: 26px; }
.vbtn { letter-spacing: 0; font-size: .72rem; font-weight: 500; color: #8a8a8a; border-bottom: 0; padding: 0; min-height: 44px; gap: 8px; text-underline-offset: 7px; text-decoration-thickness: 1px; text-decoration-color: transparent; }
.vbtn:hover { color: var(--ink); }
.vbtn.is-on { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); }

/* Titolo di sezione: come il sito originale */
.sec-head h2 { font-size: 1.3rem; gap: 14px; }
.sec-head h2 b { font-weight: 700; margin-right: 0; }
.sec-head h2::before { height: 1.3em; width: 2px; }
.sec-head h2 { display: block; }
.sec-head h2::before { display: inline-block; vertical-align: -.22em; margin-right: 14px; }

/* Blocco asta: come il sito originale */
.card-body { padding: 14px 15px 0; gap: 2px; }
.cards.as-list .card-body { padding: 0; }
.tag { font-size: .85rem; font-weight: 500; gap: 7px; margin: 0; }
.tag b { padding: 0 8px; font-size: .8rem; line-height: 1.35; }
.card h3 { font-size: 1.9rem; line-height: 1.02; margin: 3px 0 4px; }
.where { font-size: 1.02rem; font-weight: 500; }
.stamp { left: 16px; bottom: 15px; gap: 14px; }
.stamp .d { font-size: 3rem; font-weight: 400; }
.stamp .sep { height: 2.5rem; }
.stamp .my { font-size: 1.05rem; line-height: 1.1; opacity: .85; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.cards.as-list .stamp .d { font-size: 2.2rem; }
.cards.as-list .stamp .sep { height: 1.9rem; }
.cards.as-list .stamp .my { font-size: .85rem; }

/* Centratura ottica: le cifre del font hanno il centro dell'inchiostro ~.07em sotto il centro del riquadro */
.stamp .d { transform: translateY(-.07em); }
.stamp .my { transform: translateY(-.1em); }

/* Blocco asta: allineamento fine al modello */
.card-body { padding: 28px 15px 0; gap: 0; }
.cards.as-list .card-body { padding: 0; }
.tag { margin: 0 0 1px; }
.card h3 { font-weight: 500; font-size: 1.95rem; line-height: .98; margin: 0 0 9px; letter-spacing: -.07rem; }
.card h3 a, .card:hover h3 a { color: var(--ink); }
.where { line-height: 1.2; }
.cards.as-list .card h3 { font-size: 1.7rem; }

/* Centratura ottica dell'etichetta */
.tag span { transform: translateY(-.07em); }
.tag b { padding: 0 8px .18em; line-height: 1.3; }

/* Respiro tra le aste */
.cards { gap: 72px 28px; }
.card-body { padding-bottom: 6px; }
.calendar { padding-bottom: 120px; }
.cards.as-list { gap: 0; }
.cards.as-list .card { padding: 30px 0; }

/* Foto quadrate nelle schede e nello slider */
.card-img { background-position: center; }
.slide-cover.is-square { height: min(82%, 440px); aspect-ratio: 1 / 1; object-fit: cover; }
.card-img::after { inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); }

/* Allineamento: header, slider e contenuto condividono lo stesso margine laterale */
:root { --edge: max(28px, calc((100% - 1180px) / 2 + 28px)); }
.top { padding-left: var(--edge); padding-right: var(--edge); }
.slide-body { max-width: none; margin: 0; padding: 0 var(--edge) 78px; }
.slide-cover { right: var(--edge); }
.hero-ui { left: calc(var(--edge) - 4px); }
@media (max-width: 800px) {
  .top { padding-left: var(--edge); padding-right: var(--edge); }
  .slide-body { padding: 0 var(--edge) 76px; }
  .hero-ui { left: calc(var(--edge) - 4px); }
}

/* === Misure del blocco asta (specifiche) === */
.tag { font-size: 14px; }
.tag b { font-size: 14px; }
.card h3 { font-size: 30px; line-height: 1.05; }
.where { font-size: 18px; }
.cards.as-list .card h3 { font-size: 30px; }

/* Data in sovrimpressione: l'altezza delle cifre del giorno (0,72 x corpo)
   deve coincidere con l'altezza delle due righe a destra (interlinea 1,1 + 0,73 x corpo = 1,83 x corpo) */
.stamp { --s: 1.05rem; gap: 14px; }
.stamp .d { font-size: calc(var(--s) * 2.48); line-height: .72; font-weight: 400; transform: translateY(-.07em); }
.stamp .my { font-size: var(--s); line-height: 1.1; transform: translateY(-.065em); }
.stamp .sep { height: calc(var(--s) * 1.83); }
.cards.as-list .stamp { --s: .85rem; }
.cards.as-list .stamp .d { font-size: calc(var(--s) * 2.48); }
.cards.as-list .stamp .sep { height: calc(var(--s) * 1.83); }
.cards.as-list .stamp .my { font-size: var(--s); }

/* Separatore: icona a linea verticale al posto del carattere | */
.where, .slide-meta { display: flex; align-items: center; flex-wrap: wrap; }
.vline { display: block; flex-shrink: 0; width: 2px; height: 1.05em; margin: 0 .65em; color: var(--red); transform: translateY(.07em); }
.vline { height: .74em; }

/* Pulsante pausa/play a icona */
.pause { width: 32px; height: 32px; margin-left: 6px; padding: 0; display: grid; place-items: center; text-decoration: none; font-size: 1.5rem; color: var(--ink); border-radius: 3px; }
.pause:hover { color: var(--red); }
.pause .i-play, .pause.is-paused .i-pause { display: none; }
.pause.is-paused .i-play { display: block; }
.pause { width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.3rem; margin-left: 10px; transition: color .2s, border-color .2s; }
.pause:hover { color: var(--red); border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { .pause { transition: none; } }

/* Slider: immagine e blocco di testo condividono lo stesso bordo inferiore (linea a 78px dal fondo) */
.slide-cover, .slide-cover.is-square { top: auto; bottom: 78px; translate: none; height: min(440px, calc(100% - 130px)); }
.slide-cover.is-square { width: auto; aspect-ratio: 1 / 1; }
.slide-body { padding-bottom: 78px; }
.slide-body > .more { display: flex; width: max-content; }


/* ===== Slider: blocco di sinistra (testo + controlli) e immagine finiscono sulla stessa linea ===== */
:root { --b: 56px; --btn: 40px; }
.hero { min-height: 580px; }
.arrow { display: none !important; }
.slide-body { padding: 0 var(--edge) calc(var(--b) + var(--btn) + 32px); }
.slide-cover, .slide-cover.is-square { top: auto; bottom: var(--b); right: var(--edge); translate: none; width: auto; aspect-ratio: 1 / 1; object-fit: cover; height: min(440px, calc(100% - 120px)); }
.hero-ui { left: var(--edge); right: auto; bottom: var(--b); height: var(--btn); gap: 10px; align-items: center; }

/* ===== Pulsanti tondi: stesso aspetto e stessa animazione ovunque ===== */
.rbtn, .more i {
  width: var(--btn); height: var(--btn); margin: 0; padding: 0;
  border: 1px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink);
  display: grid; place-items: center; font-size: 1.35rem; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.more i { background: var(--ink); color: #fff; }
.rbtn .ico, .more i .ico { transition: transform .25s ease; }
.rbtn:hover, .more:hover i { background: var(--red); border-color: var(--red); color: #fff; }
.rbtn.is-next:hover .ico, .more:hover i .ico { transform: translateX(3px); }
.rbtn.is-prev:hover .ico { transform: translateX(-3px); }
.rbtn:active, .more:active i { transform: scale(.94); }

/* ===== Indicatori: pallini tondi ===== */
.dots { margin-left: 14px; gap: 0; }
.dot { width: 22px; height: var(--btn); }
.dot::before { left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(0,0,0,.25); transition: background-color .25s ease, transform .25s ease; }
.dot:hover::before { background: rgba(0,0,0,.5); }
.dot[aria-selected="true"]::before { background: var(--red); transform: scale(1.25); }

@media (max-width: 800px) {
  .hero-ui { left: var(--edge); }
  .slide-body { padding-bottom: calc(var(--b) + var(--btn) + 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .rbtn, .more i, .rbtn .ico, .more i .ico, .dot::before { transition: none; }
  .rbtn:hover .ico, .more:hover i .ico { transform: none; }
}

/* Scorrimento manuale dello slider */
.hero { touch-action: pan-y; cursor: grab; }
.hero.is-dragging { cursor: grabbing; user-select: none; }
.hero .rbtn, .hero .dot, .hero .more { cursor: pointer; }
.slide-cover { -webkit-user-drag: none; user-select: none; }

/* ===== Slider: composizione centrata, blocco di testo alto quanto l'immagine ===== */
.hero { height: 580px; min-height: 0; --pad: 70px; --b: var(--pad); }
.slide { display: block; }
.slide-body {
  position: absolute; z-index: 3; left: 0; right: 0; width: auto; margin: 0;
  top: var(--pad); bottom: calc(var(--pad) + var(--btn) + 28px);
  padding: 0 var(--edge);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
}
.slide-body > .more { margin-top: auto; }
.slide-meta { margin-bottom: 0; }
.slide-body .excerpt { margin-bottom: 10px; }
.slide-cover, .slide-cover.is-square { top: var(--pad); bottom: auto; height: calc(100% - 2 * var(--pad)); width: auto; aspect-ratio: 1 / 1; right: var(--edge); }
.hero-ui { bottom: var(--pad); }
@media (max-width: 800px) {
  .hero { height: 560px; --pad: 32px; }
  .slide-body { padding: 0 var(--edge); }
}

/* Logo header più grande */
.logo img { width: 172px; }
@media (max-width: 800px) { .logo img { width: 140px; } }

/* Footer: contatti, WhatsApp e social */
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.social { list-style: none; padding: 0; display: grid; gap: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Footer: riga bassa con copyright a sinistra e social a destra */
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.foot-bottom .copy { margin: 0; }
.follow { display: flex; align-items: center; gap: 10px; }
.follow-label { font-size: .72rem; font-weight: 700; margin-right: 6px; }
.foot a.rbtn { border-bottom: 1px solid var(--ink); }
.foot a.rbtn:hover { color: #fff; border-color: var(--red); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } .foot-bottom { flex-direction: column; align-items: flex-start; } }

/* Bordi dei pulsanti tondi: nero al 15% */
:root { --border-soft: rgba(17, 17, 17, .15); }
.rbtn, .pause, .foot a.rbtn { border: 1px solid var(--border-soft); }
.more i { border: 1px solid var(--border-soft); }
.rbtn:hover, .more:hover i, .pause:hover, .foot a.rbtn:hover { border-color: var(--red); }

/* ===== Selettore lingua nell'header ===== */
.top-right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 4px; }
.lang button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px; background: none; border: 0; font: inherit; font-size: .78rem; font-weight: 500; color: #8a8a8a; cursor: pointer; text-underline-offset: 7px; text-decoration: underline transparent 1px; transition: color .2s ease; }
.lang button img { display: block; border-radius: 3px; opacity: .55; transition: opacity .2s ease; }
.lang button:hover { color: var(--ink); }
.lang button:hover img { opacity: 1; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 700; text-decoration-color: var(--red); }
.lang button[aria-pressed="true"] img { opacity: 1; }
@media (max-width: 640px) { .top-right nav { display: none; } .top-right { gap: 0; } }
@media (prefers-reduced-motion: reduce) { .lang button, .lang button img { transition: none; } }

/* Selettore lingua testuale */
.lang { gap: 8px; }
.lang button { padding: 0 4px; font-size: .78rem; letter-spacing: 0; }

/* ===== Scheda asta ===== */
.crumbs { display: flex; align-items: center; gap: 10px; padding: 28px 0 0; font-size: .85rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--border-soft); }
.crumbs a:hover { color: var(--red); border-color: var(--red); }
.crumb-sep { color: var(--red); }
.crumbs [aria-current] { font-weight: 700; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; padding: 30px 0 56px; }
.detail-img { border-radius: 3px; }
.detail-text .tag { margin-bottom: 6px; }
.detail-title { font-family: var(--serif); font-weight: 400; letter-spacing: 0; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.06; margin: 0 0 14px; }
.detail-text .where { margin-bottom: 26px; }
.info { display: grid; grid-template-columns: minmax(7rem, 9.5rem) 1fr; gap: 12px 24px; margin: 0 0 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.info dt { font-weight: 700; }
.info dd { margin: 0; }
.notfound { grid-column: 1 / -1; padding: 40px 0; }
.notfound p { font-size: 1.4rem; margin-bottom: 24px; }

.desc { padding: 0 0 80px; }
.desc .sec-head { margin-bottom: 22px; }
.desc-body { max-width: 74ch; }
.desc-body p { font-size: 1.02rem; line-height: 1.7; margin: 0 0 1.1em; }
.others { padding-top: 0; border-top: 1px solid var(--line); padding-top: 64px; }

@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .info { grid-template-columns: 1fr; gap: 2px 0; }
  .info dd { margin-bottom: 12px; }
}


/* Link allo sfogliabile */
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.more.is-ext:hover i .ico { transform: translate(2px, -2px); }
.desc { padding-top: 8px; }

/* ===== Avviso ai clienti (impostazione editoriale) ===== */
.notice { background: var(--soft); padding: 46px 0 28px; border-bottom: 1px solid #d9d9d9; }
.notice-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px 72px; align-items: center; }
.notice .hello { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); margin: 0 0 16px; }
.notice .hello::before { content: ""; width: 24px; height: 1px; background: var(--red); }
.notice h2 { margin: 0; font-weight: 400; letter-spacing: 0; font-family: var(--serif); }
.notice h2 .t1 { display: block; font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.04; color: var(--ink); max-width: 16ch; }
.notice h2 .t2 { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.3; color: var(--muted); margin-top: 14px; max-width: 36ch; }
.notice .lead { margin: 20px 0 0; font-size: .95rem; color: var(--ink); }

.contact-panel { background: var(--red); color: #fff; border-radius: 3px; padding: 26px 30px 12px; }
.contact-panel h3 { font-size: .85rem; font-weight: 700; margin: 0 0 6px; }
.contact-panel p { font-size: .84rem; line-height: 1.45; opacity: .9; margin: 0 0 16px; }
.bigline { display: flex; align-items: center; gap: 16px; padding: 15px 0; color: #fff; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .22); }
.bigline .cicon { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; transition: background-color .25s ease, color .25s ease; }
.bigline:hover .cicon { background: #fff; color: var(--red); }
.bl-text small { display: block; font-size: .72rem; opacity: .8; line-height: 1.2; }
.bl-text strong { display: block; font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.bigline:focus-visible { outline-color: #fff; outline-offset: -3px; }

.notice-notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 72px; margin-top: 44px; padding-top: 40px; border-top: 1px solid #d9d9d9; }
.notice-notes .note { max-width: 78ch; }
.note { display: flex; align-items: flex-start; gap: 14px; }
.nicon { width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(17, 17, 17, .2); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--red); }
.note h3 { font-size: .85rem; font-weight: 700; margin: 0 0 4px; }
.note p { font-size: .84rem; line-height: 1.5; color: #2b2b2b; margin: 0; }
.note .continues { font-size: .9rem; font-weight: 500; color: var(--ink); padding-top: 8px; }
.note .privacy { margin-top: 8px; }
.note .privacy a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(17, 17, 17, .3); }
.note .privacy a:hover { color: var(--red); border-color: var(--red); }
.notice .sorry { margin: 40px 0 0; font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .notice { padding: 32px 0 22px; }
  .notice-top, .notice-notes { grid-template-columns: 1fr; gap: 24px; }
  .notice h2 .t1 { max-width: none; }
  .notice-notes .note:nth-child(3) { grid-column: auto; grid-row: auto; }
  .notice-notes .note { max-width: none; }
}
@media (max-width: 640px) { .bl-text strong { font-size: 1.2rem; } .contact-panel { padding: 22px 20px 8px; } }
@media (prefers-reduced-motion: reduce) { .bigline .cicon { transition: none; } }
.notice h2 .t1 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 18ch; }
.notice h2 .t2 { font-size: clamp(1.05rem, 1.45vw, 1.25rem); margin-top: 12px; }

/* Icone dell'avviso: set Cambi */
.bigline .cicon { font-size: 1.05rem; }
.nicon { border: 0; width: 32px; height: 32px; font-size: 1.6rem; justify-content: center; }
.note:first-child .nicon, .note:last-child .nicon { margin-top: 1px; }
.bl-text strong { font-size: 1.2rem; }
@media (max-width: 640px) { .bl-text strong { font-size: 1.05rem; } }

/* ===== Striscia fissa (impostazione editoriale) ===== */
html { scroll-padding-top: calc(var(--head) + 54px); }
.strip { position: fixed; top: var(--head); left: 0; right: 0; z-index: 29; background: var(--soft); color: var(--ink);
  border-top: 2px solid var(--red); border-bottom: 1px solid #d9d9d9; box-shadow: 0 12px 22px -18px rgba(0, 0, 0, .55);
  transform: translateY(-100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.strip.is-on { transform: none; visibility: visible; transition: transform .3s ease; }
.strip-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 32px; min-height: 46px; padding-top: 8px; padding-bottom: 8px; }
.strip-left { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.sicon { display: grid; color: var(--red); font-size: 1.1rem; }
.strip-msg { margin: 0; font-size: .84rem; line-height: 1.3; }
.strip-msg strong { font-weight: 500; }
.strip .muted { color: var(--muted); font-weight: 400; }
.strip-msg .muted { margin-left: 6px; }
.strip-more { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-size: .8rem; font-weight: 500; color: var(--red); text-decoration: none; border-bottom: 1px solid transparent; }
.strip-more .ico { font-size: .8rem; transition: transform .2s ease; }
.strip-more:hover { border-bottom-color: var(--red); }
.strip-more:hover .ico { transform: translateY(-2px); }
.strip-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; font-size: .84rem; }
.sc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sc .ico { font-size: .9rem; color: var(--red); }
.sc:hover { color: var(--red); }
@media (max-width: 900px) { .strip-in { gap: 4px 20px; } .strip-more { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .strip, .strip.is-on { transition: none; } .strip-more .ico { transition: none; } }
@media (max-width: 640px) {
  .strip .muted { display: none; }
  .strip-in { gap: 2px 16px; min-height: 0; padding-top: 7px; padding-bottom: 7px; }
  .strip-left { gap: 2px 10px; }
  .strip-msg, .strip-contact { font-size: .8rem; }
  .strip-contact { gap: 2px 16px; }
  .strip-more { margin-left: 6px; }
}

/* Avvisi ripetuti nelle pagine delle singole aste */
.notice-compact { padding: 28px 0 24px; }
.notice-compact .notice-notes { margin-top: 0; padding-top: 0; border-top: 0; }

/* Calendario: griglia a 2 colonne */
.calendar:not(.others) .cards:not(.as-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .calendar:not(.others) .cards:not(.as-list) { grid-template-columns: 1fr; } }
.detail-text .notice-compact { background: none; border: 0; padding: 0; margin-top: 32px; }
.detail-text .notice-compact .wrap { padding: 0; max-width: none; }
.detail-text .notice-notes { padding-top: 28px; border-top: 1px solid var(--line); gap: 22px; }
.detail-text .notice-notes .note { max-width: none; }

/* Scheda asta: gerarchia più ordinata */
.detail { padding-bottom: 48px; }
.detail-text .notice-compact { background: var(--soft); border-radius: 3px; padding: 22px 24px 24px; margin-top: 28px; }
.detail-text .notice-notes { border-top: 0; padding-top: 0; gap: 18px; }
.notices-title { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0 0 16px; color: var(--ink); }
.desc { border-top: 1px solid var(--line); padding-top: 40px; }
.desc-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 20px; }
.notice-compact:not(.detail-text .notice-compact) .notices-title { display: none; }
