.bct-card, .bct-slider, .bct-list { box-sizing: border-box; width: 100%; min-width: 0; }
.bct-slider { position: relative; }
.bct-card *, .bct-slider * { box-sizing: border-box; }
.bct-card {
  position: relative; width: 100%; max-width: var(--bct-width,1120px); margin: 0 auto;
  padding: clamp(2.5rem,5vw,4.5rem) clamp(min(1.5rem,var(--bct-padding,80px)),5vw,var(--bct-padding,80px));
  overflow: hidden; border: 1px solid var(--bct-border); border-radius: var(--bct-radius,18px);
  background: var(--bct-background); color: var(--bct-text); text-align: var(--bct-align,left);
  font-family: var(--bc-font-primary,"Nunito",Arial,sans-serif);
}
.bct-card.bct-has-gradient { background: linear-gradient(135deg,var(--bct-background) 0%,var(--bct-gradient-middle) 58%,var(--bct-gradient-end) 100%); }
.bct-card.bct-has-shadow { box-shadow: 0 20px 52px rgba(42,31,119,.18); }
.bct-card.bct-has-accent-tab::before { content: ""; position: absolute; top: 0; left: clamp(1.5rem,5vw,var(--bct-padding,80px)); width: clamp(4.75rem,8vw,6.5rem); height: 5px; background: var(--bct-accent); border-radius: 0 0 5px 5px; }
.bct-card .bct-eyebrow { margin: 0 0 1.45rem; color: var(--bct-accent); font-family: var(--bc-font-secondary,"Metropolis",Arial,sans-serif); font-size: .74rem; font-weight: 800; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; }
.bct-card .bct-quote-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.bct-card.bct-has-quote-mark .bct-quote-row { grid-template-columns: clamp(3rem,5vw,4.5rem) minmax(0,1fr); gap: clamp(1rem,2.5vw,2rem); }
.bct-card .bct-quote-mark { display: none; position: relative; min-height: 4rem; }
.bct-card.bct-has-quote-mark .bct-quote-mark { display: block; }
.bct-card .bct-quote-mark::before { content: "\201C"; position: absolute; top: 0; left: 0; font-family: var(--bc-font-secondary,"Metropolis",Arial,sans-serif); font-size: clamp(4.75rem,8vw,6.5rem); font-weight: 800; line-height: .72; letter-spacing: -.08em; color: var(--bct-accent); opacity: .3; pointer-events: none; }
.bct-card blockquote.bct-quote { position: relative; min-width: 0; width: 100%; max-width: 47rem; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-family: var(--bct-font); font-size: clamp(min(1.12rem,var(--bct-quote-size,1.35rem)),1.45vw,var(--bct-quote-size,1.35rem)); font-weight: var(--bct-quote-weight,600); font-style: normal; line-height: 1.52; letter-spacing: -.005em; color: var(--bct-text); text-wrap: pretty; overflow-wrap: anywhere; }
.bct-card blockquote.bct-quote::before, .bct-card blockquote.bct-quote::after { content: none; }
.bct-card .bct-quote p { margin: 0 0 1em; padding: 0; font: inherit; color: inherit; }
.bct-card .bct-quote p:last-child { margin-bottom: 0; }
.bct-card .bct-source { display: flex; align-items: center; gap: 1rem; max-width: 46rem; margin: clamp(2.25rem,4vw,3rem) 0 0; padding: clamp(1.45rem,2.6vw,1.9rem) 0 0; font-style: normal; color: var(--bct-text); }
.bct-card.bct-has-quote-mark .bct-source { margin-left: calc(clamp(3rem,5vw,4.5rem) + clamp(1rem,2.5vw,2rem)); }
.bct-card.bct-has-divider .bct-source { border-top: 1px solid var(--bct-border); }
.bct-card .bct-attribution { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.bct-card .bct-name { font-family: var(--bc-font-secondary,"Metropolis",Arial,sans-serif); font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--bct-text); overflow-wrap: anywhere; }
.bct-card .bct-details { font-family: var(--bc-font-primary,"Nunito",Arial,sans-serif); font-size: .88rem; font-weight: 500; line-height: 1.45; color: var(--bct-muted); overflow-wrap: anywhere; }
.bct-card img.bct-image { display: block; flex: 0 0 56px; width: 56px; height: 56px; margin: 0; border-radius: 50%; object-fit: cover; }
.bct-card.bct-centered .bct-quote { margin-inline: auto; }
.bct-card.bct-centered .bct-source { margin-inline: auto; justify-content: center; }
.bct-list, .bct-slides { display: grid; gap: 1.5rem; }
.bct-slider .bct-slide { min-width: 0; }
.bct-slider .bct-slide[hidden], .bct-slider .bct-controls[hidden] { display: none !important; }
.bct-slider .bct-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin: 1.25rem 0 0; }
.bct-slider .bct-controls button { appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: var(--bc-cloud,#F0EEE9); color: var(--bc-azure,#005461); font-family: var(--bc-font-primary,"Nunito",Arial,sans-serif); font-weight: 700; font-size: 1.25rem; line-height: 1; box-shadow: none; cursor: pointer; text-transform: none; }
.bct-slider .bct-controls button:hover { background: var(--bc-azure,#005461); color: #fff; }
.bct-slider .bct-controls button::before, .bct-slider .bct-controls button::after { content: none; }
.bct-slider .bct-controls button:focus-visible { outline: 3px solid var(--bc-azure,#005461) !important; outline-offset: 3px !important; }
.bct-slider .bct-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.bct-slider .bct-controls .bct-dot { position: relative; border: 0; background: transparent; }
.bct-slider .bct-controls .bct-dot::before { content: ""; display: block; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.bct-slider .bct-controls .bct-dot[aria-current="true"]::before { background: currentColor; }
.bct-slider .bct-controls button.bct-play { width: 44px; min-width: 44px; flex: 0 0 44px; padding: 0; border-radius: 50%; }
.bct-slider .bct-controls .bct-control-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; overflow: visible; pointer-events: none; }
.bct-slider .bct-controls [data-bct-prev] .bct-control-icon--arrow { transform: rotate(180deg) !important; }
/* Same button geometry for prev/next and play/pause, even in a builder iframe. */
.bct-slider .bct-controls button.bct-arrow,
.bct-slider .bct-controls button.bct-play { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; border-radius: 50% !important; font-size: 0 !important; }
.bct-slider .bct-controls button.bct-arrow .bct-control-icon,
.bct-slider .bct-controls button.bct-play .bct-control-icon { display: block; width: 22px !important; height: 22px !important; flex: 0 0 22px; }
.bct-slider .bct-controls button.bct-play .bct-icon-play { display: none; }
.bct-slider .bct-controls button.bct-play[aria-pressed="false"] .bct-icon-pause { display: none; }
.bct-slider .bct-controls button.bct-play[aria-pressed="false"] .bct-icon-play { display: block; }
.bct-slider .bct-controls [data-bct-play] .bct-icon-play,
.bct-slider .bct-controls [data-bct-play][aria-pressed="false"] .bct-icon-pause { display: none; }
.bct-slider .bct-controls [data-bct-play][aria-pressed="false"] .bct-icon-play { display: block; }
.bct-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:560px) {
  .bct-card { padding: 2.5rem min(1.5rem,var(--bct-padding)); border-radius: min(12px,var(--bct-radius)); }
  .bct-card.bct-has-accent-tab::before { left: min(1.5rem,var(--bct-padding)); width: 4rem; }
  .bct-card.bct-has-quote-mark .bct-quote-row { grid-template-columns: 2rem minmax(0,1fr); gap: .75rem; }
  .bct-card .bct-quote-mark::before { font-size: 4rem; }
  .bct-card.bct-has-quote-mark .bct-source { margin-left: 2.75rem; }
  .bct-card.bct-centered .bct-source { margin-inline: auto; }
}
@media(prefers-reduced-motion:reduce) { .bct-slider * { transition: none !important; animation: none !important; } }

/* Multiple cards share each viewport; single-card sliders retain the original layout. */
.bct-slider .bct-slides { grid-template-columns: repeat(var(--bct-visible, 1),minmax(0,1fr)); align-items: stretch; }
.bct-slider .bct-slide { min-width: 0; }
.bct-slider .bct-slide .bct-card { height: 100%; }
/* Offscreen measurement includes every testimonial, but never enters the page flow. */
.bct-slider .bct-slides.bct-measuring { position: absolute !important; top: 0; left: 0; width: 100%; height: auto !important; min-height: 0 !important; max-height: none !important; visibility: hidden !important; pointer-events: none !important; }
.bct-slider .bct-slides.bct-measuring .bct-slide[hidden] { display: block !important; }
@media (min-width: 701px) {
  .bct-slider[data-per-view="2"] .bct-card,
  .bct-slider[data-per-view="3"] .bct-card { padding: clamp(1.5rem,3vw,3rem); }
  .bct-slider[data-per-view="2"] .bct-card blockquote.bct-quote,
  .bct-slider[data-per-view="3"] .bct-card blockquote.bct-quote { font-size: clamp(1rem,1.4vw,1.18rem); }
  .bct-slider[data-per-view="2"] .bct-card.bct-has-quote-mark .bct-quote-row,
  .bct-slider[data-per-view="3"] .bct-card.bct-has-quote-mark .bct-quote-row { grid-template-columns: 2rem minmax(0,1fr); gap: .65rem; }
  .bct-slider[data-per-view="2"] .bct-card .bct-quote-mark::before,
  .bct-slider[data-per-view="3"] .bct-card .bct-quote-mark::before { font-size: 3.75rem; }
  .bct-slider[data-per-view="2"] .bct-card.bct-has-quote-mark .bct-source,
  .bct-slider[data-per-view="3"] .bct-card.bct-has-quote-mark .bct-source { margin-left: 2.65rem; }
}
