/* ==========================================================================
   TELA 46 (#rep-tela-051) — MATRIZ DOS 9 TEMAS (PADRÃO GLOBO GENTE)
   Unificado entre Desktop, Mobile e Modo Apresentação Tela Cheia
   ========================================================================== */

#executive-report-view#executive-report-view > #rep-tela-051 a.q-theme {
  text-decoration: none;
  cursor: pointer;
}

#executive-report-view#executive-report-view > #rep-tela-051 a.q-theme header::after {
  content: '\2197';
  margin-left: auto;
  color: var(--q-blue, #0066ff);
  font-size: 15px;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

#executive-report-view#executive-report-view > #rep-tela-051 a.q-theme:hover header::after,
#executive-report-view#executive-report-view > #rep-tela-051 a.q-theme:focus-visible header::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Composição em Modo Apresentação Tela Cheia */
@media (min-width: 761px) {
  body.presentation-mode #executive-report-view#executive-report-view > article#rep-tela-051.report-qualitative.active-slide {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 14px;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-themes-body {
    max-height: none;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-themes-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-height: 0;
    gap: 12px;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 10px;
    padding: 14px 18px;
    background: var(--q-paper, #f8fafc);
    border: 1px solid var(--q-line, #dce3ea);
    border-left: 4px solid var(--q-blue, #0066ff);
    border-radius: 12px;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme:hover {
    background: var(--q-surface, #ffffff);
    border-color: var(--q-blue, #0066ff);
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme header {
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 10px;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme h3 {
    color: var(--q-ink-strong, #06162a);
    font-size: clamp(15px, 1.9vh, 20px);
    line-height: 1.2;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-evidence {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-evidence > strong {
    font-size: clamp(22px, min(2.4cqw, 3.8vh), 38px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--q-blue, #0066ff);
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-evidence > strong span {
    font: inherit;
    color: inherit;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-evidence > span {
    font-size: clamp(11px, 1.3vh, 13.5px);
    line-height: 1.32;
    color: var(--q-muted, #475569);
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme:nth-child(6) .q-theme-evidence > strong,
  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme:nth-child(9) .q-theme-evidence > strong {
    font-size: clamp(14px, 1.85vh, 19px);
    line-height: 1.15;
    white-space: normal;
    letter-spacing: -0.02em;
  }

  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-insight {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin: 0;
    padding-left: 16px;
    border-left: 1px solid var(--q-line, #dce3ea);
    font-size: clamp(12.5px, 1.55vh, 16px);
    line-height: 1.42;
    color: var(--q-ink, #0f172a);
  }
}

@media (min-width: 761px) and (max-height: 800px) {
  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme {
    padding: 10px 14px;
    column-gap: 12px;
    row-gap: 6px;
  }
  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-insight {
    padding-left: 12px;
    font-size: 12.5px;
    line-height: 1.35;
  }
  body.presentation-mode #executive-report-view#executive-report-view > #rep-tela-051.report-qualitative .q-theme .q-theme-evidence > span {
    font-size: 10.5px;
  }
}
