/* ========================================
   ASL SINGLE REVIEW TEMPLATE - FIXED
   Version: 3.0 | De-bloated & Corrected
   ======================================== */

.elementor-location-header {
  position: relative !important;
  z-index: 9999 !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
body .asl-single-review-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
  padding-left: 5%;
  padding-right: 5%;
  margin-bottom: 60px;
  box-sizing: border-box;
}

body .asl-single-review-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.7) 0%,
    rgba(30, 58, 95, 0.85) 100%
  );
}

body .asl-single-review-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff !important;
  max-width: 900px;
  padding: 40px 40px 60px 40px;
  animation: fadeInUp 1s ease-out;
}

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

body .asl-single-review-kicker {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c6a15b !important;
  margin-bottom: 20px;
}

body .asl-single-review-hero-title {
  font-family: "Georgia", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #ffffff !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body .asl-single-review-hero-description {
  font-size: 18px;
  color: #ffffff !important;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 60px !important;
}

body .asl-single-review-hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Primary Button Only */
body .asl-single-review-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: linear-gradient(135deg, #c77c5d 0%, #c6a15b 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(199, 124, 93, 0.3);
  border: none;
}

body .asl-single-review-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 124, 93, 0.4);
  color: #ffffff !important;
}

body .asl-single-review-hero-btn-arrow {
  transition: transform 0.3s ease;
}

body
  .asl-single-review-hero-btn-primary:hover
  .asl-single-review-hero-btn-arrow {
  transform: translateX(3px);
}

body .asl-single-review-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
}

body .asl-single-review-scroll-arrow {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   MAIN WRAPPER
   ======================================== */
body .asl-single-review-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ========================================
   RATING & CLIENT
   ======================================== */
body .asl-single-review-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

body .asl-single-review-star {
  font-size: 28px;
}

body .asl-single-review-star-filled {
  color: #c6a15b;
}

body .asl-single-review-star-half {
  color: #c6a15b;
  opacity: 0.5;
}

body .asl-single-review-star-empty {
  color: #e0e0e0;
}

body .asl-single-review-rating-text {
  font-size: 16px;
  margin-left: 16px;
  font-weight: 600;
  color: #1e3a5f;
}

body .asl-single-review-client {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: #faf8f3;
  margin-bottom: 40px;
  border-radius: 12px;
}

body .asl-single-review-client-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c6a15b;
}

body .asl-single-review-client-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c6a15b 0%, #8b6f47 100%);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}

body .asl-single-review-client-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 4px 0;
}

body .asl-single-review-client-info p {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
  color: #1e3a5f;
}

/* ========================================
   CONTENT GRID
   ======================================== */
body .asl-single-review-content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 20px;
}

body .asl-single-review-content {
  padding: 40px;
  border-radius: 12px;
}

body .asl-single-review-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f5f5f5;
}

body .asl-single-review-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #333333;
}

/* ========================================
   SIDEBAR
   ======================================== */
body .asl-single-review-sidebar {
  background: #faf8f3;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #c6a15b;
  height: fit-content;
  position: sticky;
  top: 150px;
}

body .asl-single-review-sidebar h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px dashed #c6a15b;
}

body .asl-single-review-sidebar-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

body .asl-single-review-sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

body .asl-single-review-sidebar-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #c6a15b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

body .asl-single-review-sidebar-value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #1e3a5f;
}

/* ========================================
   CONTENT BUTTONS (Consolidated)
   ======================================== */
body .asl-single-review-btn-primary,
body .asl-single-review-btn-secondary,
body .asl-single-review-btn-secondary-white {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.3s ease;
}

body .asl-single-review-btn-primary {
  background: linear-gradient(135deg, #c77c5d 0%, #c6a15b 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(199, 124, 93, 0.3);
  border: none;
}

body .asl-single-review-btn-secondary {
  background: transparent;
  color: #1e3a5f !important;
  border: 2px solid #1e3a5f;
}

body .asl-single-review-btn-secondary-white {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid #ffffff;
}

body .asl-single-review-btn-primary:hover,
body .asl-single-review-btn-secondary:hover,
body .asl-single-review-btn-secondary-white:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

body .asl-single-review-btn-primary:hover {
  color: #ffffff !important;
}

body .asl-single-review-btn-secondary:hover,
body .asl-single-review-btn-secondary:active,
body .asl-single-review-btn-secondary:focus {
  background: #1e3a5f;
  color: #ffffff !important;
}

body .asl-single-review-btn-secondary-white:hover,
body .asl-single-review-btn-secondary-white:active,
body .asl-single-review-btn-secondary-white:focus {
  background: #ffffff;
  color: #1e3a5f !important;
}

/* ========================================
   PAGINATION
   ======================================== */
body .asl-single-review-pagination {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  margin: 64px 0;
  border-top: 2px solid #f5f5f5;
  border-bottom: 2px solid #f5f5f5;
}

body .asl-single-review-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 64px auto;
  padding: 40px 20px;
  border-top: 2px solid #f5f5f5;
  border-bottom: 2px solid #f5f5f5;
}

body .asl-single-review-pagination a:hover {
  color: #c77c5d;
}

body .asl-single-review-pagination-arrow {
  font-size: 20px;
  color: #c6a15b;
}

body .asl-single-review-pagination a small {
  font-size: 14px;
  opacity: 0.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
body .asl-single-review-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #2b3e50 100%);
  color: #ffffff !important;
  padding: 64px 40px;
  border-radius: 12px;
  text-align: center;
}

body .asl-single-review-cta h2 {
  font-family: "Georgia", serif;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #ffffff !important;
}

body .asl-single-review-cta p {
  font-size: 18px;
  color: #ffffff !important;
  opacity: 0.9;
  margin: 0 auto 40px;
  max-width: 600px;
}

body .asl-single-review-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  body .asl-single-review-hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  body .asl-single-review-hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  body .asl-single-review-hero {
    min-height: 100svh !important; /* Force modern */
    padding-top: 100px;
    padding-bottom: 40px;
  }

  body .asl-single-review-hero-title {
    font-size: 36px;
  }

  body .asl-single-review-hero-buttons,
  body .asl-single-review-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  body .asl-single-review-hero-btn-primary,
  body .asl-single-review-btn-primary,
  body .asl-single-review-btn-secondary,
  body .asl-single-review-btn-secondary-white {
    width: 100%;
    max-width: 280px;
  }

  body .asl-single-review-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body .asl-single-review-sidebar {
    position: static;
    top: auto;
  }

  body .asl-single-review-client {
    flex-direction: column;
    text-align: center;
  }

  body .asl-single-review-pagination {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  body .asl-single-review-hero {
    padding-top: 90px;
    padding-bottom: 30px;
  }

  body .asl-single-review-hero-title {
    font-size: 32px;
  }

  body .asl-single-review-content {
    padding: 20px;
  }

  body .asl-single-review-sidebar {
    padding: 24px;
  }
}

/* Hide secondary buttons in CTA */
body .asl-single-review-btn-secondary,
body .asl-single-review-btn-secondary-white {
  display: none !important;
}
