/* Carousel component (assets/js/gc-carousel.js). Arrows and dots: the solutions carousel of the home page (design of
   24/10/2026). */
.gc-carousel { width: 100%; max-width: 100%; min-width: 0; }
/* The viewport clips sideways only (the slides beside the one shown) and lets the cards' shadow show around it
   (overflow-clip-margin; browsers without it clip the shadow at the sides). contain: the slides' width never widens
   the page. Slides are 64px apart, so the next card's shadow stays out of the clip margin. */
.gc-carousel__viewport { overflow-x: clip; overflow-y: visible; overflow-clip-margin: 28px; contain: inline-size; transition: height .45s ease; }
.gc-carousel__track { display: flex; gap: 64px; align-items: flex-start; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.gc-carousel__slide { flex: 0 0 100%; min-width: 0; }
.gc-carousel__slide > .div-block-17 { width: 100%; box-sizing: border-box; }
/* data-gc-fade: the slides share one grid cell (the carousel takes the tallest one's height) and cross-fade. Until the
   script runs, the first one shows. */
.gc-carousel[data-gc-fade] .gc-carousel__viewport { overflow: visible; contain: none; transition: none; }
.gc-carousel[data-gc-fade] .gc-carousel__track { display: grid; align-items: stretch; transform: none; transition: none; will-change: auto; }
.gc-carousel[data-gc-fade] .gc-carousel__slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s .5s; }
.gc-carousel[data-gc-fade] .gc-carousel__slide.is-active,
.gc-carousel[data-gc-fade]:not(.is-ready) .gc-carousel__slide:first-child { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.gc-carousel__controls { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; }
.gc-carousel__controls[hidden] { display: none; }
.gc-carousel__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3e6ea; background: #fff; color: #141414;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.gc-carousel__arrow:hover { background: #141414; border-color: #141414; color: #fff; }
.gc-carousel__arrow:focus-visible, .gc-carousel__dot:focus-visible { outline: 2px solid #141518; outline-offset: 3px; }
.gc-carousel__arrow svg { width: 20px; height: 20px; }
.gc-carousel__dots { display: flex; justify-content: center; }
/* 10px dots in 24px targets (WCAG 2.5.8): the dot is drawn by ::before. */
.gc-carousel__dot { position: relative; width: 24px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; }
.gc-carousel__dot::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #d5d9de; transition: background-color .3s ease; }
.gc-carousel__dot.is-active::before { background: #2bd4cf; }
@media (prefers-reduced-motion: reduce) {
  .gc-carousel__viewport, .gc-carousel__track, .gc-carousel__dot::before, .gc-carousel[data-gc-fade] .gc-carousel__slide { transition: none; }
}
