/* Header - Health Programs */
.hp-header__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
}

.hp-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px 15px;
  border-radius: 20px;
  background: #F1F5F9;
}

.hp-header__logo {
  flex: 0 1 auto;
  max-width: 220px;
  min-width: 0;
  margin: 0;
}

.hp-header__logo a {
  display: block;
  line-height: 0;
}

.hp-header__logo img {
  display: block;
  object-fit: contain;
  object-position: left center;
}

.hp-header__logo .hp-header__logo-img {
  display: block;
  width: 220px;
  height: 40px;
}

@media (min-width: 1024px) {
  .hp-header__logo {
    max-width: 252px;
  }

  .hp-header__logo .hp-header__logo-img {
    width: 252px;
    height: 46px;
  }
}

@media (min-width: 1024px) {
  .hp-header__wrap {
    padding: 20px 60px;
  }
}

.site-header.hp-header {
  width: 100%;
  position: relative;
  z-index: 100;
}

.hp-header__dropdown {
  position: relative;
}

.hp-header__btn-affiliate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 121px;
  padding: 8px 16px;
  border: 1px solid #009fe3;
  border-radius: 54px;
  background: transparent;
  color: #009fe3;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
}

.hp-header__btn-affiliate .hp-header__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hp-header__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  display: none;
  min-width: max-content;
  max-width: 250px;
  margin-top: 4px;
  padding: 5px 1rem 0.25rem;
  border: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.251);
  font-family: var(--font-red-hat, 'Red Hat Display', sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.125rem;
}

.hp-header__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
}

.hp-header__dropdown:hover .hp-header__dropdown-menu,
.hp-header__dropdown:focus-within .hp-header__dropdown-menu {
  display: block;
}

.hp-header__dropdown-item {
  display: block;
  padding: 0.5rem 0;
  color: #222;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
  background: none;
}

.hp-header__dropdown-item:not(:last-child) {
  border-bottom: 1px solid #cbcbcb;
}

.hp-header__dropdown-item:hover,
.hp-header__dropdown-item:focus {
  background: none;
  color: #0093d6;
}

.hp-header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
}

.hp-header__buttons {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1024px) {
  .hp-header__buttons {
    display: flex;
  }
}

.hp-header__divider {
  width: 1px;
  height: 35px;
  background: rgba(193, 198, 211, 0.6);
  flex-shrink: 0;
}

.hp-header__btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  border: 0;
  border-radius: 54px;
  background: #0058a2;
  color: #f8fafc;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hp-header__btn-login:hover {
  background: #3da6ff;
}

.hp-header__btn-login .hp-header__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #f8fafc;
}

.hp-header__btn-login .hp-header__icon path {
  fill: currentColor;
}

.hp-header__btn-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(193, 198, 211, 0.34);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hp-header__btn-menu:hover {
  background: #f8fafc;
}

.hp-header__btn-menu .hp-header__icon {
  width: 24px;
  height: 24px;
  color: #395369;
}

.hp-header__btn-menu .hp-header__icon path {
  fill: currentColor;
}

.site-header.hp-header .skeleton {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  animation: headerPulse 2s cubic-bezier(0.4, 0, 0.8, 1) infinite;
}

.site-header.hp-header .hp-header__logo-skeleton {
  width: 220px;
  height: 40px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .site-header.hp-header .hp-header__logo-skeleton {
    width: 252px;
    height: 46px;
  }
}

@keyframes headerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
