/* Costa XP — editorial YouTube collections.
   Only posters load on project-open. A player is created after a direct click. */
.cx-video-window .cx-video-case{height:calc(100% - var(--window-bar-height));overflow:auto;padding:clamp(13px,2vw,22px);background:linear-gradient(145deg,#fbfcfa,#edf4f4)}
.cx-video-case-head{padding:0 0 14px}
.cx-video-eyebrow{font:700 10px/1.4 Tahoma,Verdana,sans-serif;letter-spacing:.9px;color:#668993}
.cx-video-case-head h2{font:700 clamp(25px,3vw,36px)/1.2 Tahoma,Verdana,sans-serif;color:#163747;margin:6px 0}
.cx-videos{margin:0;padding:0;color:#173747}
.case-rey .cx-videos{padding:19px 22px 22px;background:#f5f8f7}
.case-rey .case-hero{height:clamp(180px,31vh,280px);display:block}
.cx-videos-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #d4e2e5;margin-bottom:13px}
.cx-videos-header h3{font:700 17px/1.3 Tahoma,Verdana,sans-serif;color:#254454;margin:0}
.cx-videos-header>span{font:700 10px/1.35 monospace;letter-spacing:.9px;color:#728c95;white-space:nowrap}
.cx-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.cx-video-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #d4e0e4;border-radius:7px;overflow:hidden;box-shadow:0 3px 10px #17374c10}
.cx-video-stage{position:relative;width:100%;aspect-ratio:16/9;background:#152e38;overflow:hidden}
.cx-video-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.cx-video-poster{position:absolute;inset:0;width:100%;height:100%;padding:0;background:linear-gradient(135deg,#294c58,#162a35);cursor:pointer;border:0;color:#fff;display:block;overflow:hidden}
.cx-video-poster[hidden]{display:none!important}
.cx-video-poster img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.82)}
.cx-video-poster:hover img,.cx-video-poster:focus-visible img{filter:brightness(.92)}
.cx-video-poster:focus-visible{outline:3px solid #6fd1ff;outline-offset:-3px}
.cx-video-play-symbol{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:66px;height:46px;border-radius:11px;background:#da2b27;display:flex;align-items:center;justify-content:center;padding-left:3px;box-shadow:0 4px 16px #0006;font:700 22px Arial,sans-serif}
.cx-video-watch{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);background:#0c2738cb;color:#fff;border-radius:4px;padding:6px 8px;font:700 11px Tahoma,Verdana,sans-serif}
.cx-video-card-details{padding:11px 12px 12px;display:flex;align-items:flex-start;flex-direction:column;gap:6px;min-height:68px}
.cx-video-title{font:700 12px/1.35 Tahoma,Verdana,sans-serif;color:#244552}
.cx-video-card-details a{color:#1a6993;font:700 10px/1.3 Tahoma,Verdana,sans-serif;text-decoration:underline;text-underline-offset:2px}
.cx-video-embed-note{font:11px/1.5 Tahoma,Verdana,sans-serif;color:#6d838c;padding:15px 0 0;margin:0}
.cx-video-window .window-body a:focus-visible{outline:2px solid #2871a2;outline-offset:3px}
@media(max-width:800px){
 .cx-video-grid{grid-template-columns:1fr;gap:12px}
 .cx-video-window .cx-video-case{padding:13px}
 .case-rey .cx-videos{padding:15px 12px 19px}
 .cx-videos-header h3{font-size:16px}
 .cx-video-play-symbol{width:57px;height:40px;font-size:19px}
 .cx-video-card-details{min-height:59px}
}
