/* V52: only the existing center panel in the homepage HERO.
   Left playable Sudoku and right device/store panels retain their original markup. */
body.portal-home .hero-academy-column.hero-dual-learning{
  display:flex;flex-direction:column;justify-content:center;
  gap:clamp(7px,.95vw,13px);min-width:0;overflow:hidden;
}
body.portal-home .hero-dual-learning h2{
  font-size:clamp(21px,2.25vw,34px);line-height:1.19;
  margin:0;overflow-wrap:anywhere
}
body.portal-home .hero-dual-learning .hero-academy-description{
  font-size:clamp(12px,.91vw,14px);line-height:1.7;
  margin:0;max-width:65ch;
}
body.portal-home .hero-dual-academy-choices{
  display:grid;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0;
  width:100%;margin:4px 0 1px
}
body.portal-home .hero-dual-academy-choice{
  display:grid;grid-template-columns:53px minmax(0,1fr) 14px;
  align-items:center;gap:12px;min-width:0;padding:10px 12px;
  border-radius:14px;border:1px solid #cbdcf8;background:#fff;
  box-shadow:0 3px 10px #22558d0c;text-decoration:none;
  color:#174979;transition:background .15s,border-color .15s,transform .15s
}
body.portal-home .hero-dual-academy-choice.sudoku{background:#f5f9ff}
body.portal-home .hero-dual-academy-choice.rubik{
  background:linear-gradient(110deg,#fbfaff,#eff5ff);
  border-color:#c7c4f3
}
body.portal-home .hero-dual-academy-choice:hover{
  transform:translateY(-1px);border-color:#73a7de;background:#eaf4ff
}
body.portal-home .hero-dual-academy-choice:focus-visible{
  outline:3px solid #2775cb;outline-offset:2px
}
body.portal-home .hero-dual-choice-copy{min-width:0;display:grid;gap:4px}
body.portal-home .hero-dual-choice-copy strong{
  font-size:clamp(14px,1vw,16px);line-height:1.25;color:#163d77
}
body.portal-home .hero-dual-choice-copy small{
  font-size:clamp(10px,.75vw,12px);line-height:1.35;
  color:#446b95;white-space:normal
}
body.portal-home .hero-dual-choice-arrow{
  font:900 17px/1 system-ui;color:#2869ba;justify-self:center
}
body.portal-home .hero-dual-choice-art{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(3,minmax(0,1fr));gap:2px;
  width:50px;height:50px;padding:4px;border-radius:10px;
  border:2px solid #396497;box-shadow:0 4px 8px #14375b1c;
  transform:rotate(-7deg)
}
body.portal-home .hero-dual-choice-art.sudoku-icon{
  background:#f6fbff;transform:none;border-color:#9cbbde
}
body.portal-home .hero-dual-choice-art.sudoku-icon i{
  font:900 10px/1 system-ui;display:grid;place-items:center;
  background:#fff;border-radius:2px;color:#2867b5
}
body.portal-home .hero-dual-choice-art.rubik-icon{
  background:#1b385c;transform:rotate(-8deg);
}
body.portal-home .hero-dual-choice-art.rubik-icon i{
  border-radius:2px;background:#f7dc35
}
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(2),
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(6){background:#ee752e}
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(3),
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(7){background:#f6f6f2}
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(4),
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(9){background:#2078cc}
body.portal-home .hero-dual-choice-art.rubik-icon i:nth-child(8){background:#1c9762}
body.portal-home .hero-dual-learning-note{
  font-size:clamp(10px,.75vw,12px);line-height:1.5;color:#476893;
  margin:0;text-wrap:pretty
}
@media(max-width:1200px){
  body.portal-home .hero-dual-learning h2{font-size:clamp(20px,2vw,28px)}
  body.portal-home .hero-dual-academy-choice{padding:8px 10px}
}
@media(max-width:720px){
  body.portal-home .hero-dual-learning{padding-block:15px}
  body.portal-home .hero-dual-learning h2{font-size:25px}
  body.portal-home .hero-dual-academy-choice{
    grid-template-columns:46px minmax(0,1fr) 14px;gap:10px
  }
  body.portal-home .hero-dual-choice-art{width:44px;height:44px}
}
html[dir=rtl] body.portal-home .hero-dual-academy-choices,
html[dir=rtl] body.portal-home .hero-dual-choice-copy{text-align:right}
html[dir=rtl] body.portal-home .hero-dual-choice-arrow{transform:scaleX(-1)}
@media(prefers-reduced-motion:reduce){
 body.portal-home .hero-dual-academy-choice{transition:none}
 body.portal-home .hero-dual-academy-choice:hover{transform:none}
}
