/*  */
.featured {
  padding-top: 50px;
  padding-bottom: 20px;
}

.featured__swiper {
  overflow: hidden;
  width: 100%;
}

/* Скрываем пагинацию на десктопе по умолчанию */
.swiper-pagination {
  display: none;
}

/* ==========================================
   ОБЩИЕ СТИЛИ КОНТЕНТА
   ========================================== */
.featured__grid {
  width: 100%;
  height: 100%;
}

.featured__mini-preview {
  display: none; /* Скрыто на мобильных */
}

.featured__slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.featured__image-wrapper {
    height: 100%;
    position: relative;
    overflow: hidden;
}


/* На десктопе убираем тень, которая была на мобилке */
.featured__slide::before {
  display: none;
}


.featured__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}
.featured__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 44px;
  margin-bottom: 40px;

}
.featured__arrow img:last-child {
  display: none;
}

/* ==========================================
   НОВЫЙ ПОДХОД: BACKGROUND-IMAGE
   ========================================== */

.featured__image {
  position: relative;
  width: 100%;
  height: 100%; /* Занимает всю высоту родителя */
  overflow: hidden;
  border-radius: 20px;
  background-color: #f0f0f0; /* Цвет фона пока грузится картинка */
}

/* Фоновая картинка */
.featured__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease; /* Плавное появление */
  z-index: 1;
}

.featured__bg.active {
  opacity: 1;
  z-index: 2;
}

/* Градиентная подложка (нужна на мобильных) */
.featured__image::after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 3; /* Поверх картинок */
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Базовые стили инфо (мобильные по умолчанию, переопределены выше для десктопа) */
.featured__info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10; /* Выше градиента */
  text-shadow: 0px 0.3px 1px black;
}
.featured__name {
  color: white;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.featured__description {
  color: white;
  line-height: 1.35;
  max-width: 540px;
}

/* Внутренняя навигация */
.internal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 20;
  pointer-events: none;
}
.internal-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.internal-arrow:hover {
  background: rgba(255, 255, 255, 1);
}
.internal-arrow svg {
  width: 16px;
  height: 16px;
  fill: #333;
}

@media (max-width: 992px) {
  .featured__controls {
    gap: 20px;
    margin-bottom: 40px;
    display: none;
  }
  .featured {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
  }
  .featured__image-wrapper {
    margin-bottom: 20px;
  }
  .featured__swiper {
    position: relative;
    padding-bottom: 30px !important; 
  }
  .featured__slide::before {
    display: none;
  }
  .featured__slide
 {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
 }

  .featured__image {
    height: 400px; 
  }

  .featured__info {
    position: static;
    text-shadow: none;
    border-radius: 0;
  }
  .featured__name {
     text-shadow: none;
    color: #2b2f32;
  }
  .featured__description {
    text-shadow: none;
    color: #2b2f32;
    border-radius: 0;

  }
  
  /* Важно: На мобилке featured__grid должен быть просто блоком, 
     а col-left и col-right должны вести себя прозрачно для позиционирования */
  .featured__grid {
              display: flex;
        flex-direction: column-reverse;
  }
  
  /* Если display: contents не поддерживается (старые iOS), fallback: */
  @supports not (display: contents) {
      .featured__grid {
          display: block;
          height: 100%;
      }
      .featured__col-right {
          height: 100%;
      }
  }

  /* Превью скрыто выше глобально, здесь подтверждаем */
  .featured__mini-preview {
      display: none;
  }

  .internal-nav {
    padding: 0 10px;
    top: 200px; /* Половина от 400px */
  }
  .internal-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
  }
  
  /* Показываем пагинацию на мобильных */
  .swiper-pagination {
    display: block;
    bottom: 0 !important; /* Прижимаем к низу */
  }
  
  /* Цвет активной точки (коричневый) */
  .swiper-pagination-bullet-active {
    background-color: #2b2f32 !important;
  }
}


/* Desktop Styles */
@media (min-width: 992px) {
  .featured__wrapper.swiper-wrapper {
    display: flex;
    align-items: start;
    height: calc(100vh - 200px); /* Высота всего слайдера */
    max-height: 839px;
  }

  /* Слайд должен занимать 100% высоты обертки */
  .featured__slide {
    height: 100%;
    border-radius: 0; /* Убираем скругление контейнера, скругляем элементы внутри */
    overflow: visible;
  }
  
  .featured__grid {
      display: flex;
      gap: 90px; /* Отступ между колонками */
      height: 100%;
  }

  /* ЛЕВАЯ КОЛОНКА */
  .featured__col-left {
      flex: 0 0 450px; /* Фиксированная ширина как на макете */
      display: flex;
      flex-direction: column;
      height: 100%;
      border-radius: 30px;
       border: 1px solid #af7f4c;
  }

  .featured__mini-preview {
      display: block;
      width: 100%;
      position: relative;
              flex: 1;
        background-position: center;
        background-size: cover;
        border-radius: 23px;
        margin: 5px 5px 0 5px;
        max-width: calc(100% - 10px);
  }
  

  .featured__info {
      position: static; /* Текст в потоке */
      background: #fff; /* Белый фон */
      padding: 20px; /* Отступы сверху/снизу */
      text-shadow: none; /* Убираем тень */
      width: 100%;
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;

  }

  .featured__name {
    color: #2b2f32; /* Темный текст */
    font-size: 20px;
    margin-bottom: 15px;
  }

  .featured__description {
    color: #2b2f32; /* Темный текст */
    max-width: 100%;
  }

  /* ПРАВАЯ КОЛОНКА */
  .featured__col-right {
      flex: 1;
      height: 100%;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
  }

  .featured__image-wrapper {
    height: 100%; 
    border-radius: 20px; /* Скругление правой большой картинки */
  }
  
  .featured__image {
      border-radius: 20px;
  }

  /* Убираем градиентную подложку на десктопе, так как текст вынесен */
  .featured__image::after {
      display: none;
  }
}


