:root {
  --node-slide-teaser-header: calc(100vh - var(--drupal-displace-offset-top, 0px));
}

.node--type-slide.node--view-mode-teaser {
  position: relative;
  height: var(--node-slide-teaser-header) !important;

  .node__background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .node__link {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .node__box {
    height: var(--node-slide-teaser-header) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    position: relative;
    z-index: 0;

    &::before {
      position: absolute;
      content: "";
      background: rgba(0, 0, 0, 0.6);
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 2;
    }
  }

  .node__title {
    margin-bottom: 100px;
    font-size: 3.25rem;
    position: relative;
    text-transform: uppercase;

    &::after {
      position: absolute;
      content: "";
      display: block;
      width: 200px;
      border-bottom: 1px solid #fff;
      z-index: 3;
      left: calc(50% - 100px);
      bottom: -50px;
    }
  }

  .node__content {
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .node__body {
    font-size: 1.5rem;
    font-weight: 300;
  }

}
