/* =============================================================================
   CLEANED ADDITIONAL CSS - FINAL VERSION
   Spring Valley Dental Associates
   
   This file contains only unique styles not covered in styles.css
   Removed duplicates and conflicting navigation rules
   ============================================================================= */

/* =============================================================================
   BLOG SPECIFIC ENHANCEMENTS
   ============================================================================= */

/* Blog Categories Container */
.blog-categories-container {
  background: var(--porcelain, #F7FAFC);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--sky-blue, #0077B6);
}

.blog-categories-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dallas-navy, #0E365A);
  font-family: 'Montserrat', sans-serif;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.category-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(14, 54, 90, 0.15);
  border-color: var(--sky-blue, #0077B6);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--sky-blue, #0077B6);
}

.category-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dallas-navy, #0E365A);
}

/* Blog Grid Layout Override */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 items per row on desktop */
  gap: 1.5rem;
}

/* Responsive blog grid */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   CONTACT FORM SPECIFIC STYLES
   ============================================================================= */

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.1);
  overflow: hidden;
}

.contact-header {
  background: linear-gradient(135deg, var(--dallas-navy, #0E365A) 0%, var(--sky-blue, #0077B6) 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 16px;
  color: white;
}

.form-container {
  padding: 3rem 2rem;
  background: var(--porcelain, #F7FAFC);
}

/* Form Options Grid */
.form-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.form-option-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(14, 54, 90, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.15);
  border-color: var(--sky-blue, #0077B6);
}

.form-option-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dallas-navy, #0E365A);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .contact-header {
    padding: 2rem 1rem;
  }

  .contact-header h2 {
    font-size: 1.75rem;
  }

  .form-container {
    padding: 2rem 1rem;
  }

  .form-options-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-option-card {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .contact-header h2 {
    font-size: 1.5rem;
  }

  .form-container {
    padding: 1.5rem 1rem;
  }

  .form-option-card {
    padding: 20px 12px;
  }
}

/* =============================================================================
   PATIENT INFO SPECIFIC STYLES
   ============================================================================= */

/* Patient Info Page Structure */
body.patient-info .section {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

/* Form Buttons - Patient Info Specific */
.form-button.new-patient-btn,
.form-button.existing-patient-btn {
  background: var(--sky-blue, #0077B6);
  color: white !important;
  border: 2px solid var(--sky-blue, #0077B6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-button.new-patient-btn:hover,
.form-button.existing-patient-btn:hover {
  background: var(--dallas-navy, #0E365A);
  border-color: var(--dallas-navy, #0E365A);
  color: white !important;
}

/* Dropdown Styling - Patient Info Plus Signs */
.info-collapse > summary {
  position: relative;
  padding-right: 2rem !important;
}

.info-collapse > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  color: var(--sky-blue, #0077B6) !important;
  transition: transform 0.3s ease !important;
}

.info-collapse[open] > summary::after {
  transform: translateY(-50%) rotate(45deg) !important;
}

/* Stacked dropdown sections - Patient Info */
body.patient-info .info-collapse {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-bottom: 0 !important;
  background: white !important;
  border-radius: 0 !important;
}

body.patient-info .info-collapse:first-child {
  border-radius: 12px 12px 0 0 !important;
}

body.patient-info .info-collapse:last-child {
  border-radius: 0 0 12px 12px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

body.patient-info .info-collapse:only-child {
  border-radius: 12px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

body.patient-info details summary {
  margin: 0 !important;
  padding: 1.5rem !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e5e7eb;
}

body.patient-info .info-section {
  padding: 1.5rem !important;
  margin: 0 !important;
  background: white !important;
}

/* Bottom CTA styling - Patient Info */
.bottom-cta .button-primary,
.bottom-cta .button-secondary,
.contact-btn.primary,
.contact-btn.secondary,
.contact-btn.tertiary {
  background: var(--sky-blue, #0077B6);
  color: white !important;
  border: 2px solid var(--sky-blue, #0077B6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0.25rem;
}

.bottom-cta .button-primary:hover,
.bottom-cta .button-secondary:hover,
.contact-btn.primary:hover,
.contact-btn.secondary:hover,
.contact-btn.tertiary:hover {
  background: var(--dallas-navy, #0E365A);
  border-color: var(--dallas-navy, #0E365A);
  color: white !important;
}

/* =============================================================================
   FAQ ACCORDION - SINGLE CLEAN VERSION (REMOVED ALL DUPLICATES)
   ============================================================================= */

/* FAQ Answer default state - hidden */
.faq-answer {
  display: none;
  padding: 1.5rem;
  background: white;
  color: var(--slate-ink, #24313A);
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* FAQ Answer when open - visible */
.faq-item.open .faq-answer,
.faq-answer.show {
  display: block !important;
}

/* FAQ Question styling */
.faq-question {
  cursor: pointer;
  font-weight: 600;
  color: var(--dallas-navy, #0E365A);
  padding: 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
  position: relative;
  padding-right: 3rem;
  user-select: none;
}

/* FAQ Question hover state */
.faq-question:hover {
  background: #f1f5f9;
}

/* FAQ Question focus state for accessibility */
.faq-question:focus {
  outline: 2px solid var(--sky-blue, #0077B6);
  outline-offset: 2px;
}

/* FAQ Plus/Minus icon */
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--sky-blue, #0077B6);
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Rotate icon when FAQ is open */
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

/* FAQ Item container */
.faq-item {
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-bottom: 0;
  background: white;
  border-radius: 0;
  overflow: hidden;
}

/* First and last FAQ items rounded corners */
.faq-item:first-child {
  border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
  border-radius: 0 0 12px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:only-child {
  border-radius: 12px;
  border-bottom: 1px solid #e5e7eb;
}

/* FAQ Container */
.faq-container {
  margin: 2rem 0;
}

.faq-container h2 {
  color: var(--dallas-navy, #0E365A);
  font-family: 'Montserrat', sans-serif;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sky-blue, #0077B6);
}

.faq-container h2:first-child {
  margin-top: 0;
}

/* Remove spacing between FAQ category sections */
.faq-container > section {
  margin: 0;
}

.faq-container > section + section {
  margin-top: 2rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .faq-question {
    padding: 1rem 2.5rem 1rem 1rem;
  }
  
  .faq-question::after {
    right: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .faq-item {
    border: 2px solid var(--slate-ink, #24313A);
  }
  
  .faq-question:focus {
    outline-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .faq-question::after {
    transition: none;
  }
}

/* =============================================================================
   EMERGENCY PAGE SPECIFIC STYLES
   ============================================================================= */

/* Emergency severity "pill" badges */
.severity-level {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(0, 119, 182, 0.12);
  color: var(--dallas-navy, #0E365A);
  border: 1px solid rgba(14, 54, 90, 0.12);
}

/* Optional dot indicator */
.severity-level::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.75;
}

/* Severity variants */
.severity-level.high {
  background: rgba(228, 108, 94, 0.16);
  color: #8a1414;
  border-color: rgba(228, 108, 94, 0.35);
}

.severity-level.medium {
  background: rgba(255, 193, 7, 0.16);
  color: #8a6d00;
  border-color: rgba(255, 193, 7, 0.35);
}

.severity-level.low {
  background: rgba(143, 214, 200, 0.18);
  color: #0e5b4e;
  border-color: rgba(143, 214, 200, 0.35);
}

/* Spacing tweak under emergency headings */
.emergency-card h3 + .severity-level { 
  margin-top: 0.25rem; 
}

/* Emergency hero compact spacing */
.page-emergency .emergency-hero h1 { 
  margin-bottom: .4rem; 
  line-height: 1.15; 
}

.page-emergency .emergency-hero p { 
  margin: .2rem 0 .75rem; 
  line-height: 1.35; 
}

.page-emergency .emergency-hero .button-group { 
  margin: .75rem 0 0; 
}

/* Keep pills tidy on small screens */
@media (max-width: 420px) {
  .severity-level { 
    font-size: 0.8125rem; 
    padding: 0.2rem 0.5rem; 
  }
}

/* =============================================================================
   REVIEW PAGE SPECIFIC STYLES
   ============================================================================= */

/* Review page specific adjustments - only unique styles not in main CSS */
.review-summary-mobile-fix {
  /* Any mobile-specific review fixes that aren't covered in styles.css */
}

/* =============================================================================
   MOBILE NAVIGATION - UPDATED FOR HTML STRUCTURE
   ============================================================================= */

@media (max-width: 768px) {
  /* Ensure navigation elements are properly styled */
  #site-nav .menu-section h3.section-title {
    color: var(--cool-gray, #5A6D80) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.5rem !important;
    padding: 0 0.5rem !important;
  }
  
  /* Consistent spacing for all menu sections */
  #site-nav .menu-section {
    margin-bottom: 0 !important;
    padding: 1rem 0 !important;
  }
  
  /* Remove any bottom margins from the last section */
  #site-nav .menu-section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
  }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

/* Force hide honeypot fields */
.hp-wrap {
  display: none !important;
}

/* Hidden utility class */
.hidden {
  display: none !important;
}

/* =============================================================================
   ABOUT PAGE MOBILE FIXES
   ============================================================================= */

/* Fix Our Story section on mobile */
@media (max-width: 768px) {
  .page-about .story-content {
    display: block !important;
    grid-template-columns: none !important;
    gap: 1.5rem !important;
  }
  
  .page-about .story-text {
    order: 2;
    margin-bottom: 1.5rem;
  }
  
  .page-about .story-image {
    order: 1;
    width: 100% !important;
    height: 250px !important;
    margin-bottom: 1.5rem;
  }
  
  .page-about .story-text p {
    text-align: left !important;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
}

/* Fix Dentist Cards on mobile */
@media (max-width: 768px) {
  .page-about .dentist-profiles {
    gap: 2rem !important;
  }
  
  .page-about .dentist-card {
    display: block !important;
    grid-template-columns: none !important;
    padding: 1.5rem !important;
    text-align: center;
  }
  
  .page-about .dentist-image {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 1.5rem auto !important;
    border-radius: 50% !important;
  }
  
  .page-about .dentist-info {
    width: 100% !important;
  }
  
  .page-about .dentist-info h3 {
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }
  
  .page-about .dentist-title {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }
  
  .page-about .credentials,
  .page-about .specialties,
  .page-about .personal-approach,
  .page-about .memberships {
    text-align: left !important;
    margin-bottom: 1.5rem !important;
  }
  
  .page-about .credentials h4,
  .page-about .specialties h4,
  .page-about .personal-approach h4,
  .page-about .memberships h4 {
    text-align: left !important;
  }
  
  .page-about .credentials ul,
  .page-about .specialties ul,
  .page-about .memberships ul {
    text-align: left !important;
    padding-left: 1rem !important;
  }
  
  .page-about .personal-approach p {
    text-align: left !important;
  }
}

/* Fix benefits grid on mobile */
@media (max-width: 768px) {
  .page-about .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .page-about .benefit-card {
    padding: 1.5rem !important;
    text-align: center !important;
  }
}

/* Fix features grid on mobile */
@media (max-width: 768px) {
  .page-about .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .page-about .feature-section {
    padding: 1.5rem !important;
  }
}

/* Fix practice stats on mobile */
@media (max-width: 768px) {
  .page-about .practice-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
  }
  
  .page-about .stat-item {
    text-align: center !important;
    padding: 1rem !important;
  }
  
  .page-about .stat-number {
    font-size: 2rem !important;
  }
}

/* Ensure all text content stays within viewport */
@media (max-width: 768px) {
  .page-about .content-section {
    padding: 1.5rem 1rem !important;
    overflow-x: hidden !important;
  }
  
  .page-about .content-section h2 {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }
  
  .page-about .content-section p {
    text-align: left !important;
    line-height: 1.6 !important;
  }
}

/* Fix any remaining overflow issues */
@media (max-width: 768px) {
  .page-about {
    overflow-x: hidden !important;
  }
  
  .page-about * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about .section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .page-about .story-image {
    height: 200px !important;
  }
  
  .page-about .dentist-image {
    width: 150px !important;
    height: 150px !important;
  }
  
  .page-about .dentist-card {
    padding: 1rem !important;
  }
  
  .page-about .content-section {
    padding: 1rem 0.5rem !important;
  }
  
  .page-about .practice-stats {
    padding: 1rem !important;
  }
  
  .page-about .benefit-card,
  .page-about .feature-section {
    padding: 1rem !important;
  }
}

/* =============================================================================
   REVIEW PAGE — Patient Success Stories (mobile fixes)
   ============================================================================= */

.success-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(14, 54, 90, 0.06);
  max-width: 100%;
  overflow-wrap: anywhere; /* prevent long strings from pushing width */
}

.story-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap; /* allow wrap on narrow screens */
}

.story-header .patient-info h3 {
  margin: 0 0 .25rem 0;
  line-height: 1.25;
}

.story-rating .stars {
  font-size: 1.1rem;
  line-height: 1;
}

.story-content blockquote {
  margin: .75rem 0;
  font-style: italic;
  line-height: 1.55;
}

.story-details {
  display: grid;
  gap: .5rem;
  margin-top: .5rem;
  color: #24313a;
}

/* Tablet */
@media (max-width: 1024px) {
  .success-stories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .success-stories {
    grid-template-columns: 1fr; /* one card per row */
    gap: 1rem;
  }

  .story-card {
    padding: 1rem;
  }

  .story-header {
    flex-direction: column;       /* stack title/rating vertically */
    align-items: flex-start;
  }

  .patient-info h3 {
    font-size: 1.1rem;
  }

  .patient-name,
  .treatment-type {
    font-size: .95rem;
  }

  .story-content blockquote {
    font-size: 1rem;
  }
}

/* =============================================================================
   MOBILE NAVIGATION FIX - Remove Extra X
   ============================================================================= */

/* Hide the hamburger menu when mobile drawer is open to prevent double X issue */
@media (max-width: 768px) {
  .site-nav.is-open ~ .hamburger {
    display: none !important;
  }
  
  /* Alternative fix: ensure only one close button is visible */
  .site-nav.is-open .hamburger {
    display: none !important;
  }
  
  /* Make sure the menu-close button is the only visible close option */
  .site-nav .menu-close {
    display: block !important;
    border: 0;
    background: none;
    font-size: 1.25rem;
    line-height: 1;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    color: var(--color-text-primary);
    z-index: 9999;
  }
}

/* =============================================================================
   TOP CTA STYLING TO MATCH BOTTOM STICKY CTAs
   ============================================================================= */

/* Style top CTAs in mobile navigation to match bottom sticky bar */
@media (max-width: 768px) {
  /* Top CTA buttons in mobile nav - match sticky bar exactly */
  #site-nav .menu-ctas {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    margin: 0.75rem 0 !important;
    padding: 0 !important;
  }
  
  #site-nav .menu-cta {
    display: grid !important;
    place-items: center !important;
    height: 48px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    min-height: 44px !important;
    text-align: center !important;
  }
  
  /* Match the exact colors from sticky CTA bar */
  #site-nav .menu-cta.call {
    background: var(--sky-blue) !important;
    color: white !important;
  }
  
  #site-nav .menu-cta.book {
    background: var(--dallas-navy) !important;
    color: white !important;
  }
  
  #site-nav .menu-cta.directions {
    background: var(--color-neutral-medium) !important;
    color: var(--color-text-primary) !important;
  }
  
  /* Hover effects matching sticky bar */
  #site-nav .menu-cta:hover,
  #site-nav .menu-cta:focus {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(14, 54, 90, 0.15) !important;
  }
  
  #site-nav .menu-cta:focus-visible {
    outline: 3px solid var(--sky-blue) !important;
    outline-offset: 2px !important;
  }
}

/* =============================================================================
   DESKTOP TOP CTA STYLING (IF NEEDED)
   ============================================================================= */

/* If you want similar 3-button CTA styling on desktop pages */
@media (min-width: 769px) {
  /* Style for any top CTA sections on desktop */
  .top-cta-bar,
  .header-cta-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
	}
}
/* Success Stories Grid Layout */
.success-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(14, 54, 90, 0.06);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(14, 54, 90, 0.12);
  border-color: var(--sky-blue);
}

.story-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.story-header .patient-info h3 {
  margin: 0 0 .25rem 0;
  line-height: 1.25;
  color: var(--dallas-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
}

.patient-name,
.treatment-type {
  font-size: .95rem;
  color: var(--cool-gray);
  margin-bottom: 0.25rem;
}

.treatment-type {
  color: var(--sky-blue);
  font-weight: 600;
}

.story-rating .stars {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--google-star);
  margin-bottom: 0.25rem;
}

.verified {
  font-size: 0.8rem;
  color: var(--mint);
  font-weight: 500;
}

.story-content blockquote {
  margin: .75rem 0;
  font-style: italic;
  line-height: 1.55;
  color: var(--slate-ink);
}

.story-details {
  display: grid;
  gap: .5rem;
  margin-top: .5rem;
  color: #24313a;
  font-size: 0.9rem;
}

.treatment-timeline {
  color: var(--cool-gray);
  font-weight: 500;
}

.story-highlight {
  color: var(--dallas-navy);
  font-weight: 500;
}

/* Review Platform Cards */
.review-platform-card {
  text-align: center;
  transition: all 0.3s ease;
}

.review-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.15);
  border-color: var(--sky-blue);
}

.platform-header {
  margin-bottom: 1.5rem;
}

.platform-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.review-platform-card h3 {
  color: var(--dallas-navy);
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.review-platform-card p {
  color: var(--cool-gray);
  font-size: 0.9rem;
  line-height: 1.4;
}

.review-btn {
  width: 100%;
  max-width: none;
  justify-content: center;
}

/* Review Guidelines Box */
.review-guidelines-box {
  margin-top: 2rem;
  background: var(--porcelain);
  border-left: 4px solid var(--sky-blue);
}

.review-guidelines-box h3 {
  color: var(--dallas-navy);
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.review-guidelines-box .mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.review-guidelines-box .mini-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.review-guidelines-box .mini-card h4 {
  color: var(--dallas-navy);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-guidelines-box .mini-card p {
  color: var(--cool-gray);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .success-stories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .story-card {
    padding: 1rem;
  }

  .story-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =============================================================================
   OPTION 1: ELEGANT COMPACT PATIENT SUCCESS STORIES
   ============================================================================= */

.success-stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 for better readability */
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.story-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(14, 54, 90, 0.06);
  transition: all 0.3s ease;
  border-left: 4px solid var(--sky-blue);
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 54, 90, 0.12);
  border-left-color: var(--dallas-navy);
}

.story-header {
  margin-bottom: 1rem;
}

.story-header .patient-info h3 {
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  color: var(--dallas-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.patient-name {
  font-size: 0.9rem;
  color: var(--cool-gray);
  margin-bottom: 0.25rem;
}

.treatment-type {
  font-size: 0.9rem;
  color: var(--sky-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.story-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.story-rating .stars {
  font-size: 1.1rem;
  color: var(--color-star);
}

.verified {
  font-size: 0.8rem;
  color: var(--mint);
  font-weight: 500;
}

.story-content blockquote {
  margin: 0 0 1rem 0;
  font-style: italic;
  line-height: 1.5;
  color: var(--slate-ink);
  font-size: 1rem;
  border-left: 3px solid var(--porcelain);
  padding-left: 1rem;
}

.story-details {
  font-size: 0.85rem;
  color: var(--cool-gray);
  line-height: 1.4;
}

.treatment-timeline {
  color: var(--cool-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.story-highlight {
  color: var(--dallas-navy);
  font-weight: 500;
  font-size: 0.85rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .success-stories {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .story-card {
    padding: 1.25rem;
  }
  
  .story-content blockquote {
    padding-left: 0.75rem;
  }
}

/* =============================================================================
   OPTION 2: COMPLETE REMOVAL (uncomment to use instead)
   ============================================================================= */

/*
.success-stories {
  display: none !important;
}

.section:has(.success-stories) {
  display: none !important;
}
*/

/* =============================================================================
   PLATFORM REVIEWS SPACING FIX - BALANCED RESPONSIVE
   ============================================================================= */

.platform-reviews {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.platform-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--porcelain);
  border-radius: 12px;
  border-left: 4px solid var(--sky-blue);
}

.platform-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--slate-ink);
  min-width: 120px;
  flex-shrink: 0;
}

.platform-logo svg {
  flex-shrink: 0;
  width: 24px !important;
  height: 24px !important;
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--dallas-navy);
}

.platform-rating .value {
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 32px;
}

.platform-rating .stars {
  color: var(--color-star) !important;
  font-family: Arial, Helvetica, Roboto, "Segoe UI", sans-serif;
  line-height: 1;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.platform-count {
  font-size: 0.9rem;
  color: var(--cool-gray);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}

/* Only stack on truly small screens (actual mobile devices) */
@media (max-width: 600px) {
  .platform-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }
  
  .platform-logo {
    justify-content: center;
    min-width: auto;
  }
  
  .platform-rating {
    justify-content: center;
  }
  
  .platform-rating .value {
    font-size: 1.4rem;
  }
  
  .platform-rating .stars {
    font-size: 1.2rem;
  }
  
  .platform-count {
    text-align: center;
    min-width: auto;
  }
}

/* Very small mobile screens */
@media (max-width: 480px) {
  .platform-item {
    padding: 1.5rem 1rem;
  }
  
  .platform-rating .value {
    font-size: 1.3rem;
  }
}
/* Tablet adjustments - switch to stacked layout earlier */
@media (max-width: 768px) {
  .platform-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem 1.5rem;
    min-height: auto;
  }
  
  .platform-logo {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }
  
  .platform-rating {
    justify-content: center;
    width: 100%;
    gap: 0.875rem;
  }
  
  .platform-rating .value {
    font-size: 1.5rem;
    min-width: auto;
  }
  
  .platform-count {
    text-align: center;
    min-width: auto;
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .platform-item {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  
  .platform-logo span {
    font-size: 1.1rem;
  }
  
  .platform-rating {
    gap: 1rem;
  }
  
  .platform-rating .value {
    font-size: 1.6rem;
  }
  
  .platform-rating .stars {
    font-size: 1.3rem;
  }
  
  .platform-count {
    margin-top: 0.5rem;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .platform-item {
    padding: 1.25rem 0.75rem;
  }
  
  .platform-rating .value {
    font-size: 1.4rem;
  }
  
  .platform-rating .stars {
    font-size: 1.1rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .platform-item {
    padding: 1.5rem 1rem;
  }
  
  .platform-rating .value {
    font-size: 1.5rem;
  }
  
  .platform-rating .stars {
    font-size: 1.2rem;
  }
}

/* =============================================================================
   TESTIMONIAL HIGHLIGHTS - COMPACT DESIGN
   ============================================================================= */

.testimonial-highlights {
  background: linear-gradient(135deg, var(--porcelain) 0%, var(--cloud) 100%);
  padding: 3rem 2rem;
  border-radius: 16px;
  margin: 3rem 0;
}

.testimonial-highlights h2 {
  text-align: center;
  color: var(--dallas-navy);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.highlight-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(14, 54, 90, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14, 54, 90, 0.12);
  border-color: var(--sky-blue);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.highlight-card h3 {
  color: var(--dallas-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.highlight-quote {
  color: var(--cool-gray);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.quote-author {
  color: var(--sky-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tablet Layout */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .testimonial-highlights {
    padding: 2.5rem 1.5rem;
  }
}

/* Mobile Layout */
@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial-highlights {
    padding: 2rem 1rem;
  }
  
  .testimonial-highlights h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .highlight-card {
    padding: 1.25rem;
  }
  
  .highlight-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .highlight-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .highlight-quote {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .testimonial-highlights h2 {
    font-size: 1.5rem;
  }
  
  .highlight-card {
    padding: 1rem;
  }
}
/* =============================================================================
   FAQ NAVIGATION SCROLL OFFSET FIX
   Add this to your cleaned-additional-css.css file
   ============================================================================= */

/* Scroll offset for FAQ sections to account for sticky header */
#general-care,
#treatments,
#comfort,
#costs,
#post-op {
  scroll-margin-top: 120px; /* Adjust this value based on your header height */
}

/* Mobile-specific scroll offset fixes */
@media (max-width: 768px) {
  #general-care,
  #treatments,
  #comfort,
  #costs,
  #post-op {
    scroll-margin-top: 200px; /* Increased for mobile header + FAQ pills */
  }
  
  /* Ensure FAQ containers also have proper offset */
  .faq-container {
    scroll-margin-top: 200px;
  }
  
  /* Alternative: Use padding-top method for better mobile compatibility */
  #general-care::before,
  #treatments::before,
  #comfort::before,
  #costs::before,
  #post-op::before {
    content: "";
    display: block;
    height: 200px;
    margin-top: -200px;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .faq-categories {
    position: static !important; /* Remove sticky behavior */
    top: auto !important;
    z-index: auto !important;
  }
}

/* Hide the top CTA block inside the mobile menu */
#site-nav .menu-ctas { 
  display: none !important;
}
/* Hide the NAV BAR blockfrom the top  */
.top-bar {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-nav .hide-dup { display: none !important; }

.site-links a[aria-current="page"],
.menu-links a[aria-current="page"] {
  text-decoration: underline;
  font-weight: 600;
}
/* Header reveal: move transform to the inner bar (not the header) */
.site-header {
  position: sticky;      /* keep sticky */
  top: 0;
  z-index: var(--nav-z-index, 1000); /* keep your var if set */
  /* ❌ no transform or transition here */
}

@media (prefers-reduced-motion: reduce) {
  .site-header .navbar { transition: none; }
}

/* Desktop CTA visibility guard (prevents rare post-resize paint glitches) */
@media (min-width: 769px) {
  .site-header .site-links a.cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
/* Mobile header scroll behavior - clean implementation */
@media (max-width: 768px) {
  .site-header {
    transition: transform 0.25s ease-in-out;
  }
  
  .site-header.is-hidden {
    transform: translateY(-100%);
  }
  
  /* Ensure navbar doesn't interfere */
  .site-header .navbar {
    transform: none !important;
    transition: none !important;
  }
}
/* Clean mobile header - no hide/show behavior */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: none;
    transition: none;
  }
  
  .site-header .navbar {
    transform: none;
    transition: none;
  }
}
/* Only apply padding on mobile when header is fixed */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}

/* Ensure no padding on desktop */
@media (min-width: 769px) {
  body {
    padding-top: 0;
  }
}
/* =============================================================================
   REVIEWS PAGE COMPLETE FIX - Add to end of cleaned-additional-css.css
   ============================================================================= */

/* Force override any existing review grid styles */
.reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

/* Review card base styling - force consistency */
.review-card {
  background: white !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 16px rgba(14, 54, 90, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.review-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.15) !important;
  border-color: var(--sky-blue, #0077B6) !important;
}

/* Review header layout - force proper alignment */
.review-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.reviewer-info {
  flex: 1 !important;
  min-width: 120px !important;
}

.reviewer-name {
  font-weight: 600 !important;
  color: var(--dallas-navy, #0E365A) !important;
  margin-bottom: 0.25rem !important;
  font-size: 1rem !important;
}

.review-date {
  color: var(--cool-gray, #5A6D80) !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

/* Review rating section - force proper layout */
.review-rating {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}

.review-rating .stars {
  color: #FBBC05 !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.platform-badge {
  padding: 0.25rem 0.5rem !important;
  border-radius: 12px !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.platform-badge.google {
  background: #4285F4 !important;
  color: white !important;
}

.platform-badge.facebook {
  background: #1877F2 !important;
  color: white !important;
}

/* Review content - ensure proper spacing */
.review-card blockquote {
  color: var(--slate-ink, #24313A) !important;
  line-height: 1.6 !important;
  margin: 0 0 1.5rem 0 !important;
  font-style: italic !important;
  flex-grow: 1 !important;
  padding: 0 !important;
  border: none !important;
}

/* Review tags - force proper layout */
.review-tags {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.tag {
  background: var(--porcelain, #F7FAFC) !important;
  color: var(--dallas-navy, #0E365A) !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Rating breakdown fixes - Override your inline styles */
.rating-row {
  display: grid !important;
  grid-template-columns: 70px 1fr 50px !important;
  gap: 12px !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  min-height: 28px !important;
}

.stars-label {
  text-align: left !important;
  white-space: nowrap !important;
  font-size: 0.9rem !important;
  color: var(--cool-gray, #5A6D80) !important;
}

.rating-bar {
  width: 100% !important;
  height: 10px !important;
  background: #E9EFF5 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.rating-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #FBBC05 0%, #34A853 100%) !important;
  border-radius: 4px !important;
  transition: width 0.3s ease !important;
}

.rating-count {
  text-align: right !important;
  min-width: 40px !important;
  font-size: 0.9rem !important;
  color: var(--cool-gray, #5A6D80) !important;
}

/* Success Stories Grid - ensure proper layout */
.success-stories {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

.story-card {
  background: white !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.1) !important;
  border-left: 5px solid var(--mint, #8FD6C8) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.story-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 48px rgba(14, 54, 90, 0.15) !important;
}

/* Platform reviews section */
.platform-reviews {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin-top: 2rem !important;
}

.platform-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.5rem !important;
  background: var(--porcelain, #F7FAFC) !important;
  border-radius: 12px !important;
  border-left: 4px solid var(--sky-blue, #0077B6) !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.platform-logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-weight: 600 !important;
  color: var(--slate-ink, #24313A) !important;
  min-width: 120px !important;
  flex-shrink: 0 !important;
}

.platform-rating {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-weight: 600 !important;
  color: var(--dallas-navy, #0E365A) !important;
}

.platform-rating .value {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-right: 0.5rem !important;
}

.platform-rating .stars {
  color: #FBBC05 !important;
  font-family: Arial, sans-serif !important;
  line-height: 1 !important;
  font-size: 1.1rem !important;
}

.platform-count {
  font-size: 0.9rem !important;
  color: var(--cool-gray, #5A6D80) !important;
  white-space: nowrap !important;
  min-width: 80px !important;
  text-align: right !important;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .success-stories {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .review-card {
    padding: 1.5rem !important;
  }
  
  .story-card {
    padding: 1.5rem !important;
  }
  
  .review-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  
  .review-rating {
    align-items: flex-start !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  
  .platform-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
    padding: 2rem 1.5rem !important;
  }
  
  .platform-logo {
    justify-content: center !important;
    min-width: auto !important;
  }
  
  .platform-rating {
    justify-content: center !important;
  }
  
  .platform-count {
    text-align: center !important;
    min-width: auto !important;
  }
  
  .rating-row {
    grid-template-columns: 75px 1fr 45px !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 1rem !important;
  }
  
  .story-card {
    padding: 1rem !important;
  }
  
  .platform-item {
    padding: 1.5rem 1rem !important;
  }
  
  .rating-row {
    grid-template-columns: 70px 1fr 40px !important;
    gap: 8px !important;
  }
}

/* Testimonial highlights grid */
.testimonial-highlights {
  background: linear-gradient(135deg, var(--porcelain, #F7FAFC) 0%, var(--cloud, #EEF2F6) 100%) !important;
  padding: 3rem 2rem !important;
  border-radius: 16px !important;
  margin: 3rem 0 !important;
}

.highlights-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.highlight-card {
  background: white !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(14, 54, 90, 0.06) !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
}

.highlight-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(14, 54, 90, 0.12) !important;
  border-color: var(--sky-blue, #0077B6) !important;
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .testimonial-highlights {
    padding: 2rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr !important;
  }
  
  .highlight-card {
    padding: 1rem !important;
  }
}

/* Simple mobile fix for existing HTML structure */
@media (max-width: 768px) {
  .highlight-box .feature-list li {
    display: block !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
  }
  
  .highlight-box .feature-list li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.1rem !important;
    background: var(--mint, #8FD6C8) !important;
    color: var(--dallas-navy, #0E365A) !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 0.8rem !important;
  }
  
  .highlight-box .feature-list li strong {
    display: block !important;
    margin-bottom: 0.25rem !important;
  }
}
/* =============================================================================
   PATIENT SUCCESS STORIES RESPONSIVE FIX - Add to cleaned-additional-css.css
   ============================================================================= */

/* Force better responsive behavior for success stories */
.success-stories {
  display: grid !important;
  grid-template-columns: 1fr !important; /* Single column by default */
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

/* Desktop: 2 columns for wider screens */
@media (min-width: 900px) {
  .success-stories {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* Large desktop: 3 columns only on very wide screens */
@media (min-width: 1400px) {
  .success-stories {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }
}

/* Story card improvements */
.story-card {
  background: white !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 8px 32px rgba(14, 54, 90, 0.1) !important;
  border-left: 5px solid var(--mint, #8FD6C8) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 400px !important; /* Ensures consistent minimum height */
}

.story-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 48px rgba(14, 54, 90, 0.15) !important;
}

/* Story header layout fixes */
.story-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  align-items: flex-start !important;
}

.patient-info h3 {
  color: var(--dallas-navy, #0E365A) !important;
  margin-bottom: 0.5rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
  word-wrap: break-word !important;
  hyphens: auto !important;
}

.patient-name {
  color: var(--cool-gray, #5A6D80) !important;
  margin-bottom: 0.25rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.treatment-type {
  color: var(--sky-blue, #0077B6) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* Story rating section */
.story-rating {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

.story-rating .stars {
  color: var(--color-star, #FBBC05) !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

.verified {
  color: var(--mint, #8FD6C8) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  background: rgba(143, 214, 200, 0.1) !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 12px !important;
}

/* Story content improvements */
.story-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.story-content blockquote {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--slate-ink, #24313A) !important;
  margin: 0 0 1.5rem 0 !important;
  font-style: italic !important;
  padding-left: 1rem !important;
  border-left: 3px solid var(--sky-blue, #0077B6) !important;
  flex-grow: 1 !important;
  word-wrap: break-word !important;
  hyphens: auto !important;
}

/* Story details section */
.story-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  margin-top: auto !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--cloud, #EEF2F6) !important;
}

.treatment-timeline {
  color: var(--cool-gray, #5A6D80) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.story-highlight {
  color: var(--dallas-navy, #0E365A) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  word-wrap: break-word !important;
  hyphens: auto !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .success-stories {
    gap: 1.5rem !important;
  }
  
  .story-card {
    padding: 1.5rem !important;
    min-height: 350px !important;
  }
  
  .story-header {
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .patient-info h3 {
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
  }
  
  .story-content blockquote {
    font-size: 0.95rem !important;
    padding-left: 0.75rem !important;
  }
  
  .story-rating {
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .story-card {
    padding: 1rem !important;
    min-height: 300px !important;
  }
  
  .patient-info h3 {
    font-size: 1rem !important;
  }
  
  .story-content blockquote {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .patient-name,
  .treatment-type {
    font-size: 0.85rem !important;
  }
  
  .treatment-timeline,
  .story-highlight {
    font-size: 0.85rem !important;
  }
}

/* Very wide screens - prevent cards from getting too wide */
@media (min-width: 1600px) {
  .success-stories {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Text wrapping and readability improvements */
.story-card * {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

/* Prevent orphaned words in headings */
.patient-info h3 {
  text-wrap: balance !important;
}

/* Better text handling for quotes */
.story-content blockquote {
  text-wrap: pretty !important;
}