/* ==========================================================================
   OBPC Central — Módulo de Artigos Bíblicos (assets/articles.css)
   Conforme especificações das Seções 9 e 12 do plano de artigos e Seções 1.6/1.7 do plano do CMS
   ========================================================================== */

:root {
  --measure: 40em;
  --type-article-body: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  --type-article-h2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --type-article-h3: clamp(1.25rem, 1.1rem + .5vw, 1.375rem);
  --article-space-p: 24px;
  --article-space-h2: 48px;
  --article-space-h3: 36px;
  --article-gold-soft: rgba(209, 173, 99, 0.12);
  --article-gold-border: rgba(209, 173, 99, 0.35);
  --article-cream-bg: #f9f7f2;
  --amen-bg: #ffffff;
  --amen-bg-hover: #faf6ed;
  --amen-bg-active: #fbf5e6;
  --amen-border-hover: #d1b46a;
  --amen-border-active: #c89d47;
  --amen-color-active: #785310;
  --amen-focus-ring: #c89d47;
  --amen-shadow-active: rgba(200, 157, 71, 0.25);
  --amen-count-border-active: rgba(200, 157, 71, 0.4);
  --player-bg: var(--cream);
  --player-border: var(--line);
  --player-accent: var(--gold);
  --player-control-bg: var(--navy);
  --player-control-hover: var(--navy-3);
  --player-control-icon: var(--gold-2);
  --player-btn-bg: var(--paper);
  --player-btn-border: var(--line);
  --player-btn-text: var(--navy);
  --player-btn-text-active: var(--paper);
  --player-track-bg: rgba(17, 45, 74, 0.14);
}

/* --------------------------------------------------------------------------
   Cabeçalho Editorial de Seção (Índice, Autor, Tema, Livro)
   -------------------------------------------------------------------------- */
.articles-hero {
  background: var(--navy-2);
  color: #fff;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.articles-hero__inner {
  max-width: 960px;
}

.articles-hero .breadcrumb {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
}

.articles-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--motion-fast) ease;
}

.articles-hero .breadcrumb a:hover {
  color: #fff;
}

.articles-hero .breadcrumb span[aria-current="page"] {
  color: var(--gold-2);
}

.articles-hero__kicker {
  display: inline-block;
  font-size: var(--type-kicker, 0.75rem);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin-bottom: 14px;
}

.articles-hero__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}

.articles-hero__lead {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* Perfil do Autor na Página de Autor */
.articles-author-profile {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
}

.articles-author-profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  background: var(--navy-3);
}

.articles-author-profile__info h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.articles-author-profile__role {
  display: block;
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
  color: var(--gold-2);
  margin-bottom: 10px;
}

.articles-author-profile__bio {
  margin: 0;
  max-width: 680px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 640px) {
  .articles-author-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Barra de Filtros e Busca (Funciona 100% sem JS via GET)
   -------------------------------------------------------------------------- */
.articles-toolbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 40px;
}

.articles-filter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.articles-filter-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Etiquetas de Tema (Chips) */
.articles-topics-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.articles-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all var(--motion-fast) ease;
}

.articles-chip:hover {
  background: var(--cream);
  border-color: var(--gold);
  color: var(--navy);
}

.articles-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: var(--weight-semibold);
}

.articles-chip__count {
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Controles de Busca e Autor */
.articles-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.articles-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.articles-search-input {
  width: 100%;
  padding: 8px 38px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.articles-search-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(17, 45, 74, 0.12);
}

.articles-search-submit {
  position: absolute;
  right: 6px;
  background: transparent;
  border: 0;
  padding: 4px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.articles-search-submit:hover {
  color: var(--navy);
}

.articles-select-author {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.articles-clear-btn {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: underline;
  padding: 6px 10px;
}

.articles-clear-btn:hover {
  color: var(--danger);
}

@media (max-width: 768px) {
  .articles-controls {
    width: 100%;
    margin-left: 0;
  }
  .articles-search-field {
    flex: 1;
    min-width: 180px;
  }
  .articles-select-author {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   Artigo em Destaque (Card Largo - Página 1)
   -------------------------------------------------------------------------- */
.article-featured-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 54px;
  transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
}

.article-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(17, 45, 74, 0.08);
}

.article-featured-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-3);
  overflow: hidden;
}

.article-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.article-featured-card:hover .article-featured-card__media img {
  transform: scale(1.03);
}

.article-featured-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-2);
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.article-featured-card__content {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-featured-card__kicker {
  font-size: var(--type-kicker, 0.75rem);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brown);
  margin-bottom: 12px;
}

.article-featured-card__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  text-wrap: balance;
}

.article-featured-card__title a {
  color: inherit;
}

.article-featured-card__summary {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-featured-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.article-featured-card__meta strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .article-featured-card {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Grade de Artigos (3 cols > 1024px, 2 cols 640-1024px, 1 col < 640px)
   -------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Individual de Artigo */
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 45, 74, 0.06);
}

.article-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-3);
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.article-card:hover .article-card__media img {
  transform: scale(1.03);
}

.article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__kicker {
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown);
  margin-bottom: 10px;
}

.article-card__title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--navy);
  text-wrap: balance;
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--navy-3);
  text-decoration: underline;
}

