/* Abrar Scholarship Center: brand tokens from the Abrar design direction. */
.asc-grid, .asc-panel, .asc-disclaimer, .asc-sources, .asc-section, .asc-fact, .asc-empty,
.asc-hero, .asc-helpdesk, .asc-journey, .asc-directory, .asc-directory-page, .asc-portal {
	--asc-navy: #071A2F;
	--asc-emerald: #087F6D;
	--asc-gold: #D4AF37;
	--asc-blue: #1677FF;
	--asc-blue-strong: #0958D9; /* Action Blue darkened so white button text passes WCAG AA at 16px. */
	--asc-bg: #F8FAFC;
	--asc-line: #DCE3EA;
	--asc-muted: #506275;
	font-family: "Hind Siliguri", system-ui, sans-serif;
}

.asc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.asc-card { background: #fff; border: 1px solid var(--asc-line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.asc-card h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--asc-navy); }
.asc-card h3 a { color: inherit; text-decoration: none; }
.asc-card h3 a:hover, .asc-card h3 a:focus-visible { text-decoration: underline; }
.asc-ar { margin: 0; font-size: 15px; color: var(--asc-muted); }
.asc-meta { margin: 0; font-size: 14px; color: var(--asc-muted); }
.asc-note { margin: 0; font-size: 14px; }
.asc-verified, .asc-muted { font-size: 13px; color: var(--asc-muted); }

.asc-badge { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; width: fit-content; }
.asc-badge--open { background: #E6F6EE; color: #067647; }
.asc-badge--upcoming { background: #E8F0FD; color: #175CD3; }
.asc-badge--closed { background: #EEF1F4; color: #475467; }
.asc-badge--verify { background: #FEF3E2; color: #B54708; }
.asc-badge--draft { background: #FDECEA; color: #B42318; }

.asc-panel { background: var(--asc-bg); border: 1px solid var(--asc-line); border-top: 4px solid var(--asc-emerald); border-radius: 10px; padding: 20px; margin: 0 0 24px; display: grid; gap: 12px; }
.asc-facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.asc-facts th, .asc-facts td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--asc-line); vertical-align: top; }
.asc-facts th { width: 38%; color: var(--asc-muted); font-weight: 500; }
.asc-benefit--included { color: #067647; font-weight: 600; }
.asc-benefit--not_included { color: #B42318; }
.asc-benefit--unknown { color: #B54708; }
.asc-button { display: inline-block; background: var(--asc-blue-strong, #0958D9); color: #fff; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 0; font-size: 16px; line-height: 1.4; cursor: pointer; }
.asc-button:hover, .asc-button:focus-visible { background: #003EB3; color: #fff; }
.asc-button--ghost { background: transparent; color: var(--asc-navy, #071A2F); border: 1.5px solid currentColor; }
.asc-button--ghost:hover, .asc-button--ghost:focus-visible { background: rgba(7, 26, 47, .06); color: var(--asc-navy, #071A2F); }

.asc-fact { border-left: 3px solid var(--asc-emerald); padding: 4px 0 4px 12px; }
.asc-cite { display: block; font-size: 13px; color: var(--asc-muted); }
.asc-disclaimer { border: 1px solid var(--asc-gold); background: #FFFBEB; border-radius: 10px; padding: 16px 18px; margin: 24px 0; font-size: 14.5px; }
.asc-disclaimer p { margin: 0 0 8px; }
.asc-disclaimer p:last-child { margin: 0; }
.asc-sources ul { padding-left: 20px; }
.asc-empty { padding: 16px; border: 1px dashed var(--asc-line); border-radius: 10px; color: var(--asc-muted); }
/* Fallback if a theme other than Astra prints author/date on scholarship pages. */
.single-asc_program .entry-meta, .single-asc_university .entry-meta { display: none; }
.asc-card a:focus-visible, .asc-panel a:focus-visible, .asc-button:focus-visible { outline: 2px solid var(--asc-blue); outline-offset: 2px; }

/* ---------- Portal (v0.2.0) ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.asc-hero { background: var(--asc-navy); color: #fff; border-radius: 14px; margin: 0 0 32px; padding: clamp(24px, 5vw, 48px); }
.asc-hero__inner { display: grid; gap: 12px; max-width: 920px; }
.asc-hero__title { color: #fff; margin: 0; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.asc-hero__bn { margin: 0; font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif; font-size: clamp(17px, 2.2vw, 21px); color: #E8EEF5; }
.asc-hero__ar { margin: 0; font-family: "Noto Naskh Arabic", "Amiri", serif; font-size: clamp(19px, 2.4vw, 23px); color: #E8EEF5; text-align: right; }
.asc-hero__lead { margin: 4px 0 8px; max-width: 64ch; color: #D5DEE8; font-size: 16.5px; }
.asc-hero .asc-search { background: #fff; color: #111827; border-radius: 12px; padding: 16px; border-top: 3px solid var(--asc-gold); }
.asc-hero .asc-button--ghost { color: var(--asc-navy); }

.asc-search, .asc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.asc-filters { background: #fff; border: 1px solid var(--asc-line); border-radius: 12px; padding: 16px; margin: 8px 0 12px; }
.asc-field { display: grid; gap: 4px; min-width: 0; }
.asc-field--wide { grid-column: 1 / -1; }
.asc-field label { font-size: 13.5px; font-weight: 600; color: #374151; }
.asc-field select, .asc-field input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #B8C4D0; border-radius: 8px; background: #fff; color: #111827; font-size: 15.5px; }
.asc-field select:focus-visible, .asc-field input:focus-visible { outline: 2px solid var(--asc-blue); outline-offset: 1px; border-color: var(--asc-blue); }
.asc-search__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.asc-count { font-weight: 600; color: var(--asc-navy); margin: 8px 0; }

.asc-grid--countries { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.asc-country { background: #fff; border: 1px solid var(--asc-line); border-left: 4px solid var(--asc-emerald); border-radius: 10px; padding: 18px; display: grid; gap: 6px; }
.asc-country h3 { margin: 0; font-size: 19px; }
.asc-country h3 a { color: var(--asc-navy); text-decoration: none; }
.asc-country h3 a:hover, .asc-country h3 a:focus-visible { text-decoration: underline; }

.asc-tags { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--asc-emerald); }
.asc-deadline { margin: 0; font-size: 13.5px; color: #374151; }
.asc-card-links { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 14.5px; font-weight: 600; }
.asc-card-links a { color: var(--asc-blue-strong, #0958D9); }

.asc-journey { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.asc-journey li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--asc-line); border-radius: 10px; padding: 16px 16px 16px 56px; display: grid; gap: 4px; }
.asc-journey li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--asc-navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.asc-journey__text { display: block; font-size: 14.5px; color: #374151; }

.asc-helpdesk { background: #F1F8F6; border: 1px solid #BFE3DA; border-radius: 12px; padding: clamp(18px, 3vw, 28px); margin: 32px 0; display: grid; gap: 10px; }
.asc-helpdesk h2 { margin: 0; color: var(--asc-navy); }
.asc-helpdesk p { margin: 0; max-width: 70ch; }
.asc-contact { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.asc-contact .asc-muted { display: inline-block; min-width: 90px; font-weight: 600; }
.asc-contact a { color: var(--asc-blue-strong, #0958D9); font-weight: 600; }

.asc-directory__header { display: grid; gap: 8px; margin: 32px 0 8px; }
.asc-directory__header h1 { margin: 0; color: var(--asc-navy); }
/* The theme's header already opens a (flex) container, so the page fills it as one block. */
.asc-directory-page { flex: 1 1 100%; width: 100%; min-width: 0; }
.asc-container { display: block; padding-bottom: 48px; }
@media (prefers-reduced-motion: no-preference) { .asc-card, .asc-country { transition: border-color .15s; } }
.asc-card:hover, .asc-country:hover { border-color: #9FB3C8; }