.wrapper-related-news {
    padding-top: 64px;
    padding-bottom: 64px;
    position: relative;
    overflow: hidden;
}
.wrapper-related-news .container{
    padding-inline: 64px;
}

.related-news {
    width: 100%;
    display: flex;
    width: 100%;
    text-align: left;
    margin-inline: auto;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.related-news-slide {
    width: calc(25.6% - 32px);
    margin-right: 32px;
}
.related-news li:last-child{
    margin-right: 0;
}

.related-news-tile-container {
    position: relative;
    display: flex;
    width: 100%;
    height: calc(100% - 5px);
    flex-direction: column;
    overflow: hidden;
}
.related-news-tile-container:before {
    background: linear-gradient(360deg, rgba(0, 10, 60, 0.80) 0%, rgba(0, 10, 60, 0.00) 100%) no-repeat;
    content: "";
    display: inline-block;
    width: 100%;
    height: 30%;
    position: absolute;
    left: 0;
    bottom: 0;
}
.related-news-tile-details {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: currentColor;
}

.related-news-tile-header {
    padding: 32px;
    color: #fff;
}

.related-news-tile-header h6 {
    margin-bottom: 0;
    color: #fff;
}

.related-news-tile-header .eyebrow-text {
    display: inline-flex;
    width: 100%;
    align-items: center;
    font-family: 'Peak Sans';
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
    opacity: 1;
}

.related-news-tile-header .eyebrow-text>span {
    /* margin-right: 32px; */
    margin-right: 0;
}

.related-news-tile-header .eyebrow-text .news-topic {
    position: relative;
    margin-right: 0;
    display: none;
}

.related-news-tile-header .eyebrow-text .news-topic:before {
    content: "";
    position: absolute;
    left: -16px;
    top: 0;
    display: inline-flex;
    width: 1px;
    height: 100%;
    background-color: #8386a0;
    transition: all 0.5s ease-in-out;
}

.related-news-tile-body {
    color: #000a3c;
    padding: 0 32px 32px;
}

.related-news-tile-body p{
    margin-bottom: 0;
    word-break: break-word;
}

.related-news-tile-body .readMore {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-top: 60px;
    font-family: 'Peak Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.related-news-tile-body .readMore:before,
.related-news-tile-body .readMore:after {
    display: none;
}

.wrapper-more-news a.primary-btn{
  margin-bottom: 40px;
}

.wrapper-related-news .slick-dots li button:before{
  display: none;
}

@media (min-width: 1025px) {
    .wrapper-related-news > section {
      max-width: 1440px;
      padding-inline: 64px;
      margin: 0 auto;
    }
    .wrapper-related-news ul.news-tab-list {
        display: flex;
    }

    .related-news {
        max-width: 1440px;
    }
    .related-news li:nth-child(4n+4),
    .related-news .related-news-slide:nth-child(4n+4){
        margin-right: 0;
    }
    .related-news-tile-details {
        transition: transform 0.3s ease-in-out;
        transform: translate3d(0, 100%, 0);
    }
    .related-news-tile-header {
        transform: translate3d(0, -100%, 0);
        transition: all 0.3s ease-in-out;
    }

    .related-news-tile-container:hover .related-news-tile-details,
    .related-news-tile-container:hover .related-news-tile-header {
        transform: translate3d(0, 0, 0);
    }

    .related-news-tile-container:hover .related-news-tile-header {
        color: var(--tile-hover-color, #000a3c);
        padding-bottom: 16px;
    }
    .related-news-tile-container:hover .related-news-tile-header h6 {
        color: inherit;
    }
    .related-news-tile-container:hover .related-news-tile-body {
      color: var(--tile-hover-color, #000a3c);
    }

    .related-news-tile-container:hover .related-news-tile-body .readMore svg path {
      fill: var(--tile-hover-color, #000a3c);
    }

    .related-news-tile-container img{
       transform: translateY(0px);
       transition: transform 500ms ease-in-out;
    }

    .related-news-tile-container:hover img{
       transform: translateY(-10px);
    }

    /*.related-news-tile-container:hover .related-news-tile-header .eyebrow-text {
        display: none;
        opacity: 0;
    }*/

}

@media (max-width: 1024px) {
    select.form-select.related-news-select {
        display: block;
    }
    .related-news-slide {
        margin-right: 0;
        margin-bottom: 0;
    }
    .related-news-tile-details {
        background-color: transparent !important;
    }
    .related-news-tile-body {
        display: none;
    }

    .related-news-tile-header {
        padding-inline: 24px;
    }
    .wrapper-more-news a.primary-btn{
      margin-bottom: 36px;
    }
    .wrapper-more-news.bg-grey .slick-dots li button{
      background-color:#000a3c;
      opacity: 0.5;
    }
    .wrapper-more-news.bg-grey li.slick-active button{
      background-color:#000a3c;
      opacity: 1;
    }
    .wrapper-related-news .section-heading{
      margin-bottom: 36px;
    }
}
@media (min-width: 768px) and (max-width: 1024px){
  .wrapper-related-news{
    padding-bottom: 8px;
  }
    .wrapper-related-news .container {
      max-width: 100%;
  }

  .wrapper-related-news {
      padding-inline: 32px;
  }
  .related-news{
    margin-bottom: 0;
  }
  .related-news .related-news-slide {
    width: calc(34.16% - 24px);
    margin-right: 24px;
    margin-bottom: 24px;
    padding-right: 0;
  }

  .related-news .related-news-slide:nth-child(3n+3), .related-news .related-news-slide:last-child {
      margin-right: 0;
  }
}
@media(max-width: 767px){
  .wrapper-related-news {
        padding-left: 16px;
    }
    .related-news {
        margin-bottom: 36px;
        /* padding-left: 16px; */
    }
    .related-news .slick-list {
        padding: 0 3% 0 0 !important;
    }
      .related-news-slide {
        width: 100%;
        padding-right: 16px;
    }
    #related-news .slick-track {
        display: flex;
      }

    #related-news .slick-track .slick-slide {
        display: flex;
        height: auto;
    }
    #related-news .slick-track .slick-slide > div {
      width: 100%;
    }
    .related-news .slick-dots{
      bottom: -21px;
      left: -16px;
    }
    .related-news .slick-dots li {
        width: 24px;
        height: 4px;
        margin-inline: 4px;
    }
    .related-news .slick-dots li button {
        background-color: rgb(255 255 255 / 30%);
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .related-news .slick-dots li.slick-active button {
        background-color: #fff;
    }

    .wrapper-more-news.bg-grey .slick-dots li button{
      background-color:#000a3c;
      opacity: 0.5;
    }
    .wrapper-more-news.bg-grey li.slick-active button{
      background-color:#000a3c;
      opacity: 1;
    }

    .related-news .slick-dots li.slick-active button:before {
        display: none;
    }
    .related-news .related-news-tile-header .eyebrow-text {
      color:#fff;
    }
}
