/* Legacy Hero Slider 2 — scoped and responsive */
.tfsel-hero-2 {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #111;
}
.tfsel-hero-2 .swiper-wrapper,
.tfsel-hero-2 .swiper-slide { height: 100%; }
.tfsel-hero-2 .swiper-slide { position: relative; overflow: hidden; }
.tfsel-hero-2 .slide-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}
.tfsel-hero-2 .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 70%);
}
.tfsel-hero-2 .hero-2-slide-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  inset-inline-start: clamp(28px, 8vw, 120px);
  width: min(52%, 720px);
  color: #fff;
  transform: translateY(-50%);
  transition: opacity .7s ease, transform .7s ease;
}
.tfsel-hero-2 .swiper-slide:not(.swiper-slide-active) .hero-2-slide-text {
  opacity: 0;
  transform: translate(-40px,-50%);
}
.tfsel-hero-2 .hero-2-slide-text h2 {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 90px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}
.tfsel-hero-2 .hero-2-slide-text p {
  max-width: 55ch;
  margin: 20px 0 0;
  color: inherit;
  font-size: 17px;
  line-height: 1.65;
  opacity: .84;
}
.tfsel-hero-2 .hero-2-slide-text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 14px 24px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: filter .25s ease, transform .25s ease;
}
.tfsel-hero-2 .hero-2-slide-text .btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.tfsel-hero-2 .tfsel-swiper-button-next,
.tfsel-hero-2 .tfsel-swiper-button-prev {
  position: absolute;
  z-index: 8;
  inset-inline-end: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 66px;
  height: 60px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #555;
  cursor: pointer;
}
.tfsel-hero-2 .tfsel-swiper-button-prev { inset-inline-end: 66px; }
.tfsel-hero-2 .tfsel-swiper-button-next span,
.tfsel-hero-2 .tfsel-swiper-button-prev span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.tfsel-hero-2 .tfsel-swiper-button-next span { transform: rotate(45deg); }
.tfsel-hero-2 .tfsel-swiper-button-prev span { transform: rotate(-135deg); }
.tfsel-hero-2 .swiper-button-disabled { background: #eee; opacity: .6; cursor: not-allowed; }
.tfsel-hero-2 button:focus-visible,
.tfsel-hero-2 a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

[dir="rtl"] .tfsel-hero-2 .swiper-slide::after {
  background: linear-gradient(-90deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 70%);
}
[dir="rtl"] .tfsel-hero-2 .swiper-slide:not(.swiper-slide-active) .hero-2-slide-text {
  transform: translate(40px,-50%);
}

@media (max-width: 767px) {
  .tfsel-hero-2 { min-height: 500px; }
  .tfsel-hero-2 .swiper-slide::after { background: linear-gradient(0deg, rgba(0,0,0,.84), rgba(0,0,0,.08) 72%); }
  .tfsel-hero-2 .hero-2-slide-text {
    top: auto;
    right: 20px;
    bottom: 82px;
    left: 20px;
    width: auto;
    transform: none;
  }
  .tfsel-hero-2 .swiper-slide:not(.swiper-slide-active) .hero-2-slide-text { transform: translateY(28px); }
  .tfsel-hero-2 .hero-2-slide-text h2 { font-size: clamp(38px, 12vw, 58px); }
  .tfsel-hero-2 .hero-2-slide-text p { font-size: 15px; }
  .tfsel-hero-2 .tfsel-swiper-button-next,
  .tfsel-hero-2 .tfsel-swiper-button-prev { width: 58px; height: 54px; }
  .tfsel-hero-2 .tfsel-swiper-button-prev { inset-inline-end: 58px; }
}

[dir="rtl"] .tfsel-hero-2 .tfsel-swiper-button-next span { transform: rotate(-135deg); }
[dir="rtl"] .tfsel-hero-2 .tfsel-swiper-button-prev span { transform: rotate(45deg); }
