/*
Theme Name: MoHEST
Theme URI: https://example.com/mohest
Author: MoHEST
Description: Native block theme foundation for the Ministry of Higher Education, Science and Technology.
Version: 1.0.26
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: mohest
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.mohest-inner-page {
  padding-top: 36px;
  padding-bottom: 56px;
}

.mohest-document-library {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
}

.mohest-document-library__sidebar {
  align-self: start;
  border-right: 1px solid #d7e1eb;
  padding-right: 24px;
}

.mohest-document-library__label {
  margin: 0 0 10px;
  color: #1c2b3a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mohest-document-library__tree {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mohest-document-library__tree a {
  display: block;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  color: #1c2b3a;
  text-decoration: none;
}

.mohest-document-library__tree a:hover,
.mohest-document-library__tree a:focus-visible,
.mohest-document-library__tree .is-current a {
  border-left-color: #1a7a6e;
  background: #eef7f5;
  color: #145e56;
}

.mohest-document-library__tree a:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 2px;
}

.mohest-document-library__content {
  min-width: 0;
}

.mohest-document-library__content > :first-child {
  margin-top: 0;
}

.mohest-document-library__note {
  border-left: 3px solid #d4a017;
  padding: 12px 16px;
  background: #fffaf0;
}

@media (max-width: 680px) {
  .mohest-document-library {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mohest-document-library__sidebar {
    border-right: 0;
    border-bottom: 1px solid #d7e1eb;
    padding: 0 0 16px;
  }
}

.mohest-news-archive .mohest-document-library__content h2 {
  scroll-margin-top: 24px;
}

.mohest-news-archive .mohest-news-list {
  margin-top: 16px;
}

/* Find an Institution page redesign overrides */
.mohest-inner-page .mohest-institution-intro,
.mohest-inner-page .mohest-institution-search,
.mohest-inner-page .mohest-institution-stats,
.mohest-inner-page .mohest-institution-listing,
.mohest-inner-page .mohest-institution-type-section,
.mohest-inner-page .mohest-institution-choose-section,
.mohest-inner-page .mohest-institution-help-section {
  width: min(calc(100% - 32px), 1210px);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.mohest-inner-page .mohest-institution-intro {
  min-height: 0 !important;
  padding: 8px 0 18px !important;
  overflow: visible;
  background: transparent;
}

.mohest-institution-intro__inner {
  max-width: none !important;
  padding: 22px clamp(18px, 3vw, 32px);
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
}

.mohest-institution-intro__title {
  max-width: 820px;
  color: #07294a !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
}

.mohest-institution-intro__description {
  max-width: min(100%, 900px);
  color: #53677b !important;
  font-family: inherit;
  font-size: 18px !important;
}

.mohest-institution-search {
  margin-top: 0;
  padding: 0 0 18px;
}

.mohest-institution-search__container,
.mohest-institution-stats__container,
.mohest-institution-listing__container,
.mohest-institution-section-container {
  width: 100%;
}

.mohest-institution-search__form {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, 0.8fr)) repeat(2, minmax(118px, 0.52fr));
  padding: 18px;
  box-shadow: 0 8px 20px rgba(7, 41, 74, 0.07);
}

.mohest-institution-search__form h2,
.mohest-institution-listing-head h2,
.mohest-institution-section-title h2 {
  margin-top: 0;
}

.mohest-institution-stats,
.mohest-institution-listing,
.mohest-institution-type-section,
.mohest-institution-choose-section,
.mohest-institution-help-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.mohest-institution-type-section,
.mohest-institution-help-section {
  background: transparent;
}

.mohest-institution-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
}

.mohest-institution-stat-grid article,
.mohest-institution-stat-grid article:nth-child(2n),
.mohest-institution-stat-grid article:nth-child(3),
.mohest-institution-stat-grid article:last-child {
  min-height: 0;
  grid-column: auto;
  display: block;
  padding: 14px 16px;
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #f8fbfd;
}

.mohest-institution-stat-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
}

.mohest-institution-stat-grid strong.mohest-institution-stat--text {
  font-size: clamp(18px, 2vw, 24px);
}

.mohest-institution-stat-grid span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.mohest-institution-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.mohest-institution-card {
  overflow: hidden;
}

.mohest-institution-card-photo {
  height: 160px;
}

.mohest-institution-card p:not(.mohest-institution-location) {
  min-height: 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.45;
}

.mohest-institution-type-grid,
.mohest-institution-help-grid,
.mohest-institution-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.mohest-institution-type-grid a,
.mohest-institution-help-grid a,
.mohest-institution-choose-grid article,
.mohest-institution-choose-grid article:nth-child(2n),
.mohest-institution-choose-grid article:last-child {
  min-height: 0;
  display: block;
  padding: 16px;
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #fff;
}

.mohest-institution-type-grid strong,
.mohest-institution-help-grid strong,
.mohest-institution-choose-grid h3 {
  font-size: 16px;
}

.mohest-institution-type-grid span,
.mohest-institution-help-grid span,
.mohest-institution-choose-grid p {
  max-width: none;
  font-size: 13px;
  line-height: 1.45;
}

.mohest-institution-type-grid b,
.mohest-institution-help-grid b {
  display: inline-block;
  margin-top: 10px;
}

@media (min-width: 1320px) {
  .mohest-inner-page .mohest-institution-intro,
  .mohest-inner-page .mohest-institution-search,
  .mohest-inner-page .mohest-institution-stats,
  .mohest-inner-page .mohest-institution-listing,
  .mohest-inner-page .mohest-institution-type-section,
  .mohest-inner-page .mohest-institution-choose-section,
  .mohest-inner-page .mohest-institution-help-section {
    width: min(calc(100vw - 80px), 1360px);
  }
}

@media (max-width: 980px) {
  .mohest-institution-search__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .mohest-inner-page .mohest-institution-intro,
  .mohest-inner-page .mohest-institution-search,
  .mohest-inner-page .mohest-institution-stats,
  .mohest-inner-page .mohest-institution-listing,
  .mohest-inner-page .mohest-institution-type-section,
  .mohest-inner-page .mohest-institution-choose-section,
  .mohest-inner-page .mohest-institution-help-section {
    width: min(calc(100% - 32px), 1210px);
  }

  .mohest-institution-intro__inner {
    padding: 18px;
  }

  .mohest-institution-intro__description {
    font-size: 16px !important;
  }

  .mohest-institution-search__form,
  .mohest-institution-stat-grid,
  .mohest-institution-type-grid,
  .mohest-institution-help-grid,
  .mohest-institution-choose-grid {
    grid-template-columns: 1fr;
  }
}

.mohest-inner-page > .wp-block-post-content > :first-child {
  margin-top: 0;
}

