/* ESTUS — pinned left in top bar */
[data-elementor-type="header"] .elementor-element-5f264c57 > .elementor-container {
  align-items: center;
}

[data-elementor-type="header"] .elementor-element-16d04058 > .elementor-element-populated {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.hls-estus-partner-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  align-self: center;
  padding: 0.15rem 0.85rem 0.15rem 0;
  margin-right: 0.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

[data-elementor-type="header"] .elementor-element-10f38646 {
  flex: 1 1 auto;
  min-width: 0;
}

.hls-estus-partner {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  line-height: 1.2;
  transition: opacity 0.2s ease;
}

.hls-estus-partner:hover,
.hls-estus-partner:focus-visible {
  opacity: 0.92;
}

.hls-estus-partner:hover .hls-estus-partner__tagline,
.hls-estus-partner:focus-visible .hls-estus-partner__tagline {
  color: #fff;
}

.hls-estus-partner__logo {
  display: block;
  height: 18px !important;
  max-height: 18px !important;
  width: auto !important;
  max-width: 72px !important;
  object-fit: contain;
  flex: 0 0 auto;
}

.hls-estus-partner__tagline {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  transition: color 0.2s ease;
}

[data-elementor-type="header"] .elementor-element-10f38646 .elementor-icon-list-items {
  align-items: center;
}

/* legacy list-item injection */
.hls-estus-partner-item {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
}

.hls-estus-partner-item .hls-estus-partner {
  flex-direction: row;
  gap: 0.55rem;
}

.hls-estus-partner-item .hls-estus-partner__logo {
  height: 18px !important;
  max-height: 18px !important;
}

@media (max-width: 1024px) {
  .hls-estus-partner__logo {
    height: 16px !important;
    max-height: 16px !important;
    max-width: 64px !important;
  }

  .hls-estus-partner__tagline {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  [data-elementor-type="header"] .hls-nav-current-label {
    display: none !important;
  }

  [data-elementor-type="header"] .elementor-element-16d04058 > .elementor-element-populated {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .hls-estus-partner-wrap {
    order: -1;
    width: 100%;
    padding: 0.25rem 0 0.35rem;
    margin: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
  }

  .hls-estus-partner {
    width: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    text-align: center;
  }

  .hls-estus-partner__logo {
    height: 22px !important;
    max-height: 22px !important;
    max-width: 92px !important;
  }

  .hls-estus-partner__tagline {
    display: block;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    white-space: normal;
    max-width: 15rem;
  }
}
