/* video-player-large-v1.css */
/* 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}}

/* Dikey YouTube Shorts ve yatay videolar tek listede; oynatici acilista uyum saglar. */
#modal.ce-portrait-player #modalBody,
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content {
 width:min(420px,calc(100vw - 32px))!important;
 max-width:420px!important;
 margin-inline:auto!important;
}
#modal.ce-portrait-player #modalBody iframe,
#modal.ce-portrait-player #modalBody video,
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content iframe,
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content video {
 display:block!important;
 width:auto!important;
 max-width:100%!important;
 height:min(74dvh,calc((100vw - 32px)*16/9))!important;
 aspect-ratio:9/16!important;
 margin-inline:auto!important;
 border:0!important;
 object-fit:contain!important;
 background:#000!important;
}
@media(max-width:560px){
 #modal.ce-portrait-player #modalBody,
 #cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content{width:min(100%,380px)!important}
}

/* 2026-11-21: Dikey oynaticinin dis kutusu da 9:16 olmali. */
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content,
#modal.ce-portrait-player #modalBody {
 box-sizing:border-box!important;
 width:min(380px, calc((100dvh - 125px)*9/16), calc(100vw - 32px))!important;
 max-width:calc(100vw - 32px)!important;
 max-height:calc(100dvh - 65px)!important;
 padding:0!important;
 margin:0 auto!important;
 background:transparent!important;
}
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content iframe,
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content video,
#modal.ce-portrait-player #modalBody iframe,
#modal.ce-portrait-player #modalBody video {
 box-sizing:border-box!important;
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 height:auto!important;
 max-height:calc(100dvh - 125px)!important;
 aspect-ratio:9/16!important;
 margin:0 auto!important;
 object-fit:contain!important;
 border-radius:12px!important;
}
#cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content p {max-width:100%;text-align:center;margin:8px 0 0;line-height:1.3;font-size:13px}

@media screen and (max-width:767px){
 #cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content,
 #modal.ce-portrait-player #modalBody {
  width:min(100%,380px,calc(56.25vh - 72px))!important;
  width:min(100%,380px,calc(56.25dvh - 72px))!important;
  max-width:100%!important;height:auto!important;padding:0!important;background:transparent!important;
 }
 #cmsGalleryModal.ce-portrait-player .cms-gallery-modal-content :is(iframe,video),
 #modal.ce-portrait-player #modalBody :is(iframe,video){
  display:block!important;width:100%!important;height:auto!important;aspect-ratio:9/16!important;
  max-height:none!important;min-height:0!important;margin:0 auto!important;object-fit:contain!important;
 }
}


/* home-mobile-video-cards-v1.css */
/* Ana sayfa mobil: Video Galeri, Foto Galeri ile ayni 3 sutun */
@media (max-width: 767px) {
  #anasayfa .gallery-panel.videos #videoCards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
  }
  #anasayfa .gallery-panel.videos #videoCards > .media-card {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }
  #anasayfa .gallery-panel.videos #videoCards .media-thumb {
    display: block;
    width: 100%;
    min-width: 0;
  }
  #anasayfa .gallery-panel.videos #videoCards .media-thumb img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 9px;
  }
  #anasayfa .gallery-panel.videos #videoCards .media-card h3 {
    font-size: 12px !important;
    line-height: 1.3;
    margin-top: 6px !important;
    overflow-wrap: anywhere;
  }
}


/* video-mobile-desktop-parity-v1.css */
/* Desktop video thumbnail rendering rules applied to mobile, without changing YouTube URLs. */
@media (max-width: 767px) {
  #anasayfa #videoCards .media-thumb,
  #anasayfa #shortsCards .media-thumb {
    position:relative!important;display:block!important;width:100%!important;
    height:auto!important;aspect-ratio:16 / 9!important;overflow:hidden!important;
    visibility:visible!important;opacity:1!important;
  }
  #anasayfa #shortsCards .media-thumb {aspect-ratio:9 / 12!important;}
  #anasayfa #videoCards .media-thumb > img,
  #anasayfa #shortsCards .media-thumb > img {
    position:absolute!important;inset:0!important;display:block!important;
    width:100%!important;height:100%!important;max-width:100%!important;
    object-fit:cover!important;visibility:visible!important;opacity:1!important;
  }
  .ce-video-page .ce-video-grid .ce-video-card .cms-gallery-thumb {
    position:relative!important;display:block!important;flex:0 0 auto!important;
    width:100%!important;height:auto!important;aspect-ratio:16 / 9!important;
    overflow:hidden!important;visibility:visible!important;opacity:1!important;
  }
  .ce-video-page .ce-video-grid.ce-short-grid .ce-video-card .cms-gallery-thumb {
    aspect-ratio:9 / 16!important;
  }
  .ce-video-page .ce-video-grid .ce-video-card .cms-gallery-thumb > img {
    position:absolute!important;inset:0!important;display:block!important;
    width:100%!important;height:100%!important;max-width:100%!important;
    object-fit:cover!important;visibility:visible!important;opacity:1!important;
  }
  #anasayfa #videoCards .media-thumb .play,
  .ce-video-page .ce-video-card .cms-gallery-play {
    z-index:2!important;
  }
}


