.gg-hero-subpage {
  padding: 0;
}

.gg-hero-subpage__container {
  width: 100%;
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 0 42px;
}

.gg-hero-subpage__container.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 34, 0.72) 0%, rgba(8, 20, 34, 0.44) 50%, rgba(8, 20, 34, 0.3) 100%);
}

.gg-hero-subpage__container.no-image {
  background: #ffffff;
}

.gg-hero-subpage__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(420px, 2fr) minmax(240px, 1fr);
  gap: 36px;
  align-items: center;
}

.gg-hero-subpage__title-col {
  max-width: 720px;
}

.gg-hero-subpage__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #edf4fb;
  text-transform: uppercase;
}

.gg-hero-subpage__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d83b52;
  margin-right: 8px;
}

.gg-hero-subpage__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.gg-hero-subpage__aside {
  justify-self: end;
  width: 100%;
  max-width: 380px;
  background: rgba(11, 26, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  padding: 18px;
  backdrop-filter: blur(1px);
}

.gg-hero-subpage__text {
  margin: 0;
  color: #edf4fb;
  font-size: 20px;
  line-height: 1.45;
}

.gg-hero-subpage__button {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gg-hero-subpage__button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__title {
  color: #122d4b;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__eyebrow {
  color: #4d6178;
  border-color: #b9c8d7;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__aside {
  background: rgba(255, 255, 255, 0.86);
  border-color: #d8e1ea;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__text {
  color: #2f4865;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__button {
  color: #173a63;
  border-color: #b4c4d3;
}

.gg-hero-subpage__container.no-image .gg-hero-subpage__button:hover {
  background: #f5f8fb;
  border-color: #8ea5bb;
}

@media (max-width: 1100px) {
  .gg-hero-subpage__container {
    min-height: 380px;
    padding: 100px 0 32px;
  }

  .gg-hero-subpage__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gg-hero-subpage__aside {
    justify-self: start;
    max-width: 460px;
  }

  .gg-hero-subpage__text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .gg-hero-subpage__container {
    min-height: 320px;
    padding: 84px 0 24px;
  }

  .gg-hero-subpage__inner {
    padding: 0 14px;
  }

  .gg-hero-subpage__aside {
    padding: 14px;
  }

  .gg-hero-subpage__text {
    font-size: 16px;
  }

  .gg-hero-subpage__button {
    font-size: 15px;
  }
}

/* Auto standard hero for subpages: breadcrumbs + title only */
.gg-hero-subpage--auto .gg-hero-subpage__container {
  min-height: 100px;
  border-bottom: 1px solid #e4e4e4;
  padding: 80px 0 16px;
  display: flex;
  align-items: center;
}

.gg-hero-subpage--auto .gg-hero-subpage__inner {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0;
  justify-items: center;
}

.gg-hero-subpage--auto .gg-hero-subpage__title-col {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.gg-hero-subpage__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9f1f8;
}

.gg-hero-subpage__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.gg-hero-subpage__breadcrumbs a:hover {
  text-decoration: underline;
}

.gg-breadcrumb-separator {
  opacity: 0.8;
}

.gg-breadcrumb-current {
  opacity: 0.95;
}

.gg-hero-subpage--auto .gg-hero-subpage__title {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.gg-hero-subpage--auto .gg-hero-subpage__aside {
  display: none;
}

.gg-hero-subpage--auto .gg-hero-subpage__container.no-image .gg-hero-subpage__breadcrumbs {
  color: #4d6178;
}

@media (max-width: 1100px) {
  .gg-hero-subpage--auto .gg-hero-subpage__container {
    min-height: 100px;
    padding: 72px 0 14px;
  }
}

@media (max-width: 768px) {
  .gg-hero-subpage--auto .gg-hero-subpage__container {
    min-height: 100px;
    padding: 64px 0 12px;
  }

  .gg-hero-subpage__breadcrumbs {
    margin-bottom: 8px;
    font-size: 11px;
  }
}
