/* Remover max-width do base injector — ocupar largura total como as demais seções */
body:not(.path-admin) .h2-secao--depoimentos .view-hm2-lp-depoimentos {
  max-width: none !important;
  padding-top: 0 !important;
}

/* ==========================================================================
   DOBRA DEPOIMENTOS — Marinho & Ouro Mod 001
   Layout: estrelas (top) → texto (meio) → foto+autor+cargo (bottom)
   ========================================================================== */

/* Card: grid com 4 áreas */
body:not(.path-admin) .h2-secao--depoimentos .view-hm2-lp-depoimentos .views-view-responsive-grid__item-inner {
  display: grid !important;
  grid-template-columns: 52px 1fr !important;
  grid-template-rows: auto 1fr auto auto !important;
  grid-template-areas:
    "nota  nota"
    "texto texto"
    "foto  autor"
    "foto  cargo" !important;
  column-gap: 12px !important;
  padding: 28px 24px 24px !important;
  min-height: 280px !important;
}

/* Nota: mostrar (base injector oculta com display:none — sobrescrever) */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-nota {
  grid-area: nota !important;
  margin-bottom: 14px !important;
  display: block !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-nota .field-content {
  font-size: 0 !important;
  color: transparent !important;
  display: block !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-nota .field-content::before {
  content: "★★★★★" !important;
  font-size: 1.1rem !important;
  color: var(--hm2-color-primary, #c9a227) !important;
  letter-spacing: 3px !important;
}

/* Suprimir aspas do base injector (wrapper) — manter só as do .field-content */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-texto::before {
  content: none !important;
  display: none !important;
}

/* Texto: itálico, aspas de abertura via .field-content::before */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-texto {
  grid-area: texto !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(--hm2-on-surface-divider, #e2e8f0) !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-texto .field-content {
  font-size: 0.93rem !important;
  font-style: italic !important;
  line-height: 1.7 !important;
  color: var(--hm2-on-surface, #374151) !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-texto .field-content::before {
  content: "\201C" !important;
  font-size: 2.2rem !important;
  line-height: 0 !important;
  vertical-align: -0.55rem !important;
  color: var(--hm2-color-primary, #c9a227) !important;
  margin-right: 2px !important;
  font-style: normal !important;
}

/* Foto: circular */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-foto {
  grid-area: foto !important;
  align-self: center !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-foto img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Autor */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-autor {
  grid-area: autor !important;
  align-self: end !important;
}

body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-autor .field-content {
  font-weight: 700 !important;
  font-size: 0.93rem !important;
  color: var(--hm2-on-surface, #111827) !important;
  line-height: 1.2 !important;
}

/* Cargo/Área — sem uppercase (base injector aplica uppercase, sobrescrever) */
body:not(.path-admin) .h2-secao--depoimentos .views-field-field-depoimento-cargo {
  grid-area: cargo !important;
  align-self: start !important;
}

/* Seletor de maior especificidade para sobrescrever 20_hm2_dobra_depoimentos */
body:not(.path-admin) .h2-secao--depoimentos .view-hm2-lp-depoimentos .views-view-responsive-grid__item-inner .views-field-field-depoimento-cargo .field-content {
  font-size: 0.8rem !important;
  color: var(--hm2-color-primary, #c9a227) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}