/* Local home scale correction: content-led hero, generous large-screen teacher scene. */
.rt-hero--quiz.rt-hero--home{min-block-size:0;display:block;padding-block:32px 40px}
.rt-hero--quiz.rt-hero--home .rt-hero__inner{inline-size:calc(100% - 80px);max-inline-size:1480px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
/* Same outer box and zero inner padding as the hero: logo and topline align. */
.rt-header--home-aligned>.rt-header__inner{inline-size:calc(100% - 80px);max-inline-size:1480px;padding-inline:0}
.rt-hero--quiz.rt-hero--home .rt-hero__copy{max-inline-size:700px;inline-size:100%;margin:0;align-items:stretch;text-align:start;gap:18px}
.rt-hero--quiz.rt-hero--home .rt-hero__title{font-size:clamp(36px,3.35vw,62px);line-height:1.16}
.rt-hero--quiz.rt-hero--home .rt-hero__topline{font-size:18px;margin:0}
.rt-hero--quiz.rt-hero--home .rt-hero__lead{font-size:17px;line-height:1.5;max-inline-size:42ch}
.rt-hero--quiz.rt-hero--home .rt-hero__art{inline-size:100%;max-inline-size:660px;margin:0;justify-self:center;align-self:center}
.rt-hero--quiz.rt-hero--home .rt-hero__art .rt-scene{inline-size:100%;max-inline-size:660px;max-block-size:none;margin:0;block-size:auto}
.rt-hero--quiz.rt-hero--home .rt-quiz{inline-size:min(100%,440px);padding:30px 24px 20px;gap:16px}
.rt-hero--quiz.rt-hero--home .rt-quiz__ages{inline-size:min(100%,300px);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rt-hero--quiz.rt-hero--home .rt-quiz__age{inline-size:100%;min-inline-size:0}
.rt-hero--quiz.rt-hero--home .rt-quiz .rt-quiz__age-btn{inline-size:100%;block-size:52px;font-size:18px}
.rt-hero--quiz.rt-hero--home .rt-quiz__q{font-size:20px}
@media(min-width:720px) and (max-width:999px){
 .rt-header--home-aligned>.rt-header__inner{inline-size:calc(100% - 48px)}
 .rt-hero--quiz.rt-hero--home .rt-hero__inner{inline-size:calc(100% - 48px);gap:24px}
 .rt-hero--quiz.rt-hero--home .rt-hero__title{font-size:32px}
 .rt-hero--quiz.rt-hero--home .rt-hero__topline{font-size:15px}
 .rt-hero--quiz.rt-hero--home .rt-hero__lead{font-size:16px}
 .rt-hero--quiz.rt-hero--home .rt-quiz{padding:28px 16px 18px}
}
@media(max-width:719px){
 .rt-header--home-aligned>.rt-header__inner{inline-size:calc(100% - 40px)}
 .rt-hero--quiz.rt-hero--home{padding-block:24px 28px}
 .rt-hero--quiz.rt-hero--home .rt-hero__inner{inline-size:calc(100% - 40px);grid-template-columns:1fr;gap:18px}
 .rt-hero--quiz.rt-hero--home .rt-hero__copy{gap:14px}
 .rt-hero--quiz.rt-hero--home .rt-hero__title{font-size:clamp(28px,7.3vw,38px)}
 .rt-hero--quiz.rt-hero--home .rt-hero__topline{font-size:14px}
 .rt-hero--quiz.rt-hero--home .rt-hero__lead{font-size:16px}
 .rt-hero--quiz.rt-hero--home .rt-quiz{inline-size:100%;padding:26px 16px 16px;gap:14px}
 .rt-hero--quiz.rt-hero--home .rt-quiz__ages{gap:10px;inline-size:min(100%,288px)}
 .rt-hero--quiz.rt-hero--home .rt-quiz .rt-quiz__age-btn{block-size:46px;font-size:17px}
 .rt-hero--quiz.rt-hero--home .rt-hero__art{inline-size:min(100%,360px);max-inline-size:none}
 .rt-hero--quiz.rt-hero--home .rt-quiz__sticker{font-size:13px}
}
/* Grow actual teaching content, not an empty viewport-height white section. */
/* Keep the approved horizontal orbit and 144s timing. Bound its vertical
   excursion so every teacher stays below the scrolling title strip. */
@media(min-width:1280px){
 #home-teachers .home-r58-teacher-world .home-r19-world-laptop{--orbit-ry:38%}
}
#home-teachers{min-block-size:0}
/* Section rhythm is driven by content, never by the visitor's tall monitor. */
.rt-home-steps.rt-home-steps,.rt-home-film.rt-home-film,.rt-home-reviews.rt-home-reviews,.rt-home-prices.rt-home-prices,.rt-home-programmes.rt-home-programmes,.rt-home-recognition-scene.rt-home-recognition-scene,.rt-home-founder.rt-home-founder{min-block-size:0}
.rt-home-steps.rt-home-steps,.rt-home-film.rt-home-film,.rt-home-reviews.rt-home-reviews,.rt-home-prices.rt-home-prices,.rt-home-programmes.rt-home-programmes{padding-block:64px;display:block}
.rt-home-teacher-section .rt-home-world{flex:none;padding-block:64px 76px}
.rt-home-recognition-scene>.rt-home-founder{flex:none}
.rt-home-founder.rt-home-founder{padding-block:64px}
/* Phone story is one column. Never let the later desktop flex rule put
   photo and copy side by side, nor crop the portrait to viewport height. */
@media(max-width:759px){
 .rt-home-founder.rt-home-founder{display:block}
 .rt-home-founder .rt-home-founder__photo{position:relative;inset:auto;inline-size:calc(100% - 40px);max-inline-size:420px;block-size:auto;aspect-ratio:750 / 1019;margin-inline:auto;margin-block-end:24px}
 .rt-home-founder .rt-home-founder__img{position:static;inset:auto;inline-size:100%;block-size:auto;object-fit:contain;object-position:50% 50%;-webkit-mask-image:none;mask-image:none}
 .rt-home-founder>.rt-container{margin-block-start:0}
 .rt-home-founder__grid{grid-template-columns:minmax(0,1fr)}
 .rt-home-founder__tag{max-inline-size:100%;white-space:normal}
}
@media(max-width:719px){
 .rt-home-steps.rt-home-steps,.rt-home-film.rt-home-film,.rt-home-reviews.rt-home-reviews,.rt-home-prices.rt-home-prices,.rt-home-programmes.rt-home-programmes,.rt-home-founder.rt-home-founder{padding-block:40px}
 .rt-home-teacher-section .rt-home-world{padding-block:40px 48px}
}
@media(min-width:1800px){
 #home-teachers .rt-home-world{padding-block:64px}
 #home-teachers .rt-home-world>.rt-container{max-inline-size:2160px;inline-size:calc(100% - 160px);padding-inline:0}
 #home-teachers .rt-home-world__layout{gap:80px;padding-block:0;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
 #home-teachers .home-r19-teacher-world{max-inline-size:1240px;max-width:1240px}
 #home-teachers .rt-home-world h2{font-size:clamp(44px,2.2vw,64px);line-height:1.2}
 #home-teachers .rt-home-world p{font-size:clamp(20px,1vw,25px);line-height:1.6}
 #home-teachers .rt-home-world__copy{max-inline-size:660px}
 #home-teachers .home-r19-world-laptop__name{font-size:clamp(15px,.7vw,20px)}
 #home-teachers .rt-home-world .rt-btn{font-size:20px;min-block-size:52px}
}
/* Gamze 12.10 mobil: hero konuşma balonu okunur boyda. Yalnız balonun şekli ve yazısı büyür;
   balon grubunun kendi açılış animasyonu (transform) ayrı öğede kaldığı için bozulmaz. */
@media(max-width:719px){
 .rt-scene .rt-scene__say>use,.rt-scene .rt-scene__say>text{transform-box:view-box}
 .rt-scene .rt-scene__say--child>use,.rt-scene .rt-scene__say--child>text{transform-origin:530px 96px;transform:translate(12px,-36px) scale(1.42)}
 .rt-scene .rt-scene__say--teacher>use,.rt-scene .rt-scene__say--teacher>text{transform-origin:244px 364px;transform:translate(-6px,0) scale(1.42)}
}
/* Gamze 12.10 mobil: Hikâyemiz önce yazı, sonra fotoğraf; fotoğrafın kenarları masaüstündeki gibi
   zemine yumuşakça erir (çerçeve/radius yok). */
@media(max-width:759px){
 .rt-home-founder.rt-home-founder{display:flex;flex-direction:column}
 .rt-home-founder>.rt-container{order:1}
 .rt-home-founder .rt-home-founder__photo{order:2;inline-size:100%;max-inline-size:460px;margin-block:28px 0;margin-inline:auto;aspect-ratio:750 / 1019;block-size:auto;overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.45) 7%,#000 18%,#000 80%,rgba(0,0,0,.45) 92%,transparent 100%),linear-gradient(to right,transparent 0%,rgba(0,0,0,.4) 8%,#000 22%,#000 78%,rgba(0,0,0,.4) 92%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.45) 7%,#000 18%,#000 80%,rgba(0,0,0,.45) 92%,transparent 100%),linear-gradient(to right,transparent 0%,rgba(0,0,0,.4) 8%,#000 22%,#000 78%,rgba(0,0,0,.4) 92%,transparent 100%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
 .rt-home-founder .rt-home-founder__img{
  -webkit-mask-image:linear-gradient(145deg,transparent 0%,transparent 8%,#000 20%),radial-gradient(ellipse 44% 38% at 100% 0%,transparent 0%,transparent 16%,#000 72%);
  mask-image:linear-gradient(145deg,transparent 0%,transparent 8%,#000 20%),radial-gradient(ellipse 44% 38% at 100% 0%,transparent 0%,transparent 16%,#000 72%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
}

/* M-02 (Gamze 12.10, yalnız telefon): aile yorumları tek satır, kendiliğinden hızlı kayan şerit (basılı tutunca durur);
   fiyat kartları yana kaydırılabilir. Masaüstü ve tablet değişmez. Betik: home-programmes-r32-scene.js sonu. */
@media(max-width:719.98px){
 .rt-home-reviews .rt-home-review-wall.rt-quote-rail .rt-quotes{display:flex;flex-wrap:nowrap;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:4px 2px 12px;margin-inline:-2px}
 .rt-home-reviews .rt-home-review-wall.rt-quote-rail .rt-quotes::-webkit-scrollbar{display:none}
 .rt-home-reviews .rt-home-review-wall__grid>.rt-quotes__item{flex:0 0 86%;max-width:86%;scroll-snap-align:center}
 .rt-home-prices .rt-prices{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:16px 2px 12px;margin-inline:-2px}
 .rt-home-prices .rt-prices::-webkit-scrollbar{display:none}
 .rt-home-prices .rt-prices>.rt-price{flex:0 0 84%;max-width:84%;scroll-snap-align:center;margin-block-start:0}
}
