.page-title {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 10.5rem 0 6.5rem;
  color: #fff;
  background:
    linear-gradient(
      120deg,
      rgba(28, 8, 40, 0.98),
      rgba(71, 23, 96, 0.96) 48%,
      rgba(101, 40, 134, 0.94)
    ),
    url("/img/hero-road.webp") center / cover;
}

.page-title::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-title__glow {
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.page-title__glow--one {
  top: -14rem;
  right: 8%;
  background: rgba(255, 198, 0, 0.24);
}

.page-title__glow--two {
  bottom: -20rem;
  left: 24%;
  background: rgba(164, 0, 252, 0.3);
}

.page-title__inner {
  position: relative;
}

.page-title--with-panel .page-title__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.page-title__copy {
  max-width: 70rem;
}

.page-title__breadcrumb {
  margin-bottom: 2rem;
}

.page-title__breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  list-style: none;
}

.page-title__breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.page-title__breadcrumb li + li::before {
  content: "\f054";
  color: rgba(255, 255, 255, 0.5);
  font-family: "Font Awesome 5 Free";
  font-size: 0.58rem;
  font-weight: 900;
}

.page-title__breadcrumb a,
.page-title__breadcrumb li[aria-current="page"] {
  color: inherit;
}

.page-title__breadcrumb a:hover,
.page-title__breadcrumb a:focus-visible {
  color: var(--secondary);
}

.page-title__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-title h1 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.page-title--with-panel h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  line-height: 0.94;
}

.page-title h1 span {
  color: var(--secondary);
}

.page-title__description {
  max-width: 40rem;
  margin: 1.8rem 0 2.1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
  line-height: 1.75;
}

.page-title__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.page-title__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  color: #211323;
  background: var(--secondary);
  font-family: "Jost", sans-serif;
  font-weight: 600;
}

.page-title__button:hover,
.page-title__button:focus-visible {
  border-color: #fff;
  color: #211323;
  background: #fff;
}

.page-title__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

.page-title__meta strong {
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
}

.page-title__brand {
  width: auto;
  max-width: min(100%, 14.875rem);
  height: auto;
  max-height: 3.75rem;
  margin-top: 1.8rem;
  object-fit: contain;
  object-position: left center;
}

.page-title__panel {
  position: relative;
  padding: clamp(1.7rem, 3.5vw, 2.7rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.75rem;
  background: rgba(20, 7, 28, 0.46);
  box-shadow: 0 2rem 5rem rgba(10, 0, 18, 0.3);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.page-title__panel::after {
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 198, 0, 0.12);
  border-radius: 1.35rem;
  content: "";
  pointer-events: none;
}

.page-title__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-title__panel-top i {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: #231128;
  background: var(--secondary);
}

.page-title__panel > strong {
  display: block;
  max-width: 18ch;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.page-title__panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-title__panel-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.35;
}

.page-title__panel-grid i {
  color: var(--secondary);
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .page-title {
    padding: 5.5rem 0 4.5rem;
  }

  .page-title--with-panel .page-title__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-title--with-panel h1 {
    max-width: 10ch;
  }

  .page-title__panel {
    max-width: 42rem;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    padding-bottom: 3.6rem;
  }

  .page-title__breadcrumb {
    margin-bottom: 1.5rem;
  }

  .page-title h1,
  .page-title--with-panel h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .page-title__description {
    font-size: 1rem;
  }

  .page-title__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-title__panel-grid {
    grid-template-columns: 1fr;
  }

  .page-title__panel-grid div {
    align-items: center;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-title__button,
  .page-title__breadcrumb a {
    transition: none;
  }
}
