.scholarships-page {
  --scholarship-navy: #17365d;
  --scholarship-blue: #0088cc;
  --scholarship-sky: #eaf6fc;
  --scholarship-line: #d8e3ec;
  --scholarship-muted: #627387;
}

.scholarships-page {
  font-family: "Open Sans", Arial, sans-serif;
}

.scholarships-page ins.adsbygoogle,
.scholarships-page [id^="aswift_"] {
  max-width: 100% !important;
}

.scholarships-page [id^="aswift_"][id$="_host"] {
  overflow: hidden !important;
}

.scholarship-eyebrow {
  margin: 0 0 8px;
  color: #087ca9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scholarship-section-heading {
  max-width: 840px;
  margin: 0 auto 30px;
  text-align: center;
}

.scholarship-section-heading h2 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 17px;
  color: var(--scholarship-navy);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.scholarship-section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0088cc, #00aaff);
  transform: translateX(-50%);
}

.scholarship-section-heading > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #4b6274;
  font-size: 16px;
  line-height: 1.7;
}

.scholarship-hero {
  padding: clamp(16px, 1.5vw, 22px) 0 clamp(42px, 5vw, 66px);
  background: #fff;
}

.scholarship-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.scholarship-hero__content h2 {
  margin: 0 0 18px;
  color: #102a43;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.scholarship-hero__lead {
  margin: 0 0 14px;
  color: #29485e;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
}

.scholarship-hero__content > p:not(.scholarship-eyebrow):not(.scholarship-hero__lead) {
  margin: 0;
  color: #536a7b;
  font-size: 15px;
  line-height: 1.7;
}

