﻿@charset "UTF-8";
.hp-search__item {
  cursor: pointer;
  list-style: none;
  padding: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #efefef;
}

.hp-search__item:hover {
  background: rgba(167, 40, 138, 0.05);
}

.hp-search__card {
  position: absolute;
  width: 100%;
  max-height: 50vh;
  overflow-y: scroll;
  z-index: 2;
  top: -5px;
  margin-top: 70px;
  text-align: left;
}

/* ===================================================================
   Homepage refresh
   =================================================================== */
.hpx {
  --hpx-green: #28a745;
  --hpx-green-strong: #1e7e34;
  --hpx-green-tint: #e9f1e5;
  --hpx-magenta: #a7288a;
  --hpx-magenta-strong: #7e1e68;
  --hpx-ink: #16241c;
  --hpx-ink-soft: #495057;
  --hpx-ink-faint: #6c757d;
  --hpx-line: #e9ecef;
  --hpx-bg: #fff;
  --hpx-radius: 18px;
  --hpx-radius-lg: 26px;
  --hpx-shadow-sm: 0 1px 2px rgba(22, 36, 28, 0.05), 0 2px 6px rgba(22, 36, 28, 0.04);
  --hpx-shadow: 0 6px 20px rgba(22, 36, 28, 0.07), 0 2px 6px rgba(22, 36, 28, 0.04);
  color: var(--hpx-ink);
}

.hpx a {
  text-decoration: none;
}

.hpx h1, .hpx h2, .hpx h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hpx-ink);
}

.hpx-block {
  padding: 22px 0;
}

@media (max-width: 760px) {
  .hpx-block {
    padding: 14px 0;
  }
}
.hpx-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hpx-green-strong);
  margin-bottom: 10px;
}

.hpx-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.hpx-sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0;
}

.hpx-lead {
  margin-top: 0;
  font-size: 17px;
  color: var(--hpx-ink-soft);
  max-width: 52ch;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .hpx-sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .hpx-lead {
    margin-top: 14px;
  }
}
/* ---- hero ---- */
.hpx-hero {
  background: #e9f1e5;
  padding: 34px 0 38px;
  text-align: center;
}

@media (max-width: 760px) {
  .hpx-hero {
    padding: 32px 0 28px;
  }
}
.hpx-hero__copy {
  max-width: 700px;
  margin: 0 auto;
}

.hpx-hero__title {
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.1;
  color: #28a745 !important;
}

.hpx-hero__sub {
  margin: 14px auto 0;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--hpx-ink-soft);
  max-width: 46ch;
}

.hpx-search-card {
  margin: 16px auto 0;
  max-width: 640px;
  position: relative;
}

.hpx-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hpx-line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(22, 36, 28, 0.1), 0 2px 8px rgba(22, 36, 28, 0.05);
  padding: 8px 8px 8px 20px;
}

.hpx-search-ic {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--hpx-ink-faint);
}

.hpx-search-bar input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hpx-ink);
}

@media (max-width: 760px) {
  .hpx-search-bar input {
    font-size: 13px;
  }
}
.hpx-search-bar input:focus {
  outline: none;
}

.hpx-search-bar input::placeholder {
  color: var(--hpx-ink-faint);
}

.hpx-btn-search {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hpx-magenta);
  color: #fff !important;
  border: none;
  border-radius: 20px;
  padding: 0 26px;
  height: 44px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}

.hpx-btn-search:hover {
  background: var(--hpx-magenta-strong);
  transform: translateY(-1px);
  color: #fff !important;
}

.hpx-btn-search--mobile {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  height: 44px;
}

@media (max-width: 600px) {
  .hpx-search-bar {
    flex-wrap: wrap;
    padding: 14px;
  }
  .hpx-search-bar input {
    width: 100%;
  }
}
.hpx-browse-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--hpx-ink-faint) !important;
  font-weight: 400;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hpx-browse-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.18s ease;
}

