:root{
  --rahs-primary: var(--renk-1, #0d6efd);
  --rahs-primary-2: var(--renk-2, #0a58ca);
}

/* SADECE SLIDER */
.rahs-slider{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #030712;
  margin: 0;
}

.rahs-slider *{
  box-sizing: border-box;
}

.rahs-slider__inner{
  position: relative;
}

.rahs-slider__viewport{
  position: relative;
  overflow: hidden;
  width: 100%;
  outline: none;
  touch-action: pan-y;
}

.rahs-slider__track{
  display: flex;
  width: 100%;
  will-change: transform;
}

.rahs-slide{
  position: relative;
  min-width: 100%;
  height: clamp(360px, 32vw, 460px); /* ANA BOYUT AYNI */
  overflow: hidden;
}

.rahs-slide__bg{
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scale(1.04);
  opacity: .96;
}

.rahs-slide__bg img,
.rahs-slide__bg video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rahs-slide__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2,8,23,.94) 0%, rgba(2,8,23,.88) 34%, rgba(2,8,23,.58) 68%, rgba(2,8,23,.26) 100%);
}

.rahs-slide__grid{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .10;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 100%);
}

.rahs-slide__content{
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rahs-box{
  width: min(980px, 92vw); /* sadece iç alan büyüdü */
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(280px,.92fr);
  gap: 34px;
  align-items: center;
}

.rahs-box__left{
  color: #fff;
}

.rahs-box__line{
  width: 2px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22a3ff 0%, var(--rahs-primary) 100%);
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(13,110,253,.34);
}

.rahs-box__title{
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 3.2vw, 56px); /* iç başlık büyüdü */
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.03em;
  max-width: 560px;
}

.rahs-box__title br{
  display: block;
}

.rahs-box__title span,
.rahs-box__title strong,
.rahs-box__title em{
  color: #25a7ff;
  font-style: normal;
}

.rahs-box__desc{
  max-width: 520px;
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 16px; /* iç açıklama büyüdü */
  line-height: 1.7;
}

.rahs-box__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 16px;
}

.rahs-box__badges span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
}

.rahs-box__badges span i{
  color: #25a7ff;
  font-size: 13px;
}

.rahs-box__search{
  width: min(500px, 100%); /* sadece iç alan büyüdü */
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.rahs-box__input{
  flex: 1;
  min-width: 0;
  height: 52px; /* input büyüdü */
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  padding: 0 16px;
  outline: none;
}

.rahs-box__input::placeholder{
  color: #98a2b3;
}

.rahs-box__button{
  height: 44px; /* buton büyüdü */
  margin: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--rahs-primary), var(--rahs-primary-2));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(13,110,253,.26);
  transition: transform .18s ease, filter .18s ease;
}

.rahs-box__button:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.rahs-box__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 6px;
}

.rahs-box__meta span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7e3f7;
  font-size: 14px;
  font-weight: 500;
}

.rahs-box__meta span i{
  color: #25a7ff;
}

.rahs-box__right{
  display: flex;
  align-items: center;
  justify-content: center;
}

.rahs-frame{
  width: 100%;
  max-width: 500px; /* sadece sağ görsel alanı büyüdü */
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 46px rgba(0,0,0,.34);
  backdrop-filter: blur(8px);
}

.rahs-frame__inner{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0b1220;
  aspect-ratio: 16 / 10;
}

.rahs-frame__inner:before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 35%);
  z-index: 2;
}

