﻿.comp-page-header {
  position: relative;
  overflow: hidden;

  @media (min-width: 991px) {
    background-color: var(--waa-green);
  }

  .page-header-component {
    @media (max-width: 991px) {
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      position: relative;
      z-index: 5;
      background-color: var(--waa-green);
      max-width: none;
    }
  }

  .image-container {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 40%;
    z-index: 1;

    @media (max-width: 991px) {
      right: 0;
      top: 16px;
      height: 400px;
      position: relative;
    }
  }

  .content-pane {
    background-color: var(--waa-green);
    position: relative;
    color: white;
    z-index: 2;
    padding: 120px 0;

    @media (max-width: 991px) {
      padding: 40px 0;
    }

    .main-text {
      margin-top: 15px;
      margin-bottom: 30px;
    }

    .buttons {
      @media (max-width: 991px) {
        text-align: center;
      }
    }

    .btn.btn-primary {
      width: auto;
      background: white;
      color: var(--waa-green);
      font-size: 18px!important;
      @media (max-width: 991px) {
        width: 97%;
      }
    }

    .btn.btn-primary:hover {
      background: var(--waa-yellow);
      color: var(--waa-green);
    }

    .btn-text {
      position: relative;
      color: white;
      font-weight: 700;
      padding: 0;
      margin-left: 20px;

      @media (max-width: 991px) {
        margin: 20px auto;
      }

      &:after {
        content: "";
        height: 3px;
        background-color: white;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -10px;
        border-radius: 1.5px;
      }

      &:hover {
        color: var(--waa-yellow);
        &:after {
          background-color: var(--waa-yellow);
        }
      }
    }

    .curve {
      position: absolute;
      top: calc(50% - 410px);
      bottom: 0;
      left: calc(0% - 120px); /* Attach to the right of the left column */
      z-index: -1;
      width: 821px;
      height: 821px;
      border-radius: 1000px;
      background-color: var(--waa-green);

      @media (max-width: 991px) {
        display: none;
      }
    }
  }
}

