/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background-color: #f5f5f5;
  line-height: 1.6;
}

/* Top Bar */
.top-bar {
  background-color: #0a2463;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.news-title {
  font-size: 2rem;
}

/* News Section */
.news-section {
  padding: 6rem 2rem 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* News Card */
.news-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0a2463;
}

/* Read More Button */
.read-more-btn {
  background: #1c77c3;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background 0.3s;
}

.read-more-btn:hover {
  background: #0a2463;
}

/* Expandable News Description */
.news-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.news-description.active {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
}

/* Footer */
/* Footer */
.news-footer {
  background-color: #0a2463;
  color: #ffffff;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-section a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}