/* ce-survey-v1.css */
.ce-survey{box-sizing:border-box;margin:22px auto 30px!important;padding:21px 24px 18px!important;background:linear-gradient(125deg,#fff 0%,#f9fcff 60%,#eff8ff 100%);border:1px solid #d6e8f8;border-radius:22px;box-shadow:0 9px 24px rgba(12,75,122,.10);color:#173d71;max-width:calc(100% - 32px)}.ce-survey *{box-sizing:border-box}.ce-survey-heading{display:flex;gap:14px;align-items:center;margin-bottom:17px}.ce-survey-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f5e8fc;color:#a044cf;font-size:29px}.ce-survey-heading h2{font-size:23px;font-weight:650;line-height:1.25;margin:0 0 4px}.ce-survey-heading p{font-size:13px;margin:0;color:#55708b}.ce-survey-form{display:grid;grid-template-columns:1.06fr 1.16fr 1.1fr;column-gap:20px;row-gap:15px}.ce-survey-form fieldset{border:0;margin:0;padding:0;min-width:0}.ce-survey-form legend,.ce-survey-field>span,.ce-survey-comment>span{display:block;font-size:13px;font-weight:650;margin:0 0 12px;color:#143c73}.ce-survey-form em{color:#ec4b72;font-style:normal}.ce-survey-emojis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.ce-survey-choice{min-width:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;border:1px solid #d5e5f5;border-radius:13px;padding:10px 3px;min-height:94px;background:white;font-size:10px;line-height:1.28;color:#123b6d;position:relative}.ce-survey-choice input{position:absolute;opacity:0;width:1px;height:1px}.ce-survey-choice:has(input:checked){background:#e9f6ff;border-color:#078aca;box-shadow:0 0 0 2px #86d0f3 inset}.ce-survey-choice:has(input:focus-visible){outline:3px solid #338dd5;outline-offset:2px}.ce-survey-face{font-size:27px;line-height:1}.ce-survey-middle{border-left:1px solid #e0e9f3;padding-left:18px}.ce-survey-field{display:block;margin-bottom:16px}.ce-survey-field select,.ce-survey-comment textarea{display:block;width:100%;border:1px solid #c9dff4;border-radius:12px;padding:11px 13px;background:#fff;color:#1b4674;font:inherit;font-size:13px;min-height:42px}.ce-survey-highlights legend{line-height:1.4}.ce-survey-highlights legend small{font-weight:400;font-size:11px}.ce-survey-highlights>div{display:flex;gap:7px;flex-wrap:wrap}.ce-survey-highlights label{display:flex;align-items:center;gap:6px;border:1px solid #d0e3f6;background:white;padding:8px;border-radius:10px;font-size:11px;cursor:pointer}.ce-survey-highlights input{accent-color:#078bd0}.ce-survey-comment{border-left:1px solid #e0e9f3;padding-left:18px;display:block}.ce-survey-comment textarea{height:117px;resize:vertical}.ce-survey-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px}.ce-survey-footer p{font-size:11px;line-height:1.55;color:#647c93;margin:0;max-width:75%}.ce-survey-footer a{color:#11669e}.ce-survey-footer button{min-width:205px;white-space:nowrap;cursor:pointer;color:white;border:0;border-radius:26px;padding:13px 22px;font-weight:650;font-size:14px;background:linear-gradient(105deg,#05b9d3,#0967bf);box-shadow:0 6px 15px #0b78b52b}.ce-survey-footer button:hover{filter:brightness(1.06)}.ce-survey-message{border-radius:10px;padding:10px 14px;margin-bottom:14px;background:#fee9ee;color:#8c2541}.ce-survey-good{background:#e4f7ed;color:#176345}.ce-survey-honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}html[data-theme="dark"] .ce-survey,body.dark .ce-survey,[data-bs-theme="dark"] .ce-survey{background:#1d3044;color:#e8f5ff;border-color:#38516b}html[data-theme="dark"] .ce-survey-heading p,body.dark .ce-survey-heading p{color:#b8cede}html[data-theme="dark"] .ce-survey legend,html[data-theme="dark"] .ce-survey-field>span,html[data-theme="dark"] .ce-survey-comment>span,body.dark .ce-survey legend,body.dark .ce-survey-field>span,body.dark .ce-survey-comment>span{color:#e9f5ff}html[data-theme="dark"] .ce-survey-choice,html[data-theme="dark"] .ce-survey-highlights label,html[data-theme="dark"] .ce-survey-field select,html[data-theme="dark"] .ce-survey-comment textarea,body.dark .ce-survey-choice,body.dark .ce-survey-highlights label,body.dark .ce-survey-field select,body.dark .ce-survey-comment textarea{background:#263d53;color:#f1f8ff;border-color:#4b6177}
@media(max-width:1050px){.ce-survey-form{grid-template-columns:1fr 1fr}.ce-survey-comment{grid-column:1/-1;border-left:0;padding-left:0}.ce-survey-middle{padding-left:14px}}@media(max-width:680px){.ce-survey{max-width:calc(100% - 20px);padding:17px 13px!important;margin:15px auto 24px!important;border-radius:17px}.ce-survey-heading h2{font-size:18px}.ce-survey-heading p{font-size:12px}.ce-survey-icon{width:41px;height:41px;font-size:22px;flex-shrink:0}.ce-survey-form{display:flex;flex-direction:column;gap:18px}.ce-survey-emojis{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.ce-survey-choice{padding:8px 2px;min-height:91px;font-size:9px;border-radius:10px}.ce-survey-face{font-size:23px}.ce-survey-middle,.ce-survey-comment{border:0;padding:0}.ce-survey-highlights>div{display:grid;grid-template-columns:1fr 1fr}.ce-survey-highlights label{font-size:11px;min-height:38px}.ce-survey-footer{display:flex;flex-direction:column-reverse;align-items:stretch;gap:12px}.ce-survey-footer button{width:100%;min-height:48px}.ce-survey-footer p{max-width:100%;font-size:11px}.ce-survey-comment textarea{height:96px}}@media(max-width:360px){.ce-survey-emojis{grid-template-columns:repeat(3,minmax(0,1fr))}.ce-survey-choice{min-height:72px;font-size:10px}}

