/* ================== FEATURE BAND ================== */

body.page-home .leone-history .history-section-video {
  width: 100%;
  height: clamp(350px, 30vw, 430px);
  object-fit: contain;
  display: block;
  background: #000;
}

body.page-home .leone-history .row-top .history-img-col::after {
  display: none;
}

@media (max-width: 768px) {
  /* video 16:9 intero, senza tagli ai lati (23/10/2026) */
  body.page-home .leone-history .history-img-col video.history-section-video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

.feature-band {
  position: relative;
  width: 100%;
  padding: var(--site-section-gap) 0 var(--site-section-gap-compact);
  background: linear-gradient(
    180deg,
    #fff 0%,
    #f7f9fc 38%,
    #f7f9fc 100%
  );
}

.feature-band::before {
  content: none;
}

.feature-band__header {
  margin-bottom: 34px;
  max-width: 980px;
}

.feature-band__title {
  margin: 0;
  color: #121212;
  font-weight: 800;
  letter-spacing: 0;
  line-height: var(--lh-h2);
  font-size: var(--fs-h2);
}

.feature-band .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 0;
  align-items: stretch;
}

.feature-band .card-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 0;
  box-shadow: 0 10px 32px rgba(10, 22, 48, 0.06);
  padding: 1.5rem;
  margin: 0;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  text-decoration: none;
}

.feature-band .card-band:hover[data-accent="blue"],
.feature-band .card-band:focus-visible[data-accent="blue"] {
  border-color: #214ecd;
}

.feature-band .card-band:hover[data-accent="red"],
.feature-band .card-band:focus-visible[data-accent="red"] {
  border-color: #ff0000;
}

.feature-band .card-band:hover[data-accent="cyan"],
.feature-band .card-band:focus-visible[data-accent="cyan"] {
  border-color: #163caa;
}

.feature-band .card-band:hover {
  box-shadow: 0 20px 44px rgba(10, 22, 48, 0.12);
  transform: translateY(-6px);
}

.feature-band .card-title {
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.feature-band .card-desc {
  font-size: var(--fs-body);
  color: #44506b;
  line-height: var(--lh-body);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-band .card-band .card-link {
  margin-top: auto;
  padding-top: 1.25rem;
}

.feature-band .card-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.feature-band .card-icon {
  width: 100%;
  height: 224px;
  margin: 0 0 1.35rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #fff;
}

.feature-band .card-icon img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Homepage hero slider and product cards */
.hero-slider {
  background: transparent;
}

.hero-slider .hero-layout {
  position: relative;
  height: 100%;
}

.hero-slider .hero-swiper,
.hero-slider .swiper-slide {
  height: 100%;
}

.hero-slider .hero-media-area {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .hero-media-slide {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0;
  overflow: hidden;
}

.hero-slider .hero-media-slide img {
  width: auto;
  height: 138%;
  max-width: none;
  max-inline-size: none;
  object-fit: contain;
  object-position: center right;
  display: block;
  transform: none;
  transform-origin: center right;
}

.hero-slider .swiper-slide:first-child .hero-media-slide img {
  transform: none;
}

.hero-slider .swiper-slide:nth-child(2) .hero-media-slide img {
  transform: translateY(-4%);
}

.hero-slider .swiper-slide:nth-child(3) .hero-media-slide img {
  transform: none;
}

.hero-slider .hero-text {
  position: relative;
  z-index: 1;
  height: 100%;
}

.hero-slider .hero-slide-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slider .hero-copy {
  max-width: 720px;
  margin-block: 72px;
  padding: 0;
}

.hero-slider .hero-title {
  font-size: var(--fs-h1);
  margin: 0;
  font-weight: 700;
  color: var(--blue-1);
  text-wrap: balance;
}

.hero-slider .hero-subtitle {
  margin: 28px 0 0;
  max-width: 520px;
  line-height: 1.45;
  color: var(--secondary-grey);
}

.hero-slider .hero-description {
  width: min(100%, 570px);
  max-width: 570px;
  margin: 1.5rem 0 0;
  color: #333;
  line-height: 1.45;
  font-weight: 400;
}

.hero-slider .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-slider .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--blue-1);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue-1);
  transition: background-color 180ms ease, color 180ms ease;
}

.hero-slider .hero-cta--primary {
  background: var(--blue-1);
  color: #fff;
}

.hero-slider .hero-cta--outline {
  background: transparent;
}

.hero-slider .hero-cta:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
}

.hero-slider .hero-pagination {
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--blue-1);
  overflow: hidden;
}

