/* MOD QC Home #1 - "Arrows left and right are hiding the content."
   The tab-carousel arrows are 63px circles placed over the slide edges (on desktop they appear on
   hover over the image/text; on phones they sit on top of the image). Give them their own space. */

/* Desktop / tablet: reserve a gutter on both sides of the slides so the arrows sit beside them.
   Swiper sizes slides from the container's inner width, so padding shrinks the slides. */
@media (min-width: 768px) {
  .pbv2-tab-carousel .cta-carousel {
    padding-left: 72px;
    padding-right: 72px;
  }
  .pbv2-tab-carousel .swiper-button-prev { left: 0; }
  .pbv2-tab-carousel .swiper-button-next { right: 0; }
}

/* Cookie banner (Termly): its buttons get background #C4122F as an inline style from the Termly
   dashboard, so match the logo red with !important. (Permanent fix: change the colour in Termly.) */
[class*="termly-styles-module-primary"][class*="termly-styles-module-solid"],
[class*="termly-styles"][style*="196, 18, 47"] {
  background: #8b0e04 !important;
  background-color: #8b0e04 !important;
  border-color: #8b0e04 !important;
}

/* Phones: move the arrows below the slide (centred pair) instead of over the image. */
@media (max-width: 767px) {
  .pbv2-tab-carousel .cta-carousel {
    padding-bottom: 72px;
  }
  .pbv2-tab-carousel .swiper-button-prev,
  .pbv2-tab-carousel .swiper-button-next {
    top: auto;
    bottom: 4px;
    margin-top: 0;
    width: 52px;
    height: 52px;
    font-size: 36px;
  }
  .pbv2-tab-carousel .swiper-button-prev { left: calc(50% - 62px); right: auto; }
  .pbv2-tab-carousel .swiper-button-next { right: calc(50% - 62px); left: auto; }
  .pbv2-tab-carousel .swiper-button-prev:after,
  .pbv2-tab-carousel .swiper-button-next:after { content: none; }
}
