.media-articles-container {
  margin: 0;
  padding: 0;
}
.media-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.article {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.article-image {
  width: 100vw;
  height: 9.9rem;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-size: cover;
  overflow: hidden;
}
.article-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
}
.title-image {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-51%, -50%);
  width: 210px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  background-color: #00205b;
  border-radius: 4px;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
}
.content-container,
.people-section,
.media-articles {
  max-width: 1200px;
  margin: 0 auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.people-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px;
}
.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.top-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 1fr;
  align-items: center;
}
.text-content h2 {
  letter-spacing: 1px;
  font-weight: 400;
  line-height: 30px;
  font-size: 25px;
  color: black;
  text-transform: capitalize;
}
.text-content {
  text-align: left;
  margin: auto;
}
.text-content span {
  color: #2a6ebb;
}
.text-content p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 10px;
  line-height: 1.6;
}
.main-image img {
  width: 98%;
  height: 224px;
}
.side-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.side-images img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.events-section {
  margin-top: 40px;
}
.events-section h3 {
  margin-bottom: 20px;
  color: #00205b;
  font-size: 28px;
  font-weight: 600;
  text-align: left;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.event-card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  transition: 0.3s;
}
.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.event-card h4 {
  padding: 10px 3px 8px;
  font-size: 18px;
  color: #00205b;
  font-weight: 600;
}
.event-card p {
  padding: 0px 3px 15px;
  font-size: 14px;
  color: #4d4d4d;
  font-weight: 400;
  text-align: justify;
}
.event-card:hover {
  transform: translateY(-5px);
}
@media (max-width: 992px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .side-images {
    grid-template-columns: repeat(4, 1fr);
  }
  .side-images img {
    height: 80px;
  }
}
.title-image-footer {
  position: absolute;
  top: 50%;
  left: 26.5%;
  transform: translate(-55%, -50%);
  width: 210px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: white;
  border-radius: 4px;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
  background-color: transparent !important;
  margin-top: -12px;
}
.subtitle-image-footer {
  position: absolute;
  top: 51%;
  left: 17%;
  color: #efefef;
  font-size: 16px;
  font-weight: 400;
  margin: 0.3rem 50px;
}
@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .text-content h2 {
    font-size: 22px;
  }
}
@media (max-width: 576px) {
  .article-image {
    height: 180px;
  }
}
/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .top-section,
  .bottom-section {
    grid-template-columns: 1fr;
  }
  .bottom-images {
    grid-template-columns: 1fr;
  }
}
