/* Smart Choice 365 embedded YouTube showcase. No hosted video files. */
#scHomeVideoGuides{margin:30px 0 28px;padding:22px;border:1px solid #e9d8a9;border-radius:20px;background:linear-gradient(135deg,#fffef8,#fff);box-shadow:0 8px 24px #20304b0a}
#scHomeVideoGuides .sc-home-head{align-items:flex-start}
#scHomeVideoGuides h2{margin:4px 0 7px;font-size:clamp(20px,2.8vw,27px)}
.sc-video-kicker{color:#996c13;font-weight:850;font-size:11px;letter-spacing:.08em}
.sc-video-subtitle,.sc-video-note{font-size:12px;color:#66758e;line-height:1.6;margin:0}
.sc-video-channel{display:inline-block;white-space:nowrap;border:1px solid #e1bd5e;background:#fff6d8;color:#74510d;border-radius:10px;padding:9px 13px;font-weight:800;text-decoration:none;font-size:12px}
.sc-video-filters{display:grid;gap:9px;margin:18px 0}
.sc-video-tabgroup{display:flex;flex-wrap:wrap;gap:8px}
.sc-video-tabgroup button{cursor:pointer;border:1px solid #d8e1ec;border-radius:10px;background:#fff;color:#273a56;padding:9px 13px;font-size:12px;font-weight:800}
.sc-video-tabgroup button.active{background:#ffcc4d;border-color:#e2ac32;color:#12233d}
.sc-video-tabgroup button:focus-visible,.sc-video-thumb:focus-visible,.sc-video-more:focus-visible{outline:3px solid #285bd1;outline-offset:3px}
.sc-video-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.sc-video-card{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e1e7ee;border-radius:14px;padding:12px;min-width:0;min-height:100%}
.sc-video-card:hover{border-color:#e3bb53;box-shadow:0 7px 18px #1a2b4413}
.sc-video-thumb,.sc-video-player{position:relative;display:flex;align-items:center;justify-content:center;background:#122742;border:0;border-radius:10px;overflow:hidden;width:100%;aspect-ratio:16/9}
button.sc-video-thumb{cursor:pointer;padding:0}
.sc-video-thumb[data-format="shorts"],.sc-video-player[data-format="shorts"]{aspect-ratio:9/16;width:min(100%,285px);margin:0 auto}
.sc-video-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sc-video-play{position:relative;z-index:1;display:grid;place-items:center;width:47px;height:47px;border-radius:50%;background:#ffcc4d;color:#152742;border:2px solid #fff8;box-shadow:0 4px 12px #0006;font-size:20px}
.sc-video-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sc-video-meta{display:flex;flex-wrap:wrap;gap:5px}
.sc-video-label{display:inline-flex;font-size:10px;font-weight:800;padding:4px 6px;background:#fff6d9;color:#76500c;border:1px solid #e9d49c;border-radius:7px}
.sc-video-label.secondary{background:#f0f3f8;border-color:#e0e6ed;color:#56667c}
.sc-video-card h3{color:#172942;font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.sc-video-actions{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.sc-video-guide{display:block;text-decoration:none;text-align:center;padding:9px 7px;border-radius:9px;background:#ffcc4d;color:#10243f;font-weight:800;font-size:11px}
.sc-video-reset-btn{display:block;width:100%;border:1px solid #d7bd76;border-radius:8px;padding:8px 9px;background:#f8faff;color:#294262;font-size:11px;font-weight:800;cursor:pointer}
.sc-video-reset-btn[hidden]{display:none!important}
.sc-video-reset-btn:hover{background:#eff4fd}
.sc-video-reset-btn:focus-visible{outline:3px solid #285bd1;outline-offset:3px}
.sc-video-watch{display:block;text-decoration:none;text-align:center;font-size:11px;color:#45628b}
.sc-video-bottom{margin-top:15px;display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.sc-video-more{border:1px solid #d9b653;background:#fff6d9;color:#6a4b0e;border-radius:10px;padding:10px 15px;font-size:12px;font-weight:800;cursor:pointer}
.sc-video-more[hidden]{display:none!important}
.sc-video-empty{grid-column:1/-1;padding:22px;border:1px dashed #cdd9e8;border-radius:13px;color:#5f7088;background:#fff;font-size:13px}
@media(max-width:1050px){.sc-video-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.sc-video-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#scHomeVideoGuides{padding:15px}.sc-video-channel{white-space:normal}}
@media(max-width:500px){.sc-video-cards{grid-template-columns:minmax(0,1fr)}.sc-video-card{padding:13px}.sc-video-tabgroup button{padding:8px 10px;font-size:11px}.sc-video-thumb[data-format="shorts"],.sc-video-player[data-format="shorts"]{width:min(100%,290px)}}

/* Full-screen Shorts expansion: portrait-friendly on desktop and phones.
   The YouTube iframe retains its official controls and notices. */
.sc-video-fullscreen-btn{display:block;width:100%;cursor:pointer;border:1px solid #d6ad3b;background:#fff8df;color:#573b08;border-radius:9px;padding:11px 9px;font-size:12px;font-weight:850}
.sc-video-fullscreen-btn:hover{background:#ffedb8}
.sc-video-embed-expand{position:absolute;z-index:4;right:8px;top:8px;display:grid;place-items:center;width:35px;height:35px;border:1px solid #ffffff8c;border-radius:8px;cursor:pointer;background:#111d35dc;color:#fff;font-size:23px;line-height:1}
.sc-video-embed-expand:hover{background:#172d54}
.sc-video-fullscreen-btn:focus-visible,.sc-video-embed-expand:focus-visible,.sc-video-lightbox-close:focus-visible{outline:3px solid #3c75ff;outline-offset:3px}
body.sc-video-modal-open{overflow:hidden}
.sc-video-lightbox{position:fixed;inset:0;z-index:999999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:rgba(8,14,28,.98);color:white;box-sizing:border-box;overflow:hidden}
.sc-video-lightbox:fullscreen{background:#080e1c}
.sc-video-lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(100%,980px);min-height:44px}
.sc-video-lightbox-title{font-size:13px;font-weight:750;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sc-video-lightbox-close{flex:none;border:1px solid #ffd873;border-radius:9px;padding:10px 13px;background:#ffcc4d;color:#182942;font-size:13px;font-weight:900;cursor:pointer}
.sc-video-lightbox-stage{position:relative;width:min(calc((100dvh - 150px)*9/16),min(95vw,560px));height:min(calc(100dvh - 150px),calc(95vw*16/9));background:#000;border-radius:12px;overflow:hidden;flex:none}
.sc-video-lightbox-stage[data-format="video"]{width:min(95vw,1100px);height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 155px)}
.sc-video-lightbox-stage iframe{display:block;width:100%;height:100%;border:0}
.sc-video-lightbox-bottom{width:min(100%,980px);display:flex;justify-content:center;align-items:center;min-height:20px}
.sc-video-lightbox-bottom a{color:#ffdf79;font-size:12px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){
 .sc-video-lightbox{gap:7px}
 .sc-video-lightbox-top{width:100%}
 .sc-video-lightbox-stage{width:min(100%,calc((100dvh - 140px)*9/16));height:min(calc(100dvh - 140px),calc(100vw*16/9))}
 .sc-video-lightbox-stage[data-format="video"]{width:100%;height:auto;aspect-ratio:16/9}
}
@supports not (height:100dvh){
 .sc-video-lightbox-stage{width:min(calc((100vh - 150px)*9/16),95vw);height:min(calc(100vh - 150px),calc(95vw*16/9))}
}