.hero-slider .hero-pagination .swiper-pagination-bullet {
  width: 44px;
  height: 2px;
  border-radius: 0;
  margin: 0 !important;
  background: rgba(33, 78, 205, 0.24);
  opacity: 1;
}

.hero-slider .hero-pagination .swiper-pagination-bullet-active {
  background: var(--blue-1);
}

@media (max-width: 768px) {
  .page-home .hero-slider {
    padding: 0;
    overflow: hidden;
  }

  .page-home .hero-slider .hero-layout {
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .page-home .hero-slider .hero-layout::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.96) 28%,
      rgba(255, 255, 255, 0.88) 48%,
      rgba(255, 255, 255, 0.58) 64%,
      rgba(255, 255, 255, 0.08) 82%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .page-home .hero-slider .hero-text {
    position: absolute;
    inset: 0;
    z-index: 3;
    height: 100%;
    width: 100%;
  }

  .page-home .hero-slider .hero-slide-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding-inline: var(--page-gutter);
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .page-home .hero-slider .hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .page-home .hero-slider .hero-copy h1 {
    margin: 0;
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    letter-spacing: 0;
  }

  .page-home .hero-slider .hero-copy .hero-description {
    max-width: 32rem;
    margin: 1.15rem 0 0 !important;
    padding: 0;
    color: #1c1c1c !important;
    background: transparent;
    line-height: 1.43;
    font-weight: 450 !important;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
  }

  .page-home .hero-slider .hero-media-area {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .page-home .hero-slider .hero-swiper,
  .page-home .hero-slider .swiper-wrapper,
  .page-home .hero-slider .swiper-slide {
    height: 100%;
  }

  .page-home .hero-slider .hero-media-slide {
    height: 100%;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
  }

  .page-home .hero-slider .hero-media-slide img {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 62% center;
    transform: none;
  }

  .page-home .hero-slider .swiper-slide:first-child .hero-media-slide img {
    width: 100%;
    transform: none;
  }

  .page-home .hero-slider .swiper-slide:nth-child(2) .hero-media-slide img {
    transform: none;
  }

  .page-home .hero-slider .swiper-slide:nth-child(3) .hero-media-slide img {
    filter: contrast(1.55);
  }

  .page-home .hero-slider .hero-ctas {
    width: 100%;
    margin-top: 1.5rem;
    gap: 12px;
  }

  .page-home .hero-slider .hero-cta {
    min-height: 56px;
    width: 100%;
    padding-inline: 1rem;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
    letter-spacing: 0.06em;
  }

  .page-home .hero-slider .hero-cta--outline {
    background: #fff;
  }

  .page-home .hero-slider .hero-cta--outline:hover,
  .page-home .hero-slider .hero-cta--outline:focus-visible {
    background: #fff;
    border-color: var(--blue-1);
    color: var(--blue-1);
  }

  .page-home .hero-slider .hero-pagination {
    bottom: 1.75rem !important;
    z-index: 4;
  }
}

@media (max-width: 420px) {
  .page-home .hero-slider .hero-layout {
    min-height: 0;
  }

  .page-home .hero-slider .hero-copy h1 {
    font-size: var(--fs-h1);
  }

  .page-home .hero-slider .hero-media-slide img {
    object-position: 64% center;
  }
}

/* ====== STATS BAND ====== */
.stats-band {
  background: #ffffff;
  padding: var(--site-section-gap-compact) 0;
  margin: 0;
}

.stats-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  border-right: 1px solid #e6e6e6;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #121212;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.stat-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-1, #214ecd);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-description {
  max-width: 24ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666666;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid #e6e6e6;
  }
}

