/* Inner-page covers use the full-bleed image treatment of Earth-IA Lab. */
:is(.law-page, .v2-integrated-cover) .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  background: linear-gradient(180deg, rgba(30,18,12,.9), rgba(30,18,12,.66)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
:is(.law-page, .v2-integrated-cover) .nav-wrap {
  border-bottom: 1px solid rgba(255,248,239,.32);
}
:is(.law-page, .v2-integrated-cover) .main-nav > a { color: #fff9f1; }
:is(.law-page, .v2-integrated-cover) .main-nav > a:hover,
:is(.law-page, .v2-integrated-cover) .main-nav > a:focus-visible { color: #f3aa57 !important; }

:is(.law-page .law-hero, .v2-integrated-cover .v2-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #211610;
  color: #fff8f0;
}
:is(.law-page .law-hero-grid, .v2-integrated-cover .v2-hero-grid) {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(780px, 70vw, 940px);
}
.v2-integrated-cover .v2-hero-grid { min-height: 760px; }
:is(.law-page .law-hero-copy, .v2-integrated-cover .v2-hero-copy) {
  position: relative;
  z-index: 2;
  width: min(100%, 740px);
  padding: 155px 0 120px;
  align-self: center;
}
.law-page .law-hero-copy { display: flex; }
:is(.law-page .law-hero-visual, .v2-integrated-cover .v2-hero-art) {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  margin: 0;
  transform: translateX(-50%);
  overflow: hidden;
}
:is(.law-page .law-hero-visual img, .v2-integrated-cover .v2-hero-art img) {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(.86);
}
.law-page .law-hero-visual:before,
.v2-integrated-cover .v2-hero-art:after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26,15,11,.96) 0%, rgba(26,15,11,.86) 27%, rgba(26,15,11,.55) 52%, rgba(26,15,11,.14) 100%),
    linear-gradient(0deg, rgba(26,15,11,.68), transparent 34%);
  pointer-events: none;
}
:is(.law-page .law-hero h1, .v2-integrated-cover .v2-hero h1) {
  max-width: 730px;
  color: #fff8f0;
}
:is(.law-page .law-hero h1 em, .v2-integrated-cover .v2-hero h1 em) { color: #f3aa57; }
:is(.law-page .law-hero-copy > p, .v2-integrated-cover .v2-hero-copy > p) {
  max-width: 610px;
  color: #f4e8dc;
}
.v2-integrated-cover .v2-back {
  color: #fff3e7;
  border-color: #e6b38e;
}
.v2-integrated-cover .v2-kicker { color: #f0ad79; }
.v2-integrated-cover .v2-action { background: #c77b53; color: #fff9f2; }
.v2-integrated-cover .v2-action:hover { background: #dc9169; }
.law-page .law-hero-caption { margin-top: 42px; padding-top: 0; color: #f3d5bd; }
.law-page .law-hero-visual figcaption {
  left: max(5vw, calc((100vw - 1320px)/2));
  right: max(5vw, calc((100vw - 1320px)/2));
  bottom: 27px;
  padding-top: 19px;
  border-color: rgba(255,248,239,.55);
}
.v2-integrated-cover .v2-hero-foot {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 25px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,248,239,.55);
  color: #f4e3d5;
  font: 700 14px/1.5 var(--type-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  :is(.law-page .law-hero-grid, .v2-integrated-cover .v2-hero-grid) { min-height: 760px; }
  :is(.law-page .law-hero-copy, .v2-integrated-cover .v2-hero-copy) { width: min(100%, 660px); }
  :is(.law-page .law-hero-visual img, .v2-integrated-cover .v2-hero-art img) { object-position: 61% center; }
}
@media (max-width: 700px) {
  :is(.law-page .law-hero-grid, .v2-integrated-cover .v2-hero-grid) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100svh;
  }
  :is(.law-page .law-hero-copy, .v2-integrated-cover .v2-hero-copy) {
    width: 100%;
    padding: 130px 0 120px;
    align-self: auto;
  }
  .v2-integrated-cover .v2-back { margin-bottom: 42px; }
  .law-page .law-hero-caption { margin-top: 34px; }
  :is(.law-page .law-hero-visual, .v2-integrated-cover .v2-hero-art) {
    height: 100%;
    min-height: 0;
    margin: 0;
  }
  :is(.law-page .law-hero-visual img, .v2-integrated-cover .v2-hero-art img) { object-position: 65% center; }
  .law-page .law-hero-visual:before,
  .v2-integrated-cover .v2-hero-art:after {
    background:
      linear-gradient(90deg, rgba(26,15,11,.9), rgba(26,15,11,.54)),
      linear-gradient(0deg, rgba(26,15,11,.77), transparent 48%);
  }
  .law-page .law-hero-visual figcaption { left: 20px; right: 20px; bottom: 17px; gap: 12px; }
  .v2-integrated-cover .v2-hero-foot { bottom: 18px; flex-wrap: wrap; font-size: 14px; }
}
