body {
  background: white !important;
}
.media-articles-container {
  margin: 0;
  padding: 0;
}
.media-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 32px;
  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: 50%;
  left: 50%;
  transform: translate(-51%, -50%);
  width: 134px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  background-color: rgba(0, 32, 91, 0.75);
  border-radius: 4px;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
}
.content-container,
.people-section {
  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: 250px;
}
.side-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.side-images img {
  width: 100%;
  height: 78px;
  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;
  }
}
/* =========================================
   MOBILE RESPONSIVE
========================================= */

/* ---------- TABLETS ---------- */

@media (max-width: 992px) {
  .people-section {
    padding: 25px 18px;
  }
  .top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .text-content {
    text-align: center;
  }
  .text-content h2 {
    font-size: 22px;
    line-height: 1.4;
  }
  .main-image img {
    width: 100%;
    height: auto;
  }
  .side-images {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .side-images img {
    height: 90px;
  }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .title-image-footer {
    left: 35%;
    font-size: 22px;
  }
  .subtitle-image-footer {
    left: 20%;
    font-size: 14px;
  }
}
/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .people-section {
    padding: 20px 15px;
  }
  .container,
  .content-container,
  .people-section,
  .media-articles {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .media-articles {
    gap: 20px;
  }
  .article-image {
    width: 100%;
    height: 180px;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    background-position: center;
  }
  .title-image {
    width: 170px;
    height: 38px;
    font-size: 1.2rem;
    top: 58%;
  }
  .top-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .text-content {
    text-align: center;
  }
  .text-content h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .text-content p {
    font-size: 14px;
    line-height: 1.6;
  }
  .main-image img {
    width: 100%;
    height: auto;
  }
  .side-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .side-images img {
    width: 100%;
    height: 100px;
  }
  .events-section {
    margin-top: 30px;
  }
  .events-section h3 {
    font-size: 24px;
    text-align: center;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .event-card img {
    height: 220px;
  }
  .event-card h4 {
    font-size: 18px;
  }
  .event-card p {
    font-size: 14px;
  }
  .title-image-footer {
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    width: auto;
    white-space: normal;
    text-align: center;
  }
  .subtitle-image-footer {
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    margin: 0;
    width: 90%;
    text-align: center;
    font-size: 14px;
  }
}
/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {
  .people-section {
    padding: 15px 12px;
  }
  .article-image {
    height: 160px;
  }
  .title-image {
    width: 150px;
    height: 34px;
    font-size: 1rem;
  }
  .text-content h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .text-content p {
    font-size: 13px;
  }
  .side-images {
    grid-template-columns: 1fr;
  }
  .side-images img {
    height: 140px;
  }
  .events-section h3 {
    font-size: 20px;
  }
  .event-card img {
    height: 180px;
  }
  .event-card h4 {
    font-size: 16px;
  }
  .event-card p {
    font-size: 13px;
  }
  .title-image-footer {
    font-size: 18px;
  }
  .subtitle-image-footer {
    font-size: 12px;
    width: 95%;
  }
}
/* ---------- FIX HORIZONTAL SCROLL ---------- */

html,
body {
  overflow-x: hidden;
  width: 100%;
}
/* =========================================
   FOOTER RESPONSIVE MEDIA QUERIES
========================================= */

/* ---------- LARGE TABLETS ---------- */

@media (max-width: 992px) {
  .title-image-footer {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-size: 24px;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .subtitle-image-footer {
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
  }
}
/* ---------- TABLETS / MOBILE ---------- */

@media (max-width: 768px) {
  .title-image-footer {
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    font-size: 20px;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .subtitle-image-footer {
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    margin: 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
  }
}
/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {
  .title-image-footer {
    top: 90%;
    width: 92%;
    font-size: 17px;
    line-height: 1.4;
  }
  .subtitle-image-footer {
    top: 55%;
    width: 94%;
    font-size: 12px;
    line-height: 1.4;
  }
}
/* ---------- EXTRA SMALL DEVICES ---------- */

@media (max-width: 360px) {
  .title-image-footer {
    font-size: 15px;
    top: 90%;
  }
  .subtitle-image-footer {
    font-size: 11px;
    top: 52%;
  }
}
