/* ========================================
   LATEST ACTIVITY / RECENT UPDATES
   Theme: Navy Blue + Amber (Education)
   ======================================== */

.recent-updates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Section Header */
.updates-headline {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0;
  position: relative;
  display: block;
  text-align: center;
  padding-bottom: 10px;
}

.updates-headline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 2px;
}

.updates-grid-wrapper {
  margin-top: 1.8rem;
}

/* Grid */
.updates-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Card */
.update-card-item {
  background: #ffffff;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.07);
  border-left: 4px solid #dbeafe;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.update-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.13);
  border-left-color: #f59e0b;
}

/* NEW badge */
.update-card-item::before {
  content: 'NEW';
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 9px;
  border-radius: 20px;
  width: fit-content;
}

.update-title-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.update-title-link {
  color: #1e3a5f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.update-title-link:hover {
  color: #2d5a8e;
}

/* Date tag with FA icon */
.update-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.update-date-tag i {
  color: #f59e0b;
  font-size: 12px;
}

/* View More */
.view-more-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding: 10px 24px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25);
}

.view-more-button:hover {
  background: linear-gradient(135deg, #2d5a8e 0%, #1e3a5f 100%);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.view-more-button:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  transition: transform 0.25s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .updates-grid-layout {
    grid-template-columns: 1fr;
  }

  .recent-updates-container {
    padding: 2rem 1rem;
  }

  .updates-headline {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .update-card-item {
    padding: 1rem 1.1rem;
  }

  .update-title-text {
    font-size: 0.95rem;
  }
}