/* Home: proporzioni uniformi e carosello stabile, con contenuti dal CMS. */
.drive-modern .ac-new-hero.container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  max-width: 1180px;
  padding: 40px 30px 28px;
}
.drive-modern .ac-new-hero .ac-new-copy {
  width: 100%; max-width: 520px; min-width: 0; margin: 0 auto; text-align: center;
}
.drive-modern .ac-new-hero .ac-new-copy .ac-kicker {
  max-width: 100%; margin: 0 auto 18px; font-size: 10px; line-height: 1.7; letter-spacing: .13em;
}
.drive-modern .ac-new-hero .ac-new-copy h1 {
  margin: 0 auto 22px; font-size: clamp(42px, 4.1vw, 54px);
  line-height: 1.15; letter-spacing: -.035em; text-wrap: balance;
}
.drive-modern .ac-new-hero .ac-new-copy h1 > span { display: block; }
.drive-modern .ac-new-hero .ac-new-copy > p:not(.ac-kicker):not(.ac-small) {
  max-width: 410px; margin: 0 auto; font-size: 15px; line-height: 1.8; text-wrap: pretty;
}
.drive-modern .ac-new-hero .ac-new-copy .ac-small {
  margin: 20px auto 0; font-size: 12px; line-height: 1.7;
}
.drive-modern .ac-new-hero .ac-hero-carousel {
  width: 100%; max-width: 520px; margin: 0 auto; min-width: 0;
}
/* Tutte le slide contribuiscono all'altezza: il cambio annuncio non sposta i filtri. */
.drive-modern .ac-new-hero .ac-hero-slides { display: grid; }
.drive-modern .ac-new-hero .ac-hero-slides > .ac-hero-slide {
  grid-area: 1 / 1; align-self: stretch; min-width: 0; width: 100%;
  height: auto; margin: 0; border-radius: 20px; text-decoration: none;
}
.drive-modern .ac-new-hero .ac-hero-slides > .ac-hero-slide[hidden] {
  display: flex!important; visibility: hidden; pointer-events: none;
}
.drive-modern .ac-new-hero .ac-feature > img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
}
.drive-modern .ac-new-hero .ac-hero-slide .ac-feature-caption {
  display: flex; flex: 1; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 20px; min-height: 146px; width: 100%; text-align: center;
}
.drive-modern .ac-new-hero .ac-feature-caption small {
  font-size: 10px; line-height: 1.5; letter-spacing: .09em; color: #687b89;
}
.drive-modern .ac-new-hero .ac-feature-caption strong {
  max-width: 100%; margin: 0; font-size: 21px; line-height: 1.25; text-wrap: balance;
}
.drive-modern .ac-new-hero .ac-feature-caption span {
  width: 100%; max-width: 100%; min-height: 2.9em; margin: 0;
  font-size: 13px; line-height: 1.45; color: #607482; text-wrap: balance;
}
.drive-modern .ac-new-hero .ac-feature-caption b {
  position: static; margin: auto 0 0; font-size: 13px; line-height: 1.5;
}
.drive-modern .ac-new-hero .dm-type-buttons {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: 100%; gap: 10px; margin: 0; padding: 0;
}
.drive-modern .ac-new-hero .dm-type-button {
  width: 100%; min-width: 0; min-height: 46px; margin: 0;
  padding: 12px; border-radius: 12px; font-size: 12px; line-height: 1.4;
  box-shadow: none; transform: none;
}
.drive-modern .ac-new-hero .dm-type-button.active { box-shadow: none; }
@media (min-width: 901px) and (max-width: 1100px) {
  .drive-modern .ac-new-hero.container { gap: 26px; padding: 36px 24px 26px; }
  .drive-modern .ac-new-hero .ac-new-copy h1 { font-size: 42px; }
  .drive-modern .ac-new-hero .ac-new-copy .ac-kicker { font-size: 9px; letter-spacing: .1em; }
}
@media (max-width: 900px) {
  .drive-modern .ac-new-hero.container {
    grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 32px 24px 24px;
  }
  .drive-modern .ac-new-hero .ac-new-copy { max-width: 600px; }
  .drive-modern .ac-new-hero .ac-new-copy h1 { font-size: 40px; margin-bottom: 16px; }
  .drive-modern .ac-new-hero .ac-new-copy .ac-kicker { margin-bottom: 14px; }
  .drive-modern .ac-new-hero .ac-new-copy .ac-small { margin-top: 14px; }
}
@media (max-width: 575px) {
  .drive-modern .ac-new-hero.container { padding: 26px 18px 22px; gap: 24px; }
  .drive-modern .ac-new-hero .ac-new-copy h1 { font-size: clamp(28px, 8.5vw, 34px); line-height: 1.17; }
  .drive-modern .ac-new-hero .ac-new-copy .ac-kicker { font-size: 9px; letter-spacing: .08em; }
  .drive-modern .ac-new-hero .ac-new-copy > p:not(.ac-kicker):not(.ac-small) { font-size: 14px; line-height: 1.7; }
  .drive-modern .ac-new-hero .ac-new-copy .ac-small { font-size: 11px; }
  .drive-modern .ac-new-hero .ac-hero-slides > .ac-hero-slide { border-radius: 16px; }
  .drive-modern .ac-new-hero .ac-feature-caption strong { font-size: 19px; }
  .drive-modern .ac-new-hero .ac-hero-slide .ac-feature-caption { padding: 15px 16px; }
  .drive-modern .ac-new-hero .dm-type-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .drive-modern .ac-new-hero .dm-type-button { font-size: 11px; min-height: 44px; padding: 10px 8px; }
  .drive-modern .ac-new-hero .dm-type-button:first-child,
  .drive-modern .ac-new-hero .dm-type-button:last-child:nth-child(even) { grid-column: 1 / -1; }
}
