:root {
  --ink: #071a44;
  --muted: #60708f;
  --line: #dce7f5;
  --blue: #075fd6;
  --blue-strong: #003c99;
  --sky: #eaf6ff;
  --soft: #f5f9ff;
  --card: #ffffff;
  --green: #0b9b61;
  --orange: #f47b20;
  --shadow: 0 18px 45px rgba(7, 26, 68, 0.10);
  --radius: 8px;
  font-family: "Noto Sans Thai", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Noto Sans Thai", Arial, sans-serif;
}

/* Homepage layout. */
.site-header {
  min-height: 72px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(7, 26, 68, 0.08);
}

.brand {
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #062b6f, #f3b13d);
}

.brand strong {
  font-size: 26px;
}

.main-nav a {
  padding: 25px 0 22px;
}

.main-nav a.active::after {
  bottom: 11px;
}

.header-actions .primary-link {
  background: linear-gradient(135deg, #0b4fb3, #062b6f);
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 26, 68, 0.98) 0%, rgba(4, 26, 68, 0.92) 42%, rgba(6, 53, 116, 0.76) 68%, rgba(238, 247, 255, 0.42) 100%),
    linear-gradient(180deg, #0a3374 0%, #041a44 100%);
  border-bottom: 0;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.62fr);
  min-height: 410px;
  padding: 38px 48px 94px;
}

.hero-copy {
  max-width: 690px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  color: #ffd36a;
  background: rgba(255, 211, 106, 0.10);
  border: 1px solid rgba(255, 211, 106, 0.32);
  border-radius: 999px;
  font-size: 17px;
}

