.projects-carousel-wrap {
  position: relative;
  padding-bottom: 52px;
}

.projects-slider {
  overflow: hidden;
}

.projects-slider .swiper-slide {
  height: auto;
}

.project-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e4e8ec;
  background: #fff;
}

.project-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.project-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.project-card-link h3 {
  min-height: 66px;
  margin: 0;
  padding: 14px 16px;
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.project-card-link:hover h3,
.project-card-link:focus-visible h3 {
  color: var(--accent-color);
}

.projects-carousel-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.projects-carousel-controls button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5dce2;
  background: #fff;
  color: var(--heading-color);
  cursor: pointer;
}

.projects-carousel-controls button:hover,
.projects-carousel-controls button:focus-visible {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #fff;
}

.projects-carousel-controls button.swiper-button-disabled,
.projects-carousel-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.projects-carousel-controls .swiper-button-lock {
  display: none;
}

.project-detail-image {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #f4f6f7;
}

.project-detail-copy h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.project-detail-copy p {
  margin-bottom: 24px;
}

@media (max-width: 575px) {
  .project-card-link h3 {
    min-height: 60px;
    font-size: 15px;
  }
}