.xnt-home-hero,
.xnt-hero {
  position: relative;
  isolation: isolate;
  background-color: #03182a;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.xnt-home-hero::after,
.xnt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 18, 34, .98) 0%, rgba(1, 18, 34, .88) 34%, rgba(1, 18, 34, .25) 58%, rgba(1, 18, 34, 0) 78%);
}

.xnt-home-hero > .xnt-container,
.xnt-hero > .xnt-container {
  position: relative;
  z-index: 1;
}

.xnt-hero {
  min-height: 180px;
  padding: 24px 0;
}

.xnt-hero .xnt-container {
  padding-right: 48%;
}

.xnt-hero h1 {
  font-size: 44px;
  line-height: 1.02;
  margin: 10px 0 4px;
}

.xnt-hero h2 {
  font-size: 19px;
  line-height: 1.25;
}

.xnt-hero p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.45;
}

.xnt-home-hero {
  min-height: 365px;
  padding: 56px 0 42px;
}

.xnt-home-hero .xnt-container {
  padding-right: 48%;
}

.xnt-image-strip {
  height: 180px;
}

.xnt-image-strip img {
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

@media (max-width: 900px) {
  .xnt-home-hero {
    min-height: 350px;
    padding: 35px 0 28px;
    background-position: 70% center;
    background-size: auto 100%;
  }

  .xnt-hero {
    min-height: 205px;
    padding: 30px 0;
    background-position: 45% center;
    background-size: auto 100%;
  }

  .xnt-home-hero::after,
  .xnt-hero::after {
    background: linear-gradient(90deg, rgba(1, 18, 34, .92) 0%, rgba(1, 18, 34, .74) 62%, rgba(1, 18, 34, .38) 100%);
  }

  .xnt-home-hero .xnt-container,
  .xnt-hero .xnt-container {
    padding-right: 0;
  }

  .xnt-home-hero h1 {
    max-width: 330px;
    font-size: 31px;
    line-height: 1.08;
    margin: 10px 0 8px;
  }

  .xnt-home-hero p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.42;
  }

  .xnt-hero h1 {
    font-size: 30px;
    line-height: 1.08;
    margin: 8px 0 4px;
  }

  .xnt-hero h2 {
    max-width: 320px;
    font-size: 17px;
    line-height: 1.3;
  }

  .xnt-hero p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.45;
  }

  .xnt-popular {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.25;
  }

  .xnt-popular a {
    margin: 0;
    padding: 4px 8px;
  }

  .xnt-image-strip {
    height: 150px;
  }
}

@media (max-width: 500px) {
  .xnt-home-hero {
    background-position: 72% center;
  }

  .xnt-home-hero h1 {
    font-size: 29px;
  }

  .xnt-kicker,
  .xnt-crumb {
    font-size: 11px;
  }

  .xnt-search {
    margin: 18px 0 12px;
  }

  .xnt-search input {
    padding: 13px 12px;
    font-size: 13px;
  }
}

/* Shared desktop header for every XENSAIL page. */
@media (min-width: 901px) {
  .xnt-site .xnt-header-inner {
    width: min(1800px, calc(100% - 120px));
    height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }

  .xnt-site .xnt-logo {
    justify-self: start;
    font-size: 40px;
  }

  .xnt-site .xnt-logo small {
    font-size: 13px;
    margin-top: 5px;
  }

  .xnt-site .xnt-nav {
    justify-self: center;
    margin: 0;
    gap: 43px;
    font-size: 25px;
  }

  .xnt-site .xnt-nav a {
    padding: 35px 0 31px;
  }

  .xnt-site .xnt-actions {
    display: flex;
    justify-self: end;
    margin-left: 0;
  }

  .xnt-reference-home,
  .xnt-reference-hero {
    background-size: cover;
    background-position: center 54%;
  }

  .xnt-reference-home::before,
  .xnt-reference-hero::before {
    content: "";
    position: absolute;
    inset: 0 -95px 0 34%;
    z-index: 0;
    pointer-events: none;
    background: url("media/clean/reference-full-hero.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, #000 35%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, #000 35%);
  }

  .xnt-reference-home {
    min-height: 536px;
    padding: 62px 0 54px;
  }

  .xnt-reference-home .xnt-container,
  .xnt-reference-hero .xnt-container,
  .xnt-site[data-page="home"] .xnt-feature-bar .xnt-container {
    width: min(1740px, calc(100% - 120px));
    padding-right: 0;
  }

  .xnt-reference-home::after,
  .xnt-reference-hero::after {
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 7, 16, .94) 0%, rgba(0, 8, 18, .82) 28%, rgba(0, 9, 20, .34) 49%, rgba(0, 9, 20, 0) 72%);
  }

  .xnt-reference-home .xnt-kicker {
    font-size: 21px;
    font-style: italic;
    font-weight: 500;
  }

  .xnt-reference-home h1 {
    max-width: 920px;
    margin: 15px 0 16px;
    font-size: clamp(48px, 3.35vw, 66px);
    line-height: 1.02;
    font-weight: 750;
  }

  .xnt-reference-home p {
    font-size: 24px;
  }

  .xnt-reference-home .xnt-search {
    max-width: min(760px, 42vw);
    margin: 28px 0 28px;
  }

  .xnt-reference-home .xnt-search input {
    padding: 20px 24px;
    font-size: 21px;
  }

  .xnt-reference-home .xnt-search button {
    width: 110px;
    font-size: 31px;
  }

  .xnt-reference-home .xnt-popular {
    font-size: 20px;
  }

  .xnt-reference-home .xnt-popular a {
    padding: 7px 15px;
    margin-left: 8px;
    border-color: rgba(255,255,255,.9);
    font-size: 17px;
  }

  .xnt-reference-hero {
    min-height: 300px;
    padding: 46px 0;
  }

  .xnt-reference-hero .xnt-container {
    padding-right: 52%;
  }

  .xnt-reference-hero h1 {
    font-size: 52px;
  }

  .xnt-reference-hero h2 {
    font-size: 23px;
  }

  .xnt-reference-hero p {
    font-size: 17px;
  }

  .xnt-site[data-page="home"] .xnt-feature-bar .xnt-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .xnt-site[data-page="home"] .xnt-feature-bar .xnt-container > div {
    min-height: 160px;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    padding: 32px 20px;
  }

  .xnt-site[data-page="home"] .xnt-feature-bar b {
    font-size: 20px;
    white-space: nowrap;
  }

  .xnt-site[data-page="home"] .xnt-feature-bar span {
    font-size: 17px;
  }
}

.xnt-feature-icon {
  width: 54px;
  height: 54px;
  grid-row: span 2;
  align-self: center;
  object-fit: contain;
}

@media (max-width: 900px) {
  .xnt-reference-home,
  .xnt-reference-hero {
    background-size: cover;
    background-position: left center;
  }

  .xnt-reference-home::after,
  .xnt-reference-hero::after {
    background: linear-gradient(90deg, rgba(0, 7, 16, .93) 0%, rgba(0, 8, 18, .78) 64%, rgba(0, 9, 20, .38) 100%);
  }

  .xnt-feature-icon {
    width: 34px;
    height: 34px;
  }
}
