.acf-projects-app {
  width: 100%;
  background: #fff;
  font-family: inherit;
}

.acf-projects-map {
  width: 100%;
  min-height: 320px;
  background: #f1f1f1;
}

.acf-projects-panel {
  padding: 30px 30px 20px;
  border: 1px solid #ddd;
  border-top: none;
}

.acf-projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.acf-projects-filter {
  display: flex;
  align-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.acf-projects-active-service {
  background: #0c953f;
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  line-height: 1;
}

.acf-projects-select {
  border: none;
  background: #fff;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 16px;
  outline: none;
  cursor: pointer;
}

.acf-projects-locations-title {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.acf-projects-locations {
  line-height: 2.05;
}

.acf-projects-location-btn {
  display: inline;
  background: none;
  border: none;
  color: #07983d;
  font-size: 17px;
  line-height: 1.5;
  text-decoration: underline;
  margin: 0 18px 0 0;
  padding: 0;
  cursor: pointer;
}

.acf-projects-location-btn:hover,
.acf-projects-location-btn.is-active {
  color: #05692c;
  font-weight: 700;
}

.acf-projects-results {
  padding: 28px 0;
}

.acf-projects-wrap {
  display: flex;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}

.acf-projects-col {
  width: 33.333%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.acf-project-card-wrap {
  width: 100%;
}

.acf-project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
}

.acf-project-card.is-showcase {
  box-shadow: 0 4px 20px rgba(69, 92, 255, 0.25);
}

.acf-project-label {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #6c70ff;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.acf-project-label-icon {
  font-size: 10px;
}

.acf-project-slider {
  width: 100%;
  height: 250px;
  background: #eee;
  overflow: hidden;
}

.acf-project-slider .swiper-button-prev,
.acf-project-slider .swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: all .2s ease;
  z-index: 5;
}

/* скрываем стандартные стрелки Swiper */
.acf-project-slider .swiper-button-prev:after,
.acf-project-slider .swiper-button-next:after {
  content: '';
}

/* делаем свои стрелки */
.acf-project-slider .swiper-button-prev::before,
.acf-project-slider .swiper-button-next::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* стрелка влево */
.acf-project-slider .swiper-button-prev::before {
  transform: rotate(-135deg);
}

/* стрелка вправо */
.acf-project-slider .swiper-button-next::before {
  transform: rotate(45deg);
}

/* показываем при ховере */
.acf-project-card:hover .swiper-button-prev,
.acf-project-card:hover .swiper-button-next {
  opacity: 1;
}

/* позиции */
.acf-project-slider .swiper-button-prev {
  left: 10px;
}

.acf-project-slider .swiper-button-next {
  right: 10px;
}

.acf-project-slider .swiper-wrapper {
  height: 100%;
}

.acf-project-slider .swiper-slide {
  height: 100%;
}

.acf-project-slider a {
  display: block;
  width: 100%;
  height: 100%;
}

.acf-project-slider img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
}

.acf-project-slider .swiper-button-prev,
.acf-project-slider .swiper-button-next {
  color: #fff;
  width: 34px;
  height: 34px;
  opacity: 0;
  transition: opacity .2s ease;
}

.acf-project-card:hover .swiper-button-prev,
.acf-project-card:hover .swiper-button-next {
  opacity: 1;
}

.acf-project-slider .swiper-button-prev:after,
.acf-project-slider .swiper-button-next:after {
  font-size: 24px;
  font-weight: 700;
}

.acf-project-slider .swiper-pagination {
  bottom: 10px !important;
}

.acf-project-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: .75;
}

.acf-project-slider .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

.acf-project-body {
  padding: 18px 20px 22px;
}

.acf-project-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #777;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.acf-project-location {
  max-width: 60%;
}

.acf-project-date {
  white-space: nowrap;
}

.acf-project-title {
  margin: 0 0 12px;
  color: #111;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.acf-project-text {
  color: #111;
  font-size: 17px;
  line-height: 1.42;
  margin-bottom: 18px;
}

.acf-project-google-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.acf-project-review {
  margin-top: 18px;
}

.acf-project-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acf-project-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b2cff, #f05a9d);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.acf-project-review-main {
  min-width: 0;
}

.acf-project-review-stars-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.acf-project-google-icon {
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  color: #4285f4;
  font-family: Arial, sans-serif;
}

.acf-project-stars {
  color: #ffb400;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
}

.acf-project-review-author {
  color: #111;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  margin-top: 4px;
}

.acf-project-review-text {
  color: #111;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 10px;
}

.acf-project-response {
  margin-top: 14px;
  background: #f3f3f3;
  border-radius: 8px;
  padding: 18px;
}

.acf-project-response-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #111;
  font-size: 15px;
  margin-bottom: 12px;
}

.acf-project-response-head span {
  color: #666;
  white-space: nowrap;
}

.acf-project-response-text {
  color: #111;
  font-size: 16px;
  line-height: 1.45;
}

.acf-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.acf-project-tags span {
  display: inline-flex;
  background: #e4e4e4;
  color: #111;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.acf-projects-empty {
  padding: 40px 20px;
  text-align: center;
  background: #f6f6f6;
  border-radius: 12px;
  color: #555;
  font-weight: 700;
}

.acf-project-info-window {
  font-size: 14px;
  line-height: 1.4;
  max-width: 220px;
}

.acf-project-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

html {
    scrollbar-gutter: stable;
}

html.with-fancybox,
html.with-fancybox body {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}

body.is-using-fancybox,
body.fancybox-active {
  height: auto !important;
  overflow: visible !important;
}

@media (max-width: 1024px) {
  .acf-projects-wrap {
    gap: 18px;
  }

  .acf-projects-col {
    gap: 18px;
  }

  .acf-project-slider,
  .acf-project-slider img {
    height: 220px;
  }

  .acf-project-text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .acf-projects-panel {
    padding: 22px 18px 18px;
  }

  .acf-projects-filter-bar {
    gap: 12px;
  }

  .acf-projects-filter {
    width: 100%;
    justify-content: space-between;
  }

  .acf-projects-select {
    width: 100%;
  }

  .acf-projects-wrap {
    display: block;
  }

  .acf-projects-col {
    width: 100%;
    max-width: 100%;
    gap: 18px;
  }

  .acf-projects-col + .acf-projects-col {
    margin-top: 18px;
  }

  .acf-projects-col:empty {
    display: none;
  }

  .acf-project-slider,
  .acf-project-slider img {
    height: 230px;
  }

  .acf-project-meta {
    font-size: 13px;
  }

  .acf-project-title {
    font-size: 18px;
  }

  .acf-project-text {
    font-size: 16px;
  }

  .acf-projects-location-btn {
    font-size: 16px;
  }
}