@media (max-width: 1250px) {
  .about-palpa {
    flex-direction: column-reverse;
    gap: 0 !important;
  }

  .banner__img {
    aspect-ratio: unset;
  }

  .about-palpa .content-wrapper {
    width: 100%;
    margin: 0;
  }

  .about-palpa {
    margin-bottom: 0 !important;
  }

  .program-activities-section::before {
    content: unset;
  }

  .content-area p {
    margin-bottom: 0;
  }

  .image-wrapper.single-image img {
    margin-top: 10px;
  }

  .about-palpa:nth-child(even) .content-wrapper {
    order: 0;
  }

  .site-footer::before {
    content: unset;
  }

  .img-gallery .gallery-columns-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1205px) {
  .feature-content-wrap>h2 {
    line-height: 28px;
  }
}

@media (max-width: 1200px) {
  .main-navigation .menu-primary-container>ul {
    display: none;
  }

  .main-navigation>div>ul {
    display: none;
  }

  .menu-bar {
    display: block;
  }

  .site-footer .uk-container::after {
    display: none;
  }
}

@media (max-width: 1120px) {
  .subscribe-btn {
    flex-direction: column;
  }

  .video-gallery .video-wrapper:first-child {
    grid-column: unset;
    grid-row: unset;
    height: unset;

  }

  .video-gallery .video-wrapper:first-child img,
  .video-gallery .video-wrapper img {
    width: 100%;
    height: 240px;
  }

  .video-gallery .video-wrapper:first-child p {
    position: unset;
    width: unset;
    color: #000;
    font-size: 22px;
    opacity: 0.85;
  }

  .gallery .video-wrapper:first-child .featured-image {
    height: unset;
  }
  .video-gallery .gallery-columns-4 {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 960px) {
  .site-header .custom-logo {
    width: 95px;
  }

  .subscribe-btn {
    flex-direction: row;
  }

  .about-section {
    padding-bottom: 60px;
  }

  .about-gallery-container img {
    border-radius: 20px;

    width: 100%;
    object-fit: cover;
    height: 100%;
  }

  .about-gallery-container img:last-child {
    display: none;
  }

  .about-gallery-container img:nth-child(2) {
    display: none;
  }

  .viewmore-btn {
    margin-top: 20px;
  }

  .readmore-btn {
    margin-bottom: 20px;
  }

  .uk-offcanvas-bar ul li>a {
    border-radius: 0;
  }

  .service-wrap>div:nth-child(2n) .service-container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px;
  }

  .service-wrap>div:nth-child(odd) .service-container {
    padding-left: 0;
    max-width: 450px;
    margin-top: 10px;
  }

  .service-wrap {
    padding: 0;
  }

  .service-wrap>div:nth-child(odd) .service-card img,
  .service-wrap>div:nth-child(even) .service-card img {
    border-radius: 14px;
  }
  .events-container .btn,
  .news-container .btn {
  display: none;
}
.news-container .viewmore-btn.a,
.our-events-section .viewmore-btn.a  {
  display: block;
}
}

@media (max-width: 949px) {
  .footer-container.footer-widget {
    width: 25% !important;
  }
}

