/*-- section 2 ---*/
.about {
  margin: 120px auto 180px;
}
.about h2 {
  text-align: center;
  color: rgba(140, 151, 137, 1);
}
.about_h2 {
  text-align: center;
  max-width: 1542px;
}
.about p {
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  text-align: center;
  padding: 20px;
}
/*-- section 3 ---*/

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-container img {
}




/*-- section 6 ---*/
.news {
  margin: 120px auto;
}
.news h2 {
  margin-bottom: 35px;
  text-align: center;
  color: rgba(140, 151, 137, 1);
}
.news_grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.news_grid-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(91, 91, 91, 1);
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.3);
}
.news_grid-item img {
  width: 100%;
  height: auto;
}
.news_grid-item .content {
  padding: 25px;
}
.news_grid-item .content h3 {
  margin-bottom: 10px;
  text-align: left;
  color: white;
}
.news_grid-item .content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}
.news .news_read-more {
  margin-top: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 24.38px;
  color: rgba(140, 151, 137, 1);
}
.news_read-more:hover {
  text-decoration: underline;
}
.news_read-more::after {
  content: url(/wp-content/themes/mytheme/images/main/arrow_right.webp);
  margin-left: 10px;
}
/* .news_read-more:hover {
  color: #fff;
  text-decoration: underline;
} */

/*-- section 7 ---*/
.faq {
  margin-bottom: 120px;
}
.faq h2 {
  color: rgba(140, 151, 137, 1);
}
.faq_question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.faq_grid-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  padding: 20px;
  border-bottom: 1px solid rgba(91, 91, 91, 1);
  cursor: pointer;
  position: relative;
}
.faq-item h3 {
  font-weight: 700;
}
.faq-item .icon {
  font-size: 16px;
  transition: transform 0.3s;
}
.faq-item.active .icon {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 20px;
}
.faq-item.active .faq-content {
  max-height: 200px;
}
.faq-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

@media (max-width: 1440px) {
  .grid-item .overlay {
    font-size: 24px;
    line-height: 30px;
  }
  .news_grid-item .content p {
    font-size: 14px;
    line-height: 20px;
  }
  .about p {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 1200px) {
  .about {
    margin: 120px auto;
  }
  .kerivnik {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }
  .image-container img {
    position: relative;
  }
  .text-container {
    padding: 0 20px;
    border-radius: 0px;
  }
  .text-container h2 {
    text-align: center;
  }
  .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 45%);
  }
  .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 45%);
  }
}
@media (max-width: 1024px) {
}
@media (max-width: 768px) {
  .about p {
    font-size: 16px;
    line-height: 22px;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .news_grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq h2 {
    text-align: center;
  }
  .faq_grid-container {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 42%);
  }
  .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 42%);
  }
  .testimonial_title_block {
    justify-content: space-around;
    padding-bottom: 7px;
  }
  .testimonial {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  .news_grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .news_grid-item {
    grid-column: span 2;
  }
  .news_grid-item:last-child {
    grid-column: 2 / span 2;
  }
}
@media (max-width: 576px) {
  .about,
  .activities,
  .news {
    margin: 60px auto;
  }
  .faq {
    margin-bottom: 60px;
  }
  .faq-item {
    padding: 10px;
  }
}
@media (max-width: 480px) {
  h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
  }
  .about p {
    font-size: 14px;
    line-height: 18px;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
  .testimonial-content p {
    font-size: 14px;
    line-height: 18px;
  }
  .news_grid-container {
    grid-template-columns: 1fr;
  }
  .news_grid-item {
    grid-column: auto;
  }
  .news_grid-item:last-child {
    grid-column: auto;
  }
  .text-container {
    padding: 0 0px;
  }
  .faq-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
  }
}
@media (max-width: 375px) {
  .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 38%);
  }
  .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 38%);
  }
}
