/* Minimal Announcements Section */
.announcements-section {
  padding: var(--space-section-lg) 0;
  background: linear-gradient(135deg, #f9fbff 0%, #f1f6ff 100%);
  border: 1px solid #d3deea;
  border-radius: 22px;
  margin-bottom: var(--space-section);
}

.announcements-section h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem) !important;
  font-weight: 800;
  color: #0b2f4f;
  margin-bottom: 0.45rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem !important;
  color: #51687e;
  margin-bottom: 0;
  font-weight: 500;
}

.announcements-slider {
  position: relative;
  margin-bottom: var(--space-section);
  padding-bottom: 2.1rem;
}

.announcements-slider .swiper-slide {
  height: auto;
}

.announcement-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #d3deea;
  position: relative;
  height: 100%;
}

.announcement-card:hover {
  transform: translateY(-5px);
  border-color: #a8c0dc;
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-card-padding) var(--space-card-padding) 0 var(--space-card-padding);
  margin-bottom: 0.6rem;
}

.announcement-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f8ff;
  padding: 0.62rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #d9e6f8;
  min-width: 64px;
}

.date-day {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b2f4f;
  line-height: 1;
}

.date-month {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}

.announcement-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0b2f4f 0%, #145b89 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
}

.announcement-body {
  padding: 0 var(--space-card-padding) var(--space-card-padding) var(--space-card-padding);
}

.announcement-title {
  margin-bottom: 0.68rem;
}

.announcement-title a {
  color: #0f2942;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.36;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-title a:hover {
  color: #145b89;
}

.announcement-footer {
  border-top: 1px solid #e8eef6;
  padding-top: 0.62rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #0b2f4f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.3s ease;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: rgba(11, 47, 79, 0.06);
}

.read-more:hover {
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  gap: 0.58rem;
}

.read-more i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

.announcements-nav {
  position: absolute;
  top: calc(50% - 1.05rem);
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #d0deee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0b2f4f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  z-index: 4;
}

.announcements-prev {
  left: -0.7rem;
}

.announcements-next {
  right: -0.7rem;
}

.announcements-nav:hover {
  color: #ffffff;
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  transform: translateY(-1px);
}

.announcements-slider-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}

.announcements-slider-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  opacity: 1;
  background: rgba(11, 47, 79, 0.22);
}

.announcements-slider-pagination .swiper-pagination-bullet-active {
  background: #0f766e;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0b2f4f 0%, #08253e 100%);
  color: #fff !important;
  text-decoration: none;
  padding: 0.86rem 1.45rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.view-all-btn:visited,
.view-all-btn:focus {
  color: #fff !important;
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.view-all-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(4px);
}

.announcements-empty {
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.empty-icon {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #94a3b8;
  font-size: 1.5rem;
}

.announcements-empty h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}

.announcements-empty p {
  color: #64748b;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .announcements-section {
    padding: var(--space-section) 0;
    border-radius: 12px;
  }

  .announcement-header {
    padding: 1rem 1rem 0 1rem;
  }

  .announcement-body {
    padding: 0 1rem 1rem 1rem;
  }

  .announcement-title a {
    font-size: 1rem;
  }

  .announcements-nav {
    display: none;
  }

  .view-all-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .announcements-section {
    padding: 1.5rem 0;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
  }

  .announcement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .announcement-badge {
    align-self: flex-end;
  }

  .announcement-title a {
    font-size: 0.95rem;
  }
}
