/* =========================================
   GREG PALUMBO ART — Pages Stylesheet
   Mobile-first: base = mobile, min-width per scalare
   ========================================= */

/* =========================================
   COLLECTION PAGE hero-carousel override
   ========================================= */
.hero-carousel.coll-page .slide-image {
  height: 55vw;
  min-height: 200px;
  aspect-ratio: unset;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel.coll-page .slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .hero-carousel.coll-page .slide-image {
    height: 72vh;
    min-height: unset;
  }
}

@media (min-width: 1024px) {
  .hero-carousel.coll-page .slide-image {
    height: 75vh;
  }
}

/* =========================================
   COLLECTION FULLSCREEN CAROUSEL — mobile first
   ========================================= */
.coll-carousel {
  position: relative;
  width: 100%;
  height: 60vw;
  min-height: 240px;
  margin-top: 64px;
  overflow: hidden;
  background: #000;
}

@media (min-width: 480px) {
  .coll-carousel { margin-top: 72px; }
}

@media (min-width: 768px) {
  .coll-carousel {
    margin-top: 90px;
    height: 60vw;
    min-height: 320px;
  }
}

@media (min-width: 1024px) {
  .coll-carousel {
    height: calc(100vh - 90px);
    min-height: unset;
  }
}

.coll-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.coll-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.coll-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Titolo overlay centrato */
.coll-carousel-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}

.coll-carousel-title h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 8vw, 7rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  line-height: 1;
}

/* Bottoni prev/next — mobile */
.coll-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
}

.coll-carousel-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

.coll-carousel-btn.prev { left: 0.75rem; }
.coll-carousel-btn.next { right: 0.75rem; }

@media (min-width: 768px) {
  .coll-carousel-btn { width: 42px; height: 42px; }
}

@media (min-width: 1024px) {
  .coll-carousel-btn { width: 54px; height: 54px; font-size: 1.4rem; }
  .coll-carousel-btn.prev { left: 2rem; }
  .coll-carousel-btn.next { right: 2rem; }
}

/* Dots */
.coll-carousel-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

@media (min-width: 768px) {
  .coll-carousel-dots { bottom: 1.5rem; gap: 8px; }
}

.coll-carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

@media (min-width: 768px) {
  .coll-carousel-dots span { width: 7px; height: 7px; }
}

.coll-carousel-dots span.active {
  background: #fff;
  transform: scale(1.3);
}

/* Counter */
.coll-carousel-counter {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .coll-carousel-counter { bottom: 1.4rem; right: 2rem; font-size: 0.8rem; }
}

/* =========================================
   PAGE HERO — mobile first
   ========================================= */
.page-hero {
  padding: 4.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-top: 64px;
}

@media (min-width: 480px) {
  .page-hero { margin-top: 72px; padding: 5rem 0 2.25rem; }
}

@media (min-width: 768px) {
  .page-hero { margin-top: 90px; padding: 7rem 0 3.5rem; }
}

@media (min-width: 1024px) {
  .page-hero { padding: 8rem 0 4rem; }
}

.breadcrumb {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .breadcrumb { font-size: 0.75rem; margin-bottom: 1.5rem; }
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--white); }

.page-hero h1 { margin-bottom: 0.9rem; }

@media (min-width: 768px) {
  .page-hero h1 { margin-bottom: 1rem; }
}

.page-hero p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
}

@media (min-width: 768px) {
  .page-hero p { font-size: 1.1rem; }
}

/* --- Page Hero Light --- */
.page-hero-light {
  background: #cfd1d4;
  padding: 4.5rem 0 2.5rem;
  margin-top: 64px;
}

@media (min-width: 480px) {
  .page-hero-light { margin-top: 72px; }
}

@media (min-width: 768px) {
  .page-hero-light { margin-top: 90px; padding: 6rem 0; }
}