/* .comp-latest-news {
  a:link {
    text-decoration: none !important;
  }
  a:hover {
    color: unset;
  }
  a:hover .Heading3-font {
    text-decoration: underline;
  }
  .Heading2-font {
    color: var(--waa-green);
    margin-bottom: 20px;
  }
  .Heading3-font {
    margin-bottom: 20px;
    color: var(--waa-dark-grey);

    a {
      color: var(--waa-dark-grey);
    }

    a:hover {
      text-decoration: underline !important;
    }
  }
  .slick-next .fa,
  .slick-prev .fa {
    display: block;
  }
  .latest-news-p {
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    color: var(--waa-dark-grey);
  }
  .news-cta {
    top: -15px;
    position: relative;
    width: auto;
    left: 35px;

    a:link {
      position: relative;
      &:after {
        content: "";
        height: 3px;
        background-color: var(--waa-green);
        position: absolute;
        left: 0;
        right: 0;
        bottom: -10px;
        border-radius: 1.5px;
      }
    }
  }

  .dwl-latest-news .img-wrap {
    right: 0;
    width: 728px;
    padding-left: 0;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 16px;
    margin-left: auto;
  }

  .card-news {
    min-height: 400px;
  }

  .dwl-latest-news .img-wrap img {
    aspect-ratio: 16/10;
    width: 728px;
    /* height: 467px; *
    transition: all ease 0.3s;

    &:hover {
      transform: scale(1.1);
      transition: all ease 0.3s;
    }
  }

  @media (max-width: 1599px) {
    .dwl-latest-news .img-wrap {
      width: 528px;
    }
    .dwl-latest-news .img-wrap img {
      width: 528px;
    }
  }

  @media (max-width: 1199px) {
    .dwl-latest-news .img-wrap {
      width: 400px;
    }
    .dwl-latest-news .img-wrap img {
      width: 400px;
    }
  }

  @media (max-width: 991px) {
    .dwl-latest-news .img-wrap {
      width: 100%;
      height: 300px;
    }
    .dwl-latest-news .img-wrap img {
      width: 100%;
      height: 300px !important;
      margin-bottom: 25px;
    }
    .dwl-latest-news .news-cta {
      left: 0;
      right: 0;
      text-align: center;
    }
    .Heading3-font {
      margin-top: 25px;
    }
  }

  /****** SLICK SLIDER ******

  .navigation-wrapper {
    position: absolute;
    bottom: 90px;
    width: 100%;
    margin-top: 50px;
  }

  .navigation-wrapper .slick-dots {
    width: auto;
    position: absolute;
    padding-bottom: 4px;
    text-align: center;
    z-index: 50;
    top: 0px;
    left: 60px;
  }

  .navigation-wrapper .slick-dots li {
    list-style: none;
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    margin: 0 10px;
  }

  .navigation-wrapper .slick-dots li button {
    border: 0;
    background: white;
    display: block;
    border-radius: 100px;
    outline: none;
    color: var(--waa-dark-grey);
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    margin: 0;
    height: 53px;
    width: 53px;
    font-weight: normal;
    font-stretch: var(--waa-condensed);
  }

  .navigation-wrapper .slick-dots li.slick-active button {
    color: var(--waa-green);
    font-weight: var(--waa-font-semibold);
    font-stretch: var(--waa-condensed);
  }

  .navigation-wrapper .slick-dots li:last-child {
    border-right: none;
  }

  .navigation-wrapper .slick-next {
    right: 0;
  }

  .navigation-wrapper .slick-prev {
    left: 0px;
    position: absolute;
    top: 0px;
    cursor: pointer;
    font-size: 34px;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    background-color: var(--waa-green);
    border: 0;
    border-radius: 100px;
    color: var(--waa-yellow);
    width: 53px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
      font-weight: 700;
      &:before {
        left: -1px;
        top: -1px;
        position: relative;
      }
    }
  }

  .navigation-wrapper .slick-next {
    position: absolute;
    top: 0px;
    left: 435px;
    cursor: pointer;
    font-size: 34px;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    background-color: var(--waa-green);
    border: 0;
    border-radius: 100px;
    color: var(--waa-yellow);
    width: 53px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
      font-weight: 700;
      &:before {
        right: -2px;
        top: -1px;
        position: relative;
      }
    }
  }

  @media (min-width: 992px) and (max-width: 1399px) {
    .latest-news .slick-dots li button {
      height: 40px;
      width: 40px;
    }
    .latest-news .slick-prev {
      bottom: 65px;
      font-size: 28px;
      width: 40px;
      height: 40px;
    }
    .latest-news .slick-next {
      bottom: 65px;
      font-size: 28px;
      width: 40px;
      height: 40px;
      left: 357px;
    }
    .latest-news .slick-dots {
      bottom: 45px;
      left: 47px;
    }
    .latest-news .slick-dots li {
      margin: 0 10px;
    }
  }

  @media (max-width: 1199px) {
    .dwl-latest-news {
      padding-bottom: 0px;
    }
    .latest-news .slick-prev {
      bottom: -45px;
    }
    .latest-news .slick-next {
      bottom: -45px;
    }
    .latest-news .slick-dots {
      bottom: -65px;
    }
    .dwl-latest-news .news-cta {
      top: unset;
      bottom: 0;
      position: absolute;
    }
  }

  @media (max-width: 991px) {
    .dwl-latest-news {
      padding-bottom: 100px;
    }
    .navigation-wrapper {
      position: absolute;
      bottom: -60px;
      width: 330px;
      margin-top: 50px;
      left: calc(50% - 165px);
    }
    .latest-news.slick-slider .slick-list {
      padding-bottom: 100px !important;
      height: auto;
    }
    .latest-news .slick-prev {
      bottom: -45px;
      width: 40px;
      height: 40px;
    }
    .latest-news .slick-next {
      bottom: -45px;
      width: 40px;
      height: 40px;
      left: 290px;
    }
    .latest-news .slick-dots {
      bottom: -35px;
      top: 5px;
      left: 50px;
    }
    .navigation-wrapper .slick-dots li button {
      font-size: 16px;
      line-height: 16px;
      height: 30px;
      width: 30px;
    }
    .navigation-wrapper .slick-dots li {
      margin: 0 8px;
    }
    .news-cta {
      top: -50px;
      position: relative;
      width: auto;
      left: 0px;
      text-align: center;
      right: 0;
    }
  }

  .latest-news ul.slick-dots {
    padding-left: 0 !important;
  }

  @media (min-width: 768px) {
    .latest-news-p {
      margin-bottom: 20px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
    }
  }

  .container.slick-slide {
    transition: opacity 0ms !important;
  }
} */
