.reha-edus,
.reha-edus * {
  box-sizing: border-box;
}

.reha-edus {
  --reha-card-gap: 26px;
  --reha-per-view: 4;
  --reha-slide-width: 320px;
  width: 100%;
  padding: 30px 15px;
  background: #f6f9fd;
  color: #071a44;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  isolation: isolate;
  overflow: hidden;
}

.reha-edus a,
.reha-edus button,
.reha-edus input,
.reha-edus textarea,
.reha-edus select {
  font-family: inherit;
}

.reha-edus a {
  text-decoration: none !important;
}

.reha-edus img,
.reha-edus svg {
  max-width: 100%;
}

.reha-edus__inner {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.reha-edus__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.reha-edus__header-text {
  min-width: 0;
}

.reha-edus__title {
  margin: 0;
  color: #071a44;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.reha-edus__title span {
  display: inline;
}

.reha-edus__title-mark {
  color: #e30613;
}

.reha-edus__desc {
  max-width: 680px;
  margin: 16px 0 0;
  color: #667085;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.reha-edus__top-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #071a44;
  color: #fff;
  box-shadow: 0 16px 36px rgba(7, 26, 68, 0.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.reha-edus__top-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(7, 26, 68, 0.22);
  color: #fff;
}

.reha-edus__top-button .reha-icon-arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
}

.reha-edus-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--reha-card-gap);
  align-items: stretch;
}

.reha-edus-carousel {
  width: 100%;
  position: relative;
}

.reha-edus-carousel__shell {
  position: relative;
  width: 100%;
}

.reha-edus-carousel__viewport {
  width: 100%;
  overflow: hidden;
  padding: 7px 2px 18px;
}

.reha-edus-carousel__track {
  display: flex;
  gap: var(--reha-card-gap);
  width: 100%;
  will-change: scroll-position;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 8px;
}

.reha-edus-carousel__track::-webkit-scrollbar {
  display: none;
}

.reha-edus-carousel__slide {
  flex: 0 0 var(--reha-slide-width);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.reha-edus-carousel.is-dragging .reha-edus-carousel__track {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.reha-edus-carousel[data-drag="yes"] .reha-edus-carousel__track {
  cursor: grab;
}

.reha-edus-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(7, 26, 68, 0.08);
  border-radius: 999px;
  outline: none;
  appearance: none;
  background: #fff;
  color: #071a44;
  box-shadow: 0 18px 44px rgba(7, 26, 68, 0.13);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.reha-edus-carousel__arrow span {
  display: block;
  font-size: 34px;
  font-weight: 400;
  line-height: .75;
  transform: translateY(-1px);
}

.reha-edus-carousel__arrow:hover {
  background: #0a9952;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 22px 48px rgba(10, 153, 82, 0.24);
}

.reha-edus-carousel__arrow.is-disabled {
  opacity: .38;
  pointer-events: none;
}

.reha-edus-carousel__arrow--prev {
  left: -24px;
}

.reha-edus-carousel__arrow--next {
  right: -24px;
}

.reha-edus-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.reha-edus-carousel__dot {
  width: 8px;
  height: 8px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d2e3;
  cursor: pointer;
  transition: width .2s ease, background .2s ease, opacity .2s ease;
}

.reha-edus-carousel__dot.is-active {
  width: 26px;
  background: #0a9952;
}

.reha-edu-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 68, .065);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 26, 68, .095);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.reha-edu-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 153, 82, .22);
  box-shadow: 0 28px 72px rgba(7, 26, 68, .145);
}

.reha-edu-card__full-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  border-radius: inherit;
}

.reha-edu-card__image {
  position: relative;
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: #eaf1f9;
}

.reha-edu-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(7, 26, 68, .16), rgba(7, 26, 68, 0));
  pointer-events: none;
  opacity: .45;
}

.reha-edu-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .35s ease, filter .35s ease;
}

.reha-edu-card__body {
  flex: 1 1 auto;
  padding: 22px 24px 18px;
}

.reha-edu-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 0 0 12px;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.reha-edu-card__meta-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.reha-edu-card__meta svg,
.reha-edu-card__meta i {
  display: block;
  width: 1em;
  height: 1em;
  color: currentColor;
  fill: currentColor;
}

.reha-edu-card__title {
  margin: 0 0 16px;
  color: #071a44;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.reha-edu-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 25px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.reha-edu-card__stars {
  color: #f7b500;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}

.reha-edu-card__rating-score {
  color: #071a44;
  font-weight: 850;
}

.reha-edu-card__rating-text {
  color: #071a44;
  opacity: .72;
  font-weight: 500;
}

.reha-edu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 18px 24px 20px;
  border-top: 1px solid #e5eaf2;
}