.hpx-browse-link:hover svg {
  transform: translateX(3px);
}

/* ---- trust strip ---- */
.hpx-trust {
  border-top: 1px solid var(--hpx-line);
  border-bottom: 1px solid var(--hpx-line);
  background: #fff;
}

.hpx-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.hpx-trust__item {
  font-weight: 600;
  color: var(--hpx-ink-soft);
  font-size: 13px;
}

.hpx-trust__item b {
  font-size: 16px;
  color: var(--hpx-green);
}

/* ---- audience cards ---- */
.hpx-aud {
  background: var(--hpx-bg);
}

.hpx-aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--hpx-line);
  border-radius: var(--hpx-radius-lg);
  overflow: hidden;
  box-shadow: var(--hpx-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hpx-aud-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hpx-shadow);
}

.hpx-aud-top {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: var(--hpx-green-tint);
}

.hpx-aud-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hpx-tag {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hpx-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
}

.hpx-aud-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hpx-aud-body h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.hpx-aud-body p {
  color: var(--hpx-ink-soft);
  font-size: 15px;
  flex: 1;
  margin: 0;
}

.hpx-aud-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 14px 0 16px;
}

.hpx-aud-links a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hpx-ink-soft) !important;
}

.hpx-aud-links a:hover {
  color: var(--hpx-green-strong) !important;
}

.hpx-aud-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hpx-green);
  flex: 0 0 auto;
}

.hpx-aud-body .btn {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 10px 14px;
  font-weight: bold;
}

/* ---- featured universities ---- */
.hpx-featured {
  padding-bottom: 48px;
  background: var(--hpx-green-tint);
}
@media (max-width: 760px) {
  .hpx-featured {
    padding-bottom: 32px;
  }
}

.hpx-uni-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--hpx-line);
  border-radius: var(--hpx-radius);
  overflow: hidden;
  box-shadow: var(--hpx-shadow-sm);
  transition: 0.2s;
  color: var(--hpx-ink) !important;
}

.hpx-uni-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hpx-shadow);
}

.hpx-uni-media {
  overflow: hidden;
  background: var(--hpx-green-tint);
}

.hpx-uni-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hpx-uni-card:hover .hpx-uni-media img {
  transform: scale(1.05);
}

.hpx-uni-body {
  padding: 18px 20px 22px;
}

.hpx-uni-name {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.28;
}

.hpx-uni-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--hpx-magenta);
  font-weight: 600;
  font-size: 14.5px;
}

.hpx-uni-card:hover .hpx-uni-link {
  color: var(--hpx-magenta-strong);
}

/* ---- highlights ---- */
.hpx-highlights {
  background: var(--hpx-ink);
  color: #fff;
}

.hpx-highlights .hpx-sec-head h2 {
  color: #fff;
}

.hpx-highlights .hpx-lead {
  color: rgba(255, 255, 255, 0.7);
}

.hpx-highlights .hpx-eyebrow {
  color: #9fdc9c;
}

.hpx-hl-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hpx-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.2s;
}

.hpx-hl-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hpx-hl-media {
  height: 170px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hpx-hl-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
}

.hpx-hl-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hpx-hl-body h3 {
  color: #fff;
  font-size: 19px;
  margin: 0 0 8px;
}

.hpx-hl-body p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  flex: 1;
  margin: 0;
}

.hpx-hl-body .hpx-btn-text {
  color: #9fdc9c !important;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- about ---- */
.hpx-about {
  padding: 48px 0;
  text-align: center;
}

.hpx-about hr {
  border: none;
  height: 1px;
  background: var(--hpx-line);
  width: 60px;
  margin: 0 auto 20px;
}

.hpx-about h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--hpx-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hpx-about p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hpx-ink-faint);
  margin: 0 auto 8px;
  max-width: 760px;
}

/* Accreditation-logos strip in the shared footer — not part of the homepage refresh design */
.ft-accreditations {
  display: none;
}