@media (max-width: 768px) {
  .stats-band {
    padding: var(--site-section-gap-compact) 0;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
    padding: 1.5rem 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

.leone-history {
  margin: 0;
  padding: var(--site-section-gap-compact) 0;
}

.leone-history .sub-title {
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.leone-history .description {
  max-width: 58ch;
}

.leone-history .history-cta {
  margin-top: 1.5rem;
}

/* ================== GALLERY SECTION ================== */
.gallery {
  position: relative;
  margin: 0;
  padding: var(--site-section-gap) 0;
}

.gallery.container,
section.gallery.container {
  max-width: 1280px !important;
}

.gallery .swiper {
  width: calc(100% - 2 * var(--page-gutter));
  max-width: calc(var(--container) - 2 * var(--page-gutter));
  padding-inline: 0;
  height: 520px;
  box-sizing: border-box;
}

.gallery .swiper-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .gallery .gallery-pagination {
    display: none !important;
  }
}

.gallery .swiper-slide {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  cursor: pointer;
  transition: box-shadow 260ms ease, transform 260ms ease;
}

.gallery .swiper-slide:hover,
.gallery .swiper-slide:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(10, 22, 48, 0.16);
  outline: none;
}

.gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: none;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Symposium: mostra il poster intero con badge, titolo e pulsante della card. */
.gallery .swiper-slide--symposium img {
  object-fit: contain;
  padding: 0;
  background: #ffffff;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12, 34, 93, 0.9) 0%, rgba(12, 34, 93, 0.68) 42%, rgba(12, 34, 93, 0.2) 72%, rgba(12, 34, 93, 0) 100%);
  padding: 1.5rem 1.5rem 1.35rem;
  z-index: 10;
  transform: translateY(0);
  transition: background 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: auto;
}

.gallery .swiper-slide:hover .slide-content,
.gallery .swiper-slide:focus-visible .slide-content {
  background: linear-gradient(to top, rgba(12, 34, 93, 0.94) 0%, rgba(12, 34, 93, 0.72) 42%, rgba(12, 34, 93, 0.24) 72%, rgba(12, 34, 93, 0) 100%);
}

.gallery .swiper-slide:hover img,
.gallery .swiper-slide:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}

.slide-content--eventi {
  background: linear-gradient(to top, rgba(255, 0, 0, 0.9) 0%, rgba(255, 0, 0, 0.68) 42%, rgba(255, 0, 0, 0.2) 72%, rgba(255, 0, 0, 0) 100%);
}

.gallery .swiper-slide:hover .slide-content--eventi,
.gallery .swiper-slide:focus-visible .slide-content--eventi {
  background: linear-gradient(to top, rgba(255, 0, 0, 0.94) 0%, rgba(255, 0, 0, 0.72) 42%, rgba(255, 0, 0, 0.24) 72%, rgba(255, 0, 0, 0) 100%);
}

.slide-content--prodotti {
  background: linear-gradient(to top, rgba(0, 103, 124, 0.9) 0%, rgba(0, 103, 124, 0.66) 42%, rgba(0, 103, 124, 0.18) 72%, rgba(0, 103, 124, 0) 100%);
}

.gallery .swiper-slide:hover .slide-content--prodotti,
.gallery .swiper-slide:focus-visible .slide-content--prodotti {
  background: linear-gradient(to top, rgba(0, 103, 124, 0.94) 0%, rgba(0, 103, 124, 0.7) 42%, rgba(0, 103, 124, 0.22) 72%, rgba(0, 103, 124, 0) 100%);
}

.slide-content--ortodonzia,
.slide-content--riviste-ortodonzia {
  background: linear-gradient(to top, rgba(12, 34, 93, 0.9) 0%, rgba(12, 34, 93, 0.66) 42%, rgba(12, 34, 93, 0.18) 72%, rgba(12, 34, 93, 0) 100%);
}

.gallery .swiper-slide:hover .slide-content--ortodonzia,
.gallery .swiper-slide:focus-visible .slide-content--ortodonzia,
.gallery .swiper-slide:hover .slide-content--riviste-ortodonzia,
.gallery .swiper-slide:focus-visible .slide-content--riviste-ortodonzia {
  background: linear-gradient(to top, rgba(12, 34, 93, 0.94) 0%, rgba(12, 34, 93, 0.7) 42%, rgba(12, 34, 93, 0.22) 72%, rgba(12, 34, 93, 0) 100%);
}

.slide-content--riviste-implantologia {
  background: linear-gradient(to top, rgba(255, 0, 0, 0.9) 0%, rgba(255, 0, 0, 0.66) 42%, rgba(255, 0, 0, 0.18) 72%, rgba(255, 0, 0, 0) 100%);
}

.gallery .swiper-slide:hover .slide-content--riviste-implantologia,
.gallery .swiper-slide:focus-visible .slide-content--riviste-implantologia {
  background: linear-gradient(to top, rgba(255, 0, 0, 0.94) 0%, rgba(255, 0, 0, 0.7) 42%, rgba(255, 0, 0, 0.22) 72%, rgba(255, 0, 0, 0) 100%);
}

.slide-badges {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 11;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.35rem 0.7rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  box-shadow: none;
  opacity: 1;
  text-shadow: none;
}

.slide-badge--corsi {
  color: #fff;
  background: #0c225d !important;
}

.slide-badge--eventi {
  color: #fff;
  background: #ff0000 !important;
}

.slide-badge--prodotti {
  color: #fff;
  background: #00677c !important;
}

.slide-badge--ortodonzia,
.slide-badge--riviste-ortodonzia {
  color: #fff;
  background: #0c225d !important;
}

