.acd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px;margin-block:24px}.acd-card{border:1px solid #e3e8ef;border-radius:22px;overflow:hidden;background:#fff;color:#192739;box-shadow:0 10px 30px #172b4d12}.acd-header{background:var(--acd-color);color:#fff;display:flex;align-items:center;gap:22px;padding:26px;background-image:linear-gradient(125deg,#ffffff12,#00000030)}.acd-header h3{color:inherit;font-size:1.5rem;margin:0 0 6px;font-weight:700}.acd-circle{width:92px;height:92px;flex:0 0 92px;border:3px solid #ffffffc9;border-radius:50%;background:#fff;color:#18283c;display:flex;flex-direction:column;justify-content:center;align-items:center}.acd-circle strong{font-size:2rem;line-height:1.2}.acd-circle span{font-size:.8rem}.acd-year{opacity:.9}.acd-next{font-size:.9rem;margin-top:8px}.acd-scroll{overflow-x:auto}.acd-table{border-collapse:collapse;width:100%;font-size:.92rem}.acd-table th,.acd-table td{text-align:start;padding:16px 14px;border-bottom:1px solid #edf0f5;vertical-align:middle}.acd-table thead{background:#f6f8fb;color:#526074;font-size:.78rem}.acd-table tbody th{font-weight:600}.acd-table a{color:#155d88;text-decoration:underline}.acd-remaining{display:inline-block;white-space:nowrap;padding:7px 11px;border-radius:10px;background:#edf4fb;color:#164c70;font-weight:700}.acd-soon .acd-remaining{background:#fff0c7;color:#754900}.acd-past{color:#6d7885}.acd-past .acd-remaining{background:#eff1f4;color:#626e7c}.acd-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:20px}.block_academiccountdown .acd-grid{grid-template-columns:1fr}.block_academiccountdown .acd-header{padding:16px}.block_academiccountdown .acd-table th,.block_academiccountdown .acd-table td{padding:10px 8px}@media(max-width:480px){.acd-header{padding:20px 16px;gap:15px}.acd-circle{width:76px;height:76px;flex-basis:76px}.acd-header h3{font-size:1.2rem}.acd-table th,.acd-table td{padding:12px 8px;font-size:.82rem}}

.acd-kind{display:inline-block;font-size:.75rem;line-height:1.5;padding:3px 9px;border-radius:999px;background:#0003;color:#fff;margin-block-end:9px}.acd-draft{display:inline-block;background:#fff0c7;color:#754900;padding:4px 10px;border-radius:8px;margin-block-start:9px}.acd-card,.acd-card *{box-sizing:border-box}.acd-card .acd-table{margin:0;border:0;table-layout:auto}.acd-card .acd-table th,.acd-card .acd-table td{background:transparent;line-height:1.6;word-break:normal}.acd-card .acd-table thead{background:#f6f8fb}.acd-card .acd-header h3{line-height:1.4;overflow-wrap:anywhere}.acd-card .acd-year,.acd-card .acd-next{line-height:1.6}.acd-filters select{max-width:100%;min-height:38px}.acd-card .acd-circle{border-style:solid}.acd-card .acd-circle span{font-weight:600}@media(prefers-reduced-motion:reduce){.acd-card *{animation:none!important;transition:none!important}}@media(max-width:360px){.acd-card .acd-table th,.acd-card .acd-table td{padding:9px 6px}.acd-card .acd-remaining{padding:5px 7px}}

.acd-card tr[hidden]{display:none!important}

.acd-header{background-image:none;color:var(--acd-ink,#fff)}.acd-kind{background:transparent;color:inherit;border:1px solid currentColor}.acd-year{opacity:1}.acd-logo{background:#fff;object-fit:contain;border-radius:12px;padding:6px;margin-inline-start:auto;flex:0 0 72px}.acd-live-status{font-size:.85rem;color:#475569;margin-block:12px}.acd-list{grid-template-columns:1fr}.acd-foot{padding:12px 16px;border-top:1px solid #e2e8f0;font-size:.85rem}.acd-pagination{display:flex;justify-content:space-between;gap:16px;margin-block:16px}.acd-month-scroll{overflow-x:auto}.acd-month{min-width:720px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #dbe4ef}.acd-weekday{background:#eaf1f8;padding:12px;text-align:center;font-weight:bold}.acd-month-day,.acd-month-empty{min-height:135px;padding:10px;border:1px solid #e5eaf0}.acd-month-empty{background:#f4f6f9}.acd-month-event{margin-block:6px;font-size:.85rem}.acd-month-cardname{font-size:.72rem;color:#475569;margin-top:9px}.acd-month-event .acd-remaining{font-size:.75rem;padding:3px 7px}.acd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.acd-scroll:focus-visible,.acd-month-scroll:focus-visible{outline:3px solid #1263a0;outline-offset:2px}.block_academiccountdown .acd-logo{width:48px;height:48px;flex-basis:48px}.block_academiccountdown .acd-header{gap:10px}@media(max-width:420px){.acd-logo{width:48px;height:48px;flex-basis:48px}.acd-header{flex-wrap:wrap}.acd-filters input{max-width:100%}}

/* Compact cards; shrink flex/grid children and wrap translated labels in both directions. */
.acd-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),520px));justify-content:center;gap:18px;margin-block:18px}
.acd-card{min-width:0;width:100%;max-width:100%;border-radius:18px}
.acd-card .acd-header{gap:14px;padding:18px;flex-wrap:nowrap}
.acd-heading{min-width:0;flex:1 1 0;overflow-wrap:anywhere}
.acd-card .acd-header h3{font-size:1.25rem;margin-block-end:4px}
.acd-card .acd-circle{width:74px;height:74px;flex:0 0 74px}
.acd-card .acd-circle strong{font-size:1.65rem}
.acd-card .acd-circle span{font-size:.75rem;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.acd-card .acd-kind{max-width:100%;font-size:.7rem;margin-block-end:6px;white-space:normal;overflow-wrap:anywhere}
.acd-card .acd-year,.acd-card .acd-next{font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}
.acd-card .acd-next{margin-top:5px}
.acd-card .acd-table{table-layout:fixed;width:100%;font-size:.85rem}
.acd-card .acd-table th,.acd-card .acd-table td{padding:11px 9px;overflow-wrap:anywhere;white-space:normal}
.acd-card .acd-table th:first-child{width:40%}
.acd-card .acd-table th:nth-child(2){width:30%}
.acd-card .acd-table th:nth-child(3){width:30%}
.acd-card .acd-remaining{white-space:normal;max-width:100%;padding:5px 8px;font-size:.82rem}
.acd-card .acd-foot{padding:9px 12px;font-size:.78rem;overflow-wrap:anywhere}
.acd-card .acd-logo{width:52px;height:52px;flex:0 0 52px;padding:4px}
.block_academiccountdown .acd-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:420px){.acd-card .acd-header{padding:14px;gap:10px}.acd-card .acd-circle{width:62px;height:62px;flex-basis:62px}.acd-card .acd-header h3{font-size:1.1rem}.acd-card .acd-table th,.acd-card .acd-table td{padding:9px 6px;font-size:.78rem}.acd-card .acd-logo{width:38px;height:38px;flex-basis:38px}}

.acd-grid.acd-list{grid-template-columns:minmax(0,1fr)}
