/* Bay Clinic welcome video (homepage). Self-contained: loads without the store stylesheet.
   A thumbnail with a play button; the video plays in a full-screen popup. */
.bccs-video {
	--bccs-navy: #002E5F; --bccs-navy-dk: #001A36; --bccs-blue: #135387; --bccs-gold: #F9D25A; --bccs-gold-dk: #F0B500;
	--bccs-head: Figtree, "Plus Jakarta Sans", sans-serif;
	margin: 0;
	font-family: "Plus Jakarta Sans", sans-serif; line-height: 1.5;
}
.bccs-video *, .bccs-video *::before, .bccs-video *::after { box-sizing: border-box; }
.bccs-video p { margin: 0; }
.bccs-video [hidden] { display: none !important; }

/* Thumbnail */
.bccs-video button.bccs-video__play { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: var(--bccs-navy-dk); cursor: pointer; box-shadow: 0 22px 44px -24px rgba(0, 26, 54, .6); }
.bccs-video .bccs-video__play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bccs-video .bccs-video__play:hover img, .bccs-video .bccs-video__play:focus-visible img { transform: scale(1.03); }
.bccs-video .bccs-video__play:hover, .bccs-video .bccs-video__play:focus { background: var(--bccs-navy-dk); }
.bccs-video .bccs-video__play:focus-visible { outline: 3px solid var(--bccs-gold); outline-offset: 3px; }
.bccs-video .bccs-video__btn { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--bccs-gold); color: var(--bccs-navy-dk); transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(249, 210, 90, .3), 0 12px 26px rgba(0, 0, 0, .35); transition: transform .2s ease, box-shadow .2s ease; }
.bccs-video .bccs-video__btn svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.bccs-video .bccs-video__play:hover .bccs-video__btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(249, 210, 90, .35), 0 12px 26px rgba(0, 0, 0, .35); }
.bccs-video .bccs-video__time { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 26, 54, .82); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .3px; font-variant-numeric: tabular-nums; }

/* Popup player */
html.bccs-video-open { overflow: hidden; }
.bccs-video dialog.bccs-video__modal { width: min(1200px, 94vw); max-width: none; max-height: none; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.bccs-video dialog.bccs-video__modal::backdrop { background: rgba(0, 16, 34, .9); }
.bccs-video .bccs-video__stage { position: relative; width: min(100%, calc((100vh - 120px) * 16 / 9)); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.bccs-video .bccs-video__player, .bccs-video .bccs-video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.bccs-video button.bccs-video__close { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.bccs-video button.bccs-video__close:hover, .bccs-video button.bccs-video__close:focus { background: rgba(255, 255, 255, .28); color: #fff; }
.bccs-video .bccs-video__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bccs-video .bccs-video__end { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; border-radius: 10px; background: rgba(0, 26, 54, .94); color: #fff; text-align: center; }
.bccs-video .bccs-video__end-title { font-family: var(--bccs-head); font-size: 30px; font-weight: 700; }
.bccs-video .bccs-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; border: 2px solid transparent; border-radius: 3px; background: var(--bccs-gold); color: #000; font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.bccs-video .bccs-btn:hover, .bccs-video .bccs-btn:focus { background: var(--bccs-gold-dk); color: #000; }
.bccs-video .bccs-video__end-phone { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bccs-video button.bccs-video__replay { margin: 0; padding: 4px 8px; border: 0; background: none; color: rgba(255, 255, 255, .75); font-size: 14px; text-decoration: underline; cursor: pointer; }
.bccs-video button.bccs-video__replay:hover, .bccs-video button.bccs-video__replay:focus { background: none; color: #fff; }

@media (max-width: 1024px) {
	.bccs.bccs-video { margin-bottom: 28px !important; } /* tablet/phone: room before the paragraph below */
}
@media (max-width: 767px) {
	.bccs-video .bccs-video__btn { width: 62px; height: 62px; }
	.bccs-video .bccs-video__btn svg { width: 26px; height: 26px; }
	.bccs-video dialog.bccs-video__modal { width: 100vw; }
	.bccs-video .bccs-video__stage { border-radius: 0; }
	.bccs-video .bccs-video__player, .bccs-video .bccs-video__player iframe, .bccs-video .bccs-video__end { border-radius: 0; }
	.bccs-video button.bccs-video__close { right: 10px; }
	.bccs-video .bccs-video__end-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .bccs-video * { transition: none !important; } }
