/* ============================================================================
 * Authority Premium CSS — v1.0.0
 * Sistema de design para posts médicos premium.
 *
 * IMPORTANTE: Este CSS NÃO MEXE em largura/container. Respeita o que o tema
 * (Divi, Astra, etc.) já define pro body do blog. Apenas estiliza o conteúdo
 * DENTRO do container que o tema entrega.
 *
 * Usa CSS Custom Properties injetadas pelo plugin via wp_options 'authority_tokens':
 *   --brand-primary    (cor primária do site)
 *   --brand-secondary  (cor secundária)
 *   --brand-accent     (cor de destaque)
 *   --gradient-primary (gradiente primary→secondary, gerado pelo plugin)
 *
 * Filosofia:
 *   - Cards elevados com sombras sutis
 *   - Tipografia generosa, foco em leitura médica
 *   - Mobile-first com breakpoints em 768px e 1024px
 *   - Sem !important wars com Divi/tema
 *   - Acessibilidade: contraste WCAG AA, foco visível
 *
 * Versão: 1.0.0 (alinhado a plugin Authority SEO v3.14.0)
 * ============================================================================ */

/* ───────────────────────────────────────────────────────────────────────
 * 1. ESCOPO E TOKENS LOCAIS
 * ─────────────────────────────────────────────────────────────────────── */

