/* Regras específicas para justificação de texto conforme requisitado */

/* Blocos de texto nas caixas azuis da seção "Nossa Abordagem Especializada" */
.approach-section p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.approach-box p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
[class*="abordagem"] p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.instability-text p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.rotator-cuff-text p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.arthritis-text p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]) {
  text-align: justify !important;
  /* Melhoria para a qualidade da justificação */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
}

/* Blocos específicos de texto das patologias */
[class*="especialidade"] p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.specialties p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
[class*="patologia"] p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.treatment-description p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]) {
  text-align: justify !important;
  /* Melhoria para a qualidade da justificação */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
}

/* Classe genérica para aplicar em qualquer elemento que precisa de justificação */
.justify-text:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]) {
  text-align: justify !important;
  /* Melhoria para a qualidade da justificação */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
}

/* Classe específica para cards/boxes de conteúdo */
.content-card p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.info-card p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.text-card p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]),
.card-content p:not(.title):not(.subtitle):not(.heading):not([class*="title"]):not([class*="heading"]) {
  text-align: justify !important;
  /* Melhoria para a qualidade da justificação */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}
