/* ===== MOSTRE: titolo inglese ===== */
.mostra-en-title {
  font-size: 0.85rem;
  color: var(--gold, #c8a84a);
  font-style: italic;
  letter-spacing: 0.04em;
  margin: 2px 0 8px;
  opacity: 0.9;
}

/* ===== SEZIONE OPERE MUSEALI ===== */
.opere-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}
.opere-intro .en {
  display: block;
  margin-top: 8px;
  font-style: italic;
  opacity: 0.7;
  font-size: 0.9rem;
}

.opere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px 32px;
  margin-bottom: 56px;
}

.opera-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.opera-img-wrap {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #111;
}
.opera-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,168,74,0);
  transition: background 0.3s;
  pointer-events: none;
}
.opera-img-wrap:hover::after {
  background: rgba(200,168,74,0.08);
}
.opera-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  object-fit: cover;
}
.opera-img-wrap:hover img {
  transform: scale(1.03);
}

/* Proporzioni coerenti con il formato fisico */
.opera-img-wrap.horizontal {
  aspect-ratio: 3/2;
}
.opera-img-wrap.vertical {
  aspect-ratio: 10/14;
}

.opera-info {
  padding: 0 2px;
}

.opera-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
  color: var(--white, #f0ece3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.opera-title-en {
  font-size: 0.82rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold, #c8a84a);
  letter-spacing: 0.04em;
}

.opera-format {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
}

/* CTA opere */
.opere-cta {
  text-align: center;
  padding: 48px 0 8px;
  border-top: 1px solid rgba(200,168,74,0.2);
}
.opere-cta-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.85;
}
.opere-cta-text .en {
  display: block;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* ===== HERO: foto cliccabile ===== */
.hero-bg {
  cursor: pointer;
}

/* ===== HERO: mini-nav sezioni ===== */
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 28px;
}
.hero-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 227, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-nav a:hover {
  color: var(--gold, #c8a84a);
}
.hero-nav-dot {
  color: rgba(200, 168, 74, 0.4);
  font-size: 0.65rem;
}

/* ===== NAV TOGGLE: hint "Menu" ===== */
.nav-toggle-hint {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 236, 227, 0.55);
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}
/* Il toggle deve avere position relative per il hint */
.nav-toggle {
  position: relative;
}
/* Mostra solo su mobile (dove il toggle è visibile) */
@media (min-width: 769px) {
  .nav-toggle-hint { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .opere-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .opera-img-wrap.vertical {
    aspect-ratio: 10/12;
  }
}

@media (max-width: 480px) {
  .opere-intro {
    font-size: 0.88rem;
  }
}
