/* Yeni Nesil Tanitim Popup v3: Tum kurallar ynp- ile sinirlidir. */
.ynp-shell[hidden] { display:none !important; }
.ynp-shell { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; padding:22px; isolation:isolate; font-family:'Montserrat','Open Sans',Arial,sans-serif; color:#162447; }
.ynp-backdrop { position:absolute; inset:0; background:rgba(8,19,42,.82); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.ynp-dialog { position:relative; width:min(1070px,96vw); max-height:min(94vh,780px); border-radius:22px; background:#fff; box-shadow:0 36px 100px rgba(0,0,0,.42); display:flex; flex-direction:column; overflow:hidden; animation:ynp-pop .34s ease-out; outline:none; }
.ynp-dialog *, .ynp-dialog *::before, .ynp-dialog *::after { box-sizing:border-box; }
.ynp-head { height:88px; flex:0 0 88px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 26px 10px 33px; background:#fff; }
.ynp-logo { width:237px; max-width:47%; height:74px; object-fit:contain; object-position:left center; }
.ynp-head-center { display:flex; align-items:center; gap:9px; font-weight:800; color:#4d5e79; font-size:10px; letter-spacing:.19em; white-space:nowrap; }
.ynp-head-line { width:25px; height:2px; background:#ffb900; }
.ynp-close { display:grid; place-items:center; width:41px; height:41px; flex:0 0 41px; border:0; background:#f2f5fa; border-radius:50%; color:#1b2942; font-size:28px; line-height:1; cursor:pointer; transition:background .15s; }
.ynp-close:hover { background:#ffe6a2; }
.ynp-viewport { min-height:430px; flex:1 1 auto; position:relative; background:#f9fbff; }
.ynp-slide { display:none; grid-template-columns:56% 44%; min-height:430px; height:100%; }
.ynp-slide.is-active { display:grid; animation:ynp-fade .4s ease; }
.ynp-text { min-width:0; min-height:430px; padding:38px 34px 34px 46px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(135deg,#f7faff,#fff 78%); }
.ynp-eyebrow { display:flex; align-items:center; gap:9px; font-weight:800; letter-spacing:.14em; color:#ca8e00; font-size:11px; margin-bottom:20px; }
.ynp-eyebrow-dot { width:8px;height:8px;border-radius:50%;background:#ffb900; box-shadow:0 0 0 4px rgba(255,185,0,.16); }
.ynp-slide h2 { color:#10213d; margin:0 0 20px; font-size:clamp(30px,3.3vw,43px); letter-spacing:-.055em; line-height:1.17; font-weight:900; }
.ynp-slide h2 strong { color:#f2ad05; font-weight:900; }
.ynp-lead { font-size:15px; font-weight:500; line-height:1.8; color:#59667a; margin:0 0 18px; max-width:430px; }
.ynp-pills { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 29px; }
.ynp-pills span { font-size:11px; font-weight:750; padding:10px 12px; background:#eaf0fa; border:1px solid #e0e8f6; border-radius:8px; color:#24365a; line-height:1.2; }
.ynp-cta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.ynp-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:46px; padding:12px 18px; border-radius:9px; text-decoration:none !important; font-size:12px; font-weight:800; white-space:nowrap; transition:transform .14s, background .14s; }
.ynp-button:hover { transform:translateY(-1px); }
.ynp-button-primary { background:#ffb900; color:#172541 !important; box-shadow:0 7px 18px rgba(255,185,0,.22); }
.ynp-button-primary:hover { background:#ffcb38; }
.ynp-button-primary span { font-size:19px; }
.ynp-button-secondary { border:1px solid #cfd8e7; color:#1c2c49 !important; background:#fff; }
.ynp-button-secondary:hover { background:#eef4fe; }
.ynp-image { min-width:0; min-height:430px; position:relative; background-position:center; background-size:cover; }
.ynp-image-first { background-image:linear-gradient(180deg,transparent 57%,rgba(4,24,52,.73)),url('/tanitim/ogrenciler.jpg'); background-position:50% 47%; }
.ynp-image-second { background-image:linear-gradient(180deg,transparent 44%,rgba(4,24,52,.73)),url('/tanitim/kurs-binasi.jpg'); background-position:center center; }
.ynp-image-label { position:absolute; left:31px; right:20px; bottom:30px; color:#fff; display:flex; flex-direction:column; gap:7px; }
.ynp-image-label span { font-size:11px; letter-spacing:.14em; font-weight:700; color:#ffca4a; }
.ynp-image-label b { font-size:19px; font-weight:800; text-shadow:0 2px 12px rgba(0,0,0,.26); }
.ynp-bottom { flex:0 0 72px; min-height:72px; display:flex; justify-content:space-between; align-items:center; gap:18px; padding:0 31px; background:#fff; border-top:1px solid #e9eef5; }
.ynp-never-label { margin:0;display:flex;align-items:center;gap:9px; font-size:12px;font-weight:650;color:#68768d;cursor:pointer;user-select:none; }
.ynp-never { width:17px;height:17px;accent-color:#ffb900; cursor:pointer; }
.ynp-indicators { display:flex;align-items:center;gap:8px; }
.ynp-dot { width:10px;height:10px;padding:0;border:0;cursor:pointer;background:#d4dce9;border-radius:8px;transition:width .2s,background .2s; }
.ynp-dot.is-active { width:31px;background:#ffb900; }
.ynp-nav {display:flex;align-items:center;gap:9px;}
.ynp-count {margin-right:10px;font-size:11px;color:#a1abc0;font-weight:800;letter-spacing:.06em;white-space:nowrap;}
.ynp-count b {font-size:17px;color:#13213a;}
.ynp-arrow {display:grid;place-items:center;cursor:pointer;border:1px solid #e4eaf2;background:#fff;color:#1d2d49;width:36px;height:36px;border-radius:10px;font-size:30px;line-height:1;padding:0 0 4px;transition:background .14s;}
.ynp-arrow:hover { background:#eaf0fa; }
.ynp-next { background:#172847; color:#fff; border-color:#172847; }
.ynp-next:hover {background:#263e67;}
.ynp-progress {height:4px;flex:0 0 4px;background:#ebeff5;overflow:hidden;}
.ynp-progress span {display:block;background:#ffb900;height:100%;width:0%;transition:none;}
body.ynp-body-open { overflow:hidden !important; }
.ynp-dialog :focus-visible {outline:3px solid #e7a400;outline-offset:3px;}
@keyframes ynp-pop {from {opacity:0;transform:translateY(18px) scale(.985);}to {opacity:1;transform:translateY(0) scale(1);}}
@keyframes ynp-fade {from {opacity:.1;}to {opacity:1;}}
@media(max-width:800px) {
 .ynp-shell {padding:12px;align-items:center;}
 .ynp-dialog {width:min(540px,100%);max-height:92dvh;border-radius:16px;}
 .ynp-head {height:66px; flex-basis:66px; padding:4px 15px 4px 18px;}
 .ynp-logo {width:180px;height:58px;max-width:65%;}
 .ynp-head-center {display:none;}
 .ynp-viewport {min-height:0;overflow:auto;}
 .ynp-slide,.ynp-slide.is-active {display:none;min-height:0;}
 .ynp-slide.is-active {display:flex;flex-direction:column-reverse;}
 .ynp-image { flex:0 0 190px;min-height:190px; background-position:center 48%; }
 .ynp-image-label {left:21px;bottom:16px;gap:4px;}
 .ynp-image-label b {font-size:14px;}
 .ynp-text {min-height:0;padding:23px 24px 26px;}
 .ynp-eyebrow {font-size:9px;margin-bottom:13px;}
 .ynp-slide h2 {font-size:clamp(25px,7.1vw,35px);line-height:1.15;margin-bottom:11px;}
 .ynp-lead {font-size:12px;line-height:1.55;margin-bottom:13px;}
 .ynp-pills {margin-bottom:15px;gap:5px;}
 .ynp-pills span {padding:7px 8px;font-size:9px;}
 .ynp-cta {gap:7px;}
 .ynp-button {min-height:40px;padding:10px 12px;font-size:10px;gap:5px;}
 .ynp-bottom {min-height:60px;flex-basis:60px;padding:0 13px;gap:5px;}
 .ynp-never-label {font-size:10px;gap:4px;}
 .ynp-count {margin-right:1px;}
 .ynp-arrow {width:30px;height:30px;border-radius:8px;}
}
@media(max-width:390px) {
 .ynp-image { flex-basis:145px;min-height:145px;}
 .ynp-text {padding:13px 15px 15px;}
 .ynp-slide h2 {font-size:25px;}
 .ynp-bottom {padding:0 9px;}
 .ynp-indicators {gap:5px;}
 .ynp-dot.is-active {width:20px;}
}
@media(max-height:650px) and (min-width:801px) {
 .ynp-dialog {max-height:96vh;}
 .ynp-viewport,.ynp-slide,.ynp-text,.ynp-image {min-height:340px;}
 .ynp-text {padding-top:22px;padding-bottom:22px;}
 .ynp-slide h2 {font-size:32px;margin-bottom:12px;}
 .ynp-lead {margin-bottom:12px;line-height:1.5;}
 .ynp-pills {margin-bottom:17px;}
}
@media(prefers-reduced-motion:reduce) {
 .ynp-dialog,.ynp-slide.is-active {animation:none;}
 .ynp-button,.ynp-dot {transition:none;}
}