.rahs-frame__media{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* dots */
.rahs-slider__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.rahs-slider .ra-dot{
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  cursor: pointer;
  transition: all .2s ease;
}

.rahs-slider .ra-dot.is-active{
  width: 22px;
  background: linear-gradient(90deg, var(--rahs-primary), #52b6ff);
}

/* progress */
.rahs-slider__progress{
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: min(240px, 42vw);
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.rahs-slider__progress > i{
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--rahs-primary), #52b6ff);
  animation: raProg 5500ms linear forwards;
}

@keyframes raProg{
  from{ width: 0%; }
  to{ width: 100%; }
}

/* mobil */
@media (max-width: 991px){
  .rahs-slide{
    height: auto;
    min-height: 560px;
  }

  .rahs-slide__content{
    position: relative;
    padding: 28px 0 56px;
  }

  .rahs-box{
    width: min(94vw, 980px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rahs-box__left{
    order: 2;
  }

  .rahs-box__right{
    order: 1;
  }

  .rahs-box__title{
    max-width: none;
    font-size: clamp(28px, 7vw, 40px);
  }

  .rahs-box__desc{
    max-width: none;
    font-size: 15px;
  }

  .rahs-box__search{
    width: 100%;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    gap: 10px;
  }

  .rahs-box__input{
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 20px rgba(0,0,0,.18);
  }

  .rahs-box__button{
    width: 100%;
    justify-content: center;
    margin: 0;
    height: 46px;
    border-radius: 12px;
  }

  .rahs-frame{
    max-width: 430px;
  }

  .rahs-slider__progress{
    width: min(220px, 60vw);
  }
}

@media (max-width: 575px){
  .rahs-slide{
    min-height: 520px;
  }

  .rahs-box__title{
    font-size: 30px;
  }

  .rahs-box__badges span,
  .rahs-box__meta span{
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce){
  .rahs-slider .ra-dot,
  .rahs-box__button{
    transition: none !important;
  }

  .rahs-slider__progress > i{
    animation: none !important;
    width: 100% !important;
  }
}
@media (max-width: 991px){
  .rahs-slide{
    height: auto;
    min-height: 520px;
  }

  .rahs-slide__content{
    position: relative;
    padding: 18px 0 52px;
  }

  .rahs-box{
    width: min(94vw, 980px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rahs-box__left{
    order: 2;
  }

  .rahs-box__right{
    order: 1;
  }

  .rahs-frame{
    max-width: 340px;
    margin: 0 auto;
    padding: 7px;
    border-radius: 16px;
  }

  .rahs-frame__inner{
    border-radius: 12px;
  }

  .rahs-box__title{
    max-width: none;
    font-size: clamp(26px, 7vw, 38px);
    margin: 0 0 10px;
  }

  .rahs-box__desc{
    max-width: none;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
  }

  .rahs-box__badges{
    gap: 8px 14px;
    margin-bottom: 12px;
  }

  .rahs-box__badges span{
    font-size: 12px;
  }

  /* ASIL DÜZELTME */
  .rahs-box__search{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 12px;
  }

  .rahs-box__input{
    flex: 1;
    width: auto;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
    padding: 0 12px;
    font-size: 13px;
  }

  .rahs-box__button{
    width: auto;
    min-width: 120px;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border-radius: 10px;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
  }

  .rahs-box__meta{
    gap: 8px 14px;
    margin-top: 2px;
  }

  .rahs-box__meta span{
    font-size: 12px;
  }

  .rahs-slider__progress{
    width: min(220px, 60vw);
  }
}

@media (max-width: 575px){
  .rahs-slide{
    min-height: 500px;
  }

  .rahs-box{
    gap: 12px;
  }

  .rahs-frame{
    max-width: 100%;
  }

  .rahs-box__title{
    font-size: 27px;
    line-height: 1.05;
  }

  .rahs-box__desc{
    font-size: 14px;
  }

  .rahs-box__badges{
    gap: 8px 10px;
  }

  .rahs-box__badges span,
  .rahs-box__meta span{
    font-size: 11px;
  }

  .rahs-box__search{
    gap: 6px;
  }

  .rahs-box__input{
    height: 40px;
    font-size: 12px;
    padding: 0 11px;
  }

  .rahs-box__button{
    min-width: 104px;
    height: 40px;
    font-size: 12px;
    padding: 0 12px;
  }
}