{% scope_css %}
/* TOP SECTION */
.b2b-showcase-top {
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
}

.b2b-showcase-hero-text {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #91abac;
  margin: 0 0 var(--space-2) 0;
}

.b2b-showcase-title {
  font-family: 'Tenor Sans', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 10px 0;
  color: var(--black);
}

.b2b-showcase-description {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 15px;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 32px 0;
}
/* slider section */
.swiper-pagination-bullet {
opacity:1;
background-color: ;
}
.swiper-pagination-bullet-active {
background-color: ;
}
.swiper-scrollbar-drag {
background-color: ;
}
.swiper-button-next, .swiper-button-prev {
color:;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
color:;
}

.b2b-button-move {
  border: 1px solid #ebc58c;
  border-radius: 100%;
  width:38px!important;
  height:38px!important;
  background-color:#ffffffa6;
}

.b2b-button-move::after {
  font-size: 16px!important;
  color: var(--green)!important;
}

.b2b-prev  {

}

.b2b-next {
  
}
  
.b2b-slider .swiper-slide  {
  
}  
  
{% if module.testimonial_layout == "vertical" %}

{% elif module.testimonial_layout == "horizontal" %}  
.b2b-slider .swiper-wrapper {
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.b2b-slider .swiper-slide {
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;

}

{% endif %}  
.b2b-slider__social .social  {
color: ;
}
.b2b-slider__social .social:hover  {
color: ;
} 
{% end_scope_css %}

.b2b-slider .b2b-slider__headshot.circle img  {
border-radius:500px;
}
.b2b-slider .b2b-slider__headshot.center  {
text-align:center;
}
.b2b-slider .text-center {
text-align:center;
}
.b2b-slider {   
padding:50px;
position:relative;
}
.b2b-slider .social {
margin:0 5px;
}
.b2b-slider .swiper {   
width: 100%;
height: 100%;
}

/* ==========================================================================
   Custom card look — matches the reference screenshot
   ========================================================================== */

.b2b-slider {
  --b2b-frame-bg: #f4ddba;
  --b2b-radius-outer: 24px;
  --b2b-radius-card: 16px;
  --b2b-accent: #1f5c4d;
  --b2b-text: #2b2b2b;
  --b2b-muted: #8a8a8a;

  /* Outer beige frame (visible in the gaps between/around cards) */
  background: var(--b2b-frame-bg);
  border-radius: var(--b2b-radius-outer);
}

/* Card: white, sits inset inside the beige frame */
.b2b-slider .b2b-slider__swiper-slide {
  background: #ffffff;
  border: none;
  border-radius: var(--b2b-radius-card);
  padding: 28px 32px;
  box-sizing: border-box;
  align-items: flex-start;
}

/* Headshot: portrait box, top-left */
.b2b-slider .b2b-slider__headshot {
  margin-bottom: 20px;
  width: 50%;
}
.b2b-slider .b2b-slider__headshot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ==========================================================================
   b2b-slider — SLIDE ITEM ONLY (card, photo, quote, author, social)
   Desktop: two columns, photo left, quote centred vertically with
            author/role/social pinned to the bottom of the photo.
   Mobile (max-width 767px): stacked, full-width photo, quote below.
   Root, frame, navigation and section title rules are not included here.
   ========================================================================== */

/* ---------- Card ---------- */

.b2b-slider .b2b-slider__swiper-slide {
  /* !important: the module sets flex-direction: row inline */
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 40px;
  box-sizing: border-box;
  height: auto;
  min-height: 480px;
  padding: 32px;
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

/* ---------- Photo column ---------- */

.b2b-slider .b2b-slider__headshot {
  display: flex;
  flex: 0 0 42%;
  width: 42%;
  margin: 0;
  align-self: stretch;
}

.b2b-slider .b2b-slider__headshot img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 416px;
  object-fit: cover;
  border-radius: 12px;
}

.b2b-slider .b2b-slider__headshot.circle img {
  border-radius: 50%;
}

.b2b-slider .b2b-slider__headshot.center {
  justify-content: center;
}

/* ---------- Text column ---------- */

.b2b-slider .b2b-slider__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: auto;
  min-width: 0;
  padding: 24px 0 0;
  text-align: left;
}

.b2b-slider .b2b-slider__text.text-center {
  text-align: center;
}

/* Quote block takes the free height and centres itself in it,
   so author, role and social sit at the bottom edge of the photo */
.b2b-slider .b2b-slider__text > .wrap-comment {
  display: flex;
/*   flex: 1 1 auto; */
  align-items: center;
  margin-bottom: 24px;
  font-size: 15px;
}

.b2b-slider .content-comment {
  flex: 1 1 auto;
  min-width: 0;
}

.b2b-slider .content-comment p {
  margin: 0 0 12px;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  color: #2b2b2b;
}

.b2b-slider .content-comment p:last-child {
  margin-bottom: 0;
}

/* Words bolded in the rich text render upright */
.b2b-slider .content-comment p strong,
.b2b-slider .content-comment p b {
  font-style: normal;
  font-weight: 700;
}

/* ---------- Author and role ---------- */

.b2b-slider .b2b-slider__text .b2b-author {
  margin: 0 0 2px;
  font-style: normal;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
}

.b2b-slider .b2b-slider__text p.b2b-position {
  margin: 0 0 14px;
  font-style: normal;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #888780;
}

/* ---------- Social row ---------- */

.b2b-slider .b2b-slider__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.b2b-slider .b2b-slider__social .social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: #1f5c4d;
}

.b2b-slider .b2b-slider__social .social svg {
  flex-shrink: 0;
  fill: currentColor;
}

.b2b-slider .b2b-slider__social .social:hover {
  opacity: 0.8;
}

.b2b-slider_locations {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.b2b-slider_locations .b2b-slider_location {
  background: #a78653;
  padding: 4px 6px;
  border-radius: 6px;
  color: white;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .b2b-slider .b2b-slider__swiper-slide {
    flex-direction: column !important;
    gap: 20px;
    min-height: 0;
    padding: 20px;
  }

  .b2b-slider .b2b-slider__headshot {
    flex: 0 0 auto;
    width: 100%;
    align-self: auto;
  }

  .b2b-slider .b2b-slider__headshot img {
    height: 280px !important;
    min-height: 0;
  }

  /* Circle crop keeps its round shape on mobile */
  .b2b-slider .b2b-slider__headshot.circle img {
    width: 240px !important;
    height: 240px !important;
    max-width: 100%;
    margin: 0 auto;
  }

  .b2b-slider .b2b-slider__text {
    width: 100%;
    padding: 0;
  }

  .b2b-slider .b2b-slider__text > .wrap-comment {
    margin-bottom: 16px;
  }

  .b2b-slider .content-comment p {
    font-size: 1rem!important;
    line-height: 1.5;
  }

  .b2b-slider .b2b-slider__text .b2b-author {
    font-size: 1rem;
  }

  .b2b-slider .b2b-slider__social {
    gap: 12px 16px;
  }
}