/* Shared slider behavior; the existing course/faculty slider bundle remains intact. */
[data-bfs-cards-slider]{min-width:0}
[data-bfs-cards-slider] [data-bfs-slide-viewport]{overflow:hidden!important;min-width:0;touch-action:pan-y pinch-zoom;outline-offset:3px;padding:13px 0 21px}
[data-bfs-cards-slider] [data-bfs-slide-track]{animation:none!important;gap:20px!important;min-width:0}
[data-bfs-cards-slider].bfs-slider-ready [data-bfs-slide-track]{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:100%!important;will-change:transform;align-items:stretch;padding:0!important;margin:0!important}
[data-bfs-cards-slider].bfs-slider-ready [data-bfs-slide-card]{box-sizing:border-box!important;min-width:0;max-width:none;flex-shrink:0!important;flex-grow:0!important;margin:0!important;scroll-snap-align:none!important}
[data-bfs-cards-slider] [data-bfs-slide-card][hidden]{display:none!important}
[data-bfs-slide-clone]{pointer-events:none}
.bfs-slider-pause{font-family:inherit;font-size:10px;font-weight:700;line-height:1.4;min-height:36px;padding:7px 11px;border-radius:8px;border:1px solid #d8e4f5;background:#f5f8ff;color:#42628a;cursor:pointer}
.bfs-slider-pause:disabled{opacity:.55;cursor:default}
[data-bfs-cards-slider] [data-bfs-slide-prev]:disabled,[data-bfs-cards-slider] [data-bfs-slide-next]:disabled{opacity:.4;cursor:default}
/* Keep the approved testimonial content and controls; add the reference outline. */
body[data-page="home"] #testimonials .live-testimonial-card{
 border:2px solid transparent!important;border-radius:20px!important;
 background:linear-gradient(135deg,#fff,#f9f7ff) padding-box,linear-gradient(135deg,#8fbaff,#c9d9ff 48%,#c494ed) border-box!important;
 box-shadow:0 6px 16px #27447508!important;padding:21px!important;position:relative;
 transition:transform .24s ease,box-shadow .24s ease!important;overflow:hidden
}
body[data-page="home"] #testimonials .live-testimonial-card:hover{border-color:transparent!important;transform:translateY(-4px)!important;box-shadow:0 13px 25px #294a7914!important}
body[data-page="home"] #testimonials .live-testimonial-card::after{content:none!important}
body[data-page="home"] #testimonials .live-testimonial-head{grid-template-columns:48px minmax(0,1fr)!important;position:relative;gap:10px;align-items:center}
body[data-page="home"] #testimonials .live-testimonial-head strong{font-size:13px!important;line-height:1.5;overflow-wrap:anywhere}
body[data-page="home"] #testimonials .live-testimonial-head span{font-size:9px!important;line-height:1.6;overflow-wrap:anywhere}
body[data-page="home"] #testimonials .live-stars{grid-column:2;font-size:11px!important;line-height:1.3;margin-top:-3px}
body[data-page="home"] #testimonials .live-testimonial-card p{font-size:11px!important;line-height:1.85!important;margin-top:16px!important;overflow-wrap:anywhere}
body[data-page="home"] #testimonials .live-testimonial-shell{border-radius:0;overflow:hidden!important;scroll-snap-type:none!important}
body[data-page="home"] #testimonials .live-testimonial-track{gap:20px!important}
@media(max-width:640px){body[data-page="home"] #testimonials .live-testimonial-card{padding:22px!important;border-radius:18px!important}body[data-page="home"] #testimonials .live-testimonial-card p{font-size:12px!important}body[data-page="home"] #testimonials .live-testimonial-head strong{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){[data-bfs-cards-slider] *,[data-bfs-cards-slider] *::after{animation:none!important;transition:none!important}}
body[data-page="home"] #testimonials .section-head>div:last-child{max-width:100%;min-width:0;flex-wrap:wrap;gap:10px!important}
@media(max-width:640px){body[data-page="home"] #testimonials .section-head .bfs-pill-btn{min-height:38px!important;font-size:10px!important;padding:10px 13px!important}body[data-page="home"] #testimonials .section-head .bfs-pill-btn::after{display:none!important}}

/* V4: reference heading layout in BFS colors; approved service cards stay intact. */
body[data-page="home"] #development-services .bfs-dev-reference-top{
 display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:center;margin-bottom:0
}
body[data-page="home"] #development-services .bfs-dev-reference-heading{
 width:100%;max-width:100%;text-align:center;padding-top:3px
}
body[data-page="home"] #development-services .bfs-dev-reference-heading .bfs-dev-eyebrow{
 display:flex;justify-content:center;align-items:center;gap:12px;margin:0 0 17px;padding:0;border:0;background:none;border-radius:0;
 color:var(--dev-blue,#205fc0);font-size:12px;font-weight:800;letter-spacing:.15em;line-height:1.5;text-transform:uppercase
}
body[data-page="home"] #development-services .bfs-dev-reference-heading .bfs-dev-eyebrow>span{
 display:block;width:auto;height:auto;max-width:calc(100% - 40px);background:none;border-radius:0
}
body[data-page="home"] #development-services .bfs-dev-reference-heading .bfs-dev-heading-sparkles{
 display:block;width:24px;height:28px;flex:0 0 24px;fill:currentColor;stroke:none
}
body[data-page="home"] #development-services .bfs-dev-reference-top #dev-heading{
 color:var(--dev-navy,#123764);font-size:clamp(28px,3.35vw,42px)!important;font-weight:800!important;line-height:1.2!important;
 letter-spacing:-.035em!important;text-align:center;text-wrap:balance;overflow-wrap:anywhere;max-width:100%;margin:0;padding:0;border:0
}
body[data-page="home"] #development-services .bfs-dev-reference-top #dev-heading::before,
body[data-page="home"] #development-services .bfs-dev-reference-top #dev-heading::after{content:none!important}
body[data-page="home"] #development-services .bfs-dev-reference-top>.bfs-dev-slider-controls{justify-self:end;margin:0}
/* Same outline, radius and surface as the approved Digital Solutions cards.
   These selectors cover CMS records, fallback cards and faculty carousel clones. */
