/* PROVA 19/11 — Antonio: «solo il background del menu: deve far intendere una carta, un menu cartaceo».
   Il fondo del menu diventa un foglio: grana fine, fibre lunghe, macchie leggere, bordi appena piu' caldi e una cornice stampata.
   Tutto disegnato dal browser (nessun file in piu' da scaricare); i colori del testo non cambiano. */
:root {
  --grana: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .40 0 0 0 0 .29 0 0 0 0 .17 1.1 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  --puntini: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 .2' numOctaves='1' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .25 0 0 0 0 .15 3.2 0 0 0 -2.24'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23p)'/%3E%3C/svg%3E");
  --macchie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.007' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .58 0 0 0 0 .42 0 0 0 0 .24 .5 0 0 0 -.17'/%3E%3C/filter%3E%3Crect width='640' height='640' filter='url(%23m)'/%3E%3C/svg%3E");
  --grana-scura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='1' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .76 0 0 0 0 .63 0 0 0 0 .47 .16 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
.menu-section {
  background-color: var(--paper);
  background-image: var(--grana), var(--puntini), var(--macchie);
  background-size: 200px 200px, 360px 360px, 640px 640px;
  /* bordi appena piu' caldi, come un foglio maneggiato */
  box-shadow: inset 0 0 70px rgba(140, 100, 55, .10);
}
.menu-section::after {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  z-index: 0;
  /* La cornice resta dietro la fascia adesiva. */
  outline: 1px solid rgba(83, 58, 38, .30);
  outline-offset: -11px;
  background: radial-gradient(ellipse 7px 5px at 7px 0, transparent 90%, var(--ink) 100%) left bottom / 14px 7px repeat-x;
  pointer-events: none;
}

.location-section { background-image: var(--grana); background-size: 200px 200px; }
.venue-story, .site-footer { background-image: var(--grana-scura); background-size: 160px 160px; }

/* Una seconda fascia di carta copre la cornice e chiude le righe sotto il bordo. */
@media (max-width: 767px) {
  .category-tabs {
    background-color: #efe4ce;
    background-image: var(--grana), var(--puntini), var(--macchie);
    background-size: 200px 200px, 360px 360px, 640px 640px;
    box-shadow: 0 3px 7px rgba(83, 58, 38, .20);
  }
}