/* Tudo escopado em .entry-content pra não vazar pro tema. */
.entry-content {
  /* Fallbacks caso plugin não injete tokens (improvável, mas seguro) */
  --ap-primary: var(--brand-primary, #0B4F8C);
  --ap-secondary: var(--brand-secondary, #2FB8AC);
  --ap-accent: var(--brand-accent, #F4A300);

  /* Tons derivados — color-mix tem fallback gracioso em browsers antigos */
  --ap-primary-05: color-mix(in srgb, var(--ap-primary) 5%, white);
  --ap-primary-10: color-mix(in srgb, var(--ap-primary) 10%, white);
  --ap-primary-20: color-mix(in srgb, var(--ap-primary) 20%, white);
  --ap-primary-dark: color-mix(in srgb, var(--ap-primary) 80%, black);
  --ap-secondary-10: color-mix(in srgb, var(--ap-secondary) 10%, white);
  --ap-accent-10: color-mix(in srgb, var(--ap-accent) 12%, white);

  /* Texto */
  --ap-text-primary: #1A2433;
  --ap-text-secondary: #4A5568;
  --ap-text-muted: #6B7280;

  /* Bordas e fundos */
  --ap-border-light: #E5E7EB;
  --ap-border-medium: #D1D5DB;
  --ap-bg-subtle: #F9FAFB;
  --ap-bg-card: #FFFFFF;

  /* Sombras (elevação) */
  --ap-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --ap-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --ap-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --ap-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Spacing */
  --ap-space-xs: 0.5rem;
  --ap-space-sm: 1rem;
  --ap-space-md: 1.5rem;
  --ap-space-lg: 2rem;
  --ap-space-xl: 3rem;
  --ap-space-2xl: 4rem;
  --ap-space-3xl: 5rem;

  /* Radii */
  --ap-radius-sm: 6px;
  --ap-radius-md: 12px;
  --ap-radius-lg: 20px;
  --ap-radius-pill: 999px;

  /* Tipografia base */
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ap-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Espaçamento vertical generoso entre blocos top-level */
.entry-content > * + * {
  margin-top: var(--ap-space-xl);
}

/* ───────────────────────────────────────────────────────────────────────
 * 2. TIPOGRAFIA
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: inherit;
  color: var(--ap-text-primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-top: var(--ap-space-xl);
  margin-bottom: var(--ap-space-md);
}

.entry-content h2 {
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  color: var(--ap-primary);
  padding-bottom: var(--ap-space-xs);
  border-bottom: 3px solid var(--ap-primary);
  display: inline-block;
}

.entry-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--ap-text-primary);
}

.entry-content h4 {
  font-size: 1.125rem;
  color: var(--ap-text-secondary);
  font-weight: 600;
}

.entry-content p {
  margin: 0 0 var(--ap-space-md) 0;
  color: var(--ap-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content strong {
  font-weight: 600;
  color: var(--ap-text-primary);
}

.entry-content a {
  color: var(--ap-primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.entry-content a:hover {
  color: var(--ap-primary-dark);
  text-decoration-thickness: 2px;
}

.entry-content a:focus-visible {
  outline: 2px solid var(--ap-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Stat highlight inline (números importantes) */
.entry-content .stat-hl {
  display: inline-block;
  padding: 2px 8px;
  background: var(--ap-primary-10);
  color: var(--ap-primary);
  font-weight: 700;
  border-radius: var(--ap-radius-sm);
  font-variant-numeric: tabular-nums;
}

/* ───────────────────────────────────────────────────────────────────────
 * 3. FEATURED IMAGE
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .featured-img {
  margin: 0 0 var(--ap-space-xl) 0;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  box-shadow: var(--ap-shadow-lg);
  background: var(--ap-bg-subtle);
}

.entry-content .featured-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-content .body-img {
  margin: var(--ap-space-xl) 0;
  border-radius: var(--ap-radius-md);
  overflow: hidden;
  box-shadow: var(--ap-shadow-md);
}

.entry-content .body-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ───────────────────────────────────────────────────────────────────────
 * 4. INTRO CARD
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .intro-card,
.entry-content .premium-intro {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-left: 4px solid var(--ap-primary);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-lg) var(--ap-space-xl);
  box-shadow: var(--ap-shadow-md);
}

.entry-content .intro-card .chip,
.entry-content .premium-intro .chip {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ap-primary-10);
  color: var(--ap-primary);
  border-radius: var(--ap-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--ap-space-sm);
}

.entry-content .intro-card .answer-box,
.entry-content .premium-intro .answer-box {
  background: var(--ap-primary-05);
  border-left: 3px solid var(--ap-secondary);
  border-radius: var(--ap-radius-sm);
  padding: var(--ap-space-md) var(--ap-space-lg);
  margin: var(--ap-space-md) 0;
}

.entry-content .intro-card .answer-box p,
.entry-content .premium-intro .answer-box p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ap-text-primary);
  line-height: 1.65;
}

/* ───────────────────────────────────────────────────────────────────────
 * 5. SUMMARY CARD (KEYPOINTS)
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .summary-card,
.entry-content .premium-summary {
  background: var(--ap-bg-card);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
  box-shadow: var(--ap-shadow-md);
}

.entry-content .summary-title {
  font-size: 1.375rem;
  color: var(--ap-primary);
  border: none;
  display: block;
  text-align: center;
  margin-bottom: var(--ap-space-lg);
  padding-bottom: 0;
}

.entry-content .keypoints-card {
  background: linear-gradient(135deg, var(--ap-primary-05) 0%, var(--ap-secondary-10) 100%);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-lg);
}

.entry-content .keypoints-header {
  text-align: center;
  margin-bottom: var(--ap-space-md);
}

.entry-content .keypoints-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ap-bg-card);
  color: var(--ap-primary);
  border-radius: var(--ap-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entry-content .keypoints-title {
  margin: var(--ap-space-xs) 0 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ap-primary-dark);
}

.entry-content .summary-grid,
.entry-content .keypoints-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ap-space-sm);
}

@media (min-width: 768px) {
  .entry-content .summary-grid,
  .entry-content .keypoints-list {
    grid-template-columns: 1fr 1fr;
  }
}

.entry-content .keypoint-item {
  display: flex;
  align-items: flex-start;
  gap: var(--ap-space-sm);
  background: var(--ap-bg-card);
  padding: var(--ap-space-md);
  border-radius: var(--ap-radius-md);
  box-shadow: var(--ap-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-content .keypoint-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow-md);
}

.entry-content .keypoint-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--ap-primary);
  color: white;
}

.entry-content .keypoint-item--b .keypoint-num {
  background: var(--ap-secondary);
}

.entry-content .keypoint-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ap-text-primary);
}

.entry-content .keypoint-text strong {
  color: var(--ap-primary);
}

/* ───────────────────────────────────────────────────────────────────────
 * 6. AUTHOR CARD
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .author-card,
.entry-content .premium-author {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--ap-space-lg);
  align-items: flex-start;
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-lg);
  box-shadow: var(--ap-shadow-md);
  position: relative;
}

@media (min-width: 768px) {
  .entry-content .author-card,
  .entry-content .premium-author {
    grid-template-columns: 140px 1fr auto;
  }
}

.entry-content .author-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ap-primary-10);
  border: 3px solid var(--ap-primary);
  box-shadow: var(--ap-shadow-md);
}

@media (min-width: 768px) {
  .entry-content .author-photo-wrap {
    width: 140px;
    height: 140px;
  }
}

.entry-content .author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.entry-content .author-info {
  display: flex;
  flex-direction: column;
  gap: var(--ap-space-xs);
}

.entry-content .author-name {
  font-size: 1.25rem;
  margin: 0;
  color: var(--ap-text-primary);
  font-weight: 700;
}

.entry-content .author-role {
  font-size: 0.875rem;
  color: var(--ap-text-muted);
  margin: 0;
  font-weight: 500;
}

.entry-content .author-bio {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ap-text-secondary);
  margin: var(--ap-space-xs) 0 0 0;
}

.entry-content .author-card .cta-btn,
.entry-content .premium-author .cta-btn {
  margin-top: var(--ap-space-sm);
  align-self: flex-start;
}

.entry-content .author-card-updated {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--ap-text-muted);
  margin: var(--ap-space-md) 0 0 0;
  padding-top: var(--ap-space-sm);
  border-top: 1px solid var(--ap-border-light);
  display: flex;
  align-items: center;
  gap: var(--ap-space-xs);
}

.entry-content .author-card-updated svg {
  width: 14px;
  height: 14px;
  color: var(--ap-primary);
}

/* ───────────────────────────────────────────────────────────────────────
 * 7. PREMIUM VIDEO (YouTube embed)
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .premium-video {
  margin: var(--ap-space-xl) 0;
}

.entry-content .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  box-shadow: var(--ap-shadow-lg);
  background: #000;
}

.entry-content .video-embed iframe,
.entry-content .video-embed .lite-yt,
.entry-content .video-embed > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ───────────────────────────────────────────────────────────────────────
 * 8. TABLE OF CONTENTS (TOC)
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .premium-toc {
  background: var(--ap-bg-subtle);
  border: 1px solid var(--ap-border-light);
  border-left: 4px solid var(--ap-secondary);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-md) var(--ap-space-lg);
}

.entry-content .premium-toc details {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.entry-content .toc-summary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-primary);
  cursor: pointer;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--ap-space-xs);
}

.entry-content .toc-summary::-webkit-details-marker {
  display: none;
}

.entry-content .toc-summary::before {
  content: "📑";
  font-size: 1rem;
}

.entry-content .toc-summary::after {
  content: "›";
  margin-left: auto;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.entry-content .premium-toc details[open] .toc-summary::after {
  transform: rotate(90deg);
}

.entry-content .toc-list {
  list-style: none;
  padding: var(--ap-space-md) 0 0 0;
  margin: 0;
  display: grid;
  gap: var(--ap-space-xs);
}

.entry-content .toc-list li {
  padding-left: var(--ap-space-md);
  position: relative;
}

.entry-content .toc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ap-secondary);
  font-weight: 700;
}

.entry-content .toc-list a {
  text-decoration: none;
  color: var(--ap-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.entry-content .toc-list a:hover {
  color: var(--ap-primary);
  text-decoration: underline;
}

/* ───────────────────────────────────────────────────────────────────────
 * 9. PREMIUM SECTION (H2 + body)
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .premium-section {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
  box-shadow: var(--ap-shadow-sm);
}

.entry-content .premium-section h2 {
  margin-top: 0;
  margin-bottom: var(--ap-space-md);
}

.entry-content .premium-section h3 {
  margin-top: var(--ap-space-lg);
  margin-bottom: var(--ap-space-sm);
  padding-left: var(--ap-space-md);
  border-left: 3px solid var(--ap-secondary);
}

.entry-content .premium-section .experience-hook {
  background: var(--ap-secondary-10);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-md);
  font-style: italic;
  color: var(--ap-text-primary);
  font-weight: 500;
  position: relative;
}

.entry-content .premium-section .experience-hook::before {
  content: """;
  position: absolute;
  top: -10px;
  left: var(--ap-space-md);
  font-size: 3rem;
  color: var(--ap-secondary);
  line-height: 1;
  font-family: Georgia, serif;
}

.entry-content .premium-bullets {
  list-style: none;
  padding: 0;
  margin: var(--ap-space-md) 0;
  display: grid;
  gap: var(--ap-space-sm);
}

.entry-content .premium-bullets li {
  padding: var(--ap-space-sm) var(--ap-space-md);
  background: var(--ap-bg-subtle);
  border-left: 3px solid var(--ap-primary);
  border-radius: var(--ap-radius-sm);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.entry-content .premium-bullets li strong {
  color: var(--ap-primary);
}

.entry-content .premium-numbered {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: var(--ap-space-md) 0;
  display: grid;
  gap: var(--ap-space-md);
}

.entry-content .premium-numbered li {
  counter-increment: step-counter;
  display: flex;
  gap: var(--ap-space-md);
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-md);
  position: relative;
  box-shadow: var(--ap-shadow-sm);
}

.entry-content .premium-numbered li::before {
  content: counter(step-counter);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ap-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.entry-content .premium-numbered li strong {
  color: var(--ap-primary);
  display: block;
  margin-bottom: 4px;
}

/* ───────────────────────────────────────────────────────────────────────
 * 10. PREMIUM TABLE
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--ap-space-xl) 0;
  background: var(--ap-bg-card);
  border-radius: var(--ap-radius-md);
  overflow: hidden;
  box-shadow: var(--ap-shadow-md);
  border: 1px solid var(--ap-border-light);
  font-size: 0.9375rem;
}

.entry-content .premium-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: var(--ap-space-md) var(--ap-space-md) var(--ap-space-sm) var(--ap-space-md);
  color: var(--ap-text-primary);
  background: var(--ap-bg-subtle);
  border-bottom: 1px solid var(--ap-border-light);
}

.entry-content .premium-table thead {
  background: var(--ap-primary);
}

.entry-content .premium-table thead th {
  color: white;
  font-weight: 600;
  text-align: left;
  padding: var(--ap-space-md);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border-bottom: none;
}

.entry-content .premium-table tbody tr {
  border-bottom: 1px solid var(--ap-border-light);
  transition: background-color 0.15s ease;
}

.entry-content .premium-table tbody tr:nth-child(even) {
  background: var(--ap-bg-subtle);
}

.entry-content .premium-table tbody tr:hover {
  background: var(--ap-primary-05);
}

.entry-content .premium-table tbody tr:last-child {
  border-bottom: none;
}

.entry-content .premium-table tbody td {
  padding: var(--ap-space-md);
  color: var(--ap-text-secondary);
  vertical-align: top;
  line-height: 1.5;
}

.entry-content .premium-table tbody td:first-child {
  font-weight: 600;
  color: var(--ap-text-primary);
}

/* Mobile: stack table */
@media (max-width: 640px) {
  .entry-content .premium-table {
    font-size: 0.875rem;
  }
  .entry-content .premium-table thead th,
  .entry-content .premium-table tbody td {
    padding: var(--ap-space-sm);
  }
}

/* ───────────────────────────────────────────────────────────────────────
 * 11. CLINICAL PEARL (Dica de Consultório)
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .clinical-pearl,
.entry-content .premium-pearl {
  background: linear-gradient(135deg, var(--ap-accent-10) 0%, var(--ap-primary-05) 100%);
  border: 1px solid var(--ap-accent);
  border-left: 5px solid var(--ap-accent);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-lg);
  box-shadow: var(--ap-shadow-md);
  position: relative;
}

.entry-content .pearl-header {
  display: flex;
  align-items: center;
  gap: var(--ap-space-xs);
  margin-bottom: var(--ap-space-sm);
}

.entry-content .pearl-header svg {
  width: 24px;
  height: 24px;
  color: var(--ap-accent);
  flex-shrink: 0;
}

.entry-content .pearl-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ap-accent);
}

.entry-content .pearl-title {
  font-size: 1.25rem;
  margin: var(--ap-space-xs) 0;
  color: var(--ap-text-primary);
  border: none;
  padding: 0;
  display: block;
  font-weight: 700;
}

.entry-content .pearl-body {
  margin: 0;
  color: var(--ap-text-primary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────────────────────
 * 12. SCHEDULE HERO
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .schedule-hero {
  background: var(--gradient-primary, linear-gradient(135deg, var(--ap-primary) 0%, var(--ap-secondary) 100%));
  color: white;
  text-align: center;
  padding: var(--ap-space-2xl) var(--ap-space-lg);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow-xl);
}

.entry-content .schedule-hero h2 {
  color: white;
  border: none;
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
  margin-bottom: var(--ap-space-sm);
  padding-bottom: 0;
}

.entry-content .schedule-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.0625rem;
  margin-bottom: var(--ap-space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .schedule-hero .cta-btn,
.entry-content .schedule-hero .cta-btn-large {
  background: white;
  color: var(--ap-primary);
  font-size: 1.0625rem;
  padding: 14px 32px;
  font-weight: 700;
  box-shadow: var(--ap-shadow-lg);
}

.entry-content .schedule-hero .cta-btn:hover,
.entry-content .schedule-hero .cta-btn-large:hover {
  background: var(--ap-primary-05);
  color: var(--ap-primary-dark);
  transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────────────────
 * 13. BRAND VOICE SECTION
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .brand-voice-section {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
  box-shadow: var(--ap-shadow-sm);
  position: relative;
}

.entry-content .brand-voice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--ap-space-xl);
  width: 60px;
  height: 4px;
  background: var(--ap-primary);
  border-radius: 0 0 var(--ap-radius-sm) var(--ap-radius-sm);
}

.entry-content .brand-voice-section h2 {
  border: none;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: var(--ap-primary);
  margin-top: 0;
  margin-bottom: var(--ap-space-lg);
  padding-bottom: 0;
}

.entry-content .brand-voice-section p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ap-text-secondary);
}

/* ───────────────────────────────────────────────────────────────────────
 * 14. REVIEWS SECTION
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .reviews-section {
  background: var(--ap-bg-subtle);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
}

.entry-content .reviews-section h2 {
  border: none;
  display: block;
  text-align: center;
  color: var(--ap-primary);
  margin-top: 0;
  font-size: 1.625rem;
  padding-bottom: 0;
}

.entry-content .reviews-aggregate {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ap-text-muted);
  margin-bottom: var(--ap-space-lg);
}

.entry-content .reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ap-space-md);
}

@media (min-width: 768px) {
  .entry-content .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.entry-content .review-card {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-lg);
  box-shadow: var(--ap-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.entry-content .review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ap-shadow-md);
}

.entry-content .review-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--ap-space-sm);
  padding-bottom: var(--ap-space-sm);
  border-bottom: 1px solid var(--ap-border-light);
}

.entry-content .review-card header strong {
  font-size: 0.9375rem;
  color: var(--ap-text-primary);
}

.entry-content .review-stars {
  color: var(--ap-accent);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

.entry-content .review-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ap-text-secondary);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.entry-content .review-card footer {
  margin-top: var(--ap-space-md);
  font-size: 0.75rem;
  color: var(--ap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.entry-content .reviews-source {
  text-align: center;
  margin-top: var(--ap-space-lg);
  font-size: 0.9375rem;
}

.entry-content .reviews-source a {
  color: var(--ap-primary);
  font-weight: 600;
}

/* Practice Pillars (Modo 2) */
.entry-content .practice-pillars-section {
  background: var(--ap-bg-subtle);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
}

.entry-content .practice-pillars-header h2 {
  border: none;
  display: block;
  text-align: center;
  color: var(--ap-primary);
  margin-top: 0;
  font-size: 1.5rem;
  padding-bottom: 0;
}

.entry-content .pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ap-space-md);
  margin-top: var(--ap-space-lg);
}

@media (min-width: 768px) {
  .entry-content .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.entry-content .pillar-card {
  background: var(--ap-bg-card);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-lg);
  box-shadow: var(--ap-shadow-sm);
  text-align: center;
}

.entry-content .pillar-title {
  font-size: 1.0625rem;
  color: var(--ap-primary);
  margin: 0 0 var(--ap-space-xs) 0;
  font-weight: 700;
  border: none;
  padding: 0;
}

.entry-content .pillar-body {
  font-size: 0.9375rem;
  color: var(--ap-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.entry-content .practice-pillars-footer {
  margin-top: var(--ap-space-lg);
  text-align: center;
  font-size: 0.875rem;
  color: var(--ap-text-muted);
}

/* ───────────────────────────────────────────────────────────────────────
 * 15. FAQ SECTION
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .faq-section {
  background: var(--ap-bg-card);
  border-radius: var(--ap-radius-lg);
  padding: var(--ap-space-xl);
  box-shadow: var(--ap-shadow-sm);
  border: 1px solid var(--ap-border-light);
}

.entry-content .faq-section h2 {
  border: none;
  display: block;
  text-align: center;
  color: var(--ap-primary);
  margin-top: 0;
  font-size: 1.625rem;
  margin-bottom: var(--ap-space-lg);
  padding-bottom: 0;
}

.entry-content .faq-section details {
  background: var(--ap-bg-subtle);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-md);
  margin-bottom: var(--ap-space-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.entry-content .faq-section details[open] {
  box-shadow: var(--ap-shadow-md);
  border-color: var(--ap-primary);
}

.entry-content .faq-section summary {
  padding: var(--ap-space-md) var(--ap-space-lg);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ap-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ap-space-sm);
  transition: background-color 0.15s ease;
}

.entry-content .faq-section summary:hover {
  background: var(--ap-primary-05);
}

.entry-content .faq-section summary::-webkit-details-marker {
  display: none;
}

.entry-content .faq-section summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ap-primary-10);
  color: var(--ap-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.entry-content .faq-section details[open] summary::after {
  content: "−";
  background: var(--ap-primary);
  color: white;
}

.entry-content .faq-section details p {
  padding: 0 var(--ap-space-lg) var(--ap-space-md) var(--ap-space-lg);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ap-text-secondary);
}

.entry-content .faq-section details p + p {
  padding-top: var(--ap-space-sm);
}

/* ───────────────────────────────────────────────────────────────────────
 * 16. MEDICAL DISCLAIMER
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .medical-disclaimer {
  background: var(--ap-bg-subtle);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-md) var(--ap-space-lg);
  margin-top: var(--ap-space-2xl);
}

.entry-content .medical-disclaimer p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ap-text-muted);
}

.entry-content .medical-disclaimer strong {
  color: var(--ap-text-secondary);
}

/* ───────────────────────────────────────────────────────────────────────
 * 17. CTAs
 * ─────────────────────────────────────────────────────────────────────── */

.entry-content .cta-inline {
  background: var(--ap-primary-05);
  border-left: 4px solid var(--ap-primary);
  border-radius: var(--ap-radius-md);
  padding: var(--ap-space-md) var(--ap-space-lg);
  margin: var(--ap-space-xl) 0;
}

.entry-content .cta-inline p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ap-space-md);
  font-size: 1rem;
  color: var(--ap-text-primary);
  font-weight: 500;
}

.entry-content .cta-btn,
.entry-content a.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--ap-space-xs);
  padding: 11px 22px;
  background: var(--ap-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--ap-radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--ap-shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.entry-content .cta-btn:hover,
.entry-content a.cta-btn:hover {
  background: var(--ap-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow-lg);
  text-decoration: none;
}

.entry-content .cta-btn:focus-visible,
.entry-content a.cta-btn:focus-visible {
  outline: 3px solid var(--ap-accent);
  outline-offset: 2px;
}

.entry-content .cta-btn-large,
.entry-content a.cta-btn-large {
  padding: 14px 32px;
  font-size: 1.0625rem;
  font-weight: 700;
}

/* ───────────────────────────────────────────────────────────────────────
 * 18. PRINT
 * ─────────────────────────────────────────────────────────────────────── */

@media print {
  .entry-content .cta-inline,
  .entry-content .schedule-hero,
  .entry-content .premium-video,
  .entry-content .premium-toc {
    display: none;
  }
  .entry-content .premium-section,
  .entry-content .author-card,
  .entry-content .summary-card,
  .entry-content .faq-section,
  .entry-content .reviews-section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* ───────────────────────────────────────────────────────────────────────
 * 19. REDUCED MOTION
 * ─────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .entry-content *,
  .entry-content *::before,
  .entry-content *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ───────────────────────────────────────────────────────────────────────
 * FIM — Authority Premium v1.0.0
 * ─────────────────────────────────────────────────────────────────────── */