body[data-page="home"] #government-legal-status .bfs-reg-card,
body[data-page="home"] #people .faculty-showcase-card{
 border:2px solid transparent!important;border-radius:19px!important;
 background:linear-gradient(140deg,#fff,#f9fbff 65%,#fbf7ff) padding-box,linear-gradient(125deg,#9dbdff,#c9dcff 50%,#bd9fea) border-box!important;
 box-shadow:0 7px 16px #1a427008!important;isolation:isolate;
 transition:transform .23s ease,box-shadow .23s ease!important
}
body[data-page="home"] #government-legal-status .bfs-reg-card:hover,
body[data-page="home"] #people .faculty-showcase-card:hover{
 border-color:transparent!important;transform:translateY(-5px)!important;box-shadow:0 14px 26px #1a427018!important
}
body[data-page="home"] #government-legal-status a.bfs-reg-card:focus-visible{
 outline:3px solid #205fc0;outline-offset:4px
}
@media(max-width:640px){
 body[data-page="home"] #development-services .bfs-dev-reference-top{gap:15px}
 body[data-page="home"] #development-services .bfs-dev-reference-heading .bfs-dev-eyebrow{font-size:10px;letter-spacing:.12em;gap:9px;margin-bottom:13px}
 body[data-page="home"] #development-services .bfs-dev-reference-heading .bfs-dev-heading-sparkles{width:21px;height:25px;flex-basis:21px}
 body[data-page="home"] #development-services .bfs-dev-reference-top #dev-heading{font-size:clamp(27px,6.6vw,34px)!important;line-height:1.24!important}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] #government-legal-status .bfs-reg-card,
 body[data-page="home"] #people .faculty-showcase-card{transition:none!important}
 body[data-page="home"] #government-legal-status .bfs-reg-card:hover,
 body[data-page="home"] #people .faculty-showcase-card:hover{transform:none!important}
}
