/* Homepage only: keep the rest of the site header unchanged. */
header .head.dh-has-home-videos{grid-template-columns:180px 220px minmax(270px,1fr) auto;gap:14px}
header .dh-has-home-videos>.brand{grid-column:1;grid-row:1}
header .dh-has-home-videos>.dh-home-videos{grid-column:2;grid-row:1}
header .dh-has-home-videos>.tools{grid-column:3;grid-row:1}
header .dh-has-home-videos>.toplinks{grid-column:4;grid-row:1}
.dh-home-videos{min-width:0;width:100%;color:#193a55}
.dh-hv-viewport{overflow:hidden;touch-action:pan-y;border-radius:10px;background:#f3f7fa;border:1px solid #dfe8f0}
.dh-hv-card{display:flex;align-items:center;gap:10px;min-height:76px;padding:7px;text-decoration:none;color:inherit;text-align:left}
.dh-hv-thumb{position:relative;display:block;flex:0 0 82px;width:82px;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#173b50}
.dh-hv-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.dh-hv-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#e52626;color:#fff;border-radius:6px;padding:4px 7px;font:11px Arial}
.dh-hv-copy{display:block;min-width:0;line-height:1.35}
.dh-hv-copy small{display:block;color:#496b86;font-size:10px;margin-bottom:3px}
.dh-hv-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4;word-break:keep-all}
.dh-hv-region{display:block;font-size:10px;color:#496b86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.dh-hv-controls{display:flex;align-items:center;justify-content:flex-end;gap:2px;margin-top:2px;height:26px}
.dh-hv-controls[hidden]{display:none}
.dh-hv-controls button{display:grid;place-items:center;border:0;background:transparent;color:#385973;cursor:pointer;width:28px;height:26px;padding:0;font-size:20px;border-radius:5px}
.dh-hv-controls button[data-hv=pause]{font-size:11px;margin-left:5px}
.dh-hv-count{font:10px Arial,sans-serif;color:#587187;min-width:35px;text-align:center}
.dh-hv-controls button:hover{background:#eaf1f7}
.dh-home-videos a:focus-visible,.dh-home-videos button:focus-visible,.dh-hv-dialog a:focus-visible,.dh-hv-dialog button:focus-visible{outline:3px solid #2463d4;outline-offset:2px}
.dh-hv-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.dh-hv-overlay{position:fixed;inset:0;z-index:10000;background:#071827c9;display:flex;align-items:center;justify-content:center;padding:20px}
.dh-hv-dialog{width:min(880px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:white;border-radius:16px;padding:20px;color:#193a55;box-shadow:0 20px 80px #0006}
.dh-hv-dialog-head{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:15px}
.dh-hv-dialog h2{font-size:20px;line-height:1.5;margin:0;word-break:keep-all}
.dh-hv-close{border:1px solid #d9e3ec;border-radius:8px;background:white;flex-shrink:0;width:44px;height:44px;font-size:25px;color:#193a55;cursor:pointer}
.dh-hv-player{aspect-ratio:16/9;background:#102a3a}
.dh-hv-player iframe{display:block;width:100%;height:100%;border:0}
.dh-hv-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:18px}
.dh-hv-product{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:8px;background:#20475e;color:white!important;text-decoration:none;font-size:14px;font-weight:700}
.dh-hv-youtube{font-size:13px;color:#496b86;text-decoration:underline}
@media(min-width:1101px) and (max-width:1500px){header .head.dh-has-home-videos{grid-template-columns:180px minmax(200px,1fr) auto;gap:14px 20px}header .dh-has-home-videos>.toplinks{grid-column:3;grid-row:1}header .dh-has-home-videos>.tools{grid-column:1/-1;grid-row:2}header .dh-has-home-videos>.dh-home-videos{max-width:300px}}
@media(min-width:701px) and (max-width:1100px){header .head.dh-has-home-videos{grid-template-columns:180px minmax(0,1fr);gap:15px 20px}header .dh-has-home-videos>.dh-home-videos{max-width:340px;justify-self:end}header .dh-has-home-videos>.tools{grid-column:1/-1;grid-row:2}header .dh-has-home-videos>.toplinks{grid-column:1/-1;grid-row:3;justify-self:end}}
@media(max-width:700px){header .head.dh-has-home-videos{grid-template-columns:minmax(0,1fr);gap:16px;padding-top:20px;padding-bottom:18px}header .dh-has-home-videos>.dh-home-videos{grid-column:1;grid-row:2}header .dh-has-home-videos>.tools{grid-column:1;grid-row:3}header .dh-has-home-videos>.toplinks{grid-column:1;grid-row:4}.dh-hv-card{padding:9px;min-height:80px;gap:13px}.dh-hv-thumb{flex-basis:110px;width:110px}.dh-hv-copy strong{font-size:13px}.dh-hv-copy small,.dh-hv-region{font-size:11px}.dh-hv-controls{height:34px;margin-top:0}.dh-hv-controls button{width:40px;height:34px}.dh-hv-overlay{padding:12px}.dh-hv-dialog{padding:14px;max-height:calc(100dvh - 24px)}.dh-hv-dialog h2{font-size:17px}.dh-hv-dialog-foot{align-items:stretch;flex-direction:column}.dh-hv-youtube{text-align:center;padding:6px}}
@media print{.dh-home-videos,.dh-hv-overlay{display:none!important}}

/* The visible desktop header is created by site-common.js. */
@media(min-width:1200px){
 .dh-site header>.dh-desktop-head.dh-hv-desktop{display:grid;grid-template-columns:170px 210px minmax(0,1fr);gap:16px;padding-top:20px;padding-bottom:20px}
 .dh-hv-desktop>.dh-desktop-logo{width:170px;grid-column:1}
 .dh-hv-desktop>.dh-home-videos{grid-column:2;min-width:0}
 .dh-hv-desktop>.dh-desktop-actions{grid-column:3;min-width:0;justify-content:flex-end;gap:10px}
 .dh-hv-desktop .dh-consult{padding:14px 12px;font-size:12px}
 .dh-hv-desktop .dh-search{width:165px;flex:0 1 165px;min-width:120px}
 .dh-hv-desktop .dh-search input{width:100%!important;flex:1}
 .dh-hv-desktop .dh-search button{flex:0 0 25px}
 .dh-hv-desktop .dh-menu{gap:3px}
 .dh-hv-desktop .dh-menu a{min-width:53px;font-size:10px}
}
@media(min-width:701px) and (max-width:1199px){
 .dh-site header>.dh-desktop-head.dh-hv-desktop{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px 24px;padding-top:20px;padding-bottom:20px}
 .dh-hv-desktop>.dh-desktop-logo{grid-column:1;grid-row:1}
 .dh-hv-desktop>.dh-home-videos{grid-column:2;grid-row:1;max-width:340px;justify-self:end}
 .dh-hv-desktop>.dh-desktop-actions{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-end;margin-left:0;gap:12px}
}

/* Compact logo-height card; the product name already identifies the destination. */
.dh-home-videos .dh-hv-region{display:none}
@media(min-width:701px){
 .dh-hv-desktop>.dh-home-videos{height:60px;position:relative;align-self:center}
 .dh-hv-desktop .dh-hv-viewport{height:60px;box-sizing:border-box;border-radius:8px}
 .dh-hv-desktop .dh-hv-card{height:58px;min-height:0;padding:5px 6px;gap:8px;box-sizing:border-box}
 .dh-hv-desktop .dh-hv-thumb{flex-basis:76px;width:76px;height:43px}
 .dh-hv-desktop .dh-hv-copy{flex:1;align-self:center;padding-bottom:18px}
 .dh-hv-desktop .dh-hv-copy small{display:none}
 .dh-hv-desktop .dh-hv-copy strong{font-size:11px;line-height:14px;-webkit-line-clamp:2}
 .dh-hv-desktop .dh-hv-controls{position:absolute;right:5px;bottom:3px;height:20px;margin:0;gap:0}
 .dh-hv-desktop .dh-hv-controls button{width:24px;height:20px;font-size:17px}
 .dh-hv-desktop .dh-hv-controls button[data-hv=pause]{font-size:10px;margin-left:2px}
 .dh-hv-desktop .dh-hv-count{min-width:30px;font-size:9px}
}

/* Match the footer navy for a stronger homepage video accent. */
.dh-home-videos .dh-hv-viewport{background:#142e48;border-color:#142e48}
.dh-home-videos .dh-hv-card,.dh-home-videos .dh-hv-copy strong{color:#FFFFFF}
.dh-home-videos .dh-hv-copy small,.dh-home-videos .dh-hv-count,.dh-home-videos .dh-hv-controls button{color:#D4DFE9}
.dh-home-videos .dh-hv-controls button:hover{background:#2B4C68;color:#FFFFFF}
.dh-home-videos a:focus-visible,.dh-home-videos button:focus-visible{outline-color:#F6CA85;outline-offset:-2px}

/* Restore the compact video next to the logo while retaining the course menu. */
.dh-site header.dh-responsive-header>.dh-desktop-head.dh-hv-desktop{display:grid;grid-template-columns:170px 210px minmax(140px,1fr) auto;gap:14px;align-items:center;padding:20px 24px}
.dh-responsive-header .dh-hv-desktop>.dh-desktop-logo{grid-column:1;grid-row:1;width:170px}
.dh-responsive-header .dh-hv-desktop>.dh-home-videos{grid-column:2;grid-row:1;width:210px;max-width:210px;justify-self:start}
.dh-responsive-header .dh-hv-desktop>.dh-search{grid-column:3;grid-row:1;width:100%;min-width:0;max-width:none}
.dh-responsive-header .dh-hv-desktop>.dh-desktop-actions{grid-column:4;grid-row:1;gap:10px;min-width:0}
.dh-responsive-header .dh-hv-desktop .dh-menu a{min-width:50px;font-size:10px}
.dh-responsive-header .dh-hv-desktop .dh-menu{gap:2px}
.dh-responsive-header .dh-hv-desktop .dh-consult{padding:14px 10px;font-size:11px}
@media(min-width:1101px) and (max-width:1250px){
 .dh-site header.dh-responsive-header>.dh-desktop-head.dh-hv-desktop{grid-template-columns:170px 210px minmax(140px,1fr)}
 .dh-responsive-header .dh-hv-desktop>.dh-desktop-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end;width:100%}
}
@media(max-width:1100px){
 .dh-site header.dh-responsive-header>.dh-desktop-head.dh-hv-desktop{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px 20px}
 .dh-responsive-header .dh-hv-desktop>.dh-desktop-logo{width:160px;grid-column:1;grid-row:1}
 .dh-responsive-header .dh-hv-desktop>.dh-home-videos{grid-column:1/-1;grid-row:2;width:100%;max-width:340px;justify-self:start}
 .dh-responsive-header .dh-hv-desktop>.dh-search,.dh-responsive-header .dh-hv-desktop>.dh-desktop-actions{grid-column:1/-1;grid-row:3;width:100%;max-width:none}
 .dh-responsive-header .dh-hv-desktop .dh-menu a{font-size:15px;min-width:0}
 .dh-responsive-header .dh-hv-desktop .dh-consult{font-size:14px}
}
@media(max-width:700px){
 .dh-site header.dh-responsive-header>.dh-desktop-head.dh-hv-desktop{padding:16px 14px}
 .dh-hv-desktop>.dh-home-videos{height:74px;position:relative}
 .dh-hv-desktop .dh-hv-viewport{height:74px}
 .dh-hv-desktop .dh-hv-card{height:72px;min-height:0;padding:6px 8px;gap:10px}
 .dh-hv-desktop .dh-hv-thumb{width:90px;flex-basis:90px;height:51px}
 .dh-hv-desktop .dh-hv-copy{padding-bottom:22px}
 .dh-hv-desktop .dh-hv-copy small{display:none}
 .dh-hv-desktop .dh-hv-copy strong{font-size:12px;line-height:16px}
 .dh-hv-desktop .dh-hv-controls{position:absolute;right:6px;bottom:1px;margin:0;height:28px}
 .dh-hv-desktop .dh-hv-controls button{width:36px;height:28px}
}
