/* Reset para as quebras de título que foram ajustadas no principal */
.hero-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0;
}

/* Linhas do título */
.title-row {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0.1rem 0;
}

/* Estilos para evitar quebras no meio das palavras */
.no-break {
  white-space: nowrap !important;
  display: inline-block !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
}

/* Ajustes para cada parte do título */
.title-highlight, .title-main {
  display: inline-block;
  margin: 0.1rem 0.25rem;
  padding: 0;
}

/* Media queries refinadas */
@media screen and (max-width: 480px) {
  .hero-title {
    flex-direction: column;
    line-height: 1.3;
  }
  
  .title-highlight, .title-main {
    display: inline-block;
    margin: 0.05rem 0;
  }
}

@media screen and (max-width: 375px) {
  .title-highlight {
    font-size: 1.4rem;
  }
  
  .title-main {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 320px) {
  .title-highlight {
    font-size: 1.2rem;
  }
  
  .title-main {
    font-size: 1.1rem;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-title {
    flex-direction: row;
    flex-wrap: wrap;
  }
}