:root{--green:#073e32;--gold:#edc374;--paper:#fbf5e8;--serif:Georgia,'Times New Roman',serif;color-scheme:light;font-family:Arial,sans-serif;color:#153c32;background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a:focus-visible,button:focus-visible{outline:3px solid #c77b1c;outline-offset:4px}.wrap{width:min(1320px,94%);margin-inline:auto}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.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}.skip{position:fixed;top:8px;left:8px;z-index:99;padding:12px;background:white;transform:translateY(-180%)}.skip:focus{transform:none}[hidden]{display:none!important}.ui-he{display:none}[data-mode=he] .ui-fr{display:none}[data-mode=he] .ui-he{display:inline}.ui-he{font-family:Arial,sans-serif}
.topbar{background:linear-gradient(110deg,#042c25,#0a4536);color:#fff9e8;border-bottom:1px solid #c3a163}.topbar-inner{min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--gold);font:32px var(--serif);letter-spacing:-1px;white-space:nowrap}.brand svg{width:37px;height:32px}.header-actions{display:flex;align-items:center;gap:22px}.language-switch{display:flex;align-items:center;gap:2px}.language-switch button{border:0;color:#fff5df;background:transparent;min-width:43px;min-height:42px;cursor:pointer;font-size:14px;border-radius:6px}.language-switch button[aria-pressed=true]{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}.language-switch span{opacity:.45}.login{padding:10px 23px;border:1px solid #f3d798;border-radius:8px;background:linear-gradient(#ffdc93,#eab75d);color:#15372c;font-size:14px}.login:hover{background:#ffe2a5}.bh{font-size:12px;color:#f5e6c4;align-self:flex-start;margin-top:8px}
.hero{position:relative;background:#082c23 url('/assets/home-emerald/library.webp') center 52%/cover no-repeat;color:#fff9ed;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#02181388,#02181333 43%,transparent 65%)}.hero-inner{position:relative;min-height:clamp(214px,20vw,268px);display:flex;align-items:center}.hero-copy{padding:24px 0 30px;width:58%;max-width:730px}.hero h1{font:700 clamp(35px,3.7vw,55px)/1.08 var(--serif);letter-spacing:-1.4px;margin:0 0 16px;text-wrap:balance}.hero h1 em{font-style:normal;color:#f3ca79}.hero p{font:17px/1.6 var(--serif);margin:0;color:#f1e5ca}.hero-rule{display:flex;align-items:center;gap:9px;margin-top:18px;width:200px;color:var(--gold);font-size:9px}.hero-rule:before,.hero-rule:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,#d4ae69)}.hero-rule:after{transform:rotate(180deg)}
.main-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:14px}.action-card{position:relative;isolation:isolate;min-height:130px;border:1px solid #cfad70;border-radius:9px;overflow:hidden;display:flex;align-items:center;padding:20px 24px;color:#fff6df;box-shadow:0 3px 9px #653d1512;background:#113c46}.action-card>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;transition:transform .25s}.action-card:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#021e35f2,#021e35ae 44%,transparent 85%)}.action-card.practice:after{background:linear-gradient(90deg,#674012f2,#674012a6 44%,transparent 90%)}.action-card.play:after{background:linear-gradient(90deg,#003b31bd,#003b3160 50%,transparent)}.action-card:hover>img{transform:scale(1.035)}.action-card h2{font:clamp(23px,2.2vw,33px)/1.1 var(--serif);margin:0 0 7px;text-shadow:0 1px 5px #0005}.action-card p{font-size:12px;color:#f7ead0;margin:0 0 12px}.round-arrow{display:inline-flex;width:31px;height:31px;border:1px solid #efd092;border-radius:50%;align-items:center;justify-content:center;transition:transform .2s;background:#f1c576;color:#16372d}.round-arrow svg{width:17px;height:17px}a:hover .round-arrow{transform:translateX(3px)}
.study-hub{padding-top:18px;scroll-margin-top:15px}.section-heading{display:flex;align-items:center;justify-content:center;gap:22px;margin-bottom:13px;text-align:center}.section-heading:before,.section-heading:after{content:'';width:110px;height:1px;background:linear-gradient(90deg,transparent,#b38b44)}.section-heading:after{transform:rotate(180deg)}.section-heading h2{font:700 clamp(23px,2.2vw,31px)/1.2 var(--serif);margin:0}.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.subject-card{min-height:111px;display:grid;grid-template-columns:43% 57%;border:1px solid #dfc595;border-radius:8px;overflow:hidden;background:linear-gradient(120deg,#fffaf0,#f6ecd5);box-shadow:0 2px 5px #784b1910;transition:transform .2s,box-shadow .2s}.subject-card:hover{transform:translateY(-3px);box-shadow:0 7px 15px #714c1826;border-color:#aa782e}.subject-art{width:100%;height:100%;object-fit:cover}.subject-label{padding:15px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:0;gap:5px}.subject-label .fr,.subject-label .he{font:600 clamp(18px,1.75vw,24px)/1.2 var(--serif)}.subject-label small{font-size:10px;color:#6e5b38;font-weight:400}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:clamp(17px,1.6vw,22px)}.subject-card.games .subject-art{object-position:83% center}
.paracha-banner{position:relative;isolation:isolate;overflow:hidden;margin-top:18px;min-height:82px;display:flex;align-items:center;gap:26px;padding:18px 32px;border-radius:8px;background:#073d31;color:#fff2d1;border:1px solid #cfb37d}.paracha-banner:before{position:absolute;z-index:-1;content:'';inset:0;background:linear-gradient(90deg,#033b31 10%,#033b31e0 43%,#033b3130 83%),url('/assets/home-emerald/library.webp') 80% 68%/cover}.paracha-banner h2{font:clamp(22px,2.2vw,30px)/1.2 var(--serif);margin:0}.discover{display:inline-flex;align-items:center;gap:18px;border-radius:7px;padding:11px 20px;background:#f2cd83;color:#15392d;font-size:13px;white-space:nowrap}.discover svg{width:16px;height:16px}.motto{font-size:11px;text-align:center;color:#6e6a51;margin:15px 0 18px;line-height:1.7}
.training-main{padding:35px 0}.training-intro{max-width:720px;margin:25px auto 30px;text-align:center}.training-intro h1{font:700 clamp(30px,4vw,45px)/1.2 var(--serif);margin:15px 0}.training-intro p{line-height:1.7;color:#526356}.back{font-size:14px;border-bottom:1px solid #a9966b;padding-bottom:3px}.training-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.training-card{border:1px solid #d7bc85;border-radius:12px;overflow:hidden;background:#fffaf0}.training-card:hover{box-shadow:0 5px 18px #073e321a}.training-card img{width:100%;height:160px;object-fit:cover}.training-card .content{padding:20px}.training-card h2{font:700 26px/1.3 var(--serif);margin:0 0 8px}.training-card h2 span{display:block;font-size:26px}.training-card p{font-size:14px;line-height:1.6;color:#536154;margin:10px 0 18px}.training-card .go{font-weight:600;font-size:13px;color:#765019}
[data-mode=he] .hero-copy{text-align:right;direction:rtl}[data-mode=he] .hero-rule{margin-inline-start:auto}[data-mode=he] .subject-label .he{order:-1}[data-mode=he] .action-copy{text-align:right;direction:rtl}[data-mode=he] .section-heading h2{direction:rtl}
@media(min-width:1500px){.hero-inner{min-height:280px}.subject-card{min-height:120px}.main-actions .action-card{min-height:145px}}
@media(max-width:1000px){.brand{font-size:27px}.hero h1{font-size:40px}.hero-copy{width:65%}.hero p{font-size:15px}.action-card{padding:18px 16px;min-height:125px}.action-card h2{font-size:25px}.action-card p{font-size:11px}.subject-card{grid-template-columns:40% 60%;min-height:104px}.subject-label{padding:10px 6px}.subject-label .fr,.subject-label .he{font-size:19px}.subject-label small{display:none}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:17px}}
@media(max-width:720px){.topbar-inner{min-height:61px;gap:7px}.brand{font-size:25px;gap:6px}.brand svg{width:27px}.header-actions{gap:8px}.login{padding:10px 12px;font-size:12px}.bh{display:none}.language-switch{gap:0}.language-switch button{font-size:12px;min-width:32px;min-height:42px}.hero{background-position:64% center}.hero:before{background:linear-gradient(90deg,#042c26e8,#042c26a8 50%,#042c2608)}.hero-inner{min-height:224px}.hero-copy{width:78%;padding:25px 0}.hero h1{font-size:clamp(31px,6vw,42px);letter-spacing:-.7px;margin-bottom:12px}.hero p{font-size:14px;max-width:270px}.hero-rule{width:140px;margin-top:13px}.main-actions{gap:7px;margin-top:10px}.action-card{padding:13px 10px;min-height:117px;align-items:flex-start}.action-card h2{font-size:clamp(16px,3.5vw,24px);margin-bottom:12px}.action-card p{display:none}.action-card:after{background:linear-gradient(90deg,#062c48eb,#062c4888)}.action-card.practice:after{background:linear-gradient(90deg,#644018ed,#64401866)}.round-arrow{width:27px;height:27px}.study-hub{padding-top:18px}.section-heading{gap:12px;margin-bottom:12px}.section-heading:before,.section-heading:after{width:45px}.section-heading h2{font-size:25px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.subject-card{grid-template-columns:42% 58%;min-height:99px}.subject-label .fr,.subject-label .he{font-size:20px}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:18px}.paracha-banner{padding:18px;gap:16px;justify-content:space-between;margin-top:15px}.paracha-banner h2{font-size:22px;max-width:220px}.discover{font-size:12px;padding:10px 13px;gap:8px}.motto{font-size:10px;padding-inline:14px}.training-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.training-card .content{padding:14px}.training-card img{height:120px}.training-card h2,.training-card h2 span{font-size:23px}.training-card p{font-size:13px}.training-main{padding-top:23px}}
@media(max-width:380px){.brand{font-size:21px}.brand svg{width:23px}.header-actions{gap:3px}.login{padding:9px}.hero h1{font-size:30px}.subject-label .fr,.subject-label .he{font-size:18px}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:16px}.paracha-banner{padding:15px;gap:8px}.paracha-banner h2{font-size:20px}.training-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.subject-card{height:112px}.subject-art{min-height:0}.subject-label{overflow-wrap:break-word}
@media(min-width:1500px){.subject-card{height:120px}}
@media(max-width:720px){.subject-card{height:103px}}

/* A compact panorama for phones held sideways; no orientation lock or page scaling. */
.orientation-tip{display:none}
@media(orientation:portrait) and (max-width:600px){
 .orientation-tip{display:flex;align-items:center;justify-content:center;gap:8px;margin:9px auto 0;color:#526454;font-size:11px;line-height:1.4;text-align:center}
 .orientation-tip svg{width:17px;height:17px;flex:0 0 auto;color:#98733b}
}
@media(orientation:landscape) and (min-width:600px) and (max-height:600px){
 .wrap{--landscape-gutter:max(24px,env(safe-area-inset-left),env(safe-area-inset-right));width:calc(100% - var(--landscape-gutter) - var(--landscape-gutter));max-width:1180px}
 .topbar-inner{min-height:40px;gap:12px}.brand{font-size:24px;gap:8px}.brand svg{width:28px;height:26px}
 .header-actions{gap:16px}.language-switch button{min-height:36px;min-width:38px;font-size:13px}.login{padding:8px 18px;font-size:12px}.bh{display:block;font-size:10px;margin-top:5px}
 .hero{background-position:center 55%}.hero:before{background:linear-gradient(90deg,#042c26bd,#042c2655 45%,transparent 70%)}
 .hero-inner{min-height:76px}.hero-copy{width:62%;max-width:680px;padding:10px 0}.hero h1{font-size:28px;line-height:1.02;letter-spacing:-.7px;margin:0}.hero p,.hero-rule{display:none}
 .main-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:6px}.action-card{min-height:54px;padding:10px 14px;align-items:center;border-radius:7px}
 .action-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}.action-card h2{font-size:21px;line-height:1.15;margin:0}.action-card p{display:none}.round-arrow{flex:0 0 26px;width:26px;height:26px}.round-arrow svg{width:16px;height:16px}
 .study-hub{padding-top:6px}.section-heading{gap:14px;margin-bottom:4px}.section-heading h2{font-size:22px;line-height:1.1}.section-heading:before,.section-heading:after{width:70px}
 .subject-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 9px}.subject-card{height:59px;min-height:59px;grid-template-columns:34% 66%;border-radius:6px}.subject-label{padding:5px 4px;gap:2px}.subject-label .fr,.subject-label .he{font-size:17px;line-height:1.12}.subject-label small{display:none}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:15px;line-height:1.1}
 .paracha-banner{margin-top:6px;min-height:36px;padding:4px 16px;gap:18px;justify-content:space-between}.paracha-banner h2{font-size:18px;line-height:1.15;max-width:none}.discover{padding:6px 14px;gap:10px;font-size:12px}.discover svg{width:14px;height:14px}
 .motto{display:none}body{padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .training-main{padding:16px 0}.training-intro{margin:12px auto 16px;max-width:850px}.training-intro h1{font-size:28px;margin:8px 0}.training-intro p{font-size:13px;margin:8px 0;line-height:1.5}.training-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.training-card img{height:90px}.training-card .content{padding:12px}.training-card h2,.training-card h2 span{font-size:22px}.training-card p{font-size:12px;line-height:1.5}
}
@media(orientation:landscape) and (min-width:600px) and (max-width:760px) and (max-height:600px){
 .wrap{--landscape-gutter:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))}
 .hero h1{font-size:26px}.action-card h2{font-size:19px}.action-card{padding-inline:10px}.subject-card{height:65px;min-height:65px;grid-template-columns:29% 71%}.subject-label .fr,.subject-label .he{font-size:16px}.subject-card.history .subject-label .fr,.subject-card.history .subject-label .he{font-size:14px}
}
