/* =====================================================
   REKHATAMA HIGHLIGHT CAROUSEL - CLEAN SAFE VERSION
===================================================== */

.rkh-highlight-carousel,
.rkh-highlight-carousel * {
 box-sizing: border-box;
}

.rkh-highlight-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
  border-radius: 0;
}

.rkh-highlight-carousel__viewport {
  position: relative;
  width: 100%;
  min-height: 440px;
  overflow: hidden;
}

.rkh-highlight-carousel__slide {
  display: none;
  width: 100%;
  max-width: 100%;
  min-height: 440px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
  padding: 64px clamp(32px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 35%),
    linear-gradient(135deg, #0f172a 0%, #102554 58%, #123f74 100%);
}

.rkh-highlight-carousel__slide.is-active {
  display: grid;
}

.rkh-highlight-carousel__content {
  max-width: 760px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.rkh-highlight-carousel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/*
.rkh-highlight-carousel__title {
  max-width: 760px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.045em;
}
*/
.rkh-highlight-carousel__title {
  max-width: 680px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.1vw, 3.25rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

/*
.rkh-highlight-carousel__summary {
  max-width: 680px;
  margin: 0 0 28px;
  color: #dbeafe;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}
*/
.rkh-highlight-carousel__summary {
  max-width: 620px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.rkh-highlight-carousel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rkh-highlight-carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: max-content;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.rkh-highlight-carousel__button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.rkh-highlight-carousel__button--primary {
  background: #ffffff;
  color: #0f172a;
}

.rkh-highlight-carousel__button--primary:hover {
  background: #e0f2fe;
  color: #0f172a;
}

.rkh-highlight-carousel__button--secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.rkh-highlight-carousel__button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rkh-highlight-carousel__media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rkh-highlight-carousel__media::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 22px;
  border-radius: 28px;
  background: rgba(56, 189, 248, 0.24);
}

.rkh-highlight-carousel__media img {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

/* Controls */
.rkh-highlight-carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.rkh-highlight-carousel__control:hover {
  background: rgba(255, 255, 255, 0.26);
}

.rkh-highlight-carousel__control--prev {
  left: 18px;
}

.rkh-highlight-carousel__control--next {
  right: 18px;
}

/* Indicators */
.rkh-highlight-carousel__indicators {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.rkh-highlight-carousel__indicator {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.rkh-highlight-carousel__indicator.is-active {
  width: 26px;
  background: #ffffff;
}

/* Empty state */
.rkh-highlight-carousel__empty {
  padding: 38px;
  background: #f8fafc;
  color: #0f172a;
  border: 1px dashed #cbd5e1;
}

.rkh-highlight-carousel__empty strong,
.rkh-highlight-carousel__empty span {
  display: block;
}

/* =====================================================
   OPTIONAL: SAFE FULL WIDTH ONLY FOR ROOT WRAPPER
   Do not use wildcard selector.
===================================================== */

.path-frontpage .rkh-highlight-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 960px) {
  .rkh-highlight-carousel__viewport {
    min-height: auto;
  }

  .rkh-highlight-carousel__slide,
  .rkh-highlight-carousel__slide.is-active {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 46px 22px 76px;
  }

  .rkh-highlight-carousel__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .rkh-highlight-carousel__media img {
    height: 260px;
  }

  .rkh-highlight-carousel__control {
    display: none;
  }

  .rkh-highlight-carousel__button {
    max-width: none;
  }
}

.rkh-highlight-carousel {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
}

.rkh-highlight-carousel__slide {
  padding-left: 90px;
  padding-right: 90px;
}

@media (max-width: 768px) {
  .rkh-highlight-carousel__slide {
    padding-left: 18px;
    padding-right: 18px;
  }
}