.slide-badge--riviste-implantologia {
  color: #fff;
  background: #ff0000 !important;
}

.slide-content h3 {
  margin: 0 0 0.85rem 0;
  max-width: 18ch;
  font-size: 1.4rem;
  line-height: 1.12;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease;
}

.btn-slide {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-top: 0;
}

.gallery .swiper-slide:hover .slide-content h3,
.gallery .swiper-slide:focus-visible .slide-content h3,
.gallery .swiper-slide:hover .btn-slide,
.gallery .swiper-slide:focus-visible .btn-slide {
  transform: translateY(-6px);
}

.btn-slide:hover {
  color: #fff;
  opacity: 0.8;
  transform: translateX(3px);
}

.gallery .gallery-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.gallery .gallery-intro {
  max-width: 760px;
}

.gallery .gallery-intro .section-title {
  margin-bottom: 0.9rem;
}

.gallery .gallery-intro .section-desc {
  margin-top: 0;
  max-width: 62ch;
}

.gallery .gallery-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  right: 20px;
  top: calc(50% + 28px);
  transform: translateY(-50%);
  justify-content: flex-end;
  z-index: 20;
}

.gallery .swiper-button-prev,
.gallery .swiper-button-next {
  position: relative;
  transform: none;
  z-index: 21;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.gallery .swiper-button-prev svg,
.gallery .swiper-button-next svg {
  display: none !important;
}

.gallery .swiper-button-prev,
.gallery .swiper-button-next,
.gallery .gallery-nav-prev,
.gallery .gallery-nav-next {
  width: 32px;
  height: 32px;
  border: 1px solid var(--blue-1);
  color: var(--blue-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  padding: 0;
  margin-right: 10px;
  background: #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.gallery .swiper-button-prev:hover,
.gallery .swiper-button-next:hover,
.gallery .gallery-nav-prev:hover,
.gallery .gallery-nav-next:hover {
  background: #f5f8ff;
  border-color: rgba(33, 78, 205, 0.4);
}

.gallery .swiper-button-prev::after,
.gallery .swiper-button-next::after {
  content: "";
  z-index: 0;
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  font-size: var(--fs-body-lg);
  color: var(--blue-1);
}

.gallery .swiper-button-next::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23163378' stroke-width='2' fill='none' stroke-linecap='square' stroke-linejoin='miter'><polyline points='9 6 16 12 9 18'/></svg>");
}

.gallery .swiper-button-prev::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23163378' stroke-width='2' fill='none' stroke-linecap='square' stroke-linejoin='miter'><polyline points='15 6 8 12 15 18'/></svg>");
}

.gallery .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.gallery .swiper-pagination-bullet-active {
  background: var(--accent);
}

.home-final-cta {
  padding: var(--site-section-gap) 0;
  background: var(--blue-1);
  margin: 0;
}

.home-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 5rem;
  min-height: 0;
}

.home-final-cta__visual {
  position: relative;
  order: 2;
  min-height: 400px;
  height: 400px;
  overflow: hidden;
}

.home-final-cta__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 71, 0.04), rgba(6, 22, 71, 0.24));
  pointer-events: none;
}

.home-final-cta__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.2);
  transform-origin: 48% 50%;
}

.home-final-cta__content {
  order: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  text-align: left;
}

.home-final-cta .section-title {
  max-width: none;
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: #ffffff;
  white-space: normal;
  overflow-wrap: break-word;
}

.home-final-cta .section-desc {
  max-width: 48ch;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.home-final-cta__button {
  align-self: flex-start;
  margin-top: 2rem;
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue-1);
}

.home-final-cta__button:hover,
.home-final-cta__button:focus {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 1000px) {
  .content-wrapper {
    word-wrap: break-word;
    overflow: hidden;
  }
}

/* Mantiene nascosti gli accessi riservati anche con gli stili dei pulsanti. */
.hero-cta[hidden],
.home-final-cta__button[hidden] {
  display: none !important;
}

/* Le pubblicazioni sono disponibili solo nella home italiana. */
html:not([lang="it"]) .gallery [data-home-language="it"] {
  display: none !important;
}

.gallery .swiper-slide--publication img {
  object-fit: contain;
  background: #fff;
}

/* Keep carousel UI separate from the poster artwork. */
.gallery .gallery-pagination {
  position: static;
  margin-top: 1rem;
}

.gallery .swiper-slide:first-child img {
  padding-top: 44px;
  object-fit: contain;
}

.gallery .swiper-slide:first-child .slide-badges {
  top: 12px;
}

