@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "Poppins-Regular";
  src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
  font-family: "Poppins-Bold";
  src: url(../fonts/Poppins-Bold.ttf);
}

@font-face {
  font-family: "Poppins-SemiBold";
  src: url(../fonts/Poppins-SemiBold.ttf);
}

@font-face {
  font-family: "Poppins-Black";
  src: url(../fonts/Poppins-Black.ttf);
}

@font-face {
  font-family: "Poppins-Medium";
  src: url(../fonts/Poppins-Medium.ttf);
}

@font-face {
  font-family: "Poppins-Italic";
  src: url(../fonts/Poppins-Italic.ttf);
}

.press-update-section {
  background: linear-gradient(
      0deg,
      rgba(147, 179, 234, 0) 0%,
      rgba(137, 171, 228, 0.3) 100%
    ),
    url("../Image/solution-bg-2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  padding: 70px 0 260px;
}

.press-update-heading {
  font-size: 3rem;
  color: #383e42;
  font-family: "Poppins-SemiBold";
  font-weight: 600;
  text-align: center;
}

.press-update-heading span {
  color: #2b6fe2;
}

.press-update-subheading {
  font-family: "Poppins-SemiBold";
  font-size: 1.5rem;
  color: #383e42;
}

.press-update-logo {
  max-height: 40px;
  object-fit: contain;
}

.press-update-meta {
  font-size: 0.9rem;
  color: #777;
}

.press-update-source {
  color: #4285f4;
  font-family: "Poppins-Medium";
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.press-update-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #727272;
  border-radius: 50%;
  margin: 0 8px;
}

.press-update-date {
  color: #727272;
  font-family: "Poppins-Regular";
  font-size: 1rem;
}

.press-update-title {
  font-family: "Poppins-SemiBold";
  color: #383e42;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.press-update-desc {
  font-family: "Poppins-Regular";
  font-size: 0.95rem;
  color: #383e42;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.press-update-btn {
  display: inline-block;
  padding: 16px 26px;
  background-color: #d9e1eb;
  color: #1e3260;
  font-size: 0.9rem;
  border-radius: 8px;
  font-family: "Poppins-Medium";
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.press-update-btn:hover {
  background-color: #2b6fe2;
  color: #fff;
}

.press-update-item .border-bottom {
  position: relative;
  border-bottom: 2px solid #d9d9d9;
  transition: all 0.3s ease;
  padding: 35px 0;
}

.press-update-item .border-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #2b6fe2;
  transition: width 0.5s ease;
  border-radius: 1px;
}

.press-update-item .border-bottom:hover::after {
  width: 100%;
}

.press-update-item .border-bottom:hover {
  background-color: #f9fbff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Truncated Title */
/* .truncate-title {
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  cursor: pointer;
  transition: all 0.3s ease;
}

.truncate-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  position: relative;
  transition: all 0.3s ease;
} */

@media (max-width: 991px) {
  .press-update-section {
    padding-bottom: 200px;
  }
  .press-update-heading {
    font-size: 2.4rem;
  }

  .press-update-subheading {
    font-size: 1.4rem;
    text-align: center;
  }

  .press-update-source,
  .press-update-date {
    font-size: 0.95rem;
  }

  .press-update-title {
    font-size: 1rem;
  }

  .press-update-desc {
    font-size: 0.9rem;
  }

  .press-update-btn {
    padding: 14px 22px;
    font-size: 0.85rem;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .press-update-section {
    padding-bottom: 170px;
  }

  .press-update-heading {
    font-size: 2rem;
  }

  .press-update-item .row {
    text-align: center;
  }

  .press-update-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .press-update-desc {
    font-size: 0.88rem;
    margin-top: 8px;
  }

  .press-update-btn {
    width: 100%;
    font-size: 0.85rem;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .press-update-section {
    padding-bottom: 150px;
  }

  .press-update-heading {
    font-size: 1.7rem;
  }
  .press-update-source,
  .press-update-date {
    font-size: 0.9rem;
  }

  .press-update-title {
    font-size: 0.9rem;
  }

  .press-update-desc {
    font-size: 0.85rem;
  }

  .press-update-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.8rem;
  }
}
