.ayursh-videos{margin:32px 0;color:#263b38}.ayursh-videos[hidden],.ayursh-videos [hidden]{display:none!important}.ayursh-videos,.ayursh-videos *{box-sizing:border-box}
.ayursh-video-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:24px}.ayursh-video-card{min-width:0;overflow-wrap:anywhere;background:#fff;border:1px solid #e4eae4;border-radius:12px;overflow:hidden;padding:0 0 18px}.ayursh-video-card>h3,.ayursh-video-card>p,.ayursh-video-card>.ayursh-video-purchase{margin-left:14px;margin-right:14px}.ayursh-video-card h3{font-size:19px;line-height:1.4;margin-top:14px;margin-bottom:8px}.ayursh-video-card p{line-height:1.5;margin-top:8px;margin-bottom:8px}.ayursh-video-meta{font-size:13px;color:#63706a}.ayursh-video-price{font-weight:600;color:#3d873a}
.ayursh-video-media{aspect-ratio:16/9;background:#17241d;position:relative}.ayursh-video-poster{position:relative;width:100%;height:100%;padding:0;border:0;background:linear-gradient(135deg,#336c44,#81bd73);cursor:pointer;display:block}.ayursh-video-poster img{display:block;width:100%;height:100%;object-fit:cover}.ayursh-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:52px;height:52px;display:grid;place-items:center;padding-left:3px;background:#193322bb;color:white;font-size:24px}.ayursh-video-duration{position:absolute;right:8px;bottom:8px;background:#000b;color:#fff;padding:2px 6px;border-radius:3px;font-size:12px}.ayursh-video-player{display:block;width:100%;height:100%;object-fit:contain;background:#111}
.ayursh-video-purchase,.ayursh-video-more{border:0;border-radius:6px;background:#5eab5a;color:#fff;padding:10px 16px;min-height:44px;font:inherit;cursor:pointer}.ayursh-video-more{margin-top:20px}.ayursh-videos button:disabled{opacity:.65}.ayursh-videos button:focus-visible{outline:2px solid #33773c;outline-offset:3px}.ayursh-video-message{line-height:1.5;margin-top:16px}.ayursh-video-description{font-size:14px}
@media(max-width:580px){.ayursh-video-list{grid-template-columns:minmax(0,1fr)}.ayursh-video-card h3{font-size:18px}}

.ayursh-video-details{box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce8dc;border-radius:18px;color:#263b38;background:#fff;box-shadow:0 20px 70px #142e2540;overflow:auto;font-family:inherit}.ayursh-video-details::backdrop{background:#13271ec2}.ayursh-video-details *{box-sizing:border-box}.ayursh-video-details-content{padding:32px}.ayursh-video-close{position:absolute;right:12px;top:10px;border:0;background:#edf5ed;color:#315b35;border-radius:50%;width:36px;height:36px;font-size:26px;cursor:pointer}.ayursh-video-eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;color:#43843e;margin:0 40px 12px 0}.ayursh-video-details h2{font-size:26px;line-height:1.3;margin:0 28px 16px 0;overflow-wrap:anywhere}.ayursh-video-full-description{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.ayursh-video-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 0;margin:16px 0;border-block:1px solid #e4ece4}.ayursh-video-facts dt{font-size:12px;color:#647467}.ayursh-video-facts dd{font-size:15px;font-weight:600;margin:6px 0 0;overflow-wrap:anywhere}.ayursh-video-doctor{padding:18px;background:#f1f7ef;border-radius:10px}.ayursh-video-doctor h3{font-size:18px;margin:0 0 10px}.ayursh-video-doctor p{font-size:14px;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}.ayursh-video-details-footer{padding:20px 32px;border-top:1px solid #e4ece4;background:#fff}.ayursh-video-details-footer .ayursh-video-price{margin:0 0 12px}.ayursh-video-details .ayursh-video-purchase{width:100%}.ayursh-video-details button:focus-visible{outline:2px solid #33773c;outline-offset:3px}@media(max-width:580px){.ayursh-video-details-content{padding:24px 20px}.ayursh-video-details-footer{padding:18px 20px}.ayursh-video-details h2{font-size:22px}.ayursh-video-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ayursh-video-facts>div:last-child{grid-column:1/-1}}

.ayursh-videos,.ayursh-video-details{font-family:'Lato',sans-serif;font-size:16px;line-height:1.5;letter-spacing:normal}.ayursh-videos p,.ayursh-videos button,.ayursh-video-details p,.ayursh-video-details button,.ayursh-video-details dl{font-family:'Lato',sans-serif;letter-spacing:normal}

/* Compact details layout: keep the cover beside the information. */
.ayursh-video-details{width:min(900px,calc(100% - 32px));max-height:calc(100dvh - 32px);grid-template-columns:minmax(0,280px) minmax(0,1fr);align-items:start;overflow:auto}
.ayursh-video-details[open]{display:grid}.ayursh-video-details-cover{position:relative;margin:28px 0 24px 24px;aspect-ratio:4/3;border-radius:10px;background:linear-gradient(135deg,#153b2b,#5eab5a);overflow:hidden;display:grid;place-items:center;min-width:0}
.ayursh-video-details-cover img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#14251b}.ayursh-video-cover-title{color:#fff;font-size:18px;padding:20px;text-align:center;overflow-wrap:anywhere}.ayursh-video-cover-label{position:absolute;left:10px;bottom:10px;border-radius:12px;padding:5px 8px;background:#142b20dc;color:#fff;font-size:11px}.ayursh-video-details-cover .ayursh-video-duration{right:10px;bottom:10px}.ayursh-video-close{z-index:3}
.ayursh-video-details-content{padding:28px 28px 20px;min-width:0}.ayursh-video-details h2{font-size:23px;margin-bottom:10px}.ayursh-video-full-description{line-height:1.5;margin:10px 0}.ayursh-video-facts{padding:12px 0;margin:12px 0;gap:12px}.ayursh-video-doctor{padding:12px}.ayursh-video-doctor h3{font-size:17px;margin-bottom:6px}.ayursh-video-doctor p{font-size:13px;line-height:1.5;margin:4px 0}.ayursh-video-details-footer{grid-column:1/-1;position:static;padding:16px 24px;box-shadow:none}.ayursh-video-details-footer .ayursh-video-price{margin-bottom:10px}
@media(max-width:580px){.ayursh-video-details{width:calc(100% - 24px);grid-template-columns:minmax(0,1fr);max-height:calc(100dvh - 24px)}.ayursh-video-details-cover{width:128px;height:84px;aspect-ratio:auto;margin:18px 20px 0}.ayursh-video-cover-label{display:none}.ayursh-video-details-content{padding:14px 20px}.ayursh-video-details h2{font-size:20px}.ayursh-video-eyebrow{font-size:10px;margin-bottom:6px}.ayursh-video-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 0;margin:10px 0}.ayursh-video-facts>div:last-child{grid-column:auto}.ayursh-video-facts dd{font-size:13px}.ayursh-video-details-footer{padding:12px 20px}.ayursh-video-details-footer .ayursh-video-price{font-size:13px}}

/* Use the doctor profile's existing text hierarchy. */
#page-doctor-detail .ayursh-videos{font-family:'Lato',sans-serif;font-size:16px;line-height:1.5}
#page-doctor-detail .ayursh-videos>h6{font-family:inherit!important;font-size:16px;line-height:1.5;font-weight:600;padding-bottom:5px;margin:0 0 20px}
#page-doctor-detail .ayursh-videos>p,#page-doctor-detail .ayursh-video-card>p{font-family:inherit;font-size:16px;line-height:1.5;letter-spacing:inherit}
#page-doctor-detail .ayursh-video-card h3{font-family:inherit!important;font-size:16px;line-height:1.5;font-weight:600}

/* Clamp long text without reserving empty lines for short content. */
.ayursh-video-list{align-items:start}.ayursh-video-card{display:flex;flex-direction:column}.ayursh-video-media{flex-shrink:0}
.ayursh-video-card>h3,.ayursh-video-card>.ayursh-video-description,.ayursh-video-card>.ayursh-video-subject{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.ayursh-video-card>h3{-webkit-line-clamp:2;max-height:3em;line-height:1.5}
.ayursh-video-card>.ayursh-video-description{-webkit-line-clamp:3;max-height:4.5em;line-height:1.5}
.ayursh-video-card>.ayursh-video-subject{-webkit-line-clamp:2;max-height:3em;line-height:1.5;font-weight:600}
.ayursh-video-card>.ayursh-video-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ayursh-video-card>.ayursh-video-price{margin-top:8px;padding-top:0}
/* Only the description scrolls; purchase and metadata remain in place. */
.ayursh-video-details{height:fit-content;max-height:calc(100dvh - 32px);overflow:hidden;grid-template-rows:auto auto}
.ayursh-video-details-content{height:auto;max-height:calc(100dvh - 164px);min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ayursh-video-details-content>*{flex-shrink:0}.ayursh-video-full-description{flex:0 1 auto!important;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}
.ayursh-video-details h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ayursh-video-facts dd{max-height:4.5em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ayursh-video-doctor p{max-height:3em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ayursh-video-details-footer{position:relative;z-index:2;flex-shrink:0}
@media(max-width:580px){.ayursh-video-details{height:fit-content;max-height:calc(100dvh - 24px);grid-template-rows:102px auto auto}.ayursh-video-details-content{max-height:calc(100dvh - 250px);padding-top:8px;padding-bottom:8px}.ayursh-video-doctor{padding:8px}.ayursh-video-doctor p{font-size:12px}.ayursh-video-facts{margin:8px 0;padding:8px 0}.ayursh-video-details h2{font-size:18px}.ayursh-video-details-footer{padding:10px 20px}}

/* Keep theme paragraph spacing from expanding the video cards. */
.ayursh-videos .ayursh-video-card{gap:0;padding-bottom:14px;align-self:start}
.ayursh-videos .ayursh-video-card>h3{margin:12px 14px 6px!important;padding:0!important;min-height:0!important;height:auto!important}
.ayursh-videos .ayursh-video-card>p{margin:6px 14px!important;padding:0!important;min-height:0!important;height:auto!important;flex:0 0 auto;line-height:1.5!important}
.ayursh-videos .ayursh-video-card>.ayursh-video-price{margin-top:10px!important;margin-bottom:0!important}

/* Keep the payment footer compact despite theme paragraph styles. */
.ayursh-video-details-footer{padding-top:10px;padding-bottom:10px}
.ayursh-video-details-footer>.ayursh-video-price{margin:0 0 8px!important;padding:0!important;min-height:0!important;line-height:1.5}
/* Pointer clicks must not leave a focus ring on the background card. */
.ayursh-video-card:focus:not(:focus-visible),.ayursh-video-poster:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}

/* Doctor profiles show a short horizontal preview; the full page stays a grid. */
.ayursh-video-list.ayursh-video-slider{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px}
.ayursh-video-slider>.ayursh-video-card{flex:0 0 280px;scroll-snap-align:start}
.ayursh-video-slider>.ayursh-video-all{display:flex;align-items:center;justify-content:center;align-self:stretch;min-height:200px;padding:24px;background:#f1f7ef;color:#3d873a;font-weight:600;text-decoration:none}
.ayursh-video-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:20px 0 0;padding:10px 18px;border:1px solid #5eab5a;border-radius:6px;background:#5eab5a;color:#fff!important;font-family:Lato,sans-serif;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none!important}
.ayursh-video-back:hover{background:#478f43;border-color:#478f43}
.ayursh-video-back:focus-visible{outline:2px solid #33773c;outline-offset:3px}
@media(max-width:580px){.ayursh-video-slider>.ayursh-video-card{flex-basis:82%}}

/* Profile carousel: consistent cards and accessible navigation. */
.ayursh-video-slider-controls{display:flex;justify-content:flex-end;gap:8px;margin:0 0 12px}
.ayursh-video-slider-controls[hidden]{display:none}
.ayursh-video-slider-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #dce8dc;border-radius:50%;background:#fff;color:#3d873a;font:28px/1 Arial,sans-serif;cursor:pointer}
.ayursh-video-slider-controls button:hover:not(:disabled){background:#edf5ed;border-color:#5eab5a}
.ayursh-video-slider-controls button:disabled{opacity:.35;cursor:default}
.ayursh-video-list.ayursh-video-slider{align-items:stretch;scrollbar-width:none;scroll-padding-inline:2px;padding:2px 2px 14px}
.ayursh-video-slider::-webkit-scrollbar{display:none}
.ayursh-videos .ayursh-video-slider>.ayursh-video-card{flex:0 0 calc((100% - 40px)/3);align-self:stretch;min-width:0;border-radius:14px;transition:border-color .2s,box-shadow .2s}
.ayursh-video-slider>.ayursh-video-card:hover{border-color:#a3c99d;box-shadow:0 4px 12px #19332212}
.ayursh-video-slider .ayursh-video-media{width:100%;aspect-ratio:16/9}
.ayursh-video-slider .ayursh-video-poster img{object-fit:contain;background:#111}
.ayursh-videos .ayursh-video-slider>.ayursh-video-card>.ayursh-video-price{margin-top:auto!important;padding-top:12px!important}
.ayursh-videos .ayursh-video-slider>.ayursh-video-all{align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:linear-gradient(145deg,#f4f8f1,#e8f3e4);min-height:280px}
.ayursh-video-all-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fff;color:#43843e;font-size:26px}
.ayursh-video-all strong{font-size:18px;line-height:1.4}
.ayursh-video-all>span:last-child{font-size:14px;line-height:1.5;color:#63706a;max-width:190px}
@media(max-width:900px){.ayursh-videos .ayursh-video-slider>.ayursh-video-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:580px){.ayursh-videos .ayursh-video-slider>.ayursh-video-card{flex-basis:86%}.ayursh-video-slider-controls{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.ayursh-video-slider>.ayursh-video-card{transition:none}}

/* Reveal the profile and its initial video cards together. No-JS remains readable. */
.ayursh-profile-loading #page-doctor-detail{visibility:hidden}

/* Keep carousel navigation beside the introduction. */
.ayursh-video-slider-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.ayursh-video-slider-toolbar>p{flex:1;min-width:0;margin:0!important;padding:0!important}
.ayursh-video-slider-toolbar .ayursh-video-slider-controls{flex:0 0 auto;flex-wrap:nowrap;gap:8px;margin:0}
.ayursh-video-slider-controls button{background:#5eab5a;border-color:#5eab5a;color:#fff!important;width:44px;height:44px;min-width:44px;box-shadow:0 2px 6px #19332216}
.ayursh-video-slider-controls button:hover:not(:disabled){background:#478f43;border-color:#478f43}
.ayursh-video-slider-controls button:disabled{opacity:.5}

/* Match the profile's reading alignment on desktop and mobile. */
#page-doctor-detail,#page-doctor-detail .card-block,#page-doctor-detail .doctor_descp,#page-doctor-detail .doctor_descp *,#page-doctor-detail h6,#page-doctor-detail .ayursh-videos,#page-doctor-detail .ayursh-videos h3,#page-doctor-detail .ayursh-videos p{ text-align:left!important }

/* Shared booking history tabs stay on one row and swipe on smaller screens. */
.ayursh-history-tabs{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:8px;padding:10px!important;background:#f5f8f3;border:1px solid #e1e9de;border-radius:10px;overflow-x:auto;scrollbar-width:thin;text-align:left}
.ayursh-history-tabs>a.btn-ctrl-history{flex:0 0 auto;width:auto!important;float:none!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:7px;color:#526058!important;font:400 16px/1.5 Lato,sans-serif!important;text-decoration:none!important;white-space:nowrap}
.ayursh-history-tabs>a.btn-ctrl-history:hover{background:#e7f0e3}
.ayursh-history-tabs>a.btn-ctrl-history[aria-current="page"]{background:#5eab5a;color:#fff!important}
.ayursh-history-tabs>a:focus-visible{outline:2px solid #33773c;outline-offset:-2px}
.ayursh-videos[data-purchases="true"],.ayursh-videos[data-purchases="true"] h3,.ayursh-videos[data-purchases="true"] p{text-align:left!important}

/* Full-size thumbnail preview, kept separate from the purchase/details dialog. */
.ayursh-thumbnail-preview{width:min(1100px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:14px;background:#111;box-shadow:0 20px 70px #0008;overflow:hidden}
.ayursh-thumbnail-preview::backdrop{background:#10231bd9}
.ayursh-thumbnail-preview img{display:block;max-width:100%;max-height:calc(100dvh - 32px);margin:auto;object-fit:contain}
.ayursh-thumbnail-preview-close{position:fixed;top:24px;right:24px;z-index:1;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#263b38;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 10px #0004}
.ayursh-thumbnail-preview-close:focus-visible{outline:3px solid #5eab5a;outline-offset:3px}
@media(max-width:580px){.ayursh-thumbnail-preview{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.ayursh-thumbnail-preview img{max-height:calc(100dvh - 16px)}.ayursh-thumbnail-preview-close{top:16px;right:16px}}

/* A card opens video details. The central control is reserved for the cover preview. */
.ayursh-video-play{display:none!important}
.ayursh-video-preview{position:absolute;z-index:2;top:50%;left:50%;width:56px;height:56px;padding:0;transform:translate(-50%,-50%);border:0;border-radius:50%;background:#193322dc;color:transparent;cursor:pointer;box-shadow:0 2px 10px #0005}
.ayursh-video-preview::after{content:'\25B6';display:block;margin-left:3px;color:#fff;font:24px/56px Arial,sans-serif}
.ayursh-video-preview:hover,.ayursh-video-preview:focus-visible{background:#2f6937}.ayursh-video-preview:focus-visible{outline:3px solid #fff;outline-offset:3px}
.ayursh-video-player-dialog{width:min(1080px,calc(100% - 32px));max-width:none;margin:auto;padding:0;overflow:hidden;border:0;border-radius:14px;background:#000;box-shadow:0 24px 80px #000a}
.ayursh-video-player-dialog::backdrop{background:#10231bdd}.ayursh-video-player-dialog video{display:block;width:100%;max-height:calc(100dvh - 32px);background:#000}
.ayursh-video-player-close{position:fixed;z-index:2;top:24px;right:24px;min-width:44px;min-height:44px;padding:0 14px;border:0;border-radius:22px;background:#fff;color:#263b38;font:600 14px/44px Arial,sans-serif;cursor:pointer;box-shadow:0 2px 10px #0005}
.ayursh-video-details-thumbnail{cursor:zoom-in}
.ayursh-video-details-thumbnail:focus-visible{outline:3px solid #fff;outline-offset:-5px}
@media(max-width:580px){.ayursh-video-player-dialog{width:calc(100% - 16px);border-radius:10px}.ayursh-video-player-dialog video{max-height:calc(100dvh - 16px)}.ayursh-video-player-close{top:16px;right:16px}}