.page-hero-light h1 { color: #000; margin-bottom: 0.5rem; }

.page-hero-light .breadcrumb {
  margin-bottom: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
  font-weight: 500;
  color: #000;
}

.page-hero-light .breadcrumb a { color: #000; }

.page-hero-light + .col-masonry-section { margin-top: 0; }

/* --- Page Section --- */
.page-section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .page-section { padding: 3.5rem 0; }
}

@media (min-width: 1024px) {
  .page-section { padding: 5rem 0; }
}

/* =========================================
   GENERALI GRID — 2 col su mobile (foto piccole)
   ========================================= */
.generali-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.generali-item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
}

.generali-item:hover { transform: scale(1.02); }

@media (min-width: 768px) {
  .generali-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
}

/* =========================================
   FEATURED EXHIBITIONS — mobile: 1 col
   ========================================= */
.ex-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.ex-featured-item {
  background: var(--bg-2);
  overflow: hidden;
}

.ex-featured-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}

.ex-featured-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ex-featured-body h3 { font-size: 1.3rem; }

@media (min-width: 768px) {
  .ex-featured-img { height: 340px; }
  .ex-featured-body { padding: 2rem; }
  .ex-featured-body h3 { font-size: 1.7rem; }
}

@media (min-width: 1024px) {
  .ex-featured { grid-template-columns: repeat(2, 1fr); }
  .ex-featured-img { height: 400px; }
  .ex-featured-body { padding: 2.5rem; }
  .ex-featured-body h3 { font-size: 2rem; }
}

/* =========================================
   SHOWCASES GRID — mobile: 1 col
   ========================================= */
