/**
 * Text List Image Block Styles
 * 
 * @package TerapiadoStress
 */

.text-list-image {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  min-height: 600px;
}

/* Conteúdo - 50% esquerda */
.text-list-image__content {
  flex: 0 0 50%;
  width: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 60px 80px;
}

/* Conteúdo interno - limitado a 585px (metade de 1170px) */
.text-list-image__content-inner {
  max-width: 585px;
  width: 100%;
}

/* Texto WYSIWYG */
.text-list-image__text {
  margin-bottom: 40px;
}

/* Texto normal - castanho, Montserrat 16px regular */
.text-list-image__text p {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--color-brown);
  font-family: 'Montserrat', sans-serif;
}

.text-list-image__text p:last-child {
  margin-bottom: 0;
}

/* H2 - compatibilidade */
.text-list-image__text h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 25px;
  color: var(--color-brown);
  font-family: 'Montserrat', sans-serif;
}

/* Título H3 - verde normal, Montserrat 36px light */
.text-list-image__text h3 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 300;
  margin: 0 0 20px;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
}

/* Título H3 com bold em partes específicas */
.text-list-image__text h3 strong,
.text-list-image__text h3 b {
  font-weight: 700;
}

/* Subtítulo H4 - verde light, Gotham 25px medium */
.text-list-image__text h4 {
  font-size: 25px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 15px;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
}

/* Bold no texto normal - verde normal, Montserrat 16px bold */
.text-list-image__text p strong,
.text-list-image__text p b {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
}

/* Blockquote - borda verde light, texto verde bold */
.text-list-image__text blockquote {
  border-left: 5px solid var(--color-green);
  padding-left: 20px;
  margin: 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
}

.text-list-image__text blockquote p {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  margin: 0;
}

/* Seção da lista */
.text-list-image__list-section {
  margin-top: 40px;
}

.text-list-image__list-title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
}

/* Lista customizada */
.text-list-image__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.text-list-image__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  line-height: 1.6;
}

.text-list-image__list-item:last-child {
  margin-bottom: 0;
}

.text-list-image__bullet {
  flex-shrink: 0;
  height: 24px;
  margin-right: 12px;
  margin-top: 2px;
  width: auto;
}

.text-list-image__list-item span {
  color: var(--color-brown);
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* Imagem - 50% direita */
.text-list-image__image {
  flex: 0 0 50%;
  width: 50%;
  position: relative;
  overflow: hidden;
}

.text-list-image__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .text-list-image {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .text-list-image__content {
    flex: 0 0 auto;
    width: 100%;
    padding: 40px 20px;
  }

  .text-list-image__content-inner {
    max-width: 100%;
  }

  .text-list-image__image {
    flex: 0 0 auto;
    width: 100%;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .text-list-image__content {
    padding: 30px 20px;
  }

  .text-list-image__image {
    min-height: 300px;
  }

  .text-list-image__list-title {
    font-size: 20px;
  }

  .text-list-image__bullet {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .text-list-image__list-item span {
    font-size: 15px;
  }
}
