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

.news-slider {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
}

.news-slider .news-slide {
    margin-right: 32px;
}

.news-slider .news-slide:last-child {
    margin-right: 0;
}

.news-tile-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.news-tile-details {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: currentColor;
    /* transition: transform 0.5s ease-in-out;
    transform: translate3d(0, 100%, 0); */
}

.news-tile-header {
    padding: 32px;
    /* transform: translate3d(0, -100%, 0);
    transition: all 0.5s ease-in-out;  */
    color: #fff;
}

.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;
    margin-bottom: 8px;
    opacity: 1;
    color: inherit;
}

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

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

.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;
}

.news-tile-header h6 {
    margin-bottom: 0;
}

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

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

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

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

.bg-linear-gradient{
    background: linear-gradient(0deg, rgba(0, 10, 60, 0.80) 0%, rgba(0, 10, 60, 0.00) 55.23%);
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
}


@media (min-width: 1025px) {
    .wrapper-news-slider>section {
        max-width: 1440px;
        padding-inline: 64px;
        margin: 0 auto;
    }

    .wrapper-news-slider .col-md-4.news-slide {
        width: calc(34.13% - 32px);
    }

    .news-tile-details {
        transition: transform 0.5s ease-in-out;
        transform: translate3d(0, 100%, 0);
    }

    .news-tile-header {
        transform: translate3d(0, -100%, 0);
        transition: all 0.5s ease-in-out;
    }

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

    .news-tile-container:hover .news-tile-header {
        color: #000a3c;
        padding-bottom: 16px;
    }

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

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

    .news-tile-container:hover .eyebrow-text{
      opacity: 0;
    }

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

    /* .news-tile-container:hover .news-tile-header .eyebrow-text .news-topic:before{
        background-color: #000a3c;
    } */
  /** Fix for Accessibility **/
    .news-tile-container:focus-visible .news-tile-details,
    .news-tile-container:focus-visible .news-tile-header {
      transform: translate3d(0, 0, 0);
    }

    .news-tile-container:focus-visible .news-tile-header {
      color: #000a3c;
      padding-bottom: 16px;
    }

    .news-tile-container:focus-visible .news-tile-header .eyebrow-text {
      display: none;
      opacity: 0;
    }

    .news-tile-container:focus-visible .eyebrow-text {
      opacity: 0;
    }

    .news-tile-container:focus-visible img {
      transform: translateY(-10px);
    }
  /** Fix for Accessibility **/
}
/** Fix for Accessibility **/
.wrapper-news-slider .primary-btn.dark:focus-visible {
  color: #fff;
}

.wrapper-news-slider .primary-btn.dark:focus-visible svg rect {
  fill: #fff;
}

.wrapper-news-slider .primary-btn.dark:focus-visible svg path {
  fill: #000A3C !important;
}

/** Fix for Accessibility **/

@media (max-width: 1024px) {
    .wrapper-news-slider {
        padding-top: 64px;
    }

    .news-slider {
        margin-top: 36px;
    }

    .news-tile-details {
        background-color: transparent;
    }

    .news-tile-body {
        display: none;
    }

    .news-tile-header {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .wrapper-news-slider>section {
        padding-inline: 32px;
    }

    .wrapper-news-slider>section>.container {
        max-width: 100%;
    }

    .wrapper-news-slider .col-md-4.news-slide {
        width: calc(34.13% - 24px);
    }

    .news-slider .news-slide {
        margin-right: 24px;
    }
}

@media (min-width:768px) and(max-width: 814px) {
    .wrapper-news-slider .col-md-4.news-slide {
        width: calc(34.4% - 24px);
    }
}

@media (max-width: 767px) {
    .wrapper-news-slider {
        padding-left: 16px;
    }

    .news-slider {
        margin-top: 32px;
    }

    .news-slider .slick-list {
        padding: 2px 8% 0 2px !important;
    }

    .news-slide {
        padding-right: 16px;
        margin-right: 0;
    }

    .news-slider {
        --bs-gutter-x: 0;
    }

    .news-slider .slick-dots {
        bottom: -21px;
    }

    .news-slider .slick-dots li {
        width: 24px;
        height: 4px;
        margin-inline: 4px;
    }

    .news-slider .slick-dots li:first-child{
      margin-left: 0;
    }
    .news-slider .slick-dots li:last-child{
      margin-right: 0;
    }

    .news-slider .slick-dots li button {
        background-color: rgb(255 255 255 / 30%);
        width: 100%;
        height: 100%;
        padding: 0;
    }

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

    .news-slider .slick-dots li.slick-active button:before {
        display: none;
    }

    .news-slider .slick-slide img{
      min-width: 320px;
    }
  /** Fix for accessibility **/
    .news-tile-container:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 0px;
    }
  /** Fix for accessibility **/
}