.showcases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.showcase-card {
  background: var(--bg-3);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.showcase-card:hover { transform: translateY(-4px); }

.showcase-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.showcase-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.showcase-body h4 { font-size: 0.95rem; }

@media (min-width: 600px) {
  .showcases-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .showcase-img { height: 200px; }
  .showcase-body { padding: 1.1rem; }
  .showcase-body h4 { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .showcases-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .showcase-img { height: 220px; }
  .showcase-body { padding: 1.25rem; }
}

/* =========================================
   VENUE HOURS — mobile: stacked
   ========================================= */
.venue-hours {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.venue-hours h3 { margin-bottom: 0.6rem; }

.venue-hours > div:first-child p { color: var(--text-muted); }

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .hours-row { font-size: 0.95rem; padding: 0.85rem 0; }
}

.hours-row span:last-child { color: var(--text-muted); }

@media (min-width: 768px) {
  .venue-hours {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .venue-hours h3 { margin-bottom: 0.75rem; }
}

/* =========================================
   BIO GRID — mobile: 1 col
   ========================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.bio-img {
  height: 260px;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-3);
}

@media (min-width: 480px) {
  .bio-img { height: 320px; }
}

@media (min-width: 768px) {
  .bio-img { height: 420px; }
}

@media (min-width: 1024px) {
  .bio-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
  .bio-img { height: 600px; }
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bio-text { gap: 1.25rem; }
}

.bio-text h2 { margin-bottom: 0.2rem; }

.bio-tagline {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  .bio-tagline { font-size: 0.9rem; margin-bottom: 1.2rem !important; }
}

.bio-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .bio-info { margin: 0 0 2rem; }
}

.bio-info li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
}

@media (min-width: 768px) {
  .bio-info li { gap: 1rem; padding: 0.55rem 0; }
}

.bio-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 64px;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .bio-info-label { min-width: 72px; font-size: 0.75rem; }
}

@media (min-width: 768px) {
  .bio-info-label { min-width: 80px; }
}

.bio-info-value {
  font-size: 0.88rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: break-all;
  min-width: 0;
}

@media (min-width: 768px) {
  .bio-info-value { font-size: 0.95rem; }
}

a.bio-info-value:hover { color: #6EC1E4; }

.bio-text p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .bio-text p { font-size: 1rem; line-height: 1.9; margin-bottom: 1rem; }
}

.bio-text blockquote {
  border-left: 2px solid var(--white);
  padding: 0.75rem 1.1rem;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0.75rem 0;
}

@media (min-width: 768px) {
  .bio-text blockquote { padding: 1rem 1.5rem; font-size: 1.05rem; margin: 1.5rem 0; }
}

/* =========================================
   MASONRY GRID (Collezioni) — mobile first
   ========================================= */
.masonry-grid {
  columns: 1;
  column-gap: 1.25rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.masonry-img {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}

.masonry-img.ratio-landscape { aspect-ratio: 4/3; }
.masonry-img.ratio-portrait  { aspect-ratio: 3/4; }

.masonry-body {
  padding: 0.6rem 0 0;
  text-align: center;
}

.masonry-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.masonry-body span { display: none; }

@media (min-width: 600px) {
  .masonry-grid { columns: 2; column-gap: 1.5rem; }
  .masonry-item { margin-bottom: 1.75rem; }
  .masonry-body h3 { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .masonry-grid { columns: 3; }
  .masonry-item { margin-bottom: 2rem; }
  .masonry-body h3 { font-size: 1.05rem; }
}

/* =========================================
   MASONRY COLLEZIONI — mobile first
   ========================================= */
.col-masonry-section {
  margin-top: 64px;
  padding: 1.75rem 0 3.5rem;
}

@media (min-width: 480px) {
  .col-masonry-section { margin-top: 72px; padding: 2rem 0 4rem; }
}

@media (min-width: 768px) {
  .col-masonry-section { margin-top: 90px; padding: 2.5rem 0 6rem; }
}

.col-masonry-wrap {
  columns: 1;
  column-gap: 1.25rem;
}

@media (min-width: 640px) {
  .col-masonry-wrap { columns: 2; column-gap: 2.5rem; }
}

@media (min-width: 960px) {
  .col-masonry-wrap { columns: 3; column-gap: 4rem; }
}

@media (min-width: 1200px) {
  .col-masonry-wrap { column-gap: 5rem; }
}

.col-masonry-header {
  break-inside: avoid;
  margin-bottom: 1.75rem;
}

.col-masonry-header h1 {
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.9rem;
  font-weight: 700;
}

.col-masonry-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .col-masonry-header { margin-bottom: 2.5rem; }
  .col-masonry-header h1 { margin: 0 0 1.25rem; }
  .col-masonry-header p { font-size: 0.9rem; }
}

.col-masonry-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .col-masonry-card { margin-bottom: 2.5rem; }
}

.col-masonry-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.col-masonry-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .col-masonry-card h3 { font-size: 1.15rem; }
  .col-masonry-card img { margin-bottom: 0.6rem; }
}

.col-masonry-card span { display: none; }

.col-masonry-loadmore {
  break-inside: avoid;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

/* --- Load More --- */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .load-more-wrap { justify-content: flex-end; margin-top: 2rem; }
}

.btn-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

@media (min-width: 768px) {
  .btn-load-more { width: 100px; height: 100px; font-size: 0.8rem; gap: 0.5rem; }
}

.btn-load-more:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-load-more svg { width: 16px; height: 16px; }

@media (min-width: 768px) {
  .btn-load-more svg { width: 20px; height: 20px; }
}

/* =========================================
   CONTACT LINKS (phone + instagram)
   ========================================= */
.contact-links {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .contact-links { margin: 2rem 0 0; gap: 1rem; }
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s;
}

.contact-link-item:hover { color: #6EC1E4; }

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

@media (min-width: 768px) {
  .contact-link-icon { width: 2.2rem; height: 2.2rem; }
}

.contact-link-item:hover .contact-link-icon {
  border-color: #6EC1E4;
  background: rgba(110,193,228,0.08);
}

.contact-link-icon svg { width: 1rem; height: 1rem; }

.contact-link-text { font-size: 0.95rem; font-weight: 400; }

@media (min-width: 768px) {
  .contact-link-text { font-size: 1rem; }
}

/* =========================================
   LEGAL — legal.css mantiene i suoi stili
   ========================================= */
