/* === Articles Section === */
.articles-section {
  background-color: #f4f9fc;
  color: #00215C;
  padding: 88px 0;
}

.articles-container {
  max-width: 1400px;
  margin: 0 auto;
}

.articles-section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #00215C;
  margin-bottom: 48px;
}

/* === Featured Article === */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  background-color: #ffffff;
  border: 1px solid #d9e6f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 48px;
  margin-bottom: 72px;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-size: 24px;
  font-weight: 700;
  color: #00215C;
  margin-bottom: 16px;
}

.featured-description {
  font-size: 17px;
  color: #00215C;
  margin-bottom: 24px;
}

.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  gap: 20px;
  flex-wrap: nowrap;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.author-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.author-name {
  font-size: 15px;
  color: #00215C;
  font-weight: 600;
}

.author-text {
  font-size: 13px;
  color: #006ca9;
  font-style: italic;
}

.featured-btn {
  background-color: #0083CF;
  color: #fff;
  font-weight: 500;
  width: 109px;
  height: 34px;
  line-height: 34px;           
  text-align: center;         
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  white-space: nowrap;
  margin-left: auto;
  font-size: 14px;
}

.featured-btn:hover {
  background-color: #006ca9;
}

/* === Latest Articles === */
.latest-articles-heading {
  font-size: 24px;
  font-weight: 700;
  color: #00215C;
  margin-bottom: 32px;
}

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.article-card {
  background-color: #ffffff;
  border: 1px solid #d9e6f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: #00215C;
  margin-bottom: 12px;
}

.article-description {
  font-size: 14px;
  color: #00215C;
  margin-bottom: 12px;
}

.article-author {
  font-size: 15px;
  color: #006ca9;
  font-style: italic;
  margin-bottom: 16px;
}

.article-btn {
  background-color: #0083CF;
  color: #fff;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.article-btn:hover {
  background-color: #006ca9;
}


/* === Events Section === */
.events-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 446px);
  justify-content: center;
  gap: 32px;
}

.event-card {
  background-color: #ffffff;
  border: 1px solid #d9e6f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  width: 446px;
/*   height: 295px; */
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.event-meta-inline {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 8px;
}

.event-meta {
  display: block
  font-size: 14px;
  color: #006ca9;
  font-weight: 600;
}

.event-location {
  font-size: 14px;
  color: #1C425B;
  font-weight: 500;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  color: #00215C;
  margin-bottom: 8px;
}

.event-description {
  font-size: 15px;
  color: #00215C;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-btn {
  background-color: #0083CF;
  color: #fff;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
  margin-top: auto;
}

.event-btn:hover {
  background-color: #006ca9;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .featured-article {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .featured-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .latest-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 24px;
  }

  .article-card {
    width: 100%;
    max-width: 446px;
    height: auto;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }

  .event-card {
    width: 100%;
    max-width: 446px;
  }
}

@media (max-width: 700px) {
  .featured-article {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
    margin-top: 0;
  }

  .featured-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .articles-section-heading {
    margin-bottom: 16px;
  }

  .featured-title {
    font-size: 20px;
  }

  .featured-description {
    font-size: 16px;
  }

  .latest-articles-heading {
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .latest-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-card {
    width: 100%;
    height: auto;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    width: 100%;
    height: auto;
  }

  .articles-section-heading,
  .latest-articles-heading {
    font-size: 22px;
    text-align: center;
  }

  .featured-btn {
    width: 109px;
    height: 34px;
    line-height: 34px;
  }
}
