/* Fixed hero geometry is shared by the original poster and deferred Vimeo. */
#home .mainVideo:has(.ps-video-slot){height:auto!important;margin-bottom:0!important;}
#home .ps-video-slot{position:relative!important;width:100%;height:auto!important;aspect-ratio:16/9;padding-top:0!important;overflow:hidden;background:#1e2925;}
#home .ps-video-slot::before{pointer-events:none!important;}
#home .ps-video-slot iframe.ps-video-frame{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:2;}
#home .ps-video-slot iframe.ps-video-frame[hidden]{display:none!important;}
#home .ps-video-facade{position:absolute;inset:0;z-index:3;}
#home .ps-video-poster{display:block;width:100%;height:100%;object-fit:cover;}
#home .ps-video-play{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;padding:24px;border:0;background:rgba(16,30,24,.25);color:#fff;font:inherit;font-size:clamp(17px,2.2vw,28px);text-shadow:0 2px 8px #132019;cursor:pointer;}
#home .ps-video-play>span{display:grid;place-items:center;width:76px;height:76px;border:2px solid #fff;border-radius:50%;font-size:30px;background:rgba(19,37,27,.75);text-indent:4px;}
#home .ps-video-play strong{max-width:90%;line-height:1.5;}
#home .ps-video-play[hidden],#home .ps-video-controls[hidden]{display:none!important;}
#home .ps-video-slot[data-ps-video-state="loading"] .ps-video-facade,#home .ps-video-slot[data-ps-video-state="active"] .ps-video-facade{pointer-events:none;z-index:1;}
#home .ps-video-controls{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;z-index:4;}
#home .ps-video-controls button,#home .ps-video-direct,#home .ps-video-noscript{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box;padding:9px 14px;border:1px solid #deded4;border-radius:6px;color:#fff!important;background:rgba(20,36,28,.94);font:inherit;font-weight:700;font-size:14px;line-height:1.4;text-decoration:none;cursor:pointer;}
#home .ps-video-noscript{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;}
#home .ps-video-status{position:absolute;left:16px;right:16px;top:16px;z-index:4;width:fit-content;max-width:calc(100% - 32px);padding:8px 12px;background:rgba(20,36,28,.94);color:#fff;font-size:14px;line-height:1.5;}
#home .ps-video-status:empty{display:none;}
#home .ps-video-slot :is(button,a):focus-visible{outline:3px solid #f1cc8c;outline-offset:3px;}
@supports not (aspect-ratio:16/9){#home .ps-video-slot{height:0!important;padding-top:56.25%!important;}}
@media(max-width:600px){#home .ps-video-play{gap:10px;padding:16px;}#home .ps-video-play>span{width:54px;height:54px;font-size:24px;}#home .ps-video-controls{left:8px;right:8px;bottom:8px;gap:5px;}#home .ps-video-controls button,#home .ps-video-direct{padding:7px 9px;font-size:12px;}}

/* Reserve the final viewport before Slick's wide track and clones are built. */
#home .mainVisual__slide{width:100%;aspect-ratio:16/9;height:auto!important;min-height:0!important;overflow:hidden;}
#home .mainVisual__fixed,#home .mainVisual__fixed .slick-list,#home .mainVisual__fixed .slick-track{height:100%!important;}
#home .mainVisual__fixed .mainVisual__move{height:100%!important;min-height:0!important;}
#home .mainVisual__fixed .videoInner{height:100%!important;}
#home .mainVisual__fixed:not(.slick-initialized){position:absolute;inset:0;}
#home .mainVisual__fixed:not(.slick-initialized) .mainVideo{display:block!important;width:100%!important;}
#home .mainVisual__fixed:not(.slick-initialized) .move01{display:none!important;}
#home .mainVisual__slide .slick-slide[aria-hidden="true"]{pointer-events:none;}
.ps-hd-motion video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#1e2925;}
.ps-hd-motion .ps-hd-play{min-height:44px;padding:10px 16px;cursor:pointer;}
@media(max-width:1201px){#home .mainVisual__move.mainVideo{display:block!important;}#home .mainVisual__fixed>.move01{display:none!important;}}

/* Reserve the first slide while below-fold carousel work waits for the viewport. */
.mainTime__fixed:not(.slick-initialized)>div:not(:first-child),
.mainSubject__fixed:not(.slick-initialized)>div:not(:first-child),
.mainClinic__fixed:not(.slick-initialized)>div:not(:first-child){display:none;}

/* Keep the original 16:9 viewport; put controls in normal flow below it. */
#home>.ps-video-controls.ps-video-toolbar{position:relative;inset:auto;display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:8px;box-sizing:border-box;margin:0;padding:8px 16px;background:#f8f7f1;border-bottom:1px solid #deded4;z-index:1;}
#home .ps-video-slot .ps-video-controls{display:none!important;}
#home>.ps-video-toolbar :is(button,a):focus-visible{outline:3px solid #a36c23;outline-offset:2px;}
#home>.ps-video-toolbar button:disabled{opacity:.55;cursor:default;}
@media(max-width:600px){#home>.ps-video-controls.ps-video-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px 8px;}#home>.ps-video-toolbar button,#home>.ps-video-toolbar .ps-video-direct{min-width:0;min-height:44px;padding:6px 5px;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:normal;word-break:normal;}}

/* Mobile keeps the player and its native controls without the extra toolbar. */
@media(max-width:1080px){#home>.ps-video-controls.ps-video-toolbar{display:none!important;}}
