/* Home page: quick-link cards inspired by the supplied reference. */
.redesign-home .info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.redesign-home .info-card,
.redesign-home .info-card:first-child {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0 !important;
  padding: 25px 22px 22px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(38, 53, 46, 0.14) !important;
  color: var(--casual-ink) !important;
  text-align: center;
}

.redesign-home .info-card:first-child {
  grid-column: auto !important;
}

.redesign-home .info-card:hover,
.redesign-home .info-card:first-child:hover {
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 18px 34px rgba(38, 53, 46, 0.20) !important;
  transform: translateY(-5px) !important;
}

.redesign-home .info-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.redesign-home .info-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.redesign-home .info-card-content {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.redesign-home .info-card h3,
.redesign-home .info-card:first-child h3 {
  margin: 0 !important;
  color: var(--casual-ink) !important;
  font-size: 18px !important;
  font-weight: 750 !important;
  line-height: 1.3;
}

.redesign-home .info-card h3 span,
.redesign-home .info-card:first-child h3 span {
  margin-top: 3px;
  color: var(--casual-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.redesign-home .info-card p,
.redesign-home .info-card:first-child p {
  max-width: 285px;
  min-height: 0 !important;
  margin: 8px auto 0;
  color: var(--casual-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.redesign-home .info-card .outline-btn {
  min-height: 32px !important;
  width: auto !important;
  margin-top: auto !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--casual-accent) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.redesign-home .info-card .outline-btn span {
  font-size: 16px;
}

.redesign-home .info-card:hover .outline-btn,
.redesign-home .info-card .outline-btn:hover {
  border: 0 !important;
  background: var(--casual-accent-hover) !important;
  color: #fff !important;
}

/* Student-loan card: a distinct blue treatment without affecting other cards. */
.redesign-home .info-card.info-card--loan,
.redesign-home .info-card.info-card--loan:hover {
  background: #126fa3 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(18, 111, 163, .30) !important;
}

.redesign-home .info-card.info-card--loan h3,
.redesign-home .info-card.info-card--loan h3 span,
.redesign-home .info-card.info-card--loan p {
  color: #fff !important;
}

.redesign-home .info-card.info-card--loan .outline-btn {
  background: #fff !important;
  color: #126fa3 !important;
}

.redesign-home .info-card.info-card--loan:hover .outline-btn {
  background: #e8f6fc !important;
  color: #0d5c88 !important;
}

/* Scholarship card: a distinct red treatment without affecting other cards. */
.redesign-home .info-card.info-card--scholarship,
.redesign-home .info-card.info-card--scholarship:hover {
  background: #b52236 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(181, 34, 54, .30) !important;
}

.redesign-home .info-card.info-card--scholarship h3,
.redesign-home .info-card.info-card--scholarship h3 span,
.redesign-home .info-card.info-card--scholarship p {
  color: #fff !important;
}

.redesign-home .info-card.info-card--scholarship .outline-btn {
  background: #fff !important;
  color: #a51d30 !important;
}

.redesign-home .info-card.info-card--scholarship:hover .outline-btn {
  background: #fff0f2 !important;
  color: #821426 !important;
}

/* Upcoming events -------------------------------------------------------- */
.redesign-home .upcoming-events {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 50px) clamp(24px, 4.5vw, 64px);
  background: #f4f6f8;
}

.redesign-home .upcoming-events-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #b9cad7;
}

.redesign-home .upcoming-events-heading .ui-eyebrow {
  margin: 0 0 5px;
  color: #8b1a2a;
  font-size: 13px;
  font-weight: 800;
}

.redesign-home .upcoming-events h2 {
  margin: 0;
  color: #0d4d77 !important;
  font-family: "Noto Sans Thai", "Segoe UI", sans-serif;
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.redesign-home .upcoming-events-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #0d4d77;
  font-size: 14px;
  font-weight: 800;
}

.redesign-home .upcoming-events-all span,
.redesign-home .upcoming-event-action span { font-size: 1.2em; }

.redesign-home .upcoming-events-list { margin: 0; }

.redesign-home .upcoming-events-loading {
  margin: 0;
  padding: 30px 2px;
  color: #385a70;
  font-size: 14px;
}

.redesign-home .upcoming-event {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 136px;
  padding: 22px 2px;
  border-bottom: 1px solid #b9cad7;
}

.redesign-home .upcoming-event time {
  display: grid;
  align-content: center;
  color: #0d4d77;
  font-style: normal;
  line-height: 1.06;
}

.redesign-home .upcoming-event time strong {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.redesign-home .upcoming-event time span {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 750;
}

.redesign-home .upcoming-event-detail h3 {
  margin: 0;
  color: #123f5c !important;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 800;
  line-height: 1.35;
}

.redesign-home .upcoming-event-detail p {
  margin: 4px 0 0;
  color: #385a70 !important;
  font-size: 14px;
  line-height: 1.5;
}

.redesign-home .upcoming-event-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 124px;
  min-height: 46px;
  padding: 0 16px;
  background: #e60000;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.redesign-home .upcoming-event-action:hover {
  background: #b90000;
  color: #fff !important;
  transform: translateY(-2px);
}

/* News detail drawer --------------------------------------------------- */
.home-news-drawer-overlay { position: fixed; inset: 0; z-index: 1600; background: rgba(8, 30, 46, .58); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.home-news-drawer-overlay.show { opacity: 1; visibility: visible; }
.home-news-drawer { position: fixed; top: 0; right: 0; z-index: 1610; width: min(620px, 100%); height: 100dvh; padding: 62px 44px 42px; overflow-y: auto; background: #fff; color: #173f5d; box-shadow: -26px 0 68px rgba(8, 30, 46, .28); transform: translateX(105%); transition: transform .34s cubic-bezier(.2, .8, .2, 1); }
.home-news-drawer.show { transform: translateX(0); }
.home-news-drawer-close { position: absolute; top: 18px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: #edf3f8; color: #173f5d; cursor: pointer; font: inherit; font-size: 28px; line-height: 1; transition: .2s ease; }
.home-news-drawer-close:hover, .home-news-drawer-close:focus-visible { background: #a9163b; color: #fff; outline: none; }
.home-news-drawer-kicker { margin: 0 0 8px; color: #a9163b; font-size: 14px; font-weight: 900; }
.home-news-drawer-title { margin: 0; color: #123f5c; font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; letter-spacing: -.035em; line-height: 1.25; }
.home-news-drawer-date { margin: 13px 0 0; color: #537188; font-size: 14px; font-weight: 700; }
.home-news-drawer-content { margin-top: 28px; }
.home-news-drawer-image { display: block; width: 100%; max-height: 330px; margin-bottom: 28px; border-radius: 16px; object-fit: cover; }
.home-news-drawer-summary { margin: 0; color: #355d7b; font-size: 17px; line-height: 1.9; white-space: pre-line; }
.home-news-drawer-source { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 13px 19px; background: #e60000; color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none; }
.home-news-drawer-source:hover, .home-news-drawer-source:focus-visible { background: #b90000; color: #fff !important; outline: none; }
.home-news-drawer-status { margin: 32px 0 0; color: #537188; font-size: 16px; line-height: 1.7; }
body.home-news-drawer-open { overflow: hidden; }

/* Homepage calendar ----------------------------------------------------- */
.redesign-home .home-calendar { margin-top: 56px; background: #fff; border: 1px solid #e7e2e5; }
.redesign-home .home-calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 28px 32px 20px; }
.redesign-home .home-calendar-heading .ui-eyebrow { margin: 0 0 5px; color: #8b1a2a; font-size: 13px; font-weight: 800; }
.redesign-home .home-calendar h2 { margin: 0; color: #123f5c !important; font-size: clamp(27px, 3vw, 39px); font-weight: 900; line-height: 1.1; }
.redesign-home .home-calendar-controls { display: flex; align-items: center; gap: 12px; }
.redesign-home .home-calendar-month { min-width: 132px; margin: 0; color: #385a70; font-size: 15px; font-weight: 800; text-align: center; }
.redesign-home .home-calendar-nav { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c6d3dc; border-radius: 50%; background: #fff; color: #174b70; cursor: pointer; font: inherit; font-size: 18px; font-weight: 800; line-height: 1; transition: .2s ease; }
.redesign-home .home-calendar-nav:hover, .redesign-home .home-calendar-nav:focus-visible { border-color: #a9163b; background: #a9163b; color: #fff; outline: none; }
.redesign-home .home-calendar-nav:disabled { cursor: not-allowed; opacity: .45; }
.redesign-home .home-calendar-weekdays, .redesign-home .home-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.redesign-home .home-calendar-weekdays { border-top: 1px solid #e7e2e5; border-bottom: 1px solid #e7e2e5; background: #fcfafb; color: #6d666b; font-size: 12px; font-weight: 800; text-align: center; }
.redesign-home .home-calendar-weekdays span { padding: 12px 4px; }
.redesign-home .home-calendar-day { position: relative; min-height: 112px; padding: 12px; overflow: hidden; border-right: 1px solid #eee9ec; border-bottom: 1px solid #eee9ec; background: #fff; }
.redesign-home .home-calendar-day:nth-child(7n) { border-right: 0; }
.redesign-home .home-calendar-day.is-empty { background: #fcfbfc; }
.redesign-home .home-calendar-day.is-today { outline: 2px solid #a9163b; outline-offset: -2px; background: #fff3f6; }
.redesign-home .home-calendar-date { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: #262126; font-size: 14px; font-weight: 900; }
.redesign-home .home-calendar-day.is-today .home-calendar-date { background: #ad183d; color: #fff; }
.redesign-home .home-calendar-item { display: block; margin-top: 8px; padding-left: 7px; overflow: hidden; border-left: 3px solid #28779b; color: #454047; font-size: 11px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.redesign-home .home-calendar-item + .home-calendar-item { margin-top: 5px; }
.redesign-home .home-calendar-note { grid-column: 1 / -1; padding: 22px; color: #6d666b; font-size: 14px; text-align: center; }
@media (max-width: 700px) { .redesign-home .home-calendar { margin-top: 38px; overflow-x: auto; }.redesign-home .home-calendar-heading { align-items: flex-start; flex-direction: column; padding: 23px 20px 17px; }.redesign-home .home-calendar-weekdays, .redesign-home .home-calendar-grid { min-width: 630px; }.redesign-home .home-calendar-day { min-height: 100px; padding: 8px; }.redesign-home .home-calendar-item { font-size: 10px; } }

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

  .redesign-home .upcoming-event {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .redesign-home .info-grid {
    grid-template-columns: 1fr !important;
  }

  .redesign-home .info-card,
  .redesign-home .info-card:first-child {
    min-height: 228px;
  }

  .redesign-home .upcoming-events { margin-top: 38px; padding: 26px 20px; }
  .redesign-home .upcoming-events-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .redesign-home .upcoming-event { grid-template-columns: 1fr; gap: 9px; min-height: 0; padding: 22px 0; }
  .redesign-home .upcoming-event time { grid-template-columns: auto 1fr; align-items: baseline; gap: 7px; }
  .redesign-home .upcoming-event time strong { font-size: 29px; }
  .redesign-home .upcoming-event time span { margin: 0; }
  .redesign-home .upcoming-event-action { width: 100%; }
  .home-news-drawer { padding: 60px 24px 32px; }
  .home-news-drawer-title { font-size: 31px; }
  .home-news-drawer-summary { font-size: 16px; }
}

/* Editorial message, rebuilt to match the supplied maroon college layout. */
.redesign-home .editorial-feature {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* The executive message is the homepage's primary banner. */
.redesign-home .editorial-banner {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .96), transparent 30%),
    linear-gradient(135deg, #f8fcff 0%, #edf7fc 52%, #f8fcff 100%) !important;
}

.redesign-home .editorial-banner .editorial-layout-container {
  width: min(1400px, 100%);
  margin: 0 auto;
  gap: clamp(40px, 6vw, 96px);
  overflow: hidden;
  border: 1px solid rgba(139, 26, 42, .12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(245, 251, 255, .94));
  box-shadow: 0 18px 38px rgba(55, 42, 44, .12);
}

.redesign-home .editorial-banner .editorial-content-container,
.redesign-home .editorial-banner .editorial-visual-container {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.redesign-home .editorial-banner .editorial-visual-container {
  padding: 0;
}

/* Replaced by the executive-message banner above the quick links. */
.redesign-home > .ui-hero {
  display: none;
}

.redesign-home .editorial-layout-container {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(350px, .96fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  min-height: 500px;
  padding: clamp(46px, 5.5vw, 76px) clamp(42px, 7.1vw, 108px);
}

.redesign-home .editorial-feature::before,
.redesign-home .editorial-feature::after {
  display: none;
}

.redesign-home .editorial-feature::before {
  top: -220px;
  left: -130px;
  width: 250px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(155, 16, 43, .08);
  box-shadow: 36px 0 0 rgba(255, 255, 255, .48), 72px 0 0 rgba(155, 16, 43, .035);
  transform: rotate(-13deg);
}

.redesign-home .editorial-feature::after {
  right: -140px;
  bottom: -305px;
  width: 530px;
  height: 530px;
  border-radius: 50%;
  border: 1px solid rgba(155, 16, 43, .06);
  box-shadow: -36px -20px 0 rgba(255, 255, 255, .7), -76px -42px 0 rgba(155, 16, 43, .025);
}

.redesign-home .editorial-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0;
  background: transparent;
}

/* Keep the editable message and executive visual in explicit, independent containers. */
.redesign-home .editorial-content-container,
.redesign-home .editorial-visual-container {
  min-width: 0;
  border: 1px solid rgba(139, 26, 42, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 30px rgba(55, 42, 44, .12);
}

.redesign-home .editorial-content-container {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 3.4vw, 48px);
}

.redesign-home .editorial-visual-container {
  display: grid;
  padding: 10px;
  justify-items: end;
}

.redesign-home .editorial-copy::before {
  position: absolute;
  top: 65px;
  left: -80px;
  z-index: -1;
  width: 56px;
  height: 68px;
  content: "";
  opacity: .32;
  background-image: radial-gradient(circle, #a4a4a4 1px, transparent 1.3px);
  background-size: 8px 8px;
}

.redesign-home .editorial-eyebrow {
  position: relative;
  width: fit-content;
  margin: 0 0 11px;
  color: #7c1727 !important;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.redesign-home .editorial-eyebrow::after {
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 26px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: #8e1a2a;
}

.redesign-home .editorial-copy h2 {
  max-width: none;
  margin: 0;
  color: #212121 !important;
  font-family: "Noto Sans Thai", "Segoe UI", sans-serif !important;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 900 !important;
  letter-spacing: -.075em !important;
  line-height: .98 !important;
}

.redesign-home .editorial-copy h2 span,
.redesign-home .editorial-copy h2 strong {
  display: block;
  font: inherit;
}

.redesign-home .editorial-copy h2 strong { color: #8b1a2a !important; }

.redesign-home .editorial-intro {
  margin: 23px 0 11px;
  color: #383838 !important;
  font-size: clamp(11px, 1vw, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

.redesign-home .editorial-benefits { max-width: 420px; }

.redesign-home .editorial-benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 59px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(68, 68, 68, .18);
}

.redesign-home .editorial-benefit:last-child { border-bottom: 0; }

.redesign-home .editorial-benefit-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 26, 42, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 3px 10px rgba(59, 46, 44, .12);
  color: #8b1a2a;
}

.redesign-home .editorial-benefit-icon svg { width: 21px; height: 21px; }

.redesign-home .editorial-benefit p {
  margin: 0;
  color: #3c3c3c !important;
  font-size: clamp(9.5px, .85vw, 12px) !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
}

.redesign-home .editorial-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.09;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .82) 0 11%, transparent 11.4%),
    radial-gradient(circle at 87% 18%, transparent 0 20%, rgba(255, 255, 255, .58) 20.3% 30%, transparent 30.3%),
    linear-gradient(135deg, #e2e2e2, #fafafa 62%, #e6e6e6);
  box-shadow: none;
}

.redesign-home .portrait-image-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.redesign-home .editorial-portrait::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .29) 0 20%, transparent 20.4% 58%, rgba(255, 255, 255, .2) 58.4% 73%, transparent 73.4%);
}

.redesign-home .portrait-seal {
  position: absolute;
  top: 21px;
  left: 27px;
  z-index: 0;
  width: 76px;
  height: 76px;
  object-fit: contain;
  opacity: .12;
  filter: grayscale(1) contrast(.65);
}

.redesign-home .portrait-director {
  position: absolute;
  z-index: 1;
  bottom: 17%;
  left: 50%;
  display: block;
  width: auto;
  max-width: none;
  height: 84%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
}

.redesign-home .portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  min-height: 25%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 13px 22px 14px;
  background: #8a1628;
  color: #fff;
  text-align: left;
}

.redesign-home .portrait-caption-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #8a1628;
}

.redesign-home .portrait-caption-icon svg { width: 24px; height: 24px; }

.redesign-home .portrait-caption > span:last-child { display: grid; gap: 1px; }

.redesign-home .portrait-caption strong,
.redesign-home .portrait-caption small {
  display: block;
  color: #fff;
  font-family: "Noto Sans Thai", "Segoe UI", sans-serif;
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 800;
  line-height: 1.25;
}

.redesign-home .portrait-caption small {
  font-size: clamp(10px, .82vw, 12px);
  font-weight: 500;
}

/* End-of-page call to action. */
.redesign-home .editorial-cta {
  display: grid;
  min-height: 410px;
  margin: 96px 0 -42px;
  padding: 72px 28px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(108deg, #373536 0%, #734a52 48%, #bd4059 100%);
  color: #fff;
  text-align: center;
}

.redesign-home .editorial-cta-content {
  max-width: 1020px;
}

.redesign-home .editorial-cta h2 {
  margin: 0;
  color: #fff !important;
  font-family: "Noto Sans Thai", "Segoe UI", sans-serif;
  font-size: clamp(38px, 4.15vw, 72px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.16;
}

.redesign-home .editorial-cta p {
  margin: 23px 0 37px;
  color: rgba(255, 255, 255, .92) !important;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.redesign-home .editorial-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 70px;
  padding: 13px 40px;
  border-radius: 999px;
  background: #fff;
  color: #99142d !important;
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(39, 20, 24, .15);
}

.redesign-home .editorial-cta-button:hover {
  background: #fff5f6;
  color: #751020 !important;
  transform: translateY(-3px);
}

.redesign-home .editorial-cta-button span { font-size: 1.25em; }

@media (max-width: 760px) {
  .redesign-home .editorial-layout-container {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 42px 28px;
  }

  .redesign-home .editorial-copy::before { left: -42px; }
  .redesign-home .editorial-visual-container { justify-items: center; }
  .redesign-home .editorial-portrait { width: min(100%, 430px); justify-self: center; }
  .redesign-home .editorial-cta { min-height: 355px; margin-top: 66px; padding: 58px 24px; }
  .redesign-home .editorial-cta-button { min-height: 58px; padding: 12px 28px; }
}

@media (max-width: 480px) {
  .redesign-home .editorial-layout-container { padding: 36px 21px; }
  .redesign-home .editorial-content-container { padding: 28px 22px; }
  .redesign-home .editorial-copy h2 { font-size: 38px; }
  .redesign-home .editorial-intro br, .redesign-home .editorial-benefit br { display: none; }
  .redesign-home .editorial-benefit { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .redesign-home .editorial-benefit-icon { width: 35px; height: 35px; }
  .redesign-home .portrait-caption { padding: 11px 15px; }
  .redesign-home .editorial-cta h2 br { display: none; }
  .redesign-home .editorial-cta p { margin: 18px 0 29px; }
}

/* Home page: spacious desktop navigation with the administrator entry at page end. */
@media (min-width: 981px) {
  .index-header,
  .index-header.scrolled {
    padding: 18px 0 !important;
  }

  .index-header .index-nav-wrap {
    width: min(1660px, calc(100% - 56px)) !important;
    min-height: 88px !important;
    padding: 12px 28px !important;
    border-radius: 22px !important;
  }

  .index-header .brand {
    max-width: 390px;
    gap: 14px !important;
  }

  .index-header .footer-logo {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px;
  }

  .index-header .brand-title h1 {
    font-size: 23px !important;
  }

  .index-header .index-main-nav {
    gap: 8px !important;
  }

  .index-header .index-main-nav a {
    min-height: 58px !important;
    padding: 0 16px !important;
    font-size: 17px !important;
  }

  main {
    padding-top: 142px;
  }

  body:has(.index-header) {
    scroll-padding-top: 142px;
  }
}

.redesign-footer .footer-admin-login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 999px;
  background: #8b1530;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease;
}

.redesign-footer .footer-admin-login:hover,
.redesign-footer .footer-admin-login:focus-visible {
  background: #651024;
  color: #fff;
  transform: translateY(-2px);
}

/* Distinct navigation labels for the service and student-loan sections. */
.index-header .index-main-nav .nav-service-link { color: #b52236 !important; }
.index-header .index-main-nav .nav-loan-link { color: #126fa3 !important; }
.index-header .index-main-nav .nav-service-link:hover,
.index-header .index-main-nav .nav-service-link:focus-visible { color: #8d1728 !important; }
.index-header .index-main-nav .nav-loan-link:hover,
.index-header .index-main-nav .nav-loan-link:focus-visible { color: #0d5c88 !important; }

/* Home page canvas ------------------------------------------------------- */
html,
body,
main,
.redesign-home,
.footer {
  background: #f5fbff !important;
}

@media (max-width: 760px) {
  .redesign-footer .footer-bottom { align-items: flex-start; }
}
