/* Native horizontal scrolling. Without enhancement, the existing grid stays. */
.channels-carousel { min-width: 0; }
.channel-carousel-controls { display: none; }
.channel-carousel-controls[hidden] { display: none !important; }
.channels-carousel.is-carousel .channel-benefits--six {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 5px 0 8px;
}
.channels-carousel.is-carousel .channel-benefits--six::-webkit-scrollbar { display: none; }
.channels-carousel.is-carousel .channel-benefits--six:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 16px;
}
.channels-carousel.is-carousel .channel-benefits--six > article {
  /* Three full cards, three 22px gaps, and 48px of the following card. */
  flex: 0 0 calc((100% - 114px) / 3);
  scroll-snap-align: start;
  overflow-wrap: break-word;
}
.channels-carousel.is-carousel .channel-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 18px;
}
.channels-carousel.is-carousel[data-desktop-carousel] .channel-benefits--six {
  /* Extend only the scrolling window. Card widths and the final inset keep
     following the content column, including on screens with a scrollbar. */
  margin-right: calc(-1 * var(--channel-bleed, 0px));
  padding-right: var(--channel-bleed, 0px);
}
.channels-carousel.is-carousel[data-desktop-carousel] .channel-carousel-controls { gap: 12px; }
.channel-carousel-controls button {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #ccd8ee;
  border-radius: 50%;
  background: white;
  color: var(--blue);
}
.channel-carousel-controls button:hover:not(:disabled) { background: #eaf0ff; }
.channel-carousel-controls button:disabled { opacity: .35; cursor: default; }
.channel-carousel-controls button svg { width: 20px; height: 20px; }
#channelPrevious svg { transform: rotate(180deg); }
.channel-carousel-count { min-width: 78px; text-align: center; font-size: 14px; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; }

/* One quiet footer: integration enquiry on the left, navigation on the right. */
#kanaele .channel-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
#kanaele .channel-footer-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  gap: 2px 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
#kanaele .channel-footer-note a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; color: var(--blue); font-weight: 550; }
#kanaele .channel-footer-note a:hover { text-decoration: underline; text-underline-offset: 4px; }
#kanaele .channel-footer-note svg { width: 16px; height: 16px; }
#kanaele .channel-carousel-footer .channel-carousel-controls { flex: none; margin-top: 0; }
@media (max-width: 1100px) {
  .channels-carousel.is-carousel .channel-benefits--six > article {
    /* Two cards plus a 40px preview; keep headings and descriptions readable. */
    flex-basis: calc((100% - 84px) / 2);
  }
}
@media (max-width: 680px) {
  #kanaele .channel-carousel-footer { gap: 16px; margin-top: 14px; }
  #kanaele .channel-footer-note { font-size: 14px; gap: 0 6px; }
  .channels-carousel.is-carousel .channel-benefits--six { gap: 14px; }
  .channels-carousel.is-carousel .channel-benefits--six > article {
    flex-basis: 86%;
    padding: 24px 22px;
    background: white;
    border: 1px solid #dce4f2;
    border-radius: 16px;
  }
  .channels-carousel.is-carousel .channel-carousel-controls { justify-content: center; margin-top: 14px; }
  .channel-carousel-count { min-width: 65px; }
}