.article-card__summary {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.article-card__author {
  font-weight: var(--weight-medium);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card__reading {
  white-space: nowrap;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Estado Vazio da Busca
   -------------------------------------------------------------------------- */
.articles-empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 60px;
}

.articles-empty-state__icon {
  margin-bottom: 16px;
  color: var(--muted);
}

.articles-empty-state__icon svg {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
}

.articles-empty-state h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.articles-empty-state p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   Paginação Numerada (Links <a href> Reais e aria-current)
   -------------------------------------------------------------------------- */
.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.articles-pagination a,
.articles-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all var(--motion-fast) ease;
}

.articles-pagination a:hover {
  background: var(--cream);
  border-color: var(--navy);
  color: var(--navy);
}

.articles-pagination span[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: var(--weight-semibold);
}

.articles-pagination span.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  background: var(--paper);
}

/* ==========================================================================
   Página do Artigo Individual (Seção 9.4 e 9.5)
   ========================================================================== */

.article-page {
  padding-bottom: 96px;
}

/* Cabeçalho do Artigo: Baseado em .internal-hero e .internal-hero__veil (Fase L1) */
.article-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(440px, 62vh, 620px);
  align-items: end;
  overflow: hidden;
  background: var(--navy-2);
  color: #fff;
}

.article-hero--no-cover {
  background: var(--navy-2);
  min-height: clamp(340px, 48vh, 480px);
}

.article-hero__media,
.article-hero__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.article-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.article-hero__media img {
  width: 100%;
  height: auto;
  height: 100%;
  object-fit: cover;
  object-position: var(--cover-focus, 50% 50%);
  transform: scale(1.01);
}

/* Véu reforçado na base e faixa de leitura para garantir contraste AA mesmo sobre fotos 100% claras */
.article-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 25, 42, 0.96) 0%, rgba(5, 25, 42, 0.90) 58%, rgba(5, 25, 42, 0.65) 75%, rgba(5, 25, 42, 0.25) 100%),
    linear-gradient(0deg, rgba(5, 25, 42, 0.98) 0%, rgba(5, 25, 42, 0.85) 32%, rgba(5, 25, 42, 0.50) 60%, transparent 85%);
}

.article-hero__content {
  /* Largura vem de .shell (alinhada à trilha); não forçar 100% */
  padding-block: var(--space-10, 80px) var(--space-8, 48px);
}

.article-hero__content .kicker {
  margin-bottom: var(--space-3, 12px);
}

.article-hero__title {
  max-width: 900px;
  margin: 0 0 var(--space-4, 16px);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--paper);
}

.article-hero__subtitle {
  max-width: 720px;
  margin: 0 0 var(--space-6, 24px);
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: rgba(253, 251, 247, 0.86);
}

/* Linha de Autoria: itens separados por gap da escala, sem separadores pontuais */
.article-hero__byline {
  display: flex;
  align-items: center;
  gap: var(--space-4, 16px);
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(253, 251, 247, 0.78);
  margin-bottom: var(--space-6, 24px);
}

.article-hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-hero__author strong {
  font-weight: var(--weight-semibold);
  color: var(--paper);
}

.article-hero__author a {
  color: inherit;
  text-decoration: none;
}

.article-hero__author a:hover {
  text-decoration: underline;
}

.article-hero__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--paper);
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--motion-fast) ease;
}

.article-hero__share-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.article-hero__share-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-hero__share-btn svg {
  width: 14px;
  height: 14px;
}

/* Área de ações: botão de áudio neural conectado ao player (reserva 40px para evitar CLS) */
.article-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4, 16px);
  flex-wrap: wrap;
  min-height: 40px;
}

.article-hero__audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 8px 18px;
  background: rgba(209, 173, 99, 0.2);
  border: 1px solid var(--gold);
  border-radius: 9999px;
  color: var(--gold-2);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all var(--motion-fast) ease;
}

.article-hero__audio-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.article-hero__audio-btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.article-hero__audio-btn svg {
  width: 16px;
  height: 16px;
}

.article-hero__audio-duration {
  opacity: 0.82;
  font-size: 0.8rem;
}

/* Crédito da foto da capa no canto inferior direito */
.article-hero__credit {
  position: absolute;
  right: var(--space-6, 24px);
  bottom: var(--space-4, 16px);
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(253, 251, 247, 0.7);
  z-index: 1;
  pointer-events: none;
}

/* Classes utilitárias do leitor */
.article-404 {
  padding: 80px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.article-404 h1 {
  color: var(--navy-2);
  font-size: 2rem;
  margin-bottom: 12px;
}
.article-404 p {
  color: var(--muted);
  margin-bottom: 24px;
}

.article-preview-banner {
  margin-top: 24px;
}
.article-preview-banner__box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-card__cover-empty {
  width: 100%;
  height: 100%;
  background: var(--navy-3);
}

@media (max-width: 767px) {
  .article-hero {
    min-height: clamp(380px, 70svh, 520px);
  }

  .article-hero__content {
    padding-block: var(--space-8, 48px) var(--space-6, 24px);
  }

  .article-hero__credit {
    right: var(--space-4, 16px);
    bottom: var(--space-3, 12px);
    font-size: 11px;
  }
}

@media (max-width: 639px) {
  .article-hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    line-height: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-hero__media img {
    animation: none;
    transform: none;
  }
}

/* ==========================================================================
   Grade de Leitura (Fase L2 — Seções 5 e 6)
   ========================================================================== */

/* 5.1 Desktop (a partir de 1280px) */
.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px) 200px;
  column-gap: var(--space-6, 40px);
  justify-content: center;
  align-items: start;
  margin-top: var(--space-8, 48px);
}

