/*
 * Mantic — base and sections. Measures from the YOOtheme site of 2026-10-13 (prove/nostro/originale/*.json); one section per
 * template, in the order of SEZIONI.md. Phone first; the computer layout from 960 px (YOOtheme's @m breakpoint).
 * Corrections agreed in the plan, not copy errors: AA contrast (soft text --terra-testo instead of #987261 on small text,
 * footer text white instead of 50 % white), real headings instead of 30 h1 per menu page, focus always visible.
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font-testo); font-size: var(--t-base); line-height: 1.8; color: var(--testo); background: var(--bianco);
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { margin: 0; padding-bottom: var(--barra-telefono); }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 20px; font-weight: 400; color: var(--testo-forte); letter-spacing: var(--spaziatura-titoli); line-height: 1.2; }
p { margin: 0 0 20px; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-scuro); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
main:focus { outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.salta { position: absolute; left: 10px; top: -60px; z-index: 2000; padding: 8px 16px; background: var(--bianco); color: var(--testo-forte); }
.salta:focus { top: 10px; }

.pulsante { display: inline-flex; align-items: center; justify-content: center; min-height: var(--altezza-pulsante); padding: 0 25px;
  border: 0; border-radius: var(--raggio-pulsante); background: var(--bordeaux); color: var(--bianco); font: inherit; line-height: var(--altezza-pulsante);
  text-decoration: none; cursor: pointer; transition: background-color .1s ease-in-out; }
.pulsante:hover { background: var(--bordeaux-scuro); color: var(--bianco); }
.pulsante:focus-visible { outline: 2px solid var(--testo-forte); }
.pulsante--bianco { background: var(--bianco); color: var(--testo-forte); }
.pulsante--bianco:hover { background: #f2f2f2; color: var(--testo-forte); }
.pulsante--pieno { width: 100%; }

.titolo-sezione { font-family: var(--font-titoli); font-size: var(--t-titolo-sezione); color: var(--bordeaux); text-align: center; margin-bottom: 40px; }
.titolo-riga { display: flex; align-items: center; gap: 0; margin: 0 0 20px; font-family: var(--font-testo); font-size: var(--t-grande);
  line-height: 1.4; letter-spacing: 0; color: var(--testo-forte); text-align: center; }
.titolo-riga::before, .titolo-riga::after { content: ""; flex: 1; border-bottom: 1px solid #e5e5e5; }
.titolo-riga > span { padding: 0 10px; }

/* ---------- Header (computer only) ---------- */
.testata { display: none; }
@media (min-width: 960px) {
  body { border-top: 3px solid var(--bordeaux); padding-bottom: 0; }
  .testata { display: flex; align-items: center; justify-content: space-between; height: 101px; padding: 0 var(--margine-pagina); position: relative; z-index: 10; }
  .testata-trasparente .testata { position: absolute; top: 3px; left: 0; right: 0; color: var(--bianco); }
  .testata-chiara .testata { background: var(--bianco); color: var(--testo-forte); }
  .testata__logo img { width: 150px; height: 75px; }
  .testata__destra { display: flex; align-items: center; gap: 53px; }
  .testata__lingua { display: inline-flex; padding: 4px 0; }
  .testata__lingua .cd-lingue-bandiera { width: 27px; height: 19px; }
  .testata__menu { display: inline-flex; padding: 10px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; }
}

/* ---------- Home ---------- */
.apertura { position: relative; height: 100vh; min-height: 420px; overflow: hidden; background: #2a2524; }
@media (min-width: 960px) { .apertura { height: calc(100vh - 3px); } }
.apertura__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A soft shadow behind the logo only (look C of the video, video-home/regia/direzioni.html): the white logo reads at 9.4:1 or better. */
.apertura::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 45% at center, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 100%); }
.apertura__logo { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 530px; max-width: 60vw; margin: 0; }
.apertura__logo img { width: 100%; height: auto; }

