/*
Theme Name: Study Arabic Online
Theme URI: https://studyarabiconline.com/
Author: Study Arabic Online
Description: Modern responsive WordPress theme for Modern Standard, Palestinian, Jordanian and Levantine Arabic online lessons.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: study-arabic-online
*/
:root{--ink:#172c2b;--muted:#61706c;--cream:#fbfaf6;--teal:#137b6d;--line:#e5e8e1;--mint:#e5f3ed}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}h1{font-size:clamp(3rem,5.7vw,5.8rem);max-width:720px;margin:24px 0}h2{font-size:clamp(2.3rem,4vw,4rem)}h3{font-size:1.35rem}p{color:var(--muted)}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.16em;color:var(--teal)}.lead{font-size:1.13rem;max-width:620px}.hero{padding:100px 0 95px;background:radial-gradient(circle at 80% 30%,#dff2e8,transparent 42%),#f8faf5;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:center}.hero-copy{position:relative;z-index:1}.live-dot{display:inline-block;width:8px;height:8px;background:#29aa81;border-radius:50%;margin-right:8px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 23px;border-radius:12px;background:var(--teal);color:white;font-weight:750;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px);background:#0e5f54}.btn.alt{background:white;color:var(--ink);border:1px solid var(--line)}.hero-trust{display:flex;gap:17px;flex-wrap:wrap;margin-top:35px;font-size:.78rem;font-weight:700;color:#5c726b}.hero-art{min-height:445px;position:relative;border-radius:36px;background:linear-gradient(145deg,#c8e8d9,#eef7e9 62%,#d3e7e0);display:grid;place-items:center;overflow:hidden}.art-orbit{position:absolute;width:380px;height:380px;border:1px solid #ffffffa8;border-radius:50%}.orbit-two{width:550px;height:550px}.arabic-center{position:relative;font-family:Georgia,serif;font-size:clamp(5rem,10vw,9rem);font-weight:bold;line-height:1;color:#126d61;text-align:center;transform:rotate(-7deg)}.arabic-center span{display:block;font-family:inherit;font-size:.62rem;letter-spacing:.25em;margin-top:25px;transform:rotate(7deg)}.floating-note{position:absolute;background:white;padding:11px 17px;border-radius:13px;box-shadow:0 12px 28px #165a4c18;font-size:.78rem;font-weight:750}.note-top{top:48px;right:24px}.note-bottom{bottom:48px;left:22px}.section{padding:96px 0}.section-head{max-width:740px;margin-bottom:35px}.section-head h2{margin:12px 0 16px}.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.course-card{min-height:380px;border-radius:23px;padding:26px;display:flex;flex-direction:column;transition:transform .2s}.course-card:hover{transform:translateY(-6px)}.sage{background:#e3f0e9}.sand{background:#f5ead9}.lilac{background:#ede8f7}.peach{background:#f6e9e1}.course-top{display:flex;align-items:center;justify-content:space-between}.course-number{font-size:.67rem;font-weight:800;letter-spacing:.12em}.course-emoji{font-size:1.8rem}.course-arabic{font-family:Georgia,serif;font-size:2.4rem;color:#207c6e;margin:35px 0 15px;direction:rtl;text-align:left}.course-card h3{font-size:1.45rem;margin-bottom:12px}.course-card p{font-size:.92rem;line-height:1.7;flex:1}.course-card a{border-top:1px solid #193b3022;padding-top:18px;font-size:.85rem;font-weight:800;display:flex;justify-content:space-between}.features{background:#eef5ee}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.feature-grid h2{margin:16px 0 24px}.text-link{font-weight:800;color:var(--teal)}.feature-list>div{display:flex;gap:25px;padding:25px 0;border-bottom:1px solid #cbdad0}.feature-list>div>span{font-size:.82rem;font-weight:800;color:var(--teal)}.feature-list h3{margin-bottom:7px}.feature-list p{margin:0}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps-grid article{padding:32px;border:1px solid var(--line);border-radius:20px;background:white}.steps-grid article>span{display:block;color:var(--teal);font-weight:800;margin-bottom:44px}.cta{padding:75px 30px;background:#136b60;border-radius:30px;text-align:center;color:white}.cta .eyebrow{color:#a9e3cd}.cta h2{margin:15px 0}.cta p{color:#e0f2eb;max-width:530px;margin:0 auto 30px}.btn.light{background:white;color:#125e55}.btn.light:hover{background:#e5f5eb}.site-header{background:#fff}.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:15px;padding-bottom:15px}.site-header a{font-weight:700}.site-footer{background:#122e2c;color:white;padding:40px 0}.site-footer p,.site-footer a{color:#d4e4dd}.site-footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.site-main,.entry-content{max-width:850px;margin:55px auto;padding:0 22px}.menu-toggle{display:none}@media(max-width:1050px){.course-grid{grid-template-columns:repeat(2,1fr)}.hero-grid{gap:30px}}@media(max-width:720px){.hero{padding:55px 0}.hero-grid,.feature-grid,.steps-grid{grid-template-columns:1fr}.hero-art{min-height:320px}.section{padding:65px 0}.course-grid{grid-template-columns:1fr}.course-card{min-height:315px}.feature-grid{gap:25px}.site-header .wrap{flex-wrap:wrap}.menu-toggle{display:block}.hero-trust{gap:8px}.wrap{width:min(100% - 30px,1180px)}}

/* Version 2.1: responsive navigation, restrained branding and polished spacing */
.site-header{position:relative;z-index:20;background:#fff;border-bottom:1px solid #edf0ed}
.site-header .wrap.nav{display:flex;align-items:center;justify-content:space-between;gap:clamp(14px,2vw,32px);padding-top:17px;padding-bottom:17px;min-height:88px;flex-wrap:nowrap}
.site-header .brand{display:flex;align-items:center;flex:0 1 245px;min-width:0;max-width:245px;font-size:1.35rem;font-weight:850;letter-spacing:-.04em;line-height:1.1}
.site-header .brand span{color:#137b6d}
.site-header .brand .custom-logo-link{display:block;max-width:100%}
.site-header .brand img,.site-header .brand .custom-logo{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:62px!important;object-fit:contain}
.site-header .nav-menu{display:flex;align-items:center;justify-content:center;gap:clamp(15px,2vw,30px);list-style:none;margin:0;padding:0;flex:1 1 auto}
.site-header .nav-menu li{list-style:none;margin:0;padding:0}
.site-header .nav-menu li::marker{content:''}
.site-header .nav-menu a{display:block;white-space:nowrap;color:#263e3a;font-size:.91rem;font-weight:700;transition:color .2s}
.site-header .nav-menu a:hover{color:#137b6d}
.site-header .nav>.btn{flex:0 0 auto;max-width:220px;padding:13px 19px;text-align:center;font-size:.88rem;line-height:1.4}
.site-header .menu-toggle{display:none;border:1px solid #dce7e0;background:#fff;border-radius:10px;padding:10px 14px;color:#173e37;font-size:.9rem;font-weight:750;cursor:pointer}
.hero{padding:85px 0 88px}.hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,5vw,75px)}.hero h1{font-size:clamp(2.9rem,5.2vw,5.25rem);line-height:1.1;letter-spacing:-.06em}.hero-art{min-height:410px}.hero-copy .lead{max-width:610px}
@media(max-width:1050px){.site-header .brand{flex-basis:190px;max-width:190px}.site-header .nav-menu{gap:13px}.site-header .nav>.btn{padding:12px;font-size:.78rem;max-width:180px}}
@media(max-width:850px){.site-header .wrap.nav{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:75px}.site-header .brand{max-width:210px}.site-header .brand img,.site-header .brand .custom-logo{max-height:52px!important}.site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;grid-column:2;grid-row:1}.site-header .nav-menu{display:none;grid-column:1/-1;grid-row:2;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:8px 0;border-top:1px solid #e8ece8}.site-header .nav-menu.open{display:flex}.site-header .nav-menu li a{padding:11px 6px}.site-header .nav>.btn{grid-column:1/-1;grid-row:3;width:100%;max-width:none}.hero-grid{grid-template-columns:1fr}.hero-art{min-height:340px}}
@media(max-width:520px){.hero{padding:55px 0 65px}.hero h1{font-size:clamp(2.6rem,11vw,3.8rem)}.hero-art{min-height:285px}.floating-note{font-size:.67rem;padding:8px 10px}.arabic-center{font-size:6rem}}

/* v2.2: align brand at far left, navigation at far right */
@media(min-width:851px){
.site-header .wrap.nav{width:calc(100% - 64px)!important;max-width:none!important;margin:0 32px!important;justify-content:space-between!important;gap:clamp(20px,3vw,55px)!important}
.site-header .brand{margin-right:auto!important;flex-shrink:0!important}
.site-header .nav-menu{flex:0 1 auto!important;margin-left:auto!important}
.site-header .nav>.btn{margin-left:0!important}
}
@media(max-width:850px){.site-header .wrap.nav{width:calc(100% - 30px)!important;max-width:none!important;margin:0 15px!important}.site-header .brand{justify-self:start!important}}
