/* TIPOGRAFIA — Manrope e Oswald locali, senza richieste a Google Fonts. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.ttf") format("truetype");
}

/* TITOLI: font locali già inclusi nel progetto. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/oswald-0.ttf) format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-1.ttf) format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/oswald-2.ttf) format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/oswald-3.ttf) format("truetype");
}

:root {
  --ink: #252423;
  --paper: #f8f6f1;
  --muted: #706e68;
  --gold: #b88c43;
  --line: #dedbd3;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-title: "Oswald", "Arial Narrow", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
strong {
  font-weight: 600;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(38px, 4.3vw, 60px);
}
h2 {
  font-size: clamp(30px, 3.2vw, 43px);
}
h3 {
  font-size: 27px;
}
p {
  margin: 0 0 20px;
}
.wrap {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.section {
  padding: 66px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-intro {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.65;
}
.text-link {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid;
  border-radius: 0;
  padding: 12px 18px;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.6px;
  transition:
    background 0.2s,
    color 0.2s;
}
.button.light {
  border-color: #ffffff80;
  color: white;
}
.button.light:hover {
  background: white;
  color: var(--ink);
}
.button.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.button.dark:hover {
  background: #45413b;
}
.skip {
  position: absolute;
  left: 20px;
  top: -70px;
  z-index: 30;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 108px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(36px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.brand {
  flex: 0 0 132px;
}
.brand img {
  width: 132px;
  height: 90px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-family: var(--font-title);
  font-size: 14px;
}
.site-header nav a {
  padding: 8px 0;
  white-space: nowrap;
}
.site-header nav a:hover {
  color: #97702c;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  font-family: var(--font-title);
}
.hero {
  background: #302a23 url("../images/lospazio-4.jpg") center 50% / cover
    no-repeat;
  position: relative;
  color: white;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.4));
}
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero .eyebrow {
  color: #ddd2bc;
}
.hero p:not(.eyebrow) {
  line-height: 1.6;
  font-size: 16px;
  color: #eee;
}
.upcoming {
  background: #fff;
  padding-block: 38px 45px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.event-card {
  border-top: 2px solid var(--gold);
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 20px 0 0;
}
.event-date {
  font-family: var(--font-title);
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  line-height: 1.15;
  gap: 3px;
}
.event-date strong {
  font-size: 42px;
  font-weight: 400;
}
.event-date span {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
.event-date.empty strong {
  font-size: 33px;
  color: #c0b9ac;
}
.event-card h3 {
  font-size: 23px;
  margin: 0 0 8px;
}
.event-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 5px;
}
.event-card .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.event-card a:hover {
  text-decoration: underline;
}
.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.festival-card {
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.festival-art {
  background: #eee9df;
  height: 190px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.festival-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fact .festival-art {
  background: #e6e7e5;
}
.esodo .festival-art {
  background: #353f36;
  color: #f7f0db;
}
.esodo-title {
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-title);
  line-height: 1;
}
.esodo-title > span:first-child {
  font-size: 54px;
  letter-spacing: 2px;
}
.esodo-title > span:last-child {
  font-size: 24px;
  line-height: 1.1;
  margin-top: 8px;
}
.festival-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.festival-body .eyebrow {
  font-size: 10px;
  letter-spacing: 1.15px;
}
.festival-body h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.festival-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 25px;
}
.festival-body a,
.coming-soon {
  margin-top: auto;
  font-family: var(--font-title);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.festival-body a:hover {
  color: #97702c;
}
.coming-soon {
  color: var(--muted);
}
.venue {
  padding-top: 8px;
}
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.venue-grid article {
  background: white;
}
.venue-photo img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}
.venue-copy {
  padding: 28px;
}
.venue-copy p {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
}
.archive-invite {
  background: #282625;
  color: white;
  padding: 58px 0;
}
.archive-invite .eyebrow {
  color: #c5aa79;
}
.archive-invite h2 {
  font-size: 44px;
}
.archive-invite p {
  color: #d1cec6;
}
.archive-invite .button {
  margin-top: 4px;
}
footer {
  background: #1b1b1b;
  color: #d0cfcb;
  padding-top: 54px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.3fr 1fr;
  gap: 32px;
  padding-bottom: 38px;
}
footer h2 {
  font-size: 20px;
  color: white;
  margin-bottom: 18px;
}
footer p,
footer a {
  font-size: 13px;
  line-height: 1.75;
}
footer a {
  display: block;
}
footer a:hover {
  color: white;
}
.footer-logo {
  width: 110px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}
footer .social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.copyright {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff25;
  padding-block: 22px;
  font-size: 11px;
  color: #aaa;
}
.copyright a {
  font-size: 11px;
}
.archive-heading {
  padding: 62px 0 46px;
  background: #eeeae1;
}
.archive-heading h1 {
  font-size: clamp(48px, 6vw, 78px);
  margin-bottom: 20px;
}
.archive-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 570px;
  margin: 0;
}
.archive-section {
  padding-top: 38px;
}
.filters {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.25fr auto;
  gap: 16px;
  align-items: end;
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
}
.field label {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.3px;
  margin-bottom: 7px;
}
.field input,
.field select {
  display: block;
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 1px solid #d4d0c6;
  background: #fff;
  border-radius: 0;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 14px;
}
.reset-button {
  height: 44px;
  white-space: nowrap;
  border: 0;
  background: #eeeae1;
  padding: 10px 12px;
  font-family: var(--font-title);
  font-size: 13px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
}
.results-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.results-bar label {
  font-family: var(--font-title);
  font-size: 13px;
  margin-right: 10px;
}
.results-bar select {
  font-size: 13px;
  padding: 8px;
  border: 1px solid var(--line);
  background: transparent;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}
.author-card {
  background: white;
  border: 1px solid var(--line);
}
.author-photo {
  display: block;
  background: #e9e5dc;
  aspect-ratio: 1.2;
  overflow: hidden;
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-copy {
  padding: 20px;
}
.author-copy h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.author-copy time {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.load-more {
  display: flex;
  margin: 38px auto 0;
}
.no-results {
  text-align: center;
  padding: 65px 20px;
}
.no-results h2 {
  font-size: 30px;
}
.no-results p {
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero-content {
    padding-block: 65px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding-inline: 25px;
    gap: 20px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 13px;
  }
  .filters {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .search-field {
    grid-column: span 1;
  }
  .field:has(input[type="date"]) {
    grid-column: span 2;
  }
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 88px;
    padding-inline: 20px;
  }
  .brand,
  .brand img {
    width: 96px;
    flex-basis: 96px;
  }
  .brand img {
    height: 75px;
  }
  .menu-toggle {
    display: block;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 87px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 10px 0;
    font-size: 16px;
  }
  .hero-content {
    padding-block: 38px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p:not(.eyebrow) {
    font-size: 14px;
  }
  .hero-content > div {
    max-width: 100%;
  }
  .section {
    padding-block: 46px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .upcoming {
    padding-block: 32px;
  }
  .event-grid {
    gap: 18px;
  }
  .event-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .event-date {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .event-date strong {
    font-size: 32px;
  }
  .event-card h3 {
    font-size: 22px;
  }
  .festival-grid {
    gap: 16px;
  }
  .festival-body {
    padding: 20px;
  }
  .festival-art {
    height: 155px;
    padding: 22px;
  }
  .festival-body h3 {
    font-size: 23px;
  }
  .festival-body .eyebrow {
    font-size: 9px;
  }
  .venue-photo img {
    height: 220px;
  }
  .venue-grid {
    gap: 20px;
  }
  .archive-heading {
    padding: 42px 0;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
  }
  .search-field {
    grid-column: span 2;
  }
  .field:has(input[type="date"]) {
    grid-column: span 1;
  }
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .hero-content > div {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-content {
    padding-block: 36px;
  }
  .hero .button {
    padding: 11px 15px;
  }
  .hero p br {
    display: none;
  }
  .section-head h2 {
    font-size: 31px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .event-card {
    grid-template-columns: 62px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .event-card:first-child {
    border-top: 2px solid var(--gold);
  }
  .event-date {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .event-date.empty strong {
    font-size: 30px;
  }
  .event-card h3 {
    font-size: 23px;
  }
  .festival-grid,
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .festival-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .festival-art {
    height: 100%;
    min-height: 220px;
    padding: 14px;
  }
  .festival-art img {
    height: auto;
  }
  .festival-body {
    padding: 22px 18px;
  }
  .festival-body h3 {
    font-size: 24px;
  }
  .festival-body p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .esodo-title > span:first-child {
    font-size: 32px;
  }
  .esodo-title > span:last-child {
    font-size: 21px;
  }
  .venue-photo img {
    height: 240px;
  }
  .venue-copy {
    padding: 24px;
  }
  .archive-invite h2 {
    font-size: 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer h2 {
    margin-bottom: 12px;
  }
  .copyright {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .copyright span {
    width: 100%;
  }
  .archive-heading h1 {
    font-size: 56px;
  }
  .archive-heading p:not(.eyebrow) {
    font-size: 15px;
  }
  .results-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .archive-grid {
    gap: 16px 12px;
  }
  .author-copy {
    padding: 14px 12px;
  }
  .author-copy h2 {
    font-size: 20px;
  }
  .author-copy time {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .filters {
    padding: 17px;
  }
  .field label {
    font-size: 12px;
  }
  .reset-button {
    font-size: 12px;
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* AGENDA E UBICAZIONE — Componenti comuni. */
.agenda-preview-note {
  color: var(--muted);
  font-size: 12px;
  margin: -8px 0 22px;
  letter-spacing: 0.3px;
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-top: 2px solid var(--gold);
}
.event-portrait {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 35%;
}
.event-details {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0 0;
}
.event-card h3 {
  font-size: 25px;
}
.footer-logo {
  width: 120px;
  height: 99px;
}
.location-map {
  background: var(--paper);
  padding-top: 42px;
}
.location-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}
.location-head h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.location-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  background: #eeeae1;
}
@media (max-width: 800px) {
  .event-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .event-portrait {
    height: 145px;
  }
  .event-card h3 {
    font-size: 23px;
  }
}
@media (max-width: 560px) {
  .event-grid {
    gap: 18px;
  }
  .event-card {
    border-top: 2px solid var(--gold);
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0 0;
  }
  .event-portrait {
    height: 112px;
  }
  .event-details {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }
  .event-date {
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
  }
  .event-date strong {
    font-size: 26px;
  }
  .event-date span {
    font-size: 10px;
  }
  .event-card h3 {
    font-size: 23px;
  }
  .event-card p {
    font-size: 12px;
  }
  .location-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .location-head h2 {
    font-size: 30px;
  }
  .location-map iframe {
    height: 300px;
  }
}

