/* FINAL COMPACT SLIDER STYLING - MAXIMUM SPECIFICITY */

/* Override everything with maximum specificity */
html body #persian-slider .slider .slide .card .service-description {
  text-align: right !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
}

html body #persian-slider .slider .slide .card .service-description > p {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  color: #e5efff !important;
  margin: 0 0 0.4rem 0 !important;
  font-weight: 400 !important;
  padding: 0 !important;
}

html body #persian-slider .slider .slide .card .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.3rem !important;
  margin-top: 0.4rem !important;
  padding: 0 !important;
}

html body #persian-slider .slider .slide .card .contact-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px !important;
  padding: 0.3rem !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  margin: 0 !important;
}

html body #persian-slider .slider .slide .card .contact-card h4 {
  font-size: 0.85rem !important;
  margin: 0 0 0.15rem 0 !important;
  color: #22d3ee !important;
  font-weight: 600 !important;
  padding: 0 !important;
}

html body #persian-slider .slider .slide .card .contact-card p {
  font-size: 0.75rem !important;
  margin: 0 0 0.1rem 0 !important;
  line-height: 1.2 !important;
  color: #e5efff !important;
  padding: 0 !important;
}

/* Hide images on first slide */
html body #persian-slider .slider .slide:first-child .media-wrap {
  display: none !important;
}

html body #persian-slider .slider .slide:first-child .media {
  display: none !important;
}

/* Mobile overrides */
@media (max-width: 768px) {
  html body #persian-slider .slider .slide .card .service-description > p {
    font-size: 0.9rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card {
    padding: 0.35rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card h4 {
    font-size: 0.8rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card p {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 480px) {
  html body #persian-slider .slider .slide .card .service-description > p {
    font-size: 0.85rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card {
    padding: 0.3rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card h4 {
    font-size: 0.75rem !important;
  }
  
  html body #persian-slider .slider .slide .card .contact-card p {
    font-size: 0.65rem !important;
  }
}

/* Force override any conflicting styles */
html body #persian-slider .slider .slide .card .service-description *,
html body #persian-slider .slider .slide .card .contact-info *,
html body #persian-slider .slider .slide .card .contact-card * {
  box-sizing: border-box !important;
}

/* Remove any conflicting styles */
html body #persian-slider .slider .slide .card .service-description,
html body #persian-slider .slider .slide .card .contact-info,
html body #persian-slider .slider .slide .card .contact-card {
  all: unset;
  display: block !important;
}

/* Re-apply our styles after reset */
html body #persian-slider .slider .slide .card .service-description {
  text-align: right !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
  display: block !important;
}

html body #persian-slider .slider .slide .card .service-description > p {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  color: #e5efff !important;
  margin: 0 0 0.4rem 0 !important;
  font-weight: 400 !important;
  padding: 0 !important;
  display: block !important;
}

html body #persian-slider .slider .slide .card .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.3rem !important;
  margin-top: 0.4rem !important;
  padding: 0 !important;
}

html body #persian-slider .slider .slide .card .contact-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px !important;
  padding: 0.3rem !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  margin: 0 !important;
  display: block !important;
}

html body #persian-slider .slider .slide .card .contact-card h4 {
  font-size: 0.85rem !important;
  margin: 0 0 0.15rem 0 !important;
  color: #22d3ee !important;
  font-weight: 600 !important;
  padding: 0 !important;
  display: block !important;
}

html body #persian-slider .slider .slide .card .contact-card p {
  font-size: 0.75rem !important;
  margin: 0 0 0.1rem 0 !important;
  line-height: 1.2 !important;
  color: #e5efff !important;
  padding: 0 !important;
  display: block !important;
}