.hero h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.04;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero .lead {
  max-width: 650px;
  color: #d9e8ff;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .primary-link {
  min-width: 180px;
  color: #071a44;
  background: linear-gradient(135deg, #ffd76b, #f2a935);
  box-shadow: 0 16px 30px rgba(242, 169, 53, 0.28);
}

.hero-actions .hero-ghost {
  min-width: 170px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-snapshot {
  position: absolute;
  right: 48px;
  bottom: 28px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  width: min(660px, calc(100% - 96px));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(198, 216, 239, 0.85);
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(4, 26, 68, 0.22);
}

.hero-snapshot div {
  min-height: 92px;
  padding: 17px 18px;
  border-right: 1px solid #dce7f5;
}

.hero-snapshot div:last-child {
  border-right: 0;
}

.hero-snapshot span {
  display: block;
  margin-bottom: 2px;
  color: #60708f;
  font-size: 12px;
  font-weight: 800;
}

.hero-snapshot strong {
  display: block;
  color: #07327a;
  font-size: 28px;
  line-height: 1.1;
}

.hero-snapshot p {
  margin: 2px 0 0;
  color: #60708f;
  font-size: 12px;
  line-height: 1.35;
}

.hero-art {
  grid-column: 2;
  min-height: 300px;
}

.globe {
  right: 118px;
  bottom: 34px;
  width: 250px;
  height: 250px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(135deg, #d6a64a, #183e82 42%, #071a44);
  opacity: 1;
}

.cap {
  right: 56px;
  bottom: 142px;
  background: linear-gradient(135deg, #061a46, #0b4fb3);
}

.book {
  right: 72px;
  bottom: 84px;
}

.book-two {
  bottom: 56px;
  background: #051a46;
}

.skyline {
  right: -110px;
  bottom: 8px;
  width: 680px;
  height: 130px;
  opacity: 0.34;
  background: #d6eaff;
}

.workspace {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  padding: 0 48px 48px;
  margin-top: -54px;
}

.search-panel {
  position: relative;
  z-index: 5;
  border-color: #c9dbf1;
  box-shadow: 0 20px 48px rgba(7, 26, 68, 0.14);
}

.search-panel-head {
  padding: 18px 22px 14px;
  background: #ffffff;
}

.search-panel-head h2 {
  font-size: 24px;
}

.search-panel-head p:last-child {
  font-size: 14px;
}

.finder-toolbar {
  padding: 10px 22px;
}

.primary-search {
  grid-template-columns: minmax(250px, 1fr) 150px 120px;
  padding: 18px 22px 12px;
}

.primary-search input[type="search"],
.primary-search .search-button,
.primary-search .reset-button {
  min-height: 46px;
}

.filters {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  padding: 10px 22px 14px;
}

.filter-card,
.check-group.filter-card {
  min-width: 0;
}

.filter-card select {
  min-height: 44px;
}

.funding-options {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding-top: 3px;
}

.funding-options .filter-label {
  width: auto;
  min-width: 84px;
}

.quick-filter-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 22px 16px;
}

.quick-filter-row button {
  min-height: 50px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 22px;
  background: #fbfdff;
}

.recommendations {
  padding-top: 20px;
}

.scholarship-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}

.scholarship-card {
  grid-template-rows: 76px 1fr;
  min-height: 270px;
  border-radius: 8px;
}

.card-media {
  min-height: 76px;
  padding: 12px;
}

.destination-mark strong {
  font-size: 22px;
}

.destination-mark > span:not(.country-flag-image) {
  margin-top: 2px;
  font-size: 12px;
}

.source-mark {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.badge {
  top: 8px;
  left: 8px;
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

.favorite {
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
}

.card-body {
  padding: 13px;
}

.card-body h3 {
  min-height: 44px;
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.35;
}

.card-source,
.card-meta-grid,
.support-row {
  margin-bottom: 8px;
}

.card-meta-grid {
  grid-template-columns: 1fr;
  gap: 6px;
}

.card-meta-grid div {
  padding: 8px;
}

.tag-row {
  display: none;
}

.deadline {
  align-items: center;
  gap: 8px;
  padding-top: 9px;
}

.deadline span {
  font-size: 11px;
}

.details-link {
  min-width: 88px;
  min-height: 32px;
  padding: 6px 10px;
  text-align: center;
  background: #eef6ff;
  border: 1px solid #bcd6f7;
  border-radius: 6px;
}

.side-column {
  display: grid;
  gap: 14px;
}

.quick-start-card,
.why-card,
.updates-card,
.consult-card {
  box-shadow: 0 14px 30px rgba(7, 26, 68, 0.09);
}

.quick-start-card {
  padding: 18px;
}

.quick-start-card a,
.updates-card .full-button,
.consult-card a {
  min-height: 42px;
}

.why-card {
  padding: 20px;
}

.why-item {
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f8;
}

.why-item:last-child {
  border-bottom: 0;
}

.round-icon {
  color: #0b4fb3;
}

.updates-card,
.consult-card {
  padding: 20px;
}

.popular-categories {
  margin-top: 22px;
}

.popular-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.popular-category-grid a {
  min-height: 72px;
  align-content: center;
  background: #ffffff;
  border-color: #d8e5f5;
}

.home-insights,
.source-section,
.official-updates,
.faq-preview {
  padding: 24px;
}

.pathway-section {
  background: linear-gradient(135deg, #041a44, #0b4fb3 72%, #0c7a66);
}

.service-strip {
  background: linear-gradient(135deg, #061a46, #0b4fb3);
  color: #ffffff;
}

.service-strip .eyebrow,
.service-strip p:last-child {
  color: #dcecff;
}

.service-links a {
  background: linear-gradient(135deg, #ffd76b, #f2a935);
  color: #071a44;
}

.modern-footer {
  background: #041a44;
  color: #ffffff;
}

.modern-footer p,
.modern-footer a {
  color: #dcecff;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 24px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 8px 0 10px;
  }

  .main-nav a.active::after {
    bottom: 3px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 34px 24px 150px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-art {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: 410px;
    opacity: 0.48;
  }

  .hero-snapshot {
    right: 24px;
    left: 24px;
    width: auto;
  }

  .workspace {
    grid-template-columns: 1fr;
    padding: 0 24px 38px;
  }

  .filters {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 10px 14px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 11px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 26px 14px 248px;
  }

  .hero .eyebrow {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-link,
  .hero-actions .hero-ghost {
    width: 100%;
  }

  .hero-trust {
    gap: 8px;
  }

  .hero-trust span {
    font-size: 11px;
  }

  .hero-art {
    right: -96px;
    bottom: 98px;
    transform: scale(0.72);
  }

  .hero-snapshot {
    right: 14px;
    bottom: 16px;
    left: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-snapshot div {
    min-height: 74px;
    padding: 12px;
  }

  .hero-snapshot div:nth-child(2) {
    border-right: 0;
  }

  .hero-snapshot div:nth-child(-n + 2) {
    border-bottom: 1px solid #dce7f5;
  }

  .hero-snapshot strong {
    font-size: 22px;
  }

  .hero-snapshot p {
    display: none;
  }

  .workspace {
    padding: 0 14px 32px;
    margin-top: -6px;
  }

  .search-panel-head,
  .finder-toolbar {
    display: grid;
    gap: 12px;
  }

  .search-panel-head {
    padding: 16px;
  }

  .finder-toolbar {
    padding: 12px 16px;
  }

  .finder-toolbar .tabs {
    width: 100%;
  }

  .finder-toolbar .tab {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    font-size: 13px;
  }

  .finder-badges {
    justify-content: flex-start;
  }

  .primary-search {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .quick-filter-row {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px 16px;
  }

  .filters {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }

  .funding-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px 16px;
  }

  .stats-grid div {
    grid-template-columns: 28px 1fr;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .homepage-section {
    width: calc(100% - 28px);
  }

  .section-heading,
  .rich-heading,
  .pathway-section,
  .service-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .insight-grid,
  .source-grid,
  .official-updates-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .home-insights,
  .source-section,
  .official-updates,
  .faq-preview,
  .pathway-section,
  .service-strip {
    padding: 18px;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 31px;
  }

  .quick-filter-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-snapshot {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 392px;
  }

  .hero-snapshot div {
    border-right: 0;
    border-bottom: 1px solid #dce7f5;
  }

  .hero-snapshot div:last-child {
    border-bottom: 0;
  }
}

/* Final custom hero banner. Keep this at the end so it wins older hero rules. */
.hero {
  background:
    linear-gradient(90deg, rgba(4, 26, 68, 0.96) 0%, rgba(4, 26, 68, 0.86) 36%, rgba(4, 26, 68, 0.38) 64%, rgba(4, 26, 68, 0.05) 100%),
    image-set(
      url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
      url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.hero-art {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(4, 26, 68, 0.98) 0%, rgba(4, 26, 68, 0.90) 42%, rgba(4, 26, 68, 0.40) 100%),
      image-set(
        url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
        url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
      );
    background-position: 64% center;
    background-size: cover;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Custom hero banner artwork supplied for sop.translationfind. */
.hero {
  background:
    linear-gradient(90deg, rgba(4, 26, 68, 0.96) 0%, rgba(4, 26, 68, 0.86) 36%, rgba(4, 26, 68, 0.38) 64%, rgba(4, 26, 68, 0.05) 100%),
    image-set(
      url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
      url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.hero-art {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(4, 26, 68, 0.98) 0%, rgba(4, 26, 68, 0.90) 42%, rgba(4, 26, 68, 0.40) 100%),
      image-set(
        url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
        url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
      );
    background-position: 64% center;
    background-size: cover;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 42%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 0 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: linear-gradient(135deg, #063f9d, #40b5e9);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(7, 95, 214, 0.18);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand strong {
  display: block;
  color: #07327a;
  font-size: 28px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-weight: 700;
  color: #132653;
}

.main-nav a {
  position: relative;
  padding: 31px 0 28px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}

.ghost-link,
.primary-link,
.full-button,
.consult-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.ghost-link {
  color: var(--blue-strong);
}

.primary-link,
.full-button,
.consult-card a {
  color: white;
  background: linear-gradient(135deg, #0a63de, #0042a8);
  box-shadow: 0 12px 24px rgba(7, 95, 214, 0.22);
}

.hero {
  overflow: hidden;
  background: linear-gradient(115deg, #f7fbff 0%, #eaf6ff 62%, #f6fbff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px 420px;
  gap: 24px;
  align-items: center;
  max-width: 1440px;
  min-height: 390px;
  padding: 46px 64px 74px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  color: #23375f;
  font-size: 20px;
}

.hero-art {
  position: relative;
  min-height: 280px;
}

.globe {
  position: absolute;
  right: 100px;
  bottom: 12px;
  width: 245px;
  height: 245px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), transparent 28%),
    linear-gradient(135deg, #8fd0ff, #2f8ee5);
  border-radius: 50%;
  opacity: 0.92;
  box-shadow: inset -20px -20px 50px rgba(3, 68, 138, 0.20);
}

.globe::before,
.globe::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.globe::before {
  inset: 22px 72px;
}

.globe::after {
  inset: 68px 16px;
}

.orbit {
  position: absolute;
  inset: 42px -28px;
  border: 2px solid rgba(4, 88, 178, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-two {
  inset: 88px -42px;
  transform: rotate(14deg);
}

.cap {
  position: absolute;
  right: 64px;
  bottom: 92px;
  width: 150px;
  height: 70px;
  background: linear-gradient(135deg, #031d55, #0d4aa4);
  clip-path: polygon(50% 0, 100% 36%, 50% 72%, 0 36%);
  filter: drop-shadow(0 16px 20px rgba(7, 26, 68, 0.18));
}

.book {
  position: absolute;
  right: 72px;
  bottom: 58px;
  width: 140px;
  height: 26px;
  background: white;
  border: 1px solid rgba(7, 95, 214, 0.18);
  border-radius: 5px;
  box-shadow: 0 12px 26px rgba(7, 26, 68, 0.12);
}

.book-two {
  bottom: 30px;
  background: #07327a;
}

.skyline {
  position: absolute;
  right: -40px;
  bottom: -3px;
  width: 720px;
  height: 86px;
  opacity: 0.20;
  background:
    linear-gradient(to top, #0d78d7 0 28px, transparent 28px),
    linear-gradient(to top, transparent 0 16px, #0d78d7 16px 76px, transparent 76px);
  clip-path: polygon(0 100%, 0 72%, 5% 72%, 5% 40%, 7% 40%, 7% 72%, 13% 72%, 13% 20%, 16% 20%, 16% 72%, 22% 72%, 22% 48%, 25% 48%, 25% 72%, 34% 72%, 34% 28%, 36% 28%, 36% 72%, 46% 72%, 46% 38%, 49% 38%, 49% 72%, 58% 72%, 58% 16%, 61% 16%, 61% 72%, 70% 72%, 70% 46%, 75% 46%, 75% 72%, 84% 72%, 84% 24%, 87% 24%, 87% 72%, 100% 72%, 100% 100%);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  max-width: 1440px;
  padding: 0 64px 56px;
  margin: -44px auto 0;
}

.content-column,
.side-column {
  min-width: 0;
}

.search-panel,
.why-card,
.updates-card,
.consult-card,
.scholarship-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel {
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 28px;
  padding: 18px 28px 0;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: var(--blue);
  border-color: var(--blue);
}

.icon,
.stat-icon,
.round-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.search-icon::before,
.search-icon::after {
  position: absolute;
  content: "";
}

.search-icon::before {
  inset: 2px 7px 7px 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  right: 2px;
  bottom: 2px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.map-icon::before {
  position: absolute;
  inset: 3px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: skewY(-8deg);
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) 1.6fr minmax(150px, 0.8fr);
  gap: 18px;
  padding: 24px 28px 18px;
}

.filters label,
.keyword-label {
  display: grid;
  gap: 7px;
  color: #1c315c;
  font-size: 14px;
  font-weight: 700;
}

select,
input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: #142b59;
  background: white;
  border: 1px solid #cad8eb;
  border-radius: 7px;
  outline: none;
}

select:focus,
input[type="search"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 214, 0.13);
}

.check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 7px 14px;
}

.check-group > span {
  grid-column: 1 / -1;
  color: #1c315c;
  font-size: 14px;
  font-weight: 800;
}

.check-group label {
  display: inline-flex;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
  color: #22365f;
  font-weight: 600;
}

.check-group input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.keyword-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 390px) auto;
  gap: 18px;
  align-items: end;
  padding: 0 28px 22px;
}

.search-button,
.reset-button {
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
  border-radius: 7px;
  font-weight: 800;
}

.search-button {
  color: white;
  background: linear-gradient(135deg, #0d6ae5, #0043a7);
  border: 0;
}

.reset-button {
  color: var(--blue);
  background: white;
  border: 1px solid #cad8eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
}

.stats-grid div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 10px;
  align-items: center;
}

.stats-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stats-grid strong {
  display: block;
  color: var(--blue-strong);
  font-size: 20px;
}

.stat-icon {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  color: #7891b8;
}

.database-icon,
.calendar-icon,
.globe-icon,
.school-icon,
.badge-icon,
.shield-icon,
.heart-icon {
  border: 2px solid currentColor;
  border-radius: 8px;
}

.database-icon::before,
.calendar-icon::before,
.globe-icon::before,
.school-icon::before,
.badge-icon::before,
.shield-icon::before,
.heart-icon::before {
  position: absolute;
  content: "";
}

.database-icon::before {
  inset: 8px 6px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.calendar-icon::before {
  right: 4px;
  left: 4px;
  top: 8px;
  border-top: 2px solid currentColor;
}

.globe-icon {
  border-radius: 50%;
}

.globe-icon::before {
  inset: 6px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 50%;
}

.school-icon::before {
  inset: 8px 4px 5px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.badge-icon::before {
  inset: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.shield-icon {
  border-radius: 8px 8px 12px 12px;
}

.shield-icon::before {
  inset: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.heart-icon {
  border: 0;
}

.heart-icon::before {
  left: 6px;
  top: 7px;
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: path("M9 17 C4 13 1 10 1 6 A4 4 0 0 1 8 4 A4 4 0 0 1 15 6 C15 10 12 13 9 17 Z");
}

.recommendations {
  padding-top: 26px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

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

.scholarship-card {
  display: grid;
  grid-template-rows: 132px 1fr;
  overflow: hidden;
  min-height: 430px;
  background: #ffffff;
  border-color: #d5e3f4;
  box-shadow: 0 12px 28px rgba(7, 26, 68, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.scholarship-card:hover {
  border-color: #a7c9f4;
  box-shadow: 0 18px 38px rgba(7, 26, 68, 0.13);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  min-height: 132px;
  padding: 18px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #0b3b8f, #0d6ae5);
}

.card-media::before,
.card-media::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.card-media::before {
  right: -38px;
  top: -42px;
  width: 150px;
  height: 150px;
}

.card-media::after {
  right: 54px;
  bottom: -44px;
  width: 130px;
  height: 130px;
}

.destination-japan {
  background: linear-gradient(135deg, #063f9d, #2aa7d9);
}

.destination-germany {
  background: linear-gradient(135deg, #172554, #3b82f6);
}

.destination-united-kingdom {
  background: linear-gradient(135deg, #082f49, #0ea5e9);
}

.destination-australia {
  background: linear-gradient(135deg, #0f4c81, #10b981);
}

.destination-canada {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.destination-china {
  background: linear-gradient(135deg, #7f1d1d, #f59e0b);
}

.destination-european-union {
  background: linear-gradient(135deg, #123c8c, #2f8ee5);
}

.destination-netherlands {
  background: linear-gradient(135deg, #0f4c81, #f97316);
}

.destination-south-korea {
  background: linear-gradient(135deg, #1e3a8a, #db2777);
}

.destination-thailand {
  background: linear-gradient(135deg, #075985, #16a34a);
}

.destination-turkey {
  background: linear-gradient(135deg, #7f1d1d, #dc2626);
}

.destination-united-states {
  background: linear-gradient(135deg, #1e3a8a, #64748b);
}

.destination-global,
.destination- {
  background: linear-gradient(135deg, #334155, #0d6ae5);
}

.destination-mark,
.source-mark,
.badge,
.favorite {
  position: relative;
  z-index: 1;
}

.destination-mark {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-width: 0;
}

.country-flag-image {
  display: block;
  grid-row: 1 / span 2;
  width: 44px;
  height: 32px;
  object-fit: cover;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(7, 26, 68, 0.18);
}

.destination-mark strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.destination-mark > span:not(.country-flag-image) {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.destination-mark .country-flag-image {
  margin-top: 0;
}

.source-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  align-self: start;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.badge.partial {
  background: #047857;
}

.badge.soon {
  background: var(--orange);
}

.badge.draft {
  background: #64748b;
}

.scholarship-card.is-draft {
  border-color: #cbd5e1;
}

.favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #23426f;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.favorite.active {
  color: white;
  background: var(--blue);
}

.card-body {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.card-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-status,
.card-country {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  color: #0f5f3a;
  background: #e9f9f1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.card-country {
  color: #23426f;
  background: #eef6ff;
}

.is-draft .card-status {
  color: #475569;
  background: #f1f5f9;
}

.card-body h3 {
  min-height: 48px;
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.28;
}

.card-source {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta-grid div {
  min-width: 0;
  padding: 10px;
  background: #f7fbff;
  border: 1px solid #dce7f5;
  border-radius: 7px;
}

.card-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.card-meta-grid strong {
  display: block;
  overflow: hidden;
  color: #102b62;
  font-size: 13px;
  line-height: 1.35;
}

.support-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.support-row span {
  padding: 4px 8px;
  color: #0f5f3a;
  background: #e9f9f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-row span {
  padding: 3px 8px;
  color: #1b5db0;
  background: #eaf3ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.deadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  color: #61718d;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.deadline span {
  display: grid;
  gap: 1px;
}

.deadline strong {
  color: #23375f;
}

.details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  color: white;
  white-space: nowrap;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.empty-state {
  padding: 34px;
  text-align: center;
  background: white;
  border: 1px dashed #b9c9df;
  border-radius: var(--radius);
}

.side-column {
  display: grid;
  gap: 20px;
  align-content: start;
}

.why-card,
.updates-card,
.consult-card {
  padding: 22px;
}

.why-card h2,
.updates-card h2,
.consult-card h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.why-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.why-item h3 {
  margin-bottom: 2px;
  font-size: 15px;
}

.why-item p,
.updates-card p,
.consult-card p,
.modern-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.round-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--blue);
  background: #edf5ff;
  border-color: transparent;
}

.updates-card input {
  margin: 14px 0 12px;
}

.full-button {
  width: 100%;
}

.consult-card {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e7f7ff, #bce8fb);
}

.consult-card.planning-card {
  grid-template-columns: 1fr;
}

.consult-card img {
  align-self: end;
  width: 88px;
  border-radius: 8px;
}

.consult-card a {
  margin-top: 14px;
}

.modern-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 64px;
  background: #061a44;
  color: white;
}

.modern-footer p {
  color: #c5d3ea;
}

.modern-footer nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 700;
}

.review-page {
  background: #f6f9fd;
}

.review-shell {
  width: min(1420px, calc(100% - 48px));
  margin: 34px auto 70px;
}

.review-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 30px;
  margin-bottom: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-hero h1 {
  max-width: 760px;
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.25;
}

.review-hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.review-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 12px;
}

.review-scoreboard div {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-scoreboard span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.review-scoreboard strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.2;
}

.review-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
}

.review-controls,
.review-results {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 26, 68, 0.06);
}

.review-controls {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.review-controls label {
  display: grid;
  gap: 6px;
  color: #1a2f5f;
  font-size: 13px;
  font-weight: 800;
}

.review-controls input,
.review-controls select {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #c8d7ec;
  border-radius: 6px;
}

.review-actions {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.review-actions button,
.review-results-header button,
.draft-links button {
  padding: 10px 12px;
  color: #0a4eb5;
  cursor: pointer;
  background: #eef6ff;
  border: 1px solid #c9def8;
  border-radius: 6px;
  font-weight: 800;
}

.review-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.selected-panel {
  padding: 12px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.selected-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.selected-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.review-results {
  min-height: 620px;
  padding: 22px;
}

.review-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.review-results-header h2 {
  margin: 0;
  font-size: 24px;
}

.review-results-header p {
  margin: 2px 0 0;
  color: var(--muted);
}

.draft-list {
  display: grid;
  gap: 12px;
}

.draft-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.draft-item.selected {
  background: #f0f8ff;
  border-color: #7eb7fb;
}

.draft-check {
  padding-top: 4px;
}

.draft-check input {
  width: 20px;
  height: 20px;
}

.draft-main h3 {
  margin: 6px 0 2px;
  font-size: 18px;
  line-height: 1.35;
}

.draft-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.draft-meta,
.draft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.draft-meta span {
  padding: 3px 8px;
  color: #1b5db0;
  background: #eaf3ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.draft-note {
  margin-top: 8px !important;
  color: #40516d !important;
}

.draft-links {
  margin-top: 12px;
}

.draft-links a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.draft-links button {
  padding: 6px 10px;
  font-size: 12px;
}

.detail-page {
  background: #f6f9fd;
}

.detail-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 34px auto 70px;
}

.detail-loading,
.detail-hero,
.detail-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 26, 68, 0.06);
}

.detail-loading {
  padding: 48px;
  text-align: center;
}

.detail-loading h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: stretch;
  padding: 30px;
  margin-bottom: 22px;
}

.detail-hero-copy {
  align-self: center;
}

.detail-hero h1 {
  max-width: 820px;
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.22;
}

.detail-hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.detail-hero .detail-lede {
  max-width: 880px;
  margin: 0 0 18px;
  color: #243855;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-proof-panel {
  display: grid;
  gap: 12px;
  align-self: stretch;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(237, 246, 255, 0.86), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 90% 12%, rgba(20, 160, 133, 0.16), transparent 28%);
  border: 1px solid #cfe2fa;
  border-radius: var(--radius);
}

.detail-proof-panel div {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 78px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-proof-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detail-proof-panel strong {
  color: #0a255c;
  font-size: 18px;
  line-height: 1.35;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  padding: 5px 10px;
  color: #1b5db0;
  background: #eaf3ff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.detail-warning {
  padding: 12px 14px;
  margin-top: 16px;
  color: #7a4a00;
  background: #fff7e8;
  border: 1px solid #ffdca8;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.detail-content,
.detail-sidebar {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.detail-sidebar {
  position: sticky;
  top: 108px;
}

.detail-card {
  padding: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-summary-grid div {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-summary-grid strong {
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.detail-coverage-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border-color: #cfe0f6;
}

.coverage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.coverage-head h2 {
  margin-bottom: 6px;
}

.coverage-head strong {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0d6ae5, #11a36f);
  border-radius: 50%;
  font-size: 18px;
}

.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coverage-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.coverage-grid .is-ready {
  color: #0d633d;
  background: #eaf8f1;
  border: 1px solid #bdebd4;
}

.coverage-grid .is-missing {
  color: #8a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.coverage-note {
  margin-top: 16px;
  padding: 14px;
  background: #f7fbff;
  border: 1px solid #dce9f8;
  border-radius: 8px;
}

.coverage-note strong {
  display: block;
  color: #0b2458;
  margin-bottom: 4px;
}

.detail-schedule-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.schedule-summary {
  display: grid;
  gap: 5px;
  padding: 16px;
  margin-bottom: 14px;
  background: #eef6ff;
  border: 1px solid #cfe2fa;
  border-radius: 8px;
}

.schedule-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.schedule-summary strong {
  color: #0b2458;
  font-size: 18px;
  line-height: 1.55;
}

.schedule-timeline {
  display: grid;
  gap: 10px;
}

.schedule-timeline div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dce9f8;
  border-radius: 8px;
}

.schedule-timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0b5fd2, #0b3c91);
  border-radius: 50%;
  font-weight: 800;
}

.schedule-timeline p {
  margin: 3px 0 0;
  color: #243855;
  line-height: 1.7;
}

.applicant-focus-card {
  border-color: #cfe3f7;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.detail-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}

.detail-list li {
  color: #243855;
}

.source-facts-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.source-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-facts-grid article {
  min-width: 0;
  padding: 16px;
  background: #f7fbff;
  border: 1px solid #d9e6f7;
  border-radius: 8px;
}

.source-facts-grid h3 {
  margin: 0 0 10px;
  color: #0b2458;
  font-size: 17px;
  line-height: 1.35;
}

.source-facts-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.source-facts-grid li {
  color: #243855;
  line-height: 1.65;
}

.detail-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.detail-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.detail-steps strong {
  display: block;
  margin-bottom: 2px;
}

.detail-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.detail-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-checklist li {
  position: relative;
  padding-left: 30px;
  color: #243855;
}

.detail-checklist li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: white;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.detail-mini-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
  overflow-wrap: anywhere;
}

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

.related-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.related-card:hover {
  border-color: #9fc8fb;
  box-shadow: 0 8px 18px rgba(7, 95, 214, 0.08);
}

.related-card span,
.related-card small,
.detail-muted {
  color: var(--muted);
  font-size: 13px;
}

.related-card strong {
  color: var(--ink);
  line-height: 1.35;
}

.detail-primary,
.detail-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.detail-primary {
  margin-top: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0045bd);
}

.detail-secondary {
  margin-top: 10px;
  color: #0a4eb5;
  background: #eef6ff;
  border: 1px solid #c9def8;
}

.source-card {
  border-color: #b9d7ff;
}

.source-evidence-card {
  display: grid;
  gap: 16px;
}

.source-evidence-status {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f6faff;
  border: 1px solid #d5e4f8;
  border-radius: 8px;
}

.source-evidence-status span,
.source-checklist span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #ffffff;
  background: #1f61d6;
  border-radius: 50%;
  font-weight: 800;
}

.source-evidence-status.is-ok span,
.source-checklist .is-ok span {
  background: #1fa56a;
}

.source-evidence-status.is-warning span,
.source-checklist .is-warning span {
  background: #d97706;
}

.source-evidence-status strong {
  color: #0d1f4a;
}

.source-evidence-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.source-evidence-list div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf3fb;
}

.source-evidence-list dt {
  color: #637493;
  font-size: 12px;
}

.source-evidence-list dd {
  margin: 0;
  color: #0d1f4a;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.source-checklist {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.source-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.source-checklist strong {
  color: #243653;
  font-size: 13px;
  line-height: 1.45;
}

.source-evidence-note {
  margin: 0;
  padding: 12px;
  color: #506182;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.65;
}

.category-page {
  background: #f6f9fd;
}

.category-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 34px auto 70px;
}

.category-hero,
.category-nav,
.category-results,
.category-cta,
.popular-categories {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 26, 68, 0.06);
}

.category-hero {
  padding: 30px;
  margin-bottom: 22px;
}

.category-hero h1 {
  max-width: 860px;
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.25;
}

.category-hero p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
}

.category-keywords {
  margin-top: 12px !important;
  color: #23426f !important;
  font-size: 14px;
  font-weight: 700;
}

.category-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
}

.category-nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.category-link-block h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.category-link-block div {
  display: grid;
  gap: 8px;
}

.category-link-block a,
.popular-category-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #123066;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.category-link-block a.active,
.category-link-block a:hover,
.popular-category-grid a:hover {
  color: var(--blue);
  border-color: #9fc8fb;
}

.category-link-block span,
.popular-category-grid span {
  color: var(--muted);
  font-size: 12px;
}

.category-results {
  padding: 22px;
}

.category-results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.category-results-header h2 {
  margin: 0;
  font-size: 24px;
}

.category-results-header p {
  margin: 0;
  color: var(--muted);
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-scholarship-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  overflow: hidden;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-scholarship-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.category-scholarship-card div {
  display: grid;
  align-content: center;
  padding: 14px 14px 14px 0;
}

.category-scholarship-card span,
.category-scholarship-card p {
  color: var(--muted);
  font-size: 13px;
}

.category-scholarship-card h3 {
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.35;
}

.category-scholarship-card a {
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.category-cta,
.popular-categories {
  padding: 22px;
  margin-top: 20px;
}

.category-cta h2,
.popular-categories h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.category-cta p,
.popular-categories p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-cta a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 14px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.sitemap-modern-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.sitemap-modern-grid .category-results {
  min-width: 0;
}

.sitemap-wide {
  grid-column: 1 / -1;
}

.sitemap-modern-grid h2 {
  margin: 0 0 14px;
  color: #0b2458;
  font-size: 24px;
}

.sitemap-modern-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-modern-grid li {
  min-width: 0;
}

.sitemap-modern-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: #0b3c91;
  background: #f7fbff;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.sitemap-modern-grid a:hover,
.sitemap-modern-grid a:focus-visible {
  color: #ffffff;
  background: #0d6ae5;
  border-color: #0d6ae5;
  outline: none;
}

.popular-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-ghost {
  color: #0a4eb5;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #bdd6f7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: #1c315c;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #c9def8;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.hero-snapshot {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  align-self: center;
}

.hero-snapshot div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cfe0f4;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 26, 68, 0.08);
}

.hero-snapshot div:nth-child(2) {
  border-left-color: var(--green);
}

.hero-snapshot div:nth-child(3) {
  border-left-color: #a560d6;
}

.hero-snapshot span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-snapshot strong {
  display: block;
  color: var(--blue-strong);
  font-size: 32px;
  line-height: 1.1;
}

.hero-snapshot p {
  margin: 4px 0 0;
  color: #304369;
  font-size: 13px;
  line-height: 1.45;
}

.search-panel-head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  padding: 24px 28px 18px;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  border-bottom: 1px solid var(--line);
}

.search-panel-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.25;
}

.search-panel-head p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.search-panel-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  color: #0a4eb5;
  white-space: nowrap;
  background: #eef6ff;
  border: 1px solid #c9def8;
  border-radius: 6px;
  font-weight: 800;
}

.quick-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 20px;
}

.quick-filter-row button {
  min-height: 36px;
  padding: 7px 12px;
  color: #123066;
  cursor: pointer;
  background: #f7fbff;
  border: 1px solid #c9def8;
  border-radius: 6px;
  font-weight: 800;
}

.quick-filter-row button:hover,
.quick-filter-row button:focus-visible {
  color: var(--blue);
  border-color: #8ebcf4;
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 95, 214, 0.11);
}

.quick-start-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-start-card h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.quick-start-card a {
  display: grid;
  gap: 2px;
  padding: 12px;
  color: #123066;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.quick-start-card a:hover {
  color: var(--blue);
  border-color: #9fc8fb;
}

.quick-start-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.homepage-section {
  width: min(1312px, calc(100% - 128px));
  margin: 0 auto 34px;
}

.rich-heading {
  gap: 28px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.rich-heading h2 {
  max-width: 720px;
  font-size: 30px;
  line-height: 1.25;
}

.rich-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.home-insights,
.source-section,
.official-updates,
.faq-preview {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 26, 68, 0.06);
}

.insight-grid,
.source-grid,
.official-updates-grid,
.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-grid,
.official-updates-grid,
.faq-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-grid article,
.source-grid article,
.official-update-card,
.faq-grid article {
  min-width: 0;
  padding: 18px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.insight-number {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  margin-bottom: 12px;
  color: #0a4eb5;
  background: #eaf3ff;
  border-radius: 6px;
  font-weight: 900;
}

.insight-grid h3,
.source-grid h3,
.official-update-card h3,
.faq-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.insight-grid p,
.source-grid p,
.official-update-card p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.official-updates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-update-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}

.update-card-top,
.update-card-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.update-card-top {
  margin-bottom: 12px;
}

.update-card-top span,
.update-card-top strong,
.update-card-foot span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.update-card-top span {
  color: #0a4eb5;
  background: #eaf3ff;
}

.update-card-top strong {
  color: #0f5f3a;
  background: #e9f9f1;
}

.update-card-foot {
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.update-card-foot span {
  color: #526785;
  background: #f3f7fb;
}

.update-card-foot a {
  color: var(--blue);
  font-weight: 900;
}

.pathway-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  color: white;
  background: linear-gradient(135deg, #08285f, #0a63de);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pathway-copy h2 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.25;
}

.pathway-copy p,
.pathway-copy .eyebrow {
  color: #d9eaff;
}

.pathway-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.pathway-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 16px 16px 56px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  counter-increment: steps;
}

.pathway-list li::before {
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #08306f;
  content: counter(steps);
  background: #ffffff;
  border-radius: 50%;
  font-weight: 900;
}

.pathway-list strong {
  font-size: 16px;
}

.pathway-list span {
  color: #d9eaff;
  font-size: 14px;
}

.service-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #f7fbff, #eef8f3);
  border: 1px solid #cfe0f4;
  border-radius: var(--radius);
}

.service-strip h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.25;
}

.service-strip p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.service-links {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.service-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  color: white;
  background: #0b9b61;
  border-radius: 6px;
  font-weight: 800;
}

.search-panel {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.98)),
    var(--card);
  border-color: #c8daf1;
  box-shadow: 0 22px 55px rgba(7, 26, 68, 0.12);
}

.search-panel-head {
  align-items: center;
  padding: 20px 28px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f5faff 58%, #edf7ff 100%);
}

.search-panel-head h2 {
  font-size: 28px;
}

.search-panel-head > a {
  color: white;
  background: linear-gradient(135deg, #0d6ae5, #0043a7);
  border: 0;
  box-shadow: 0 12px 24px rgba(7, 95, 214, 0.18);
}

.finder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: white;
  border-top: 1px solid rgba(220, 231, 245, 0.5);
  border-bottom: 1px solid var(--line);
}

.finder-toolbar .tabs {
  gap: 8px;
  padding: 0;
  background: #f3f8ff;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
}

.finder-toolbar .tab {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
}

.finder-toolbar .tab.active {
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(7, 95, 214, 0.18);
}

.finder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.finder-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: #274068;
  background: #f7fbff;
  border: 1px solid #d6e4f6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.primary-search {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(210px, 280px) auto;
  gap: 12px;
  align-items: end;
  padding: 22px 28px 14px;
}

.primary-search .keyword-label {
  gap: 8px;
}

.primary-search input[type="search"] {
  min-height: 54px;
  padding: 0 18px;
  color: #0c2556;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #9fc8fb, #c9def8) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 700;
}

.primary-search .search-button,
.primary-search .reset-button {
  min-height: 54px;
  border-radius: 8px;
}

.primary-search .search-button {
  background: linear-gradient(135deg, #0d6ae5, #003d9f);
  box-shadow: 0 14px 26px rgba(7, 95, 214, 0.22);
}

.quick-filter-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 28px 18px;
}

.quick-filter-row button {
  display: grid;
  gap: 2px;
  min-height: 62px;
  align-content: center;
  padding: 10px 12px;
  text-align: left;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-color: #c8daf1;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 26, 68, 0.05);
}

.quick-filter-row button span {
  color: #102b62;
  font-size: 14px;
}

.quick-filter-row button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.quick-filter-row button.active,
.quick-filter-row button:hover,
.quick-filter-row button:focus-visible {
  color: white;
  background: linear-gradient(135deg, #0d6ae5, #0043a7);
  border-color: #0d6ae5;
  transform: translateY(-1px);
}

.quick-filter-row button.active span,
.quick-filter-row button.active small,
.quick-filter-row button:hover span,
.quick-filter-row button:hover small,
.quick-filter-row button:focus-visible span,
.quick-filter-row button:focus-visible small {
  color: white;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 28px 18px;
  background: #f8fbff;
  border-top: 1px solid var(--line);
}

.filter-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  background: white;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 26, 68, 0.04);
}

.filter-label,
.filter-card > span:first-child {
  color: #526785;
  font-size: 12px;
  font-weight: 900;
}

.filter-card select {
  min-height: 34px;
  padding: 0;
  color: #0f285c;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 900;
}

.filter-card:focus-within {
  border-color: #82b6f5;
  box-shadow: 0 0 0 3px rgba(7, 95, 214, 0.10);
}

.funding-options {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.funding-options .filter-label {
  grid-column: 1 / -1;
}

.funding-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 9px;
  color: #17315f;
  background: #f7fbff;
  border: 1px solid #d6e4f6;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.funding-options input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.funding-options label:has(input:checked) {
  color: #06439f;
  background: #eaf3ff;
  border-color: #9fc8fb;
}

.search-panel .stats-grid {
  gap: 0;
  padding: 0;
  background: white;
  border-top: 1px solid var(--line);
}

.search-panel .stats-grid div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.search-panel .stats-grid div:last-child {
  border-right: 0;
}

.calendar-page {
  background:
    linear-gradient(180deg, #edf6ff 0%, #ffffff 34%, #f7fafc 100%);
}

.calendar-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

.calendar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  background:
    radial-gradient(circle at 84% 12%, rgba(26, 188, 156, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 54%, #eaf7f3 100%);
  border: 1px solid #d6e4f6;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #071a44;
  font-size: 48px;
  line-height: 1.08;
}

.calendar-hero .lead {
  max-width: 760px;
  margin: 18px 0 0;
}

.calendar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.calendar-overview {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d6e4f6;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.calendar-overview div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  align-content: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dce9f8;
  border-radius: 8px;
}

.calendar-overview span {
  color: #647895;
  font-size: 13px;
  font-weight: 800;
}

.calendar-overview strong {
  color: #083d96;
  font-size: 22px;
  line-height: 1.2;
}

.calendar-overview p {
  margin: 2px 0 0;
  color: #5c708e;
  font-size: 13px;
  font-weight: 800;
}

.calendar-planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  margin-top: 22px;
}

.calendar-priority,
.calendar-guide,
.calendar-section {
  background: #ffffff;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 26, 68, 0.07);
}

.calendar-priority,
.calendar-guide,
.calendar-section {
  padding: 24px;
}

.calendar-guide h2 {
  margin: 0 0 14px;
  color: #0b2458;
  font-size: 24px;
}

.calendar-guide ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #2d4265;
}

.priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.priority-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dce9f8;
  border-radius: 8px;
}

.priority-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0d6ae5, #14a085);
  border-radius: 8px;
  font-weight: 900;
}

.priority-list strong {
  display: block;
  color: #0a255c;
  font-size: 15px;
}

.priority-list p {
  margin: 4px 0 0;
  color: #5f718c;
  font-size: 13px;
  line-height: 1.45;
}

.priority-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #07459e;
  background: #edf6ff;
  border: 1px solid #bfd8f7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.calendar-section {
  margin-top: 22px;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.month-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 420px;
  background: #ffffff;
  border: 1px solid #dce9f8;
  border-radius: 8px;
  overflow: hidden;
}

.month-card-head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #eef7ff, #eefaf4);
  border-bottom: 1px solid #dce9f8;
}

.month-card-head span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #0a4aaa;
  background: #ffffff;
  border: 1px solid #bdd8f7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.month-card-head h2 {
  margin: 0;
  color: #0b2458;
  font-size: 20px;
}

.month-card-head strong {
  color: #087a64;
  font-size: 13px;
  white-space: nowrap;
}

.month-card-list {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
}

.calendar-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fbfdff;
  border: 1px solid #e1ebf8;
  border-radius: 8px;
}

.calendar-item-main span {
  color: #087a64;
  font-size: 12px;
  font-weight: 900;
}

.calendar-item-main h3 {
  margin: 4px 0 0;
  color: #0a255c;
  font-size: 16px;
  line-height: 1.35;
}

.calendar-item-main p {
  margin: 6px 0 0;
  color: #5a6f8d;
  font-size: 13px;
  line-height: 1.45;
}

.calendar-range-note {
  display: block;
  margin-top: 6px;
  color: #6f7f95;
  font-size: 12px;
  line-height: 1.35;
}

.calendar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.calendar-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  color: #0c4da8;
  background: #edf6ff;
  border: 1px solid #cfe2fa;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.calendar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.calendar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 8px;
  color: #ffffff;
  background: #0d6ae5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.calendar-actions a:last-child {
  color: #0b4d9f;
  background: #ffffff;
  border: 1px solid #bfd8f7;
}

.calendar-source-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.calendar-source-check-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
}

.calendar-source-check-card > span {
  color: #087a64;
  font-size: 12px;
  font-weight: 900;
}

.calendar-source-check-card h3 {
  margin: 0;
  color: #0a255c;
  font-size: 17px;
  line-height: 1.35;
}

.calendar-source-check-card p {
  margin: 0;
  color: #5a6f8d;
  font-size: 13px;
  line-height: 1.55;
}

.calendar-empty {
  margin: 0;
  padding: 14px;
  color: #5f718c;
  background: #f7fbff;
  border: 1px dashed #c8daf1;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.search-panel .stats-grid strong {
  font-size: 22px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 16px 28px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 8px 0 14px;
  }

  .main-nav a.active::after {
    bottom: 5px;
  }

  .hero-inner,
  .workspace {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .hero-art {
    display: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scholarship-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-hero,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-controls {
    position: static;
  }

  .review-scoreboard {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-hero,
  .detail-layout,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar,
  .category-nav {
    position: static;
  }

  .popular-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-section {
    width: min(100% - 56px, 1312px);
  }

  .source-grid,
  .official-updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .primary-search,
  .finder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-search .keyword-label {
    grid-column: 1 / -1;
  }

  .quick-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .funding-options {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-art {
    display: none;
  }

  .hero-snapshot {
    grid-template-columns: 1fr;
  }

  .search-panel-head,
  .rich-heading,
  .pathway-section {
    grid-template-columns: 1fr;
  }

  .search-panel-head,
  .section-heading,
  .rich-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .finder-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .finder-toolbar .tabs,
  .finder-badges {
    justify-content: flex-start;
  }

  .primary-search,
  .finder-grid,
  .quick-filter-row,
  .funding-options {
    grid-template-columns: 1fr;
  }

  .primary-search,
  .finder-grid,
  .quick-filter-row,
  .search-panel-head,
  .finder-toolbar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .quick-filter-row button {
    min-height: 54px;
  }

  .search-panel .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-panel .stats-grid div:last-child {
    border-bottom: 0;
  }

  .filters,
  .keyword-row,
  .stats-grid,
  .side-column {
    grid-template-columns: 1fr;
  }

  .scholarship-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero-inner,
  .workspace,
  .modern-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .modern-footer {
    display: grid;
  }

  .homepage-section {
    width: min(100% - 36px, 1312px);
  }

  .home-insights,
  .source-section,
  .official-updates,
  .faq-preview,
  .pathway-section,
  .service-strip {
    padding: 22px;
  }

  .insight-grid,
  .source-grid,
  .official-updates-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-links {
    min-width: 0;
  }

  .review-shell {
    width: min(100% - 28px, 1420px);
  }

  .review-hero {
    padding: 22px;
  }

  .review-hero h1 {
    font-size: 28px;
  }

  .review-scoreboard {
    grid-template-columns: 1fr;
  }

  .review-results-header {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-shell {
    width: min(100% - 28px, 1280px);
  }

  .detail-hero {
    padding: 22px;
  }

  .detail-hero h1 {
    font-size: 30px;
  }

  .detail-summary-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .source-facts-grid {
    grid-template-columns: 1fr;
  }

  .category-shell {
    width: min(100% - 28px, 1320px);
  }

  .category-hero {
    padding: 22px;
  }

  .category-hero h1 {
    font-size: 28px;
  }

  .category-results-header {
    align-items: stretch;
    flex-direction: column;
  }

  .category-card-grid,
  .popular-category-grid,
  .sitemap-modern-grid,
  .sitemap-modern-grid ul {
    grid-template-columns: 1fr;
  }

  .category-scholarship-card {
    grid-template-columns: 1fr;
  }

  .category-scholarship-card div {
    padding: 0 14px 14px;
  }

  .search-panel .finder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel .quick-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel .funding-options {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  body {
    line-height: 1.58;
  }

  .site-header {
    gap: 12px;
    min-height: 0;
    padding: 14px 15px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark svg {
    width: 28px;
    height: 28px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 12px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .main-nav a {
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    padding: 7px 6px;
    text-align: center;
    background: #f7fbff;
    border: 1px solid #d6e4f6;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.25;
  }

  .main-nav a.active::after {
    display: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .ghost-link,
  .primary-link,
  .full-button,
  .consult-card a {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-inner,
  .workspace,
  .modern-footer {
    padding-right: 15px;
    padding-left: 15px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-snapshot div,
  .search-panel-head,
  .finder-toolbar,
  .primary-search,
  .finder-grid,
  .quick-filter-row,
  .category-cta,
  .popular-categories,
  .home-insights,
  .source-section,
  .official-updates,
  .faq-preview,
  .pathway-section,
  .service-strip {
    padding-right: 14px;
    padding-left: 14px;
  }

  .search-panel-head h2,
  .service-strip h2,
  .pathway-copy h2,
  .rich-heading h2 {
    font-size: 24px;
  }

  .finder-toolbar .tabs {
    grid-template-columns: 1fr;
    display: grid;
  }

  .finder-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-search,
  .search-panel .finder-grid,
  .search-panel .quick-filter-row,
  .search-panel .funding-options,
  .search-panel .stats-grid {
    grid-template-columns: 1fr;
  }

  .primary-search input[type="search"],
  .primary-search .search-button,
  .primary-search .reset-button {
    min-height: 48px;
  }

  .quick-filter-row button {
    min-height: 50px;
  }

  .search-panel .stats-grid div {
    grid-template-columns: 32px 1fr;
    padding: 14px;
  }

  .search-panel .stats-grid strong {
    font-size: 20px;
  }

  .scholarship-card {
    min-height: 0;
  }

  .card-meta-grid {
    grid-template-columns: 1fr;
  }

  .deadline {
    align-items: stretch;
    flex-direction: column;
  }

  .details-link {
    width: 100%;
  }

  .side-column,
  .popular-category-grid,
  .insight-grid,
  .source-grid,
  .official-updates-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .calendar-hero,
  .calendar-planner {
    grid-template-columns: 1fr;
  }

  .calendar-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-source-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .calendar-shell {
    width: min(100% - 28px, 1320px);
  }

  .calendar-hero {
    padding: 22px;
  }

  .calendar-hero h1 {
    font-size: 34px;
  }

  .priority-list,
  .calendar-month-grid,
  .calendar-source-check-grid {
    grid-template-columns: 1fr;
  }

  .priority-list li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .priority-list a {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 360px) {
  .detail-shell {
    width: min(100% - 28px, 1280px);
    margin-top: 18px;
  }

  .detail-card,
  .detail-hero,
  .detail-proof-panel {
    padding: 14px;
  }

  .detail-proof-panel div {
    min-height: 64px;
    padding: 12px;
  }

  .detail-hero h1 {
    font-size: 30px;
  }

  .calendar-shell {
    width: min(100% - 28px, 1320px);
    padding-top: 18px;
  }

  .calendar-hero,
  .calendar-priority,
  .calendar-guide,
  .calendar-section {
    padding: 14px;
  }

  .calendar-hero h1 {
    font-size: 30px;
  }

  .calendar-overview {
    padding: 12px;
  }

  .calendar-hero-actions,
  .calendar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .month-card {
    min-height: 0;
  }

  .month-card-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .month-card-head strong {
    grid-column: 2;
  }
}

.review-page {
  background: #f4f8fc;
}

.review-page .site-header {
  position: relative;
  top: auto;
  z-index: 5;
  background: #ffffff;
}

.review-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #d9e6f7;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 52, 96, 0.08);
}

.review-hero h1 {
  max-width: 760px;
  margin: 0 0 10px;
  color: #081b4a;
  font-size: 42px;
  line-height: 1.12;
}

.review-hero p {
  max-width: 820px;
  margin: 0;
  color: #506182;
  font-size: 16px;
  line-height: 1.8;
}

.review-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.review-stats div {
  min-height: 108px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d9e6f7;
  border-radius: 8px;
}

.review-stats span,
.review-controls span,
.review-card-top,
.review-facts,
.review-source-button small,
.review-results-head p {
  color: #536686;
  font-size: 13px;
}

.review-stats strong {
  display: block;
  margin-top: 8px;
  color: #0b3c91;
  font-size: 34px;
  line-height: 1;
}

.review-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  position: relative;
  top: auto;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #d9e6f7;
  border-radius: 8px;
}

.review-controls label {
  display: grid;
  gap: 7px;
}

.review-controls input,
.review-controls select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: #0d1f4a;
  background: #fbfdff;
  border: 1px solid #c9d9ef;
  border-radius: 6px;
  font: inherit;
}

.review-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
  align-items: start;
}

.review-summary-card,
.review-results {
  background: #ffffff;
  border: 1px solid #d9e6f7;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 52, 96, 0.06);
}

.review-summary-card {
  padding: 20px;
  position: sticky;
  top: 112px;
  z-index: 1;
}

.review-summary-card h2,
.review-results-head h2,
.review-card h3 {
  margin: 0;
  color: #081b4a;
}

.review-source-summary {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-source-button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px;
  text-align: left;
  background: #f6faff;
  border: 1px solid #d5e4f8;
  border-radius: 8px;
  cursor: pointer;
}

.review-source-button:hover,
.review-source-button:focus-visible {
  border-color: #1f61d6;
  outline: none;
}

.review-source-button strong {
  color: #0b3c91;
}

.review-source-button span {
  color: #10245a;
}

.review-results {
  padding: 20px;
}

.review-results-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 18px;
  background: #fbfdff;
  border: 1px solid #d6e4f6;
  border-radius: 8px;
}

.review-card-main {
  min-width: 0;
}

.review-card-top,
.review-facts,
.review-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-score,
.review-state,
.review-facts span,
.review-reasons span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  background: #eef5ff;
  border: 1px solid #d5e4f8;
  border-radius: 999px;
  color: #123b7a;
  font-size: 12px;
}

.review-score {
  color: #ffffff;
  background: #1f61d6;
  border-color: #1f61d6;
  font-weight: 800;
}

.review-state {
  color: #0d633d;
  background: #ecfdf4;
  border-color: #bcebd2;
}

.review-card h3 {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.review-card p {
  margin: 10px 0 12px;
  color: #415574;
  line-height: 1.75;
}

.review-reasons {
  margin-top: 12px;
}

.review-reasons span {
  color: #8a4b00;
  background: #fff7ed;
  border-color: #fed7aa;
}

.review-card-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.review-card-actions .primary-link,
.review-card-actions .ghost-link {
  width: 100%;
}

.review-empty {
  padding: 24px;
  margin: 0;
  color: #536686;
  text-align: center;
  background: #f6faff;
  border: 1px dashed #bfd3ef;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .review-hero,
  .review-layout,
  .review-card {
    grid-template-columns: 1fr;
  }

  .review-hero-actions,
  .review-results-head {
    align-items: stretch;
    flex-direction: column;
  }

  .review-stats,
  .review-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-summary-card {
    position: static;
  }

  .review-card-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .review-shell {
    width: min(100% - 28px, 1320px);
    padding-top: 20px;
  }

  .review-hero,
  .review-controls,
  .review-summary-card,
  .review-results,
  .review-card {
    padding: 14px;
  }

  .review-hero h1 {
    font-size: 30px;
  }

  .review-stats,
  .review-controls,
  .review-card-actions {
    grid-template-columns: 1fr;
  }

  .review-stats div {
    min-height: 88px;
  }
}

.guide-page {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 36%);
}

.guide-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(234, 246, 255, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 82% 18%, rgba(64, 181, 233, 0.24), transparent 34%);
}

.guide-hero-inner {
  width: min(1180px, calc(100% - 96px));
  padding: 34px 0 48px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb span::before,
.breadcrumb strong::before {
  padding-right: 8px;
  color: #9aacca;
  content: "/";
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
}

.guide-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px);
}

.guide-hero-copy .lead {
  max-width: 760px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.guide-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  color: #0b4aa2;
  background: #eaf3ff;
  border: 1px solid #cbe0fb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.guide-summary-card,
.guide-toc,
.guide-article,
.guide-side section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 26, 68, 0.06);
}

.guide-summary-card {
  padding: 24px;
}

.guide-summary-card h2,
.guide-side h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.3;
}

.guide-summary-card ul,
.guide-note ul,
.guide-checklist {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: #20365e;
}

.guide-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 300px;
  gap: 22px;
  width: min(1180px, calc(100% - 96px));
  margin: 34px auto;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.guide-toc strong {
  margin-bottom: 4px;
  color: #0b2f71;
  font-size: 18px;
}

.guide-toc a {
  padding: 8px 10px;
  color: #344b73;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.guide-toc a:hover {
  color: var(--blue);
  background: #eef6ff;
}

.guide-article {
  min-width: 0;
  padding: 34px;
}

.guide-article section + section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.guide-article h2 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.25;
}

.guide-article h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
}

.guide-article p {
  color: #2b4068;
  font-size: 17px;
}

.guide-steps,
.mistake-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.guide-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-steps article,
.mistake-grid article,
.guide-note {
  padding: 18px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.guide-steps p,
.mistake-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.guide-note {
  margin-top: 18px;
}

.guide-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.mistake-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-checklist li::marker,
.guide-summary-card li::marker,
.guide-note li::marker {
  color: var(--green);
}

.guide-side {
  display: grid;
  gap: 18px;
}

.guide-side section {
  padding: 22px;
}

.guide-service-card {
  position: sticky;
  top: 108px;
}

.guide-service-card p {
  color: var(--muted);
}

.guide-service-card .primary-link,
.guide-service-card .ghost-link {
  width: 100%;
  margin-top: 10px;
}

.guide-related {
  display: grid;
  gap: 10px;
}

.guide-related a {
  padding: 12px;
  color: #123066;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.guide-related a:hover {
  color: var(--blue);
  border-color: #9fc8fb;
}

@media (max-width: 1180px) {
  .guide-shell,
  .guide-hero-inner {
    width: min(100% - 48px, 1180px);
  }

  .guide-shell {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .guide-toc {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .guide-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .guide-hero-grid,
  .guide-shell,
  .guide-steps,
  .mistake-grid {
    grid-template-columns: 1fr;
  }

  .guide-summary-card {
    align-self: stretch;
  }

  .guide-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-service-card {
    position: static;
  }
}

@media (max-width: 520px) {
  .guide-hero-inner,
  .guide-shell {
    width: min(100% - 28px, 1180px);
  }

  .guide-hero-inner {
    padding: 24px 0 32px;
  }

  .guide-article,
  .guide-summary-card,
  .guide-side section,
  .guide-toc {
    padding: 16px;
  }

  .guide-article h2 {
    font-size: 24px;
  }

  .guide-article p {
    font-size: 15px;
  }

  .guide-toc {
    grid-template-columns: 1fr;
  }

  .guide-meta span {
    width: 100%;
  }
}

/* Final custom hero banner. Keep this at the end so it wins older hero rules. */
.hero {
  background:
    linear-gradient(90deg, rgba(4, 26, 68, 0.96) 0%, rgba(4, 26, 68, 0.86) 36%, rgba(4, 26, 68, 0.38) 64%, rgba(4, 26, 68, 0.05) 100%),
    image-set(
      url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
      url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.hero-art {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(4, 26, 68, 0.98) 0%, rgba(4, 26, 68, 0.90) 42%, rgba(4, 26, 68, 0.40) 100%),
      image-set(
        url("../../../images/banners/banner-hero-sop-translationfind.webp") type("image/webp"),
        url("../../../images/banners/banner-hero-sop-translationfind.jpg") type("image/jpeg")
      );
    background-position: 64% center;
    background-size: cover;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Final homepage overrides for the sop.translationfind portal mockup. */
.site-header {
  min-height: 72px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(7, 26, 68, 0.08);
}

.brand-mark {
  background: linear-gradient(135deg, #062b6f, #f3b13d);
}

.header-actions .primary-link {
  background: linear-gradient(135deg, #0b4fb3, #062b6f);
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 26, 68, 0.98) 0%, rgba(4, 26, 68, 0.94) 42%, rgba(6, 53, 116, 0.76) 70%, rgba(238, 247, 255, 0.42) 100%),
    linear-gradient(180deg, #0a3374 0%, #041a44 100%);
  border-bottom: 0;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.62fr);
  min-height: 410px;
  padding: 38px 48px 94px;
}

.hero-copy {
  max-width: 690px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  color: #ffd36a;
  background: rgba(255, 211, 106, 0.10);
  border: 1px solid rgba(255, 211, 106, 0.32);
  border-radius: 999px;
  font-size: 17px;
}

.hero h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.04;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero .lead {
  max-width: 650px;
  color: #d9e8ff;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .primary-link {
  min-width: 180px;
  color: #071a44;
  background: linear-gradient(135deg, #ffd76b, #f2a935);
  box-shadow: 0 16px 30px rgba(242, 169, 53, 0.28);
}

.hero-actions .hero-ghost {
  min-width: 170px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-snapshot {
  position: absolute;
  right: 48px;
  bottom: 28px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  width: min(660px, calc(100% - 96px));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(198, 216, 239, 0.85);
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(4, 26, 68, 0.22);
}

.hero-snapshot div {
  min-height: 92px;
  padding: 17px 18px;
  border-right: 1px solid #dce7f5;
}

.hero-snapshot div:last-child {
  border-right: 0;
}

.hero-snapshot span {
  display: block;
  margin-bottom: 2px;
  color: #60708f;
  font-size: 12px;
  font-weight: 800;
}

.hero-snapshot strong {
  display: block;
  color: #07327a;
  font-size: 28px;
  line-height: 1.1;
}

.hero-snapshot p {
  margin: 2px 0 0;
  color: #60708f;
  font-size: 12px;
  line-height: 1.35;
}

.hero-art {
  grid-column: 2;
  min-height: 300px;
}

.globe {
  right: 118px;
  bottom: 34px;
  width: 250px;
  height: 250px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(135deg, #d6a64a, #183e82 42%, #071a44);
  opacity: 1;
}

.cap {
  right: 56px;
  bottom: 142px;
  background: linear-gradient(135deg, #061a46, #0b4fb3);
}

.book {
  right: 72px;
  bottom: 84px;
}

.book-two {
  bottom: 56px;
  background: #051a46;
}

.skyline {
  right: -110px;
  bottom: 8px;
  width: 680px;
  height: 130px;
  opacity: 0.34;
  background: #d6eaff;
}

.workspace {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  padding: 0 48px 48px;
  margin-top: -54px;
}

.search-panel {
  position: relative;
  z-index: 5;
  border-color: #c9dbf1;
  box-shadow: 0 20px 48px rgba(7, 26, 68, 0.14);
}

.search-panel-head {
  padding: 18px 22px 14px;
  background: #ffffff;
}

.search-panel-head h2 {
  font-size: 24px;
}

.search-panel-head p:last-child {
  font-size: 14px;
}

.finder-toolbar {
  padding: 10px 22px;
}

.primary-search {
  grid-template-columns: minmax(250px, 1fr) 150px 120px;
  padding: 18px 22px 12px;
}

.primary-search input[type="search"],
.primary-search .search-button,
.primary-search .reset-button {
  min-height: 46px;
}

.filters {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  padding: 10px 22px 14px;
}

.funding-options {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding-top: 3px;
}

.quick-filter-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 22px 16px;
}

.quick-filter-row button {
  min-height: 50px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 22px;
  background: #fbfdff;
}

.scholarship-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}

.scholarship-card {
  grid-template-rows: 76px 1fr;
  min-height: 270px;
  border-radius: 8px;
}

.card-media {
  min-height: 76px;
  padding: 12px;
}

.destination-mark strong {
  font-size: 22px;
}

.destination-mark > span:not(.country-flag-image) {
  margin-top: 2px;
  font-size: 12px;
}

.country-flag-image {
  width: 36px;
  height: 26px;
  border-radius: 6px;
}

.source-mark {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.badge {
  top: 8px;
  left: 8px;
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

.favorite {
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
}

.card-body {
  padding: 13px;
}

.card-body h3 {
  min-height: 44px;
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.35;
}

.card-meta-grid {
  grid-template-columns: 1fr;
  gap: 6px;
}

.card-meta-grid div {
  padding: 8px;
}

.tag-row {
  display: none;
}

.details-link {
  min-width: 88px;
  min-height: 32px;
  padding: 6px 10px;
  text-align: center;
  background: #eef6ff;
  border: 1px solid #bcd6f7;
  border-radius: 6px;
}

.side-column {
  display: grid;
  gap: 14px;
}

.quick-start-card,
.why-card,
.updates-card,
.consult-card {
  box-shadow: 0 14px 30px rgba(7, 26, 68, 0.09);
}

.pathway-section {
  background: linear-gradient(135deg, #041a44, #0b4fb3 72%, #0c7a66);
}

.service-strip {
  color: #ffffff;
  background: linear-gradient(135deg, #061a46, #0b4fb3);
}

.service-strip .eyebrow,
.service-strip p:last-child {
  color: #dcecff;
}

.service-links a {
  color: #071a44;
  background: linear-gradient(135deg, #ffd76b, #f2a935);
}

.modern-footer {
  color: #ffffff;
  background: #041a44;
}

.modern-footer p,
.modern-footer a {
  color: #dcecff;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 24px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 8px 0 10px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 34px 24px 150px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-art {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: 410px;
    opacity: 0.48;
  }

  .hero-snapshot {
    right: 24px;
    left: 24px;
    width: auto;
  }

  .workspace {
    grid-template-columns: 1fr;
    padding: 0 24px 38px;
  }

  .filters {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 10px 14px;
  }

  .brand strong {
    font-size: 22px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 26px 14px 248px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-link,
  .hero-actions .hero-ghost {
    width: 100%;
  }

  .hero-art {
    right: -96px;
    bottom: 98px;
    transform: scale(0.72);
  }

  .hero-snapshot {
    right: 14px;
    bottom: 16px;
    left: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-snapshot div {
    min-height: 74px;
    padding: 12px;
  }

  .hero-snapshot div:nth-child(2) {
    border-right: 0;
  }

  .hero-snapshot div:nth-child(-n + 2) {
    border-bottom: 1px solid #dce7f5;
  }

  .hero-snapshot strong {
    font-size: 22px;
  }

  .hero-snapshot p {
    display: none;
  }

  .workspace {
    padding: 0 14px 32px;
    margin-top: -6px;
  }

  .search-panel-head,
  .finder-toolbar {
    display: grid;
    gap: 12px;
  }

  .primary-search,
  .filters,
  .funding-options {
    grid-template-columns: 1fr;
  }

  .primary-search {
    padding: 16px;
  }

  .quick-filter-row {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px 16px;
  }

  .filters {
    padding: 0 16px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px 16px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .homepage-section {
    width: calc(100% - 28px);
  }

  .section-heading,
  .rich-heading,
  .pathway-section,
  .service-strip,
  .insight-grid,
  .source-grid,
  .official-updates-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 31px;
  }

  .quick-filter-row,
  .stats-grid,
  .hero-snapshot {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 392px;
  }

  .hero-snapshot div {
    border-right: 0;
    border-bottom: 1px solid #dce7f5;
  }

  .hero-snapshot div:last-child {
    border-bottom: 0;
  }
}
/* Brand rename override */
.brand {
  min-width: 300px;
}

.brand strong {
  font-size: 23px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand small {
  letter-spacing: 0;
}

.brand > span {
  min-width: 0;
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 19px;
  }
}

@media (max-width: 340px) {
  .brand strong {
    max-width: calc(100vw - 84px);
    font-size: 16px;
  }

  .brand small {
    max-width: calc(100vw - 84px);
    font-size: 10px;
  }
}

/* Scholarship card date copy */
.deadline {
  min-height: 48px;
}

.deadline span {
  min-width: 0;
  max-width: calc(100% - 104px);
  line-height: 1.35;
}

.deadline strong {
  display: block;
  margin-bottom: 2px;
}

.deadline em {
  display: -webkit-box;
  overflow: hidden;
  color: #405271;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.deadline .details-link {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .deadline span {
    max-width: 100%;
  }
}
