/* ==========================================================================
   PHÂN TÍCH NỘI TÂM - VERTICAL SPLIT SLIDER HERO BANNER
   (Referenced from /z-temp/dist-vertical-slider with Caraflow aesthetics)
   ========================================================================== */

.ptnt-slider-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--height-header, 76px));
  height: calc(100dvh - var(--height-header, 76px));
  min-height: calc(100vh - var(--height-header, 76px));
  overflow: hidden;
  background-color: #0d1117;
  border-bottom: 1px solid rgba(200, 149, 71, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

/* Left Slide (Text Content & Gradient Backgrounds) */
.ptnt-left-slide {
  height: 100%;
  width: 44%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}

.ptnt-left-slide > .ptnt-slide-item {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(28px, 4vw, 56px);
  color: #f3f4f6;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ambient glow on each left slide */
.ptnt-slide-item::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Left Slide Themes */
.ptnt-slide-item.theme-nostalgia {
  background: linear-gradient(145deg, #090d16 0%, #131726 50%, #1e1224 100%);
}

.ptnt-slide-item.theme-burden {
  background: linear-gradient(145deg, #22120d 0%, #3a1c13 50%, #4a2418 100%);
}

.ptnt-slide-item.theme-compassion {
  background: linear-gradient(145deg, #0a1b15 0%, #122f25 50%, #1a3f32 100%);
}

.ptnt-slide-item.theme-kintsugi {
  background: linear-gradient(145deg, #240f1a 0%, #3a1829 50%, #4d1e35 100%);
}

/* Badges & Meta Row */
.ptnt-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.theme-nostalgia .ptnt-slide-badge {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
}

.theme-burden .ptnt-slide-badge {
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.3);
  background: rgba(251, 146, 60, 0.1);
}

.theme-compassion .ptnt-slide-badge {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.1);
}

.theme-kintsugi .ptnt-slide-badge {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.3);
  background: rgba(244, 114, 182, 0.1);
}

/* Titles & Content */
.ptnt-slide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ptnt-slide-desc {
  font-size: clamp(0.88rem, 1.15vw, 0.98rem);
  line-height: 1.75;
  color: rgba(243, 244, 246, 0.82);
  margin-bottom: 24px;
  max-width: 480px;
  font-style: italic;
  font-weight: 300;
}

/* CTA Button */
.ptnt-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ptnt-slide-btn:hover {
  background: #ffffff;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.ptnt-slide-btn svg {
  transition: transform 0.25s ease;
}

.ptnt-slide-btn:hover svg {
  transform: translateX(4px);
}

/* Slide Counter in Left Slide */
.ptnt-slide-counter {
  position: absolute;
  bottom: 24px;
  left: clamp(28px, 4vw, 56px);
  font-size: 0.72rem;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
}

/* Right Slide (Atmospheric Visuals) */
.ptnt-right-slide {
  height: 100%;
  position: absolute;
  top: 0;
  left: 44%;
  width: 56%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.ptnt-right-slide > .ptnt-img-item {
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}

/* Deep moody gradient over right slide images */
.ptnt-img-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.4) 0%, rgba(13, 17, 23, 0.05) 50%, rgba(13, 17, 23, 0.3) 100%);
  pointer-events: none;
}

/* Action Buttons (Center Seam Controls) */
.ptnt-slider-actions {
  position: absolute;
  left: 44%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(12px);
}

.ptnt-slider-btn {
  background: transparent;
  border: none;
  color: #f3f4f6;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ptnt-slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #38bdf8;
}

.ptnt-slider-btn:active {
  transform: scale(0.92);
}

/* Pagination Dots Indicator */
.ptnt-slider-dots {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ptnt-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.ptnt-slider-dot.active {
  width: 24px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

/* Progress Bar */
.ptnt-slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 25;
}

.ptnt-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #f472b6, #fb923c);
  transition: width 0.1s linear;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR TABLET & MOBILE
   ========================================================================== */
@media (max-width: 860px) {
  .ptnt-slider-wrapper {
    height: calc(100vh - var(--height-header, 76px));
    height: calc(100dvh - var(--height-header, 76px));
    min-height: calc(100vh - var(--height-header, 76px));
  }

  .ptnt-left-slide {
    width: 50%;
  }

  .ptnt-right-slide {
    left: 50%;
    width: 50%;
  }

  .ptnt-slider-actions {
    left: 50%;
  }
}

@media (max-width: 680px) {
  .ptnt-slider-wrapper {
    height: calc(100vh - var(--height-header, 76px));
    height: calc(100dvh - var(--height-header, 76px));
    min-height: calc(100vh - var(--height-header, 76px));
  }

  .ptnt-left-slide {
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
  }

  .ptnt-left-slide > .ptnt-slide-item {
    background: rgba(13, 17, 23, 0.82) !important;
    backdrop-filter: blur(8px);
    padding: 30px 22px;
  }

  .ptnt-right-slide {
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }

  .ptnt-slider-actions {
    left: auto;
    right: 20px;
    top: auto;
    bottom: 20px;
    transform: none;
    flex-direction: row;
  }

  .ptnt-slider-dots {
    left: 20px;
    right: auto;
    bottom: 28px;
  }

  .ptnt-slide-title {
    font-size: 1.6rem;
  }

  .ptnt-slide-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .ptnt-slide-counter {
    display: none;
  }
}