/* Home: transparent header over the photograph, white after scrolling. */
.site-header.home-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.home-header .brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.25s;
}
.home-header .menu-toggle {
  color: inherit;
}
.site-header.home-header nav a:hover {
  color: inherit;
  opacity: 0.75;
}
.site-header.home-header.is-scrolled,
.site-header.home-header.menu-is-open {
  background: #fff;
  color: #161616;
  border-bottom-color: var(--line);
  box-shadow: 0 3px 18px #00000008;
}
.site-header.home-header.is-scrolled .brand img,
.site-header.home-header.menu-is-open .brand img {
  filter: brightness(0);
}
.home-hero .hero-content {
  padding-top: 156px;
}
.home-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.4)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 45%);
}
.home-header .header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.home-header .header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 44px;
  padding: 0;
}
.home-header .header-social svg {
  display: block;
  flex-shrink: 0;
}
@media (min-width: 1600px) {
  .home-hero .hero-content {
    padding-top: 173px;
  }
}
@media (max-width: 800px) {
  .home-hero .hero-content {
    padding-top: 126px;
  }
  .site-header.home-header nav {
    color: #161616;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }
  .home-header .header-social {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    gap: 14px;
  }
  .home-header .header-social a {
    width: 44px;
  }
}
@media (max-width: 560px) {
  .home-hero .hero-content {
    padding-top: 124px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.home-header,
  .home-header .brand img {
    transition: none;
  }
}

/* Home revision 4: airy menu, photograph crossfade and dark venue. */
.site-header.home-header {
  height: 122px;
  padding-block: 16px;
}
.site-header.home-header nav {
  font-size: 15px;
}
.home-hero .hero-content {
  padding-top: 170px;
  z-index: 2;
}
.home-hero {
  background: #302a23;
  isolation: isolate;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
.home-hero .hero-shade {
  z-index: 1;
  pointer-events: none;
}
.slideshow-toggle {
  position: absolute;
  bottom: 20px;
  right: max(36px, calc((100vw - 1180px) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  background: #0003;
  color: #fff;
}
.slideshow-toggle:hover {
  background: #0006;
}
.slideshow-toggle .play-icon {
  display: none;
}
.slideshow-toggle[aria-pressed="true"] .play-icon {
  display: block;
}
.slideshow-toggle[aria-pressed="true"] .pause-icon {
  display: none;
}
.venue.venue-dark {
  background: #282625;
  color: #fff;
  padding-block: 62px;
}
.venue-dark .eyebrow {
  color: #c5aa79;
}
.venue-dark .section-intro,
.venue-dark .venue-copy p {
  color: #d1cec6;
}
.venue-dark .venue-grid article {
  background: #33312f;
}
.venue-dark .text-link {
  color: #fff;
}
html:has(.home-header) {
  scroll-padding-top: 130px;
}
@media (min-width: 1600px) {
  .home-hero .hero-content {
    padding-top: 187px;
  }
}
@media (max-width: 1100px) {
  .site-header.home-header nav {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  .site-header.home-header {
    height: 100px;
    padding-block: 12px;
  }
  .site-header.home-header nav {
    top: 99px;
    max-height: calc(100dvh - 100px);
  }
  .site-header.home-header nav a {
    font-size: 17px;
  }
  .home-hero .hero-content {
    padding-top: 138px;
  }
  .slideshow-toggle {
    right: 20px;
  }
  .venue.venue-dark {
    padding-block: 46px;
  }
  html:has(.home-header) {
    scroll-padding-top: 108px;
  }
}
@media (max-width: 560px) {
  .home-hero .hero-content {
    padding-top: 136px;
  }
  .slideshow-toggle {
    bottom: 15px;
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Home revision 6: more space for the agenda and an editorial quotation. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-condensed-extrabold.ttf") format("truetype");
}
.section.upcoming {
  padding-top: 48px;
  padding-bottom: 65px;
}
.quote-section {
  background: var(--paper);
  color: var(--ink);
  padding: 48px 0 54px;
}
.quote-section figure {
  margin-block: 0;
}
.quote-section blockquote {
  margin: 0 0 28px;
  max-width: none;
}
.quote-section blockquote p {
  font-family: "Barlow Condensed", var(--font-title);
  font-size: clamp(42px, 6.2vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.quote-line {
  display: block;
}
.quote-line-two {
  padding-left: 12%;
}
.quote-line-three {
  padding-left: 32%;
  font-size: 1.4em;
  margin-top: 6px;
}
.quote-section figcaption {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 1.6px;
  color: var(--muted);
  text-align: right;
  padding-right: 5%;
}
@media (max-width: 800px) {
  .section.upcoming {
    padding-top: 42px;
    padding-bottom: 52px;
  }
  .quote-section {
    padding-block: 38px 42px;
  }
}
@media (max-width: 560px) {
  .quote-section blockquote p {
    font-size: clamp(34px, 9.8vw, 52px);
  }
  .quote-line-two {
    padding-left: 6%;
  }
  .quote-line-three {
    padding-left: 18%;
    font-size: 1.42em;
    margin-top: 8px;
  }
  .quote-section figcaption {
    font-size: 12px;
    letter-spacing: 1.2px;
    padding-right: 0;
  }
  .quote-section blockquote {
    margin-bottom: 22px;
  }
}

/* Icon links in the home footer. */
footer .footer-social {
  gap: 10px;
}
footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
footer .footer-social svg {
  display: block;
  width: 21px;
  height: 21px;
}

/* ARCHIVIO: intestazione bianca con logo nero, coerente con la home dopo lo scroll. */
.site-header.archive-header {
  height: 122px;
  padding-block: 16px;
  background: #fff;
  color: #161616;
}
.archive-header .brand img {
  filter: brightness(0);
}
.archive-header nav {
  font-size: 15px;
}
.archive-header nav a[aria-current="page"] {
  border-bottom: 1px solid var(--gold);
}
.archive-header .header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.archive-header .header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 44px;
  padding: 0;
}
.archive-header .header-social svg {
  display: block;
  flex-shrink: 0;
}
.archive-page .footer-logo {
  filter: brightness(0) invert(1);
}
@media (max-width: 1100px) {
  .archive-header nav {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  .site-header.archive-header {
    height: 100px;
    padding-block: 12px;
  }
  .archive-header nav {
    top: 99px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }
  .archive-header nav a {
    font-size: 17px;
  }
  .archive-header .header-social {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    gap: 14px;
  }
  .archive-header .header-social a {
    width: 44px;
  }
}

/* FESTIVAL: immagini ufficiali orizzontali, intere e senza cornici. */
.festival-card-banner .festival-art {
  display: block;
  padding: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 751 / 379;
}
.festival-card-banner .festival-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 560px) {
  /* Le immagini mantengono tutta la larghezza anche sul telefono. */
  .festival-card.festival-card-banner {
    display: flex;
    flex-direction: column;
  }
}

/* LIBRERIA: fotografia di apertura e racconto della libreria. */
.library-hero {
  position: relative;
  isolation: isolate;
  min-height: 460px;
  color: #fff;
  background: #282625;
  overflow: hidden;
}
.library-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  z-index: -2;
}
.library-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #000b, #0004);
}
.library-hero-copy {
  padding-block: 76px;
}
.library-hero .eyebrow {
  color: #d9c49c;
}
.library-hero h1 {
  font-size: clamp(42px, 5.1vw, 68px);
  max-width: 800px;
}
.library-hero p:not(.eyebrow) {
  color: #eee8df;
  max-width: 620px;
}
.library-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.library-story-grid > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 38%;
}
.library-story-grid > div {
  max-width: 620px;
}
.library-story-grid p:not(.eyebrow) {
  color: var(--muted);
}
.library-story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

/* LIBRERIA: tre percorsi di lettura; gli elenchi completi sono in details nativi. */
.library-selection {
  background: #282625;
  color: #fff;
}
.library-selection .eyebrow {
  color: #c5aa79;
}
.library-selection .section-intro {
  color: #d1cec6;
}
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.selection-card {
  padding: 28px;
  background: #33312f;
  border: 1px solid #ffffff20;
}
.selection-number {
  display: block;
  font-family: var(--font-title);
  font-size: 38px;
  line-height: 1;
  color: #b89c68;
  margin-bottom: 26px;
}
.selection-card h3 {
  font-size: 29px;
}
.selection-card > p {
  color: #d1cec6;
  font-size: 15px;
  min-height: 100px;
}
.selection-card summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 16px;
  border-top: 1px solid #ffffff30;
  padding-top: 16px;
}
.selection-card summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.selection-card details[open] summary {
  margin-bottom: 18px;
}
.selection-card .catalog-list {
  font-size: 12px;
  line-height: 1.9;
  color: #d1cec6;
  margin: 0;
  overflow-wrap: anywhere;
}

/* LIBRERIA: nove videorecensioni; le copertine conservano il formato originale. */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.review-poster {
  display: block;
  overflow: hidden;
  background: #eeeae1;
  aspect-ratio: 3/2;
}
.review-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.review-poster:hover img {
  transform: scale(1.015);
}
.review-copy {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.review-copy h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.review-copy p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.review-copy .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.library-extra-video {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: #eeeae1;
  margin-top: 36px;
  padding: 24px;
}
.library-extra-video img {
  width: 100%;
  height: auto;
}
.library-extra-video h3 {
  font-size: 31px;
}

/* LIBRERIA: fotografie originali, senza caricamento di video nella galleria. */
.library-gallery {
  padding-top: 0;
}
.library-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.library-photo-grid .gallery-image {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.library-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* LIBRERIA: lettore video richiesto dal clic, con chiusura e collegamento alternativo. */
.library-video-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  border: 0;
  background: #1b1b1b;
  color: #fff;
  padding: 22px;
}
.library-video-dialog::backdrop {
  background: #000b;
}
.library-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.library-video-bar h2 {
  font-size: 25px;
  margin: 0;
}
.library-video-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #ffffff50;
  background: transparent;
  color: #fff;
  font-family: var(--font-title);
}
.library-video-dialog video {
  display: block;
  width: 100%;
  max-height: 64dvh;
  background: #000;
}
.library-video-dialog > p {
  margin: 18px 0 0;
  font-size: 13px;
  color: #d1cec6;
}
.library-video-dialog > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* LIBRERIA: adattamento a tablet e telefoni. */
@media (max-width: 950px) {
  .library-story-grid {
    gap: 34px;
  }
  .selection-grid {
    gap: 16px;
  }
  .selection-card {
    padding: 22px;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .library-hero-copy {
    padding-block: 56px;
  }
  .library-hero {
    min-height: 390px;
  }
  .library-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .library-story-grid > img {
    height: 420px;
  }
  .selection-grid {
    grid-template-columns: 1fr;
  }
  .selection-card > p {
    min-height: 0;
  }
  .selection-number {
    margin-bottom: 18px;
  }
  .library-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-extra-video {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .library-hero-copy {
    padding-block: 44px;
  }
  .library-hero {
    min-height: 360px;
  }
  .library-hero h1 {
    font-size: 43px;
  }
  .library-hero p br {
    display: none;
  }
  .library-story-grid {
    grid-template-columns: 1fr;
  }
  .library-story-grid > img {
    height: auto;
    max-height: 390px;
    object-position: center 25%;
  }
  .library-story-links {
    gap: 20px;
  }
  .library-story-links .text-link {
    font-size: 14px;
    white-space: normal;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-copy {
    padding: 23px;
  }
  .library-extra-video {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  .library-extra-video > a {
    max-width: 300px;
  }
  .library-photo-grid {
    gap: 12px;
  }
  .library-page .quote-line-three {
    font-size: 1.05em;
  }
  .library-video-bar {
    align-items: flex-start;
    gap: 12px;
  }
  .library-video-bar h2 {
    font-size: 21px;
  }
  .library-video-dialog {
    padding: 16px;
  }
}

/* BACARO: usa i componenti editoriali della Libreria, con immagini e contenuti propri. */
.bacaro-hero .library-hero-photo {
  object-position: center 54%;
}
.bacaro-offer-image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin: 4px 0 24px;
}
.bacaro-offer-photo {
  object-fit: cover;
  object-position: center 65%;
}
.bacaro-offer .text-link {
  display: inline-block;
  color: #fff;
  margin-top: 8px;
}
.bacaro-selection .selection-card > p {
  min-height: 170px;
}
.bacaro-quote blockquote p {
  font-size: clamp(34px, 4.7vw, 64px);
}
.bacaro-quote .quote-line-two {
  padding-left: 10%;
}
.bacaro-quote .quote-line-three {
  padding-left: 25%;
  font-size: 1.2em;
}
.bacaro-quote .quote-line-four {
  padding-left: 40%;
  font-size: 1.1em;
  margin-top: 4px;
}
@media (max-width: 800px) {
  .bacaro-selection .selection-card > p {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .bacaro-offer-image {
    height: 140px;
  }
  .bacaro-quote blockquote p {
    font-size: clamp(27px, 8.3vw, 46px);
  }
  .bacaro-quote .quote-line-two {
    padding-left: 5%;
  }
  .bacaro-quote .quote-line-three {
    padding-left: 18%;
  }
  .bacaro-quote .quote-line-four {
    padding-left: 28%;
  }
}

/* FESTIVAL: introduzione editoriale e schede identiche alla home. */
.festival-introduction {
  padding-block: 46px 10px;
}
.festival-intro-copy {
  max-width: 980px;
  /* Famiglia, dimensione, peso e interlinea identici al body della Libreria. */
  font: inherit;
  color: var(--muted);
}
.festival-intro-copy p {
  margin-bottom: 20px;
}
.festival-intro-copy p:last-child {
  margin-bottom: 0;
}
.festival-directory {
  padding-top: 28px;
}
@media (max-width: 800px) {
  .festival-introduction {
    padding-block: 34px 8px;
  }
  .festival-directory {
    padding-top: 24px;
  }
}

/* CONTATTI: recapiti a sinistra e richiesta di prenotazione a destra. */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}
.contact-information {
  padding: 30px;
  background: #eeeae1;
}
.contact-information h2 {
  font-size: 34px;
}
.contact-detail {
  margin-block: 26px;
}
.contact-detail h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.contact-detail p {
  font-size: 14px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.book-request {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
}
.book-request h2 {
  font-size: 38px;
}
.book-request-intro {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.required-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.book-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.book-field-wide {
  grid-column: 1/-1;
}
.book-field label {
  display: block;
  font-family: var(--font-title);
  font-size: 15px;
  margin-bottom: 8px;
}
.book-field label span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}
.book-field input,
.book-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #d4d0c6;
  border-radius: 0;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.book-field textarea {
  resize: vertical;
  min-height: 110px;
}
.book-field [aria-invalid="true"] {
  border-color: #9b3035;
}
.book-field-error {
  font-size: 12px;
  color: #9b3035;
  line-height: 1.5;
  margin: 7px 0 0;
}
.book-privacy {
  margin: 22px 0;
}
.book-privacy > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.book-privacy input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.book-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-submit {
  width: 100%;
}
.book-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.book-form-status {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: #f2efe7;
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.6;
}
.book-form-status.is-error {
  border-left-color: #9b3035;
  color: #8c242a;
}
.book-request-alternative {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 0;
}
.book-request-alternative a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 950px) {
  .contact-grid {
    gap: 24px;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
  .book-request {
    padding: 26px;
  }
  .contact-information {
    padding: 26px;
  }
}
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
  .contact-information > .eyebrow,
  .contact-information > h2,
  .contact-information > .text-link {
    grid-column: 1/-1;
  }
  .contact-detail {
    margin-block: 16px;
  }
}
@media (max-width: 560px) {
  .book-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .book-request,
  .contact-information {
    padding: 24px 20px;
  }
  .book-request h2 {
    font-size: 34px;
  }
  .contact-information {
    grid-template-columns: 1fr;
  }
  .book-privacy > label {
    font-size: 13px;
  }
}

/* ICONE VETTORIALI — Dimensioni e tratto definiti nel CSS, colore del controllo. */
.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  vertical-align: -0.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* MENU E PULSANTI — Colore esplicito anche su Safari/iOS. */
button {
  color: inherit;
}
.menu-toggle {
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* FILTRI DELL'ARCHIVIO — Le colonne possono restringersi senza sovrapporsi. */
.filters {
  grid-template-columns:
    minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr)
    minmax(0, 1.25fr) auto;
}
.filters > .field {
  min-width: 0;
}
.filters input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-height: 44px;
}
.filters input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
.reset-button {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .filters {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE — Data e azzeramento su righe distinte, senza ingombri nativi di iOS. */
@media (max-width: 800px) {
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters .field:has(input[type="date"]),
  .filters .reset-button {
    grid-column: 1 / -1;
  }
  .filters .reset-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

/* MOSTRE AL BACARO — Sezione della home e pagina delle esposizioni.
 * L'immagine conserva le proporzioni originali; testi e titoli usano i font del sito.
 */
.exhibition-section {
  background: #fff;
}
.exhibition-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.exhibition-feature > * {
  min-width: 0;
}
.exhibition-poster {
  display: block;
}
.exhibition-poster img {
  width: 100%;
  height: auto;
}
.exhibition-copy {
  padding-block: 18px;
}
.exhibition-copy .exhibition-status {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 28px;
}
.exhibition-artist {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
  margin-bottom: 9px;
}
.exhibition-copy h3 {
  font-size: clamp(42px, 4.7vw, 66px);
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.exhibition-kind {
  color: var(--muted);
  margin-bottom: 26px;
}
.exhibition-date {
  font-weight: 600;
  margin-bottom: 8px;
}
.exhibition-place {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}
.exhibition-section .text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  white-space: normal;
}
.exhibition-archive {
  border-top: 1px solid var(--line);
}
.exhibition-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
/* SCHEDE DELLO STORICO — Immagini intere in un riquadro uniforme, senza ritagli. */
.exhibition-archive-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
}
.exhibition-archive-card img {
  width: 100%;
  height: auto;
}
.exhibition-archive-copy {
  padding: 24px;
}
.exhibition-archive-copy h3 {
  overflow-wrap: anywhere;
}
.exhibition-archive-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .exhibition-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .exhibition-copy {
    padding-block: 0;
  }
  .exhibition-copy .exhibition-status {
    margin-bottom: 22px;
  }
  .exhibition-copy h3 {
    font-size: clamp(42px, 8vw, 58px);
  }
  .exhibition-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .exhibition-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* STORICO DELLE MOSTRE — Foto e opere restano visibili nelle loro proporzioni. */
.exhibition-archive-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.exhibition-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.exhibition-archive-artist {
  font-size: 20px;
  margin-bottom: 7px;
}
.exhibition-archive-copy h3 {
  font-size: clamp(27px, 3vw, 34px);
  margin-bottom: 15px;
}
.exhibition-archive-kind {
  color: var(--muted);
  font-size: 14px;
}
.exhibition-archive-question {
  font-weight: 600;
}

/* PARI E DISPARI 2026: locandina verticale intera nella scheda, collegata all’edizione. */
.festival-card-banner.pari .festival-art {
  background: #8b0e84;
}
.festival-card-banner.pari .festival-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