.scholarship-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.scholarship-hero__actions .btn {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.scholarship-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: #0076ad;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.scholarship-text-link:hover,
.scholarship-text-link:focus {
  color: #005b86;
  text-decoration: underline;
}

.scholarship-overview {
  overflow: hidden;
  border: 1px solid #214b68;
  border-radius: 18px;
  background: linear-gradient(155deg, #102f47 0%, #174d6d 100%);
  box-shadow: 0 14px 34px rgba(15, 39, 64, .18);
  color: #fff;
}

.scholarship-overview__heading {
  display: flex;
  padding: 22px 24px 20px;
  flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.scholarship-overview__heading span {
  color: #75d6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scholarship-overview__heading strong {
  margin-top: 6px;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.scholarship-overview__heading small {
  margin-top: 4px;
  color: #d8eaf3;
  font-size: 13px;
  font-weight: 700;
}

.scholarship-overview__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.scholarship-overview__stats div {
  min-width: 0;
  padding: 16px 11px;
  text-align: center;
}

.scholarship-overview__stats div + div {
  border-left: 1px solid rgba(255,255,255,.14);
}

.scholarship-overview__stats dt {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.scholarship-overview__stats dd {
  margin: 4px 0 0;
  color: #cde1eb;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.scholarship-overview > p {
  margin: 0;
  padding: 14px 20px 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #c8dce7;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.scholarship-application-guide {
  padding: clamp(44px, 5vw, 64px) 0;
  border-top: 1px solid #dbe8f0;
  border-bottom: 1px solid #dbe8f0;
  background:
    radial-gradient(circle at 90% 5%, rgba(0,136,204,.09), transparent 26%),
    #f3f8fb;
  scroll-margin-top: 90px;
}

.scholarship-application-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d3e2eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(15,39,64,.07);
  list-style: none;
}

.scholarship-application-steps li {
  min-width: 0;
  padding: 20px 18px 21px;
}

.scholarship-application-steps li + li {
  border-left: 1px solid #dce7ee;
}

.scholarship-application-steps li > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f3f9;
  color: #0076ad;
  font-size: 12px;
  font-weight: 800;
}

.scholarship-application-steps h3 {
  margin: 0 0 7px;
  color: #17364c;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.scholarship-application-steps p {
  margin: 0;
  color: #587083;
  font-size: 12px;
  line-height: 1.55;
}

.scholarship-guide-ad {
  padding-top: 18px;
  padding-bottom: 4px;
}

.scholarship-funding-guidance {
  padding: clamp(50px, 6vw, 74px) 0;
  background: #fff;
}

.scholarship-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scholarship-guidance-grid article {
  min-width: 0;
  padding: 24px 24px 22px;
  border: 1px solid #d9e4eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,39,64,.07);
}

.scholarship-guidance-card--caution {
  border-color: #edd8a7 !important;
  background: linear-gradient(145deg, #fff 0%, #fffaf0 100%) !important;
}

.scholarship-guidance-label {
  margin: 0 0 8px;
  color: #087ca9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.scholarship-guidance-grid h3 {
  margin: 0 0 11px;
  color: #102a43;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.scholarship-guidance-grid article > p:not(.scholarship-guidance-label) {
  margin: 0 0 13px;
  color: #465f72;
  font-size: 14px;
  line-height: 1.65;
}

.scholarship-guidance-grid article > a,
.scholarship-guidance-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  color: #0076ad;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.scholarship-guidance-grid a:hover,
.scholarship-guidance-grid a:focus {
  color: #005b86;
  text-decoration: underline;
}

.scholarship-guidance-links {
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
}

.scholarship-directory-section {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 16px;
}

.scholarship-directory-heading {
  margin-bottom: 24px;
}

.scholarship-directory {
  overflow: hidden;
  margin: 28px 0 20px;
  border: 1px solid var(--scholarship-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(23, 54, 93, .09);
  scroll-margin-top: 90px;
}

.scholarship-filter-panel {
  padding: 24px 26px 26px;
  background: linear-gradient(135deg, #17365d 0%, #1d4a77 100%);
  color: #fff;
}

.scholarship-filter-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}

.filter-kicker {
  display: block;
  margin-bottom: 3px;
  color: #78d3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.scholarship-filter-heading h3 { margin: 0; color: #fff; font-size: 23px; font-weight: 800; }

.scholarship-clear {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.65);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.scholarship-clear:hover,
.scholarship-clear:focus { border-bottom-color: #78d3ff; color: #78d3ff; }

.scholarship-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(135px, 1fr));
  gap: 14px;
}

.scholarship-filter-field label {
  display: block;
  margin-bottom: 6px;
  color: #dceaf5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.scholarship-filter-field .form-control {
  height: 43px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  color: #23374d;
  font-size: 13px;
}

.scholarship-filter-field .form-control:focus {
  border-color: #78d3ff;
  box-shadow: 0 0 0 3px rgba(120,211,255,.25);
}

.scholarship-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--scholarship-line);
  background: #f7fafc;
}

.scholarship-results-bar p { margin: 0; }
.scholarship-results-count { color: var(--scholarship-navy); font-weight: 800; }
.scholarship-table-hint { color: var(--scholarship-muted); font-size: 12px; }
.scholarship-table-wrap { overflow-x: auto; }
.scholarship-table { min-width: 920px; margin: 0; }

.scholarship-table > thead > tr > th {
  padding: 13px 14px;
  border-bottom: 2px solid #c9d8e4;
  background: #eef4f8;
  color: #314b68;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .65px;
  text-transform: uppercase;
  vertical-align: middle;
}

.scholarship-table > tbody > tr > td {
  padding: 17px 14px;
  border-top: 1px solid #e5edf3;
  color: #40566c;
  font-size: 13px;
  line-height: 1.48;
  vertical-align: middle;
}

.scholarship-table th:first-child,
.scholarship-table td:first-child { width: 34%; padding-left: 20px; }
.scholarship-table th:nth-child(2) { width: 15%; }
.scholarship-table th:nth-child(3) { width: 16%; }
.scholarship-table th:nth-child(4) { width: 20%; }
.scholarship-table th:nth-child(5) { width: 15%; }

.scholarship-directory-row:hover td { background: #f8fcff; }
.scholarship-name-link { color: #0079b8; font-size: 15px; font-weight: 800; line-height: 1.35; }
.scholarship-name-link:hover { color: #005d8e; }
.scholarship-row-summary { display: block; margin-top: 5px; color: var(--scholarship-muted); font-size: 12px; }

.scholarship-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2f6;
  color: #44576b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .35px;
  line-height: 1.25;
  text-transform: uppercase;
}

.scholarship-status-pill::before {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.scholarship-status-pill.is-open { background: #e6f7ee; color: #147a47; }
.scholarship-status-pill.is-upcoming { background: #e8f4fb; color: #0878ae; }
.scholarship-status-pill.is-closed { background: #f2f3f5; color: #697887; }
.scholarship-status-pill.is-varies,
.scholarship-status-pill.is-annual,
.scholarship-status-pill.is-check { background: #fff3d8; color: #8b6200; }

.scholarship-no-results td { padding: 45px 20px !important; color: var(--scholarship-muted) !important; text-align: center; }
.scholarship-no-results strong { color: var(--scholarship-navy); font-size: 16px; }

.scholarship-update-note {
  max-width: 720px;
  margin: 20px auto 18px;
  color: #587083;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.scholarships-page > .call-to-action-in-footer {
  margin-top: 0;
}

.scholarships-page a:focus-visible,
.scholarships-page button:focus-visible,
.scholarships-page input:focus-visible,
.scholarships-page select:focus-visible {
  outline: 3px solid rgba(0,136,204,.4);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .scholarship-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 30px; }
  .scholarship-application-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scholarship-application-steps li + li { border-left: 0; }
  .scholarship-application-steps li:nth-child(even) { border-left: 1px solid #dce7ee; }
  .scholarship-application-steps li:nth-child(n + 3) { border-top: 1px solid #dce7ee; }
  .scholarship-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scholarship-search-field { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .scholarship-hero__grid,
  .scholarship-guidance-grid { grid-template-columns: minmax(0, 1fr); }
  .scholarship-hero__content h2 { font-size: 30px; }
  .scholarship-hero__lead { font-size: 17px; }
  .scholarship-hero__actions { align-items: stretch; flex-direction: column; }
  .scholarship-hero__actions .btn,
  .scholarship-text-link { width: 100%; justify-content: center; }
  .scholarship-overview { width: 100%; max-width: 480px; margin-right: auto; margin-left: auto; }
  .scholarship-application-steps { grid-template-columns: minmax(0, 1fr); }
  .scholarship-application-steps li { padding: 17px 16px 18px; }
  .scholarship-application-steps li + li,
  .scholarship-application-steps li:nth-child(even),
  .scholarship-application-steps li:nth-child(n + 3) { border-top: 1px solid #dce7ee; border-left: 0; }
  .scholarship-guidance-grid article { padding: 21px 19px 19px; }
  .scholarship-filter-panel { padding: 21px 18px 23px; }
  .scholarship-filter-heading { align-items: flex-start; }
  .scholarship-filter-heading h3 { font-size: 20px; }
  .scholarship-filter-grid { grid-template-columns: 1fr; }
  .scholarship-search-field { grid-column: auto; }
  .scholarship-results-bar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .scholarship-table-wrap { overflow: visible; }
  .scholarship-table { min-width: 0; }
  .scholarship-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .scholarship-table,
  .scholarship-table tbody,
  .scholarship-table tr,
  .scholarship-table td { display: block; width: 100% !important; }
  .scholarship-directory-row { padding: 19px 18px; border-bottom: 1px solid var(--scholarship-line); }
  .scholarship-table > tbody > tr > td { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 10px; padding: 6px 0; border: 0; }
  .scholarship-table > tbody > tr > td:first-child { display: block; padding: 0 0 13px; }
  .scholarship-table td:not(:first-child)::before { color: #65788c; content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
  .scholarship-name-link { font-size: 17px; }
  .scholarship-row-summary { margin-top: 7px; }
  .scholarship-no-results { padding: 0; }
  .scholarship-no-results td { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  .scholarship-directory-row { scroll-behavior: auto; }
}
