/* F566 | Open academy and authentic Karasu visual refinement.
   Photo sources: real office assets carried forward unchanged from F565.
   Brand: original Chat in English image, never a fabricated logo. */
:root{--f566-navy:#101d31;--f566-navy2:#162943;--f566-gold:#dfc596;--f566-sand:#f4eee5;--f566-text:#f4f0e9}
body.cie-f554-home{background:var(--f566-navy);color:var(--f566-text)}
.cie-shared{position:sticky;top:0;z-index:70;background:#101d31f7;border-bottom:1px solid #dfc59632;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);min-height:82px;height:auto;padding:0}
.cie-shared-inner{min-height:82px;width:min(92%,1360px);gap:clamp(12px,2.3vw,32px)}
.cie-shared-brand{flex-shrink:0;display:inline-flex;align-items:center;line-height:0;min-width:66px}
.cie-shared-brand img{width:66px;height:66px;object-fit:contain;border-radius:10px;background:white;padding:3px}
.cie-shared-desktop{gap:clamp(10px,1.25vw,19px)}
.cie-shared nav a{font-size:clamp(12px,.88vw,14px);font-weight:600;letter-spacing:.01em;min-height:52px}
.cie-shared-mobile summary{padding:12px 16px;min-height:48px;font-weight:600;border:1px solid #dfc59672;border-radius:8px;list-style:none}
.cie-shared-mobile summary::-webkit-details-marker{display:none}
.cie-shared-mobile summary::after{content:'  ☰';margin-left:8px;color:#dfc596}
.cie-shared-mobile[open] summary::after{content:'  ×'}
.cie-shared-mobile nav a{padding:12px 4px;min-height:48px}
.cie-shared :focus-visible,.f566-hero a:focus-visible,.f566-office a:focus-visible{outline:3px solid #edce8d;outline-offset:4px}
/* Hero: editorial composition with genuine office photographs; no stock/AI generated site hero */
.cie-f554-home .f566-hero{height:auto;min-height:min(740px,calc(100vh - 82px));background:radial-gradient(ellipse at 71% 40%,#20354b 0%,#111f33 39%,#101a2a 77%);overflow:hidden;isolation:isolate;position:relative;padding:clamp(44px,6vw,80px) max(4vw,calc((100vw - 1360px)/2)) 46px}
.f566-hero::before{content:'';position:absolute;pointer-events:none;inset:0;opacity:.19;background-image:linear-gradient(#dfc59617 1px,transparent 1px),linear-gradient(90deg,#dfc59617 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,transparent,#000 60%,transparent)}
.f566-hero-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(36px,5vw,75px);max-width:1290px;margin:0 auto;align-items:center}
.f566-hero-content{padding:28px 0 16px;min-width:0}
.f566-kicker{display:flex;flex-wrap:wrap;gap:14px 25px;align-items:center;font-size:11px;letter-spacing:.18em;color:#e2c99d;font-weight:700;text-transform:uppercase}
.f566-kicker span+span{padding-left:24px;border-left:1px solid #e2c99d64}
.cie-f554-home .f566-hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.04;letter-spacing:-.045em;font-size:clamp(57px,6.2vw,93px);max-width:730px;margin:30px 0;color:#fffaf0}
.cie-f554-home .f566-hero h1 em{color:#e4c58e;font-style:italic;white-space:normal}
.f566-hero-lead{max-width:510px;color:#d5dadb;line-height:1.85;font-size:clamp(15px,1.2vw,18px);margin:22px 0 29px}
.f566-hero-actions{display:flex;flex-wrap:wrap;gap:12px 23px;align-items:center}
.f566-primary{min-height:55px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 21px;background:#dfc596;color:#182233;font-size:14px;font-weight:700;text-decoration:none;border-radius:3px;transition:background .2s,transform .2s}
.f566-primary:hover{background:#f1dcba;transform:translateY(-2px)}
.f566-secondary{min-height:55px;display:inline-flex;align-items:center;gap:10px;border-bottom:1px solid #e4c58e8a;color:#fff0d4;font-size:14px;font-weight:600;text-decoration:none}
.f566-featureline{display:flex;flex-wrap:wrap;gap:13px 19px;margin:38px 0 0;padding:20px 0 0;border-top:1px solid #f4eee52b;list-style:none;color:#c4cece;font-size:12px;letter-spacing:.01em}
.f566-featureline li{display:flex;gap:7px;align-items:center}.f566-featureline li::before{content:'•';color:#e4c58e;font-size:17px}
.f566-photo-block{margin:0;position:relative;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:0;padding:22px 0 38px}
.f566-photo-block::before{content:'';position:absolute;z-index:-1;border:1px solid #e7c99235;inset:6% 5% 3% -3%;pointer-events:none}
.f566-hero-image{position:relative;display:block;overflow:hidden;aspect-ratio:4/4.55;background:#2e3641;box-shadow:0 24px 70px #050d1980}
.f566-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:53% 50%;filter:brightness(.96) contrast(1.03);transition:transform .5s ease}
.f566-photo-block:hover .f566-hero-image img{transform:scale(1.02)}
.f566-photo-caption{display:flex;align-items:start;justify-content:space-between;gap:18px;margin:16px 2px 0;color:#dfd4bf;font-size:11px;letter-spacing:.03em;line-height:1.6}
.f566-photo-caption strong{font-size:10px;letter-spacing:.16em;color:#e5c98b;white-space:nowrap;font-weight:600}
.f566-photo-label{position:absolute;z-index:2;left:-16px;top:40px;background:#dfc596;color:#152237;font-weight:750;font-size:11px;letter-spacing:.12em;line-height:1.6;padding:14px 18px;max-width:75%}
.f566-hero-note{max-width:1290px;margin:24px auto 0;border-top:1px solid #eee5d32e;padding:18px 0 0;display:flex;justify-content:space-between;gap:20px;color:#aebbbf;font-size:12px}
.f566-hero-note a{text-decoration:underline;text-underline-offset:4px;color:#e9cf9c}
/* Natural photography gallery */
.cie-f554-home .f566-office{width:100%;margin:0;padding:clamp(66px,7vw,108px) max(4vw,calc((100vw - 1360px)/2));background:#f4eee5;color:#19263a;display:block}
.f566-office-wrap{max-width:1290px;margin:0 auto}
.f566-office-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:end;margin-bottom:32px}
.f566-overline{color:#8d6c39;display:block;font-size:11px;letter-spacing:.2em;font-weight:750;text-transform:uppercase;margin-bottom:22px}
.cie-f554-home .f566-office h2{font:normal clamp(35px,4vw,57px)/1.11 Georgia,serif;letter-spacing:-.035em;margin:0}
.f566-office-intro p{font-size:16px;line-height:1.85;color:#425169;max-width:540px;margin:0 0 14px}
.f566-office-intro a{font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:6px}
.f566-gallery{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:14px}
.f566-gallery figure{min-width:0;overflow:hidden;margin:0;position:relative;background:#d7d1c8;aspect-ratio:4/3}
.f566-gallery figure:first-child{aspect-ratio:1.42}
.f566-gallery img{display:block;width:100%;height:100%;object-fit:cover;filter:contrast(1.03) saturate(.92)}
.f566-gallery figure:nth-child(1) img{object-position:54% 50%}
.f566-gallery figure:nth-child(2) img{object-position:40% 50%}
.f566-gallery figure:nth-child(3) img{object-position:50% 48%}
.f566-gallery figcaption{position:absolute;bottom:0;left:0;right:0;color:#fff;font-size:12px;font-weight:650;line-height:1.3;padding:22px 14px 12px;background:linear-gradient(transparent,#122035d9)}
.f566-gallery-note{font-size:12px;color:#647085;margin-top:13px!important;line-height:1.7}
/* Gentle alignment across the rest of site */
.cie-f554-home .education{background:#fcfaf5;color:#18283c}
.cie-f554-home .learning-teaser{background:#eae7df;color:#18283c}
.cie-f554-home .teachers{background:#ecedea;color:#18283c}
.cie-f554-home .exams{background:#16283f;color:#f6f2e9}
.cie-f554-home .translation{background:#f6f2e9;color:#18283c}
.cie-f554-home .premium-faq{background:#e9e9e2;color:#18283c}
.cie-f554-home .learning-teaser .body-copy{max-width:740px;color:#405068}
.cie-f554-home .cie-track-links li a{border-radius:5px;transition:background .2s,transform .2s}
.cie-f554-home .cie-track-links li a:hover{transform:translateY(-2px)}
.cie-f554-home .premium-footer{background:#111d33}
/* Desktop / small tablet */
@media(max-width:1150px){.f566-hero-shell{gap:30px}.cie-f554-home .f566-hero h1{font-size:clamp(49px,6.4vw,79px)}}
@media(max-width:1050px){.cie-shared-mobile nav{border-top:1px solid #dfc59633;box-shadow:0 12px 25px #091321aa;z-index:72}.cie-shared-mobile nav a{display:flex;width:100%}}
@media(max-width:820px){.cie-f554-home .f566-hero{padding:54px 24px 38px}.f566-hero-shell{grid-template-columns:1fr;gap:30px}.f566-hero-content{padding:0}.cie-f554-home .f566-hero h1{font-size:clamp(47px,9.1vw,70px);margin:22px 0 15px}.f566-hero-lead{margin:15px 0 22px}.f566-photo-block{padding:4px 5% 0;max-width:650px;width:100%;margin:auto}.f566-hero-image{aspect-ratio:5/3.35}.f566-photo-label{left:0;top:25px}.f566-photo-caption{margin:10px 0 0}.f566-featureline{margin-top:23px}.f566-hero-note{margin-top:25px}.f566-office-intro{grid-template-columns:1fr;gap:17px}.f566-gallery{grid-template-columns:1.3fr 1fr}.f566-gallery figure:nth-child(3){display:none}}
@media(max-width:560px){.cie-shared{min-height:72px}.cie-shared-inner{min-height:72px;width:calc(100% - 32px)}.cie-shared-brand img{width:58px;height:58px}.cie-f554-home .f566-hero{padding:36px 20px 26px}.f566-kicker{font-size:9px;gap:9px 13px;letter-spacing:.12em}.f566-kicker span+span{padding-left:13px}.cie-f554-home .f566-hero h1{font-size:clamp(44px,12vw,62px);line-height:1.07;letter-spacing:-.04em}.f566-hero-lead{font-size:15px;line-height:1.7}.f566-hero-actions{gap:9px 16px}.f566-primary,.f566-secondary{min-height:52px;font-size:13px}.f566-featureline{font-size:11px;gap:6px 13px}.f566-photo-block{padding:0}.f566-hero-image{aspect-ratio:4/3.4}.f566-photo-label{left:-6px;top:17px;padding:10px 12px;font-size:9px}.f566-photo-caption{font-size:10px}.f566-hero-note{display:flex;flex-direction:column;gap:8px;font-size:11px}.cie-f554-home .f566-office{padding:55px 20px}.cie-f554-home .f566-office h2{font-size:39px}.f566-office-intro p{font-size:14px}.f566-gallery{grid-template-columns:1fr;gap:12px}.f566-gallery figure{aspect-ratio:1.4}.f566-gallery figure:nth-child(2){aspect-ratio:1.6}.f566-gallery figure:nth-child(3){display:none}.cie-f554-home .cie-track-links ul{grid-template-columns:1fr}.cie-f554-home .hero-textlink{margin:0}}
@media(prefers-reduced-motion:reduce){.f566-primary,.f566-hero-image img,.cie-f554-home .cie-track-links li a{transition:none!important}html{scroll-behavior:auto}}
/* Same brand palette for the open academy, without changing its functions */
.f565-body .f565-header{background:#111d33;border-bottom-color:#dfc59633}
.f565-body .f565-brand img{background:white;border-radius:8px}
.f565-body .f565-button{background:#dfc596;border-color:#dfc596;color:#111d33}
.f565-body .f565-button.outline{background:transparent;color:#e7d2aa}

/* F569: Keep the first screen compact and use the office photograph's natural framing. */
.cie-f554-home .f566-hero {
  min-height: 0;
  padding-block: clamp(36px, 5vw, 70px) 30px;
}
.cie-f554-home .f566-hero h1 {
  font-size: clamp(46px, 5.1vw, 77px);
  text-wrap: balance;
}
.f566-hero-image {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}
.f566-hero-image img {
  object-position: 50% 68%;
  filter: none;
}
.f566-hero-actions .f566-primary {
  gap: 12px;
}
.f566-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.f566-gallery figure:first-child {
  aspect-ratio: 4 / 3;
}
.f566-gallery figure:nth-child(3) {
  display: block;
}
.f566-gallery figure:nth-child(3) img {
  object-position: 50% 42%;
}
#basvuru {
  scroll-margin-top: 105px;
}
@media (max-width: 820px) {
  .cie-f554-home .f566-hero h1 {
    font-size: clamp(39px, 8vw, 65px);
  }
}
@media (max-width: 560px) {
  .f566-gallery {
    grid-template-columns: 1fr;
  }
}