/* 5.2 Entre 1024 e 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .article-layout {
    grid-template-columns: 220px minmax(0, calc(40 * var(--type-article-body)));
    column-gap: var(--space-6, 40px);
    justify-content: center;
  }
  .article-actions-sidebar {
    display: none !important;
  }
}

/* 5.3 Abaixo de 1024px */
@media (max-width: 1023px) {
  .article-layout {
    display: block;
    margin-top: var(--space-6, 24px);
  }
  .article-toc-sidebar {
    display: none !important;
  }
  .article-actions-sidebar {
    display: none !important;
  }
  .article-main-column {
    max-width: calc(40 * var(--type-article-body));
    margin-inline: auto;
  }
}

/* Esconder botão de compartilhar compacto da autoria em >= 1280px (Item B2) */
@media (min-width: 1280px) {
  .article-hero__share-btn {
    display: none;
  }
}

/* Índice H2 Sticky na Coluna Esquerda */
.article-toc-sidebar {
  position: sticky;
  top: calc(var(--header-h, 85px) + var(--space-5, 24px));
  max-height: calc(100vh - var(--header-h, 85px) - var(--space-8, 48px));
  overflow-y: auto;
  padding: 0;
  background: transparent;
  border: 0;
}

.article-toc-sidebar__title {
  margin: 0 0 var(--space-3, 12px);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  text-transform: none;
  letter-spacing: normal;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-2, 8px);
}

.article-toc-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-toc-sidebar li a {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: var(--weight-regular);
  text-decoration: none;
  padding: var(--space-2, 8px) var(--space-3, 12px);
  border-radius: 6px;
  transition: color 200ms ease-out, background-color 200ms ease-out;
}

.article-toc-sidebar li a:hover {
  color: var(--navy);
}

.article-toc-sidebar li a.is-active,
.article-toc-sidebar li a[aria-current="location"] {
  color: var(--navy);
  font-weight: var(--weight-semibold);
  background-color: var(--article-gold-soft);
}

.article-toc-sidebar li a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Coluna de Ações Sticky (Direita — Item B2) */
.article-actions-sidebar {
  position: sticky;
  top: calc(var(--header-h, 85px) + var(--space-5, 24px));
  display: flex;
  flex-direction: column;
  gap: var(--space-5, 24px);
  align-items: flex-start;
  z-index: 10;
}

.article-actions-sidebar__sticky {
  display: flex;
  flex-direction: column;
  gap: var(--space-5, 24px);
  align-items: flex-start;
}

.article-amen-btn--sidebar {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.95rem;
}

.article-actions-sidebar__share {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: all var(--motion-fast) ease;
  cursor: pointer;
  text-decoration: none;
}

.article-action-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}

.article-action-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-action-btn svg,
.article-action-btn .icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Índice H2 Recolhível Mobile / Tablet (< 1024px) — Fallback Sem JS */
html.js .article-toc-mobile {
  display: none !important;
}

.article-toc-mobile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 36px;
}

.article-toc-mobile summary {
  font-size: 0.92rem;
  font-weight: var(--weight-bold);
  color: var(--navy);
  cursor: pointer;
}

.article-toc-mobile ul {
  list-style: none;
  padding: 14px 0 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.article-toc-mobile li a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.article-toc-mobile li a:hover {
  color: var(--navy);
}

@media (min-width: 1024px) {
  .article-toc-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   Barra de Progresso de Leitura (Fase N3 — Seção 12.3)
   ========================================================================== */
.article-reading-progress {
  position: fixed;
  top: var(--header-h, 85px);
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 95;
  pointer-events: none;
  contain: paint;
}

@media (max-width: 1023px) {
  .article-toc-bar:not([hidden]) ~ .article-reading-progress,
  .article-reading-progress--below-bar {
    top: calc(var(--header-h, 85px) + 48px);
  }
}

/* ==========================================================================
   Barra Móvel do Índice (Fase L3 — Seção 8.3)
   ========================================================================== */
.article-toc-bar {
  position: fixed;
  top: var(--header-h, 85px);
  left: 0;
  right: 0;
  width: 100%;
  height: 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 90;
}

.article-toc-bar[hidden] {
  display: none !important;
}

.article-toc-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.article-toc-bar__btn {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.article-toc-bar__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.article-toc-bar__label {
  font-weight: var(--weight-semibold);
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.article-toc-bar__sep {
  color: var(--muted);
  flex-shrink: 0;
}

.article-toc-bar__current {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.article-toc-bar__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}

.article-toc-bar__chevron svg,
.article-toc-bar__chevron .icon {
  width: 16px;
  height: 16px;
  display: block;
}

.article-toc-bar__btn[aria-expanded="true"] .article-toc-bar__chevron {
  transform: rotate(180deg);
}

.article-toc-bar__menu {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h, 85px) - 48px - 16px);
  overflow-y: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(17, 45, 74, 0.12);
  padding: var(--space-3, 12px) 0;
}

.article-toc-bar__menu[hidden] {
  display: none !important;
}

.article-toc-bar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-toc-bar__link {
  display: block;
  padding: var(--space-2, 8px) var(--space-3, 12px);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 200ms ease-out, background-color 200ms ease-out;
}

.article-toc-bar__link:hover {
  color: var(--navy);
}

.article-toc-bar__link.is-active,
.article-toc-bar__link[aria-current="location"] {
  color: var(--navy);
  font-weight: var(--weight-semibold);
  background-color: var(--article-gold-soft);
}

.article-toc-bar__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
}

@media (min-width: 1024px) {
  .article-toc-bar {
    display: none !important;
  }
}

@media print {
  .article-toc-bar {
    display: none !important;
  }
}

/* Contêiner de Leitura */
.article-main-column {
  min-width: 0;
  width: 100%;
}

/* Bloco "Em resumo" */
.article-summary-card {
  width: 100%;
  background: var(--article-cream-bg);
  border: 1px solid var(--article-gold-border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 36px;
}

.article-summary-card__label {
  display: block;
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown);
  margin-bottom: 8px;
}

.article-summary-card__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}

