/* ==========================================================================
   The Desk: the homepage newsroom for jobs, results, admit cards, exam dates.
   Main column cards + closing lane + tabs, the sidebar beside it, and the
   network showcase after it. Loads on the front page only.
   ========================================================================== */

body.home .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 38px; align-items: start; }
/* The sidebar changes side row by row: right, then left, then right, so each stack reads beside the body it serves. */
body.home .layout--flip { grid-template-columns: 340px minmax(0, 1fr); }
body.home .layout--flip > main { grid-column: 2; grid-row: 1; }
body.home .layout--flip > .sidebar { grid-column: 1; grid-row: 1; }
@media (max-width: 1000px) { body.home .layout, body.home .layout--flip { grid-template-columns: 1fr; } body.home .layout--flip > main, body.home .layout--flip > .sidebar { grid-column: auto; grid-row: auto; } }

/* ---------- Head ---------- */
.desk { position: relative; }
.desk-sub { margin: -6px 0 16px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.desk-sub b { color: var(--danger); font-weight: 800; }
.desk-clock { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: #8a94a3; font-variant-numeric: tabular-nums; }
.desk-clock:empty { display: none; }
.desk-clock:before { content: "● "; color: #16a34a; animation: desk-pulse 1.6s ease-in-out infinite; }
@keyframes desk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- The moving lane: closing soon ---------- */
.desk-lane { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; margin: 0 0 18px; border: 1px solid #f3d9a4; border-radius: 12px; background: linear-gradient(90deg, #fff8e6, #fffdf7 40%, #fff); overflow: hidden; }
.desk-lane-label { display: grid; place-items: center; padding: 0 14px; background: linear-gradient(160deg, #b45309, #d97706); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.desk-lane-clip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.desk-lane-track { display: flex; width: max-content; animation: desk-lane 46s linear infinite; }
.desk-lane:hover .desk-lane-track, .desk-lane:focus-within .desk-lane-track { animation-play-state: paused; }
.desk-lane-set { display: flex; }
@keyframes desk-lane { to { transform: translateX(-50%); } }
.desk-lane-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 9px 16px 9px 12px; color: var(--ink); border-right: 1px dashed #f3d9a4; min-width: 230px; max-width: 300px; }
.desk-lane-item:hover { background: #fff3d6; text-decoration: none; }
.desk-lane-item b { display: grid; place-items: center; min-width: 58px; padding: 4px 8px; border-radius: 8px; background: #fde68a; color: #7c2d12; font-size: 12px; font-weight: 800; white-space: nowrap; }
.desk-lane-item.is-soon b { background: #fdba74; }
.desk-lane-item.is-hot b { background: var(--danger); color: #fff; animation: desk-pulse 1.4s ease-in-out infinite; }
.desk-lane-item span { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-lane-item small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
@media (max-width: 640px) { .desk-lane { grid-template-columns: 1fr; } .desk-lane-label { padding: 6px; } }

/* ---------- Tabs ---------- */
.desk-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); position: sticky; top: 58px; z-index: 5; }
.desk-tabs button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-soft); cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.desk-tabs button b { font-size: 11px; font-weight: 800; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-radius: 10px; padding: 1px 7px; }
.desk-tabs button:hover { background: #fff; color: var(--accent); }
.desk-tabs button.is-on { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(13, 39, 84, .22); }
.desk-tabs button.is-on b { background: var(--accent-2); border-color: transparent; color: #16181d; }
.desk-only-open { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); cursor: pointer; padding: 4px 8px; }
.desk-only-open input { accent-color: var(--accent); }
@media (max-width: 640px) { .desk-tabs { position: static; } .desk-only-open { margin-left: 0; } }

/* ---------- Day dividers ---------- */
.desk-day { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #8a94a3; }
.desk-day:first-child { margin-top: 0; }
.desk-day:after { content: ""; flex: 1; height: 1px; background: var(--line); }
.desk-day[hidden] { display: none; }

/* ---------- Cards ---------- */
.desk-feed { display: grid; gap: 14px; }
.desk-card { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-left: 5px solid var(--k, var(--accent)); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(15, 30, 60, .05); transition: transform .22s, box-shadow .22s; }
.desk-card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(15, 30, 60, .06), 0 20px 44px rgba(13, 39, 84, .14); }
.desk-card.no-thumb { grid-template-columns: 1fr; }
.desk-card.is-hot { border-left-color: var(--danger); }
.desk-card.is-closed { opacity: .82; }
.desk-card.is-closed:hover { opacity: 1; }
.desk-card.is-out { display: none; }
/* The cover is shown whole (its text matters) on a blurred copy of itself. */
.desk-cover { position: relative; display: grid; place-items: center; overflow: hidden; background: #0d2754 var(--cover, none) center / cover no-repeat; min-height: 200px; }
.desk-cover:before { content: ""; position: absolute; inset: -20px; background: var(--cover, none) center / cover no-repeat; filter: blur(18px) saturate(1.2) brightness(.72); }
.desk-cover img { position: relative; display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 0; transition: transform .5s; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.desk-card:hover .desk-cover img { transform: scale(1.03); }
.desk-kind { position: absolute; left: 10px; top: 10px; background: var(--k, var(--accent)); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.desk-kind--inline { position: static; display: inline-block; }
.desk-body { padding: 14px 18px 14px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.desk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.desk-trail a { color: var(--ink-soft); font-weight: 700; }
.desk-trail a:hover { color: var(--accent); }
.desk-trail i { font-style: normal; color: #b6bec9; margin: 0 5px; }
.desk-fresh { background: #fde68a; color: #7c2d12; font-weight: 800; font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; }
.desk-fresh--week { background: #dcfce7; color: #14532d; }
.desk-age { margin-left: auto; color: #8a94a3; font-weight: 600; white-space: nowrap; }

.desk-card h3 { margin: 0; font-size: 19.5px; line-height: 1.28; }
.desk-card h3 a { color: var(--ink); }
.desk-card h3 a:hover { color: var(--accent); }
.desk-excerpt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.desk-facts { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.desk-facts li a, .desk-facts li span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.desk-facts li a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.desk-facts li i { font-style: normal; font-size: 13px; }

.desk-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px dashed var(--line); }
.desk-card.is-hot .desk-dates { background: #fff1f2; border-color: #fecdd3; }
.desk-card.is-soon .desk-dates { background: #fffbeb; border-color: #fde68a; }
.desk-card.is-closed .desk-dates { background: #f3f4f6; }
.desk-deadline { display: flex; align-items: center; gap: 10px; }
.desk-deadline b { display: grid; place-items: center; min-width: 54px; padding: 6px 8px; border-radius: 9px; background: var(--k, var(--accent)); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.1; text-align: center; }
.desk-card.is-hot .desk-deadline b { background: var(--danger); }
.desk-card.is-closed .desk-deadline b { background: #6b7280; }
.desk-deadline em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #8a94a3; text-transform: uppercase; letter-spacing: .5px; }
.desk-deadline strong { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.desk-card.is-hot .desk-deadline strong { color: var(--danger); }
.desk-card.is-closed .desk-deadline strong { color: #6b7280; }
.desk-window { position: relative; flex: 1 1 160px; min-width: 150px; height: 8px; border-radius: 4px; background: #e5e7eb; margin: 12px 0 10px; }
.desk-window i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #16a34a, #eab308 70%, var(--danger)); }
.desk-window small { position: absolute; top: 10px; font-size: 10.5px; color: #8a94a3; font-weight: 700; }
.desk-window small:first-of-type { left: 0; }
.desk-window small:last-of-type { right: 0; }
.desk-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.desk-timeline b { color: var(--ink); font-weight: 800; }
.desk-timeline li.is-past { text-decoration: line-through; opacity: .6; }

.desk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.desk-go { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 9px; background: var(--k, var(--accent)); color: #fff; font-size: 13px; font-weight: 800; transition: transform .18s, box-shadow .18s; }
.desk-go:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13, 39, 84, .25); }
.desk-act { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.desk-act:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.desk-act--elig { border-color: #bbf7d0; background: #f0fdf4; color: #14532d; }
.desk-act--elig:hover { background: #dcfce7; color: #14532d; border-color: #86efac; }
.desk-act--quiz { border-color: #ddd6fe; background: #f5f3ff; color: #4c1d95; }
.desk-act--quiz:hover { background: #ede9fe; color: #4c1d95; border-color: #c4b5fd; }
.desk-empty { margin: 10px 0; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 760px) {
	.desk-card { grid-template-columns: 1fr; }
	.desk-cover img { aspect-ratio: 1.9; }
	.desk-card h3 { font-size: 18px; }
}

/* Cards arrive as you scroll. */
@media (prefers-reduced-motion: no-preference) {
	.desk-card[data-reveal] { opacity: 0; transform: translateY(14px); }
	.desk-card[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease, box-shadow .22s; }
	.desk-card[data-reveal].is-in:hover { transform: translateY(-3px); }
}

/* ---------- Doors under the feed ---------- */
.desk-doors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding: 14px; border-radius: 12px; background: linear-gradient(150deg, #0a1f44, #0d2754 55%, #17335f); }
.desk-doors > span { color: #9fb4d8; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-right: 4px; }
.desk-doors a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 700; transition: background .18s, transform .18s; }
.desk-doors a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); text-decoration: none; }
.desk-doors a b { background: var(--accent-2); color: #16181d; border-radius: 10px; font-size: 11px; padding: 1px 7px; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
/* Three short stacks, each sticky only inside its own row. */
.sidebar--desk { position: sticky; top: 70px; }
@media (max-width: 1000px) { .sidebar--desk { position: static; } }
body.home .layout--row2, body.home .layout--row3 { padding-top: 0; padding-bottom: 28px; }
body.home .layout--row1 { padding-bottom: 20px; }
body.home .layout--row2 > main .network, body.home .layout--row3 > main .home-hub:first-child { margin-top: 0; }
body.home .layout--row2 > main .network-group { margin-bottom: 0; height: 100%; box-sizing: border-box; }
.home-band { padding: 6px 18px 30px; }
.home-band .network { margin-top: 0; }
.home-band .network-group { margin-bottom: 0; }
.network-head .network-nums { margin-bottom: 22px; }
body.home .sidebar--desk .sb { border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; margin-bottom: 16px; background: #fff; box-shadow: 0 1px 3px rgba(15, 30, 60, .05); }
.sidebar--desk h3 { margin: 0 0 10px; font-family: var(--font-body); font-size: 14.5px; font-weight: 800; letter-spacing: -.1px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-2); }
.sb-note { margin: -4px 0 10px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
.sb-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; }
.sidebar--desk ul { list-style: none; margin: 0; padding: 0; }
.sidebar--desk li { padding: 0; border: 0; }

.sb--closing { border-color: #f3d9a4 !important; background: linear-gradient(180deg, #fffbeb, #fff 60%) !important; }
.sb-closing li a { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed #f3d9a4; color: var(--ink); }
.sb-closing li:last-child a { border-bottom: 0; }
.sb-closing li a:hover { text-decoration: none; }
.sb-closing li a:hover strong { color: var(--accent); }
.sb-date { display: grid; place-items: center; height: 44px; border-radius: 9px; background: #fde68a; color: #7c2d12; line-height: 1; }
.sb-date b { font-size: 17px; font-weight: 800; }
.sb-date small { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sb-closing li.is-soon .sb-date { background: #fdba74; }
.sb-closing li.is-hot .sb-date { background: var(--danger); color: #fff; }
.sb-what strong { display: block; font-size: 13.5px; line-height: 1.25; }
.sb-what small { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.3; }
.sb-what em { display: inline-block; margin-top: 3px; font-style: normal; font-size: 11px; font-weight: 800; color: #b45309; }
.sb-closing li.is-hot .sb-what em { color: var(--danger); }

.sb-ahead li a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.sb-ahead li:last-child a { border-bottom: 0; }
.sb-ahead li a:hover { text-decoration: none; }
.sb-ahead li a:hover strong { color: var(--accent); }
.sb-ahead b { font-size: 12px; font-weight: 800; padding: 4px 7px; border-radius: 7px; background: #eef2f8; color: var(--accent); white-space: nowrap; }
.sb-ahead strong { display: block; font-size: 13px; line-height: 1.25; }
.sb-ahead small { display: block; font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.sb-ahead em { font-style: normal; font-size: 11px; font-weight: 800; color: #8a94a3; white-space: nowrap; }

.sb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 5px 10px; font-size: 12.5px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.sb-chips a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.sb-chips a:hover b { background: var(--accent-2); color: #16181d; }
.sb-chips a b { font-size: 10.5px; font-weight: 800; background: #fff; border-radius: 8px; padding: 1px 6px; color: var(--ink-soft); }
.sb-chips a.is-more { background: #fff; border-style: dashed; color: var(--link); }
.sb--elig { border-color: #bbf7d0 !important; }
.sb--elig .sb-chips a { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.sb--elig .sb-chips a:hover { background: #157347; border-color: #157347; color: #fff; }

.sb-orgs li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.sb-orgs li:last-child a { border-bottom: 0; }
.sb-orgs li a:hover { color: var(--accent); text-decoration: none; }
.sb-orgs b { font-size: 11px; font-weight: 800; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 1px 7px; color: var(--ink-soft); }

.sb-quiz li a { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.sb-quiz li:last-child a { border-bottom: 0; }
.sb-quiz li a:hover { text-decoration: none; color: var(--accent); }
.sb-quiz b { display: grid; place-items: center; height: 42px; border-radius: 9px; background: linear-gradient(135deg, #0d2754, #1e3a6e); color: #fff; font-size: 14px; font-weight: 800; line-height: 1; }
.sb-quiz b small { font-size: 9px; font-weight: 800; opacity: .8; text-transform: uppercase; }
.sb-quiz span { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.sb-quiz span small { display: block; font-size: 11px; font-weight: 700; color: #8a94a3; text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }

.sb-sd li a { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.sb-sd li:last-child a { border-bottom: 0; }
.sb-sd li a:hover { text-decoration: none; color: #3b2a6e; }
.sb-sd b { font-size: 12px; font-weight: 800; padding: 4px 7px; border-radius: 7px; background: #ede9fe; color: #3b2a6e; white-space: nowrap; }
.sb-sd span { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.sb-sd span small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-top: 1px; }

.sb--com { background: linear-gradient(150deg, #2b1e5e, #3b2a6e) !important; border-color: transparent !important; color: #fff; }
.sb--com h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, .25); }
.sb--com .sb-note { color: #d9d2f5; }
.sb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sb-btns a { display: inline-flex; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 13px; font-weight: 800; }
.sb-btns a.is-primary { background: var(--accent-2); border-color: transparent; color: #16181d; }
.sb-btns a:hover { text-decoration: none; transform: translateY(-2px); }

/* ==========================================================================
   The network showcase
   ========================================================================== */
.network { margin: 34px 0 0; }
.network-sub { margin: -6px 0 18px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; max-width: 720px; }
.network-nums { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 24px; }
@media (max-width: 900px) { .network-nums { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .network-nums { grid-template-columns: repeat(2, 1fr); } }
.network-nums > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 30, 60, .05); }
.network-nums i { font-style: normal; font-size: 20px; line-height: 1; }
.network-nums b { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.network-nums span { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.25; }

.network-group { margin: 0 0 22px; padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--line); border-top: 5px solid var(--g, var(--accent)); background: #fff; box-shadow: 0 1px 3px rgba(15, 30, 60, .05); }
.network-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 14px; }
.network-group-head h3 { margin: 0; font-family: var(--font-body); font-size: 19px; font-weight: 800; letter-spacing: -.3px; color: var(--g, var(--accent)); }
.network-group-head p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
.network-door { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 13px 14px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.network-door:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--d, var(--accent)); opacity: .9; }
.network-door:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--d, var(--accent)); box-shadow: 0 4px 10px rgba(15, 30, 60, .06), 0 16px 34px rgba(13, 39, 84, .14); }
.network-door-top { display: flex; align-items: center; justify-content: space-between; }
.network-door-top i { font-style: normal; font-size: 22px; }
.network-door-top b { font-size: 12px; font-weight: 800; background: var(--d, var(--accent)); color: #fff; border-radius: 10px; padding: 2px 9px; }
.network-door strong { font-size: 15px; line-height: 1.25; }
.network-door small { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.network-door-new { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.network-door-new em { display: block; font-style: normal; font-size: 10.5px; font-weight: 800; color: #8a94a3; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }

.network-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.network-foot a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: linear-gradient(150deg, #0a1f44, #0d2754 55%, #17335f); color: #fff; transition: transform .2s; }
.network-foot a i { grid-row: 1 / 3; font-style: normal; font-size: 26px; }
.network-foot a b { font-size: 15px; }
.network-foot a span { font-size: 12.5px; color: #9fb4d8; }
.network-foot a:hover { text-decoration: none; transform: translateY(-3px); }

/* Numbers count up on arrival. */
.network-nums b.is-counting { color: var(--accent); }
