/* Randorff v1.8.5.316
   NET Work case: match other Work cases' 90px vertical rhythm regardless of
   expanded state. Keep the hero and body separated by their existing 90px beat.
   The expanded-state selector must beat legacy padding:0!important. */
@media (min-width:901px) {
  .work-feature.net.net-case-integrated.is-case-visible,
  .work-feature.net.net-case-integrated.is-case-visible.is-expanded {
    padding-top:90px !important;
    padding-bottom:90px !important;
    min-height:0 !important;
  }
}
@media (max-width:900px) {
  .work-feature.net.net-case-integrated.is-case-visible,
  .work-feature.net.net-case-integrated.is-case-visible.is-expanded {
    padding-top:70px !important;
    padding-bottom:70px !important;
    min-height:0 !important;
  }
}
/* This eliminates additive hero whitespace from legacy grid rules. */
.work-feature.net.net-case-integrated #randorff-net-case .grid.net-case-main {
  padding-top:0 !important;
  padding-bottom:0 !important;
}
/* Close button mirrors the white outline of the opening button. */
.work-feature.net.net-case-integrated #randorff-net-case .net-case-details .case-close-button,
.work-feature.net.net-case-integrated #randorff-net-case .net-case-details .case-close-button:not(:hover):not(:focus-visible) {
  color:#fff !important;
  border:1px solid #fff !important;
  background:transparent !important;
  background-color:transparent !important;
}
.work-feature.net.net-case-integrated #randorff-net-case .net-case-details .case-close-button:hover,
.work-feature.net.net-case-integrated #randorff-net-case .net-case-details .case-close-button:focus-visible {
  color:#2D333A !important;
  border:1px solid #fff !important;
  background:#fff !important;
  background-color:#fff !important;
}

/* Explicitly neutralize the old viewport-based NET layout;
   the case should be as tall as its actual content, not a full-screen shell. */
.work-feature.net.net-case-integrated.is-case-visible {
  height:auto !important;
  min-height:0 !important;
  align-items:stretch !important;
}
.work-feature.net.net-case-integrated #randorff-net-case {
  height:auto !important;
  min-height:0 !important;
}
.work-feature.net.net-case-integrated #randorff-net-case .grid.net-case-main {
  height:auto !important;
  min-height:0 !important;
  align-content:start;
  grid-auto-rows:auto;
}
