/* ═══════════════════════════════════════════════════════
   BHARAT SMILES — TESTIMONIAL SECTION  (standalone CSS)
   Loads on ALL pages where [bss_testimonials] shortcode
   or bss_testimonials_section() function is used.
   No dependency on service.css
════════════════════════════════════════════════════════ */

:root {
    --bss-bg:      #111111;
    --bss-bg-2:    #1a1a1a;
    --bss-bg-3:    #222222;
    --bss-gold:    #EDCD6D;
    --bss-gold-lt: #E2C97E;
    --bss-white:   #FFFFFF;
    --bss-text:    #CCCCCC;
    --bss-muted:   #888888;
    --bss-border:  #2e2e2e;
    --bss-radius:  8px;
    --bss-trans:   .25s ease;
}

/* ── Section wrapper ── */
.bss-testimonials {
  /*  background-color: var(--bss-bg-2); */
    font-family: 'inter', system-ui, sans-serif;
    color: var(--bss-text);
    box-sizing: border-box;
}

.bss-testimonials *,
.bss-testimonials *::before,
.bss-testimonials *::after {
    box-sizing: inherit;
}

/* ── Eyebrow + heading ── */
.bss-testimonials .bss-eyebrow {
    display: block;
   font-size: 14px;
    color: var(--bss-muted);
    margin-bottom: 8px;
    text-align: center;
}

.bss-testimonials .bss-section-title {
    color: var(--bss-gold);
    font-size: clamp(1.1rem, 2.5vw, 32px);
    font-weight: 700;
    font-family: "ppneuemontreal-bold", Sans-serif;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.2;
}

.bss-testimonials__sub {
    color: var(--bss-text);
    font-size: .95rem;
    line-height: 1.7;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 52px;
}

/* ── Swiper overrides ── */
.bss-tSwiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 0 !important;
}

.bss-tSwiper .swiper-wrapper {
    align-items: stretch;
}

/* ── Card ── */
.bss-tcard {
    background: var(--bss-bg-3);
    border-radius: var(--bss-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
	padding: 16px 13px;
	border-radius: 0;
}

/* ── Thumbnail (16:9) ── */
.bss-tcard__thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}

.bss-tcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--bss-trans);
}

.bss-tcard__thumb:hover img {
    transform: scale(1.04);
}

/* ── Play button overlay ── */
.bss-tcard__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .15);
    transition: background var(--bss-trans);
}

.bss-tcard__thumb:hover .bss-tcard__play {
    background: rgba(0, 0, 0, .35);
}

.bss-tcard__play svg {
    width: 68px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
    transition: transform var(--bss-trans);
}

.bss-tcard__thumb:hover .bss-tcard__play svg {
    transform: scale(1.08);
}

/* ── Card body: name + date stacked ── */
.bss-tcard__body {
    padding: 16px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bss-tcard__name {
    color: var(--bss-white);
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

.bss-tcard__date {
    color: var(--bss-muted);
    font-size: .82rem;
    display: block;
}

/* ── Custom nav row ── */
.bss-tSwiper__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.bss-tSwiper__btn {
    background: transparent;
    border: none;
    color: var(--bss-text);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--bss-trans);
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.bss-tSwiper__btn:hover {
    color: var(--bss-white);
	background-color: #ffffff00  !important;
	border: solid 1px #fff;
}

.bss-tSwiper__btn.swiper-button-disabled {
    opacity: .3;
    cursor: default;
}

/* Dots */
.bss-tSwiper__dots {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
}

.bss-tSwiper__dots .swiper-pagination-bullet {
    background: #444;
    opacity: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all var(--bss-trans);
    margin: 0 !important;
}

.bss-tSwiper__dots .swiper-pagination-bullet-active {
    background: var(--bss-white);
    width: 22px;
    border-radius: 4px;
}

/* ── Video Modal ── */
.bss-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 99998;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.bss-modal-backdrop.is-open {
    display: flex;
}

.bss-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.bss-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.bss-modal-close:hover { 
	opacity: .7; 
background-color: #ffffff00;
}

.bss-modal-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

.bss-modal-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .bss-testimonials { padding: 52px 0; }
}

@media (max-width: 767px) {
    .bss-testimonials { padding: 40px 0; }
    .bss-testimonials__sub { margin-bottom: 36px; }
}
