/* Half black background */
.latest-news {
  position: relative;
  padding-bottom: 1rem;
}

.bg-black-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background-image: url("../images/footer-back.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--clr-primary);
  z-index: 1;
}

.latest-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.latest-news h2 {
  color: #fff;
  max-width: 850px;
}

/* News card */
.news-box {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    z-index: 2;
  }

  
  .news-inner {
  border-radius: 10px;
  background-color: #fff;
  margin-top: 10px;
  z-index: 999;
  border: 1px solid #0000001c;
  padding: 25px 20px;
  text-align: left;
}

.news-inner h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.news-inner p {
    margin-top: 5px !important;
  font-size: 14px;
  font-family: var(--para-font-family);
  font-weight: 400 !important;
  color: #29292b;
  line-height: 22px;
  text-wrap: wrap;
  text-transform: capitalize;
}


/* Swiper Arrows */
.custom-arrow {
  position: static !important;
  color: #000 !important;
  background-color: #fff;
  border-radius: 50%;
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-arrow::after {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.custom-arrow:hover {
  background-color: #000 !important;
  border: 1px solid #ffffff8c;
  color: #fff !important;
  transition: 0.3s;
}

/* Swiper container */
.swiper {
  width: 100%;
  padding-top: 10px;
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .slider-nav {
    order: 2;
    margin-top: 20px;
  }

  .heading-part {
    order: 1;
  }
}

@media (max-width: 768px) {
  .bg-black-section {
    height: 60%;
  }
    .custom-arrow {
    width: 38px;
    margin-top: 10px;
    height: 38px;
  }

      .slider-nav {
        justify-content: start;
    }
}

@media (max-width: 576px) {
  .bg-black-section {
    height: 65%;
  }

  .custom-arrow {
    width: 38px;
    margin-top: 10px;
    height: 38px;
  }
  
  .slider-nav {
        margin-top: 40px !important;
        justify-content: start;
    }

  .read-btn {
    font-size: 0.85rem;
    padding: 6px 18px;
  }
}