@media screen and (max-width: 1800px) {
  .events-section > .wrapper {
    column-gap: 5%;
  }
}

@media screen and (max-width: 1650px) {
  .banner .wrapper {
    width: 90%;
  }

  .home .featured-page,
  .home .link {
    padding-inline: 21%;
    width: unset;
  }

  .home .featured-page .main-image,
  .home .link .main-image {
    width: 100%;
    height: auto;
  }

  .featured-course .text {
    width: auto;
  }

  .cta-strip .wrapper {
    gap: 15%;
    width: 90%;
  }

  .home .links .wrapper {
    width: 90%;
  }

  .featured-courses .wrapper {
    width: 90%;
  }

  .text-section .wrapper {
    width: 95%;
  }

  footer .wrapper {
    width: 90%;
  }

  .footer-end .wrapper {
    width: 90%;
  }

  header .wrapper {
    width: 90%;
  }

  header .main-nav > ul > li > a {
    font-size: 13px;
  }

  .values .wrapper {
    width: 90%;
  }

  .calendar > .wrapper {
    width: 90%;
  }

  .values::before {
    max-width: 28%;
  }

  .meet-the-team .introduction .wrapper {
    width: 90%;
  }

  header .main-nav > ul > li:last-child {
    margin-left: 50px;
  }

  .the-team .wrapper {
    width: 90%;
  }

  .single-course .sections .wrapper {
    width: 90%;
  }

  .single-course .introduction .wrapper {
    width: 95%;
  }

  .archive .wrapper {
    width: 90%;
  }

  .contact-section .text {
    padding-right: 11%;
    padding-left: 6%;
  }

  .calendar .heading > .wrapper {
    width: 90%;
  }
}

@media screen and (max-width: 1500px) {
  .calendar > .wrapper {
    width: 95%;
  }

  .calendar .heading > .wrapper {
    width: 95%;
  }

  .events-section .wrapper {
    column-gap: 15px;
  }

  .events-section .event .main-image {
    width: 379px;
  }

  .calendar .searchandfilter .sf-field-taxonomy-event-category label {
    padding-inline: 10px;
  }

  .calendar .sf-field-post-meta-event_year select {
    top: 70px;
    right: 23%;
  }

  .calendar .heading h1 {
    font-size: 55px;
  }

  .archive .item {
    width: 100%;
  }

  .archive .item .main-image {
    width: auto;
  }

  header .container {
    width: 72%;
    gap: 5%;
    margin-top: 90px;
    margin-left: 15%;
  }

  .archive .wrapper {
    width: 95%;
    column-gap: 1%;
  }
}

@media screen and (min-width: 1280px) {
  html {
    overflow-y: auto !important;
  }

  .burger-menu {
    display: none;
  }
}