@media (max-width: 850px) {
  .about-gallery-container img:last-child {
    right: 35%;
    top: 28px;
  }

  .flag-contact-wrap img {
    display: none;
  }

  .button {
    display: none;
  }
 footer .mail_button .button {
    display: flex;
  }
  footer .mail_button  {
    margin-top: 15px;
  }
  .uk-offcanvas-bar .button {
    display: block;
    margin-top: 30px;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  /* .service-container {
    margin-top: 30px;
  } */

  .service-wrap>div:nth-child(2n) .service-container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 8px;
  }


  .text-clamp {
    -webkit-line-clamp: 3;
  }

  .content-area p {
    text-align: left;
  }

  .service-wrap>div:nth-child(odd) .service-container {
    padding-left: 0;
    max-width: 450px;
    margin-top: 8px;
  }

  .service-container h3 {
    font-size: 27px;
  }

  .banner-container {
    position: static;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #1e1e1e;
    padding: 30px 16px;
    margin: 0;
  }

  .banner-container.a {
    background-color: unset;
    position: absolute;
    margin-bottom: 15px;
  }

  .banner-container.a .banner-text>h2 {
    color: #ffff;
  }

  .event-card>a>img {
    border-radius: 12px;
  }

  .event-card>a {
    display: block;
    /* flex: 1; */
  }

  .our-events-section>div:last-child>div :first-child>.event-content>h3>a {
    font-size: 28px;
    line-height: 1.2;
  }

  .event-container {
    margin-top: 10px;
  }

  .event-wrap {
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .event-content h3 {
    font-size: 20px;
  }

  .banner-container::after {
    display: none;
  }

  .feature-section {
    margin: 0;
  }

  .banner-text>h2 {
    color: #000;
    font-size: 40px;
    line-height: 50px;
  }

  .banner-text>p {
    color: #000;
    font-size: 14px;
    line-height: 22px;
  }

  .explore-btn a {
    box-sizing: border-box;
    padding: 12px 30px;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: var(--green);
  }

  .banner-section {
    background-color: rgba(239, 254, 250, 1);
    height: auto;
  }

  .banner-container {
    background-color: rgba(239, 254, 250, 1);
  }

  .banner-container.a {
    background-color: none;
  }

  /* .banner-img img {
    aspect-ratio: 16/9;
  } */

  .banner-img img,
  .banner-img {
    height: auto;
  }
  .banner-img {
    position: relative;
  }

  .banner-img::after {
    background: linear-gradient(20deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

  .event-card>div {
    font-size: 14px;
    width: 500px;
  }

  .event-card>div.date-wrap {
    width: fit-content;
    margin: 0;
  }

  .site-info>div>.uk-grid.uk-grid-small:last-child {
    flex: 100%;
  }

  .about-gallery-container img:last-child {
    display: none;
  }

  .feature-container>div {
    display: flex;
    gap: 16px;
    /* align-items: center; */
    flex-direction: column;
    align-items: flex-start;
  }

  .img-gallery .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .date_time_section {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .time{
    display: flex;
  }
  
}

@media (max-width: 641px) {
  .footer-sticky .contact-btn {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .feature-container>div {
    display: flex;
    gap: 16px;
    /* align-items: center; */
    flex-direction: row;
    align-items: normal;
  }

  .footer-sticky.active {
    visibility: visible;
    border-top: 1px solid #c0bebe9e;
  }

  .info-header {
    display: none;
  }

  .site-header.sticky {
    padding-top: 10px;
  }

  .site-footer {
    padding-bottom: 70px;
  }

  .site-info-bottom>div {
    flex-direction: column;
    gap: 10px;
  }

  .about-palpa .image-wrapper {
    display: block;
  }

  h2 {
    font-size: 36px;
    letter-spacing: -0.03em;
    line-height: 40px;
  }

  .banner-container {
    position: static;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(239, 254, 250, 1);
    padding: 30px 16px;
    margin: 0;
  }

  .banner-text>h2,
  .banner-text>p {
    color: #000;
  }

  .event__section--page {
    margin-bottom: 40px;
  }

  .uk-grid-divider {
    color: #09665b80;
  }
    .video-gallery .gallery-columns-4 {
  grid-template-columns: repeat(2, 1fr);
} 
}

@media (max-width: 490px) {
  .heading-wrap h2 {
    font-size: 30px;
    letter-spacing: -0.03em;
    line-height: 32px;
  }

  .about-section p {
    width: 100%;
    font-size: 13px;
    font-weight: 400;
  }

  .site-header.sticky {
    padding-top: 0;
    margin: -2px;
  }

  .about-gallery-container img,
  .gallery .group img {
    width: 100%;
  }

  .mission {
    padding: 0 !important;
  }

  .team__all .content-wrapper h2 {
    margin-bottom: 70px;
  }

  /* .footer-sticky {
    display: block;
  } */
  .banner-text>h2 {
    font-size: clamp(30px, 4vw, 72px);
    line-height: 40px;
  }

  .banner-btn-wrap {
    align-items: center;
  }

  .info-header-container>div>a {
    color: var(--text-1);
    font-size: 12px;
  }

  .section {
    padding: 20px 0;
  }

  h2 {
    font-size: 29px;
    line-height: 34px;
  }

  p {
    font-size: 14px;
    line-height: 20px;
  }

  .site-header .custom-logo {
    width: 75px;
    padding: 5px 0;
  }

  .site-header .custom-logo-link {
    margin-top: 10px;
  }

  .card__content .the__content ul {
    padding-left: 0 !important;
  }

  .main-navigation .menu-primary-container>ul {
    display: none;
  }

  .uk-section {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .content-area p {
    font-size: 16px;
  }

  figure {
    margin: 0 !important;
  }

  .our-teams .uk-grid-medium>.uk-grid-margin {
    margin-top: 0 !important;
  }

  .menu-bar {
    display: block;
  }

  .feature-content-wrap>h2 {
    line-height: 24px;
  }

  .flag-contact-wrap img {
    display: none;
  }

  .donate-btn,
  .explore-btn {
    max-width: 100%;
  }

  .donate-btn a,
  .explore-btn a {
    padding: 10px 24px;
    font-size: 12px;
  }

  .service-wrap>div:nth-child(odd) .service-card img,
  .service-wrap>div:nth-child(even) .service-card img,
  .event-card img,
  .article-card {
    border-radius: 8px;
  }

  .date-wrap {
    border-radius: 8px 0 0;
  }

  .article-card>a>img {
    border-radius: 8px 8px 0 0;
  }

  .about-section {
    padding-bottom: 40px;
  }

  .about-gallery-container img:nth-child(2),
  .about-gallery-container img:last-child {
    display: none;
  }

  .viewmore-btn a {
    padding: 11px 20px;
    font-size: 12px;
  }

  /* .program-container {
    margin-top: 20px;
  } */
  .program-card {
    width: 100%;
  }

  .events-container .btn {
    margin-bottom: 10px;
  }

  .member-wrapper {
    width: 85%;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .our-events-section,
  .program-activities-section {
    padding-bottom: 30px;
  }

  .program-card>div {
    max-width: 500px;
    padding: 5px;
    margin-top: 18px;
  }

  .program-card>div>p {
    font-size: 12px;
    line-height: 16px;
    margin-top: 5px;
  }

  .program-card>div>h3 {
    font-size: 20px;
    line-height: 22px;
    margin: 0;
  }

  .event-card>a>img,
  .event-card>a {
    max-width: 140px;
    border-radius: 8px;
    min-width: 140px;
  }

  .event-card>div {
    margin-left: 14px;
  }

  .event-content>p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--text);
    opacity: 0.85;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .event-card {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 0;
    margin-bottom: 20px;
  }

  .contact-btn a {
    font-size: 10px;
  }

  .flag-contact-wrap>div>.contact-btn>a {
    display: none;
  }

  .about-gallery-container img {
    border-radius: 10px;
  }

  .service-wrap>div:nth-child(2) {
    margin-left: 2px;
  }

  .event-wrap>div,
  .event-wrap>div>a {
    font-size: 13px;
  }

  .event-wrap {
    border-bottom: unset;
    margin-bottom: unset;
    padding-bottom: unset;
  }

  .event-content {
    padding-bottom: 32px;
  }

  .event-content.a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .site-info-bottom {
    padding: 20px 0;
  }

  .site-info-bottom>div {
    gap: 0px;
  }

  .viewmore-btn {
    display: none;
  }

  .viewmore-btn.a {
    display: block;
    text-align: center;
  }

  .service-wrap {
    padding: 0;
  }

  .program-activities-section>div>.uk-grid :last-child {
    margin-top: 5px;
  }

  .event-content h3 {
    margin-bottom: unset;
    margin-top: 0;
  }

  .event-container {
    margin-top: 0px;
  }

  .site-info>div>div {
    gap: 20px;
  }

  .article-container {
    margin: 20px 0 40px;
  }

  .section.uk-container.mb>h2 {
    margin-left: 12px;
  }

  .service-section>div>.service-wrap>div>div:last-child {
    margin-bottom: 0;
  }

  .service-wrap.wrap>div>div:last-child {
    margin-bottom: 20px;
  }

  .about-us-section .content-wrapper {
    margin-top: 10px;
  }

  /* .service-wrap> div {
  margin-bottom: 20px;
} */   .video-gallery .gallery-columns-4 {
  grid-template-columns: 1fr;
}
 
}

@media (max-width: 455px) {
  .image-wrapper.single-image img {
    height: 300px;
  }
  /* #st-1 .st-btn > img {
  display: inline-block;
  height: 12px;
  width: 10px;
  position: relative;
  top: 50%;
  vertical-align: top;
  transform: translateY(-50%);
  } */
}

@media (max-width: 400px) {

  /* .feature-container {
    margin-top: 70px;
  } */
  .event-card {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 0;
    margin-bottom: 20px;
  }

  .img-gallery .gallery-columns-4 {
    grid-template-columns: 1fr;
  }

}