/* Compact course card: home shelf and /courses/ (3 Dec 2026) */
.cx-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 0 0 2px #e7e1d4,0 5px 0 #e7e1d4;display:flex;flex-direction:column;text-decoration:none;color:#141b2d;transition:translate .25s}
.cx-card:hover{translate:0 -3px}
.cx-card[hidden]{display:none}
.cx-card .top{height:76px;position:relative;display:flex;align-items:flex-end;padding:12px 16px}
.cx-card .ic{width:46px;height:46px;border-radius:15px;background:#fff;display:grid;place-items:center;box-shadow:0 3px 0 rgba(0,0,0,.12);color:#141b2d}
.cx-card .ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cx-card .tags{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.cx-card .tg{font:500 10.5px "DM Mono",monospace;letter-spacing:.05em;text-transform:uppercase;border-radius:99px;padding:3px 9px;background:rgba(255,255,255,.92);color:#141b2d;white-space:nowrap}
.cx-card .tg.dk{background:#141b2d;color:#fff}
.cx-card .bd{display:flex;flex-direction:column;gap:8px;padding:18px 18px 4px;flex:1}
.cx-card h2,.cx-card h3{font-size:19px;line-height:1.2;letter-spacing:-.025em;margin:0}
.cx-card p{margin:0;color:#5b6275;font-size:14.5px;line-height:1.55}
.cx-card .mt{margin-top:auto;padding-top:12px;font:500 12px "DM Mono",monospace;color:#5b6275}
.cx-card .go{margin:14px 18px 18px;display:flex;justify-content:center;padding:10px;border-radius:13px;font-weight:800;font-size:14.5px;background:#faf6ee;box-shadow:0 0 0 2px #e7e1d4,0 3px 0 #e7e1d4}
@media(prefers-reduced-motion:reduce){.cx-card{transition:none}}
/* Not open yet (Full course soon / Coming soon): greyed out, still clickable */
.cx-card[data-open=no]{background:#f4f2ec;box-shadow:0 0 0 2px #e7e1d4,0 5px 0 #e7e1d4}
.cx-card[data-open=no] .top{background:#b9b5ad!important}
.cx-card[data-open=no] .ic{color:#8a8e99;box-shadow:0 3px 0 rgba(0,0,0,.08)}
.cx-card[data-open=no] h2,.cx-card[data-open=no] h3{color:#5d6270}
.cx-card[data-open=no] p,.cx-card[data-open=no] .mt{color:#8a8e99}
.cx-card[data-open=no] .tg{background:rgba(255,255,255,.85);color:#5d6270}
.cx-card[data-open=no] .tg.dk{background:#5d6270;color:#fff}
.cx-card[data-open=no] .go{background:#ece9e2;color:#5d6270;box-shadow:0 0 0 2px #e0dbd0,0 3px 0 #e0dbd0}
