/* The service editorial layout is loaded only on the eleven specified routes. */
.site-shell :is(.service-explorer,.service-four-tabs){
 --editorial-paper:#f9f4eb;
 --editorial-ink:#102326;
 --editorial-line:#cbb998;
 --editorial-gold:#a36a11;
 --editorial-forest:#194a3b;
 --editorial-card:linear-gradient(145deg,#fffcf7,#f6f0e5);
 --editorial-shadow:0 3px 5px #68461b1a,inset 0 1px #fffc;
 color:var(--editorial-ink);
 container-type:inline-size;
}
html body .site-shell :is(.service-explorer,.service-four-tabs) :is(h2,h3,p,strong,small,.sx-topic,.s4-tab,.s4-faq summary){
 font-family:"DM Sans",Arial,sans-serif!important;
}
.site-shell .service-explorer{
 padding:0 0 13px;margin:24px 0 0;
 background:radial-gradient(ellipse at 18% 7%,#fffdfa,var(--editorial-paper) 66%,#f3ebdf);
}
.site-shell .service-explorer .sx-top{padding:0 2.6% 0;margin:0 0 14px}
.site-shell .service-explorer .sx-title-row{
 display:grid;grid-template-columns:max-content minmax(0,1fr);gap:14px;align-items:start;
 min-height:clamp(76px,10cqi,110px);margin:0 0 -9px;padding:12px 17.5% 14px 2.4%;
 background:url("/assets/service-editorial-books.webp") right top/min(23%,213px) auto no-repeat;
}
.site-shell .service-explorer .sx-title-row h2{
 margin:0;white-space:nowrap;font-size:clamp(23px,3.35cqi,40px);line-height:1.05;letter-spacing:-.035em;color:var(--editorial-ink);
}
.site-shell .service-explorer .sx-title-row p{
 margin:2px 0 0;padding-left:14px;border-left:1px solid #bb995e;font-style:italic;
 color:var(--editorial-ink);font-size:clamp(12px,1.38cqi,16px);line-height:1.28;
}
.site-shell .service-explorer .sx-topic-grid{
 position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 11px;
 padding:15px 2% 13px;border:1px solid var(--editorial-line);border-radius:19px;
 background:#fffbf446;box-shadow:var(--editorial-shadow);
}
.site-shell .service-explorer .sx-topic-grid::before{
 content:attr(aria-label);grid-column:1/-1;justify-self:start;margin:-24px 0 4px 6px;padding:6px 19px;
 border:1px solid #215245;border-radius:4px 20px 20px 4px;background:linear-gradient(155deg,#42705a,#143d30);
 color:#fff9e9;text-align:left;text-shadow:0 1px #183329;font:700 clamp(13px,1.6cqi,19px)/1.1 "DM Sans",Arial,sans-serif;
 box-shadow:0 3px 7px #243c382b;
}
.site-shell .service-explorer .sx-topic{
 min-height:clamp(35px,3.5cqi,41px);padding:3px 7px 3px 9px;gap:clamp(5px,1.15cqi,14px);
 border:1px solid var(--editorial-line);background:var(--editorial-card);box-shadow:var(--editorial-shadow);
 color:var(--editorial-ink);font-size:clamp(11px,1.25cqi,15px);
}
.site-shell .service-explorer .sx-topic[aria-pressed=true]{background:#f4e6ca;border-color:#a77628}
.site-shell .service-explorer .sx-icon,
.site-shell .service-four-tabs .s4-icon{
 border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff4de,#f7ebd2);color:var(--editorial-gold);
}
.site-shell .service-explorer .sx-topic .sx-icon{width:clamp(24px,3.55cqi,40px);height:clamp(24px,3.15cqi,35px)}
.site-shell .service-explorer .sx-icon svg{width:62%;height:68%;stroke-width:1.45}
.site-shell .service-explorer section[aria-labelledby="sx-stage-heading"]{
 position:relative;margin:0;display:grid;grid-template-columns:minmax(0,1fr);
}
.site-shell .service-explorer section[aria-labelledby="sx-stage-heading"]::before{
 content:"";position:absolute;grid-area:1 / 1 / 3 / 2;inset:0 auto 0 0;
 width:min(17%,188px);pointer-events:none;mix-blend-mode:multiply;
 background:var(--service-scene) left bottom/contain no-repeat;
}
.site-shell .service-explorer .sx-stage-head,
.site-shell .service-explorer .sx-stage-grid{
 background:linear-gradient(105deg,#d9ded0,#eeede4 42%,#d5dbce);
}
.site-shell .service-explorer .sx-stage-head{
 display:grid;grid-template-columns:1fr;justify-items:center;gap:5px;margin:0;
 padding:12px 4% 10px 16%;border-radius:7% 7% 0 0 / 65% 65% 0 0;
}
.site-shell .service-explorer .sx-stage-head h2{
 display:flex;align-items:center;justify-content:center;gap:12px;
 font-size:clamp(20px,2.5cqi,31px);line-height:1.15;color:var(--editorial-ink);text-align:center;
}
.site-shell .service-explorer .sx-stage-head h2::before,
.site-shell .service-explorer .sx-stage-head h2::after{
 content:"❧";color:var(--editorial-gold);font-size:.85em;font-weight:400;
}
.site-shell .service-explorer .sx-stage-head h2::after{transform:scaleX(-1)}
.site-shell .service-explorer .sx-stage-head p{
 font-size:clamp(12px,1.3cqi,15px);font-style:italic;line-height:1.3;color:var(--editorial-ink);text-align:center;margin:0;
}
.site-shell .service-explorer .sx-stage-head .sx-stage-divider{display:none}
.site-shell .service-explorer .sx-stage-grid{
 grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(7px,1.3cqi,16px);
 padding:5px 4.5% 15px 17%;border-radius:0 0 7% 7% / 0 0 50% 50%;
}
.site-shell .service-explorer .sx-stage{
 min-height:clamp(53px,6cqi,70px);padding:6px 8px;gap:clamp(5px,1cqi,13px);
 background:var(--editorial-card);border:1px solid #b9b5a1;border-radius:13px;box-shadow:var(--editorial-shadow);
}
.site-shell .service-explorer .sx-stage .sx-icon{width:clamp(27px,4.4cqi,50px);height:clamp(27px,4.4cqi,50px);flex:none}
.site-shell .service-explorer .sx-stage[aria-pressed=true]{
 background:linear-gradient(150deg,#37614c,#13382f);color:#fff9e8;border-color:#245645;
}
.site-shell .service-explorer .sx-stage[aria-pressed=true] .sx-icon{background:#1a3d3060;color:#ffda87}
.site-shell .service-explorer .sx-stage[aria-pressed=true]::after{
 content:"✓";display:grid;place-items:center;left:auto;bottom:auto;right:5px;top:-8px;
 width:19px;height:19px;transform:none;border:1px solid #fff8dd;border-radius:50%;
 color:white;background:#a87617;font-size:12px;line-height:1;
}
.site-shell .service-explorer .sx-stage-text strong{font-size:clamp(12px,1.48cqi,17px);overflow-wrap:break-word}
.site-shell .service-explorer .sx-stage-text small{font-size:clamp(11px,1.15cqi,14px);margin-top:2px;opacity:1;overflow-wrap:break-word}
.site-shell .service-explorer .sx-results-head{
 grid-template-columns:minmax(0,1.4fr) 1px minmax(0,1fr);gap:clamp(10px,2cqi,26px);margin:17px 5.2% 15px;
}
.site-shell .service-explorer .sx-results-head h2{
 padding-left:13px;border-color:#ae761e;color:var(--editorial-ink);
 font-size:clamp(21px,2.5cqi,30px);letter-spacing:-.025em;
}
.site-shell .service-explorer .sx-results-head .sx-stage-divider{background:#b98740}
.site-shell .service-explorer .sx-results-head p{
 color:var(--editorial-ink);font-size:clamp(12px,1.3cqi,15px);font-style:italic;line-height:1.27;
}
.site-shell .service-explorer .sx-results-grid{
 grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 13px;padding:0 2.7%;
}
.site-shell .service-explorer .sx-card,
.site-shell .service-four-tabs :is(.s4-card,.s4-step-card,.s4-faq){
 border:1px solid var(--editorial-line);background:var(--editorial-card);box-shadow:var(--editorial-shadow);
}
.site-shell .service-explorer .sx-card{
 min-height:clamp(67px,6.7cqi,83px);padding:8px 10px 8px clamp(8px,2.35cqi,27px);
 gap:clamp(8px,2cqi,23px);border-radius:16px;
}
.site-shell .service-explorer .sx-card .sx-icon{width:clamp(35px,5.15cqi,58px);height:clamp(35px,4.95cqi,55px)}
.site-shell :is(.service-explorer,.service-four-tabs) :is(.sx-card,.s4-card) h3{
 color:var(--editorial-ink);font-size:clamp(13px,1.55cqi,18px);line-height:1.14;font-weight:700;
}
.site-shell :is(.service-explorer,.service-four-tabs) :is(.sx-card,.s4-card) p{
 color:var(--editorial-ink);font-size:clamp(11px,1.24cqi,14px);line-height:1.29;
}
.site-shell .service-four-tabs{
 padding:9px 0 0;margin:0 0 28px;
 background:radial-gradient(ellipse at 80% 20%,#fffdfa,var(--editorial-paper) 80%);
}
.site-shell .service-four-tabs .s4-tabs{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;overflow:visible;
 margin:0 1.8% 16px;padding:12px 5.9% 12px 2%;
 border:1px solid #315745;border-radius:24px;
 background:url("/assets/service-editorial-sprig.webp") right bottom/auto 100% no-repeat,
 linear-gradient(115deg,#194639,#386453 57%,#234e40);
 box-shadow:0 3px 5px #50351b37;
}
.site-shell .service-four-tabs .s4-tab{
 min-height:44px;padding:6px 8px;border:1px solid #c5b393;border-radius:11px;
 background:var(--editorial-card);color:var(--editorial-ink);
 font-size:clamp(12px,1.35cqi,16px);line-height:1.2;box-shadow:var(--editorial-shadow);
}
.site-shell .service-four-tabs .s4-tab.is-active{
 background:#194639;color:#fff9e5;border-color:#d1a860;
}
.site-shell .service-four-tabs .s4-tab.is-active::after{display:none}
.site-shell .service-four-tabs .s4-panel{
 position:relative;padding:19px 1.8% 37px 3%;border:0;border-radius:5% 5% 0 0 / 20px 20px 0 0;
 background:radial-gradient(ellipse at 52% 69%,#fffbf5,#f1e4d0);
}
.site-shell .service-four-tabs .s4-panel:first-of-type,
.site-shell .service-four-tabs .s4-tabs + .s4-panel{
 display:grid;grid-template-columns:minmax(0,18%) minmax(0,1fr);align-items:start;gap:15px;
 background:url("/assets/service-editorial-lighthouse.webp") left bottom/min(22%,240px) auto no-repeat,
 radial-gradient(ellipse at 52% 69%,#fffbf5,#f1e4d0);
}
.site-shell .service-four-tabs .s4-panel[hidden]{display:none}
.site-shell .service-four-tabs .s4-panel > h2{
 color:var(--editorial-ink);font-size:clamp(23px,3cqi,36px);
 letter-spacing:-.04em;font-weight:700;line-height:1.03;margin:20px 0 14px;
}
.site-shell .service-four-tabs .s4-panel > h2::after{
 display:block;content:"❧";color:var(--editorial-gold);font-size:.54em;line-height:.85;
 text-align:center;margin:15px 0 0;width:62%;max-width:120px;
 background:linear-gradient(#ad7932,#ad7932) left center/37% 1px no-repeat,
 linear-gradient(#ad7932,#ad7932) right center/37% 1px no-repeat;
}
.site-shell .service-four-tabs .s4-grid{gap:7px;grid-template-columns:repeat(4,minmax(0,1fr))}
.site-shell .service-four-tabs .s4-card{
 min-height:clamp(76px,8.3cqi,99px);padding:8px 7px;gap:6px;
 grid-template-columns:clamp(24px,3.75cqi,44px) minmax(0,1fr);border-radius:13px;
}
.site-shell .service-four-tabs .s4-card-body{display:block}
.site-shell .service-four-tabs .s4-card h3{font-size:clamp(12px,1.3cqi,15px)}
.site-shell .service-four-tabs .s4-card p{font-size:clamp(11px,1.12cqi,13px)}
.site-shell .service-four-tabs .s4-icon{width:100%;height:auto;aspect-ratio:1}
.site-shell .service-four-tabs .s4-icon svg{width:65%;height:65%}
.site-shell .service-four-tabs :is(.s4-step-card,.s4-faq){border-radius:12px}
.site-shell .service-four-tabs :is(.s4-step h3,.s4-faq summary){color:var(--editorial-ink)}
@container (max-width:760px){
 .site-shell .service-four-tabs .s4-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .site-shell .service-explorer .sx-title-row{
  grid-template-columns:minmax(0,1fr);gap:8px;padding-right:18%;padding-bottom:20px;
 }
}
@container (max-width:610px){
 .site-shell .service-explorer .sx-topic-grid,
 .site-shell .service-explorer .sx-stage-grid,
 .site-shell .service-explorer .sx-results-grid,
 .site-shell .service-four-tabs .s4-grid,
 .site-shell .service-four-tabs .s4-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-shell .service-explorer .sx-stage-grid{padding-left:18%}
 .site-shell .service-explorer .sx-results-head{grid-template-columns:minmax(0,1fr)}
 .site-shell .service-explorer .sx-results-head .sx-stage-divider{display:none}
 .site-shell .service-four-tabs .s4-tabs + .s4-panel{
  grid-template-columns:minmax(0,1fr);padding-bottom:100px;
  background-size:auto 112px,auto;
 }
 .site-shell .service-four-tabs .s4-panel > h2{margin:4px 0 8px}
}
@container (max-width:390px){
 .site-shell .service-explorer .sx-title-row{
  padding-right:2.4%;background-size:24% auto;background-position:right bottom;
 }
 .site-shell .service-explorer .sx-title-row p{
  margin-right:24%;
 }
 .site-shell .service-explorer .sx-stage-grid{padding-left:18%}
 .site-shell .service-explorer .sx-results-grid{grid-template-columns:minmax(0,1fr)}
 .site-shell .service-explorer .sx-topic{padding-left:4px}
}

/* Preserve natural alignment on the final line of each text block. */
.site-shell :is(.service-explorer,.service-four-tabs) :is(h2,h3,p,li,strong,small),
.site-shell .service-explorer .sx-topic > span:last-child,
.site-shell .service-four-tabs :is(.s4-tab,.s4-faq summary){
 text-align:justify!important;
 text-align-last:auto;
}
.site-shell .service-explorer .sx-stage-head h2{display:block}
.site-shell .service-explorer .sx-stage-head h2::before{margin-inline-end:12px}
.site-shell .service-explorer .sx-stage-head h2::after{display:inline-block;margin-inline-start:12px}

/* Service-specific illustrations for the category selector. */
[data-service-explorer="cocuk-danismanligi"]{--service-scene:url("/assets/service-scene-cocuk-danismanligi.webp")}
[data-service-explorer="oyun-danismanligi"]{--service-scene:url("/assets/service-scene-oyun-danismanligi.webp")}
[data-service-explorer="noropedagoji-danismanligi"]{--service-scene:url("/assets/service-scene-noropedagoji-danismanligi.webp")}
[data-service-explorer="ergen-danismanligi"]{--service-scene:url("/assets/service-scene-ergen-danismanligi.webp")}
[data-service-explorer="bireysel-danismanlik"]{--service-scene:url("/assets/service-scene-bireysel-danismanlik.webp")}
[data-service-explorer="aile-ve-cift-danismanligi"]{--service-scene:url("/assets/service-scene-aile-ve-cift-danismanligi.webp")}
[data-service-explorer="ebeveyn-danismanligi"]{--service-scene:url("/assets/service-scene-ebeveyn-danismanligi.webp")}
[data-service-explorer="online-danismanlik"]{--service-scene:url("/assets/service-scene-online-danismanlik.webp")}
[data-service-explorer="kurumsal-danismanlik"]{--service-scene:url("/assets/service-scene-kurumsal-danismanlik.webp")}
[data-service-explorer="proje-danismanligi"]{--service-scene:url("/assets/service-scene-proje-danismanligi.webp")}
[data-service-explorer="egitim-ve-seminer-hizmeti"]{--service-scene:url("/assets/service-scene-egitim-ve-seminer-hizmeti.webp")}