.featured__col-left{
    padding: 10px;
}







.controls-art-7 {
    float: right;
	height:0;
}

.controls-art-7 .swiper-button-prev{
    left: calc(100% - 80px);
    position: relative;
    top: -50px;
}


.controls-art-7 .swiper-button-next {
    position: relative;
    top: -72px !important;
}




.controls-art-7 .swiper-button-prev:after{
    content: " " !important;
    width: 18px;
    height: 16px;
    background-image: url(/upload/1_fresh/left-arrow.svg);
}

.controls-art-7 .swiper-button-next:after{
    content: " " !important;
    width: 18px;
    height: 16px;
    background-image: url(/upload/1_fresh/right-arrow.svg);
}






.swiper-art-7 img.whom-card__imgage{
    border-radius: 20px; 
}

.swiper-art-7 .properties-1 {
    position: absolute;
    top: 30px;
    left: 30px;
}
.swiper-art-7 .properties-2 {
    position: absolute;
    top: 70px;
    left: 30px;
}
.swiper-art-7 .properties-1 p,
.swiper-art-7 .properties-2 p {
    font-size: 16px;
    line-height: 32px;
    background-color: @aaa;
    margin: 0;
    padding: 0 1.0em;
    border-radius: 16px
}


.swiper-art-7 .properties-1 p,
.swiper-art-7 .properties-2 p {
    background-color: #ddd;
  	transition: all 1s ease;
}

.swiper-art-7 .properties-1 p:hover,
.swiper-art-7 .properties-2 p:hover {
    background-color: #fff;
  	transition: all 1s ease;
}



@media (max-width: 640px) {
.properties-1 p,
.properties-2 p {
	font-sze:14px;
}
}


.featured__info1 h3.featured__name1 {
    font-size: 18px;
    font-weight: 600;
    margin: 18px 0 16px;
}



.mono-btn-read-more .mono-btn-m3{
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    background-color: #aaa;
    padding: 15px 50px;
    border-radius: 25px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
 	text-decoration: none;
	margin: 0;
}


.mono-btn-read-more .mono-btn-m3{
 	background-color: #af7f4c;;
	transition: all 1s ease;
}
.mono-btn-read-more .mono-btn-m3:hover {
 	background-color: #d7ae83;
	transition: all 1s ease;
}



.mono-btn-read-more {
    position: absolute;
    top: 40%;
    right: 35%;
}


.mono-btn {
    text-align: center;
    margin: 1.5em 0 2.5em;
}

.swiper-slide .mono-btn-read-more .mono-btn-m3{
/*	display:none; */
	transition: all 3s ease;
opacity: 0;
}
.swiper-slide:hover .mono-btn-read-more .mono-btn-m3{
	/*	display:block; */
	transition: all 3s ease;
opacity: 1;
}

.controls-art-7 {
    height: 0;
}


.swiper-art-7 .otz_description{
    font-size: 16px;
    font-weight: 400;
}
.swiper-art-7 .otz_name{
    font-size: 18px;
    font-weight: 600;
    margin: 0 25px 25px 0;
    text-align: right;
}

.swiper-art-7 img.otz_imgage {
    width: 50px;
    margin: 10px 0;
}

.swiper-art-7 .otz_info1 {
    width: 80%;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    margin: 6.0em auto 6.0em ;
height:17.0em;
/*     position: absolute;  */
/*     top: 25%;  */
/*     left: 10%;  */
}


@media (min-width: 1300px) and (max-width: 1460px) {
    .swiper-art-7 .otz_info1 {
        height: 21.0em;
    }
}


@media (min-width: 1141px) and (max-width: 1299px) {  
.swiper-art-7 .otz_info1 {
    height: 26.0em;
}
} 





@media (min-width: 1024px) and (max-width: 1141px) {  
.swiper-art-7 .otz_info1 {
    height: 22.0em;
}
} 



.swiper-art-7 .swiper-slide {
	background: url(/local/templates/universe_s2/images/fon_otz_01_2.webp);
	background-size:cover;
    border-radius: 20px;
}

.mono-btn.mono-btn-7 {
    text-align: center;
    margin: 2.5em 0 2.5em;
}

@media (max-width: 640px) {
.swiper-art-7 .otz_description {
    font-size: 14px;
}
.swiper-art-7 .otz_name {
    font-size: 14px;
    margin: 0 15px 15px 0;
}
.swiper-art-7 .otz_info1 {
    top: 10%;
}
.swiper-art-7 img.otz_imgage {
    width:30px;
}
.swiper-art-7 .swiper-slide{
    width:100% !important;
}
.mono-btn.mono-btn-7 {
    text-align: center;
    margin: 1.5em 0 2.5em;
}
}













