/* SUPPORT-6134 */

@media only screen and (max-width: 769px) {
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child {
    padding-block-end: 58px !important;
  }
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project img {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 262;
    object-fit: cover;
  }
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 17px;
  }
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project__info strong {
    font-size: 20px;
    line-height: 24px;
  }
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project__info-text,
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project__info-text span {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    color: #171717;
  }
  html main:has(+ footer > .footer-cta) > .transport.project-slider:last-child .card-project__info-text {
    margin-top: 5px;
  }

  /* --- Footer-CTA (alleen na de projectslider) --- */
  html main:has(> .transport.project-slider:last-child) + .footer.variant-6:has(> .footer-cta) {
    padding-block-start: 0;
    border-top: 0;
  }
  html main:has(> .transport.project-slider:last-child) + footer > .footer-cta {
    position: relative;
    top: auto;
    margin-inline: calc(50% - 50vw);
    padding-inline: 16px;
    margin-bottom: 80px;
  }
  html main:has(> .transport.project-slider:last-child) + footer > .footer-cta .footer-cta__content {
    position: static;
    padding: 32px;
    box-shadow: 0 0 0 100vmax #f6f5f0;
    clip-path: inset(-2px -100vmax 0);
  }
  html main:has(> .transport.project-slider:last-child) + footer > .footer-cta .footer-cta__content .button {
    min-height: 0;
    height: 36px;
    padding: 0 32px 0 24px;
    font-size: 0.64rem;
    line-height: 1;
  }
  html main:has(> .transport.project-slider:last-child) + footer > .footer-cta .footer-cta__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 358 / 154;
    object-fit: cover;
  }
}