* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
*::after {
  box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: $ff-sans;
  line-height: 1.5;
  font-size: ms(0);
  color: $dark100;
  margin: 0 auto;
  max-width: 2560px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: $ff-sans;
}

a,
button {
  font-family: $ff-sans;
}

.noscroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

//this is optional
img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.img-contain {
  object-fit: cover;
}

textarea {
  resize: vertical;
}

.h-100 {
  height: 100%;
}

.plr-small {
  padding-top: 100px;
  padding-bottom: 100px;
}

.border {
  border-bottom: 1px solid $primary-dark20;
  padding-top: 32px;
}

.border-career {
  border-bottom: 1px solid $primary-dark20;

}

.back {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.featured-image {
  // width: 100%;
  // height: 100%;
  object-fit: contain;
  // @media (max-width: 600px) {
  //   max-height: 300px;
  // }
}

.rendered {
  h2 {
    margin-bottom: 24px;
    line-height: 1.3;
    font-size: 36px;
    font-weight: $fw-bold;
  }

  h3 {
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 22px;
    font-weight: $fw-bold;
  }

  h4 {
    margin-bottom: 8px;
    line-height: 24px;
    font-size: 20px;
    font-weight: $fw-bold;
  }

  //   a {
  //     font-family: $ff-sans;
  //     text-decoration: underline;
  //   }

  //   ul,
  //   ol {
  //     margin-left: 15px;
  //     margin-top: 20px;
  //     font-size: 18px;

  //     @media (max-width: 500px) {
  //       font-size: 16px;
  //     }
  //   }

  p {
    margin: 0px 0px 24px 0px;
    font-size: 18px;
    line-height: 1.8;

    @media (max-width: 600px) {
      font-size: 16px;
    }
  }

  //   ul {
  //     margin-top: 20px;

  //     @media (max-width: 500px) {
  //       font-size: 16px;
  //     }
  //   }

  //   .strongify {
  //     &::marker {
  //       font-weight: bold;
  //     }
  //   }

  //   strong {
  //     font-weight: 500;
  //   }

  //   .wp-block-table {
  //     margin: 20px 0px 40px 0px;
  //     td {
  //       border: 1px solid #fff;
  //       padding: 15px 20px;
  //     }
  //   }

  .wp-block-quote {
    position: relative;
    padding-left: 16px;
    margin: 40px 0;
    &:before {
      content: '';
      position: absolute;
      width: 2px;
      height: 100%;
      top: 0;
      left: 0;
      background: $primary-light;
    }

    p {
      font-style: italic;
      font-weight: normal;
    }
  }

  //   .wp-block-table {
  //     margin: 20px 0px 40px 0px;
  //     td {
  //       border: 1px solid #fff;
  //       padding: 15px 20px;
  //     }
  //   }

  .wp-block-image {
    max-width: fit-content;
    margin: 0 auto;

    figcaption {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.5;
      font-weight: $fw-normal;
      color: $primary-dark50;
      padding-bottom: 24px;

      strong {
        display: flex;
        justify-content: flex-end;
      }

      em {
        font-style: normal;
        justify-content: flex-start;
      }
    }
  }
}

@media (max-width: 900px) {
  .single-news__content {
    flex-direction: column;
    &__left {
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding-bottom: 24px;
    }
    &__right {
      padding-left: 0;
      width: 100%;
    }
  }
}

.u-inline-block {
  display: inline-block;
}

.show-desktop {
  @media (max-width: 1024px) {
    display: none !important;
  }
}
.show-desktop-tablet {
  @media (max-width: 770px) {
    display: none !important;
  }
}

.show-mobile-block {
  display: none !important;
  @media (max-width: 1024px) {
    display: block !important;;
  }
}
.show-mobile-flex {
  display: none !important;
  @media (max-width: 1024px) {
    display: flex !important;;
  }
}