@media (max-width: 1523px) {
  .partners-swiper .swiper-slide {
    width: calc(100% / 5);
  }
}

@media (max-width: 1223px) {
  .partners-swiper .swiper-slide {
    width: calc(100% / 4);
  }

  .jobs-swiper .swiper-slide {
    width: calc(100% / 2.5);
  }

  .schedule-swiper .swiper-slide {
    width: calc(100% / 3);
  }

  .gallery-swiper .swiper-slide {
    width: calc(100% / 3);
  }

  .review-swiper .swiper-slide {
    width: calc(100% / 1.6);
  }

  .why-img {
    width: 30rem;
    height: 34rem;
  }

  .services-body {
    gap: 2.5rem;
  }

  .services-img {
    height: 38rem;
  }

  .services-list {
    flex-basis: 24rem;
  }

  .roadmap-inner {
    gap: 4rem;
  }

  .roadmap-swiper .swiper-slide {
    width: calc(100% / 2.2);
  }
}

@media (max-width: 1024px) {
  .home .programs {
    .news-header {
      margin: 0 auto 5rem;
    }
    .program-card {
      gap: 1rem;
      padding: 1.5rem;
    }
  }
  footer.site-footer {
    padding: 1rem;
  }
  section {
    padding: 2rem 0;
  }
  .home .hero {
    margin-bottom: 2rem;
    min-height: auto;
    padding: 3rem;
    .container {
      padding: 0;
    }
    .hero-inner {
      max-width: 70%;
      h1 {
        font-size: 2.5rem;
      }
    }
    .hero-experts {
      margin-top: 4rem;
    }
  }
  .home section .sec-con h2 {
    font-size: 2rem;
    line-height: 2.8rem;
    margin-bottom: 1rem;
  }
  .home .news {
    .news-grid {
      gap: 1rem;
    }
    .card-post .thumb img {
      height: 22rem;
    }
  }
  .home .avatar-curve-container {
    margin-top: -14rem;
  }
  .home .why-g2g {
    .why-img {
      height: 48rem;
    }
    .why-head .section-left {
      width: 30rem;
    }
    .why-body {
      gap: 3rem;
    }
  }
  .home .services {
    .why-head {
      .section-left {
        width: 24rem;
      }
    }
    .services-body {
      .services-img {
        height: 38rem;
        width: 25rem;
        min-width: unset;
        flex: 1;
      }
      .service-a .thumb {
        width: 8rem;
        height: 8rem;
      }
      .service-item summary {
        padding: 2rem 0;
      }
    }
  }
  .home .roadmap {
    .step-card {
      height: 24rem;
      padding: 2rem;
    }
  }
  .home .contact-stage {
    margin-bottom: 0;
  }
  .home .social-mxh .swiper-slide {
    img {
      height: 330px;
    }
  }

  .jobs-swiper .swiper-slide {
    width: calc(100% / 2);
  }

  .gallery-swiper .swiper-slide {
    width: calc(100% / 2.5);
  }

  .review-swiper .swiper-slide {
    width: calc(100% / 1.3);
  }

  .roadmap-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .roadmap-intro {
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }

  .roadmap-swiper .swiper-slide {
    width: calc(100% / 2.6);
  }

  .contact-photo-left,
  .contact-photo-right,
  .contact-deco-1,
  .contact-deco-2 {
    display: none;
  }

  .contact-stage {
    height: auto;
  }

  .contact-inner {
    position: static;
    transform: none;
    margin: 0 auto;
  }
}
@media (max-width: 980px) {
  .home #home-about {
    .about-features {
      gap: 1.5rem;
      margin-top: 2rem;
    }
  }
  .home .news .news-grid .featured {
    flex-direction: column;
  }
  .section-title {
    font-size: 2rem;
  }
  .home .gallery {
    .sec-head {
      width: 40%;
    }
    .faq-list {
      width: 60%;
    }
  }
  .home .review .faq-list {
    .testimonial-card {
      flex: 0 0 25rem;
    }
  }
}
@media (max-width: 950px) {
  .hero {
    .eyebrow {
      font-size: 1rem;
    }

    h1 {
      font-size: 2.8rem;
      font-weight: 500;
    }
  }

  .partners-swiper {
    .swiper-slide {
      width: calc(100% / 3);
    }

    img {
      height: 2.4rem;
    }
  }

  .home #home-about {
    flex-direction: column;
    .feature-item {
      max-width: unset;
      width: 50%;
    }
  }
  .home .news {
    .news-grid {
      gap: 3rem;
      flex-direction: column;
      .card-post {
        padding: 0;
        max-width: unset;
      }
      .related-card {
        padding: 0;
      }
      .card-post .thumb img {
        height: 22rem;
      }
    }
  }
  .about-img {
    height: 18.75rem;
    width: 100%;
    flex: auto;
  }
  .home .why-g2g {
    padding: 2rem 0;
    .why-img {
      height: 22rem;
    }
  }
  .home .programs {
    .news-header {
      margin: 0 auto 3rem;
    }
  }
  .home .services {
    .services-body {
      gap: 0;
    }
    .services-list {
      flex-basis: 100%;
    }
    .services-img {
      max-height: 22rem;
      width: 100% !important;
      object-fit: cover;
    }
  }
  .home .faq-layout {
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    .sec-head {
      max-width: 100% !important;
      gap: 0;
    }
    .faq-list {
      max-width: 100% !important;
    }
  }
  .home .review .cards-track {
    .testimonial-card {
      max-width: 450px;
    }
  }
  .home .roadmap {
    padding: 0 0 2rem 0;
  }
  footer {
    .wrap {
      padding: 2rem !important;
    }
    .footer-brand {
      max-width: 100%;
    }
    .footer-nav .menu {
      gap: 1rem;
    }
    .footer-nav .widget_nav_menu {
      width: 50%;
    }
    .footer-policy {
      gap: 1.5rem;
    }
  }
  .about-features {
    margin-top: 2rem;
  }

  .about-text {
    .section-title {
      font-size: 1.9rem;
    }
  }

  .about-features {
    gap: 1.5rem;
  }

  .card-post .post-title {
    font-size: 1.2rem;
  }

  .related-card .post-title {
    font-size: 1.1rem;
    line-height: 1.4rem;
    height: 2.8rem;
  }

  .schedule-swiper .swiper-slide {
    width: calc(100% / 2);
  }

  .jobs-swiper .swiper-slide {
    width: calc(100% / 2);
  }

  .why-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;

    .section-left {
      width: 100%;
    }

    .section-title {
      font-size: 1.9rem;
      line-height: 2.2rem;
    }
  }

  .why-body {
    flex-direction: column;
    gap: 2rem;
  }

  .why-img {
    width: 100%;
    height: 20rem;
  }

  .review-body {
    padding: 1.5rem;
  }

  .programs .news-header {
    margin-bottom: 3rem;
  }

  .program-grid {
    flex-direction: column;
    align-items: center;
  }

  .program-card {
    width: 100%;
    max-width: 34rem;
  }

  .services-body {
    flex-direction: column;
    gap: 2rem;
  }

  .services-img {
    width: 100%;
    height: 20rem;
  }

  .roadmap-swiper .swiper-slide {
    width: calc(100% / 2);
  }
}
@media (max-width: 780px) {
  .home .section-title {
    width: 100% !important;
    max-width: 100%;
  }
  .home .why-g2g {
    .why-head .section-left {
      max-width: 100%;
      width: 100%;
    }
  }
  .home .review-top {
    gap: 1rem;
    flex-direction: column;
  }
  .home .hero {
    margin-bottom: 0;
    max-height: auto;
    .hero-inner {
      max-width: 85%;
      h1 {
        font-size: 2rem;
      }
    }
  }
}
@media (max-width: 750px) {
  .news-grid {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  /* "Xem tất cả" / mũi tên prev-next xuống dòng, không đủ chỗ đứng cạnh tiêu đề */
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .schedule-swiper .swiper-slide {
    width: calc(100% / 1.5);
  }

  .jobs-swiper .swiper-slide {
    width: calc(100% / 1.5);
  }

  .gallery-swiper .swiper-slide {
    width: calc(100% / 1.5);
  }

  .faq-layout {
    flex-direction: column;
    gap: 1rem;

    > div:first-child {
      max-width: unset;
    }
  }

  .faq-contact-card {
    display: none;
  }

  .review-swiper .swiper-slide {
    width: calc(100% / 1);
  }

  .review-card {
    flex-direction: column;
    height: auto;

    > img {
      width: 100%;
      aspect-ratio: 16/9;
    }
  }

  .review-quote {
    @include line-truncate(5, 1.4375rem);
  }

  .roadmap-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .service-a {
    flex-direction: column;

    img {
      width: 100%;
      height: auto;
      aspect-ratio: 16/9;
    }
  }
}
@media (max-width: 650px) {
  .home .hero {
    padding: 2rem;
    &.hero-inner {
      max-width: 80%;
      h1 {
        font-size: 1.5rem;
        line-height: 2rem;
      }
    }
  }
}
@media (max-width: 550px) {
  .hero {
    min-height: 600px;

    h1 {
      font-size: 2.2rem;
      font-weight: 400;
    }

    .lead {
      font-size: 0.8rem;
    }
  }

  .hero-experts {
    margin-top: 3rem;
  }

  .avatar-row p {
    font-size: 0.8rem;
  }

  .partners-swiper .swiper-slide {
    width: calc(100% / 2);
  }

  .about-features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .job-card {
    min-height: 25.875rem;

    h3 {
      font-size: 1.5rem;
      line-height: 1.8rem;
    }
  }

  .job-meta li {
    font-size: 0.875rem;
    line-height: 1.35rem;
  }

  .nav-slide {
    display: none;
  }

  .link-all {
    font-size: 0.875rem;
    gap: 0.75rem;
  }

  .related-card img {
    max-width: 9.375rem;
  }

  .program-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .roadmap-swiper .swiper-slide {
    width: calc(100% / 1.25);
  }

  .step-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 450px) {
  .g2g-minicon {
    width: 1.5rem;
    height: 0.5rem;
  }

  .hero {
    min-height: 530px;

    .eyebrow {
      font-size: 0.8rem;
    }

    h1 {
      font-size: 1.8rem;
      font-weight: 400;
    }
  }

  .avatar-row p {
    display: none;
  }

  .partners-swiper img {
    height: 2rem;
  }

  .schedule-swiper .swiper-slide {
    width: calc(100% / 1);
  }
}
