/* DoctorKisow cross-site hero system v1.0.8 */
:root {
  --dk-standard-hero-height: var(--dk-hero-height, 225px);
  --dk-post-hero-space: clamp(1.5rem, 2vw, 2rem);
  --dk-hero-copy-offset: clamp(1rem, 4.5vw, 4rem);
  --dk-hero-image-width: 62%;
  --dk-hero-image-position: center;
  --dk-hero-background: linear-gradient(110deg, var(--dk-green-deep) 0%, var(--dk-green) 62%, #315e54 100%);
}

body .dk-hero + * {
  margin-block-start: var(--dk-post-hero-space);
}

body .dk-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: var(--dk-standard-hero-height);
  min-height: var(--dk-standard-hero-height);
  max-height: var(--dk-standard-hero-height);
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--dk-hero-background);
  color: #fff;
}

body .dk-hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(18, 62, 54, .2));
  content: "";
  pointer-events: none;
}

html body .dk-hero > .dk-hero__copy {
  position: relative;
  z-index: 3;
  display: block;
  box-sizing: border-box;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.25rem) var(--dk-hero-copy-offset);
  color: #fff;
  text-align: left;
}

body .dk-hero .eyebrow {
  display: inline-flex;
  margin: 0 0 .75rem;
  padding: .35rem .65rem;
  background: var(--dk-gold-light);
  color: var(--dk-green-deep);
  font-size: clamp(.64rem, .8vw, .74rem);
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
}

body .dk-hero h1 {
  position: relative;
  z-index: 3;
  max-width: min(72%, 1100px);
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-align: left;
  text-wrap: wrap;
  white-space: normal;
}

body .dk-hero p:not(.eyebrow) {
  position: relative;
  z-index: 3;
  max-width: min(72ch, 52%);
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.78rem, .96vw, 1rem);
  line-height: 1.5;
  text-align: left;
  white-space: normal;
}

body .dk-hero__image,
body .dk-hero > img {
  position: absolute;
  z-index: 1;
  inset: -12% -3% -20% auto;
  display: block;
  width: var(--dk-hero-image-width);
  height: 138%;
  max-width: none;
  object-fit: cover;
  object-position: var(--dk-hero-image-position);
  opacity: .92;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .3) 17%, #000 48%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .3) 17%, #000 48%);
}

@media (max-width: 900px) {
  body .dk-hero {
    height: var(--dk-standard-hero-height);
    min-height: var(--dk-standard-hero-height);
    max-height: var(--dk-standard-hero-height);
  }
}

@media (max-width: 760px) {
  body .dk-hero {
    width: 100%;
  }

  html body .dk-hero > .dk-hero__copy {
    width: 100%;
    padding: 1.25rem 1.1rem;
  }

  body .dk-hero h1 { max-width: 78%; }
  body .dk-hero p:not(.eyebrow) { max-width: 72%; }
  body .dk-hero__image,
  body .dk-hero > img { right: -18%; width: 92%; opacity: .72; }
}