/* Versículo-chave (Quando houver) */
.article-key-verse {
  width: 100%;
  background: #fff;
  border: 1px solid var(--article-gold-border);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 40px;
  position: relative;
}

.article-key-verse__mark {
  color: var(--gold);
  margin-bottom: 12px;
}

.article-key-verse__mark svg {
  width: 32px;
  height: 32px;
  display: block;
}

.article-key-verse__quote {
  margin: 0 0 14px;
}

.article-key-verse__quote p {
  margin: 0;
  font-size: 1.15em;
  font-weight: var(--weight-medium);
  line-height: 1.65;
  color: var(--navy-2);
  font-style: italic;
}

.article-key-verse__cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
}

.article-key-verse__cite abbr {
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

/* --------------------------------------------------------------------------
   Tipografia do Corpo do Artigo (.article-body.prose)
   Sem animação de revelação lenta (Regra Seção 9.5)
   -------------------------------------------------------------------------- */
.article-body {
  font-size: var(--type-article-body);
  max-width: var(--measure);
  line-height: 1.65;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 var(--article-space-p);
}

.article-body h2 {
  font-family: var(--display);
  font-size: var(--type-article-h2);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: var(--article-space-h2) 0 18px;
  scroll-margin-top: calc(var(--header-h, 85px) + var(--space-5, 24px));
}

.article-body h3 {
  font-family: var(--display);
  font-size: var(--type-article-h3);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  color: var(--navy);
  margin: var(--article-space-h3) 0 14px;
  scroll-margin-top: calc(var(--header-h, 85px) + var(--space-5, 24px));
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--article-space-p);
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  font-weight: var(--weight-semibold);
  color: var(--navy);
}

.article-body em {
  font-style: italic;
}

.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

.article-body a {
  color: var(--navy-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--motion-fast) ease;
}

.article-body a:hover {
  color: var(--gold);
}

/* Links Bíblicos no Meio do Texto */
.article-body a.scripture-link {
  color: var(--navy-2);
  background: var(--article-gold-soft);
  padding: 1px 6px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: var(--weight-medium);
  border-bottom: 1px solid var(--article-gold-border);
  transition: all var(--motion-fast) ease;
  cursor: pointer;
}

.article-body a.scripture-link:hover {
  background: var(--gold);
  color: var(--navy-2);
}

.article-body a.scripture-link:focus-visible {
  background: var(--gold);
  color: var(--navy-2);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Blocos de Versículo (<figure class="scripture">) */
.article-body figure.scripture {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--article-cream-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-body figure.scripture blockquote {
  margin: 0 0 14px;
}

.article-body figure.scripture blockquote p {
  margin: 0;
  font-size: 1.1em;
  font-weight: var(--weight-medium);
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
}

.article-body figure.scripture figcaption {
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  text-align: right;
}

.article-body figure.scripture figcaption cite {
  font-style: normal;
}

.article-body figure.scripture figcaption abbr {
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

/* Imagens no Texto */
.article-body figure:not(.scripture) {
  margin: 36px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.article-body figure:not(.scripture) img,
.prose img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-body figure:not(.scripture) figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* Tabelas GFM */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.92rem;
}

.article-body th,
.article-body td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: var(--paper);
  font-weight: var(--weight-semibold);
  color: var(--navy);
}

/* Notas de Rodapé */
.article-body section.footnotes {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.article-body section.footnotes hr {
  display: none;
}

.article-body section.footnotes ol {
  padding-left: 20px;
}

.article-body section.footnotes li {
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
/* ==========================================================================
   Área Final do Artigo (Seção 6 — Largura intermediária 1040px)
   ========================================================================== */
.article-final-area {
  max-width: var(--wide, 1040px);
  margin-inline: auto;
  margin-top: var(--space-8, 64px);
}

.article-final-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-7, 48px) 0;
}

/* 2. Grade de Metadados: Referências Bíblicas e Créditos | Sobre o Autor */
.article-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7, 48px);
  align-items: start;
}

@media (max-width: 1023px) {
  .article-meta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6, 40px);
  }
}

.article-scriptures-section {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.article-scriptures-section h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin: 0 0 16px;
}

.article-scriptures-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-scriptures-item {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.article-scriptures-item:last-child {
  border-bottom: 0;
}

.article-scriptures-item__ref {
  font-weight: var(--weight-bold);
  color: var(--navy);
}

.article-bible-credit-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.article-bible-credit-box p,
.article-bible-credit-box__text {
  margin: 0;
}

.article-bible-credit-box a {
  color: var(--navy-3);
  text-decoration: underline;
}

/* 3. Como Citar Este Artigo (Recolhido em details) */
.article-citation-accordion {
  margin-top: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
}

.article-citation-accordion summary {
  font-size: 0.9rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  cursor: pointer;
}

.article-citation-box {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
  user-select: all;
  border: 1px solid var(--line);
}

/* 4. Sobre o Autor */
.article-author-card {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.article-author-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.article-author-card__content h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--navy);
}

.article-author-card__role {
  display: block;
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  color: var(--brown);
  margin-bottom: 10px;
}

