.bg-news {
  background-image: url("../../images/custom/News/bg-new-news.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.bg-news-container{
  width: 100%;
  height: auto !important;
  background-image: url("../../images/custom/Global/fgbg3\ 1.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-inner-news {
  width: 100%;
  height: auto;
  background-image: url("../../images/custom/News/inner-news.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 2 !important;
}

.bg-stone {
  width: 100%;
  height: auto;
  background-image: url("../../images/custom/Services/bg-stone.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.read-btn-blue:hover {
  background-color: #076abd;
  color: white !important;
  border-color: #076abd !important;
}

.news-img {
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.news-img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}

.inner-news-icon {
  width: 25px;
  height: auto;
}

.book-news .cover-news {
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
  object-fit: cover;
}

/* Archives Tab Styling - Pill Style */
#archives-tab .nav-item .active {
  font-family: Aeonik Bold !important;
  border-radius: 100px;
  background: rgba(86, 198, 238, 0.25);
  border-radius: 100px;
}

#archives-tab .nav-item .nav-link {
  color: #333333;
  border-radius: 100px;
  padding: clamp(1px, 0.495vw, 20px) clamp(1px, 2.5765vw, 100px);
}

#archives-tab {
  border-radius: 3rem;
  border-radius: 100px;
  border: 2px solid rgb(51, 51, 51, .15);
/*   background-image: url("../../images/custom/Services/Marine Cargo Section 5.png"); */
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 1rem !important;
  justify-content: flex-start !important;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-pills::-webkit-scrollbar {
  display: none;
}

.archive-gradient-left,
.archive-gradient-right {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.archive-gradient-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-radius: 50px 0 0 50px;
}

.archive-gradient-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-radius: 0 50px 50px 0;
}


/* cpt news */

.news-content {
  height: 400px;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: clamp(1px, 18.5521vw, 349px);
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover .news-img img {
  transform: scale(1.1);
  transition: all ease 1s;
}

.overlay-content {
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 20px;
}

.news-content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.meta-data {
  font-size: 0.875rem;
}

.meta-data .author,
.meta-data .date {
  color: #f0f0f0;
}

@media (max-width: 767px) {
  .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 1rem !important;
  }

  .nav-item {
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }

  .nav-link {
    white-space: nowrap;
  }

  .inner-news-text {
    padding: 0rem !important;
  }

  .news-content {
    height: 300px;
  }

  .news-content h3 {
    font-size: 1.5rem;
  }

  .news-img {
    width: 100% !important;
    height: clamp(1px, 43.024vw, 250px);
  }
  
  .news-con {
    width: 100% !important;
  }

  #archives-tab .nav-item .nav-link {
    padding: clamp(1px, 2.56vw, 20px) clamp(1px, 11.835vw, 100px);
  }

  /* .nav-pills .archives-link {
    border-radius: 100px;
    padding: clamp(1px, 1.745vw, 22px) clamp(3px, 5.287vw, 83.032px) !important;
  } */

  /* .archive-container {
    width: 100%;
    height: clamp(1px, 96.05vw, 824px);
  } */
}

.arrow-bounce {
  animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
