/* ===== SLIDER ===== */
.image-slider {
  position: relative;
  overflow: hidden;
  box-shadow: 0 13px 19px rgba(0,0,0,0.27);
}

.image-slider__image {
  text-align: center;
  
}

.image-slider__image img {
  width: 100%;
  min-height: 200px;
  max-height: 470px;
  object-fit: cover;
}

/* ===== SWIPER ===== */
.swiper {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 470px;
}

/* TEXT BLOCK */
.swiper__object {
  position: absolute;
  right: 20px;
  bottom: 10px;
  max-width: 500px;
  z-index: 10;
}

.swiper__object a {
  color: #fff;
  text-decoration: none;
}

/* TEXT */
.swiper__title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.swiper__subtitle {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

.swiper__txt {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

/* NAV BUTTONS */
.swiper-button-prev,
.swiper-button-next {
  transition: 0.3s;
}

.image-slider .swiper-button-prev::after,
.image-slider .swiper-button-next::after {
  font-size: 0;
}

/**/
.swiper__button {
  margin-top: 10px;
  padding: 10px 25px;
  background-color: #E76828;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
    box-shadow: 0 13px 19px rgba(0,0,0,0.27);

}


/* ===== LINE (ИСПРАВЛЕН) ===== */
.line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5em;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  z-index: 20;
  font-size: 1rem;
}

.line div {
  margin-left: 1em;
  font-size: 0.9em;
  color: #fff;
  font-style: italic;
}

/* ===== ADAPTIVE ===== */

/* 1400 */
@media (max-width: 1400px) {
  html { font-size: 13px; }

  .swiper__object {
    bottom: 1rem;
  }
}

/* 1200 */
@media (max-width: 1200px) {
  .image-slider {
    margin-top: 70px;
  }
  html { font-size: 12px; }

  .swiper__object {
    right: 1rem;
    bottom: 1rem;
    max-width: 600px;
  }

  .swiper__title {
    font-size: 1.8rem;
    text-align: left;
  }
}

/* 820 */
@media (max-width: 820px) {
  html { font-size: 9px; }

  .swiper__object {
    right: 2rem;
    bottom: 3rem;
  }
}

/* 767 */
@media (max-width: 767px) {
  html { font-size: 12px; }

  .swiper__object {
    right: 1rem;
    bottom: 2.5rem;
  }

  .swiper__title {
    margin-bottom: 5px;
  }
}

/* 600 */
@media (max-width: 600px) {
  .swiper__title {
    margin-bottom: 5px;
  }
}

/* 479 */
@media (max-width: 479px) {
  html { font-size: 8px; }

  .swiper__object {
    right: 10px;
    bottom: 2rem;
  }
}

/* ===== BORDER ===== */
.border-animate {
  width: 0;
  height: 5px;
  background: #E76828;
  animation: draw-line 3s ease forwards;
}

@keyframes draw-line {
  from { width: 0; }
  to { width: 100%; }
}