/* HEADER */

@media all {
  .sr-hint {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .page-header {
    display: grid;
    grid-template-columns: var(--element-grid);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 20;
  }

  .page-header-logo img {
    width: 5.25rem;
  }

  .page-header-inner {
    grid-column: 3 / -3;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .navbar-nav {
      display: flex;
      gap: var(--element-gap);
    }

    .nav-item {
      list-style-type: none;

      &.active , 
      &.current , 
      &:focus , 
      &:hover {
        
        &:after {
          content: "";
          display: block;
          width: 100%;
          height: 10px;
          background-color: var(--color-orange);
          border-radius: var(--border-radius);
          margin-top: calc(var(--element-gap) / 2);
        }
        
      }

    }

    .nav-link {
      text-decoration: none;
      color: var(--color-black);
      font-weight: 600;
    }
    
  }
  
}

@media (min-width: 62rem) {
  .page-header {
    padding-block: 4rem;
    margin-bottom: 0;
    position: static;
  }

  .page-header-logo img {
    width: 9.375rem;
    width: 8rem;
  }

  .page-header-inner {
    grid-column: 4 / -4;
    align-items: flex-start;
  }
}

/* STAGE */
@media all {
  .page-stage-inner {
    display: grid;
    grid-template-columns: var(--element-grid);

    .cb-text-media {
    }

    .cb-text-media__media {
      .ce-embed {
        height: auto;
        padding-bottom: unset;
      }

      video {
        /* height: 500px; */
        width: 100%;
        object-fit: cover;
        position: relative;
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
      }
    }

    .cb-text-media--beside-text-right {
      align-items: flex-end;
    }

    .cb-text {
      grid-column: 4 / -4;
      margin-top: 6rem;
    }
  }
}

@media (min-width: 62rem) {
  .page-stage-inner {
    .cb-text-media {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;
      grid-auto-flow: column;
      gap: 1rem;

      .cb-text-media__content {
        grid-column: 4 / 14;
        width: auto;
      }

      .cb-text-media__media {
        margin-top: -100px;
        grid-column: 14 / -1;
        width: auto;
        .video {
          margin: 0;
        }

        video {
          /* height: 700px; */
          border-bottom-right-radius: unset;
          border-top-right-radius: unset;
          width: 100%;
        }
      }
    }
  }
}

/* CONTENT */
@media all {
  .page-content {
    display: grid;
    grid-template-columns: var(--element-grid);
  }

  .content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-auto-flow: column;
  }

  .ce-element {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-auto-flow: column;
  }
}

@media (min-width: 62rem) {
}

/* FOOTER */

@media all {
  .page-footer {
    display: grid;
    grid-template-columns: var(--element-grid);
    border-top: var(--border-width) solid var(--color-orange);
  }

  .page-footer-top {
    grid-column: 3 / -3;
    display: flex;
    flex-direction: column;
    gap: var(--element-gap);
    padding: 3rem 0;
    background-color: var(--color-white);

    a {
      color: var(--color-black);
    }
  }

  .page-footer-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-auto-flow: column;
    background-color: var(--color-grey);
    padding: 3rem 1.5rem;
  }

  .page-footer-bottom-wrapper {
    grid-column: 3 / -3;
    display: flex;
    flex-direction: column;
    gap: var(--element-gap);
  }

  .page-footer-bottom-navigation {
    display: flex;
    flex-direction: column;
    gap: var(--element-gap);
    padding: 0;
    margin: 0;

    li {
      list-style-type: none;
    }

    a {
      color: var(--color-white);
      text-decoration: none;
    }
    a:hover,
      a:focus {
        color: var(--color-white);
        background-color: transparent;
        text-decoration: underline;
    }
  }

  .page-footer__social-media {
    display: flex;
    gap: var(--element-gap);
  }

  .page-footer__social-media-item {
    background-color: var(--color-orange);
    border-radius: var(--border-radius);

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
    }

    svg {
      width: 2rem;
      height: 2rem;
      fill: var(--color-white);
    }
  }

  .page-footer-claim {
    color: var(--color-grey-transparent);
    text-decoration: none;
    font-size: 1rem;
    opacity: .5;
  }
}

@media (min-width: 62rem) {
  .page-footer-top {
    flex-direction: row;
    justify-content: space-between;
    grid-column: 4 / -4;
  }

  .page-footer-top__item {
    max-width: 25%;
  }

  .page-footer-bottom-wrapper {
    grid-column: 4 / -4;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-footer-bottom-navigation {
    flex-direction: row;
  }
}
