.jt-video-page .resource-page-hero-inner{padding-block:42px}
.jt-video-page .resource-page-content{background:#e3e6e8}
.jt-video-gallery{margin:0 0 48px}
.jt-video-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:26px}
.jt-video-heading h2{font-size:clamp(24px,3vw,36px);line-height:1.15;margin:10px 0 0;color:#182129}
.jt-video-channel{display:inline-flex;gap:18px;align-items:center;background:#d60931;color:#fff!important;border-radius:4px;padding:14px 20px;font-weight:800;text-decoration:none;flex-shrink:0}
.jt-video-channel:hover{background:#b80729}
.jt-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.jt-video-card{grid-column:span 1;min-width:0;overflow:hidden;background:#fff;border-top:3px solid #d60931;border-radius:6px;box-shadow:0 5px 20px #17212b0d}
.jt-video-card:nth-child(-n+2){grid-column:span 1}
.jt-video-screen{position:relative;aspect-ratio:16/9;min-height:0;background:#101419}
.jt-video-start{display:block;width:100%;height:100%;position:absolute;inset:0;border:0;padding:0;background:#101419;cursor:pointer}
.jt-video-start img{width:100%;height:100%;object-fit:cover;display:block}
.jt-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:48px;border-radius:10px;color:#fff;background:#d60931;font-size:23px;box-shadow:0 4px 25px #0008;padding-left:3px}
.jt-video-start:hover .jt-video-play{background:#f00036}
.jt-video-duration{position:absolute;right:12px;bottom:12px;background:#080b10e8;color:white;padding:3px 7px;border-radius:3px;font-size:13px;font-weight:700}
.jt-video-caption{padding:20px}
.jt-video-caption h3{margin:0 0 18px;font-size:clamp(17px,1.5vw,22px);line-height:1.35;color:#182129;overflow-wrap:anywhere}
.jt-video-links{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.jt-video-links a,.jt-video-close{color:#ad072a;font-size:14px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.jt-video-close{border:0;background:none;padding:0;cursor:pointer}
.jt-video-consent{position:absolute;inset:0;overflow:auto;padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;color:#fff;background:#182129}
.jt-video-consent p{font-size:14px;line-height:1.5;margin:0;color:#fff}
.jt-video-consent a{color:#fff;text-decoration:underline}
.jt-video-allow{background:#d60931;color:#fff;border:0;padding:11px 16px;border-radius:4px;font-size:14px;font-weight:800;cursor:pointer;text-align:left;flex-shrink:0}
.jt-video-cancel{border:0;background:none;color:#fff;padding:0;font-size:13px;text-decoration:underline;cursor:pointer;flex-shrink:0}
.jt-video-frame{display:block;width:100%;height:100%;position:absolute;inset:0;border:0;min-height:0}
.jt-video-gallery [hidden]{display:none!important}
.jt-video-gallery :is(button,a):focus-visible{outline:3px solid #ffbd33;outline-offset:4px}
.jt-video-heading .section-kicker{color:#626c73}
.jt-video-gallery .jt-video-allow,.jt-video-gallery .jt-video-cancel{color:#fff!important}
.jt-video-screen:has(.jt-video-consent:not([hidden])){aspect-ratio:auto}
.jt-video-consent{position:relative;min-height:200px}
.jt-video-page .resource-page-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.jt-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jt-video-card,.jt-video-card:nth-child(-n+2){grid-column:span 1}.jt-video-card:last-child{grid-column:span 1}.jt-video-heading{align-items:flex-start;flex-direction:column}.jt-video-consent{padding:15px;justify-content:flex-start}}
@media(max-width:600px){.jt-video-grid{grid-template-columns:minmax(0,1fr);gap:20px}.jt-video-card,.jt-video-card:last-child{grid-column:1}.jt-video-caption{padding:17px}.jt-video-page .resource-page-hero-inner{padding-block:30px}.jt-video-page .resource-page-cards{grid-template-columns:minmax(0,1fr)}.jt-video-channel{font-size:14px}.jt-video-consent{padding:16px}.jt-video-consent p{font-size:13px}}

/* Compact, scoped additional placements; existing product/gallery sizes stay intact. */
.jt-partner-video-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,400px);gap:40px;align-items:center}
.jt-partner-video-copy,.jt-partner-video{min-width:0}
.jt-partner-video .jt-video-gallery{margin:0}
.jt-video-gallery--partner .jt-video-heading,.jt-video-gallery--document .jt-video-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.jt-video-gallery--partner .jt-video-grid,.jt-video-gallery--document .jt-video-grid{grid-template-columns:minmax(0,1fr)}
.jt-video-gallery--partner .jt-video-caption{padding:12px 16px}
.jt-video-gallery--partner .jt-video-caption h3{font-size:17px;margin:0 0 10px}
.jt-footer-videos{padding-block:26px 40px}
.jt-footer-videos .jt-video-gallery{margin:0}
.jt-video-gallery--footer .jt-video-heading{margin:0 0 16px}
.jt-video-gallery--footer .jt-video-heading h2{color:#fff;font-size:20px;margin:0}
.jt-video-gallery--footer .section-kicker,.jt-video-gallery--footer .jt-video-channel{display:none}
.jt-video-gallery--footer .jt-video-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.jt-video-gallery--footer .jt-video-caption{padding:12px}
.jt-video-gallery--footer .jt-video-caption h3{font-size:14px;margin-bottom:12px;color:#182129}
.jt-video-gallery--footer .jt-video-links a,.jt-video-gallery--footer .jt-video-close{font-size:12px;color:#ad072a}
.jt-video-gallery--footer .jt-video-play{width:46px;height:34px;font-size:17px}
.jt-video-gallery--footer .jt-video-duration{font-size:11px;right:7px;bottom:7px}
.jt-video-gallery--footer .jt-video-consent{padding:12px;justify-content:flex-start}
.jt-video-gallery--footer .jt-video-consent p{font-size:13px}
.jt-video-gallery--footer .jt-video-allow{padding:9px;font-size:13px}
.jt-document-category-video{padding-block:24px}
.jt-document-category-video .jt-video-gallery{max-width:640px}
.jt-video-dialog{width:min(680px,94vw);max-width:94vw;max-height:92dvh;padding:16px;border:0;border-radius:8px;background:#182129;color:#fff;overflow:auto;box-sizing:border-box}
.jt-video-dialog::backdrop{background:#000b}
.jt-video-dialog .jt-video-gallery{margin:0}
.jt-video-dialog .jt-video-dialog-dismiss{display:block;margin:0 0 12px auto;border:1px solid #abb3b9;border-radius:4px;background:transparent;color:#fff!important;padding:8px 12px;cursor:pointer}
.jt-video-gallery--expanded .jt-video-card{width:100%}
@media(max-width:1200px){.jt-video-gallery--footer .jt-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.jt-partner-video-layout{grid-template-columns:minmax(0,1fr);gap:24px}.jt-partner-video{width:100%;max-width:400px}}
@media(max-width:600px){.jt-video-gallery--footer .jt-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jt-video-gallery--footer .jt-video-card,.jt-video-gallery--footer .jt-video-card:last-child{grid-column:auto}.jt-footer-videos{padding-block:22px}.jt-video-gallery--footer .jt-video-caption{padding:10px}}