@media screen and (max-width: 1280px) {
  header {
    position: relative;
    z-index: 2000;
  }

  header nav {
    display: none;
  }

  header .wrapper {
    justify-content: end;
  }

  header .burger {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    height: 30px;
    width: 50px;
    justify-content: space-between;
  }

  header .burger rect {
    background: #135320;
    height: 30%;
    width: 100%;
    height: 10%;
    border-radius: 100px;
    transition: transform 0.5s;
  }

  header .burger.active rect:nth-child(1) {
    transform: translate(0, 425%) rotate(45deg);
  }

  header .burger.active rect:nth-child(2) {
    opacity: 0;
  }

  .banner .logo {
    filter: none !important;
  }

  header .burger.active rect:nth-child(3) {
    transform: translate(0, -425%) rotate(-45deg);
  }

  body:has(.burger-menu.open) .banner .logo {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2029%)
      hue-rotate(129deg) brightness(112%) contrast(112%);
  }

  .text-section .text {
    width: 100%;
  }

  .archive .item .main-image {
    width: 100%;
    height: 450px;
  }

  .calendar .searchandfilter .sf-field-taxonomy-event-category label {
    width: 100%;
  }

  .info-grid img {
    width: 100%;
    height: auto;
  }

  .calendar > .wrapper {
    width: 90%;
  }

  .calendar .heading > .wrapper {
    width: 90%;
  }

  .events-section .event .main-image {
    width: 100%;
    height: 450px;
    margin-bottom: 25px;
  }

  .calendar .filter {
    display: flex !important;
    gap: 15px;
    margin-top: 50px;
    color: #135320;
  }

  .calendar .filter img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(17%) saturate(2535%)
      hue-rotate(82deg) brightness(101%) contrast(88%);
  }

  .calendar .searchandfilter {
    display: none;
    margin-top: 25px;
  }

  .calendar .sf-field-post-meta-event_year select {
    position: static;
    width: 100%;
  }

  .calendar .sf-field-post-meta-event_month select {
    position: static;
    width: 100%;
  }

  .calendar .sf-field-post-meta-event_month label {
    width: 100%;
  }

  .calendar .sf-field-post-meta-event_year label {
    width: 100%;
  }

  .calendar .searchandfilter .sf-field-taxonomy-event-category ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
  }

  .events-section .wrapper {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }

  .burger-menu .container {
    position: absolute;
    top: 150px;
    left: 5%;
    width: 85%;
    gap: 50px;
    padding-bottom: 50px;
  }

  .burger-menu .contact {
    gap: 15px;
    color: white;
  }

  .burger-menu .contact .social-media {
    gap: 15px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2029%)
      hue-rotate(129deg) brightness(112%) contrast(112%);
  }

  .mobile-nav ul {
    gap: 15px;
  }

  .mobile-nav ul li {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    color: #135320;
    background: white;
    border-radius: 5px;
    padding: 10px;
    transition: opacity 0.3s;
    cursor: pointer;
  }

  .mobile-nav .menu-item-has-children {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .mobile-nav .menu-item-has-children::after {
    filter: brightness(0) saturate(100%) invert(49%) sepia(71%) saturate(454%)
      hue-rotate(121deg) brightness(85%) contrast(79%);
    position: absolute;
    right: 10px;
    top: 12px;
  }

  .mobile-nav ul li:has(.sub-menu.open):hover {
    opacity: 1;
    transition: 0.3s;
  }

  .mobile-nav .sub-menu li {
    font-size: 16px;
  }

  .mobile-nav ul li:has(.sub-menu.open)::after {
    transform: rotate(180deg);
  }

  .mobile-nav .sub-menu {
    margin-left: -5px;
    margin-top: 10px;
  }

  .mobile-nav ul li:hover {
    opacity: 0.6;
  }

  .burger-menu {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 102%;
    background-color: #289383;
    left: 0;
    top: 0;
    overflow: scroll;
  }

  .single-course .introduction .text {
    width: 100%;
  }

  .home .articles {
    margin-top: 0;
  }
  .home .link {
    align-items: start !important;
  }

  .home .link .main-image {
    margin-bottom: 25px;
  }

  .home .featured-pages .wrapper,
  .home .links .wrapper {
    grid-template-columns: 1fr;
  }

  .home .featured-page,
  .home .link {
    align-items: center;
    padding-inline: 0px;
    width: 100%;
  }

  .home .featured-page .container,
  .home .link .container {
    width: 90%;
  }

  .featured-course {
    flex-direction: column;
  }

  .featured-course .main-image {
    width: 100%;
    height: 400px;
  }

  .cta-strip .wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-strip .text {
    align-items: center;
  }

  .cta-strip .title {
    margin-bottom: 25px;
  }

  .cta-strip.one .title {
    color: white;
  }

  .cta-strip.two .title {
    color: #135320;
  }

  .cta-strip::before {
    display: none;
  }

  h1 {
    font-size: 35px !important;
  }

  .banner .title {
    width: 90% !important;
    padding-inline: 0;
  }

  .featured-courses {
    padding-block: 50px;
  }

  .text-section {
    padding-block: 50px;
    margin: 0;
  }

  .text-section .main-image {
    align-self: start;
    width: 100%;
  }

  .meet-the-team .introduction .main-image {
    width: 100%;
    height: 400px;
    object-position: 50% 23%;
    object-fit: cover;
  }

  .text-section .wrapper {
    flex-direction: column !important;
    width: 90%;
    gap: 50px !important;
    align-self: center !important;
    margin-block: 0 !important;
  }

  .home .link:nth-child(2n) > * {
    transform: unset;
  }

  .home .featured-page:nth-child(2n) .container {
    transform: unset;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid .item {
    padding-inline: 5%;
  }

  .values::before {
    display: none;
  }

  .values .wrapper {
    flex-direction: column;
  }

  .values .title {
    color: white;
  }

  .values .grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 25px;
    margin-block: 25px;
  }

  .ribbon {
    height: 51px;
    width: 248px;
  }

  .ribbon p {
    font-size: 19px;
  }

  .meet-the-team .introduction .wrapper {
    flex-direction: column;
  }

  .the-team .rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: unset;
  }

  .meet-the-team .introduction {
    padding-block: 50px;
  }

  .the-team .row:has(> :nth-child(2)):not(:has(> :nth-child(3))) {
    gap: 50px !important;
  }

  .meet-the-team .introduction .wrapper {
    gap: 50px;
  }

  .the-team .row {
    flex-direction: column;
  }

  .single-course .sections .wrapper {
    grid-template-columns: 1fr;
  }

  .single-course .introduction {
    padding-block: 50px;
  }

  .circle {
    z-index: -1;
  }

  .home .featured-page .text {
    width: 100%;
  }

  .cta-strip {
    padding-block: 50px;
  }

  .single-course .introduction .wrapper {
    flex-direction: column;
    align-self: center;
    align-items: start;
    width: 90%;
    gap: 25px;
  }

  .single-course .sections {
    padding-block: 50px;
  }

  .single-course .title {
    font-size: 25px;
  }

  .archive .wrapper {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 50px;
  }

  .archive .item {
    width: 100%;
  }

  .contact-section .wrapper {
    flex-direction: column;
  }

  .contact-section .text {
    width: 100%;
    padding-left: 5%;
  }

  .contact-section .form {
    width: 100%;
  }

  .gform_wrapper {
    width: 90%;
  }

  .single-course .main-image {
    width: 100%;
  }

  footer .wrapper {
    width: 90%;
    flex-direction: column;
    gap: 50px;
  }

  .footer-end .wrapper {
    flex-direction: column;
    padding-block: 25px;
  }

  .footer-end .wrapper span {
    display: none;
  }
}