.riquadri { padding: var(--sezione) var(--margine-pagina); }
.riquadri__griglia { display: grid; gap: 30px; max-width: var(--larghezza); margin: 0 auto; }
@media (min-width: 960px) { .riquadri__griglia { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.riquadro { position: relative; display: block; overflow: hidden; aspect-ratio: 840 / 1200; color: var(--bianco); text-decoration: none; }
.riquadro__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .1s ease-out; }
.riquadro:hover .riquadro__foto, .riquadro:focus-visible .riquadro__foto { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .riquadro__foto { transition: none; } }
.riquadro__testo { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 30px; text-align: center; }
.riquadro__titolo { display: block; font-family: var(--font-titoli); font-size: var(--t-titolo-riquadro); line-height: 1.2; letter-spacing: var(--spaziatura-titoli);
  text-shadow: 0 0 30px rgba(0, 0, 0, .35); }
.riquadro__link { display: inline-block; margin-top: 10px; line-height: 1.8; border-bottom: 1px solid currentColor; }
.riquadro:hover { color: var(--bianco); }

.noi { padding: var(--sezione-grande) var(--margine-pagina); }
.noi__griglia { display: grid; gap: 40px; max-width: var(--larghezza); margin: 0 auto; align-items: center; }
@media (min-width: 640px) { .noi__griglia { grid-template-columns: 1fr 1fr; } }
.noi__testo { max-width: 450px; margin: 0; font-size: var(--t-grande); line-height: 1.6; }
@media (max-width: 959.98px) { .noi__testo { font-size: var(--t-grande); } }
.noi__foto img { width: 100%; }
.noi__recensioni { max-width: var(--larghezza); margin: 100px auto 0; }

/* ---------- Menus ---------- */
.copertina { position: relative; display: flex; align-items: center; justify-content: center; min-height: 73px; padding: 20px var(--margine-pagina);
  overflow: hidden; background: var(--bordeaux); text-align: center; }
.copertina picture, .copertina__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.copertina::after { content: ""; position: absolute; inset: 0; background: rgba(134, 69, 73, .7); mix-blend-mode: multiply; }
.copertina__titolo { position: relative; z-index: 1; margin: 0; font-family: var(--font-titoli); font-size: 25.5px; line-height: 1.3; color: var(--bianco); }
@media (min-width: 960px) {
  .copertina { padding: 210px var(--margine-pagina); }
  .copertina::after { content: none; }
  .copertina--naturale .copertina__foto { object-fit: none; object-position: center; }
  .copertina__titolo { font-size: 6rem; line-height: 1.2; }
  .copertina--titolo-grande .copertina__titolo { font-size: 8rem; }
}
@media (min-width: 1200px) {
  .copertina__titolo { font-size: 8rem; }
  .copertina--titolo-grande .copertina__titolo { font-size: 11rem; }
}

.carta__indice, .carta__foto { display: none; }
.categoria { padding: var(--sezione) var(--margine-pagina); }
.categoria:nth-child(even) { background: var(--grigio-caldo); }
.categoria__dentro { max-width: var(--larghezza-stretta); margin: 0 auto; }
.categoria__titolo { margin: 0 0 20px; color: var(--bordeaux); line-height: 1; }
.categoria__scritta { height: 65px; width: auto; max-width: 100%; }
.voci { list-style: none; margin: 0; padding: 0; }
.voce + .voce { margin-top: 12px; }
.voce__riga { display: flex; align-items: baseline; margin: 0; font-size: var(--t-grande); line-height: 1.6; color: var(--testo-forte); }
.voce__nome { flex: 0 1 auto; }
.voce__puntini { flex: 1 1 30px; min-width: 30px; margin: 0 15px; height: 1em;
  background: radial-gradient(circle, var(--testo) 1px, transparent 1.3px) left bottom / 7px 4px repeat-x; }
.voce__prezzo { flex: none; white-space: nowrap; }
.voce__descrizione { width: 80%; margin: 4px 0 0; font-size: var(--t-piccolo); line-height: 1.4; color: var(--terra-testo); }
.voce__descrizione + .voce__descrizione { margin-top: 0; }
.voce__vuota { color: var(--terra-testo); }
.carta__fine { padding: var(--sezione) var(--margine-pagina) 75px; text-align: center; }
.carta__fine > * { max-width: var(--larghezza-stretta); margin-left: auto; margin-right: auto; }
.carta__su { display: inline-flex; align-items: center; gap: 15px; margin-bottom: 60px; color: var(--testo); text-decoration: none; }
.carta__su .icona { color: var(--terra); width: 22px; height: 22px; }
.carta__altre { list-style: none; margin: 20px auto 0; padding: 0; display: grid; gap: 15px; }

@media (min-width: 960px) {
  .carta { max-width: calc(var(--larghezza) + 2 * var(--margine-pagina)); margin: 0 auto; padding: var(--sezione-grande) var(--margine-pagina) 0; }
  .carta__indice { display: block; margin-bottom: 40px; }
  .carta__indice ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
  .carta__indice li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid #e5e5e5; }
  .carta__indice a { color: var(--testo-forte); text-decoration: none; }
  .carta__indice a:hover { color: var(--bordeaux); }
  .carta__corpo { display: grid; grid-template-columns: 1fr 374px; gap: 40px; align-items: start; }
  .carta__foto { display: grid; gap: 40px; }
  .carta__foto img { width: 100%; }
  .categoria, .categoria:nth-child(even) { padding: 0; background: none; }
  .categoria + .categoria { margin-top: 140px; }
  .categoria__dentro { max-width: none; }
  .categoria__scritta { height: 120px; }
  .voce + .voce { margin-top: 20px; }
  .voce__descrizione { width: auto; }
  .voce__etichetta, .voce__cantina { display: none; }   /* wines on the computer: the region alone, as today */
  .carta__fine { display: none; }
  .tipo-menu .piede { margin-top: 70px; }
}

/* ---------- Info e contatti ---------- */
.fascia-titolo { padding: 20px var(--margine-pagina); text-align: center;
  background: linear-gradient(rgba(134, 69, 73, .7), rgba(134, 69, 73, .7)), url(../../../../uploads/2024/02/Progetto-senza-titolo.jpg) center / cover;
  background-color: var(--bordeaux); background-blend-mode: multiply, normal; }
.fascia-titolo h1 { margin: 0; font-family: var(--font-titoli); font-size: 25.5px; line-height: 1.3; color: var(--bianco); }
@media (min-width: 960px) {
  .fascia-titolo { padding: 70px var(--margine-pagina); }
  .fascia-titolo h1 { font-size: var(--t-titolo-pagina); line-height: 1.2; }
}
.info { padding: var(--sezione) var(--margine-pagina); }
.info > * { max-width: var(--larghezza-stretta); margin-left: auto; margin-right: auto; }
.info--grigio { background: var(--grigio-caldo); }
.orari { width: 300px; max-width: 100%; border-collapse: collapse; margin: 0 auto; }
.orari th, .orari td { padding: 10px 12px; text-align: left; vertical-align: middle; }
.orari tbody th { width: 1px; white-space: nowrap; font-weight: 400; font-size: var(--t-grande); line-height: 1.6; color: var(--testo); }
.orari td { font-size: var(--t-piccolo); color: var(--testo); }
.chiusure { margin-top: 30px; text-align: center; }
.chiusure h3 { font-family: var(--font-testo); font-size: var(--t-base); letter-spacing: 0; margin-bottom: 5px; }
.chiusure ul { list-style: none; margin: 0; padding: 0; font-size: var(--t-piccolo); }
.info__nota { text-align: center; }
.contatti { display: grid; grid-template-columns: 135px 1fr; gap: 10px 15px; margin: 0 auto 20px; }
.contatti dd { margin: 0; }
.mappa { position: relative; height: 300px; background: #ebe6e2; }
.mappa iframe { width: 100%; height: 100%; border: 0; display: block; }
.mappa__consenso { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.mappa__consenso p { margin: 0 0 10px; }
.info__social-titolo { margin: 20px auto; font-size: var(--t-grande); line-height: 1.6; color: var(--testo-forte); }
.info__social { display: flex; gap: 15px; list-style: none; padding: 0; }
.info__social a, .menu-sito__social a { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%;
  background: var(--grigio-caldo); color: var(--testo); }
.info__social a:hover { background: #d0c4bb; color: var(--testo-forte); }
.info__spazio { height: var(--sezione); }
@media (min-width: 960px) { .info__spazio { height: var(--sezione-grande); } }

/* ---------- Plain pages (thank you, seasonal menus) and 404 ---------- */
.pagina-semplice { display: flex; align-items: center; min-height: 80vh; padding: var(--sezione) var(--margine-pagina); }
.pagina-semplice__dentro { width: 100%; max-width: var(--larghezza-stretta); margin: 0 auto; text-align: center; }
.pagina-semplice h1 { font-family: var(--font-titoli); font-size: 2rem; color: var(--testo-forte); }
@media (min-width: 960px) { .pagina-semplice h1 { font-size: 40px; } }
.pagina-semplice h2, .pagina-semplice h3 { font-family: var(--font-titoli); }
.pagina-semplice hr { border: 0; border-top: 1px solid #e5e5e5; margin: 30px 0; }
.pagina-semplice ul { text-align: left; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin: 30px 0 0; }
.wp-block-button { flex: 1 1 100%; }
.wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--altezza-pulsante); padding: 0 25px;
  border-radius: var(--raggio-pulsante); background: var(--bordeaux); color: var(--bianco); text-decoration: none; }
.wp-block-button__link:hover { background: var(--bordeaux-scuro); color: var(--bianco); }
.pagina-semplice--sfondo { background: center / cover no-repeat; }
.pagina-semplice--sfondo .pagina-semplice__dentro { padding: 40px; background: var(--bianco); box-shadow: 0 5px 15px rgba(0, 0, 0, .08); }
.dialogo-stagionale { margin: 20px 0; text-align: left; }
.dialogo-stagionale summary { cursor: pointer; color: var(--bordeaux); }

.non-trovata { max-width: calc(var(--larghezza) + 2 * var(--margine-pagina)); margin: 0 auto; padding: var(--sezione) var(--margine-pagina); text-align: center; }
.non-trovata h1 { font-family: var(--font-titoli); font-size: var(--t-titolo-pagina); }
.non-trovata > p { font-size: var(--t-grande); margin-bottom: 70px; }
.elenco-risultati ul { list-style: none; padding: 0; }
.cerca { display: inline-flex; align-items: center; width: 240px; border-bottom: 1px solid #e5e5e5; }
.cerca input { flex: 1; min-width: 0; height: 42px; padding: 0 0 0 4px; border: 0; background: none; font: inherit; color: var(--testo); }
.cerca button { order: -1; display: inline-flex; padding: 0 6px 0 0; border: 0; background: none; color: var(--testo); cursor: pointer; }

/* ---------- Footer ---------- */
.piede { display: none; }
.piede-telefono { margin: 0; padding: 15px var(--margine-pagina); background: var(--grigio-caldo); color: var(--testo-forte); font-size: 13px; line-height: 1.6; text-align: center; }
.piede-telefono a { color: var(--testo-forte); }
.piede__cookie { cursor: pointer; }
@media (min-width: 960px) {
  .piede-telefono { display: none; }
  .piede { display: block; padding: 70px var(--margine-pagina); background: var(--verde); color: var(--bianco); }
  /* Nearly full width as on the YOOtheme site: 40 px from the edges, at most 1600 px («xlarge» container). Logo and social
     on one row, the four columns under them; from 1600 px all three on one row (1/5, 1/5, 3/5). */
  .piede__dentro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: var(--larghezza-larga); margin: 0 auto; }
  .piede a { color: var(--bianco); }
  .piede__alto { display: contents; }
  .piede__logo img { width: 250px; height: 125px; }
  .piede__social { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
  .piede__social .icona { width: 40px; height: 40px; }
  .piede__colonne { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 70px; }
  .piede__etichetta { margin: 0 0 10px; font-family: var(--font-testo); font-size: var(--t-grande); line-height: 1.4; letter-spacing: 0; color: var(--bianco); }   /* no opacity: 4.85:1 on the green, .92 gives 4.39 */
  .piede__valore { margin: 0; font-size: var(--t-piede); line-height: 1.4; }
  .piede__valore .orari__giorni { display: inline; }
  .piede__mappa { display: inline-block; margin-top: 20px; text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.8; }
  .piede__basso { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .25); }
  .piede__menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
  .piede__menu li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .3); }
  .piede__menu a { text-decoration: none; }
  .piede__menu a:hover { text-decoration: underline; }
  .piede__legale { flex: 0 0 calc((100% + 40px) / 6 - 40px); margin: 0; font-size: var(--t-piccolo); line-height: 1.5; text-align: right; }
}
@media (min-width: 1600px) {
  .piede__dentro { grid-template-columns: 27fr 27fr 98fr; }
  .piede__colonne { grid-column: auto; }
}

/* Phone bar: Home, Prenota, Info, Maps, ☰, fixed at the bottom, green. */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--barra-telefono);
  background: var(--verde); border-top: 1px solid #888; }
