/* Shared logo and company name in the top navigation. */
.header_bar .header-left-cluster {
  gap: 20px;
}

:is(.header_bar, .drawer-header) .brand-logo {
  gap: 15px;
  flex-shrink: 1;
  min-width: 0;
}

:is(.header_bar, .drawer-header) .brand-logo .brand-logo-img {
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

:is(.header_bar, .drawer-header) .brand-logo .brand-name-single {
  display: inline;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.15;
  white-space: normal;
}

:is(.header_bar, .drawer-header) .brand-logo .brand-name-single span {
  margin-inline-start: 0;
  text-shadow: none;
}

:is(.header_bar, .drawer-header) .brand-logo {
  --header-brand-trosene: #00f2fe;
  --header-brand-technology: #8bc34a;
  --header-brand-solutions: #e5a460;
}

[data-theme="light"] :is(.header_bar, .drawer-header) .brand-logo {
  --header-brand-trosene: #0284c7;
  --header-brand-technology: #4d7c0f;
  --header-brand-solutions: #b45309;
}

/* Override the page-wide typography colors in the light theme. */
:is(.header_bar, .drawer-header) .brand-logo .trosene-word {
  color: var(--header-brand-trosene) !important;
}

:is(.header_bar, .drawer-header) .brand-logo .tech-word {
  color: var(--header-brand-technology) !important;
}

:is(.header_bar, .drawer-header) .brand-logo .sol-word {
  color: var(--header-brand-solutions) !important;
}

.drawer-header .brand-logo {
  gap: 9px;
}

.drawer-header .brand-logo .brand-logo-img {
  width: 34px;
  height: 34px;
}

.drawer-header .brand-logo .brand-name-single {
  font-size: 1.1rem;
}

.drawer-header .drawer-close-btn {
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .header_bar .header-right-cluster {
    display: none;
  }

  .header_bar .area_block,
  .header-left-cluster {
    min-width: 0;
  }

  .header_bar .header-left-cluster {
    gap: 10px;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .header_bar .brand-logo {
    gap: 8px;
  }

  .header_bar .brand-logo .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-logo .brand-name-single,
  .header_bar .brand-logo .brand-name-single {
    display: inline;
    white-space: normal;
    font-size: 1rem;
  }

  .brand-tagline {
    display: none;
  }

  .cyber-panel-header,
  .bus-divider-hub {
    flex-wrap: wrap;
  }

  .bus-divider-hub {
    justify-content: center;
    text-align: center;
    max-width: 100%;
    white-space: normal;
  }

  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-grid > * {
    grid-column: 1;
  }

  .profile-contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }

  .profile-grid > *,
  .form-grid-2 > *,
  .profile-form-grid-2 > * {
    min-width: 0;
  }

  .job-spec-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  }
}

@media (max-width: 480px) {
  .profile-box {
    padding-inline: 20px;
    overflow-wrap: anywhere;
  }

  .team-highlight-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-banner .cta-action-btn {
    max-width: 100%;
    white-space: normal;
  }
}


html {
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
