/* ==========================================================================
   AHS Education - Testimonials Page Stylesheet
   Pure CSS3 with custom variables, responsive design, and smooth animations
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-orange: #FF7E1D;
  --primary-orange-dark: #E85B17;
  --primary-orange-light: #FFF4EC;
  --secondary-navy: #0C2340;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light-muted: #94A3B8;
  --border-light: #E2E8F0;
  --card-border-subtle: #F1F5F9;
  --card-bg-white: #FFFFFF;

  /* Hero Gradient & Accents */
  --hero-bg-top: #FFBA3B;
  --hero-bg-mid: #FFA726;
  --hero-bg-bottom: #FF941A;

  /* Fonts */
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 30px rgba(12, 35, 64, 0.05);
  --shadow-highlight: 0 16px 36px rgba(255, 126, 29, 0.15);
  --shadow-modal: 0 24px 60px rgba(12, 35, 64, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #FFFDF9;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: #FFFFFF;
  border: 1.5px solid var(--primary-orange);
  box-shadow: 0 4px 14px rgba(255, 126, 29, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-orange-dark);
  border-color: var(--primary-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 91, 23, 0.4);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--secondary-navy);
  border: 1.5px solid #FFBE98;
}

.btn-outline:hover {
  background-color: var(--primary-orange-light);
  border-color: var(--primary-orange);
  color: var(--primary-orange-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   Full width with vibrant warm gradient & fallback background
   User can place hero-bg.png into the directory to show custom mascot
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /* Clean background with zero bottom color bleed; pushes 30px transparent bottom below view */
  background-color: #FFFDF9;
  background-image:
    url('/assets/img/summer-camp-testimonials/hero-bg.png'),
    linear-gradient(180deg, #FFAE2E 0%, #FFAE2E 82%, #FFFDF9 100%);
  background-size: cover, cover;
  background-position: center bottom -28px, center;
  background-repeat: no-repeat;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-orange-dark);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(180, 60, 0, 0.25);
  margin-bottom: 24px;
}

/* Playful Outlined Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 66px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-navy {
  color: #173866;
  -webkit-text-stroke: 3.5px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.title-orange {
  color: #F36523;
  -webkit-text-stroke: 3.5px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  color: #153154;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 32px;
}

.desktop-br {
  display: block;
}

/* Choose Your Story Divider */
.choose-story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.divider-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-orange-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

.divider-line {
  width: 44px;
  height: 2px;
  background-color: #0C2340;
  border-radius: 2px;
}

.divider-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--secondary-navy);
  letter-spacing: 0.3px;
  padding: 0 4px;
}

/* Story Category Tabs */
.story-tabs-wrapper {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 8px;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.story-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-navy);
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary-orange);
}

.tab-btn.active {
  background-color: #FEF3E2;
  color: var(--secondary-navy);
  font-weight: 700;
}

/* ==========================================================================
   PAGE CONTENT & SECTIONS
   ========================================================================== */
.page-content {
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8F1 50%, #FFFDF9 100%);
  padding-bottom: 90px;
}

.testimonials-section {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Section Header Bar */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}

.header-text-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: #F36523;
  letter-spacing: 0.2px;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--secondary-navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 1: PARENT STORIES GRID
   ========================================================================== */
.parent-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: stretch;
}

/* Story Card Base */
.story-card {
  background-color: var(--card-bg-white);
  border-radius: 28px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(240, 230, 220, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12, 35, 64, 0.08);
}

.quote-icon {
  margin-bottom: 16px;
}

.card-quote {
  font-size: 16px;
  line-height: 1.68;
  color: #334155;
  font-weight: 400;
  flex-grow: 1;
}

.card-divider {
  border: none;
  height: 1px;
  background-color: var(--card-border-subtle);
  margin-top: 24px;
  margin-bottom: 20px;
}

.card-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary-navy);
}

.author-location {
  font-size: 14px;
  color: var(--text-muted);
}

/* Card 2 with Video inside */
.card-parent-video {
  padding: 32px 32px 28px;
}

.card-parent-video-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  align-items: center;
  height: 100%;
}

.video-story-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Video Preview Box */
.video-preview-box {
  width: 100%;
  height: 100%;
  min-height: 220px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-color: #E2E8F0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.video-thumb-media {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Poster Artwork */
.video-poster-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(245, 235, 224, 0.3) 0%, rgba(200, 185, 170, 0.4) 100%),
    url('https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=700&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
}

.video-poster-caption {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.poster-title {
  font-size: 11px;
  font-weight: 700;
  color: #4A3A2C;
  line-height: 1.2;
}

.poster-heart {
  color: #4A3A2C;
  font-size: 10px;
}

/* Play Button */
.play-btn-circle {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-preview-box:hover .play-btn-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(255, 126, 29, 0.4);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(12, 35, 64, 0.85);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   SECTION 2: MEET MORE OF OUR RISING STARS
   ========================================================================== */
.rising-stars-section {
  padding-top: 40px;
}

.rising-stars-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.star-card {
  background-color: var(--card-bg-white);
  border-radius: 28px;
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(240, 230, 220, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.star-card:hover {
  transform: translateY(-4px);
}

/* Featured / Highlighted Card (Middle Card) */
.star-card.is-highlighted {
  border: 2px solid #FF7E1D;
  background-color: #FFFDF9;
  box-shadow: var(--shadow-highlight);
}

.star-card-text {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  flex-grow: 1;
}

.star-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.avatar-green {
  background-color: #D1FAE5;
  color: #065F46;
}

.avatar-blue {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.avatar-pink {
  background-color: #FCE7F3;
  color: #9D174D;
}

.star-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-navy);
}

/* Pagination Dots */
.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.dot-btn {
  border: none;
  background-color: #E2E8F0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.dot-btn.active {
  background-color: var(--primary-orange);
  width: 24px;
  border-radius: 9999px;
}

/* ==========================================================================
   MODAL DIALOGS (VIDEO & REVIEW)
   ========================================================================== */
.sc-testimonial-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 64, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sc-testimonial-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sc-testimonial-modal-dialog {
  background-color: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sc-testimonial-modal-overlay.is-active .sc-testimonial-modal-dialog {
  transform: translateY(0) scale(1);
}

.video-modal-dialog {
  max-width: 820px;
  background-color: #000000;
}

.sc-testimonial-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-light);
}

.video-modal-dialog .sc-testimonial-modal-header {
  border-bottom: 1px solid #222222;
  background: #111111;
}

.sc-testimonial-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-navy);
}

