/* ===== ПОЛНЫЙ DESKTOP CSS ДЛЯ PORTFOLIO ===== */

/* ===== Слайдер на весь экран ===== */
main {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#main-content > h1,
#main-content > h2,
#main-content > p,
.portfolio-proof-strip {
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
}

.portfolio-intro,
.portfolio-subintro {
  text-align: center;
  line-height: 1.7;
}

.portfolio-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.portfolio-filters {
  max-width: var(--page-max-width);
  margin: 0 auto 30px;
  display: grid;
  gap: 18px;
}

.portfolio-ownership {
  max-width: var(--page-max-width);
  margin: 0 auto 34px;
  padding: 24px 28px 28px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 0 14px rgba(0, 191, 255, 0.14);
  backdrop-filter: blur(8px);
}

.portfolio-ownership h3 {
  margin: 0 0 10px;
  text-align: center;
  color: #00ffff;
}

.portfolio-ownership p {
  max-width: var(--page-text-max-width);
  margin: 0 auto 16px;
  text-align: center;
  line-height: 1.55;
}

.portfolio-ownership-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-ownership-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 18px 20px 18px 74px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  background: rgba(0, 191, 255, 0.06);
  text-align: left;
  line-height: 1.42;
  font-size: 0.98rem;
  font-weight: 500;
  overflow: hidden;
}

.portfolio-ownership-list.card-list li::before {
  left: 24px;
}

.portfolio-ownership-list li:hover {
  transform: none;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.15);
}

.portfolio-filter-group {
  text-align: center;
}

.portfolio-filter-title {
  margin: 0 0 10px;
  color: #b9f8ff;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px 18px;
  text-align: center;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.15);
  backdrop-filter: blur(8px);
}

.mySwiper {
  width: 100%;
  height: 100%;
}

/* ===== Контейнер слайдов и текст ===== */
.mySwiper .swiper-slide {
  flex-shrink: 0;
  width: 100% !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}

.mySwiper .swiper-slide.featured-case picture img {
  box-shadow:
    0 0 18px rgba(0, 191, 255, 0.32),
    0 0 32px rgba(0, 191, 255, 0.16);
}

.mySwiper .swiper-slide.featured-case .content-txt {
  border: 1px solid rgba(0, 255, 255, 0.18);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.18);
}

.mySwiper .swiper-slide img {
  width: 95vw;
  max-width: none;
  height: 750px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,191,255,0.3);
}

/* ===== Текстовые блоки ===== */
.mySwiper .content-txt {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 60px;
  top: 30px;
  max-width: var(--page-text-max-width);
  max-height: 85vh;
  background: rgba(0,0,0,0.9);
  padding: 20px;
  border-radius: 10px;
  z-index: 2;
}

/* Внутренний скроллируемый список */
.mySwiper .content-txt .scrollable-list {
  flex-grow: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 10px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #00ffff #020a11;
  max-height: calc(85vh - 160px);
}

/* Поддержка кастомного scrollbar (WebKit) */
.mySwiper .content-txt .scrollable-list::-webkit-scrollbar {
  width: 8px;
}

.mySwiper .content-txt .scrollable-list::-webkit-scrollbar-track {
  background: #020a11;
  border-radius: 5px;
}

.mySwiper .content-txt .scrollable-list::-webkit-scrollbar-thumb {
  background: #00ffff;
  border-radius: 5px;
  box-shadow: 0 0 10px #00ffff66;
}

.mySwiper .content-txt .scrollable-list::-webkit-scrollbar-thumb:hover {
  background: #00cccc;
}

.mySwiper .content-txt h2,
.mySwiper .content-txt h3 {
  margin: 0 0 5px 0;
  color: #00ffff;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.case-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.28);
  background: rgba(0, 191, 255, 0.08);
  color: #b9f8ff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.case-focus,
.case-impact {
  margin: 10px 0 0;
  line-height: 1.55;
}

.case-focus strong,
.case-impact strong {
  color: #00ffff;
}

.case-featured-note {
  margin: 0 0 10px;
  color: #b9f8ff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mySwiper .content-txt h3 span {
  font-size: 0.85em;
  color: #00ffff;
  font-weight: normal;
  display: inline;
}

/* ===== Список элементов ===== */
ul.content-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}

ul.content-list li {
  position: relative;
  padding: 6px 12px 6px 32px;
  margin-bottom: 6px;
  border-radius: 6px;
  font-size: 1em;
  line-height: 1.5;
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

ul.content-list li::before {
  content: "✔";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ffff;
  font-weight: bold;
}

ul.content-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.25);
}

/* ===== Контейнер кнопок ===== */
.button-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 15px;
}

/* ===== Пагинация ===== */
.mySwiper .swiper-pagination {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}



/* ===== Кнопки слайдера ===== */
.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after {
  content: none !important;
}

.mySwiper .site-slider-nav {
  position: absolute;
  top: var(--portfolio-arrow-top, 50%);
  transform: translateY(-50%);
  margin-top: 0;
  z-index: 20;
}

.mySwiper .swiper-button-prev.site-slider-nav {
  left: 18px;
}

.mySwiper .swiper-button-next.site-slider-nav {
  right: 18px;
}

/* ===== Статус-бар слайдера (прогресс) ===== */
.slider-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* ===== Тонкая полоска сверху (фон) ===== */
.mySwiper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(0, 255, 255, 0.2);
  z-index: 5;
  border-radius: 2px;
}

/* ===== Span внутри h3 ===== */
.mySwiper .swiper-slide .content-txt h3 span {
  font-size: 0.85em !important;
  color: #00ffff !important;
  font-weight: normal !important;
  display: inline;
}
