  .hero-geometric-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-busetto-blue);
  }

  .activity-shape {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.7rem;
    color: var(--color-busetto-grey);
    border: 1px solid currentColor;
    background: currentColor;
  }

  .activity-shape-circle {
    border-radius: 999px;
  }

  .activity-shape-triangle {
    width: 0;
    height: 0;
    margin-left: -0.05rem;
    border: 0;
    border-right: 0.48rem solid transparent;
    border-bottom: 0.82rem solid currentColor;
    border-left: 0.48rem solid transparent;
    background: transparent;
  }

@media (min-width: 1024px) {
  @keyframes home-news-card-in {
    from {
      opacity: 0;
      transform: translateY(3.5rem);
      filter: blur(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  .home-vertical-swiper,
  .home-vertical-swiper .swiper-wrapper,
  .home-vertical-swiper .home-slide {
    height: 100vh;
    height: 100dvh;
  }

  .home-swiper-pagination {
    --swiper-pagination-color: var(--color-busetto-grey);
    --swiper-pagination-bullet-inactive-color: #ffffff;
    --swiper-pagination-bullet-inactive-opacity: 0.35;
  }

  .home-swiper-pagination.is-on-light {
    --swiper-pagination-color: var(--color-busetto-blue);
    --swiper-pagination-bullet-inactive-color: var(--color-busetto-grey);
    --swiper-pagination-bullet-inactive-opacity: 0.55;
  }

  .home-swiper-pagination .swiper-pagination-bullet {
    width: 0.65rem;
    height: 0.65rem;
    transition: background-color 240ms ease, opacity 240ms ease, transform 240ms ease;
  }

  .home-swiper-pagination .swiper-pagination-bullet-active {
    transform: scale(1.25);
  }

  .home-slide-controls {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 40;
    display: flex;
    gap: 0.65rem;
  }

  .home-slide-controls button {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border: 1px solid var(--color-busetto-grey);
    background: var(--color-busetto-blue);
    color: white;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    transition: color 200ms ease, background-color 200ms ease, opacity 200ms ease;
  }

  .home-slide-controls button:hover:not(:disabled) {
    background: white;
    color: var(--color-busetto-blue);
  }

  .home-slide-controls button:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .home-vertical-swiper .home-slide {
    min-height: 0 !important;
  }

  .home-vertical-swiper #news {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .home-vertical-swiper #news > div,
  .home-vertical-swiper #news > footer {
    width: 100%;
  }

  .home-slide-content {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--color-busetto-grey) transparent;
  }

  .home-footer-slide {
    min-height: 0 !important;
  }

  #news [data-news-card] {
    opacity: 0;
    transform: translateY(3.5rem);
  }

  #news.swiper-slide-active [data-news-card] {
    animation: home-news-card-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #news.swiper-slide-active [data-news-card]:nth-child(1) {
    animation-delay: 0.15s;
  }

  #news.swiper-slide-active [data-news-card]:nth-child(2) {
    animation-delay: 0.4s;
  }

  #news.swiper-slide-active [data-news-card]:nth-child(3) {
    animation-delay: 0.65s;
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  #competenze-faq {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  #competenze-faq h2 {
    font-size: 1.35rem !important;
  }

  #competenze-faq article a,
  #competenze-faq [data-faq-slide] a {
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  #competenze-faq article p,
  #competenze-faq article span.mt-2 {
    margin-top: 0.25rem !important;
  }

  #news > div:first-child {
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
  }

  #news article a {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  #news article h3 {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 1023px) {
  .hero-brand {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-brand-left {
    justify-self: end;
    text-align: right;
  }

  .hero-brand-right {
    justify-self: start;
    text-align: left;
  }

  .hero-brand-separator {
    width: 2px;
    height: 5.5rem;
    opacity: 0.62 !important;
  }

  .activity-shape {
    display: none;
  }

  .home-vertical-swiper {
    height: auto !important;
    overflow: visible !important;
  }

  .home-vertical-swiper .swiper-wrapper {
    display: block !important;
    height: auto !important;
    transform: none !important;
  }

  .home-vertical-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
  }

  .home-vertical-swiper #news {
    overflow: visible !important;
  }

  .home-vertical-swiper #the-hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  .home-vertical-swiper #the-hero > .relative.z-10 {
    min-height: calc(100svh - 8rem);
  }

  .home-vertical-swiper #competenze-faq {
    min-height: 0 !important;
    overflow: visible !important;
    padding-top: 6rem !important;
    padding-bottom: 4rem !important;
  }

  .home-vertical-swiper #competenze-faq > div {
    height: auto !important;
  }

  .home-footer-slide {
    display: block !important;
  }

  .home-swiper-pagination {
    display: none !important;
  }

  .home-slide-controls {
    display: none !important;
  }

  .hero-brand-left,
  .hero-brand-right,
  .hero-brand-separator,
  .hero-title {
    opacity: 1 !important;
    animation: none !important;
  }
}
