/* Shared subject-art cards. Inspired by the featured Zumi 2048 card.
   Course status and destinations come from the learner's actual saved activity. */
.zlc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.zlc-grid>.zlc-card:first-child{grid-column:1/-1}
.zlc-card{--zlc-bg:#30225e;--zlc-bg2:#7254bd;--zlc-light:#e5cfff;--zlc-art-tint:#ffd78b;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,.61fr);min-height:228px;border:1px solid #795bc8;border-radius:24px;color:#fff!important;text-decoration:none!important;background:radial-gradient(circle at 90% 10%,var(--zlc-bg2),transparent 62%),linear-gradient(130deg,var(--zlc-bg),var(--zlc-bg2));box-shadow:0 13px 28px #36205b20;transition:transform .18s ease,box-shadow .18s ease}
.zlc-card--ratios{--zlc-bg:#31245b;--zlc-bg2:#7e55c8;--zlc-light:#f1e5ff;--zlc-art-tint:#ffdf85}
.zlc-card--numbers{--zlc-bg:#133e62;--zlc-bg2:#327ba7;--zlc-light:#dbf2ff;--zlc-art-tint:#bde8ff}
.zlc-card--expressions{--zlc-bg:#13584c;--zlc-bg2:#328a74;--zlc-light:#defbf0;--zlc-art-tint:#fbe2a7}
.zlc-card--geometry{--zlc-bg:#83404b;--zlc-bg2:#b46c7c;--zlc-light:#fff0e8;--zlc-art-tint:#ffd4a6}
.zlc-card--statistics{--zlc-bg:#5b3b17;--zlc-bg2:#a67b37;--zlc-light:#fff3d8;--zlc-art-tint:#e4f5c0}
.zlc-card:hover{transform:translateY(-3px);box-shadow:0 19px 38px #36205b30;color:#fff!important}
.zlc-card:focus-visible{outline:3px solid var(--zumi-focus,#8863d4);outline-offset:3px}
.zlc-card-copy{position:relative;z-index:1;min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:clamp(20px,3vw,29px)}
.zlc-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.zlc-domain,.zlc-state{display:inline-flex;align-items:center;min-height:27px;padding:6px 10px;border:1px solid #ffffff38;border-radius:999px;background:#ffffff18;color:#fff;font-size:10px;line-height:1.1;letter-spacing:.035em;font-weight:850}
.zlc-state{background:#19142c4d}
.zlc-title{max-width:430px;font-size:clamp(21px,2.6vw,31px);letter-spacing:-.035em;line-height:1.15;font-weight:900;color:#fff;overflow-wrap:anywhere}
.zlc-detail{display:block;color:var(--zlc-light);font-size:13px;line-height:1.5}
.zlc-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto;min-height:42px;background:#fff;color:var(--zlc-bg);padding:7px 8px 7px 14px;border-radius:11px;font-size:12px;font-weight:900}
.zlc-cta>span{display:grid;place-items:center;background:#efe9fb;color:var(--zlc-bg);border-radius:8px;width:29px;height:29px;font-size:18px;transition:transform .18s ease}
.zlc-card:hover .zlc-cta>span{transform:translate(2px,-2px)}
.zlc-art{position:relative;min-width:0;min-height:100%;padding:22px 13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#fff;font-weight:850;text-align:center;transform:rotate(-5deg)}
.zlc-art:before{content:"";z-index:-1;position:absolute;width:210px;aspect-ratio:1;border-radius:50%;background:#ffffff20;box-shadow:0 0 0 25px #ffffff09,0 0 0 52px #ffffff09}
.zlc-art-label{font-size:9px;letter-spacing:.1em;color:var(--zlc-light);white-space:nowrap}
.zlc-art-big{font-size:clamp(22px,3vw,38px);font-weight:950;letter-spacing:-.045em;white-space:nowrap;color:var(--zlc-art-tint)}
.zlc-art-note{font-size:15px;white-space:nowrap;color:#fff}
.zlc-art-note span{font-size:11px;color:var(--zlc-art-tint)}
.zlc-ratio-bars{display:flex;gap:5px}
.zlc-ratio-bars i{display:block;width:17px;height:21px;border-radius:5px;background:#c8acff;box-shadow:0 4px 0 #2d195064}
.zlc-ratio-bars i:nth-child(n+3){background:#ffdc9b}
.zlc-number-line{display:flex;justify-content:space-between;gap:16px;width:100%;max-width:177px;border-bottom:2px solid #ffffffc0}
.zlc-number-line i{position:relative;font-size:12px;font-style:normal;padding-bottom:8px}
.zlc-number-line i:after{content:"";position:absolute;left:50%;bottom:-5px;width:2px;height:9px;background:#fff}
.zlc-equation-answer{border:1px solid #ffffff55;border-radius:11px;background:#ffffff2a;padding:9px 13px;color:var(--zlc-art-tint);font-size:18px}
.zlc-shapes{display:flex;align-items:center;gap:12px;height:89px}
.zlc-triangle{width:0;height:0;border-left:33px solid transparent;border-right:33px solid transparent;border-bottom:61px solid var(--zlc-art-tint);filter:drop-shadow(0 6px 0 #ffffff25)}
.zlc-square{display:block;width:54px;height:54px;background:#ffffffb5;border:4px solid var(--zlc-art-tint);transform:rotate(13deg);border-radius:5px}
.zlc-circle{display:block;width:29px;height:29px;background:var(--zlc-art-tint);border-radius:50%}
.zlc-chart-bars{width:145px;height:99px;display:flex;align-items:flex-end;justify-content:space-evenly;gap:7px;border-left:2px solid #fffc;border-bottom:2px solid #fffc;padding:0 5px}
.zlc-chart-bars i{display:block;width:23px;height:38%;border-radius:5px 5px 0 0;background:var(--zlc-art-tint)}
.zlc-chart-bars i:nth-child(2){height:66%;background:#f8ecc2}.zlc-chart-bars i:nth-child(3){height:48%}.zlc-chart-bars i:nth-child(4){height:88%;background:#fffbeb}.zlc-chart-bars i:nth-child(5){height:57%}
.zlc-catalog-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.zlc-catalog-heading h1{margin:5px 0 0;font-size:clamp(28px,4vw,38px);line-height:1.16;color:var(--zumi-ink);letter-spacing:-.04em}
.zlc-catalog-heading p{font-size:14px;color:var(--zumi-muted);margin:8px 0 0}
.zlc-catalog-stats{display:flex;gap:8px;flex-wrap:wrap}
.zlc-catalog-stats span{padding:7px 11px;border-radius:999px;background:var(--zumi-accent-soft);color:var(--zumi-on-accent-soft);font-size:12px;font-weight:800}
@media(min-width:760px){.zlc-grid>.zlc-card:first-child{min-height:267px;grid-template-columns:minmax(0,1fr) minmax(200px,.76fr)}.zlc-grid>.zlc-card:first-child .zlc-art-big{font-size:45px}}
@media(max-width:760px){.zlc-grid{grid-template-columns:1fr}.zlc-grid>.zlc-card:first-child{grid-column:auto}}
@media(max-width:440px){.zlc-card{grid-template-columns:minmax(0,1fr) 105px;min-height:210px;border-radius:20px}.zlc-card-copy{padding:17px;gap:9px}.zlc-title{font-size:20px}.zlc-detail{font-size:12px}.zlc-art{padding:12px 5px;gap:8px}.zlc-art-label{font-size:8px;letter-spacing:0}.zlc-art-big{font-size:24px}.zlc-art-note{font-size:12px}.zlc-ratio-bars i{width:11px}.zlc-number-line{max-width:99px;gap:5px}.zlc-shapes{gap:4px;transform:scale(.64)}.zlc-chart-bars{width:96px;height:76px;gap:4px}.zlc-chart-bars i{width:13px}.zlc-state{display:none}.zlc-cta{padding:5px 5px 5px 9px;gap:4px;font-size:11px;min-height:36px}.zlc-cta>span{width:25px;height:25px}.zlc-card--expressions .zlc-art-big{font-size:19px}}
@media(prefers-reduced-motion:reduce){.zlc-card,.zlc-cta>span{transition:none}.zlc-card:hover{transform:none}.zlc-card:hover .zlc-cta>span{transform:none}}

/* Course detail hero shares subject artwork with the Grade 6 course catalog. */
.path-page .path-course-hero{margin:16px 0 25px;min-height:265px;cursor:default}
.path-page .path-course-hero:hover{transform:none;box-shadow:0 13px 28px #36205b20}
.path-page .path-course-hero .zlc-card-copy{gap:14px}
.path-page .path-course-hero .zlc-title{font-size:clamp(27px,3.5vw,40px);line-height:1.12;letter-spacing:-.04em;margin:0;color:#fff}
.path-page .path-course-hero .zlc-detail{color:var(--zlc-light);max-width:520px;margin:0;font-size:14px;line-height:1.6}
.path-course-hero-actions{display:flex;align-items:center;gap:11px 20px;flex-wrap:wrap;margin-top:auto}
.path-course-hero-learner{font-size:12px;font-weight:750;color:var(--zlc-light)}
.path-page .path-course-hero-xp{display:inline-flex;align-items:center;gap:10px;background:#fff;color:var(--zlc-bg);border-radius:11px;padding:11px 14px;font-size:12px;font-weight:900}
.path-page .path-course-hero-xp:hover{color:var(--zlc-bg);text-decoration:none;background:#f7f0ff}
.path-course-hero-xp span{font-weight:700;font-size:11px}
@media(max-width:440px){
  .path-page .path-course-hero{min-height:235px}
  .path-page .path-course-hero .zlc-card-copy{gap:10px}
  .path-page .path-course-hero .zlc-title{font-size:clamp(22px,6vw,28px)}
  .path-page .path-course-hero .zlc-detail{font-size:12px}
  .path-course-hero-actions{align-items:flex-start}
  .path-page .path-course-hero-xp{padding:9px 10px}
  .path-course-hero-xp span{display:none}
}
