{%- import '../../css/variable/_variables.css' -%}

{# =============================================
   Slider Section — RoamGuard Theme
   Node: 16996-4108  |  Slick Slider
   Left heading + arrows, then cards slider
   Mobile-first: base → mobilept → md → lg → xl
   ============================================= #}

{# ── Annotation padding utilities ── #}
.py-lg-130   { padding-top: 80px; padding-bottom: 80px; }
.py-md-80    { padding-top: 80px; padding-bottom: 80px; }
.mobilemy-60 { padding-top: 60px; padding-bottom: 60px; }
.py-md-65    { padding-top: 40px; padding-bottom: 0; }
.mobilemt-40 { margin-top: 40px; }
.pt-10  { padding-top: 10px; }
.pt-45  { padding-top: 45px; }
.pt-50  { padding-top: 50px; }
.py-15  { padding-top: 15px; padding-bottom: 15px; }
.px-15  { padding-left: 15px; padding-right: 15px; }


{# ══════════════════════════════════════════════
   TOP ROW — annotation: row
   Left col (col-md-9): heading + body, LEFT-aligned
   Right: nav arrows, bottom-aligned
   ══════════════════════════════════════════════ #}
.slider-section__top-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

{# ── Heading column (col-md-9) ── #}
.slider-section__heading-col {
  width: 100%;
}

.slider-section__heading-wrap h2 {
  color: ;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

.slider-section__body p {
  color: ;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

{# ── Nav column — right-aligned arrows ── #}
.slider-section__nav-col {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.slider-section__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-section__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 32px;
  background-color: ;
  border: none;
  cursor: pointer;
  padding: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.slider-section__nav-btn:hover { opacity: 0.88; }

.slider-section__nav-btn:focus {
  outline: 2px solid ;
  outline-offset: 2px;
}

.slider-section__nav-btn svg { display: block; flex-shrink: 0; }


{# ══════════════════════════════════════════════
   SLIDER MAIN CONTAINER
   ══════════════════════════════════════════════ #}
.slider-section__main {
  display: flex;
  flex-direction: column;
/*   align-items: center; */
  width: 100%;
}

{# Slick track — hide default controls ── #}
.slider-section__track .slick-prev,
.slider-section__track .slick-next { display: none !important; }

.slider-section__track .slick-dots { display: none !important; }

{# Slide wrapper — gutter between cards ── #}
.slider-section__slide {
  padding: 0 15px;
  outline: none;
  box-sizing: border-box;
}


{# ══════════════════════════════════════════════
   CARD — white, radius-24
   Text block TOP, image block BOTTOM
   annotation: py-15 px-15
   ══════════════════════════════════════════════ #}
.slider-section__card {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

{# Card text area (top) — p-24px from Figma #}
.slider-section__card-text {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slider-section__card-heading {
  color: ;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.slider-section__card-body p {
  color: ;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

{# Card image area (bottom) — annotation: pt-45 #}
.slider-section__card-img-area {
  padding: 0 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.slider-section__card-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  height: 280px;
  flex: 1;
}

.slider-section__card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.slider-section__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


{# ══════════════════════════════════════════════
   CTA BUTTON WRAP — annotation: pt-50, centred
   macros.render_button() output gets pill styling
   ══════════════════════════════════════════════ #}
.slider-section__cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.slider-section__cta-wrap .cta-btn {
  border-radius: 32px;
}

.slider-section__cta-wrap .cta-btn.btn1 {
  background-color: ;
  color: #ffffff;
}

.slider-section__cta-wrap .cta-btn.btn1:hover {
  opacity: 0.88;
  color: #ffffff;
}


{# ═══════════════════════════════════════════════
   MOBILE  (max-width: 767px)
   ═══════════════════════════════════════════════ #}
@media (max-width: 767px) {
  .slider-section__heading-wrap h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .slider-section__top-row { gap: 20px; }

  .slider-section__slide { padding: 0 8px; }

  .slider-section__card { border-radius: 16px; }

  .slider-section__card-img-wrap {
    height: 200px;
    border-radius: 16px;
  }

  .slider-section__card-heading { font-size: 22px; }
}


{# ═══════════════════════════════════════════════
   TABLET  (min-width: 768px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 768px) {
  .slider-section__top-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }

  .slider-section__heading-col {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .slider-section__nav-col {
    flex: 1;
    justify-content: flex-end;
  }

  .slider-section__heading-wrap h2 {
    font-size: 36px;
  }

  .slider-section__body p { font-size: 17px; }

  .py-md-65 { padding-top: 65px; padding-bottom: 0; }
  .mobilemt-40 { margin-top: 0; }

  .slider-section__card-img-wrap { height: 260px; }
}


{# ═══════════════════════════════════════════════
   LG  (min-width: 992px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 992px) {
  .py-lg-130 { padding-top: 130px; padding-bottom: 130px; }

  .slider-section__heading-wrap h2 {
    font-size: 42px;
    line-height: 50px;
  }

  .slider-section__body p { font-size: 18px; line-height: 25px; }

  .slider-section__card-heading { font-size: 26px; }

  .slider-section__card-img-wrap { height: 300px; }
}


{# ═══════════════════════════════════════════════
   XL  (min-width: 1200px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 1200px) {
  .slider-section__slide { padding: 0 15px; }
}