.article-author-card__bio {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.article-author-card__link {
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  color: var(--navy);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .article-author-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 5. Artigos Relacionados (3 colunas, capas 16:9 height: auto) */
.article-related-section {
  margin-top: 0;
}

.article-related-section h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin: 0 0 24px;
}

.article-related-section .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .article-related-section .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-related-section .article-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   Painel de Versículo (Popover Interativo Acessível)
   -------------------------------------------------------------------------- */
.scripture-popover {
  position: absolute;
  inset: unset;
  margin: 0;
  z-index: 10000;
  width: min(calc(100vw - 32px), 480px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(17, 45, 74, 0.18), 0 4px 12px rgba(17, 45, 74, 0.08);
  padding: 24px;
  color: var(--ink);
  font-family: var(--body);
}

/* Suporte nativo ao atributo popover */
.scripture-popover:not(:popover-open):not(.is-open) {
  display: none;
}

.scripture-popover:popover-open,
.scripture-popover.is-open {
  display: block;
}

.scripture-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.scripture-popover__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scripture-popover__badge {
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  background: var(--cream);
  color: var(--brown);
  padding: 2px 6px;
  border-radius: 4px;
}

.scripture-popover__close {
  background: transparent;
  border: 0;
  padding: 6px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scripture-popover__close:hover {
  background: var(--paper);
  color: var(--navy);
}

.scripture-popover__close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.scripture-popover__text {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  max-height: 280px;
  overflow-y: auto;
}

.scripture-popover__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  flex-wrap: wrap;
}

.scripture-popover__link {
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  text-decoration: underline;
}

.scripture-popover__link:hover {
  color: var(--gold);
}

.scripture-popover__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Interações do Artigo: Amém, Compartilhar e Trecho (Seção 13)
   -------------------------------------------------------------------------- */
.article-interactions {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6, 32px);
  align-items: center;
}

.article-amen-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.article-amen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  background: var(--amen-bg);
  color: var(--navy);
  border: 2px solid var(--line);
  box-shadow: 0 2px 8px rgba(14, 28, 54, 0.05);
  transition: all 0.2s ease-out;
}

.article-amen-btn:hover {
  background: var(--amen-bg-hover);
  border-color: var(--amen-border-hover);
  color: var(--navy);
}

.article-amen-btn:focus-visible {
  outline: 3px solid var(--amen-focus-ring);
  outline-offset: 3px;
}

.article-amen-btn.is-active {
  background: var(--amen-bg-active);
  border-color: var(--amen-border-active);
  color: var(--amen-color-active);
  box-shadow: 0 4px 14px var(--amen-shadow-active);
}

.article-amen-btn.is-animating {
  transform: scale(1.08);
}

.article-amen-btn__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
}

.article-amen-btn.is-active .article-amen-btn__icon {
  transform: scale(1.1);
  color: var(--amen-border-active);
}

.article-amen-btn__text {
  letter-spacing: 0.02em;
}

.article-amen-btn__count {
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  color: var(--muted);
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.article-amen-btn__count:empty {
  display: none;
}

.article-amen-btn.is-active .article-amen-btn__count {
  color: var(--amen-color-active);
  border-left-color: var(--amen-count-border-active);
}

.article-amen-feedback {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1.2em;
}

.article-share-block {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.article-share-block__title {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin: 0 0 16px;
  text-align: center;
}

.article-share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .article-share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.article-share-btn:hover {
  background: var(--cream);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}

.article-share-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.article-share-btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Modal de Compartilhamento */
.article-share-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 90%;
  background: #ffffff;
}

.article-share-modal::backdrop {
  background: rgba(14, 28, 54, 0.6);
  backdrop-filter: blur(4px);
}

.article-share-modal__box {
  padding: 24px;
}

.article-share-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.article-share-modal__title {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}

.article-share-modal__close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.article-share-modal__close:hover {
  color: var(--navy);
  background: var(--cream);
}

.article-share-modal__close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.article-share-modal__subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Menu Flutuante de Compartilhar Trecho */
.article-selection-share {
  position: absolute;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(14, 28, 54, 0.3);
  transform: translateX(-50%);
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: auto;
}

.article-selection-share[hidden] {
  display: none !important;
}

.article-selection-share::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy);
}

.article-selection-share__label {
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.7);
  margin-right: 2px;
}

.article-selection-share a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: var(--weight-medium);
  transition: background 0.15s ease;
}

.article-selection-share a:hover {
  background: rgba(255, 255, 255, 0.25);
}

.article-selection-share a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-selection-share svg {
  width: 14px;
  height: 14px;
}

/* Toast de Notificação Acessível */
.article-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
  box-shadow: 0 8px 24px rgba(14, 28, 54, 0.25);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.article-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.article-toast[hidden] {
  display: none;
}

/* Contagem de Améns nos Cards */
.article-card__amens,
.article-featured-card__amens {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  margin-left: auto;
}

.article-card__amens svg,
.article-featured-card__amens svg {
  width: 14px;
  height: 14px;
  color: var(--amen-border-active);
}

@media (prefers-reduced-motion: reduce) {
  .article-amen-btn,
  .article-amen-btn.is-animating,
  .article-amen-btn__icon {
    transition: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Player de Áudio Neural (Seção 11.6 de docs/plano-artigos-biblicos.md)
   -------------------------------------------------------------------------- */
.article-player {
  background: var(--player-bg);
  border: 1px solid var(--player-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0 36px;
  box-shadow: 0 4px 16px rgba(17, 45, 74, 0.04);
  transition: border-color var(--motion-fast) var(--ease-out);
}

.article-player__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-player__title-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.article-player__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--article-gold-soft);
  color: var(--navy);
}

.article-player__icon svg {
  width: 18px;
  height: 18px;
}

.article-player__title {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.article-player__voice-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--player-btn-bg);
  border: 1px solid var(--player-btn-border);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.article-player__voice-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 4px 12px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: var(--weight-medium);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-out);
}