.reha-edu-card__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.reha-edu-card__brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.reha-edu-card__brand-text {
  overflow: hidden;
  color: #071a44;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reha-edu-card__button {
  position: relative;
  z-index: 4;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0a9952;
  color: #fff;
  box-shadow: 0 12px 26px rgba(10, 153, 82, .22);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.reha-edu-card__button:hover {
  background: #07733d;
  color: #fff;
  box-shadow: 0 15px 32px rgba(7, 115, 61, .22);
  transform: translateY(-1px);
}

.reha-edu-card__button .reha-icon-arrow {
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 1460px) {
  .reha-edus-carousel__arrow--prev {
    left: 8px;
  }

  .reha-edus-carousel__arrow--next {
    right: 8px;
  }
}

@media (max-width: 1024px) {
  .reha-edus {
    --reha-per-view: 2;
  }

  .reha-edus__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .reha-edus__top-button {
    min-height: 44px;
  }

  .reha-edus-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reha-edus-carousel__arrow {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 767px) {
  .reha-edus {
    --reha-card-gap: 16px;
    --reha-per-view: 1;
    padding: 24px 12px;
  }

  .reha-edus__header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .reha-edus__title {
    font-size: 34px;
    letter-spacing: -0.035em;
  }

  .reha-edus__desc {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .reha-edus-grid__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .reha-edu-card__image {
    height: 205px;
  }

  .reha-edu-card__body {
    padding: 20px 18px 16px;
  }

  .reha-edu-card__title {
    font-size: 22px;
  }

  .reha-edu-card__footer {
    padding: 16px 18px 18px;
  }

  .reha-edu-card__button {
    padding: 10px 12px;
    font-size: 12px;
  }

  .reha-edus-carousel__arrow {
    display: none;
  }

  .reha-edus-carousel__viewport {
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 430px) {
  .reha-edus__title {
    font-size: 30px;
  }

  .reha-edu-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .reha-edu-card__button {
    width: 100%;
  }
}

/* Reha Eğitimler v1.3.0 - Varsayılan eğitim kartları ve site hizmetleri entegrasyonu */
.reha-edus-carousel {
  --reha-carousel-speed: 420ms;
  position: relative;
  overflow: visible;
}

.reha-edus-carousel__shell {
  overflow: visible;
}

.reha-edus-carousel__viewport {
  width: 100%;
  overflow: hidden !important;
  padding: 8px 2px 22px;
}

.reha-edus-carousel__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  gap: var(--reha-card-gap);
  padding: 0 !important;
  margin: 0;
  overflow: visible !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform var(--reha-carousel-speed) cubic-bezier(.22,.72,.24,1);
  touch-action: pan-y;
  backface-visibility: hidden;
}

.reha-edus-carousel__track::-webkit-scrollbar {
  display: none;
}

.reha-edus-carousel__slide {
  flex: 0 0 var(--reha-slide-width) !important;
  width: var(--reha-slide-width) !important;
  min-width: 0;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

.reha-edus-carousel.is-dragging .reha-edus-carousel__track {
  cursor: grabbing;
  transition: none !important;
  user-select: none;
}

.reha-edus-carousel[data-drag="yes"] .reha-edus-carousel__track {
  cursor: grab;
}

.reha-edus-carousel__arrow {
  top: 43%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(7, 26, 68, .10);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(7, 26, 68, .16);
  backdrop-filter: blur(10px);
}

.reha-edus-carousel__arrow--prev {
  left: 10px !important;
}

.reha-edus-carousel__arrow--next {
  right: 10px !important;
}

.reha-edus-carousel__arrow span {
  font-size: 38px;
  line-height: .65;
}

.reha-edus-carousel__arrow.is-disabled {
  opacity: .35;
}

.reha-edus-carousel[data-loop="yes"] .reha-edus-carousel__arrow.is-disabled {
  opacity: 1;
  pointer-events: auto;
}

.reha-edus-carousel__dots {
  gap: 9px;
  margin-top: 2px;
  min-height: 18px;
}

.reha-edus-carousel__dot {
  width: 9px;
  height: 9px;
  border: 1px solid transparent;
  background: #cbd5e6;
  opacity: .95;
}

.reha-edus-carousel__dot:hover {
  background: #071a44;
}

.reha-edus-carousel__dot.is-active {
  width: 30px;
  background: #0a9952;
}

@media (max-width: 1024px) {
  .reha-edus-carousel__arrow {
    top: 42%;
    width: 44px;
    height: 44px;
  }

  .reha-edus-carousel__arrow span {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .reha-edus-carousel__viewport {
    overflow: hidden !important;
    padding: 6px 0 18px;
  }

  .reha-edus-carousel__arrow {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    top: 41%;
  }

  .reha-edus-carousel__arrow--prev {
    left: 6px !important;
  }

  .reha-edus-carousel__arrow--next {
    right: 6px !important;
  }

  .reha-edus-carousel__arrow span {
    font-size: 28px;
  }

  .reha-edus-carousel__dot {
    width: 8px;
    height: 8px;
  }

  .reha-edus-carousel__dot.is-active {
    width: 24px;
  }
}
