/* Local subject/catalog design, extending the approved Yusr & Marifa identity. */
.local-review{background:#e8eee7}.local-review>span:first-child::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#ac6b32;margin-inline-end:8px;vertical-align:middle}.subject-ribbon{background:#f4f5ed;border-bottom:1px solid #dce3d6;padding:15px 0 20px}.subject-ribbon-title{font-size:11px;font-weight:700;color:#6c7f70;margin-bottom:9px}.subject-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.subject-button{display:flex;align-items:center;position:relative;gap:9px;background:#fffdf8;border:1px solid #dce4d7;min-height:66px;padding:10px 12px;border-radius:13px;transition:background .18s,border .18s,transform .18s}.subject-button:hover{border-color:#72977e;transform:translateY(-2px);background:#e8f0e5}.subject-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;background:#edf2e8;border-radius:10px;color:#406851}.subject-icon svg{width:23px;height:23px;stroke-width:1.5}.subject-button-text{font-size:12px;font-weight:700;line-height:1.8}.subject-button small{position:absolute;inset-inline-end:10px;top:3px;font-size:9px;color:#899486}.subject-button.is-active{background:#183d34;border-color:#183d34;color:#fff}.subject-button.is-active .subject-icon{background:#f3d1ab;color:#183d34}.subject-button.is-active small{color:#d5e4d3}.subject-grid .subject-button[href$="/social-studies/"]:not(.is-active){border-color:#72977e;background:#e5eee3}.subject-grid .subject-button[href$="/social-studies/"]:not(.is-active) .subject-icon{background:#f4d8b6}.subject-button:focus-visible{outline-offset:3px}.breadcrumbs{display:flex;gap:11px;align-items:center;flex-wrap:wrap;padding-block:22px;font-size:12px;color:var(--muted)}.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:4px}.breadcrumbs>span:last-child{color:var(--ink)}.subject-hero{background:#0b2d24;position:relative;isolation:isolate;overflow:hidden;color:#fff}.subject-hero::before{content:'';position:absolute;inset:0;z-index:-2;background:url('/assets/three-planets-mars.webp') left 52%/cover no-repeat;opacity:.4}.subject-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10362b45,#10362bd9 65%)}.subject-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:60px;padding-block:54px 62px}.subject-hero h1{font-size:42px;color:#fff5e7;margin:0 0 15px;line-height:1.8}.subject-hero .eyebrow{color:#e6c09a;font-size:12px}.subject-lead{max-width:650px;font-size:16px;line-height:2.1;color:#d3e2d5;margin:0}.subject-emblem{flex:0 0 135px;height:135px;display:grid;place-items:center;border:1px solid #9bbaa05e;background:#d5e6d315;border-radius:50%;color:#edc196}.subject-emblem svg{width:69px;height:69px;stroke-width:.8}.path-links{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.path-links>a{display:flex;align-items:center;gap:18px;padding:23px 26px;border:1px solid var(--line);border-radius:16px;background:#fffdf8}.path-links>a:hover{border-color:#86a48a;background:#edf3e9}.path-links>a>svg:first-child{width:32px;height:32px;color:#477157}.path-links>a>svg:last-child{width:21px;height:21px;margin-inline-start:auto}.path-links strong{display:block;font-size:17px}.path-links small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.page-subject #apps{padding-bottom:38px}.page-subject .section-heading h2{font-size:27px}.pilot-note{margin:23px 0 0;font-size:13px;line-height:1.9;color:var(--muted)}.resource-banner{margin-block:18px 78px;border-radius:28px;background:#e2ece0;border:1px solid #ccdbc9;padding:50px 64px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:70px;overflow:hidden}.banner-copy .eyebrow{font-size:12px}.banner-copy h2{font-size:43px;line-height:1.7}.banner-line{font-family:YusrDisplay,Yusr,sans-serif;font-size:22px;margin:8px 0 17px}.banner-copy>p:not(.eyebrow):not(.banner-line){font-size:15px;line-height:2;color:#5d735e;max-width:460px}.button svg{width:20px;height:20px;margin-inline-start:14px}.banner-status{display:block;font-size:11px;color:#69806b;margin-top:13px}.paper-stack{position:relative;max-width:280px;width:100%;margin:20px auto;transform:rotate(-5deg)}.stack-back{position:absolute;inset:-10px 10px 10px -10px;background:#d9b48b;border-radius:6px;transform:rotate(9deg)}.stack-page{position:relative;background:#fffcf2;min-height:330px;border:1px solid #e2d9c6;border-radius:6px;padding:25px 30px;box-shadow:0 18px 30px -24px #20463770}.mini-brand{font-family:YusrDisplay,Yusr,sans-serif;font-size:17px;display:block;border-bottom:1px solid #dedfd0;padding-bottom:13px;color:#4b7257}.stack-page>svg{width:47px;height:47px;margin-top:20px;color:#a5794d;stroke-width:1}.stack-page strong{display:block;font-family:YusrDisplay,Yusr,sans-serif;line-height:2;font-size:20px;margin:12px 0 17px}.stack-page i{display:block;background:#dce2d2;height:3px;margin-top:9px;width:100%}.stack-page i:nth-last-of-type(1){width:65%}.stack-page small{font-size:10px;color:#8a9584;display:block;margin-top:20px}.catalog-hero{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-block:32px 56px;align-items:center;border-bottom:1px solid var(--line)}.catalog-hero .eyebrow{color:#728272;font-size:13px}.catalog-hero .eyebrow svg{width:23px;height:23px}.catalog-hero h1{font-size:54px;line-height:1.7;margin:0;color:#24634e}.catalog-tagline{font-family:YusrDisplay,Yusr,sans-serif;font-size:27px;line-height:2;margin:4px 0 0}.catalog-intro>p{font-size:16px;color:var(--muted);line-height:2;margin:19px 0}.catalog-intro .catalog-disclaimer{font-size:12px;padding-top:17px;border-top:1px solid #d5dfd0;margin:0;color:#7d7c68}.catalog-section{padding-block:48px 60px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}.catalog-toolbar h2{font-size:25px;line-height:1.8}.catalog-toolbar p{font-size:13px;color:var(--muted);margin:6px 0 0}.catalog-filters{display:flex;gap:5px;flex-wrap:wrap;background:#f0f2e9;padding:5px;border-radius:11px}.catalog-filters button{border:0;border-radius:8px;background:transparent;color:#697965;font-size:12px;padding:8px 14px;cursor:pointer}.catalog-filters button[aria-pressed=true]{background:#fffef9;color:var(--ink);box-shadow:0 2px 5px #1b3d3310;font-weight:700}.catalog-filters button:hover{background:#e1e9dc}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.resource-card{border-radius:19px;border:1px solid #d7e0d1;overflow:hidden;background:#fffdf8}.resource-card[hidden]{display:none}.resource-cover{height:308px;position:relative;padding:40px 29px 0;overflow:hidden;background:#dfebdf}.cover-1{background:#f3dbbd}.cover-2{background:#e8e7d9}.sample-label{position:absolute;inset-inline-start:18px;top:12px;color:#5c745a;font-size:10px}.resource-paper{background:#fffef7;border:1px solid #d3dccb;border-radius:5px 5px 0 0;height:300px;padding:20px 25px;box-shadow:0 12px 23px -15px #37573135;transform:rotate(-3deg)}.cover-1 .resource-paper{transform:rotate(3deg)}.cover-2 .resource-paper{transform:rotate(-2deg)}.resource-paper-top{display:flex;justify-content:space-between;border-bottom:1px solid #dce2d4;padding-bottom:12px;align-items:center;font-size:11px;color:#6a8064}.resource-paper-top b{font-weight:400;color:#9d9e87}.resource-paper>svg{width:43px;height:43px;margin-top:21px;color:#9c754b;stroke-width:1.2}.resource-paper h3{font-size:18px;line-height:1.8;margin:10px 0 5px}.resource-paper p{font-size:9px;color:#839176}.paper-lines{margin-top:15px}.paper-lines i{display:block;height:3px;width:100%;background:#e8ebdf;margin-bottom:8px}.paper-lines i:last-child{width:70%}.resource-card-content{padding:25px 25px 10px}.resource-type{font-size:11px;color:#8c704d}.resource-card-content h3{font-size:20px;line-height:1.9;margin:5px 0 12px}.resource-card-content>p{font-size:13px;line-height:2;color:#6a7b64;min-height:80px;margin:0 0 22px}.resource-status{display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:11px;font-weight:700;color:#6a725a;border-top:1px solid #e0e5d7;padding-top:15px}.resource-status span{font-size:9px;color:#8b917f;font-weight:400}.resource-card details{margin-top:14px;border-top:1px solid #e0e5d7;border-bottom:0}.resource-card details summary{font-size:12px;padding:15px 0;display:flex;justify-content:space-between;gap:8px;cursor:pointer;list-style:none}.resource-card details summary::-webkit-details-marker{display:none}.resource-card details p{font-size:12px;line-height:2;color:#71816b;padding:0;margin:0 0 12px}.catalog-footer-note{display:flex;align-items:center;gap:25px;border-top:1px solid var(--line);padding-block:35px 65px}.catalog-footer-note>svg{width:42px;height:42px;flex:0 0 42px;color:#9c784f}.catalog-footer-note h2{font-size:19px}.catalog-footer-note p{font-size:13px;line-height:2;color:var(--muted);max-width:650px;margin:8px 0 0}.catalog-footer-note>a{margin-inline-start:auto;font-size:12px;font-weight:700;display:flex;gap:10px;align-items:center;white-space:nowrap}.catalog-footer-note>a>svg{width:18px;height:18px}.coming-page{text-align:center;padding-block:35px 100px;max-width:760px}.coming-icon{width:110px;height:110px;margin:0 auto 27px;border-radius:30px;background:#e5eddf;display:grid;place-items:center;transform:rotate(-5deg)}.coming-icon svg{width:57px;height:57px;color:#557b57;stroke-width:1.2;transform:rotate(5deg)}.coming-page>.label{display:inline-block;font-size:11px}.coming-page h1{font-size:38px;margin:23px 0 3px;line-height:1.8}.coming-page h2{font-size:24px;color:#6b7d67}.coming-page p{max-width:550px;margin:22px auto 30px;font-size:16px;color:#75826b;line-height:2.1}.quiet-link{display:block;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:5px;margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html[dir=rtl] .button>svg,html[dir=rtl] .path-links>a>svg:last-child,html[dir=rtl] .catalog-footer-note>a>svg{transform:rotate(180deg)}html[lang=en] .subject-button-text{font-size:12px;line-height:1.45}html[lang=en] .subject-button small{font-size:9px}html[lang=en] .subject-hero h1{font-size:47px;line-height:1.3}html[lang=en] .subject-lead{line-height:1.8}html[lang=en] .banner-line,html[lang=en] .stack-page strong,html[lang=en] .catalog-tagline,html[lang=en] .mini-brand{font-family:YusrEnglish,Arial,sans-serif;line-height:1.4}html[lang=en] .catalog-hero h1{line-height:1.3;margin-bottom:15px}html[lang=en] .catalog-tagline{font-size:31px}html[lang=en] .catalog-intro p{line-height:1.85}html[lang=en] .resource-paper h3{font-size:21px;line-height:1.35}html[lang=en] .resource-card-content h3{font-size:22px;line-height:1.4}html[lang=en] .resource-card-content>p{line-height:1.85}html[lang=en] .resource-status{flex-wrap:wrap}html[lang=en] .catalog-toolbar h2{font-size:29px}html[lang=en] .subject-hero-inner>div:first-child{max-width:680px}html[lang=en] .coming-page h1{font-size:43px}html[lang=en] .coming-page h2{font-size:27px}html[lang=en] .catalog-footer-note h2{font-size:22px}
@media(max-width:1100px){.subject-grid{gap:7px}.subject-button{gap:7px;padding-inline:8px}.subject-icon{width:29px;height:29px;flex-basis:29px}.subject-icon svg{width:21px;height:21px}.subject-button-text{font-size:11px}.resource-banner{padding:40px;gap:35px}.catalog-hero{gap:40px}.catalog-toolbar{align-items:flex-start;flex-direction:column}.resource-grid{gap:16px}.resource-cover{padding-inline:18px;height:275px}.resource-card-content{padding:21px 20px 8px}.resource-paper{padding:17px 21px}.resource-status{flex-wrap:wrap}}
@media(max-width:800px){.subject-ribbon{padding:13px 0 16px}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.subject-button{min-height:62px;gap:7px;padding:10px 11px}.subject-button-text{font-size:12px}.subject-button small{top:2px;font-size:8px}.subject-icon{width:29px;height:29px;flex-basis:29px}.subject-ribbon-title{font-size:10px}.subject-hero-inner{padding-block:38px;gap:25px}.subject-hero h1{font-size:31px}.subject-hero .eyebrow{font-size:11px}.subject-lead{font-size:14px}.subject-emblem{flex-basis:85px;height:85px}.subject-emblem svg{width:47px;height:47px}.path-links{gap:12px;margin-top:20px}.path-links>a{padding:18px;gap:12px}.path-links strong{font-size:14px}.path-links small{font-size:10px}.path-links>a>svg:first-child{width:27px;height:27px}.page-subject .section-heading h2{font-size:24px}.resource-banner{grid-template-columns:1.2fr 1fr;padding:35px;gap:22px;margin-bottom:50px}.banner-copy h2{font-size:36px}.banner-line{font-size:18px}.banner-copy>p:not(.eyebrow):not(.banner-line){font-size:13px}.paper-stack{max-width:230px}.stack-page{padding:20px 23px;min-height:285px}.stack-page strong{font-size:17px}.stack-page>svg{width:38px;height:38px}.catalog-hero{gap:30px;padding-block:20px 35px}.catalog-hero h1{font-size:44px}.catalog-tagline{font-size:22px}.catalog-intro>p{font-size:14px}.catalog-intro .catalog-disclaimer{font-size:11px}.resource-grid{grid-template-columns:1fr 1fr;gap:20px}.resource-card:last-child{grid-column:auto}.resource-card-content>p{min-height:100px}.catalog-section{padding-block:35px 40px}.catalog-toolbar h2{font-size:23px}.catalog-footer-note{flex-wrap:wrap;gap:18px;padding-block:28px 45px}.catalog-footer-note>div{flex:1}.catalog-footer-note>a{margin-inline-start:60px}.catalog-footer-note h2{font-size:17px}.coming-page{padding-block:30px 70px}.coming-page h1{font-size:32px}.coming-page h2{font-size:22px}.coming-page p{font-size:14px}.coming-icon{width:93px;height:93px}html[lang=en] .subject-hero h1{font-size:36px}html[lang=en] .catalog-hero h1{font-size:45px}html[lang=en] .catalog-tagline{font-size:24px}html[lang=en] .subject-button-text{font-size:11px}html[lang=en] .coming-page h1{font-size:36px}html[lang=en] .coming-page h2{font-size:24px}}
@media(max-width:560px){.subject-button{flex-direction:column;justify-content:center;gap:5px;min-height:86px;text-align:center;padding:10px 5px 7px}.subject-button small{font-size:8px;top:3px;inset-inline-end:7px}.subject-button-text{font-size:10px;line-height:1.6}.subject-icon{width:29px;height:29px;flex-basis:29px;border-radius:8px}.subject-grid{gap:7px}.subject-ribbon-title{margin-bottom:7px}.breadcrumbs{font-size:10px;padding-block:17px;gap:8px}.subject-hero-inner{gap:16px;padding-block:32px}.subject-hero h1{font-size:25px;line-height:1.9}.subject-hero .eyebrow{font-size:10px;margin-bottom:10px}.subject-lead{font-size:13px;line-height:2}.subject-emblem{display:none}.path-links{grid-template-columns:1fr;gap:10px}.path-links>a{padding:18px 21px}.path-links strong{font-size:15px}.path-links small{font-size:11px}.resource-banner{grid-template-columns:1fr;padding:30px 27px;gap:16px}.banner-copy h2{font-size:38px}.banner-line{font-size:19px}.paper-stack{max-width:240px;margin-top:22px;margin-bottom:16px}.banner-status{font-size:10px}.catalog-hero{grid-template-columns:1fr;gap:25px;padding-top:15px}.catalog-hero h1{font-size:46px}.catalog-tagline{font-size:23px;line-height:1.9}.catalog-intro>p{font-size:14px;margin-top:15px}.catalog-intro .catalog-disclaimer{font-size:11px}.catalog-toolbar{gap:18px}.catalog-filters{width:100%;gap:3px;justify-content:space-between;padding:4px}.catalog-filters button{font-size:10px;padding:8px 10px}.resource-grid{grid-template-columns:1fr;gap:25px}.resource-cover{height:285px;padding:39px 39px 0}.resource-paper{padding:21px 25px}.resource-paper h3{font-size:20px}.resource-paper>svg{width:46px;height:46px}.resource-card-content{padding:23px 24px 8px}.resource-card-content h3{font-size:20px}.resource-card-content>p{min-height:0;font-size:13px}.resource-status{flex-wrap:nowrap}.resource-status span{font-size:9px}.catalog-footer-note{align-items:flex-start}.catalog-footer-note>svg{width:32px;height:32px;flex-basis:32px}.catalog-footer-note h2{font-size:16px;line-height:1.8}.catalog-footer-note p{font-size:12px}.catalog-footer-note>a{margin-inline-start:50px;font-size:11px}.coming-page h1{font-size:27px}.coming-page h2{font-size:20px}.coming-page .button{font-size:12px;padding-inline:18px}.page-subject .section-heading h2{font-size:23px}.pilot-note{font-size:12px}html[lang=en] .subject-button-text{font-size:10px}html[lang=en] .catalog-tagline{font-size:27px}html[lang=en] .subject-hero h1{font-size:33px}html[lang=en] .catalog-toolbar h2{font-size:26px}html[lang=en] .catalog-filters button{font-size:9px;padding-inline:8px}html[lang=en] .resource-card-content h3{font-size:23px}html[lang=en] .resource-status{flex-wrap:wrap}html[lang=en] .catalog-footer-note h2{font-size:19px}html[lang=en] .coming-page h1{font-size:32px}html[lang=en] .coming-page h2{font-size:23px}}

.trial-contact{margin-top:20px;padding-top:18px;border-top:1px solid #daba92}.trial-terms{font-size:14px;line-height:1.9;color:#665c46;margin:0 0 14px}.trial-request{width:100%;text-align:center;font-size:14px;padding-inline:14px}.trial-email-help{font-size:12px;line-height:1.9;color:#665c46;margin:12px 0 0}.trial-email-help bdi{font-size:12px;overflow-wrap:anywhere}.trial-request:focus-visible{outline:3px solid #183d34;outline-offset:4px}

.trial-download{width:100%;text-align:center;font-size:14px;padding-inline:14px}.trial-package{font-size:12px;color:#665c46;text-align:center;margin:7px 0 14px}.trial-contact .secondary{border-color:#7d8464}.teacher-feedback{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:32px;margin-top:28px;padding:28px 32px;background:#e8eee3;border:1px solid #d3dfce;border-radius:19px}.teacher-feedback .eyebrow{font-size:12px;margin-bottom:8px}.teacher-feedback h3{font-size:21px;line-height:1.8}.teacher-feedback p:not(.eyebrow){font-size:16px;line-height:1.9;color:var(--muted);margin:9px 0 0}.feedback-action{text-align:center}.feedback-action .button{font-size:14px;width:100%;padding-inline:14px}.feedback-action #feedback-privacy{font-size:12px}.trial-download:focus-visible{outline:3px solid #183d34;outline-offset:4px}@media(max-width:650px){.teacher-feedback{grid-template-columns:1fr;gap:20px;padding:24px}.teacher-feedback h3{font-size:20px}}

.release-details{border:1px solid #d6ddcf;border-radius:13px;padding:0 22px;margin-top:25px;background:#fffdf8}.release-details summary{font-size:14px;padding:18px 0;display:flex;justify-content:space-between;gap:15px;cursor:pointer;list-style:none}.release-details summary::-webkit-details-marker{display:none}.release-details summary span{font-size:20px}.release-details>div{padding:0 0 22px}.release-details p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 12px}.release-details code{display:block;direction:ltr;text-align:left;font-size:12px;overflow-wrap:anywhere;color:var(--ink);background:#edf1e7;padding:12px;border-radius:8px}

.feedback-action .feedback-link + .feedback-link{margin-top:10px}.footer-notes a{overflow-wrap:anywhere}

/* A third card action, stacked to keep Arabic labels readable on narrow cards. */
.trial-screenshots{display:flex;width:100%;justify-content:center;text-align:center;margin-top:10px;padding-inline:14px;font-size:14px;white-space:normal;box-sizing:border-box}
.trial-screenshots:focus-visible{outline:3px solid #183d34;outline-offset:4px}
#miyar-screenshots-title{scroll-margin-top:16px}
#miyar-screenshots-title:focus-visible{outline:2px solid var(--brand);outline-offset:6px}
