/* linkcards.css — five quick-link cards: a colour header band (icon + heading), five one-line links, a "More" pill at the bottom right.
   A card never grows with its text: the heading and every link are one line (a long one ends in "...", its full text is the link's tooltip) and the list is exactly five rows tall,
   so every card has the same height whatever the notice titles are. Each kind has its own colour (--lc-bg band, --lc-fg text). */
.linkcards { max-width: 100%; margin: 24px auto; padding: 0 20px; }
.linkcards-title { text-align: center; font: 700 24px Arial, sans-serif; color: #0a3280; margin: 8px 0 16px; display: none; }
.linkcards-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.link-card { --lc-bg: #dbeafe; --lc-fg: #1e40af; background: #fff; border: 1px solid #e1e8f2; border-radius: 12px; box-shadow: 0 2px 8px rgba(15,40,80,.07);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0; text-align: left; transition: transform .22s ease, box-shadow .22s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,40,80,.13); }
.lc-admission { --lc-bg: #dbeafe; --lc-fg: #1e40af; }
.lc-notice { --lc-bg: #dcfce7; --lc-fg: #166534; }
.lc-exam { --lc-bg: #ffedd5; --lc-fg: #9a3412; }
.lc-result { --lc-bg: #ede9fe; --lc-fg: #5b21b6; }
.lc-orders { --lc-bg: #ccfbf1; --lc-fg: #115e59; }
.lc-head { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; background: var(--lc-bg); color: var(--lc-fg); }
.lc-icon { flex: none; width: auto; height: auto; margin: 0; background: none; box-shadow: none; border-radius: 0; color: inherit; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.lc-title { font: 600 16px Arial, sans-serif; color: inherit; margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-links { list-style: none; margin: 0; padding: 6px 14px 0; flex: none; height: 156px; overflow: hidden; }
.lc-links li { height: 30px; line-height: 30px; margin: 0; border-bottom: 1px solid #eef2f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-links li:last-child { border-bottom: none; }
.lc-links li::before { content: "\203A"; color: #94a3b8; font-weight: 700; margin-right: 8px; }
.lc-links a { color: #1f2937; text-decoration: none; font: 14px Arial, sans-serif; display: inline-block; max-width: calc(100% - 18px); vertical-align: top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-links a:hover { color: var(--lc-fg); text-decoration: underline; }
.lc-links .lc-empty { height: auto; line-height: 1.4; margin: 6px 0; white-space: normal; color: #667; font: 13px Arial, sans-serif; border: none; }
.lc-links .lc-empty::before { content: none; }
.lc-more { text-align: right; padding: 8px 14px 12px; margin-top: auto; }
.lc-more a { display: inline-block; background: var(--lc-bg); color: var(--lc-fg); font: 600 13px Arial, sans-serif; text-decoration: none; padding: 4px 14px; border-radius: 999px; }
.lc-more a:hover { filter: brightness(.96); text-decoration: underline; }
/* Bangla page: the cards are drawn in Noto Serif Bengali (digits in the Noto Serif Bengali Digit font) */
html[lang=bn] .link-card, html[lang=bn] .link-card a, html[lang=bn] .lc-title { font-family: "NSB Digit", "Noto Serif Bengali Digit", "Noto Serif Bengali", serif; }
html[lang=bn] .lc-icon i { font-family: "Font Awesome 5 Free"; font-weight: 900; }
@media (max-width: 1199px) { .linkcards-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .linkcards-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .linkcards-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .link-card { transition: none; } .link-card:hover { transform: none; } }