.article-player__voice-btn:hover {
  color: var(--ink);
}

.article-player__voice-btn.is-active {
  background: var(--player-control-bg);
  color: var(--player-btn-text-active);
  font-weight: var(--weight-semibold);
  box-shadow: 0 2px 6px rgba(17, 45, 74, 0.15);
}

.article-player__voice-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-player__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-player__play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--player-control-bg);
  border: 1px solid var(--player-control-bg);
  color: var(--player-control-icon);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--motion-fast) var(--ease-out);
}

.article-player__play-btn:hover {
  background: var(--player-control-hover);
  transform: scale(1.04);
}

.article-player__play-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.article-player__play-btn svg {
  width: 20px;
  height: 20px;
}

.article-player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--player-btn-bg);
  border: 1px solid var(--player-btn-border);
  color: var(--player-btn-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--motion-fast) var(--ease-out);
}

.article-player__btn:hover {
  background: var(--paper);
  border-color: var(--gold);
  color: var(--ink);
}

.article-player__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-player__btn svg {
  width: 18px;
  height: 18px;
}

.article-player__seek-label {
  position: absolute;
  bottom: 8px;
  font-size: 0.55rem;
  font-weight: var(--weight-bold);
  font-family: var(--font);
  color: var(--player-btn-text);
  pointer-events: none;
}

.article-player__progress-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 140px;
}

.article-player__time {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: var(--weight-medium);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
}

.article-player__slider-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.article-player__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--player-track-bg);
  outline: none;
  cursor: pointer;
  margin: 0;
  position: relative;
  z-index: 2;
}

.article-player__slider:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.article-player__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--player-control-bg);
  border: 2px solid var(--paper);
  box-shadow: 0 1px 4px rgba(17, 45, 74, 0.2);
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-out);
}

.article-player__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.article-player__slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--player-control-bg);
  border: 2px solid var(--paper);
  box-shadow: 0 1px 4px rgba(17, 45, 74, 0.2);
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-out);
}

.article-player__slider-fill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 3px;
  background: var(--player-accent);
  pointer-events: none;
  z-index: 1;
}

.article-player__speed-btn {
  background: var(--player-btn-bg);
  border: 1px solid var(--player-btn-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  color: var(--player-btn-text);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-out);
  white-space: nowrap;
}

.article-player__speed-btn:hover {
  background: var(--paper);
  border-color: var(--gold);
}

.article-player__speed-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-player__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.article-player__disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .article-player {
    padding: 16px;
    margin: 20px 0 28px;
  }

  .article-player__controls {
    flex-wrap: wrap;
    gap: 8px;
  }

  .article-player__progress-group {
    order: 1;
    width: 100%;
    flex-basis: 100%;
    margin-top: 8px;
  }

  .article-player__play-btn {
    order: 2;
  }

  .article-player__btn {
    order: 3;
  }

  .article-player__speed-group {
    order: 4;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-player,
  .article-player__play-btn,
  .article-player__btn,
  .article-player__voice-btn,
  .article-player__speed-btn,
  .article-player__slider::-webkit-slider-thumb {
    transition: none !important;
    transform: none !important;
  }
}

/* Estado oculto garantido para elementos com [hidden] */
.article-player[hidden],
.article-mini-player[hidden],
.article-hero__audio-btn[hidden] {
  display: none !important;
}

/* Sem JavaScript: ocultar players e botões de áudio interativos */
html:not(.js) .article-player,
html:not(.js) .article-hero__actions,
html:not(.js) .article-mini-player {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Player de Fala Alternativo (Web Speech API) - Seção 7.4
   -------------------------------------------------------------------------- */
.article-player--speech .article-player__speech-progress {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Player Mínimo Fixo (Seção 7.3)
   -------------------------------------------------------------------------- */
.article-mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--navy-2);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 89;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  animation: articleMiniPlayerSlideUp 200ms var(--ease-out);
}

@keyframes articleMiniPlayerSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.article-mini-player__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-mini-player__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-2);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--motion-fast) var(--ease-out);
}

.article-mini-player__toggle:hover {
  transform: scale(1.05);
}

.article-mini-player__toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-mini-player__toggle svg {
  width: 16px;
  height: 16px;
}

.article-mini-player__info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.article-mini-player__title {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-mini-player__time {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.article-mini-player__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--motion-fast) var(--ease-out);
}

.article-mini-player__close:hover {
  color: #fff;
}

.article-mini-player__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body.has-mini-player {
  padding-bottom: 56px;
}

body.has-mini-player .whatsapp-float {
  bottom: calc(56px + max(20px, env(safe-area-inset-bottom)));
}

