/* Segment hub cards: light colours, dropdowns */
.hub{--bg:#EEF1FF;--ac:#4255FF;background:var(--bg);border:1.5px solid color-mix(in srgb,var(--ac) 22%,#fff);border-radius:24px;padding:22px;margin:14px 0 26px;font-family:"Figtree","Segoe UI",system-ui,sans-serif;color:#282E3E;text-align:left}
.hub *{box-sizing:border-box}
.hubH{display:flex;align-items:center;gap:12px;margin-bottom:4px}
.hubH i{width:46px;height:46px;border-radius:14px;background:#fff;display:grid;place-items:center;font-style:normal;font-size:24px;box-shadow:0 4px 12px color-mix(in srgb,var(--ac) 18%,transparent)}
.hub h1,.hub h2.hubT{margin:0;font:800 clamp(22px,4vw,30px)/1.2 "Outfit","Segoe UI",sans-serif;color:#1f2540}
.hubS{margin:2px 0 14px;color:#4a5170;font-size:15.5px}
.hubG{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;align-items:start}
.hub details{background:#fff;border:1px solid color-mix(in srgb,var(--ac) 22%,#fff);border-radius:16px;overflow:hidden}
.hub summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:10px 16px;font-weight:800;font-size:16px;color:#1f2540}
.hub summary::-webkit-details-marker{display:none}
.hub summary::after{content:"";width:9px;height:9px;border-right:2.5px solid var(--ac);border-bottom:2.5px solid var(--ac);transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.hub details[open]>summary::after{transform:rotate(225deg)}
.hub details[open]>summary{background:color-mix(in srgb,var(--ac) 8%,#fff)}
.hubL{display:flex;flex-direction:column;padding:6px 8px 10px}
.hubL a{display:block;padding:9px 12px;border-radius:10px;color:#2f3650;text-decoration:none;font-weight:600;font-size:15px;min-height:42px}
.hubL a:hover,.hubL a:focus-visible{background:color-mix(in srgb,var(--ac) 10%,#fff);color:var(--ac)}
.hubL details{margin:4px 0;border-radius:12px}
.hubL details summary{font-size:15px;min-height:44px}
.hubC{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.hubC a{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:10px 18px;border-radius:14px;background:var(--ac);color:#fff;font-weight:800;text-decoration:none}
.hubC a.o{background:#fff;color:var(--ac);border:1.5px solid var(--ac)}
.hubX{margin:0 0 20px}
.hubX .hub{margin:0}
.hubSub{margin-top:6px;border-top:1px dashed color-mix(in srgb,var(--ac) 30%,#fff);padding-top:6px}
/* courses page */
.crsG{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:18px 0}
.crsC{background:var(--bg);border:1.5px solid color-mix(in srgb,var(--ac) 22%,#fff);border-radius:22px;padding:20px}
.crsC h2{margin:0 0 6px;font:800 20px "Outfit","Segoe UI",sans-serif}
.crsC p{margin:0 0 10px;color:#4a5170}
.crsC span{display:inline-block;padding:4px 12px;border-radius:99px;background:#fff;color:var(--ac);font-weight:700;font-size:13.5px}