.barra a, .barra button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; border: 0; background: none;
  color: var(--bianco); font: inherit; font-size: 12px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.barra .icona { width: 25px; height: 25px; }
.barra :focus-visible { outline-color: var(--bianco); outline-offset: -4px; }
@media (min-width: 960px) { .barra { display: none; } }

/* ---------- Full-screen menu ---------- */
.menu-sito { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bianco); color: var(--testo); overflow: auto; }
.menu-sito::backdrop { background: transparent; }
.menu-sito__chiudi { position: absolute; top: 15px; right: 15px; z-index: 2; display: inline-flex; padding: 8px; border: 0; background: none; color: var(--terra); cursor: pointer; }
.menu-sito__griglia { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 60px 20px; text-align: center; }
.menu-sito__foto, .menu-sito__info .menu-sito__riga, .menu-sito__contatti, .menu-sito__mappa, .menu-sito__orari, .menu-sito__chiusura, .menu-sito__voci .pulsante { display: none; }
.menu-sito__logo { width: 105px; height: auto; margin: 0 auto 50px; }
.menu-sito__menu { list-style: none; margin: 0; padding: 0; }
.menu-sito__menu a { display: block; padding: 6px 0; font-size: 20px; line-height: 1.6; color: var(--testo-forte); text-decoration: none; }
.menu-sito__menu .current-menu-item > a, .menu-sito__menu a[aria-current="page"] { color: var(--bordeaux); }
.menu-sito__info { margin-top: 40px; }
.menu-sito__lingua { display: inline-flex; }
.menu-sito__lingua .cd-lingue-bandiera { width: 27px; height: 19px; }
.menu-sito__social { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 30px 0 0; padding: 0; }
@media (min-width: 960px) {
  .menu-sito__chiudi { top: 20px; right: 20px; color: var(--testo-forte); }
  .menu-sito__chiudi .icona { width: 22px; height: 22px; }
  .menu-sito__griglia { display: grid; grid-template-columns: 494fr 323fr 323fr; align-items: stretch; max-width: 1140px; height: auto; min-height: 0;
    margin: 88px auto; padding: 0; text-align: center; }
  .menu-sito__foto { display: block; }
  .menu-sito__foto img { width: 100%; height: 100%; object-fit: cover; }
  .menu-sito__voci { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; background: var(--verde); color: var(--bianco); }
  .menu-sito__logo { display: none; }
  .menu-sito__menu { text-align: left; }
  .menu-sito__menu a { padding: 4px 0; font-family: var(--font-titoli); font-size: 20px; letter-spacing: var(--spaziatura-titoli); color: var(--bianco); }
  .menu-sito__menu .current-menu-item > a, .menu-sito__menu a[aria-current="page"] { color: var(--bianco); text-decoration: underline; }
  .menu-sito__voci .pulsante { display: inline-flex; align-self: center; margin-top: 30px; }
  .menu-sito__info { margin: 0; padding: 0 30px; font-size: 15px; line-height: 1.9; }
  .menu-sito__info .menu-sito__riga { display: block; width: 90px; margin: 30px auto; border: 0; border-top: 2px solid var(--bordeaux); }
  .menu-sito__social { margin: 0 0 20px; gap: 20px; }
  .menu-sito__social a { width: auto; height: auto; background: none; border-radius: 0; color: var(--testo-forte); }
  .menu-sito__social .icona { width: 32px; height: 32px; }
  .menu-sito__contatti { display: block; margin: 0 0 20px; }
  .menu-sito__contatti a { color: var(--testo); text-decoration: none; }
  .menu-sito__mappa { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; text-decoration: none; }
  .menu-sito__orari { display: block; padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
  .menu-sito__orari h2 { margin: 0; font-family: var(--font-testo); font-size: var(--t-base); letter-spacing: 0; color: var(--testo-forte); }
  .menu-sito__orari p { margin: 0; }
  .menu-sito__chiusura { display: block; margin: 15px 0 0; color: var(--testo-forte); }
}
@media (min-width: 960px) and (max-height: 780px) { .menu-sito__griglia { margin: 40px auto; } }

/* ---------- Structure and movement of the YOOtheme site and of Kojiro (Marco, 2026-10-14) ----------
 * «Solo sostituzione tecnologica»: the layout and the effects of the YOOtheme site come back as they were, and the
 * home «Menu» is Kojiro's «Our Menu» section. The movement itself is in assets/js/movimento.js; without it (or with
 * reduced motion) everything below is a plain, complete page. Sizes are YOOtheme's (theme.1.css of the site). */

.apertura__logo-movimento { display: block; transform-origin: 50% 50%; will-change: transform, opacity, filter; }

/* Home «Menu»: Kojiro. Title centred and still while the tiles arrive, three full-width tiles with the title on top. */
.riquadri { overflow-x: clip; }
.riquadri__titolo { position: relative; z-index: 1; }
.riquadri__titolo .titolo-sezione { margin-bottom: 0; }
.riquadri__colonna { position: relative; z-index: 2; }
.riquadro__testo { top: 0; bottom: auto; padding: 40px 30px; }
.riquadro__foto { transition: transform .3s ease-out; }
.riquadro__link { font-size: 16px; letter-spacing: 0; }
@media (min-width: 640px) {
  .riquadri { padding: 140px 40px 0; }
  .riquadri__titolo { margin-bottom: 140px; }
  .riquadri__titolo .titolo-sezione { font-size: 4rem; }
  .riquadri__griglia { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 0; padding-bottom: 270px; }   /* room for the tiles to stay centred */
  .riquadro__testo { padding: 70px 30px; }
}
@media (min-width: 1200px) {
  .riquadri { padding-top: 210px; }
  .riquadri__titolo .titolo-sezione { font-size: 6rem; }
  .riquadro__titolo { font-size: 4rem; }
}
.con-movimento .riquadri [data-parallax] { will-change: transform, opacity, filter; }

/* Menus on the computer: full width as YOOtheme's «container expand»; the photos from 1200 px (a third), the column of
 * categories with «Prenota» from 1600 px (a fifth), the row of categories only below 1600 px. */
.carta__lato { display: none; }
.pulsante--verde { background: var(--verde); }
.pulsante--verde:hover { background: #1f6150; }
.pulsante--grande { min-height: 50px; padding: 0 40px; line-height: 50px; }
@media (min-width: 960px) {
  .carta { max-width: none; padding-left: 40px; padding-right: 40px; }
  .carta__corpo { grid-template-columns: minmax(0, 1fr); }
  .carta__foto { display: none; }
}
@media (min-width: 1200px) {
  .carta__corpo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .carta__foto { display: grid; }
}
@media (min-width: 1600px) {
  .carta__indice { display: none; }
  .carta__corpo { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 5fr); }
  .carta__lato { display: block; align-self: stretch; }
  .carta__nav { list-style: none; margin: 0; padding: 0; font-family: var(--font-titoli); font-size: 20px; line-height: 1.8; letter-spacing: var(--spaziatura-titoli); }
  .carta__nav a { color: var(--testo-forte); text-decoration: none; transition: color .1s ease-in-out; }
  .carta__nav a:hover, .carta__nav a[aria-current="true"] { color: var(--bordeaux); }
  .carta__lato .pulsante { margin-top: 40px; }
}

/* Menu items fade in when they enter the window (YOOtheme scrollspy «uk-animation-fade», .8 s linear). */
.con-movimento .comparsa { opacity: 0; }
.con-movimento .comparsa--vista { animation: mantic-comparsa .8s linear forwards; }
@keyframes mantic-comparsa { from { opacity: 0; } to { opacity: 1; } }

/* Computer header: out of the page flow on every page, so it can become fixed without a jump; it comes back white and
 * fixed while scrolling up (YOOtheme «show-on-up» with «uk-animation-slide-top»). */
.testata__logo-fisso { display: none; }
@media (min-width: 960px) {
  .testata-chiara { padding-top: 101px; }
  .testata-chiara .testata { position: absolute; top: 3px; left: 0; right: 0; }
  .testata.testata--fissa { position: fixed; top: 0; left: 0; right: 0; z-index: 980; background: var(--bianco); color: var(--testo-forte);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08); transform: translateY(-100%); }
  .testata.testata--fissa.testata--su { transform: none; animation: mantic-scende .3s ease-out; }
  .testata--fissa .testata__logo-sopra { display: none; }
  .testata--fissa .testata__logo-fisso { display: block; width: 150px; height: 75px; }
}
@keyframes mantic-scende { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 640px) and (max-width: 959.98px) { .riquadro__titolo { font-size: 2rem; } .riquadro__testo { padding: 30px 15px; } }
