.gpage{box-sizing:border-box}
/* בחינות המרכז הארצי ופתרונן · same language as the approved pages (G2 solutions, איפה אני נבחן):
   Material 3 roles in Yoel Geva brand. Headlines Aduma, UI Open Sans Hebrew. Brand tokens in core.css. */
:root{
  --md-sc-lowest:#fff;--md-sc-low:#EEF1F6;--md-outline-variant:#CDD3DB;
  --cube:#E4EEF6;--cube-hover:#D6E6F2;--soft-ic:#6F8BA1;
  --emph:cubic-bezier(.2,0,0,1);
  --side-w:384px;
}
.gpage [hidden]{display:none!important}
.gpage,.gpage{background:#F4F6FA}/* single light theme by choice: the brand page look */ 
.gpage .ic{width:24px;height:24px;flex:none}
.gpage .rp{position:relative;overflow:hidden;isolation:isolate}
.gpage .rp::before{content:"";position:absolute;inset:0;background:currentColor;opacity:0;transition:opacity .2s var(--emph);pointer-events:none;z-index:-1;border-radius:inherit}
.gpage .rp:hover::before{opacity:.06}.gpage .rp:active::before,.gpage .rp:focus-visible::before{opacity:.1}/* ---------- header ---------- */


.gpage .top{display:flex;align-items:center;gap:24px;padding:20px 32px 12px 24px}
.gpage .brand img{height:42px;width:auto}
.gpage .vdiv{width:1px;height:64px;background:var(--md-outline-variant);flex:none}
.gpage .ttl{font:400 4.16rem/1.08 Aduma,OSH,sans-serif;letter-spacing:-.01em}/* ---------- layout ---------- */


.gpage .panes{display:grid;grid-template-columns:var(--side-w) minmax(0,1fr);grid-template-rows:auto 1fr;gap:16px;padding:8px 16px 32px;align-items:start}
.gpage .side{grid-column:1;grid-row:1;min-width:0}
.gpage .side2{grid-column:1;grid-row:2;display:grid;gap:16px;min-width:0}
.gpage .main{grid-column:2;grid-row:1/3;min-height:78vh;background:var(--md-sc-lowest);border-radius:28px;box-shadow:0 1px 2px rgba(16,30,54,.05);padding:36px 44px 40px;outline:none;min-width:0}
.gpage .card{background:var(--md-sc-lowest);border-radius:24px;padding:18px;box-shadow:0 1px 2px rgba(16,30,54,.05)}
.gpage .card-h{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding-inline:2px}
.gpage .card-ic{width:44px;height:44px;flex:none}
.gpage .card-ic svg{width:100%;height:100%;overflow:visible}
.gpage .card-h h2{font:400 2.16rem/1.1 Aduma,OSH,sans-serif}
.gpage .card-h p{font-size:1.344rem;line-height:1.35;color:var(--ink2);margin-top:3px}/* ---------- picker ---------- */


.gpage .lbl{font:700 1.376rem/1.2 OSH;color:var(--ink2);margin:4px 2px 8px}
.gpage .years{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-bottom:16px}
.gpage .yr{display:grid;justify-items:center;gap:1px;padding:11px 2px;border-radius:14px;background:var(--cube);color:var(--navy);font:400 1.92rem/1 Aduma,OSH,sans-serif;transition:background-color .25s var(--emph),color .25s var(--emph)}
.gpage .yr small{display:none}
.gpage .yr:hover{background:var(--cube-hover)}
.gpage .yr[aria-pressed=true]{background:var(--navy);color:#fff}
.gpage .yr[aria-pressed=true] small{color:#CFE0EC}
.gpage .moadim{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.gpage .mo{display:flex;align-items:center;gap:8px;min-height:50px;padding:6px 12px;border-radius:14px;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--md-outline-variant);text-align:start;transition:box-shadow .25s var(--emph),background-color .25s var(--emph)}
.gpage .mo i{width:10px;height:10px;border-radius:50%;flex:none}
.gpage .mo b{font:700 1.52rem/1.2 OSH}
.gpage .mo small{font-size:1.248rem;color:var(--ink3);margin-inline-start:auto}
.gpage .mo:hover{box-shadow:inset 0 0 0 1.5px var(--soft-ic)}
.gpage .mo[aria-pressed=true]{background:var(--cube);box-shadow:inset 0 0 0 2px var(--navy)}/* banner + notes */


.gpage .banner{display:block;border-radius:6px;overflow:hidden}
.gpage .banner img{display:block;width:100%;height:auto}
.gpage .b-m{display:none!important}
.gpage .note h2{font:400 2.08rem/1.1 Aduma,OSH,sans-serif;margin-bottom:8px}
.gpage .note p{font-size:1.472rem;line-height:1.65;color:var(--ink2)}
.gpage .about h2{font-size:1.84rem}
.gpage .about p{font-size:1.376rem;color:var(--ink3)}/* ---------- main: the chosen moed ---------- */


.gpage .hero{display:flex;align-items:center;gap:32px;margin-bottom:30px}
.gpage .tile{position:relative;flex:none;width:200px;height:200px;border-radius:32px;background:var(--bg);overflow:hidden;perspective:700px;transition:background-color .5s ease}
.gpage .tile .blob{position:absolute;inset:8px;width:auto;height:auto}
.gpage .tile .blob path{fill:var(--blob);transition:fill .5s ease}
.gpage .tile-ic{position:absolute;inset:14px 14px 34px;width:auto;height:auto;overflow:visible;filter:drop-shadow(0 10px 14px rgba(20,40,60,.18));transform-origin:50% 60%}
.gpage .enter .tile-ic{animation:flipIn .7s cubic-bezier(.3,1.45,.5,1) both}
.gpage .tag{position:absolute;bottom:12px;left:50%;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 13px 0 11px;border-radius:999px;background:#fff;font:700 1.376rem/1 OSH;white-space:nowrap;transform:translateX(-50%);box-shadow:0 4px 10px -4px rgba(16,30,54,.25)}
.gpage .tag i{width:9px;height:9px;border-radius:50%;background:currentColor}
.gpage .hero-t{min-width:0;flex:1}
.gpage .h-row{display:flex;align-items:center;gap:6px;margin-inline-start:-8px}
.gpage .h-main{font:400 4.32rem/1.08 Aduma,OSH,sans-serif;letter-spacing:-.015em;min-width:0}
.gpage .h-sub{font-size:1.6rem;color:var(--ink2);margin:6px 0 18px}
.gpage .qn{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--soft-ic);flex:none;transition:background-color .25s var(--emph),color .25s var(--emph)}
.gpage .qn:hover{background:#EEF3F8;color:var(--navy)}
.gpage .qn:disabled{color:#D5DEE6;cursor:default;background:transparent}
.gpage .qn .ic{width:22px;height:22px}
.gpage .acts{display:flex;flex-wrap:wrap;gap:10px}
.gpage .btn-p{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px 0 26px;border-radius:999px;background:var(--navy);color:#fff;font:700 1.6rem/1 OSH;box-shadow:0 10px 22px -14px rgba(0,69,102,.8)}
.gpage .btn-p .ic{width:20px;height:20px}
.gpage .btn-s{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 22px 0 14px;border-radius:999px;background:var(--cube);color:var(--navy);font:700 1.6rem/1 OSH}
.gpage .b-ic{width:34px;height:34px;overflow:visible}/* sections: one column each, chapter cards in the soft cube colour */


.gpage .secs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.gpage .sec{display:grid;gap:8px;align-content:start}
.gpage .enter .sec{animation:rise .5s var(--emph) both;animation-delay:calc(.12s + var(--i) * .07s)}
.gpage .sec-h{display:flex;align-items:center;gap:10px;font:400 2.32rem/1.1 Aduma,OSH,sans-serif;margin:0 2px 4px}
.gpage .sec-ic{width:42px;height:42px;flex:none;overflow:visible}
.gpage .chap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:12px 18px;border-radius:18px;background:var(--cube);color:var(--navy);transition:background-color .25s var(--emph),transform .3s var(--emph)}
.gpage .chap:hover{background:var(--cube-hover);transform:translateY(-1px)}
.gpage .chap-t{display:grid;gap:6px;flex:1;min-width:0}
.gpage .chap-ic{width:44px;height:44px;flex:none;overflow:visible}
.gpage .chap-m{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gpage .chap-m small{font:700 1.44rem/1 OSH}
.gpage .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gpage .chap-t b{font:400 2.4rem/1 Aduma,OSH,sans-serif}
.gpage .chap-go{display:inline-flex;align-items:center;gap:6px;font:700 1.408rem/1 OSH;color:var(--navy);white-space:nowrap}
.gpage .chap-go .ic{width:20px;height:20px;transition:transform .3s var(--emph)}
.gpage .chap:hover .chap-go .ic{transform:translateX(-3px)}/* difficulty: 5 rising bars, filled in navy */


.gpage .lv{display:inline-flex;direction:ltr;align-items:flex-end;gap:3px;height:20px}
.gpage .lv i{width:6px;height:var(--h);border-radius:2px;background:#C9D7E3}
.gpage .lv i.on{background:var(--navy)}
.gpage .lv-note{display:flex;align-items:center;gap:12px;margin-top:22px;padding:12px 16px;border-radius:14px;background:var(--md-sc-low);font-size:1.344rem;line-height:1.5;color:var(--ink2)}
.gpage .lv-note .lv{flex:none}/* previous / next moed */


.gpage .pn{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px;padding-top:22px;border-top:1px solid var(--md-outline-variant)}
.gpage .pn-b{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border-radius:18px;color:var(--navy);text-align:start;font:400 1.84rem/1.15 Aduma,OSH,sans-serif}
.gpage .pn-b span{display:grid;gap:3px}
.gpage .pn-b small{font:700 1.248rem/1 OSH;color:var(--ink3)}
.gpage .pn-n{justify-content:flex-end;text-align:end}
.gpage .pn-b .ic{color:var(--soft-ic)}/* gestures (season icons) */


.gpage .gx{transform-box:fill-box}
.gpage .gx-sway{transform-origin:50% 100%;animation:gSway 2.4s ease-in-out .6s infinite alternate}
.gpage .enter .gx-bloom{transform-origin:50% 50%;animation:gBloom .7s cubic-bezier(.3,1.5,.5,1) .45s both}
.gpage .gx-rays{transform-box:view-box;transform-origin:100px 100px;animation:gSpin 12s linear infinite,gPulse 1.2s ease-in-out infinite alternate}
.gpage .gx-fall{transform-origin:50% 0;animation:gFall 2.6s ease-in-out infinite}
.gpage .gx-rain path{stroke-dasharray:6 30;animation:gRain .9s linear infinite}
@keyframes flipIn{from{transform:rotateY(-90deg) scale(.9);opacity:0}to{transform:none;opacity:1}}
@keyframes rise{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
@keyframes gSway{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}
@keyframes gBloom{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
@keyframes gSpin{to{rotate:360deg}}
@keyframes gPulse{from{scale:.9}to{scale:1.06}}
@keyframes gFall{0%,100%{transform:translate(0,-4px) rotate(-10deg)}50%{transform:translate(4px,6px) rotate(10deg)}}
@keyframes gRain{from{stroke-dashoffset:36}to{stroke-dashoffset:0}}

/* ---------- tablet ---------- */
@media (max-width:1180px) and (min-width:900px){
  :root{--side-w:330px}
  .gpage .ttl{font-size:3.36rem}
  .gpage .main{padding:28px 28px 36px}
  .gpage .hero{gap:22px}
  .gpage .tile{width:160px;height:160px;border-radius:26px}
  .gpage .h-main{font-size:3.52rem}
}

/* ---------- phone: picker, then the moed, then the banner and notes; no decorative tile ---------- */
@media (max-width:899px){
  .gpage .top{flex-wrap:wrap;gap:10px 12px;padding-block:14px 10px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
  .gpage .brand img{height:30px}
  .gpage .vdiv{display:none}
  .gpage .ttl{flex-basis:100%;font-size:3.68rem;padding-top:6px}
  .gpage .panes{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-block:8px 24px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .gpage .panes>*{min-width:0}
  .gpage .side{position:static}
  .gpage .years{grid-template-columns:repeat(6,1fr);gap:5px}
  .gpage .yr{font-size:1.68rem;padding:9px 2px}
  .gpage .yr small{display:none}
  .gpage .main{min-height:0;padding:22px 16px 22px;border-radius:24px;scroll-margin-top:8px}
  .gpage .tile{display:none}
  .gpage .hero{display:block;margin-bottom:22px}
  .gpage .h-row{margin-inline:-6px}
  .gpage .h-main{font-size:3.2rem;flex:1;text-align:center}
  .gpage .h-sub{text-align:center}
  .gpage .acts{display:grid;grid-template-columns:1fr}
  .gpage .btn-p,.gpage .btn-s{justify-content:center}
  .gpage .secs{grid-template-columns:1fr;gap:18px}
  .gpage .sec{grid-template-columns:1fr 1fr}
  .gpage .chap-ic{width:36px;height:36px}
  .gpage .chap{min-height:70px;padding:10px 14px}
  .gpage .chap-go{font-size:0;gap:0}
  .gpage .pn-b{font-size:1.6rem;padding:8px 10px}
  .gpage .b-d{display:none!important}
  .gpage .b-m{display:block!important;max-width:420px;margin-inline:auto}
  .gpage .banner{display:flex;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.gpage *{transition:none!important;animation:none!important}}
