*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: #fff;
}

.projects-slider {
  max-width: 1300px;
    margin: 0px auto;
    padding: 0 20px;
    padding-bottom: 10px;
    background: #fff;
    padding-top: 30px;
}

.slider-header {
  text-align: center;
  margin-bottom: 30px;
}

.elementor-heading-title {
  line-height: 1.2;
  margin: 0;
  font-size: 2rem;
  color: #333;
}

.elementor-heading-subtitle {
  color: #000;
    font-size: 1.5rem;
    margin-top: 20px;
}

.swiper-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
  height: auto;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.swiper-slide {
  min-width: 100%;
  height: auto;
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.slide-image {
  flex: 0 0 50%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slide-title {
  font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.slide-logo {
  width: 100px;
  height: auto;
  margin-left: auto;
  margin-bottom: 15px;
}

.slide-info {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.info-block {
  flex: 1;
}

.info-label {
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.info-text {
      color: #000;
    line-height: 1.9;
} 

.slide-btn {
  display: inline-block;
  background-color: #FFD000;
  color: #000;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  align-self: flex-start;
}

.slide-btn:hover {
  opacity: 0.9;
}

/* Стрелки */
.elementor-swiper-button {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 208, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border: none;
  outline: none;
}

.elementor-swiper-button-prev {
  left: 10px;
}

.elementor-swiper-button-next {
  right: 10px;
}

.elementor-swiper-button svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

/* Пагинация */
.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.swiper-pagination-bullet.active {
  background-color: #FFD000;
}

/* Технический анализ блок */
.technical-analysis {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.icon-box-title {
  font-weight: bold;
  color: #333;
}

.icon-box-description {
  color: #666;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 767px) {
  .elementor-heading-title {
    font-size: 1.5rem;
  }

  .elementor-heading-subtitle {
    font-size: 1rem;
	line-height: 1.5em;
  }

  .swiper-container {
    height: 300px;
  }

  .swiper-slide {
    flex-direction: column;
    padding: 10px;
  }

  .slide-image {
    flex: 0 0 100%;
    height: 200px;
  }

  .slide-content {
    padding: 15px;
  }

  .slide-title {
    font-size: 1.2rem;
  }

  .slide-logo {
    width: 80px;
  }

  .slide-info {
    flex-direction: column;
    gap: 15px;
  }

  .elementor-swiper-button {
    opacity: 0.8;
    width: 40px;
    height: 40px;
  }

  .elementor-swiper-button-prev {
    left: 5px;
  }

  .elementor-swiper-button-next {
    right: 5px;
  }

  .elementor-swiper-button svg {
    width: 20px;
    height: 20px;
  }

  .technical-analysis {
    flex-direction: column;
    margin-top: 20px;
    gap: 5px;
  }
}

@media (max-width: 767px) {
  .swiper-container {
    min-height: auto;
    height: auto;
  }

  .swiper-slide {
    flex-direction: column;
    padding: 15px;
    height: auto; /* Критично! */
  }

  .slide-image {
    flex: 0 0 100%;
    height: 200px;
    border-radius: 8px;
  }

  .slide-content {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;        /* Чтобы заняло всё пространство */
    box-sizing: border-box;
  }

  /* Убедитесь, что все элементы видны */
  .slide-info,
  .info-block,
  .info-text,
  .slide-btn {
    display: block;
    width: 100%;
	margin-bottom: 11px;
  }
}

.z9x_modal_wrapper {
    display: none;
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: z9x_fadeIn 0.3s ease-out;
}

.z9x_modal_image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.z9x_modal_image:hover {
    transform: scale(1.02);
}

@keyframes z9x_fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}