.project-gallery-block {
  width: 100%;
  position: relative;
  padding: 3rem 0;
  background-color: #FFFDF4;
}
.project-gallery-block::before, .project-gallery-block::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #D7D4C1;
  z-index: 10;
  pointer-events: none;
}
.project-gallery-block::before {
  left: 5%;
}
.project-gallery-block::after {
  right: 5%;
}
@media (min-width: 769px) {
  .project-gallery-block {
    padding: 10rem 0 0;
  }
}
.project-gallery-block .project-gallery-container {
  width: 90%;
  margin: 0 auto;
  padding: 0 1.7rem;
  position: relative;
  border-bottom: 1px solid #D7D4C1;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container {
    max-width: 1400px;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-header {
    margin-bottom: 4rem;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-title {
  font-size: 2.9rem;
  line-height: 1;
  margin: 0;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-title {
    font-size: 4.3rem;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-prev,
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-next {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: #2D2C2A;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  padding: 0;
  overflow: hidden;
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-prev:hover,
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-next:hover {
  opacity: 0.8;
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-prev:disabled,
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-prev img,
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-next img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-prev img rect[fill],
.project-gallery-block .project-gallery-container .project-gallery-header .project-gallery-navigation .project-gallery-next img rect[fill] {
  fill: #2D2C2A !important;
}
.project-gallery-block .project-gallery-container .project-gallery-slider {
  position: relative;
  overflow: hidden;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-wrapper {
  display: flex;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card {
    width: 31.1rem;
    margin-right: 3.1rem;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card.project-gallery-mobile {
  display: flex;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card.project-gallery-mobile {
    display: none;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card.project-gallery-desktop {
  display: none;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card.project-gallery-desktop {
    display: flex;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-card-image {
  width: 100%;
  height: 20.4rem;
  position: relative;
  overflow: hidden;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-card-image .project-gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-card-image .project-gallery-image-wrapper img {
  position: absolute;
  width: 109.03%;
  height: 102.18%;
  left: -4.51%;
  top: -1.09%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-card-image .project-gallery-image-wrapper .project-gallery-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(197, 203, 138, 0.2);
  z-index: 1;
  pointer-events: none;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-content {
  width: 100%;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-content .project-gallery-caption {
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  text-align: right;
  color: #2D2C2A;
}
@media (min-width: 769px) {
  .project-gallery-block .project-gallery-container .project-gallery-slider .project-gallery-card .project-gallery-content .project-gallery-caption {
    font-size: 2.5rem;
  }
}
.project-gallery-block .project-gallery-container .project-gallery-slider .swiper-pagination-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 3rem;
  pointer-events: auto;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .swiper-pagination {
  display: flex !important;
  justify-content: center;
  gap: 0.9rem;
  position: static !important;
  width: auto !important;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .swiper-pagination-bullet-line {
  width: 1.8rem;
  height: 2px;
  background-color: #2D2C2A;
  cursor: pointer;
  transition: width 0.3s ease;
  opacity: 1 !important;
  display: block !important;
}
.project-gallery-block .project-gallery-container .project-gallery-slider .swiper-pagination-bullet-line-active {
  width: 3.1rem;
}
