.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(29, 25, 23, .65) 0%, rgba(29, 25, 23, .38) 45%, rgba(29, 25, 23, .10) 100%);
}

.page-hero > div {
  width: 100%;
}

.page-hero h1 {
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .3);
}

.page-hero p {
  color: #f1eeeb;
}

/* Shared heading treatment for the five main company/service pages. */
.page-hero--standard {
  min-height: 360px;
  padding: 64px 0;
  align-items: flex-start;
}
.page-hero--standard .page-hero__content {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 32px;
}
.page-hero--standard .page-hero__title {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.page-hero--standard .page-hero__description {
  max-width: 672px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
.page-hero--standard .page-hero__actions { margin-top: 24px; }

@media (min-width: 640px) and (max-width: 1023px) {
  .page-hero--standard .page-hero__title { font-size: 36px; }
}

@media (max-width: 639px) {
  .page-hero__image {
    object-position: var(--hero-mobile-position, var(--hero-position, center));
  }
  .page-hero {
    min-height: 280px;
  }

  .page-hero::before {
    background: rgba(29, 25, 23, .52);
  }
  .page-hero--standard { min-height: 320px; padding: 48px 0; }
  .page-hero--standard .page-hero__content { padding-inline: 16px; }
  .page-hero--standard .page-hero__title { font-size: 30px; }
  .page-hero--standard .page-hero__description { font-size: 14px; }
}

/* Navigation Dropdown */
.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.group:hover .dropdown-menu {
  display: block !important;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu {
  display: block !important;
}

.lang-dropdown:hover svg {
  transform: rotate(180deg);
}

.lang-dropdown svg {
  transition: transform 0.2s ease;
}

.lang-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
