.lp-header {
  height: 84px;
  gap: clamp(14px, 1.35vw, 22px);
  padding-left: clamp(22px, 3vw, 48px);
  padding-right: clamp(22px, 3vw, 48px);
  border-bottom: 1px solid #e4eee7;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 24px rgb(22 59 42 / 4%);
}

.lp-header .lp-brand {
  flex: 0 0 166px;
  width: 166px;
  height: 62px;
  padding: 5px 7px;
  border: 1px solid #164838;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgb(0 35 24 / 12%);
}

.lp-header .lp-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-nav {
  flex: 0 1 auto;
  gap: clamp(13px, 1.65vw, 25px);
  margin-left: auto;
}

.lp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #29483b;
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease;
}

.lp-nav a:first-child,
.lp-nav a:hover {
  color: #0b9468;
}

.lp-nav a i {
  color: #82958a;
  font-size: 10px;
  font-style: normal;
  transform: translateY(-1px);
}

.lp-search-suite {
  flex: 0 1 358px;
  width: 358px;
  min-width: 295px;
  max-width: 358px;
  height: 48px;
}

.lp-search-suite > button {
  flex-basis: 142px;
  gap: 9px;
  padding: 0 13px;
  border-radius: 10px 0 0 10px;
  background: #fff;
  font-size: 12px;
}

.lp-search-suite > button > span {
  font-size: 16px;
}

.lp-search-suite > button > i {
  margin-left: auto;
}

.lp-search-suite .lp-course-search {
  height: 48px;
  border-radius: 0 10px 10px 0;
  background: #fff;
}

.lp-course-search input {
  font-size: 13px;
}

.lp-course-search > span {
  padding: 0 13px;
  font-size: 21px;
}

.lp-header-login,
.lp-header-cta {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 13px;
}

.lp-header-login {
  border-color: #c4ddce;
  background: #fff;
}

.lp-header-cta {
  padding-right: 23px;
  padding-left: 23px;
  box-shadow: 0 9px 20px rgb(8 134 95 / 19%);
}

.lp-header-login:focus-visible,
.lp-header-cta:focus-visible,
.lp-nav a:focus-visible,
.lp-search-suite button:focus-visible,
.lp-menu-toggle:focus-visible {
  outline: 3px solid rgb(16 185 129 / 42%);
  outline-offset: 3px;
}

@media (max-width: 1400px) and (min-width: 1181px) {
  .lp-header { gap: 15px; }
  .lp-header .lp-brand { flex-basis: 154px; width: 154px; }
  .lp-nav { gap: 15px; }
  .lp-nav a { font-size: 12px; }
  .lp-search-suite { flex-basis: 330px; width: 330px; min-width: 300px; }
  .lp-search-suite > button { flex-basis: 128px; }
  .lp-header-login { padding-right: 16px; padding-left: 16px; }
  .lp-header-cta { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .lp-header { height: 78px; gap: 13px; padding-right: 22px; padding-left: 22px; }
  .lp-header .lp-brand { flex-basis: 142px; width: 142px; height: 54px; }
  .lp-nav { gap: 11px; }
  .lp-nav a { font-size: 11px; }
  .lp-nav a i { font-size: 9px; }
  .lp-search-suite { flex-basis: 290px; width: 290px; min-width: 250px; }
  .lp-search-suite > button { display: none; }
  .lp-search-suite .lp-course-search { border-left: 1px solid #d4e8dc; border-radius: 10px; }
  .lp-header-cta { display: inline-flex; min-height: 44px; padding-right: 14px; padding-left: 14px; font-size: 12px; }
  .lp-header-login { min-height: 44px; padding-right: 14px; padding-left: 14px; font-size: 12px; }
}

@media (max-width: 1050px) and (min-width: 821px) {
  .lp-header { height: 76px; }
  .lp-menu-toggle { display: block; margin-left: auto; }
  .lp-search-suite,
  .lp-header-login { display: none; }
  .lp-nav { position: absolute; top: 75px; right: 22px; left: 22px; display: none; align-items: stretch; gap: 0; margin: 0; padding: 12px 22px 17px; border: 1px solid #e3ece6; border-radius: 0 0 14px 14px; background: rgb(255 255 255 / 98%); box-shadow: 0 14px 22px rgb(22 59 42 / 8%); }
  .lp-nav.open { display: grid; }
  .lp-nav a { padding: 11px 4px; border-bottom: 1px solid #edf3ef; font-size: 14px; }
  .lp-nav a i { margin-left: auto; }
  .lp-header-cta { min-height: 44px; padding: 0 16px; font-size: 12px; }
}

@media (max-width: 820px) {
  .lp-header { height: 74px; }
  .lp-header .lp-brand { flex-basis: 142px; width: 142px; height: 54px; }
  .lp-header-cta { min-height: 42px; padding: 0 16px; font-size: 12px; }
  .lp-nav { top: 73px; padding: 12px 22px 17px; border-color: #e3ece6; background: rgb(255 255 255 / 98%); box-shadow: 0 14px 22px rgb(22 59 42 / 8%); }
  .lp-nav a { padding: 11px 4px; border-bottom: 1px solid #edf3ef; color: #29483b; font-size: 14px; }
  .lp-nav a i { margin-left: auto; }
}

@media (max-width: 560px) {
  .lp-header { height: 70px; padding-right: 15px; padding-left: 15px; }
  .lp-header .lp-brand { flex-basis: 126px; width: 126px; height: 49px; padding: 4px 6px; }
  .lp-header-cta { min-height: 40px; padding: 0 13px !important; border-radius: 10px; font-size: 11px !important; }
  .lp-nav { top: 69px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-nav a { transition: none; }
}

@media (min-width: 1051px) {
  .lp-header .lp-nav {
    margin-left: clamp(40px, 5vw, 80px);
    margin-right: auto;
  }
}
