/* Student type: the Domestic / International tag (cards, course page, university page) and the results filter. */
.st{position:relative;display:inline-flex;vertical-align:middle}
.st .st-tag{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0;padding:0;border-radius:50%;border:0;color:#fff;font-size:12px;line-height:1;cursor:help;-webkit-appearance:none;appearance:none;transition:transform .18s ease,box-shadow .18s ease}
.st .st-tag i{font-size:12px;color:#fff}
.st:hover .st-tag,.st .st-tag:focus-visible{transform:translateY(-1px) scale(1.12);box-shadow:0 4px 10px rgba(15,23,42,.22)}
.st .st-tag:focus-visible{outline:2px solid #1D4ED8;outline-offset:2px}
.st .st-pop{position:absolute;left:0;top:calc(100% + 8px);z-index:2100;width:290px;max-width:78vw;box-sizing:border-box;padding:11px 13px;border-radius:12px;background:#0F172A;color:#F8FAFC;box-shadow:0 12px 28px rgba(15,23,42,.28);font:500 12.5px/1.45 'DM Sans',Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px) scale(.94);transform-origin:13px 0;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.9,.3,1.25),visibility .2s}
.st .st-pop strong{display:block;margin-bottom:4px;font-size:13px;color:#fff}
.st .st-pop small{display:block;margin-top:7px;font-size:11.5px;color:#CBD5E1}
.st:hover .st-pop,.st:focus-within .st-pop{opacity:1;visibility:visible;transform:none}
.st-dom .st-tag{background:#6D28D9}
.st-int .st-tag{background:#0F766E}
.st-both .st-tag{background:#C2410C}
.st-switch{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.st-opt{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border-radius:9px;border:1px solid #94A3B8;background:#fff;color:#1E293B;font:700 12.5px 'DM Sans',system-ui,sans-serif;text-decoration:none}
a.st-opt:hover{border-color:#1E3A8A;color:#1E3A8A}
.st-opt.on,a.st-opt.on:hover{background:#1E3A8A;border-color:#1E3A8A;color:#fff}
.st-opt.off{background:#F1F5F9;border-style:dashed;color:#475569;cursor:not-allowed}
.st-help{margin:7px 0 0;font:500 11.5px/1.45 'DM Sans',system-ui,sans-serif;color:#475569}
@media (prefers-reduced-motion:reduce){.st .st-tag,.st .st-pop{transition:none}}
/* A hovered card moves by 1px, which traps the pop-up inside it; lift that card above the next ones while it is open. */
.course-card:has(.st:hover),.course-card:has(.st:focus-within),.up-course:has(.st:hover),.up-course:has(.st:focus-within){z-index:60}
.up-course:has(.st:hover),.up-course:has(.st:focus-within){position:relative}
