/* Let desktop content use the available width while preserving readable text lines. */
body:has(#home.viking-hero) .wrap{inline-size:100%;max-inline-size:clamp(1280px,86vw,2160px);padding-inline:clamp(16px,3.5vw,72px);box-sizing:border-box}
#siteHeader:has(#qci-settings){height:auto;min-block-size:0}
#siteHeader .header-inner:has(#qci-settings){
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
 gap:clamp(8px,1.35vw,22px);height:auto;padding-block:clamp(9px,1.2vw,18px);
}
#siteHeader #qci-settings{display:flex;flex-wrap:wrap;gap:.5rem;min-inline-size:0;max-inline-size:100%}
#siteHeader #qci-settings select{
 appearance:none;box-sizing:border-box;max-inline-size:100%;max-width:none;
 min-block-size:2.5rem;min-inline-size:0;line-height:1.25;
 padding-block:.35rem;padding-inline: .85rem 2rem;
 background-color:#390f13;color:#fff6ef;border:1px solid #ffb3ad70;border-radius:99px;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23fff6ef' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-size:.85rem;background-position:left .72rem center;
}
#siteHeader #qci-settings select[dir=ltr]{background-position:right .72rem center}
#siteHeader #qci-settings select:focus-visible{outline:2px solid #ff998c;outline-offset:3px}
@media(forced-colors:active){#siteHeader #qci-settings select{appearance:auto;background-image:none}}
html[data-theme=mixed] body #siteHeader .brand-word,
html[data-theme=mixed] body #siteHeader .student-link{color:#fff6ef}
html[data-theme=mixed] body #siteHeader .brand-dot{color:#ff625c}
html[data-theme=mixed] body #siteHeader .student-link svg{color:inherit;stroke:currentColor}
html[data-theme=mixed] body #siteHeader .brand-caption{color:#f3d4d0}
#home.viking-hero .viking-intro{inline-size:100%}
#home.viking-hero .viking-copy{min-inline-size:0}
@media(min-width:1750px){
 #home.viking-hero::before{background-position:left 18%}
 #home.viking-hero>.viking-motion-person{background-size:auto 100%;background-position:8% center}
 #home.viking-hero .viking-copy{max-inline-size:min(46%,880px)}
}
@media(max-width:800px){
 #siteHeader #qci-settings{flex-basis:100%;justify-content:flex-start}
 #home.viking-hero .viking-intro{padding-block:clamp(175px,44vw,350px) 48px}
 #home.viking-hero .viking-copy{width:100%;max-width:100%}
 #home.viking-hero .viking-copy h1{font-size:clamp(1.85rem,7vw,3.6rem);line-height:1.25}
 #home.viking-hero .viking-actions>*{max-inline-size:100%;white-space:normal;gap:.6rem}
 #home.viking-hero>.viking-sound-toggle{inset-inline-end:1rem}
}
#qci-reviews{display:none!important}
#qayem-testimonials{--qr-ink:#fff5ef;--qr-soft:#e4bcb5;--qr-accent:#ff786c;--qr-card:#361519;--qr-bg:#1d0b0e;color:var(--qr-ink);background:var(--qr-bg);padding:clamp(48px,7vw,112px) clamp(16px,4vw,72px)}
html:is([data-theme=white],[data-theme=mixed]) #qayem-testimonials{--qr-ink:#36171c;--qr-soft:#673940;--qr-accent:#a82135;--qr-card:#fff;--qr-bg:#fff6f3}
#qayem-testimonials .qr-inner{max-inline-size:1700px;margin:auto}
#qayem-testimonials header{text-align:center;margin-block-end:2rem}
#qayem-testimonials h2{font-size:clamp(1.8rem,4vw,3.9rem);line-height:1.22;margin:.25rem 0 .7rem;color:inherit}
#qayem-testimonials header p{color:var(--qr-soft);margin:0}
#qayem-testimonials .qr-kicker,#qayem-testimonials .qr-stars{color:var(--qr-accent);font-weight:750}
#qayem-testimonials .qr-grid{columns:3;column-gap:clamp(12px,1.5vw,24px)}
#qayem-testimonials article{break-inside:avoid;display:inline-block;box-sizing:border-box;width:100%;text-align:center;padding:clamp(17px,2.1vw,32px);margin:0 0 16px;border:1px solid #ff918b42;border-radius:18px;background:var(--qr-card);overflow-wrap:anywhere}
#qayem-testimonials article blockquote{margin:.7rem 0;font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.85;color:inherit}
#qayem-testimonials article small{color:var(--qr-soft)}
#qayem-testimonials .qr-icon{display:grid;place-items:center;margin:0 auto .6rem;width:2.65rem;height:2.65rem;border-radius:50%;background:#ed59552b;color:var(--qr-accent);font-size:1.7rem;line-height:1}
@media(min-width:1000px){#qayem-testimonials .qr-grid{padding-block-start:12px}}
@media(max-width:999px){#qayem-testimonials .qr-grid{columns:2}}
@media(max-width:620px){#qayem-testimonials .qr-grid{columns:1}}