@media (max-width: 700px) {
  body.has-mini-player .whatsapp-float {
    bottom: calc(56px + max(16px, env(safe-area-inset-bottom)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-mini-player {
    animation: none !important;
  }
}

/* ==========================================================================
   Correções 5.4.2 (18/10/2026): player compacto, coluna de ações e Amém
   Vêm depois das regras originais para sobrescrevê-las sem alterar a marcação
   restante. Ver docs/correcoes-5.4.2/LEIA.md.
   ========================================================================== */

/* Player compacto (neural e voz do aparelho), no padrão do site do Dr. Vinícius */
.article-player {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 var(--space-6, 40px);
  padding: 6px 8px 6px 6px;
  background: var(--player-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
}

.article-player.is-playing,
.article-player:has(.article-player__pause-icon:not([hidden])) {
  background: var(--paper);
  border-color: var(--amen-border-hover);
}

.article-player__header,
.article-player__footer,
.article-player__btn,
.article-player__seek-label,
.article-player__native {
  display: none;
}

.article-player__play-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.article-player__play-btn svg {
  width: 14px;
  height: 14px;
}

.article-player__progress-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}

.article-player__slider-wrap {
  width: clamp(96px, 16vw, 200px);
}

.article-player__time {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.article-player__voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  margin: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-player__voice-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
}

.article-player__speed-btn {
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* Voz do aparelho: rótulo curto e barra fina de progresso */
.article-player--speech .article-player__speech-progress {
  min-width: 5.5em;
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.article-player__track {
  position: relative;
  width: clamp(80px, 14vw, 160px);
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.article-player__track-fill {
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 250ms ease-out;
}

@media (max-width: 640px) {
  .article-player {
    width: 100%;
    padding: 6px 8px 6px 6px;
    margin: 0 0 var(--space-5, 24px);
  }

  .article-player__progress-group,
  .article-player__track {
    flex: 1 1 auto;
    order: 0;
    width: auto;
    margin-top: 0;
    flex-basis: auto;
  }

  .article-player__slider-wrap {
    width: auto;
    flex: 1 1 auto;
  }

  .article-player__time--total {
    display: none;
  }

  .article-player__play-btn,
  .article-player__voice-toggle,
  .article-player__speed-btn {
    order: 0;
    margin-left: 0;
  }
}

/* Amém da área final: proporcional ao restante da página */
.article-amen-btn {
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.95rem;
  border-width: 1px;
  box-shadow: none;
}

.article-amen-btn.is-active {
  box-shadow: none;
}

.article-amen-btn__icon {
  width: 20px;
  height: 20px;
}

/* Coluna de ações: Amém no mesmo tamanho dos ícones, com legenda curta */
.article-actions-sidebar__sticky {
  width: 56px;
  align-items: center;
  gap: var(--space-4, 16px);
}

.article-actions-sidebar__share {
  align-items: center;
  gap: 8px;
}

.article-amen-btn--sidebar {
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
}

.article-amen-btn--sidebar:hover,
.article-amen-btn--sidebar.is-active {
  background: transparent;
  box-shadow: none;
}

.article-amen-btn--sidebar .article-amen-btn__icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}

.article-amen-btn--sidebar:hover .article-amen-btn__icon {
  background: var(--article-gold-soft);
  border-color: var(--amen-border-hover);
}

.article-amen-btn--sidebar.is-active .article-amen-btn__icon {
  background: var(--amen-bg-active);
  border-color: var(--amen-border-active);
  color: var(--amen-color-active);
  transform: none;
}

.article-amen-btn--sidebar .article-amen-btn__count {
  padding: 0;
  border: 0;
  font-size: 0.72rem;
  font-weight: var(--weight-regular);
}

.article-amen-btn--sidebar:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Botões de compartilhar da coluna: traço fino, sem fundo branco e sem salto */
.article-action-btn {
  background: transparent;
  color: var(--navy);
}

.article-action-btn:hover {
  background: var(--article-gold-soft);
  border-color: var(--amen-border-hover);
  color: var(--navy);
  transform: none;
}

.article-action-btn svg,
.article-action-btn .icon {
  width: 18px;
  height: 18px;
}

/* Botão de áudio do cabeçalho mais discreto */
.article-hero__audio-btn {
  min-height: 36px;
  padding: 6px 16px;
}

/* ==========================================================================
   Correções 5.4.3 (18/10/2026): cabeçalho no padrão das páginas internas,
   área final organizada e compartilhamento uniforme.
   Ver docs/correcoes-5.4.3/LEIA.md.
   ========================================================================== */

/* Cabeçalho: mesma escala tipográfica do .internal-hero das páginas internas */
.article-hero__content {
  padding-block: 110px 88px;
}

.article-hero__title {
  max-width: 890px;
  margin: 0 0 var(--space-5, 24px);
  font-size: clamp(2.9rem, 5.4vw, 5.2rem);
  line-height: 1.05;
}

/* Títulos acima de 52 caracteres: um passo abaixo, para não passar de 3 linhas */
.article-hero__title--long {
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  line-height: 1.08;
}

.article-hero__subtitle {
  max-width: 690px;
  margin: 0 0 var(--space-5, 24px);
  font-size: var(--type-body-lead, clamp(1.02rem, 1.35vw, 1.2rem));
  color: rgba(253, 251, 247, 0.88);
}

.article-hero__byline {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .article-hero__content {
    padding-block: 95px 56px;
  }
}

@media (max-width: 639px) {
  .article-hero__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .article-hero__title--long {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.12;
  }
}

/* Amém e compartilhar: grupo único, pílulas da mesma altura, sem quebra de rótulo */
.article-interactions {
  gap: var(--space-5, 24px);
}

.article-share-block {
  max-width: none;
  padding-top: 0;
  border-top: 0;
}

.article-share-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.article-share-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}

.article-share-btn:hover {
  background: var(--article-gold-soft);
  border-color: var(--amen-border-hover);
  color: var(--navy);
  transform: none;
}

@media (max-width: 640px) {
  .article-share-grid {
    display: flex;
  }
}

/* Coluna das referências: referências, como citar e crédito da Bíblia, nessa ordem */
.article-scriptures-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-5, 24px);
}

.article-scriptures-section h2 {
  margin: 0 0 calc(var(--space-2, 8px) * -1);
}

.article-scriptures-list {
  margin: 0;
}

.article-citation-accordion {
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-citation-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4, 16px);
  min-height: 48px;
  padding: 0 18px;
  list-style: none;
  border-radius: 10px;
  transition: background-color 200ms ease-out;
}

.article-citation-accordion summary::-webkit-details-marker {
  display: none;
}

.article-citation-accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease-out;
}