.mohest-inner-page h1,
.mohest-inner-page h2,
.mohest-inner-page h3 {
  color: var(--mohest-ink, #07294a);
}

.mohest-inner-page h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.mohest-inner-page h2 {
  margin-top: 36px;
}

.mohest-inner-page p,
.mohest-inner-page li {
  max-width: 72ch;
  line-height: 1.7;
}

.mohest-inner-page p:empty {
  display: none;
}

.mohest-content-hero {
  margin: -36px calc(50% - 50vw) 36px;
  padding: 74px max(40px, calc((100vw - 1210px) / 2));
  color: #fff;
  background: linear-gradient(110deg, #002b4b, #00579d);
}

.mohest-content-hero > div,
.mohest-content-section > div {
  max-width: 1210px;
  margin: 0 auto;
}

.mohest-content-hero h1,
.mohest-content-hero p { color: #fff; }
.mohest-content-hero h1 { max-width: 780px; font-family: Merriweather, Georgia, serif; }
.mohest-content-hero p { max-width: 700px; font-size: 18px; }
.mohest-page-kicker { margin: 0 0 12px; color: #f5b82f !important; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.mohest-content-section { padding: 28px 0; }
.mohest-content-section + .mohest-content-section,
.mohest-page-intro + .mohest-content-section,
.mohest-structure-intro + .mohest-content-section { padding-top: 0; }
.mohest-content-section--soft { margin: 12px calc(50% - 50vw) 0; padding: 48px max(40px, calc((100vw - 1210px) / 2)); background: #f3f8fc; }
.mohest-content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 42px; }
.mohest-content-grid aside { padding: 22px; border: 1px solid #d7e1eb; border-radius: 7px; background: #f8fbfd; }
.mohest-content-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mohest-content-card-grid article, .mohest-news-list article { padding: 22px; border: 1px solid #d7e1eb; border-radius: 7px; background: #fff; }
.mohest-content-card-grid h3, .mohest-news-list h2, .mohest-news-list h3 { margin-top: 0; }
.mohest-service-layout { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: 34px; align-items: start; max-width: 1210px; margin: 0 auto; }
.mohest-service-layout__nav { position: sticky; top: 18px; padding: 16px; border: 1px solid #d7e1eb; border-radius: 7px; background: #f8fbfd; }
.mohest-service-layout__nav h2 { margin: 0 0 12px; color: #07294a; font-size: 15px; }
.mohest-service-layout__nav ul { list-style: none; margin: 0; padding: 0; }
.mohest-service-layout__nav li + li { margin-top: 4px; }
.mohest-service-layout__nav a { display: block; padding: 9px 10px; border-left: 3px solid transparent; color: #1c2b3a; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.mohest-service-layout__nav a:hover, .mohest-service-layout__nav a:focus-visible { border-left-color: #d4a017; background: #eaf2f8; color: #003458; }
.mohest-service-layout__nav a[aria-current="page"] { border-left-color: #1a7a6e; background: #e4f3eb; color: #006d3c; }
.mohest-service-layout__content { min-width: 0; }
.mohest-service-layout__content > h1 { margin-top: 0; }
.mohest-service-layout__content > h2:first-child { margin-top: 0; }
.mohest-service-layout__content > ul { padding-left: 20px; }
.mohest-service-layout__content > ul > li { margin-bottom: 18px; }
.mohest-service-layout__content > ul h3 { margin: 0 0 4px; }
.mohest-service-layout__content > ul h3 a { color: #00579d; }
.mohest-service-layout__notice { margin-top: 28px; padding: 14px 18px; border-left: 4px solid #d4a017; background: #fdf7e8; }
.mohest-service-layout__notice p { margin: 0; }

.mohest-directorates-page > div,
.mohest-directorates-page .mohest-content-grid,
.mohest-directorates-page .mohest-content-card-grid {
  max-width: min(100%, 1210px);
  margin: 0 auto;
}

.mohest-directorates-page {
  padding-top: 16px;
  padding-bottom: 12px;
}

.mohest-directorates-page > div {
  padding-right: clamp(20px, 3vw, 32px);
  padding-left: clamp(20px, 3vw, 32px);
}

.mohest-directorates-page h1 {
  margin-bottom: 12px;
  font-family: Merriweather, Georgia, serif;
  line-height: 1.1;
}

.mohest-directorates-page h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.mohest-directorates-page p,
.mohest-directorates-page li,
.mohest-directorates-page aside {
  max-width: none;
}

.mohest-directorates-page .mohest-content-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.mohest-directorates-page .mohest-content-card-grid article {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 18px 16px;
  border-radius: 10px;
}

.mohest-directorates-page .mohest-content-card-grid h3 {
  margin-bottom: 10px;
  color: #07294a;
  font-size: 17px;
  line-height: 1.35;
}

.mohest-directorates-page .mohest-content-card-grid p {
  margin: 0 0 10px;
  color: #374d61;
  font-size: 15px;
  line-height: 1.6;
}

.mohest-directorates-page .mohest-content-tag {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf5ee;
  color: #006d3c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mohest-content-steps { padding-left: 22px; }
.mohest-content-steps li { margin-bottom: 14px; }
.mohest-content-link { display: inline-block; margin-top: 12px; color: #00579d; font-weight: 800; }

.mohest-table-wrap { margin: 12px 0 20px; overflow-x: auto; border: 1px solid #d7e1eb; border-radius: 7px; }
.mohest-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mohest-table caption { padding: 12px 16px; text-align: left; font-weight: 800; color: #07294a; background: #f3f8fc; }
.mohest-table th, .mohest-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3ebf2; }
.mohest-table thead th { background: #003458; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.mohest-table tbody tr:nth-child(even) { background: #f8fbfd; }
.mohest-table td small, .mohest-table th small { display: block; margin-top: 2px; color: #53677b; font-weight: 400; text-transform: none; }
.mohest-page-ref { color: #53677b; font-size: 12px; white-space: nowrap; }

.mohest-glossary dt { margin-top: 14px; font-weight: 800; color: #07294a; }
.mohest-glossary dd { margin: 4px 0 0; }

.mohest-checklist { list-style: none; padding-left: 0; }
.mohest-checklist li { position: relative; margin-bottom: 12px; padding-left: 30px; }
.mohest-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 2px solid #1a7a6e; border-radius: 4px; }

.mohest-notice { padding: 14px 18px; margin: 14px 0; border-left: 4px solid #d4a017; background: #fdf7e8; }
.mohest-notice p { margin: 0; }
.mohest-notice h4 { margin: 0 0 8px; color: #9a6b00; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.mohest-guide-panel h4 { margin: 18px 0 4px; color: #1a7a6e; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.mohest-guide-panel .mohest-notice h4 { color: #9a6b00; }

.mohest-filter-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding-left: 0; list-style: none; }
.mohest-filter-list li { padding: 10px 14px; border: 1px solid #d7e1eb; border-radius: 7px; background: #f8fbfd; font-weight: 700; color: #07294a; }

/* Interactive admissions guide: year bar + tree navigation + detail panel */
.mohest-guide { margin-top: -8px; }
.mohest-guide-yearbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 22px; padding: 12px 16px; border: 1px solid #d7e1eb; border-radius: 7px; background: #f8fbfd; }
.mohest-guide-yearbar label { font-weight: 800; color: #07294a; }
.mohest-guide-year-select { padding: 6px 10px; border: 1px solid #a9bccb; border-radius: 6px; background: #fff; font-weight: 700; color: #07294a; }
.mohest-guide-year-select option:disabled { color: #94a3ad; }
.mohest-guide-year-note { flex-basis: 100%; margin: 0; color: #53677b; font-size: 13px; }

.mohest-guide-body { display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); gap: 26px; align-items: start; }

.mohest-guide-nav { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow-y: auto; padding: 10px; border: 1px solid #e3ebf2; border-radius: 10px; background: #fbfcfe; }
.mohest-guide-nav ul { list-style: none; margin: 0; padding-left: 0; }
.mohest-guide-nav ul ul { position: relative; padding-left: 14px; margin: 2px 0 2px 8px; border-left: 1px solid #e3ebf2; }
.mohest-guide-nav li { margin: 1px 0; }
.mohest-guide-navlink { display: block; width: 100%; padding: 6px 10px; border: none; border-radius: 6px; background: none; color: #1c2b3a; font-size: 13.5px; line-height: 1.35; text-align: left; cursor: pointer; transition: background-color 0.12s ease; }
.mohest-guide-navlink:hover { background: #eaf2f8; }
.mohest-guide-navlink.is-active { background: #003458; color: #fff; font-weight: 700; }
.mohest-guide-group { margin: 1px 0; }
.mohest-guide-group > summary { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; font-weight: 700; font-size: 13.5px; color: #07294a; cursor: pointer; list-style: none; user-select: none; }
.mohest-guide-group > summary::-webkit-details-marker { display: none; }
.mohest-guide-group > summary::before { content: "\25B8"; display: inline-block; width: 10px; color: #1a7a6e; transition: transform 0.15s ease; }
.mohest-guide-group[open] > summary::before { transform: rotate(90deg); }
.mohest-guide-group > summary:hover { background: #eaf2f8; }
.mohest-guide-group .mohest-guide-group { margin-left: 0; }
.mohest-guide-group .mohest-guide-group > summary { font-size: 13px; font-weight: 600; color: #374d61; }

.mohest-guide-content { min-width: 0; }
.mohest-guide-panel { display: none; }
.mohest-guide-panel.is-active { display: block; }
.mohest-guide-panel:focus { outline: none; }
.mohest-guide-panel h2 { margin-top: 0; }
.mohest-guide-panel h3 { margin-top: 24px; margin-bottom: 8px; }
.mohest-guide-panel > h3:first-of-type { margin-top: 4px; }
.mohest-guide-panel p,
.mohest-guide-panel li { margin: 0 0 10px; }
.mohest-guide-panel ul,
.mohest-guide-panel ol,
.mohest-guide-panel dl { margin: 8px 0 16px; }
.mohest-guide-crumb { margin: 0 0 4px; color: #1a7a6e; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.mohest-guide-jump { padding: 0; border: none; background: none; color: #00579d; font-weight: 800; cursor: pointer; text-decoration: underline; font-size: inherit; font-family: inherit; }

@media (max-width: 860px) {
  .mohest-service-layout { grid-template-columns: 1fr; gap: 18px; }
  .mohest-service-layout__nav { position: static; }
  .mohest-guide-body { grid-template-columns: 1fr; }
  .mohest-guide-nav { position: static; max-height: none; margin-bottom: 14px; }
}
.mohest-content-tag { display: inline-block; margin: 6px 4px 0 0; padding: 3px 8px; border-radius: 4px; color: #006d3c; background: #e4f3eb; font-size: 12px; font-weight: 800; }
.mohest-news-list { display: grid; gap: 16px; }
.mohest-news-meta { margin: 0 0 8px; color: #006d3c; font-size: 13px; font-weight: 800; }

.mohest-page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 8px;
  color: #53677b;
  font-size: 14px;
}

.mohest-page-breadcrumbs a {
  color: #00579d;
}

.mohest-page-intro,
.mohest-structure-intro {
  padding-top: 8px;
  padding-bottom: 16px;
}

.mohest-page-intro > div,
.mohest-structure-intro > div {
  position: relative;
  max-width: min(100%, 1360px);
  padding: 22px clamp(18px, 3vw, 32px);
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(0, 87, 157, 0.08), rgba(0, 109, 60, 0.08)),
    #fff;
}

.mohest-page-intro h1,
.mohest-structure-intro h1 {
  max-width: 760px;
  font-family: Merriweather, Georgia, serif;
}

.mohest-page-intro p:not(.mohest-page-kicker),
.mohest-structure-intro p:not(.mohest-page-kicker) {
  max-width: min(100%, 1040px);
  font-size: 18px;
}

.mohest-guidance-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guidance-step;
}

.mohest-guidance-path li {
  position: relative;
  min-height: 142px;
  padding: 52px 16px 16px;
  border: 1px solid #c9d8e5;
  border-radius: 7px;
  background: #f8fbfd;
  counter-increment: guidance-step;
}

.mohest-guidance-path li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: #006d3c;
  content: counter(guidance-step);
  font-weight: 800;
  line-height: 26px;
  text-align: center;
}

.mohest-guidance-path strong,
.mohest-guidance-path span {
  display: block;
}

.mohest-guidance-path strong { color: #07294a; }
.mohest-guidance-path span { margin-top: 7px; color: #374d61; font-size: 14px; line-height: 1.5; }

.mohest-guidance-notice {
  max-width: 920px;
  padding: 22px;
  border-left: 4px solid #d4a017;
  background: #fff8e7;
}

.mohest-guidance-notice h2,
.mohest-guidance-notice p { margin-top: 0; }
.mohest-guidance-notice p { margin-bottom: 0; }

.mohest-page-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mohest-page-related__links .mohest-content-link {
  margin-top: 0;
  padding: 8px 11px;
  border: 1px solid #c9d8e5;
  border-radius: 7px;
  background: #f8fbfd;
  font-size: 14px;
  line-height: 1.25;
}

.mohest-structure-overview p,
.mohest-structure-overview li,
.mohest-structure-leadership > div > p,
.mohest-structure-cooperation p,
.mohest-structure-cooperation li,
.mohest-structure-related > div > p {
  max-width: none;
}

.mohest-structure-overview,
.mohest-structure-cooperation {
  margin-top: 0;
}

.mohest-structure-page + .mohest-content-section--soft,
.mohest-structure-leadership,
.mohest-structure-cooperation,
.mohest-structure-related {
  padding-top: 24px;
  padding-bottom: 24px;
}

.mohest-structure-overview > div,
.mohest-structure-leadership > div,
.mohest-structure-cooperation > div,
.mohest-structure-related > div {
  max-width: min(100%, 1360px);
  padding-right: clamp(18px, 3vw, 32px);
  padding-left: clamp(18px, 3vw, 32px);
}

.mohest-structure-flow {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mohest-structure-flow div {
  position: relative;
  padding: 11px 14px 11px 40px;
  border: 1px solid #c9d8e5;
  border-radius: 7px;
  background: #fff;
  color: #07294a;
  font-weight: 800;
  line-height: 1.25;
}

.mohest-structure-flow div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #006d3c;
  box-shadow: 0 0 0 5px #e4f3eb;
  transform: translateY(-50%);
}

.mohest-structure-overview h2,
.mohest-structure-leadership h2,
.mohest-structure-cooperation h2,
.mohest-structure-related h2 {
  margin-top: 0;
}

.mohest-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mohest-leadership-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  padding: 13px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 41, 74, 0.055);
}

.mohest-leadership-card--linked {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.mohest-leadership-card--linked:hover,
.mohest-leadership-card--linked:focus-within {
  border-color: #00579d;
  box-shadow: 0 12px 26px rgba(0, 87, 157, 0.14);
  transform: translateY(-1px);
}

.mohest-leadership-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 7px;
}

.mohest-leadership-card__overlay:focus-visible {
  outline: 3px solid rgba(0, 87, 157, 0.3);
  outline-offset: 3px;
}

.mohest-leadership-card--primary {
  border-color: #b8ccdc;
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.mohest-leadership-card__portrait {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid #dce7ef;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 37%, #f4d0aa 0 14%, transparent 15%),
    radial-gradient(circle at 50% 82%, #003458 0 32%, transparent 33%),
    linear-gradient(145deg, #edf4f8, #cfe0ea);
  box-shadow: inset 0 -10px 16px rgba(0, 52, 88, 0.08);
}

.mohest-leadership-card__portrait::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0c79f;
  transform: translateX(-50%);
}

.mohest-leadership-card__portrait::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 6px;
  left: 9px;
  height: 24px;
  border-radius: 999px 999px 0 0;
  background: #003458;
}

.mohest-leadership-card__label {
  margin: 0 0 6px;
  color: #006d3c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.mohest-leadership-card h3 {
  margin: 0 0 5px;
  font-size: 19px;
  line-height: 1.25;
}

.mohest-leadership-card p:not(.mohest-leadership-card__label) {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.mohest-leadership-card__cta {
  display: inline-block;
  margin-top: 9px;
  color: #00579d;
  font-size: 13px;
  font-weight: 800;
}

.mohest-structure-cooperation__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
  max-width: none;
}

.mohest-structure-cooperation__body p,
.mohest-structure-cooperation__body ul {
  margin-top: 0;
}

.mohest-structure-cooperation__body ul {
  margin-bottom: 0;
}

.mohest-structure-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mohest-structure-related__links .mohest-content-link {
  margin-top: 0;
  padding: 8px 11px;
  border: 1px solid #c9d8e5;
  border-radius: 7px;
  background: #f8fbfd;
  font-size: 14px;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .mohest-directorates-page .mohest-content-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .mohest-directorates-page .mohest-directorates-visuals {
    grid-template-columns: 1fr;
  }

  .mohest-content-hero, .mohest-content-section--soft { padding-right: 22px; padding-left: 22px; }
  .mohest-content-grid, .mohest-content-card-grid { grid-template-columns: 1fr; }
  .mohest-directorates-page .mohest-content-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mohest-structure-page + .mohest-content-section--soft,
  .mohest-structure-leadership,
  .mohest-structure-cooperation,
  .mohest-structure-related { padding-top: 20px; padding-bottom: 20px; }
  .mohest-structure-intro > div { padding: 18px; }
  .mohest-page-intro > div { padding: 18px; }
  .mohest-page-intro p:not(.mohest-page-kicker),
  .mohest-structure-intro p:not(.mohest-page-kicker) { font-size: 16px; }
  .mohest-guidance-path { grid-template-columns: 1fr; }
  .mohest-guidance-path li { min-height: 0; }
  .mohest-page-related__links { display: grid; gap: 8px; }
  .mohest-leadership-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .mohest-leadership-card { min-height: 0; padding: 12px; }
  .mohest-structure-cooperation__body { grid-template-columns: 1fr; gap: 10px; }
  .mohest-structure-related__links { display: grid; gap: 8px; }
}

@media (max-width: 520px) {
  .mohest-directorates-page .mohest-content-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mohest-directorates-page .mohest-content-card-grid article {
    min-height: 0;
    padding: 15px 14px;
  }

  .mohest-leadership-card { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
  .mohest-leadership-card__portrait { width: 48px; height: 48px; }
  .mohest-leadership-card__portrait::before { top: 12px; width: 15px; height: 15px; }
  .mohest-leadership-card__portrait::after { right: 7px; bottom: 5px; left: 7px; height: 20px; }
  .mohest-leadership-card h3 { font-size: 17px; }
  .mohest-leadership-card p:not(.mohest-leadership-card__label) { font-size: 14px; line-height: 1.42; }
}

/* Imported page sections live inside post-content, not the site canvas. */
.mohest-inner-page .mohest-content-hero,
.mohest-inner-page .mohest-content-section--soft {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: clamp(22px, 5vw, 64px);
  padding-left: clamp(22px, 5vw, 64px);
}

.mohest-inner-page .mohest-structure-overview,
.mohest-inner-page .mohest-structure-cooperation {
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 1320px) {
  .mohest-inner-page .mohest-structure-intro,
  .mohest-inner-page .mohest-structure-overview,
  .mohest-inner-page .mohest-structure-leadership,
  .mohest-inner-page .mohest-structure-cooperation,
  .mohest-inner-page .mohest-structure-related {
    width: min(calc(100vw - 80px), 1360px);
    margin-left: calc(50% - min(calc(50vw - 40px), 680px));
  }
}

.mohest-biographies-page > div,
.mohest-biography-entry > div,
.mohest-biographies-backtop > div {
  max-width: min(100%, 1360px);
  padding-right: clamp(18px, 3vw, 32px);
  padding-left: clamp(18px, 3vw, 32px);
}

.mohest-biographies-page {
  padding-top: 8px;
  padding-bottom: 18px;
}

.mohest-biographies-page h1 {
  max-width: 820px;
  font-family: Merriweather, Georgia, serif;
}

.mohest-biographies-page p:not(.mohest-page-kicker) {
  max-width: min(100%, 1040px);
  font-size: 18px;
}

.mohest-biography-entry {
  padding-top: 22px;
  padding-bottom: 22px;
}

.mohest-biography-entry--soft {
  background: #f3f8fc;
}

.mohest-biography-entry__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.mohest-biography-entry__profile {
  padding: 18px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
}

.mohest-biography-entry__photo {
  position: relative;
  width: 132px;
  height: 132px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid #dce7ef;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #f4d0aa 0 14%, transparent 15%),
    radial-gradient(circle at 50% 84%, #003458 0 34%, transparent 35%),
    linear-gradient(145deg, #edf4f8, #cfe0ea);
  box-shadow: inset 0 -16px 26px rgba(0, 52, 88, 0.1);
}

.mohest-biography-entry__photo::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0c79f;
  transform: translateX(-50%);
}

.mohest-biography-entry__photo::after {
  content: "";
  position: absolute;
  right: 23px;
  bottom: 16px;
  left: 23px;
  height: 52px;
  border-radius: 999px 999px 0 0;
  background: #003458;
}

.mohest-biography-entry__label {
  margin: 0 0 8px;
  color: #006d3c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mohest-biography-entry__profile h2,
.mohest-biography-entry__bio h3 {
  margin-top: 0;
}

.mohest-biography-entry__name {
  margin: 8px 0 0;
  color: #53677b;
  font-weight: 800;
}

.mohest-biography-entry__bio {
  padding: 6px 0;
}

.mohest-biography-entry__bio p {
  max-width: none;
}

.mohest-biographies-backtop {
  padding-top: 14px;
  padding-bottom: 28px;
}

@media (min-width: 1320px) {
  .mohest-inner-page .mohest-biographies-page,
  .mohest-inner-page .mohest-biography-entry,
  .mohest-inner-page .mohest-biographies-backtop {
    width: min(calc(100vw - 80px), 1360px);
    margin-left: calc(50% - min(calc(50vw - 40px), 680px));
  }
}

@media (max-width: 820px) {
  .mohest-biographies-page p:not(.mohest-page-kicker) { font-size: 16px; }
  .mohest-biography-entry__grid { grid-template-columns: 1fr; gap: 16px; }
  .mohest-biography-entry__profile { display: grid; grid-template-columns: 86px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px; }
  .mohest-biography-entry__photo { grid-row: span 3; width: 86px; height: 86px; margin-bottom: 0; }
  .mohest-biography-entry__photo::before { top: 22px; width: 24px; height: 24px; }
  .mohest-biography-entry__photo::after { right: 15px; bottom: 10px; left: 15px; height: 36px; }
}

.mohest-about-intro,
.mohest-about-summary,
.mohest-about-guidance,
.mohest-about-links {
  padding-top: 24px;
  padding-bottom: 24px;
}

.mohest-about-intro {
  padding-top: 8px;
}

.mohest-about-intro > div,
.mohest-about-summary > div,
.mohest-about-guidance > div,
.mohest-about-links > div {
  max-width: min(100%, 1360px);
  padding-right: clamp(18px, 3vw, 32px);
  padding-left: clamp(18px, 3vw, 32px);
}

.mohest-about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.mohest-about-intro__copy {
  padding: 22px clamp(18px, 3vw, 32px);
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(0, 87, 157, 0.08), rgba(0, 109, 60, 0.08)),
    #fff;
}

.mohest-about-intro h1 {
  max-width: 820px;
  font-family: Merriweather, Georgia, serif;
}

.mohest-about-intro p:not(.mohest-page-kicker),
.mohest-about-summary p,
.mohest-about-guidance p,
.mohest-about-links p {
  max-width: none;
}

.mohest-about-intro p:not(.mohest-page-kicker) {
  max-width: min(100%, 1040px);
  font-size: 18px;
}

.mohest-about-intro__media {
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
}

.mohest-about-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.48);
  transform-origin: 50% 18%;
}

.mohest-about-intro__media figcaption {
  padding: 10px 12px;
  color: #53677b;
  font-size: 13px;
  line-height: 1.4;
}

.mohest-about-summary h2,
.mohest-about-guidance h2,
.mohest-about-links h2 {
  margin-top: 0;
}

.mohest-about-summary__grid,
.mohest-about-guidance__grid,
.mohest-about-links__grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mohest-about-summary__grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mohest-about-guidance__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mohest-about-links__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mohest-about-links__grid br {
  display: none;
}

.mohest-about-summary article,
.mohest-about-guidance article,
.mohest-about-links a {
  padding: 16px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
}

.mohest-about-summary h3,
.mohest-about-guidance h3 {
  margin-top: 0;
}

.mohest-about-guidance__label,
.mohest-about-links span {
  margin: 0 0 7px;
  color: #006d3c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mohest-about-links a {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.mohest-about-links a:hover,
.mohest-about-links a:focus-visible {
  border-color: #00579d;
  box-shadow: 0 12px 26px rgba(0, 87, 157, 0.12);
  transform: translateY(-1px);
}

.mohest-about-links a:focus-visible {
  outline: 3px solid rgba(0, 87, 157, 0.3);
  outline-offset: 3px;
}

.mohest-about-links strong {
  display: block;
  color: #07294a;
  line-height: 1.3;
}

@media (min-width: 1320px) {
  .mohest-inner-page .mohest-about-intro,
  .mohest-inner-page .mohest-about-summary,
  .mohest-inner-page .mohest-about-guidance,
  .mohest-inner-page .mohest-about-links {
    width: min(calc(100vw - 80px), 1360px);
    margin-left: calc(50% - min(calc(50vw - 40px), 680px));
  }
}

@media (max-width: 900px) {
  .mohest-about-intro__grid { grid-template-columns: 1fr; gap: 14px; }
  .mohest-about-intro__media img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .mohest-about-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .mohest-about-intro,
  .mohest-about-summary,
  .mohest-about-guidance,
  .mohest-about-links { padding-top: 20px; padding-bottom: 20px; }
  .mohest-about-intro__copy { padding: 16px; }
  .mohest-about-intro h1 { font-size: 30px; line-height: 1.12; }
  .mohest-about-intro p:not(.mohest-page-kicker) { font-size: 16px; }
  .mohest-about-intro__media img { aspect-ratio: 4 / 3; object-position: 50% 18%; transform: scale(1.34); transform-origin: 50% 18%; }
  .mohest-about-links__grid { grid-template-columns: 1fr; }
  .mohest-about-summary article,
  .mohest-about-guidance article,
  .mohest-about-links a { padding: 14px; }
}

.mohest-inner-page .mohest-institution-intro {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.mohest-inner-page .mohest-institution-intro .wp-block-cover__inner-container,
.mohest-inner-page .mohest-institution-intro__inner {
  width: 100%;
  max-width: 100% !important;
  padding-right: clamp(22px, 5vw, 64px);
  padding-left: clamp(22px, 5vw, 64px);
}

.mohest-inner-page .mohest-institution-search {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.mohest-inner-page .mohest-institution-search__container,
.mohest-inner-page .mohest-institution-stats__container,
.mohest-inner-page .mohest-institution-listing__container,
.mohest-inner-page .mohest-institution-section-container {
  width: 100%;
}

:root {
  --mohest-section-space: 32px;
  --mohest-section-space-large: 40px;
  --mohest-section-soft: #f3f8fc;
}

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

a:hover,
a:focus-visible {
  text-decoration: none;
}

.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

header.wp-block-template-part,
footer.wp-block-template-part {
  margin-left: -16px !important;
  margin-right: -16px !important;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wp-site-blocks {
  overflow: hidden;
}

.wp-block-navigation a,
.wp-block-navigation-item__content {
  text-decoration: none;
}

.wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background-color: var(--wp--preset--color--dark-gold);
  border-color: var(--wp--preset--color--dark-gold);
  color: var(--wp--preset--color--white);
}

/* Homepage hero */
.mohest-hero {
  height: 320px;
  min-height: 320px !important;
  color: #fff;
  isolation: isolate;
}

.mohest-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 41, 75, 0.92),
      rgba(0, 48, 84, 0.79) 35%,
      rgba(0, 48, 84, 0.22) 62%,
      rgba(0, 48, 84, 0.08)
    ),
    linear-gradient(180deg, rgba(0, 37, 65, 0.16), rgba(0, 37, 65, 0.45));
}

.mohest-hero .wp-block-cover__image-background {
  object-position: center center;
}

.mohest-hero .wp-block-cover__inner-container {
  position: absolute;
  left: 50%;
  width: min(100%, calc(100% - 80px));
  max-width: 1210px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 43px 0 36px;
  transform: translateX(-50%);
}

.mohest-hero__inner {
  position: relative;
  z-index: 1;
  width: 620px;
  margin: 0;
  align-self: flex-start;
  padding: 0;
}

.mohest-hero__inner.is-layout-constrained {
  width: 620px;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 0;
}

.mohest-hero__inner > * {
  width: 100%;
  max-width: 740px;
}

.mohest-hero__inner.is-layout-constrained > * {
  max-width: 740px;
  margin-left: 0;
  margin-right: 0;
}

.mohest-hero__kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.36;
  text-transform: uppercase;
}

.mohest-hero__title {
  margin: 0;
  color: #fff !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  line-height: 1.11 !important;
}

.mohest-hero__description {
  max-width: 600px;
  margin: 17px 0 21px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.45;
}

.mohest-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 0 !important;
}

.mohest-hero__quote {
  align-self: flex-end;
  max-width: 215px;
  margin: 0 18px 38px 0;
  padding-left: 20px;
  border-left: 4px solid #f5b82f;
  color: #fff;
  font-family: Merriweather, Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.mohest-hero__button .wp-block-button__link {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  gap: 18px;
  font-size: 13px;
}

.mohest-hero__button--primary .wp-block-button__link {
  border-color: #f5b82f;
  background: #f5b82f;
  color: #06233e;
}

.mohest-hero__button--secondary .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
}

.mohest-hero__button .wp-block-button__link:hover,
.mohest-hero__button .wp-block-button__link:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Homepage quick access */
.mohest-quick-access {
  padding: var(--mohest-section-space-large) 1.2rem;
  background: #fff;
}

.mohest-quick-access__header {
  max-width: 1200px;
  margin: 0 auto 1.7rem;
}

.mohest-quick-access__eyebrow {
  margin: 0 0 0.35rem;
  color: #008849;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mohest-quick-access__title {
  margin: 0 !important;
  color: #07294a !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.1 !important;
}

.mohest-quick-access__view-all {
  margin: 0;
}

.mohest-quick-access__view-all a,
.mohest-service-card > a {
  color: #008849;
  font-weight: 700;
  text-decoration: none;
}

.mohest-service-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mohest-service-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: 38px auto;
  align-items: start;
  column-gap: 8px;
  padding: 16px 17px 14px;
  border: 1px solid rgba(16, 43, 60, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 43, 60, 0.04);
}

.mohest-service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #fff;
  border-radius: 9px;
}

.mohest-service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mohest-service-icon--blue {
  background: #075b9f;
}
.mohest-service-icon--green {
  background: #238b56;
}
.mohest-service-icon--gold {
  background: #e8ad28;
}
.mohest-service-icon--red {
  background: #a72538;
}
.mohest-service-icon--purple {
  background: #74439b;
}

.mohest-service-card img {
  object-fit: contain;
}

.mohest-service-card h3 {
  min-height: 0;
  align-self: center;
  margin: 0;
  grid-column: 2;
  color: #07294a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.08;
}

.mohest-service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.mohest-service-card p {
  grid-column: 1 / -1;
  margin: 9px 0 0;
  color: #53677b;
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .mohest-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mohest-hero .wp-block-cover__inner-container {
    width: min(100%, calc(100% - 40px));
    min-height: 280px;
    padding: 30px 0 26px;
  }

  .wp-block-cover.alignfull.mohest-hero {
    height: 360px !important;
    min-height: 360px !important;
    aspect-ratio: auto !important;
  }

  .mohest-hero .wp-block-cover__inner-container {
    min-height: 360px;
    align-items: flex-start;
    padding-top: 34px;
  }

  .mohest-hero .wp-block-cover__image-background {
    object-position: 72% 54%;
  }

  .mohest-hero__title {
    font-size: 34px !important;
  }

  .mohest-hero__description {
    font-size: 15px;
  }

  .mohest-hero__inner {
    width: 100%;
    max-width: none !important;
  }

  .mohest-hero__inner.is-layout-constrained {
    width: 100%;
    max-width: none;
  }

  .mohest-hero__inner > * {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mohest-hero__quote {
    display: none;
  }

  .mohest-quick-access {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .mohest-quick-access__header {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 1rem;
  }

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

@media (max-width: 520px) {
  .wp-block-cover.alignfull.mohest-hero {
    height: 480px !important;
    min-height: 480px !important;
  }

  .mohest-hero .wp-block-cover__inner-container {
    min-height: 480px;
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .mohest-hero .wp-block-cover__image-background {
    content: url("/wp-content/themes/mohest/assets/images/mobile-hero.png");
    object-position: center top;
  }

  .mohest-hero__kicker {
    max-width: 315px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.16em;
  }

  .mohest-hero__title {
    max-width: 330px !important;
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  .mohest-hero__description {
    max-width: 320px;
    margin: 18px 0 22px;
    font-size: 16px;
    line-height: 1.4;
  }

  .mohest-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .mohest-hero__button,
  .mohest-hero__button .wp-block-button__link {
    width: 100%;
  }

  .mohest-hero__button .wp-block-button__link {
    min-height: 62px;
    padding: 0 30px;
    border-radius: 7px;
    justify-content: space-between;
    font-size: 18px;
  }

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

/* Homepage institution finder */
.mohest-finder {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space) 1.2rem;
  background: var(--mohest-section-soft);
}

.mohest-finder__grid {
  width: min(1210px, 100%);
  margin: 0 auto;
}

.mohest-finder__panel {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dce8f2;
  border-radius: 7px;
  background: linear-gradient(110deg, #f6fbff, #eaf5fc);
}

.mohest-finder__image {
  width: 47%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  object-fit: cover;
  object-position: 63% 52%;
}

.mohest-finder__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(246, 251, 255, 0.98) 0%,
    rgba(246, 251, 255, 0.92) 45%,
    rgba(246, 251, 255, 0.12) 76%
  );
}

.mohest-finder__content {
  position: relative;
  z-index: 1;
  width: 48%;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left;
}

.mohest-finder__title {
  margin: 0 0 12px !important;
  color: #07294a !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
}

.mohest-finder__title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -4px;
  background: #f5b82f;
}

.mohest-finder__description.wp-block-paragraph {
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  color: #3f5367;
  font-size: 14px;
}

.mohest-finder__link {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 4px;
  color: #003458;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.mohest-finder__link:hover,
.mohest-finder__link:focus-visible {
  color: #8a5b00;
  text-decoration: underline;
}

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

.mohest-finder__stats > span {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  color: #405870;
  font-size: 11px;
  line-height: 1.16;
}

.mohest-finder__stat-icon {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mohest-finder__stats strong {
  color: #07294a;
  font-size: 21px;
  line-height: 1;
}

.mohest-finder__stats > span:last-child strong {
  font-size: 12px;
}

.mohest-finder__message {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 28px;
  right: 28px;
  width: 32%;
}

.mohest-finder__message h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.14;
}

.mohest-finder__message span {
  display: block;
  width: 34px;
  height: 4px;
  margin-top: 13px;
  background: #f5b82f;
}

@media (max-width: 820px) {
  .mohest-finder {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .mohest-finder__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mohest-finder__panel {
    min-height: 300px;
    padding: 20px;
  }

  .mohest-finder__image {
    width: 100%;
    height: 52%;
    top: auto;
    bottom: 0;
  }

  .mohest-finder__panel::after {
    background: linear-gradient(
      180deg,
      rgba(246, 251, 255, 0.98) 0%,
      rgba(246, 251, 255, 0.9) 46%,
      rgba(246, 251, 255, 0.12) 80%
    );
  }

  .mohest-finder__content {
    width: 100%;
  }

  .mohest-finder__message {
    top: auto;
    right: 20px;
    bottom: 20px;
    width: 45%;
  }

  .mohest-finder__message h2 {
    font-size: 19px;
  }
}

/* Find an Institution introduction, matching the source institution hero. */
.mohest-institution-intro {
  min-height: 360px !important;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  background: #002b4b;
}

.mohest-institution-intro .wp-block-cover__image-background {
  object-position: center 48%;
}

.mohest-institution-intro .wp-block-cover__background {
  background:
    linear-gradient(
      90deg,
      rgba(0, 43, 75, 0.96) 0%,
      rgba(0, 43, 75, 0.78) 38%,
      rgba(0, 43, 75, 0.22) 68%,
      rgba(0, 43, 75, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(0, 35, 63, 0.12), rgba(0, 35, 63, 0.38));
  opacity: 1;
}

.mohest-institution-intro .wp-block-cover__inner-container {
  width: min(1210px, calc(100% - 80px));
  max-width: none !important;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 50px 0 58px;
}

.mohest-institution-intro__inner {
  width: 100%;
  max-width: 620px !important;
  margin: 0 !important;
}

.mohest-institution-intro__title {
  max-width: 620px;
  margin: 0 !important;
  color: #fff !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 46px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
}

.mohest-institution-intro__description {
  max-width: 610px;
  margin: 18px 0 0 !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.48 !important;
}

/* Find an Institution search, matching the source .find-search-panel. */
.mohest-institution-search {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: none;
  margin: -44px calc(50% - 50vw) 0;
  padding: 0;
}

.mohest-institution-search__container {
  width: min(calc(100% - 80px), 1210px);
  margin-inline: auto;
}

.mohest-institution-search__form {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.16fr 1.08fr 112px 126px;
  align-items: end;
  gap: 12px;
  padding: 22px;
  border: 1px solid #d4e4f0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 43, 75, 0.12);
}

.mohest-institution-search__form h2 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #07294a;
  font-family: Merriweather, Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.mohest-institution-search__form input,
.mohest-institution-search__form select,
.mohest-institution-search__form button {
  width: 100%;
  height: 46px;
  min-width: 0;
  border-radius: 5px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

.mohest-institution-search__form input,
.mohest-institution-search__form select {
  padding: 0 14px;
  color: #07294a;
  border: 1px solid #cbd9e4;
  background: #fff;
}

.mohest-institution-search__form button {
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

.mohest-institution-search__submit {
  color: #fff;
  border: 1px solid #00233f;
  background: #00233f;
}

.mohest-institution-search__clear {
  color: #003458;
  border: 1px solid #cbd9e4;
  background: #f8fbfd;
}

.mohest-institution-search__form.submitted {
  box-shadow: 0 12px 28px rgba(0, 43, 75, 0.2);
}

@media (max-width: 1160px) {
  .mohest-institution-search__container {
    width: min(calc(100% - 44px), 1210px);
  }

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

@media (max-width: 820px) {
  .mohest-institution-search {
    margin-top: -30px;
  }

  .mohest-institution-search__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mohest-institution-search__container {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-institution-search__form {
    padding: 18px;
  }
}

/* Find an Institution statistics, matching the source .institution-stats-section. */
.mohest-institution-stats {
  padding: 26px 0 10px;
}

.mohest-institution-stats__container {
  width: min(calc(100% - 80px), 1210px);
  margin-inline: auto;
}

.mohest-institution-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #f3f8fc;
}

.mohest-institution-stat-grid article {
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 17px 18px;
  border-right: 1px solid #d8e3ec;
}

.mohest-institution-stat-grid article:last-child {
  border-right: 0;
}

.mohest-institution-stat-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  grid-row: span 2;
}

.mohest-institution-stat-grid strong {
  color: #07294a;
  font-size: 25px;
  line-height: 1;
}

.mohest-institution-stat-grid strong.mohest-institution-stat--text {
  font-size: 17px;
  line-height: 1.1;
}

.mohest-institution-stat-grid span {
  color: #53677b;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1160px) {
  .mohest-institution-stats__container {
    width: min(calc(100% - 44px), 1210px);
  }

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

  .mohest-institution-stat-grid article:nth-child(3) {
    border-right: 0;
  }

  .mohest-institution-stat-grid article:nth-child(-n + 3) {
    border-bottom: 1px solid #d8e3ec;
  }
}

@media (max-width: 820px) {
  .mohest-institution-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mohest-institution-stat-grid article {
    border-right: 1px solid #d8e3ec;
    border-bottom: 1px solid #d8e3ec;
  }

  .mohest-institution-stat-grid article:nth-child(2n),
  .mohest-institution-stat-grid article:last-child {
    border-right: 0;
  }

  .mohest-institution-stat-grid article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .mohest-institution-stats__container {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-institution-stat-grid {
    grid-template-columns: 1fr;
  }

  .mohest-institution-stat-grid article,
  .mohest-institution-stat-grid article:nth-child(2n),
  .mohest-institution-stat-grid article:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #d8e3ec;
  }

  .mohest-institution-stat-grid article:last-child {
    border-bottom: 0;
  }
}

/* Accredited Institutions listing, matching the source .institution-listing-section. */
.mohest-institution-listing {
  padding: 7px 0;
}

.mohest-institution-listing__container {
  width: min(calc(100% - 80px), 1210px);
  margin-inline: auto;
}

.mohest-institution-listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mohest-institution-listing-head h2 {
  margin: 0;
  color: #07294a;
  font-family: Merriweather, Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
}

.mohest-institution-listing-head p {
  margin: 7px 0 0;
  color: #53677b;
  font-weight: 600;
}

.mohest-institution-listing-head label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #53677b;
  font-size: 12px;
  font-weight: 800;
}

.mohest-institution-listing-head select {
  height: 38px;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
  padding: 0 12px;
  color: #07294a;
  background: #fff;
  font-weight: 700;
}

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

.mohest-institution-card {
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #fff;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.mohest-institution-card:hover,
.mohest-institution-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 136, 73, 0.35);
  background: #fbfefd;
  box-shadow: 0 12px 24px rgba(0, 43, 75, 0.09);
}

.mohest-institution-card-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
}

.mohest-institution-card-no-image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 64, 112, 0.08), rgba(0, 136, 73, 0.1)),
    #f4f8fb;
}

.mohest-institution-card-no-image::after {
  content: "Image not available";
  color: #667b8e;
  font-size: 12px;
  font-weight: 800;
}

.mohest-institution-card-body {
  padding: 16px 15px 15px;
}

.mohest-institution-card-title {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
}

.mohest-institution-card-title img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mohest-institution-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.16;
}

.mohest-institution-badges {
  display: flex;
  gap: 7px;
  margin: 13px 0 9px;
}

.mohest-institution-badges span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #003458;
  background: #edf6fc;
  font-size: 11px;
  font-weight: 800;
}

.mohest-institution-badges span:last-child {
  color: #006d3c;
  background: #eaf8ef;
}

.mohest-institution-location {
  margin: 0 0 8px;
  color: #006d3c;
  font-size: 12px;
  font-weight: 800;
}

.mohest-institution-card p:not(.mohest-institution-location) {
  min-height: 48px;
  margin: 0 0 15px;
  color: #53677b;
  font-size: 12px;
  line-height: 1.4;
}

.mohest-institution-card a {
  color: #003458;
  font-size: 13px;
  font-weight: 800;
}

.mohest-institution-card a:focus-visible,
.mohest-institution-listing-head select:focus-visible {
  outline: 2px solid #006d3c;
  outline-offset: 2px;
}

@media (max-width: 1160px) {
  .mohest-institution-listing__container {
    width: min(calc(100% - 44px), 1210px);
  }

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

  .mohest-institution-card-photo {
    height: 180px;
  }
}

@media (max-width: 820px) {
  .mohest-institution-listing-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .mohest-institution-listing__container {
    width: min(calc(100% - 28px), 1210px);
  }

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

  .mohest-institution-card-photo {
    height: 168px;
  }

  .mohest-institution-card p:not(.mohest-institution-location) {
    min-height: 0;
  }
}

/* Institution finder support sections, matching the source type, choose, and help grids. */
.mohest-institution-type-section,
.mohest-institution-help-section {
  padding: 7px 0;
  background: #f3f8fc;
}

.mohest-institution-choose-section {
  padding: 7px 0;
}

.mohest-institution-section-container {
  width: min(calc(100% - 80px), 1210px);
  margin-inline: auto;
}

.mohest-institution-section-title {
  display: block;
  margin-bottom: 18px;
}

.mohest-institution-section-title h2 {
  margin: 0;
  font-family: Merriweather, Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
}

.mohest-institution-section-title p {
  margin: 7px 0 0;
  color: #53677b;
  font-weight: 600;
}

.mohest-institution-type-grid,
.mohest-institution-help-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mohest-institution-help-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mohest-institution-type-grid a,
.mohest-institution-help-grid a {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  color: inherit;
  background: #fff;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.mohest-institution-type-grid a:hover,
.mohest-institution-type-grid a:focus-visible,
.mohest-institution-help-grid a:hover,
.mohest-institution-help-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 136, 73, 0.35);
  background: #fbfefd;
  box-shadow: 0 12px 24px rgba(0, 43, 75, 0.09);
}

.mohest-institution-type-grid img,
.mohest-institution-help-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 13px;
  transition: transform 0.24s ease;
}

.mohest-institution-type-grid a:hover img,
.mohest-institution-help-grid a:hover img {
  transform: scale(1.05);
}

.mohest-institution-type-grid strong,
.mohest-institution-help-grid strong {
  color: #07294a;
  font-size: 15px;
  line-height: 1.2;
}

.mohest-institution-type-grid span,
.mohest-institution-help-grid span {
  margin-top: 7px;
  color: #53677b;
  font-size: 12px;
  line-height: 1.38;
}

.mohest-institution-type-grid b,
.mohest-institution-help-grid b {
  margin-top: auto;
  color: #003458;
  font-size: 18px;
}

.mohest-institution-choose-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #fff;
}

.mohest-institution-choose-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 20px 18px;
  border-right: 1px solid #e0e9f1;
}

.mohest-institution-choose-grid article:last-child {
  border-right: 0;
}

.mohest-institution-choose-grid img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mohest-institution-choose-grid h3 {
  margin: 0 0 7px;
  color: #07294a;
  font-size: 15px;
  line-height: 1.18;
}

.mohest-institution-choose-grid p {
  margin: 0;
  color: #53677b;
  font-size: 12px;
  line-height: 1.42;
}

@media (max-width: 1160px) {
  .mohest-institution-section-container {
    width: min(calc(100% - 44px), 1210px);
  }

  .mohest-institution-type-grid,
  .mohest-institution-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mohest-institution-choose-grid article {
    border-bottom: 1px solid #e0e9f1;
  }

  .mohest-institution-choose-grid article:nth-child(2n) {
    border-right: 0;
  }

  .mohest-institution-choose-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .mohest-institution-type-grid,
  .mohest-institution-help-grid,
  .mohest-institution-choose-grid {
    grid-template-columns: 1fr;
  }

  .mohest-institution-choose-grid article {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .mohest-institution-section-container {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-institution-type-grid a,
  .mohest-institution-help-grid a {
    min-height: 150px;
  }
}

@media (min-width: 821px) {
  .mohest-institution-intro__inner {
    transform: translateY(22px);
  }
}

@media (max-width: 1160px) {
  .mohest-institution-intro .wp-block-cover__inner-container {
    width: min(1210px, calc(100% - 44px));
  }
}

@media (max-width: 820px) {
  .mohest-institution-intro {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  .mohest-institution-intro .wp-block-cover__inner-container {
    min-height: 330px;
  }

  .mohest-institution-intro .wp-block-cover__image-background {
    object-position: 70% 50%;
  }

  .mohest-institution-intro__title {
    font-size: 38px !important;
  }

  .mohest-institution-intro__description {
    max-width: 460px;
    font-size: 16px !important;
  }
}

@media (max-width: 520px) {
  .mohest-institution-intro,
  .mohest-institution-intro .wp-block-cover__inner-container {
    min-height: 360px;
  }

  .mohest-institution-intro .wp-block-cover__image-background {
    object-position: 72% center;
  }

  .mohest-institution-intro .wp-block-cover__inner-container {
    width: min(100%, calc(100% - 40px));
    padding: 48px 0 56px;
  }

  .mohest-institution-intro__inner {
    max-width: 270px !important;
  }

  .mohest-institution-intro__title {
    max-width: 270px;
    font-size: 33px !important;
  }

  .mohest-institution-intro__description {
    max-width: 265px;
    font-size: 15px !important;
  }
}

/* Homepage strategy and priorities section (matches source .strategy-grid). */
.mohest-strategy-priorities {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space-large) 0;
  background: #fff;
}

.mohest-strategy-priorities__inner {
  width: min(calc(100% - 80px), 1210px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 13px;
}

.mohest-strategy-card {
  position: relative;
  min-height: 163px;
  overflow: hidden;
  border-radius: 7px;
  background: #005336;
  color: #fff;
}

.mohest-strategy-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.mohest-strategy-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mohest-strategy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 83, 54, 0.94),
    rgba(0, 83, 54, 0.63) 48%,
    rgba(0, 83, 54, 0.25)
  );
}

.mohest-strategy-card__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 22px 20px;
  color: #fff;
}

.mohest-strategy-card__content h2 {
  margin: 0;
  color: #fff;
  font-family: Merriweather, Georgia, serif;
  font-size: 23px;
  line-height: 1.14;
}

.mohest-strategy-card__content p {
  max-width: 455px;
  margin: 10px 0 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.mohest-strategy-card__content .wp-block-buttons {
  margin: 0;
}

.mohest-strategy-card__content .wp-block-button__link {
  min-height: 30px;
  padding: 0 15px;
  gap: 12px;
  border-radius: 5px;
  color: #06233e;
  background: #f5b82f;
  font-size: 11px;
  font-weight: 800;
}

.mohest-strategy-card__content .wp-block-button__link:hover,
.mohest-strategy-card__content .wp-block-button__link:focus-visible {
  color: #06233e;
  background: #ffc94d;
}

.mohest-priority-panel {
  min-height: 163px;
  padding: 13px 14px;
  border: 1px solid #dce8f2;
  border-radius: 7px;
  background: linear-gradient(110deg, #f6fbff, #eaf5fc);
}

.mohest-priority-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.mohest-priority-panel__header h2 {
  margin: 0;
  color: #07294a;
  font-family: Merriweather, Georgia, serif;
  font-size: 24px;
  line-height: 1.15;
}

.mohest-priority-panel__header p {
  margin: 0;
}

.mohest-priority-panel__header a {
  color: #00579d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.mohest-priority-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 !important;
}

.mohest-priority-grid > .wp-block-column {
  min-height: 91px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  margin: 0 !important;
  padding: 3px 10px 5px;
  text-align: center;
  border-right: 1px solid rgba(150, 177, 196, 0.42);
  border-radius: 5px;
  transition:
    transform 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

.mohest-priority-grid > .wp-block-column:hover {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 18px rgba(0, 80, 56, 0.08);
  transform: translateY(-3px);
}

.mohest-priority-grid > .wp-block-column:last-child {
  border-right: 0;
}

.mohest-priority-icon {
  width: 42px;
  height: 42px;
  margin: 0 !important;
}

.mohest-priority-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.mohest-priority-grid > .wp-block-column:hover .mohest-priority-icon img {
  transform: scale(1.05);
}

.mohest-priority-grid h3 {
  margin: 0;
  color: #07294a;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 1160px) {
  .mohest-strategy-priorities__inner {
    width: min(calc(100% - 44px), 1210px);
    grid-template-columns: 1fr;
  }

  .mohest-strategy-card,
  .mohest-priority-panel {
    min-height: 220px;
  }
}

@media (min-width: 821px) {
  .mohest-strategy-card__content {
    padding-top: 39px;
  }
}

@media (max-width: 820px) {
  .mohest-strategy-priorities {
    padding-left: 0;
    padding-right: 0;
  }

  .mohest-priority-grid {
    grid-template-columns: 1fr;
  }

  .mohest-priority-grid > .wp-block-column {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .mohest-strategy-priorities__inner {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-priority-panel__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .mohest-priority-panel__header h2 {
    font-size: 22px;
  }

  .mohest-strategy-card,
  .mohest-priority-panel {
    min-height: 245px;
  }

  .mohest-strategy-card__content {
    min-height: 245px;
    display: grid;
    align-content: stretch;
    grid-template-rows: auto auto 1fr auto;
    padding: 34px 16px 18px;
  }

  .mohest-strategy-card__content h2 {
    font-size: 19px;
  }

  .mohest-strategy-card__content p {
    margin: 13px 0 0;
    line-height: 1.45;
  }

  .mohest-strategy-card__content .wp-block-button {
    align-self: end;
    margin-top: 18px;
  }

  .mohest-strategy-card__content .wp-block-button__link {
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .mohest-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mohest-priority-grid > .wp-block-column {
    min-height: 108px;
    padding: 12px 8px 11px;
    border-right: 1px solid rgba(150, 177, 196, 0.22);
    border-bottom: 1px solid rgba(150, 177, 196, 0.22);
  }

  .mohest-priority-grid > .wp-block-column:nth-child(2n) {
    border-right: 0;
  }

  .mohest-priority-grid > .wp-block-column:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* Homepage at-a-glance stats (mirrors source .glance / .glance-row) */
.mohest-glance {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space) 0;
  background: #fff;
}

.mohest-glance__container {
  width: min(calc(100% - 80px), 1210px);
  margin-inline: auto;
}

.mohest-glance__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 9px;
}

.mohest-glance__head h2 {
  margin: 0;
  color: #07294a;
  font-family: Merriweather, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
}

.mohest-glance__head h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -4px;
  background: #008849;
}

.mohest-glance__link {
  color: #00579d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.36;
  text-decoration: none;
  white-space: nowrap;
}

.mohest-glance__row {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.15fr 1fr 0.9fr 1.2fr;
  align-items: center;
  min-height: 80px;
  border-top: 1px solid #e2ecf3;
}

.mohest-glance__row article {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border-right: 1px solid #d8e3ec;
}

.mohest-glance__row article:last-child {
  padding-right: 0;
  border-right: 0;
}

.mohest-glance__icon {
  grid-row: 1 / 3;
  display: inline-block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.mohest-glance__row strong {
  color: #07294a;
  font-family: Inter, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.mohest-glance__row em {
  color: #455c72;
  font-size: 11px;
  font-style: normal;
  line-height: 1.36;
}

.mohest-glance__final strong {
  font-size: 14px;
  line-height: 1.16;
}

@media (max-width: 1160px) {
  .mohest-glance__container {
    width: min(calc(100% - 44px), 1210px);
  }
}

@media (max-width: 820px) {
  .mohest-glance__row {
    grid-template-columns: 1fr;
  }

  .mohest-glance__row article {
    grid-template-columns: 45px 1fr;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid #d8e3ec;
  }
}

@media (max-width: 520px) {
  .mohest-glance__container {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-glance {
    padding: 24px 0;
  }

  .mohest-glance__head {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  /* Source narrows every h2 at this breakpoint; scoped here to this section. */
  .mohest-glance__head h2 {
    font-size: 22px;
  }
}

/* Homepage scholarship flash news */
.mohest-scholarship {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space) 0;
  background: var(--mohest-section-soft);
}

.mohest-scholarship__inner {
  width: min(calc(100% - 80px), 1210px);
  margin: 0 auto;
  padding: 0;
}

.mohest-scholarship__title {
  margin: 0 0 7px !important;
  color: #07294a !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 26px !important;
  line-height: 1.15 !important;
}

.mohest-scholarship__title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -4px;
  background: #008849;
}

.mohest-scholarship__note {
  margin: 0 0 14px !important;
  color: #3f5367;
  font-size: 13px;
  line-height: 1.45;
}

.mohest-scholarship__empty {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #dfe8ef;
  border-radius: 4px;
  background: #f7fafc;
  color: #3f5367;
  font-size: 13px;
  line-height: 1.6;
}

.mohest-scholarship__list {
  display: grid !important;
  gap: 8px;
}

.mohest-scholarship__item {
  padding: 13px 16px 12px;
  border: 1px solid #cfe4d5;
  border-left: 4px solid #16834b;
  border-radius: 4px;
  background: #f0f8f2;
}

.mohest-scholarship__item.is-closing {
  border-color: #efd0cc;
  border-left-color: #bd4b43;
  background: #fff1ef;
}

.mohest-scholarship__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mohest-scholarship__tag {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid #a8cfb2;
  border-radius: 3px;
  color: #176a3f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mohest-scholarship__item h3 {
  margin: 0;
  color: #07294a;
  font-size: 16px;
  line-height: 1.3;
}

.mohest-scholarship__item.is-closing .mohest-scholarship__tag {
  border-color: #dda39d;
  color: #9f3934;
}

.mohest-scholarship__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 9px;
  color: #455c72;
  font-size: 12px;
  line-height: 1.35;
}

.mohest-scholarship__meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.mohest-scholarship__meta small {
  color: #6a7b89;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mohest-scholarship__meta strong {
  color: #07294a;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1160px) {
  .mohest-scholarship__inner {
    width: min(calc(100% - 44px), 1210px);
  }
}

@media (max-width: 520px) {
  .mohest-scholarship__inner {
    width: min(calc(100% - 28px), 1210px);
  }

  .mohest-scholarship__title {
    font-size: 22px !important;
  }

  .mohest-scholarship__heading {
    display: block;
  }

  .mohest-scholarship__tag {
    display: inline-block;
    margin-top: 7px;
  }

  .mohest-scholarship__meta {
    display: grid;
    gap: 5px;
  }
}

/* Homepage directorates */
.mohest-directorates {
  margin: 0;
  padding: clamp(24px, 3vw, 48px) 0;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef6fb 100%);
}

.mohest-directorates__inner {
  width: min(calc(100% - 32px), 1210px);
  margin: 0 auto;
}

.mohest-directorates__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.mohest-directorates__heading-copy {
  width: 100%;
}

.mohest-directorates__eyebrow,
.mohest-directorates__title {
  margin: 0;
}

.mohest-directorates__eyebrow {
  margin-bottom: 7px;
  color: #5c7890;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mohest-directorates__title {
  color: #07294a !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: clamp(28px, 2.8vw, 38px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

.mohest-directorates__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.mohest-directorates__card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px 16px;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(7, 41, 74, 0.02);
}

.mohest-directorates__card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #008849;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.mohest-directorates__card h3 {
  margin: 0;
  color: #07294a;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.mohest-directorates__card:nth-child(2n) span {
  background: #003458;
}

.mohest-directorates__card:nth-child(3n) span {
  color: #003458;
  background: #f5b82f;
}

@media (max-width: 1160px) {
  .mohest-directorates__inner {
    width: min(calc(100% - 32px), 1210px);
  }

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

@media (max-width: 820px) {
  .mohest-directorates {
    padding: 24px 0 28px;
  }

  .mohest-directorates__heading {
    margin-bottom: 16px;
  }

  .mohest-directorates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .mohest-directorates__card {
    min-height: 110px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 14px;
  }

  .mohest-directorates__card span {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 540px) {
  .mohest-directorates__inner {
    width: min(calc(100% - 20px), 1210px);
  }

  .mohest-directorates__heading {
    margin-bottom: 14px;
  }

  .mohest-directorates__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mohest-directorates__card {
    min-height: 0;
    padding: 14px 12px;
  }

  .mohest-directorates__card h3 {
    font-size: 14px;
  }
}

/* Homepage latest news & announcements + audience panel row (matches source .news-grid) */
.mohest-news-row {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space) 0;
  background: var(--mohest-section-soft);
}

.mohest-news {
  margin-left: -16px;
  margin-right: -16px;
  padding: var(--mohest-section-space) 1.2rem;
  background: var(--mohest-section-soft);
}

.mohest-news__inner {
  width: min(1210px, 100%);
  margin: 0 auto;
}

.mohest-news-row__inner {
  width: min(calc(100% - 80px), 1210px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.95fr);
  gap: 13px;
  align-items: start;
}

@media (max-width: 1160px) {
  .mohest-news-row__inner {
    width: min(calc(100% - 44px), 1210px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mohest-news-row {
    padding-left: 0;
    padding-right: 0;
  }
}

.mohest-news__header {
  margin-bottom: 13px;
}

.mohest-news__title {
  margin: 0 !important;
  color: #07294a !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
}

.mohest-news__title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -4px;
  background: #008849;
}

.mohest-news__view-all {
  margin: 0 !important;
}

.mohest-news__view-all a {
  color: #00579d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.mohest-news__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mohest-news__card {
  border: 1px solid #d7e1eb;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease;
}

.mohest-news__card:hover {
  border-color: #b8c9d8;
  transform: translateY(-1px);
}

.mohest-news__card-link {
  display: block;
  min-height: 156px;
  padding: 15px 14px 13px;
  color: inherit;
  text-decoration: none;
}

.mohest-news__type {
  display: inline-block;
  margin-bottom: 8px;
  color: #008849;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mohest-news__card time {
  display: block;
  margin: 0 0 5px;
  color: #5d7185;
  font-size: 11px;
}

.mohest-news__card h3 {
  margin: 0 0 6px;
  color: #07294a;
  font-size: 14px;
  line-height: 1.1;
}

.mohest-news__card p {
  margin: 0;
  color: #3f5367;
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 820px) {
  .mohest-news__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mohest-news__header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .mohest-news__title {
    font-size: 22px !important;
  }
}

/* Homepage audience panel ("I am a...") */
.mohest-audience__panel {
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 7px;
  background: #fff;
}

.mohest-audience__title {
  margin: 0 !important;
  padding: 9px 12px;
  border-bottom: 1px solid #dce8f2;
  background: linear-gradient(90deg, #f7fbfe, #edf6fb);
  color: #07294a !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
}

.mohest-audience__title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -4px;
  background: #008849;
}

.mohest-audience__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mohest-audience__card {
  min-height: 122px;
  display: grid;
  align-content: start;
  padding: 17px 14px 9px;
  border-right: 1px solid #dce8f2;
  border-bottom: 1px solid #dce8f2;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease;
}

.mohest-audience__card:hover {
  border-color: #b8c9d8;
  transform: translateY(-1px);
}

.mohest-audience__card:nth-child(3n) {
  border-right: 0;
}

.mohest-audience__card:nth-last-child(-n + 2) {
  border-bottom: 0;

/* Final Find an Institution page normalization. */
.mohest-inner-page .mohest-institution-intro,
.mohest-inner-page .mohest-institution-search,
.mohest-inner-page .mohest-institution-stats,
.mohest-inner-page .mohest-institution-listing,
.mohest-inner-page .mohest-institution-type-section,
.mohest-inner-page .mohest-institution-choose-section,
.mohest-inner-page .mohest-institution-help-section {
  width: min(calc(100% - 32px), 1210px) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mohest-inner-page .mohest-institution-intro {
  min-height: 0 !important;
  padding: 8px 0 18px !important;
  overflow: visible !important;
  background: transparent !important;
}

.mohest-institution-intro__inner {
  max-width: none !important;
  padding: 22px clamp(18px, 3vw, 32px) !important;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
  transform: none !important;
}

.mohest-institution-intro__title {
  max-width: 820px !important;
  color: #07294a !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
}

.mohest-institution-intro__description {
  max-width: min(100%, 900px) !important;
  color: #53677b !important;
  font-family: inherit !important;
  font-size: 18px !important;
}

.mohest-institution-search {
  margin-top: 0 !important;
  padding: 0 0 18px !important;
}

.mohest-institution-search__container,
.mohest-institution-stats__container,
.mohest-institution-listing__container,
.mohest-institution-section-container {
  width: 100% !important;
}

.mohest-institution-search__form {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, 0.8fr)) repeat(2, minmax(118px, 0.52fr)) !important;
  padding: 18px !important;
  box-shadow: 0 8px 20px rgba(7, 41, 74, 0.07) !important;
}

.mohest-institution-stats,
.mohest-institution-listing,
.mohest-institution-type-section,
.mohest-institution-choose-section,
.mohest-institution-help-section {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.mohest-institution-type-section,
.mohest-institution-help-section {
  background: transparent !important;
}

.mohest-institution-stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px !important;
  border: 0 !important;
  background: transparent !important;
}

.mohest-institution-stat-grid article,
.mohest-institution-stat-grid article:nth-child(2n),
.mohest-institution-stat-grid article:nth-child(3),
.mohest-institution-stat-grid article:last-child {
  min-height: 0 !important;
  grid-column: auto !important;
  display: block !important;
  padding: 14px 16px !important;
  border: 1px solid #d8e3ec !important;
  border-radius: 7px !important;
  background: #f8fbfd !important;
}

.mohest-institution-stat-grid strong {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.05 !important;
}

.mohest-institution-stat-grid strong.mohest-institution-stat--text {
  font-size: clamp(18px, 2vw, 24px) !important;
}

.mohest-institution-stat-grid span {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.mohest-institution-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 14px !important;
}

.mohest-institution-card {
  overflow: hidden;
}

.mohest-institution-card-photo {
  height: 160px !important;
}

.mohest-institution-card p:not(.mohest-institution-location) {
  min-height: 0 !important;
  max-width: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.mohest-institution-type-grid,
.mohest-institution-help-grid,
.mohest-institution-choose-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 12px !important;
  border: 0 !important;
  background: transparent !important;
}

.mohest-institution-type-grid a,
.mohest-institution-help-grid a,
.mohest-institution-choose-grid article,
.mohest-institution-choose-grid article:nth-child(2n),
.mohest-institution-choose-grid article:last-child {
  min-height: 0 !important;
  display: block !important;
  padding: 16px !important;
  border: 1px solid #d8e3ec !important;
  border-radius: 7px !important;
  background: #fff !important;
}

.mohest-institution-type-grid strong,
.mohest-institution-help-grid strong,
.mohest-institution-choose-grid h3 {
  font-size: 16px !important;
}

.mohest-institution-type-grid span,
.mohest-institution-help-grid span,
.mohest-institution-choose-grid p {
  max-width: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.mohest-institution-type-grid b,
.mohest-institution-help-grid b {
  display: inline-block !important;
  margin-top: 10px !important;
}

@media (min-width: 1320px) {
  .mohest-inner-page .mohest-institution-intro,
  .mohest-inner-page .mohest-institution-search,
  .mohest-inner-page .mohest-institution-stats,
  .mohest-inner-page .mohest-institution-listing,
  .mohest-inner-page .mohest-institution-type-section,
  .mohest-inner-page .mohest-institution-choose-section,
  .mohest-inner-page .mohest-institution-help-section {
    width: min(calc(100vw - 80px), 1360px) !important;
  }
}

@media (max-width: 980px) {
  .mohest-institution-search__form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .mohest-institution-search__form,
  .mohest-institution-stat-grid,
  .mohest-institution-type-grid,
  .mohest-institution-help-grid,
  .mohest-institution-choose-grid {
    grid-template-columns: 1fr !important;
  }
}
}

.mohest-audience__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mohest-audience__card strong {
  margin-top: 5px;
  font-size: 12px;
}

.mohest-audience__card em {
  margin-top: 2px;
  color: #52677c;
  font-size: 10px;
  font-style: normal;
  line-height: 1.25;
}

.mohest-audience__card b {
  margin-top: 7px;
  color: #003458;
  font-weight: 700;
}

@media (max-width: 820px) {
  .mohest-audience__grid {
    grid-template-columns: 1fr;
  }

  .mohest-audience__card {
    border-right: 0;
  }

  .mohest-audience__card:nth-last-child(-n + 2) {
    border-bottom: 1px solid #dce8f2;
  }
}

@media (max-width: 767px) {
  .mohest-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mohest-audience__card {
    min-height: 134px;
    grid-template-rows: auto auto 1fr auto;
    padding: 14px 12px 10px;
    text-align: center;
    justify-items: center;
    border-right: 1px solid #dce8f2;
  }

  .mohest-audience__card:nth-child(2n) {
    border-right: 0;
  }

  .mohest-audience__card:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 5px));
    justify-self: center;
    border-right: 0;
    border-bottom: 0;
  }

  .mohest-audience__card em {
    max-width: 145px;
  }

  .mohest-audience__card b {
    align-self: end;
  }
}

@media (max-width: 1024px) {
  .mohest-hero__inner {
    padding-top: 2.25rem;
    padding-bottom: 1.75rem;
  }
}

:focus-visible {
  outline: 3px solid var(--wp--preset--color--gold);
  outline-offset: 3px;
}

/* Global site shell */
.mohest-utility-bar {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
}

.mohest-utility-bar__inner {
  min-height: 48px;
  align-items: center;
}

.mohest-utility-bar__inner > p,
.mohest-utility-tools p {
  margin: 0;
}

.mohest-utility-tools {
  gap: 0.75rem;
  align-items: center;
}

.mohest-flag-mark {
  width: 18px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #d91d28 0 33%,
    #fff 33% 66%,
    #0d6c4d 66% 100%
  );
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.mohest-language {
  font-weight: 700;
}

.mohest-brand-row {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mohest-brand {
  min-height: 78px;
  gap: 0.9rem;
  align-items: center;
}

.mohest-brand__logo,
.mohest-brand__logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.mohest-brand__logo {
  flex: 0 0 62px;
  margin: 0;
}

.mohest-brand__copy {
  gap: 0;
}

.mohest-brand__country,
.mohest-brand__title {
  margin: 0;
}

.mohest-brand__country {
  color: rgba(9, 33, 52, 0.8);
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.mohest-brand__title {
  color: #0a2337;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.mohest-primary-navigation {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mohest-primary-navigation > .wp-block-navigation {
  min-height: 54px;
  align-items: center;
}

.mohest-primary-navigation .wp-block-navigation-item__content {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 0;
}

.mohest-primary-navigation .wp-block-navigation-item__content:hover,
.mohest-primary-navigation .wp-block-navigation-item__content:focus-visible,
.mohest-primary-navigation
  .current-menu-item
  > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--gold);
}

.mohest-primary-navigation .wp-block-navigation__responsive-container-open {
  display: none;
  color: #fff;
}

.mohest-site-footer {
  background: linear-gradient(
    180deg,
    #0b1d2c 0%,
    var(--wp--preset--color--ink) 100%
  );
  color: rgba(255, 255, 255, 0.8);
  padding-top: 2.8rem;
}

.mohest-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.mohest-footer-brand {
  gap: 1rem;
  align-items: flex-start;
}

.mohest-footer-brand__logo,
.mohest-footer-brand__logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.mohest-footer-brand__logo {
  flex: 0 0 80px;
  margin: 0;
}

.mohest-footer-brand__copy {
  gap: 0.25rem;
}

.mohest-footer-country,
.mohest-footer-title,
.mohest-footer-description,
.mohest-footer-column p,
.mohest-footer-bottom p {
  margin: 0;
}

.mohest-footer-country {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.mohest-footer-title {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.mohest-footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
  max-width: 260px;
}

.mohest-footer-column {
  gap: 0.8rem;
}

.mohest-footer-column h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.mohest-footer-links {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mohest-footer-column p,
.mohest-footer-column li,
.mohest-footer-column a,
.mohest-footer-bottom p,
.mohest-footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.mohest-social-links,
.mohest-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mohest-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  gap: 1rem;
}

.mohest-footer-legal {
  gap: 1rem;
}

@media (max-width: 900px) {
  .mohest-primary-navigation .wp-block-navigation__responsive-container-open {
    display: block;
  }

  .mohest-primary-navigation
    > .wp-block-navigation
    > .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .mohest-primary-navigation > .wp-block-navigation {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .mohest-footer-grid {
    grid-template-columns: 1fr;
  }

  .mohest-brand__logo,
  .mohest-brand__logo img {
    width: 52px;
    height: 52px;
  }

  .mohest-brand__logo {
    flex-basis: 52px;
  }

  .mohest-brand {
    min-height: 68px;
  }

  .mohest-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .wp-block-navigation__responsive-container-open {
    display: block;
  }
}

/* Shared chrome matches the original static site. */
:root {
  --mohest-source-navy: #003458;
  --mohest-source-navy-dark: #002b4b;
  --mohest-source-navy-deep: #00233f;
  --mohest-source-gold: #f5b82f;
  --mohest-source-ink: #07294a;
  --mohest-source-container: 1210px;
}

body {
  color: var(--mohest-source-ink);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.36;
}

.mohest-utility-bar,
.mohest-brand-row,
.mohest-primary-navigation,
.mohest-site-footer {
  width: 100%;
}

.mohest-utility-bar {
  min-height: 39px;
  padding: 0;
  color: #fff;
  background: linear-gradient(
    90deg,
    var(--mohest-source-navy-dark),
    var(--mohest-source-navy)
  );
  font-size: 12px;
  font-weight: 600;
}

.mohest-utility-bar__inner,
.mohest-brand-inner,
.mohest-primary-navigation > .wp-block-navigation,
.mohest-footer-grid,
.mohest-footer-bottom {
  width: min(calc(100% - 80px), var(--mohest-source-container));
  margin-inline: auto;
}

.mohest-utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
}

.mohest-utility-left,
.mohest-utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mohest-utility-right a {
  color: rgba(255, 255, 255, 0.94);
}
.mohest-utility-right a:not(:last-of-type)::after {
  content: "";
  margin-left: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
}
.mohest-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.35);
}
.mohest-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}
.mohest-globe {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.mohest-flag {
  width: 34px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(35deg, #0b5aa4 0 28%, transparent 28%),
    linear-gradient(
      180deg,
      #111 0 30%,
      #fff 30% 36%,
      #d2232a 36% 64%,
      #fff 64% 70%,
      #078930 70% 100%
    );
  position: relative;
}
.mohest-flag::after {
  content: "★";
  position: absolute;
  left: 3px;
  top: 2px;
  color: #f7d116;
  font-size: 8px;
}
.mohest-utility-right button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
  font-weight: 700;
}
.mohest-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mohest-brand-row {
  max-width: none;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #e7eef5;
}
.mohest-brand-inner {
  display: grid;
  grid-template-columns: auto 1px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 116px;
}
.mohest-brand {
  display: flex;
  align-items: center;
  gap: 19px;
  min-width: 500px;
  color: inherit;
}
.mohest-brand > img {
  width: 102px;
  height: 86px;
  object-fit: contain;
}
.mohest-brand-copy {
  display: flex;
  flex-direction: column;
}
.mohest-brand__country {
  color: #385372;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mohest-brand-copy strong {
  margin-top: 4px;
  color: var(--mohest-source-ink);
  font-family: "Merriweather", Georgia, serif;
  font-size: 22px;
  line-height: 1.04;
  text-transform: uppercase;
}
.mohest-tagline {
  margin-top: 4px;
  color: var(--mohest-source-ink);
  font-size: 12px;
  font-weight: 700;
}
.mohest-gold-rule {
  width: 3px;
  height: 68px;
  background: var(--mohest-source-gold);
}
.mohest-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.mohest-search {
  display: flex;
  width: 330px;
  height: 39px;
}
.mohest-search input {
  width: 100%;
  padding: 0 16px;
  border: 1px solid #c8d5e1;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  font-size: 12px;
}
.mohest-search button {
  width: 42px;
  color: #fff;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--mohest-source-navy-deep);
}
.mohest-search svg {
  width: 19px;
  height: 19px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.mohest-national-message {
  display: flex;
  align-items: center;
  gap: 13px;
}
.mohest-national-message > span,
.mohest-footer-values > span {
  width: 5px;
  height: 58px;
  border: 1px solid #edf2f5;
  background: linear-gradient(
    180deg,
    #111 0 32%,
    #fff 32% 36%,
    #d2232a 36% 63%,
    #fff 63% 67%,
    #008849 67% 100%
  );
}
.mohest-national-message p {
  margin: 0;
  color: var(--mohest-source-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.mohest-menu-toggle {
  display: none;
}

.mohest-primary-navigation {
  position: relative;
  z-index: 20;
  width: calc(100% - 32px) !important;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0;
  transform: translateX(16px);
  background: var(--mohest-source-navy);
  box-shadow: 0 4px 12px rgba(0, 33, 58, 0.12);
}
.mohest-primary-navigation > .wp-block-navigation {
  min-height: 45px;
  align-items: stretch;
}
.mohest-primary-navigation .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 45px;
  padding: 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu {
  gap: 0;
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-item__content {
  padding-right: 5px;
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-submenu__toggle {
  min-height: 45px;
  width: 34px;
  margin-left: 0;
  padding: 0 10px;
  color: #fff;
  cursor: pointer;
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu:hover
  > .wp-block-navigation-item__content,
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu:hover
  > .wp-block-navigation-submenu__toggle,
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu:focus-within
  > .wp-block-navigation-item__content,
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu:focus-within
  > .wp-block-navigation-submenu__toggle {
  color: var(--mohest-source-navy-deep);
  background: var(--mohest-source-gold);
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-submenu__toggle
  svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-submenu__toggle:hover,
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-submenu__toggle:focus-visible,
.mohest-primary-navigation
  > .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-submenu
  > .wp-block-navigation-submenu__toggle[aria-expanded="true"] {
  color: var(--mohest-source-navy-deep);
  background: var(--mohest-source-gold);
}
.mohest-primary-navigation
  > .wp-block-navigation:not(.has-background)
  .wp-block-navigation__submenu-container {
  min-width: 220px;
  border: 0;
  border-top: 3px solid var(--mohest-source-gold);
  background: var(--mohest-source-navy-deep);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}
.mohest-primary-navigation
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  width: 100%;
  min-height: 42px;
  height: auto;
  color: #fff;
}
.mohest-primary-navigation .wp-block-navigation-item__content:hover,
.mohest-primary-navigation .wp-block-navigation-item__content:focus-visible,
.mohest-primary-navigation
  .current-menu-item
  > .wp-block-navigation-item__content {
  color: var(--mohest-source-navy-deep);
  background: var(--mohest-source-gold);
}
.mohest-site-footer {
  max-width: none;
  padding: 0;
  color: #fff;
  background: linear-gradient(
    90deg,
    var(--mohest-source-navy-deep),
    var(--mohest-source-navy)
  );
}
.mohest-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr 1fr 0.85fr 0.7fr;
  gap: 28px;
  padding: 23px 0 24px;
}
.mohest-footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.mohest-footer-brand img {
  width: 96px;
  height: 88px;
  object-fit: contain;
}
.mohest-footer-brand span,
.mohest-footer-brand strong,
.mohest-footer-brand p {
  display: block;
  color: #fff;
}
.mohest-footer-brand span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mohest-footer-brand strong {
  margin-top: 4px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 14px;
  line-height: 1.04;
  text-transform: uppercase;
}
.mohest-footer-brand p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 9px;
}
.mohest-footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.mohest-footer-links,
.mohest-footer-contact,
.mohest-footer-social,
.mohest-footer-values {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 20px;
}
.mohest-footer-links > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 23px;
}
.mohest-footer-links a,
.mohest-footer-contact a,
.mohest-footer-contact p,
.mohest-footer-bottom a,
.mohest-footer-bottom p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
}
.mohest-footer-contact p {
  margin: 0 0 6px;
}
.mohest-footer-contact a {
  display: block;
  margin-top: 5px;
}
.mohest-footer-social > div {
  display: flex;
  gap: 10px;
}
.mohest-footer-social a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.mohest-footer-social a:hover,
.mohest-footer-social a:focus-visible {
  color: var(--mohest-source-gold);
  text-decoration: underline;
}
.mohest-footer-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mohest-footer-values {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mohest-footer-values p {
  margin: 0;
  color: #fff;
  font-family: "Merriweather", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}
.mohest-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.mohest-footer-bottom > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}
.mohest-footer-bottom p {
  margin: 0;
}
.mohest-footer-credit {
  margin-left: auto !important;
  text-align: right;
}
.mohest-footer-credit a {
  color: var(--mohest-source-gold);
  text-decoration: none;
}
.mohest-footer-credit a:hover,
.mohest-footer-credit a:focus-visible {
  text-decoration: underline;
}
.mohest-footer-legal {
  display: flex;
  gap: 18px;
}

@media (max-width: 1160px) {
  .mohest-utility-bar__inner,
  .mohest-brand-inner,
  .mohest-primary-navigation > .wp-block-navigation,
  .mohest-footer-grid,
  .mohest-footer-bottom {
    width: min(calc(100% - 44px), var(--mohest-source-container));
  }
  .mohest-brand-inner {
    grid-template-columns: auto 1px 1fr;
    gap: 20px;
  }
  .mohest-brand {
    min-width: 420px;
  }
  .mohest-brand-copy strong {
    font-size: 18px;
  }
  .mohest-national-message {
    display: none;
  }
  .mohest-primary-navigation .wp-block-navigation-item__content {
    padding: 0 10px;
    font-size: 12px;
  }
  .mohest-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .mohest-utility-bar__inner,
  .mohest-brand-inner,
  .mohest-primary-navigation > .wp-block-navigation,
  .mohest-footer-grid,
  .mohest-footer-bottom {
    width: min(calc(100% - 44px), var(--mohest-source-container));
  }
  .mohest-utility-bar__inner {
    justify-content: center;
  }
  .mohest-utility-left span:nth-last-child(-n + 5),
  .mohest-utility-right a {
    display: none;
  }
  .mohest-utility-right {
    position: absolute;
    right: 22px;
  }
  .mohest-brand-inner {
    grid-template-columns: auto 44px;
    min-height: 86px;
  }
  .mohest-brand {
    min-width: 0;
    gap: 11px;
  }
  .mohest-brand > img {
    width: 58px;
    height: 54px;
  }
  .mohest-brand__country {
    font-size: 10px;
  }
  .mohest-brand-copy strong {
    font-size: 13px;
  }
  .mohest-tagline,
  .mohest-gold-rule,
  .mohest-header-actions {
    display: none;
  }
  .mohest-menu-toggle {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 42px;
    height: 38px;
    padding: 9px;
    border: 1px solid #cbd9e4;
    border-radius: 4px;
    background: #fff;
  }
  .mohest-menu-toggle span {
    height: 2px;
    background: var(--mohest-source-navy);
  }
  .mohest-primary-navigation {
    width: 100% !important;
    transform: none;
  }
  .mohest-primary-navigation > .wp-block-navigation {
    width: 100%;
  }
  .mohest-primary-navigation .wp-block-navigation__responsive-container-open {
    display: none;
  }
  .mohest-primary-navigation .wp-block-navigation__responsive-container {
    position: fixed;
    inset: calc(86px + var(--wp-admin--admin-bar--height, 0px)) 0 0;
    z-index: 10;
    display: block !important;
    transform: translateX(100%);
  }
  .mohest-primary-navigation
    .wp-block-navigation__responsive-container.is-menu-open {
    transform: translateX(0);
  }
  .mohest-primary-navigation
    .wp-block-navigation__responsive-container-content {
    width: min(100%, 380px);
    min-height: calc(100vh - 86px);
    margin-left: auto;
    padding: 12px;
    background: var(--mohest-source-navy);
  }
  .mohest-primary-navigation .wp-block-navigation-item__content {
    width: 100%;
    height: 46px;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mohest-footer-grid {
    grid-template-columns: 1fr;
  }
  .mohest-footer-bottom > div {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }
  .mohest-footer-credit {
    margin-left: 0 !important;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .mohest-utility-bar__inner,
  .mohest-brand-inner,
  .mohest-footer-grid,
  .mohest-footer-bottom {
    width: min(calc(100% - 28px), var(--mohest-source-container));
  }
  .mohest-utility-bar {
    font-size: 11px;
  }
  .mohest-utility-bar__inner {
    justify-content: flex-start;
  }
  .mohest-utility-right {
    position: static;
    margin-left: auto;
  }
  .mohest-flag {
    width: 28px;
    height: 18px;
  }
  .mohest-brand-copy strong {
    font-size: 11px;
    line-height: 1.12;
  }
}

/* Final cascade guard for Find an Institution inner-page grids. */
.mohest-inner-page .mohest-institution-type-grid,
.mohest-inner-page .mohest-institution-help-grid,
.mohest-inner-page .mohest-institution-choose-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 12px !important;
  border: 0 !important;
  background: transparent !important;
}

.mohest-inner-page .mohest-institution-type-grid br,
.mohest-inner-page .mohest-institution-help-grid br,
.mohest-inner-page .mohest-institution-choose-grid br {
  display: none !important;
}

.mohest-inner-page .mohest-institution-type-grid a,
.mohest-inner-page .mohest-institution-help-grid a,
.mohest-inner-page .mohest-institution-choose-grid article,
.mohest-inner-page .mohest-institution-choose-grid article:nth-child(2n),
.mohest-inner-page .mohest-institution-choose-grid article:last-child {
  min-height: 0 !important;
  display: block !important;
  padding: 16px !important;
  border: 1px solid #d8e3ec !important;
  border-radius: 7px !important;
  background: #fff !important;
}

.mohest-inner-page .mohest-institution-type-grid a,
.mohest-inner-page .mohest-institution-help-grid a {
  height: auto !important;
}

.mohest-inner-page .mohest-institution-choose-grid h3,
.mohest-inner-page .mohest-institution-choose-grid p,
.mohest-inner-page .mohest-institution-type-grid strong,
.mohest-inner-page .mohest-institution-type-grid span,
.mohest-inner-page .mohest-institution-help-grid strong,
.mohest-inner-page .mohest-institution-help-grid span {
  max-width: none !important;
}

@media (max-width: 620px) {
  .mohest-inner-page .mohest-institution-type-grid,
  .mohest-inner-page .mohest-institution-help-grid,
  .mohest-inner-page .mohest-institution-choose-grid {
    grid-template-columns: 1fr !important;
  }
}

.mohest-inner-page .mohest-institution-intro__inner {
  background: #fff !important;
}

.mohest-inner-page .mohest-institution-intro__title {
  color: #07294a !important;
}

.mohest-inner-page .mohest-institution-intro__description {
  color: #53677b !important;
}
