.updates-section{
  padding: 90px 24px;
  background: #f4f7fa;
}

.updates-head{
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: center;
}

.updates-head h2{
  font-size: 36px;
  font-weight: 700;
  color: #0d1e3c;
  margin-bottom: 12px;
}

.updates-head p{
  font-size: 17px;
  color: #4a5a70;
}

/* List */
.updates-list{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 cards = 3 columns */
  gap: 26px;
}

/* Item */
.update-item{
  background: #ffffff;
  border-radius: 0 40px 0 40px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,30,50,.08);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.update-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15,30,50,.14);
}


.update-media img{
  width: 100%;
  height: 190px;
  object-fit: cover;
}


.update-body{
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.update-body h3{
  font-size: 18px;
  font-weight: 700;
  color: #0d1e3c;
  margin-bottom: 10px;
}

.update-body p{
  font-size: 15px;
  line-height: 1.6;
  color: #4a5a70;
  margin-bottom: auto;
}

/* Link */
.update-link{
  margin-top: 18px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #2f74b8;
  text-decoration: none;
}

.update-link:hover{
  text-decoration: underline;
}


@media(max-width:1200px){
  .updates-list{
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media(max-width:700px){
  .updates-list{
    grid-template-columns: 1fr; 
  }

  .updates-head h2{
    font-size: 28px;
  }
}
