/* News & Notices Section Styles */
.news-notices-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.news-notices-container {
  margin-top: 30px;
}

.section-subtitle {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  font-size: 22px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.section-subtitle i {
  margin-right: 10px;
  color: #3498db;
}

/* News Styles */
.news-wrapper,
.notices-wrapper {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
}

.news-item {
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-date {
  flex: 0 0 60px;
  margin-right: 20px;
  background-color: #3498db;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.news-date .date {
  font-size: 24px;
  font-weight: 700;
  padding: 5px 0;
  display: block;
}

.news-date .month {
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 14px;
  padding: 2px 0;
  display: block;
}

.news-content {
  flex: 1;
}

.news-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.news-content p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.read-more {
  font-size: 14px;
  color: #3498db;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Notices Styles */
.notices-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notice-item {
  padding: 15px;
  background-color: #f8f9fa;
  border-left: 3px solid #3498db;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.notice-item:hover {
  background-color: #e9ecef;
}

.notice-date {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.notice-date i {
  margin-right: 5px;
}

.new-badge {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.notice-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.notice-content {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.notice-link {
  font-size: 14px;
  color: #3498db;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.notice-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.notice-link:hover i {
  transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .notices-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-right: 0;
    margin-bottom: 15px;
    width: 80px;
  }
}
