/* ==========================================================================
   pages/aniped.css
   Eccezioni della pagina aniped.
   Caricato da 1 pagina.
   ========================================================================== */

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-sub {
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg2);
}

.section-sub {
  margin-bottom: 2rem;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: var(--oro);
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 0.8rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.dati-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1rem;
}

.dato-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .3rem;
}

.dato-valore {
  font-size: .95rem;
  font-weight: 600;
  color: var(--blu);
}

.dato-nota {
  font-size: .8rem;
  color: var(--txt2);
  margin-top: .2rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}

.tl-item:last-child {
  border-bottom: none;
}

.tl-anno {
  font-size: 1rem;
  font-weight: 700;
  color: var(--acc);
  padding-top: .15rem;
}

.tl-body h3 {
  margin-bottom: .4rem;
}

.tl-body p {
  text-align: left;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.2rem;
}

.servizio-icon {
  font-size: 1.6rem;
  margin-bottom: .7rem;
}

.servizio-title {
  margin-bottom: .4rem;
}

.organi-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.organo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.organo-ruolo {
  font-size: .78rem;
  font-weight: 700;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .15rem;
}

.organo-nome {
  font-size: .95rem;
  font-weight: 600;
  color: var(--blu);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.faq-q {
  font-weight: 700;
  color: var(--blu);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "＋";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--acc);
  flex-shrink: 0;
}

details[open] .faq-q::after {
  content: "－";
}

.faq-a {
  padding: 0 1.5rem 1.2rem;
}

.cta-box {
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box p {
  margin-bottom: 0.8rem;
}

.cta-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.correlati-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.correlato-link {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .55rem 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--acc);
  transition: border-color .2s,background .2s;
}

.correlato-link:hover {
  border-color: var(--acc);
  background: var(--bg3);
  text-decoration: none;
}

@media (max-width: 640px) {
  .tl-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }
}

body.page-aniped :is(.cta-box,.cta-band) p {
  text-align: center;
  text-align-last: center;
}
