/* Can Ebiri - home exactly 3 video cards and large 16:9 player */
#videoCards {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
#videoCards > .media-card:nth-child(n+4){display:none!important}
#videoCards .media-thumb{display:block;width:100%;position:relative}
#videoCards .media-thumb img{width:100%;aspect-ratio:16/9;height:auto!important;object-fit:cover}
/* Homepage modal: iframe defaults to a tiny browser intrinsic 300x150 without this. */
#modal.modal{padding:clamp(12px,3vw,32px)!important;z-index:1000}
#modal #modalBody{width:min(1100px,calc(100vw - 36px))!important;max-width:1100px!important;max-height:calc(100dvh - 82px);margin:auto}
#modal #modalBody iframe,#modal #modalBody video{display:block;width:100%!important;max-width:100%!important;aspect-ratio:16/9;height:auto!important;max-height:calc(100dvh - 82px);border:0;border-radius:14px;background:#000}
#modal #modalBody img{max-width:100%;max-height:80dvh;object-fit:contain}
/* All-video gallery overlay */
#cmsGalleryModal.cms-gallery-modal{padding:clamp(12px,3vw,32px)!important}
#cmsGalleryModal .cms-gallery-modal-content{width:min(1100px,calc(100vw - 36px))!important;max-width:1100px!important}
#cmsGalleryModal .cms-gallery-modal-content iframe,#cmsGalleryModal .cms-gallery-modal-content video{width:100%!important;aspect-ratio:16/9;height:auto!important;max-height:calc(100dvh - 86px);object-fit:contain;border-radius:14px;background:#000}
@media(max-width:560px){#videoCards{gap:8px!important}#videoCards .media-card h3{font-size:11px;line-height:1.35}#modal.modal,#cmsGalleryModal.cms-gallery-modal{padding:12px!important}#modal #modalBody,#cmsGalleryModal .cms-gallery-modal-content{width:100%!important}}

/* Video isimlerini kapak gorselinin ALTINDA goster; URL metni yoktur. */
#videoCards .media-card h3 {
 display:block!important;margin:10px 2px 2px!important;
 font-family:Inter,system-ui,sans-serif!important;
 font-size:14px!important;line-height:1.55!important;font-weight:500!important;
 color:#16345a!important;overflow-wrap:anywhere;
}
.ce-video-card .ce-video-title {
 display:block!important;position:static!important;
 padding:12px 10px!important;margin:0!important;
 font-family:Inter,system-ui,sans-serif!important;
 font-size:14px!important;line-height:1.5!important;
 font-weight:500!important;color:#16345a!important;
 background:transparent!important;text-align:left!important;
 white-space:normal!important;overflow-wrap:anywhere;
}
.ce-video-card .cms-gallery-thumb {display:block!important;}
@media(max-width:560px){#videoCards .media-card h3,.ce-video-card .ce-video-title{font-size:12px!important}}
