@media (max-width: 1199px) {
  .news-section .news-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-page-wrapper,
  .news-page-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card:last-child {
    display: none;
  }

  .motm-section .img-container img {
    right: 0;
  }

  img.events-thumbnail {
    height: 400px;
  }
}

@media (max-width: 1024px) {
  ul#mega-menu-menu-1 {
    margin-top: 15px !important;
  }

  .menu-container .btn-container-blue {
    display: none;
  }

  .mega-menu-item-38829 {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .map-section {
    padding-top: 200px !important;
  }

  .page-section .single-news-post .col-lg-8 {
    padding-right: unset;
  }

  .barangay-section,
  .hotline-section {
    padding-top: 200px !important;
  }

  .page-section {
    padding: 50px 0;
  }

  .history-section .left-container {
    order: 1;
  }

  .history-section .right-container {
    order: 2;
  }

  .row:not(.main-footer .row) {
    gap: 30px;
  }

  .modal-container {
    width: 80%;
  }

  .home-banner .right-container {
    display: none;
  }

  .history-section.left .right-container,
  .history-section.right .right-container {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
}

@media (max-width: 767px) {
  .footer-logo,
  img.contact-logo {
    width: 150px;
  }

  span.nav-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 400;
  }

  .news-section .news-wrapper {
    display: unset;
  }

  footer * {
    text-align: center;
  }

  .news-page form {
    flex-direction: column;
  }

  .event-page-wrapper,
  .news-page-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .pdf-item .title {
    text-align: center;
  }

  .pdf-item {
    flex-direction: column;
  }

  .footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mission-vision-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .news-section .news-card:not(:first-child) {
    flex: unset;
  }

  .news-wrapper .news-card {
    margin: 0 20px;
  }

  .news-wrapper .slick-track {
    padding: 30px 0;
  }

  .news-card.slick-slide.slick-current.slick-active.slick-center {
    transform: scale(1.1);
  }

  img.events-thumbnail {
    height: 500px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 425px) {
  .date-time-label {
    flex-direction: column;
    gap: 20px;
  }

  span.nav-title {
    display: none;
  }

  .nav-item {
    justify-content: flex-start;
  }

  .nav-next .nav-item {
    flex-direction: row-reverse;
  }
}
