@media screen and (max-width: 1199px) {
  /* Blog Page */
  .blog-container {
    .tabs-container {
      margin-bottom: 40px;
    }
    #blog-list-wrapper {
      .blog-item {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        &:not(:last-child) {
          padding-bottom: 40px;
          margin-bottom: 40px;
        }
        .blog-image-wrapper {
          width: 100%;
          flex: 0 0 28.35%;
          height: 280px;
        }
        .content-wrapper {
          flex: 0 0 65%;
          .title {
            font-size: 22px;
            line-height: 34px;
          }
          .category-date {
            padding: 0;
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 15px;
            li {
              font-weight: 400;
              font-size: 16px;
              line-height: 31px;
              position: relative;
            }
          }
          .blog-paragraph {
            p {
              font-size: 18px;
              line-height: 26px;
            }
          }
        }
      }
    }
    .blog-load-more-btn-wrapper {
      margin-top: 40px;
    }
  }
  /* EAP Table */
  .eap_table {
    .elementor-shortcode {
      #tablepress-1 {
        thead {
          tr {
            td {
              &:first-child {
                min-width: 200px;
              }
            }
            th {
              min-width: 350px;
              padding: 25px 0;
            }
          }
        }
        tbody {
          tr {
            td {
              font-size: 18px;
              line-height: 28px;
              padding-top: 25px;
              padding-bottom: 25px;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  /* Home Page */
  .number-list {
    ul {
      li {
        padding-left: 70px;
        &::before {
          left: 0;
          top: 3px;
          font-size: 34px;
          line-height: 40px;
        }
      }
    }
  }
  /* Footer */
  .newsletter_form {
    .gform_confirmation_message {
      font-size: 28px;
      line-height: 40px;
    }
  }
  /* Team Page */
  .staff-list-container {
    .staff-list-flex-wrapper {
      gap: 25px;
      .staff-items {
        flex: 0 0 30.85%;
        .staff-image-wrapper {
          height: 250px;
        }
        .staff-detail-wrapper {
          padding-left: 18px;
          padding-top: 15px;
          padding-right: 18px;
          padding-bottom: 45px;
          height: 185px;
          .title {
            margin: 0;
            font-weight: 500;
            font-size: 20px;
            line-height: 30px;
          }
          .sub-title {
            font-weight: 400;
            font-size: 15px;
            line-height: 20px;
            margin: 0;
          }
          .position-title {
            font-size: 15px;
            line-height: 20px;
          }
          .contact-wrapper {
            margin-top: 15px;
            .contact {
              font-weight: 400;
              font-size: 14px;
              line-height: 20px;
              margin: 0;
            }
          }
        }
        .read-more-btn {
          a {
            font-size: 14px;
            line-height: 100%;
          }
        }
      }
    }
  }
  /* EAP Table */
  .eap_table {
    .elementor-shortcode {
      -webkit-overflow-scrolling: unset;
      scrollbar-width: unset;
      -ms-overflow-style: unset;
      scrollbar-color: unset;
    }
  }
}

@media screen and (max-width: 992px) {
  /* Header */
  #megamenu-container {
    position: relative;
    .megamenu-fixed-wrapper {
      background-image: url(/wp-content/uploads/2026/07/Mega-Menu-ExpandedMobile.png) !important;
      padding: 30px 40px 34px 34px;
      .search-wrapper {
        height: 44px;
        max-width: 100%;
        .input-search-field {
          flex: 1;
          input {
            border: 0;
            outline: 0;
            font-family: var(--primary-font);
            font-weight: 500;
            font-size: 16px;
            line-height: 100%;
            color: var(--blue);
            height: 42px;
            &::placeholder {
              text-transform: uppercase;
              color: inherit;
            }
          }
        }
        .search-icon {
          background-color: var(--orange2);
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          cursor: pointer;
          height: 100%;
          width: 51px;
          justify-content: center;
        }
      }
      .close-btn-wrapper {
        .mobile-site-logo {
          display: block;
          width: 238px;
          height: 54px;
          margin-bottom: 30px;
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .search-wrapper-mobile {
          display: flex;
          margin-bottom: 30px;
        }
        .close-btn {
          top: -10px;
          right: -15px;
          width: 22px;
          height: 22px;
          /* img {
            filter: brightness(0) saturate(100%) invert(16%) sepia(49%)
              saturate(4722%) hue-rotate(194deg) brightness(96%) contrast(102%);
          } */
          svg {
            path {
              fill: var(--blue);
            }
          }
        }
      }
      .megamenu-desktop-wrapper {
        display: none;
      }
      .megamenu-mobile-wrapper {
        display: block;
        .mobile-accordion-menu {
          > .mobile-menu-item {
            margin-bottom: 19px;
            padding-bottom: 19px;
            border-bottom: 1px solid var(--orange);
            > div {
              > a {
                font-family: var(--primary-font1);
                font-weight: 500;
                font-size: 25px;
                line-height: 100%;
                text-transform: uppercase;
                color: var(--blue);
              }
            }
            &.has-children {
              > div {
                > a {
                  display: flex;
                  position: relative;
                  .arrow-up {
                    content: "";
                    position: absolute;
                    width: 20px;
                    height: 20px;
                    display: inline-block;
                    background-image: url(/wp-content/uploads/2026/07/Group-1.png) !important;
                    background-repeat: no-repeat;
                    background-position: right;
                    background-size: contain;
                    top: 51%;
                    right: 0;
                    transform: translate(0%, -50%);
                    z-index: 99;
                  }
                  .arrow-down.arrow-up {
                    content: "";
                    position: absolute;
                    width: 20px;
                    height: 20px;
                    display: inline-block;
                    background-image: url(/wp-content/uploads/2026/07/Group-2.png) !important;
                    background-repeat: no-repeat;
                    background-position: right;
                    background-size: contain;
                    top: 51%;
                    right: 0;
                    transform: translate(0%, -50%);
                    z-index: 99;
                  }
                }
              }
              > .mobile-submenu-list {
                display: none;
                padding: 20px 0 0 18px;
                .mobile-submenu-item {
                  &:not(:last-child) {
                    margin-bottom: 12px;
                  }
                  a {
                    font-family: var(--primary-font);
                    font-weight: 400;
                    font-style: Book;
                    font-size: 24px;
                    line-height: 35px;
                    color: var(--blue);
                  }
                  &.has-children {
                    > .mobile-submenu-list {
                      margin-top: 10px;
                      margin-left: 20px;
                      .mobile-menu-row {
                        a {
                          position: relative;
                          &::before {
                            content: "-";
                            position: absolute;
                            top: -7px;
                            left: -18px;
                            font-size: 40px;
                            color: inherit;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        .social-icons-list {
          display: flex;
          gap: 8px;
          padding-top: 10px;
        }
        .mobile-extra-menus-flex-wrapper {
          margin-top: 40px;
          .extra-menu {
            &:first-child {
              display: none;
            }
            &:not(:last-child) {
              margin-bottom: 15px;
            }
            a {
              position: relative;
              margin-right: 23px;
              padding-right: 23px;
              font-family: var(--primary-font);
              font-weight: 500;
              font-size: 20px;
              line-height: 100%;
              text-transform: uppercase;
              color: var(--blue);
              &::after {
                content: "";
                position: absolute;
                top: 3px;
                right: -10px;
                width: 22px;
                height: 18px;
                background: url(/wp-content/uploads/2026/07/Group-71.png)
                  no-repeat;
                opacity: 1;
              }
            }
          }
        }
      }
    }
  }
  /* Blog Page */
  .blog-container {
    #blog-list-wrapper {
      .blog-item {
        .blog-image-wrapper {
          height: 220px;
        }
      }
    }
  }
  .about-ul-li {
    ul {
      li {
        &::before {
          top: 9px;
          left: 0;
          transform: translateY(0%);
        }
      }
    }
  }
  /* Team Page */
  .staff-list-container {
    .staff-list-flex-wrapper {
      gap: 25px;
      .staff-items {
        flex: 0 0 48%;
        .staff-image-wrapper {
          height: 360px;
        }
      }
    }
  }
  .staff-popup-container {
    .staff-popup-fixed-wrapper {
      width: calc(100% - 124px);
      max-width: 100%;
      height: 80vh;
      .close-button {
        top: 30px;
        right: 30px;
      }
      .detail-flex-wrapper {
        width: calc(100% - 60px);
        margin: 51px auto 31px;
        color: var(--white);
        display: flex;
        flex-wrap: wrap;
        gap: 50px 25px;
        background-image: unset !important;
        .image-wrapper {
          height: 215px;
        }
        .detail-wrapper {
          .staff-title {
            font-size: 28px;
            margin-bottom: 7px;
          }
          .staff-credentials {
            font-size: 21px;
            margin: 0;
          }
        }
      }
      .popup-description-wrapper {
        width: calc(100% - 60px);
        margin: 51px auto 31px;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  /* Home Page */
  .support-column-divider {
    > .e-con-inner {
      > .elementor-element {
        &:not(:last-child) {
          &::after {
            border-right: 0px dashed #004b8d9c;
            border-left: 2px dashed #004b8d9c;
            right: auto;
            left: 0;
          }
        }
      }
    }
  }
  .home-testimonial-slider {
    .elementor-swiper-button {
      &.elementor-swiper-button-prev {
        left: 40% !important;
      }
      &.elementor-swiper-button-next {
        right: 40% !important;
        left: auto !important;
      }
    }
  }
  /* Footer */
  .newsletter_form {
    .gform_confirmation_message {
      font-size: 18px;
      line-height: 26px;
    }
    .gform_wrapper {
      form {
        .gform-footer {
          margin-top: 35px !important;
          margin-right: auto;
          margin-left: unset;
          input[type="submit"], button[type="submit"] {
            font-size: 18px !important;
            line-height: 100% !important;
            &:hover {
              background: transparent !important;
            }
          }
          &::after {
            top: 54%;
          }
        }
      }
    }
  }
  /* EAP Table */
  .eap_table {
    .elementor-shortcode {
      #tablepress-1 {
        thead {
          tr {
            td {
              &:first-child {
                min-width: 150px;
              }
            }
            th {
              font-size: 16px;
              line-height: 24px;
              padding: 15px;
              min-width: 280px;
            }
          }
        }
        tbody {
          tr {
            td {
              font-size: 16px;
              line-height: 24px;
              padding-top: 15px;
              padding-bottom: 15px;
            }
          }
        }
      }
    }
  }
  .about-ul-li {
    ul {
      li {
        &::before {
          top: 4px;
          left: 0;
          transform: translateY(0%);
        }
      }
    }
  }
  /* Team Page */
  .staff-list-container {
    .staff-list-flex-wrapper {
      gap: 25px;
      .staff-items {
        flex: 0 0 100%;
        .staff-image-wrapper {
          height: 390px;
        }
        .staff-detail-wrapper {
          padding-left: 18px;
          padding-top: 15px;
          padding-right: 18px;
          padding-bottom: 25px;
          height: auto;
          .staff-title {
            margin: 0;
            font-weight: 500;
            font-size: 20px;
            line-height: 30px;
          }
          .staff-credentials {
            font-weight: 400;
            font-size: 15px;
            line-height: 20px;
            margin: 0;
          }
          /* .contact-wrapper {
            margin-top: 15px;
            .contact {
              font-family: var(--font-darkmode-cc);
              font-weight: 400;
              font-size: 14px;
              line-height: 24px;
              color: var(--dark-blue);
              margin: 0;
            }
          } */
        }
        .read-more-btn {
          text-align: right;
          padding-top: 20px;
          padding-bottom: 0;
          padding-right: 0px;
          position: relative;
          top: 0;
          left: 0;
          a {
            font-size: 14px;
            line-height: 100%;
          }
        }
      }
    }
  }
  .staff-popup-container {
    .staff-popup-fixed-wrapper {
      width: calc(100% - 40px);
      max-width: 100%;
      height: 85vh;
      .close-button {
        right: 17px;
        top: 23px;
        width: 14px;
        height: 14px;
      }
      .detail-flex-wrapper {
        width: calc(100% - 50px);
        margin: 55px auto 15px;
        color: var(--white);
        display: flex;
        flex-wrap: wrap;
        gap: 25px 25px;
        background-image: unset !important;
        .image-wrapper {
          height: 285px;
          flex: 0 0 100%;
        }
        .detail-wrapper {
          flex: 0 0 100%;
          .staff-title {
            font-size: 26px;
            height: 32px;
          }
          .staff-credentials {
            font-size: 20px;
          }
          .contact-wrapper {
            margin-top: 25px;
            .contact {
              font-size: 18px;
              line-height: 28px;
            }
          }
        }
      }
      .popup-description-wrapper {
        width: calc(100% - 50px);
        margin: 30px auto 30px;
      }
    }
  }
}

@media screen and (max-width: 639px) {
  /* Blog Page */
  .blog-container {
    .tabs-container {
      margin-bottom: 40px;
      .tabs-flex-wrapper {
        li {
          font-size: 12px;
          line-height: 22px;
          padding: 7px 15px 5px;
        }
      }
    }
    #blog-list-wrapper {
      .blog-item {
        &:not(:last-child) {
          padding-bottom: 30px;
          margin-bottom: 40px;
        }
        .blog-image-wrapper {
          flex: 0 0 100%;
          height: 350px;
        }
        .content-wrapper {
          flex: 0 0 100%;
          .title {
            font-size: 20px;
            line-height: 28px;
          }
          .blog-paragraph {
            p {
              font-size: 16px;
              line-height: 26px;
            }
          }
        }
      }
    }
    .blog-load-more-btn-wrapper {
      .button-container {
        .load-more-post-btn {
          font-size: 14px;
          padding: 12px 24px 12px 24px !important;
          gap: 10px;
        }
      }
    }
  }
}

@media (min-width: 768px) {
  .members-help-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    white-space: nowrap;
  }
}

@media screen and (max-width: 340px) {
  #megamenu-container {
    .megamenu-fixed-wrapper {
      padding: 30px 20px 34px 20px;
      .megamenu-mobile-wrapper {
        & .mobile-extra-menus-flex-wrapper {
          & .extra-menu {
            a {
              margin-right: 15px;
              padding-right: 20px;
            }
          }
        }
      }
    }
  }
}