.video-modal-dialog .sc-testimonial-modal-title {
  color: #FFFFFF;
}

.sc-testimonial-modal-close {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--transition-fast);
}

.video-modal-dialog .sc-testimonial-modal-close {
  color: #AAAAAA;
}

.sc-testimonial-modal-close:hover {
  color: var(--primary-orange);
}

/* Video Container */
.sc-testimonial-video-container video {
  width: 100%;
  height: auto;
  max-height: 75vh;
  display: block;
}

/* ==========================================================================
   WRITE A REVIEW MODAL (Exact match to reference mockup)
   Optimized for 90% resolution & standard screens with top/bottom breathing space
   ========================================================================== */
.review-modal-dialog {
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 44px);
  border-radius: 28px;
  background-color: #FFFFFF;
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.28);
  position: relative;
  display: flex;
  flex-direction: column;
  margin: auto;
  overflow: hidden;
}

/* Red circle close button (top right) */
.rm-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #B91C1C;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.rm-close-btn:hover {
  background-color: #991B1B;
  transform: scale(1.08);
}

.rm-form {
  padding: 24px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #E2E8F0 transparent;
}

.rm-form::-webkit-scrollbar {
  width: 6px;
}

.rm-form::-webkit-scrollbar-thumb {
  background-color: #E2E8F0;
  border-radius: 9999px;
}

/* Modal Title */
.rm-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  color: #FF7A00;
  text-align: center;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

/* Row 1: Name and Email side by side */
.rm-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rm-input-wrap,
.rm-textarea-wrap,
.rm-select-wrap {
  width: 100%;
}

.rm-input,
.rm-select,
.rm-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #1E293B;
  background-color: #F8F9FD;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10.5px 16px;
  outline: none;
  transition: all 0.2s ease;
}

.rm-input::placeholder,
.rm-textarea::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.rm-input:focus,
.rm-select:focus,
.rm-textarea:focus {
  background-color: #FFFFFF;
  border-color: #FF7E1D;
  box-shadow: 0 0 0 3px rgba(255, 126, 29, 0.12);
}

/* Row 2: Select Role */
.rm-select-wrap {
  position: relative;
}

.rm-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 38px;
}

.rm-select:invalid,
.rm-select option[value=""] {
  color: #94A3B8;
}

.rm-select option {
  color: #1E293B;
  background: #FFFFFF;
}

.rm-select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Row 3: Textarea */
.rm-textarea {
  resize: none;
  height: 84px;
  line-height: 1.45;
}

/* Row 4: Dashed Video Upload Dropzone */
.rm-video-upload {
  border: 1.5px dashed #CBD5E1;
  border-radius: 14px;
  background-color: #F8FAFC;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.rm-video-upload:hover,
.rm-video-upload.is-dragover {
  border-color: #FF7E1D;
  background-color: #FFF9F3;
}

.rm-video-upload:focus {
  outline: none;
  border-color: #FF7E1D;
  box-shadow: 0 0 0 3px rgba(255, 126, 29, 0.12);
}

.rm-file-input {
  display: none;
}

.rm-video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rm-camera-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.rm-video-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 2px;
}

.rm-video-sub {
  font-size: 11px;
  color: #64748B;
}

/* Row 5: Submit Button */
.rm-submit-btn {
  width: 100%;
  background: #FF7E1D;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 126, 29, 0.35);
  transition: all 0.2s ease;
  margin-top: 2px;
}

.rm-submit-btn:hover {
  background: #E85B17;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 91, 23, 0.45);
}

.rm-submit-btn:active {
  transform: translateY(0);
}

/* Success State */
.rm-success-state {
  text-align: center;
  padding: 16px 10px;
  animation: fadeIn 0.3s ease;
}

.rm-success-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background-color: #10B981;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-success-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.rm-success-text {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   Deep multi-device optimization (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 640px;
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .parent-cards-grid {
    grid-template-columns: 1fr;
  }

  .card-parent-video-layout {
    grid-template-columns: 1fr 1fr;
  }

  .rising-stars-slider-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
  .hero-section {
    min-height: 560px;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-title {
    -webkit-text-stroke: 3.5px #FFFFFF;
  }

  .desktop-br {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .card-parent-video-layout {
    grid-template-columns: 1fr;
  }

  .video-preview-box {
    min-height: 240px;
  }

  .rising-stars-slider-track {
    grid-template-columns: 1fr;
  }

  .star-card {
    display: none;
  }

  .star-card.is-mobile-active {
    display: flex;
  }
}

/* Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .hero-title {
    -webkit-text-stroke: 2.5px #FFFFFF;
  }

  .story-tabs {
    gap: 2px;
  }

  .tab-btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .story-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .card-parent-video {
    padding: 24px 20px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
    text-align: center;
  }

  .review-modal-dialog {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .rm-form {
    padding: 20px 18px 20px 18px;
    gap: 10px;
  }

  .rm-row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rm-title {
    font-size: 23px;
  }

  .rm-close-btn {
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
  }
}