/* ============================================
   MediLink Maroc — v25.2 visual hotfixes
   ============================================ */

/* 1) Centrer parfaitement les icônes de spécialités */
.specialty-card,
.specialties-grid .card,
[data-specialty-card] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 160px;
  padding: 1.25rem !important;
}
.specialty-card .icon-wrap,
.specialty-card svg,
[data-specialty-card] .icon-wrap,
[data-specialty-card] svg {
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.specialty-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ccfbf1;
  color: #0f766e;
  margin-bottom: 0.75rem !important;
}

/* 2) Slider témoignages responsive — corrige hauteur démesurée mobile */
.testimonials-slider,
.testimonials-swiper,
[data-testimonials] {
  width: 100%;
  overflow: hidden;
}
.testimonials-slider .swiper-slide,
.testimonials-swiper .swiper-slide,
[data-testimonials] .slide,
[data-testimonials] article {
  height: auto !important;
  display: flex;
  flex-direction: column;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: auto !important;
  max-height: none;
}
.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .testimonial-card { padding: 1rem; }
  .testimonial-card .quote {
    font-size: 0.9rem;
    -webkit-line-clamp: 4;
  }
  .testimonials-slider, .testimonials-swiper {
    padding-bottom: 2rem;
  }
}

/* 3) Masquer toggle langue AR/FR partout */
.lang-switcher,
.language-switcher,
[data-lang-switcher],
.btn-lang-ar,
a[href*="/lang/ar"],
button[data-locale="ar"] {
  display: none !important;
}
