@media (min-width: 20em) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  /* .feature-wrapper {
    margin-top: -40px;
  } */

  .home-message-wrapper {
    background-size: auto 100%;
  }

  .photo-image a img {
    height: 120px;
  }

  .events-image a img {
    height: 90px;
  }

  .copy-text {
    text-align: center;
  }

  .wc-text {
    text-align: center;
  }
}

@media (min-width: 48em) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  /* .feature-wrapper {
    margin-top: -40px;
  } */

  .home-message-wrapper {
    background-size: auto 100%;
  }

  .photo-image a img {
    height: 120px;
  }

  .events-image a img {
    height: 90px;
  }

  .copy-text {
    text-align: center;
  }

  .wc-text {
    text-align: center;
  }
}

@media (min-width: 64em) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  /* .feature-wrapper {
    margin-top: -90px;
  } */

  .home-message-wrapper {
    background-size: 100% auto;
  }

  .photo-image a img {
    height: 160px;
  }

  .events-image a img {
    height: 120px;
  }

  .copy-text {
    text-align: left;
  }

  .wc-text {
    text-align: right;
  }
}

@media (min-width: 85.375em) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  /* .feature-wrapper {
    margin-top: -90px;
  } */

  .home-message-wrapper {
    background-size: 100% auto;
  }

  .photo-image a img {
    height: 160px;
  }

  .events-image a img {
    height: 120px;
  }

  .copy-text {
    text-align: left;
  }

  .wc-text {
    text-align: right;
  }
}

@media (min-width: 120em) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  /* .feature-wrapper {
    margin-top: -90px;
  } */

  .home-message-wrapper {
    background-size: 100% auto;
  }

  .photo-image a img {
    height: 160px;
  }

  .events-image a img {
    height: 120px;
  }

  .copy-text {
    text-align: left;
  }

  .wc-text {
    text-align: right;
  }
}

@media (min-width: 160em) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  /* .feature-wrapper {
    margin-top: -90px;
  } */

  .home-message-wrapper {
    background-size: 100% auto;
  }

  .photo-image a img {
    height: 160px;
  }

  .events-image a img {
    height: 120px;
  }

  .copy-text {
    text-align: left;
  }

  .wc-text {
    text-align: right;
  }
}

/* ===================================
NEW
=================================== */

@media(max-width:991px) {

  .copy-text,
  .wc-text {
    text-align: center;
    justify-content: center;
    margin-bottom: 15px;
  }

  .visitor-counter {
    margin-bottom: 15px;
  }

}

/* ===================================
EVENT BOX RESPONSIVE
=================================== */

@media (min-width: 20em) {

  .event-content {
    gap: 8px;
    align-items: flex-start;
  }

  .notice-data {
    gap: 8px;
  }

  .notice-data img {
    width: 60px;
    height: 50px;
  }

  .event-title {
    font-size: 11px;
    line-height: 1.3;
  }

  .event-desc {
    display: none;
  }

  .event-date {
    font-size: 10px;
  }

  .auto-scroll {
    height: 350px;
  }
}

@media (min-width: 48em) {

  .notice-data img {
    width: 75px;
    height: 60px;
  }

  .event-title {
    font-size: 13px;
  }

  .event-desc {
    display: block;
    font-size: 11px;
    line-height: 1.4;
  }

  .event-date {
    font-size: 11px;
  }

  .auto-scroll {
    height: 400px;
  }
}

@media (min-width: 64em) {

  .notice-data img {
    width: 90px;
    height: 70px;
  }

  .event-title {
    font-size: 14px;
  }

  .event-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .event-date {
    font-size: 11px;
  }

  .auto-scroll {
    height: 450px;
  }
}

/* ==============================
============= sidebar ==================== */


@media (max-width: 991px) {
    .sidebar-box {
        position: static;
        margin-bottom: 20px;
    }
}


/* ======================
TABLET
====================== */

@media (max-width: 991px) {

    .testimonial-slider {
        padding: 0 20px;
    }

    .testimonial-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .testimonial-card {
        min-height: 280px;
    }
}

/* ======================
MOBILE
====================== */

@media (max-width: 767px) {

    .testimonial-wrapper {
        padding: 40px 0;
    }

    .testimonial-slider {
        padding: 0;
    }

    .testimonial-track {
        gap: 15px;
        padding: 10px 15px 20px;
    }

    .testimonial-item {
        flex: 0 0 85%;
        max-width: 85%;
        min-width: 85%;
    }

    .testimonial-card {
        padding: 18px;
        min-height: auto;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.8;
    }

    .testimonial-user h4 {
        font-size: 16px;
    }

    .testimonial-arrow {
        display: none;
    }
}

/* ======================
SMALL MOBILE
====================== */

@media (max-width: 480px) {

    .testimonial-item {
        flex: 0 0 92%;
        max-width: 92%;
        min-width: 92%;
    }

    .testimonial-user img {
        width: 55px;
        height: 55px;
    }

    .testimonial-user h4 {
        font-size: 15px;
    }
}