.page-header-light {
  padding: 80px 0 60px;
  background-color: var(--clr-bg-light);
  text-align: center;
  border-bottom: 1px solid var(--clr-border-light);
}

.page-title-dark {
  color: var(--clr-bg-dark);
  font-size: 42px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title-dark span {
  color: var(--clr-accent);
}

.page-subtitle-dark {
  color: var(--clr-text-muted);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-page {
  background-color: var(--clr-bg-white);
  padding: 80px 0;
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.port-card-light {
  background-color: var(--clr-bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--clr-border-light);
  display: flex;
  flex-direction: column;
}

.port-visual-light {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: var(--clr-bg-light);
}

.port-visual-light img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
}

.port-info-light {
  padding: 30px;
  flex-grow: 1;
}

.port-item-title-light {
  color: var(--clr-bg-dark);
  font-size: 22px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.port-details-light {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.port-details-light li {
  font-size: 15px;
  color: var(--clr-text-main);
  line-height: 1.5;
}

.port-details-light span {
  color: var(--clr-accent);
  font-weight: 700;
  margin-right: 5px;
}

@media (max-width: 992px) {
  .portfolio-page-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .portfolio-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .port-visual-light {
    padding-top: 56.25%;
  }
}

@media (max-width: 576px) {
  .page-header-light {
    padding: 60px 0 40px;
  }
  .page-title-dark {
    font-size: 28px;
  }
  .port-info-light {
    padding: 20px;
  }
  .port-item-title-light {
    font-size: 18px;
  }
  .port-details-light li {
    font-size: 14px;
  }
}













/* --- Корректировки для интеграции Swiper --- */

.port-card-light {
  background-color: var(--clr-bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--clr-border-light);
  display: flex;
  flex-direction: column;
  min-width: 0; /* Не дает Swiper раздувать Grid-ячейку */
}

.port-visual-light.swiper {
  position: relative;
  width: 100%;
  padding-top: 60%; /* Держит пропорции */
  overflow: hidden;
}

/* Перебиваем дефолтное поведение swiper-wrapper внутри абсолютного позиционирования */
.port-visual-light .swiper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.port-visual-light .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.port-visual-light .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}















/* Позиционируем контейнер с точками поверх абсолютных слайдов */
.port-visual-light .swiper-pagination {
  position: absolute;
  bottom: 15px; /* Отступ снизу от края карточки */
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 6px;
}

/* Стилизация самих точечек (подстрой цвета под дизайн своего сайта) */
.port-visual-light .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #fff;
  opacity: 0.6;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Активная точечка (например, красим в твой акцентный цвет) */
.port-visual-light .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--clr-accent, #ffcc00); /* Подставится твой --clr-accent, либо фолбек */
  transform: scale(1.2); /* Немного увеличиваем активную точку */
}