#web-hosting-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(270px, 25vw, 320px);
  background: #e8eefb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

#web-hosting-hero .web-hosting-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  max-width: 1200px;
  margin-inline: auto;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 96%, transparent);
}

#web-hosting-hero img,
#web-hosting-hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

#web-hosting-hero video {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  #web-hosting-hero[data-media="video"] video { visibility: visible; }
}

#web-hosting-hero .web-hosting-hero-copy {
  width: min(490px, 46%);
  margin-inline-start: max(32px, (100% - 1200px) / 2);
  padding-block: 24px;
}

#web-hosting-hero h1 {
  margin: 0 0 21px;
  color: #132344;
  font-size: 44px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.025em;
}

#web-hosting-hero h1 span { color: #2458e8; }

#web-hosting-hero p {
  margin: 0;
  color: #566c8b;
  font-size: 15px;
  line-height: 1.95;
}

@media (max-width: 1100px) {
  #web-hosting-hero h1 { font-size: 36px; }
  #web-hosting-hero p { font-size: 14px; }
}

@media (max-width: 850px) {
  #web-hosting-hero h1 { font-size: 30px; }
  #web-hosting-hero p { font-size: 13px; }
}

@media (max-width: 700px) {
  #web-hosting-hero {
    align-items: start;
    min-height: 240px;
  }

  #web-hosting-hero .web-hosting-hero-art {
    inset: auto 0 0 auto;
    width: min(100%, 336px);
    aspect-ratio: 3 / 1;
    mask-image: linear-gradient(to bottom, transparent, #000 14%);
  }

  #web-hosting-hero .web-hosting-hero-copy {
    width: calc(100% - 32px);
    margin-inline-start: 16px;
    padding: 18px 0 0;
  }

  #web-hosting-hero h1 {
    margin-bottom: 9px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0;
  }
}

@media (max-width: 360px) {
  #web-hosting-hero h1 { font-size: 24px; }
}