.article-citation-accordion[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.article-citation-accordion summary:hover {
  background: var(--article-gold-soft);
}

.article-citation-accordion summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.article-citation-box {
  margin: 0;
  padding: 0 18px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.article-bible-credit-box {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* Relacionados: um artigo vira card horizontal na largura da área; dois, duas colunas */
.article-related-section .articles-grid {
  margin-bottom: 0;
}

.article-related-section .articles-grid--count-1 {
  grid-template-columns: 1fr;
}

.article-related-section .articles-grid--count-1 .article-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.article-related-section .articles-grid--count-1 .article-card__media {
  aspect-ratio: auto;
  min-height: 240px;
}

.article-related-section .articles-grid--count-1 .article-card__media img {
  height: 100%;
  aspect-ratio: auto;
}

.article-related-section .articles-grid--count-1 .article-card__body {
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
}

.article-related-section .articles-grid--count-1 .article-card__title {
  font-size: 1.5rem;
}

.article-related-section .articles-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .article-related-section .articles-grid--count-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-related-section .articles-grid--count-1 .article-card {
    display: flex;
  }

  .article-related-section .articles-grid--count-1 .article-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* Divisor final na mesma largura da área final (1040px) */
.article-final-area + .article-final-divider {
  max-width: var(--wide, 1040px);
  margin-inline: auto;
  margin-block: var(--space-7, 48px) 0;
}

/* Fechar do player mínimo: ícone desenhado no lugar do caractere × */
.article-mini-player__close svg {
  width: 18px;
  height: 18px;
}

/* Botões .btn usados nos estados vazios, 404 e prévia dos artigos não tinham estilo no site público:
   passam a seguir o mesmo desenho de .button (base.css) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-2);
}

.btn--primary:hover {
  background: var(--gold-2);
}

.btn--secondary {
  border-color: var(--line);
  color: var(--navy);
  background: transparent;
}

.btn--secondary:hover {
  border-color: var(--navy);
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.8rem;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   Correção 5.5.0 (18/10/2026): área final sem estouro lateral.
   O endereço longo em "Como citar este artigo" não tinha onde quebrar e,
   com o recolhível aberto, alargava a coluna da grade (1fr = minmax(auto, 1fr)).
   Referências, crédito da Bíblia e perfil do autor passavam da borda direita.
   ========================================================================== */
.article-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .article-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.article-meta-grid > * {
  min-width: 0;
}

.article-citation-box,
.article-bible-credit-box,
.article-author-card__content {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Correção 5.5.1 (18/10/2026): posição do convite da igreja no fim do artigo.
   O convite encostava nos artigos relacionados e o padding-bottom de 96px do
   .article-page sobrava como faixa vazia entre o convite e o rodapé.
   Agora o espaço fica acima do convite, que encosta no rodapé como nas
   páginas internas.
   ========================================================================== */
.article-page:has(> .internal-cta) {
  padding-bottom: 0;
}

.article-page > .internal-cta {
  margin-top: clamp(64px, 8vw, 96px);
}

/* --------------------------------------------------------------------------
   Folha de Impressão (@media print) - Seção 9.5
   -------------------------------------------------------------------------- */
@media print {
  header,
  footer,
  .topline,
  .nav,
  .menu-button,
  .articles-hero .breadcrumb,
  .breadcrumb,
  .article-hero__media,
  .article-hero__veil,
  .article-hero__actions,
  .article-hero__credit,
  .article-hero__share-btn,
  .article-toc-sidebar,
  .article-toc-mobile,
  .article-toc-bar,
  .article-reading-progress,
  .article-actions-sidebar,
  .article-player,
  .article-mini-player,
  .article-interactions,
  .article-selection-share,
  .article-share-modal,
  .article-toast,
  .internal-cta,
  .article-related-section,
  .articles-toolbar,
  .articles-pagination,
  .skip-link,
  .scripture-popover,
  .whatsapp-float {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: var(--ink) !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }

  .shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .article-hero {
    min-height: auto !important;
    background: transparent !important;
    color: var(--ink) !important;
    padding: 0 !important;
    display: block !important;
  }

  .article-hero__content {
    padding: 0 !important;
  }

  .article-hero__title,
  .article-title {
    font-size: 20pt !important;
    color: var(--navy-2) !important;
    page-break-after: avoid;
  }

  .article-hero__subtitle {
    font-size: 11pt !important;
    color: var(--muted) !important;
  }

  .article-hero__byline,
  .article-byline {
    border-top: 1px solid var(--line) !important;
    color: var(--muted) !important;
    font-size: 9pt !important;
  }

  .article-hero__byline *,
  .article-hero__author strong,
  .article-hero__author a {
    color: var(--ink) !important;
  }

  .article-body {
    color: var(--ink) !important;
  }

  .article-body h2,
  .article-body h3 {
    color: var(--navy-2) !important;
    page-break-after: avoid;
  }

  .article-key-verse {
    border: 1px solid var(--line) !important;
    border-radius: 6px !important;
    background: var(--paper) !important;
    color: var(--ink) !important;
    padding: 12pt 16pt !important;
  }

  .article-citation-box {
    display: block !important;
    border: 1px solid var(--line) !important;
    background: transparent !important;
    margin-top: 18pt !important;
  }

  .article-citation-box summary {
    font-weight: bold !important;
    color: var(--navy-2) !important;
  }

  .article-final-area {
    margin-top: 24pt !important;
  }

  .article-final-divider {
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  /* Exibir destino dos links na impressão */
  .article-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }
}
