/* ====== Section: New Update ====== */
.new-update {
  padding: 100px 0 140px; /* Top:100px, Bottom:140px spacing */
  background: #e8eff7; /* Light background color */
}

/* Keeps space for a fixed header */
.space-header {
  height: 61px;
}

/* Main heading style */
.new-update h1 {
  font-size: 68px; /* Large heading */
  font-style: normal;
  font-weight: 700; /* Bold text */
  line-height: 140%; /* Line height for readability */
  color: var(--color-heading); /* Uses global heading color */
  margin-bottom: 40px; /* Spacing below heading */
}

/* Divider line below heading */
.divider-line-news {
  width: 100%;
  height: 2px;
  background-color: #94D5F7;
  opacity: 0.5;
  margin-bottom: 80px; /* Spacing after divider */
}

.card-news {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  background-color: #fff;
  border-radius: 20px;
  transition: 0.5s;
  justify-content: space-between;
}

.card-news:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-news h2 {
  text-overflow: ellipsis;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 44.8px */
  color: var(--color-heading);
  margin-bottom: 16px;
}

.card-news p {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 33.6px */
  color: var(--color-text);
}

.card-news .divider {
  border-top: 1px solid #f0f0f0;
  margin: 24px 0;
  width: 100%;
}

.card-news .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.card-news .social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.card-news .social-icons img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.card-news .footer span {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
  color: var(--color-heading);
}

.card-news .social-icons a:hover {
  color: #0077b5; /* LinkedIn blue as hover */
}

.card-news .read-more {
  display: flex;
  height: 56px;
  padding: 0 28px;
  align-items: center;
  gap: 4px;
  border-radius: 60px;
  color: #fff;
  background: #4f6bed;
  margin-top: 40px;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 30.8px */
  transition: 0.5s;
  width: 183px;
}

.card-news .read-more img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.card-news .read-more:hover {
  background: #1e47c1;
}
.grid-news {
    display: grid;
    grid-template-columns: auto auto;
    gap: 48px;
}
/* ====== Tablet Screens (≤1024px) ====== */
@media (max-width: 1024px) {
  .new-update {
    padding: 120px 0 120px; /* Equal padding top/bottom */
  }
  .new-update h1 {
    margin-bottom: 28px; /* Reduced spacing below heading */
    font-size: 58px;
  }
  .divider-line-news {
    margin-bottom: 48px; /* Reduced spacing after divider */
  }
  .grid-news {
    grid-template-columns: auto;
    gap: 48px;
}
}

/* ====== Mobile Screens (≤600px) ====== */
@media (max-width: 600px) {
  .new-update {
    padding: 80px 0 80px; /* Smaller top/bottom padding */
  }
  .new-update h1 {
    margin-bottom: 20px; /* Tight spacing for mobile */
        font-size: 36px;
  }
  .card-news {
    padding: 24px;
  }

  .card-news .read-more {
    height: 44px;
    padding: 0 24px;
    font-size: 18px;
    width: 155px;
  }

  .card-news h2 {
    font-size: 24px;
  }

  .card-news p {
    font-size: 20px;
  }

  .card-news .divider {
    border-top: 1px solid #f0f0f0;
    margin: 24px 0;
    width: 100%;
  }
  .card-news .footer {
    display: flex;
    align-items: self-start;
    width: 100%;
    flex-direction: column;
    gap: 24px;
  }
    .grid-news {
    gap: 40px;
}
}
@media (min-width: 1025px) and (max-width: 1280px) {
.card-news h2 {
    font-size: 28px !important;
}
}