/* Stili specifici della pagina Atlante.
   Topbar, sidebar e menu hamburger sono gestiti dal foglio condiviso style.css. */

.atlante-page {
  background: var(--white);
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--primary);
  border-radius: .5rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

.atlante-hero {
  gap: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 0;
}

.video-shell {
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: #000;
}

.atlante-content {
  margin-top: 2rem;
}

.corpo {
  width: 100%;
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header p {
  margin-bottom: .45rem;
  color: var(--secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.page-header h1 {
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.12;
}

.panel,
.info-card {
  padding: clamp(1rem, 2.8vw, 1.6rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  margin-block: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Stesso trattamento grafico di .event-highlight in index/style.css. */
.panel.panel--accent {
  display: block;
  padding: 1.5rem;
  border-left: 6px solid var(--primary);
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  font-weight: 700;
}

.panel.panel--accent a {
  font-weight: inherit;
}

.map-section {
  margin-block: 2.5rem;
}

.map-frame {
  display: block;
  width: 100%;
  height: clamp(380px, 62vw, 680px);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.info-card {
  min-width: 0;
  background: var(--gray);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.info-card--muted {
  background: var(--light);
}

.prose {
  max-width: 980px;
  margin: 2rem auto 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.prose p + p {
  margin-top: 1.25rem;
}

.text-center {
  text-align: center;
}

.promoters {
  font-size: .95rem;
}



@media (max-width: 48rem) {
  .atlante-hero {
    width: 100%;
    padding-inline: .75rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .atlante-content {
    width: min(100% - 1.25rem, var(--container));
  }
}

@media (max-width: 576px) {
  .panel.panel--accent {
    font-size: 1rem;
  }
}

@media (max-width: 30rem) {
  .map-frame {
    height: 390px;
  }
}
