/* ============================================
   КОНТЕНТНЫЕ СТРАНИЦЫ
   ============================================ */

.posudion-content-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.posudion-content-container {
  max-width: 900px;
  margin: 0 auto;
}

.posudion-article {
  background: white !important;
  padding: 3rem 4rem !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

/* Секции */
.posudion-section {
  margin-bottom: 3rem;
}

.posudion-carousel-section {
  margin-bottom: 3rem;
}

/* Заголовки */
.posudion-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem 0;
  color: #2C3E50;
}

.posudion-section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.5rem 0;
  color: #2C3E50;
}

.posudion-carousel-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 2rem 0 0.5rem;
  color: #2C3E50;
}

.posudion-carousel-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Контент */
.posudion-content {
  line-height: 1.8;
  color: #333;
}

.posudion-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.posudion-legal {
  overflow-wrap: anywhere;
}

.posudion-legal h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  margin: 0 0 1.25rem;
  color: #2C3E50;
}

.posudion-legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  margin: 2rem 0 0.75rem;
  color: #2C3E50;
}

.posudion-legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  margin: 1.5rem 0 0.5rem;
  color: #2C3E50;
}

.posudion-legal ul,
.posudion-legal ol {
  margin: 0 0 1rem 1.35rem;
  padding: 0;
}

.posudion-legal li {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.posudion-legal a {
  color: #1a5d3a;
  text-decoration: underline;
}

.posudion-legal-template {
  background: #f6f6f4;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  white-space: pre-wrap;
}

/* ============================================
   КАРУСЕЛЬ ИЗОБРАЖЕНИЙ
   ============================================ */

.posudion-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  overflow: visible;
  border-radius: 12px;
}

.posudion-carousel__wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.posudion-carousel__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.posudion-carousel__slide {
  min-width: 70%;
  max-width: 70%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  padding: 2rem 1rem;
  opacity: 0.3;
  transition: opacity 0.5s ease-in-out;
  box-sizing: border-box;
}

.posudion-carousel__slide.active {
  opacity: 1;
}

.posudion-carousel__slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Кнопки навигации - современные стрелки 2025 */
.posudion-carousel__prev,
.posudion-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 93, 58, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(26, 93, 58, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  padding: 0;
  margin: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 93, 58, 0.15);
}

.posudion-carousel__prev::before,
.posudion-carousel__next::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #1a5d3a;
  border-right: 3px solid #1a5d3a;
  transition: all 0.3s ease;
}

.posudion-carousel__prev::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.posudion-carousel__next::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

.posudion-carousel__prev {
  left: -2rem;
}

.posudion-carousel__next {
  right: -2rem;
}

.posudion-carousel__prev:hover,
.posudion-carousel__next:hover {
  background: rgba(26, 93, 58, 0.2);
  border-color: #1a5d3a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(26, 93, 58, 0.25);
}

.posudion-carousel__prev:hover::before,
.posudion-carousel__next:hover::before {
  border-color: #145430;
}

.posudion-carousel__prev:active,
.posudion-carousel__next:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 2px 10px rgba(26, 93, 58, 0.2);
}

.posudion-carousel__prev:focus,
.posudion-carousel__next:focus {
  background: rgba(26, 93, 58, 0.15);
  border-color: rgba(26, 93, 58, 0.5);
  outline: none;
  box-shadow: 0 4px 20px rgba(26, 93, 58, 0.2);
}

.posudion-carousel__prev:focus:not(:hover),
.posudion-carousel__next:focus:not(:hover) {
  background: rgba(26, 93, 58, 0.1);
}

/* Адаптивность для стрелок */
@media (max-width: 768px) {
  .posudion-carousel__prev,
  .posudion-carousel__next {
    width: 50px;
    height: 50px;
  }
  
  .posudion-carousel__prev {
    left: 0.5rem;
  }
  
  .posudion-carousel__next {
    right: 0.5rem;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .posudion-content-page {
    padding: 1rem;
  }
  
  .posudion-article {
    padding: 1.5rem 2rem !important;
  }
  
  .posudion-page-title {
    font-size: 2rem;
  }
  
  .posudion-section-title {
    font-size: 1.5rem;
  }
  
  .posudion-carousel-title {
    font-size: 1.2rem;
  }
  
  .posudion-carousel__prev,
  .posudion-carousel__next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .posudion-carousel__prev {
    left: 0.5rem;
  }
  
  .posudion-carousel__next {
    right: 0.5rem;
  }
  
  .posudion-carousel__slide img {
    max-height: 400px;
  }
}
