/* Reset and basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 70%;
  max-width: 900px;
  margin: auto;
}



/* Nav */




/* Main Content */
.main-content {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Horizontal Card Style */
.article-card.horizontal {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.card-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #f8f8f8;
}

.card-content {
  flex: 1;
}

.card-content h2 {
  font-size: 1.25rem;
  color: #1a3b6d;
  margin-bottom: 0.5rem;
}

.card-content .byline {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.card-content .byline a {
  color: #2f5d91;
  text-decoration: none;
  font-weight: bold;
}

.card-content p {
  font-size: 1rem;
  color: #333;
}

.read-more {
  margin-top: 0.5rem;
  display: inline-block;
  font-weight: bold;
  color: #2f5d91;
  text-decoration: none;
}

/* Footer */
footer {
  background: #2f5d91;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .article-card.horizontal {
    flex-direction: column;
    align-items: center;
  }

  .card-image {
    width: 100%;
    height: auto;
  }

  .card-content {
    text-align: center;
  }

  .top-nav ul {
    display: none; /* Hidden by default on mobile */
    flex-direction: column; /* Vertical stack */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #17406d;
    text-align: center;
  }

  .top-nav ul.active {
    display: flex; /* Show when toggled */
  }

  .top-nav ul li {
    margin: 1rem 0; /* More vertical spacing */
  }

  .hamburger {
    display: block; /* Show on mobile */
  }

  .close-btn {
    display: block; /* Show on mobile */
    margin-top: 1rem; /* Space above close button */
  }
}
