/* ==========================================================================
   Estilos Oficiais da Página Editorial do Blog (.blog-page) — Andrade & Ribas
   Escopo 100% encapsulado sob .blog-page — Zero seletores genéricos globais
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Editorial (.blog-hero)
   -------------------------------------------------------------------------- */
.blog-page .blog-hero {
  background-color: #0A213E;
  padding-top: 156px;
  padding-bottom: 0;
  color: #FFFFFF;
  position: relative;
}

.blog-page .blog-hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 580px);
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

/* Tipografia e Hierarquia Vertical no Hero */
.blog-page .blog-hero__tag {
  display: inline-block;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #E19F53;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.blog-page .blog-hero__category {
  display: block;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: #F8B76C;
  margin-bottom: 12px;
}

.blog-page .blog-hero__post-title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25em;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}

.blog-page .blog-hero__post-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.blog-page .blog-hero__post-title a:hover {
  opacity: 0.9;
}

.blog-page .blog-hero__excerpt {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  line-height: 1.6em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px 0;
}

.blog-page .blog-hero__actions {
  margin-bottom: 28px;
}

.blog-page .blog-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #E19F53;
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-page .blog-hero__cta:hover {
  color: #F8B76C;
}

.blog-page .blog-hero__arrow {
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}

.blog-page .blog-hero__cta:hover .blog-hero__arrow {
  transform: translateX(3px);
}

/* Campo de Busca Integrado no Hero */
.blog-page .blog-search-compact {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 4px;
  padding: 4px 6px;
  max-width: 360px;
  transition: border-color 200ms ease;
}

.blog-page .blog-search-compact:focus-within {
  border-color: #E19F53;
}

.blog-page .blog-search-compact__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
  width: 100%;
}

.blog-page .blog-search-compact__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.blog-page .blog-search-compact__btn {
  background: #E19F53;
  color: #FFFFFF;
  border: none;
  border-radius: 3px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease;
}

.blog-page .blog-search-compact__btn:hover {
  background: #f8b76c;
}

/* Imagem Editorial do Hero */
.blog-page .blog-hero__media-wrap {
  width: 100%;
  max-width: 580px;
  justify-self: end;
}

.blog-page .blog-hero__media-link {
  display: block;
  text-decoration: none;
}

.blog-page .blog-hero__frame {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  background-color: #061221;
}

.blog-page .blog-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(225, 159, 83, 0.25);
  border-radius: 5px;
  pointer-events: none;
}

.blog-page .blog-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 300ms ease, transform 300ms ease;
}

.blog-page .blog-hero__media-link:hover .blog-hero__image {
  filter: brightness(0.90);
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   2. Faixa de Categorias (#0F2F57 com min-height 64px)
   -------------------------------------------------------------------------- */
.blog-page .blog-nav-bar {
  background-color: #0F2F57;
  min-height: 64px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  width: 100%;
}

.blog-page .blog-nav-bar__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 64px;
}

.blog-page .blog-nav-bar__list::-webkit-scrollbar {
  display: none;
}

.blog-page .blog-nav-bar__link {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 200ms ease;
  box-sizing: border-box;
}

.blog-page .blog-nav-bar__link:hover,
.blog-page .blog-nav-bar__link.is-active {
  color: #FFFFFF;
  border-bottom-color: #E19F53;
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   3. Seção Leituras em Destaque (.blog-featured-reads)
   -------------------------------------------------------------------------- */
.blog-page .blog-featured-reads {
  padding-top: 96px;
  padding-bottom: 96px;
  background-color: #FFFFFF;
}

.blog-page .blog-featured-reads__header {
  margin-bottom: 36px;
  max-width: 1280px;
  margin-inline: auto;
}

.blog-page .blog-featured-reads__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3em;
  color: #061221;
  margin: 0;
}

.blog-page .blog-featured-reads__grid {
  display: grid;
  grid-template-columns: 62% calc(38% - 32px);
  gap: 32px;
  align-items: start;
}

/* Card Grande (Post 2 - Esquerda) */
.blog-page .blog-read-large {
  background-color: #FFFFFF;
}

.blog-page .blog-read-large__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-page .blog-read-large__media {
  width: 100%;
  max-height: 580px;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #F4F6F8;
}

.blog-page .blog-read-large__image,
.blog-page .blog-highlight__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 300ms ease, transform 300ms ease;
}

.blog-page .blog-read-large:hover .blog-read-large__image,
.blog-page .blog-read-large:hover .blog-highlight__image {
  filter: brightness(0.92);
  transform: scale(1.02);
}

.blog-page .blog-badge-gold {
  display: inline-block;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #E19F53;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.blog-page .blog-read-large__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 26px;
  font-weight: 600;
  color: #061221;
  line-height: 1.35em;
  margin: 0 0 12px 0;
  transition: color 200ms ease;
}

.blog-page .blog-read-large:hover .blog-read-large__title {
  color: #0A213E;
}

.blog-page .blog-read-large__excerpt {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 15px;
  line-height: 1.6em;
  color: rgba(6, 18, 33, 0.70);
  margin: 0 0 16px 0;
}

.blog-page .blog-read-large__meta {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  color: rgba(6, 18, 33, 0.50);
}

/* Cards Compactos (Posts 3 e 4 - Direita) */
.blog-page .blog-reads-compact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-page .blog-read-compact {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(6, 18, 33, 0.10);
}

.blog-page .blog-read-compact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-page .blog-read-compact__link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.blog-page .blog-read-compact__media {
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #F4F6F8;
}

.blog-page .blog-read-compact__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 300ms ease, transform 300ms ease;
}

.blog-page .blog-read-compact:hover .blog-read-compact__image {
  filter: brightness(0.92);
  transform: scale(1.03);
}

.blog-page .blog-read-compact__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.blog-page .blog-badge-gold--sm {
  font-size: 11px;
  margin-bottom: 6px;
}

.blog-page .blog-read-compact__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #061221;
  line-height: 1.35em;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 200ms ease;
}

.blog-page .blog-read-compact:hover .blog-read-compact__title {
  color: #0A213E;
}

.blog-page .blog-read-compact__meta {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 12px;
  color: rgba(6, 18, 33, 0.50);
}

/* --------------------------------------------------------------------------
   4. Seção Últimos Artigos (.blog-latest — Condicional para 5+ Posts)
   -------------------------------------------------------------------------- */
.blog-page .blog-latest {
  padding-top: 32px;
  padding-bottom: 96px;
  background-color: #FFFFFF;
}

.blog-page .blog-latest__header {
  margin-bottom: 40px;
}

.blog-page .blog-latest__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 32px;
  font-weight: 600;
  color: #061221;
  margin: 0;
}

.blog-page .blog-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-bottom: 48px;
}

.blog-page .blog-card-editorial__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 200ms ease;
}

.blog-page .blog-card-editorial:hover .blog-card-editorial__link {
  transform: translateY(-4px);
}

.blog-page .blog-card-editorial__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #F4F6F8;
}

.blog-page .blog-card-editorial__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 300ms ease;
}

.blog-page .blog-card-editorial:hover .blog-card-editorial__image {
  filter: brightness(0.90);
}

.blog-page .blog-card-editorial__badge {
  display: inline-block;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background-color: rgba(225, 159, 83, 0.12);
  color: #0A213E;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
}

.blog-page .blog-card-editorial__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 19px;
  font-weight: 600;
  color: #061221;
  line-height: 1.35em;
  margin: 0 0 10px 0;
}

.blog-page .blog-card-editorial__excerpt {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  line-height: 1.6em;
  color: rgba(6, 18, 33, 0.65);
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page .blog-card-editorial__meta {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 12px;
  color: rgba(6, 18, 33, 0.50);
  margin-top: auto;
}

/* Paginação Editorial */
.blog-page .blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.blog-page .blog-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-page .blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #061221;
  text-decoration: none;
  background-color: #F4F6F8;
  transition: all 200ms ease;
}

.blog-page .blog-pagination .page-numbers:hover,
.blog-page .blog-pagination .page-numbers.current {
  background-color: #0A213E;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Página Interna de Categoria e Arquivo (.blog-category-hero / .blog-category-content)
   -------------------------------------------------------------------------- */
.blog-page .blog-category-hero {
  background-color: #08172A;
  padding-top: 156px;
  padding-bottom: 0;
  width: 100%;
}

.blog-page .blog-category-hero__inner {
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Breadcrumbs Semânticos */
.blog-page .blog-breadcrumbs {
  margin-bottom: 4px;
}

.blog-page .blog-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-page .blog-breadcrumbs__link {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-page .blog-breadcrumbs__link:hover {
  color: #E19F53;
}

.blog-page .blog-breadcrumbs__sep {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.blog-page .blog-breadcrumbs__item--active {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  color: #E19F53;
  font-weight: 600;
}

/* Header Contextual da Categoria */
.blog-page .blog-category-hero__tag {
  display: inline-block;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E19F53;
  margin-bottom: 8px;
}

.blog-page .blog-category-hero__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 44px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25em;
  margin: 0 0 12px 0;
}

.blog-page .blog-category-hero__desc {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  line-height: 1.6em;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 0 16px 0;
}

.blog-page .blog-category-hero__desc p {
  margin: 0;
}

.blog-page .blog-category-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-page .blog-category-hero__count {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.blog-page .blog-category-hero__search {
  max-width: 440px;
  margin-top: 8px;
}

/* Área de Conteúdo da Categoria */
.blog-page .blog-category-content {
  background-color: #FFFFFF;
  padding-top: 72px;
  padding-bottom: 96px;
  min-height: 420px;
}

.blog-page .blog-category__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
}

/* Estado Vazio Elegante */
.blog-page .blog-empty-state {
  text-align: center;
  padding: 72px 24px;
  max-width: 580px;
  margin: 0 auto;
}

.blog-page .blog-empty-state__icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.blog-page .blog-empty-state__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 26px;
  font-weight: 600;
  color: #061221;
  margin: 0 0 14px 0;
}

.blog-page .blog-empty-state__desc {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 15px;
  line-height: 1.6em;
  color: rgba(6, 18, 33, 0.70);
  margin: 0 0 28px 0;
}

.blog-page .blog-empty-state__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6. Página Interna do Post (Single Post — .single-post-page)
   -------------------------------------------------------------------------- */
.blog-page.single-post-page {
  background-color: #FFFFFF;
}

/* 6.1 Hero do Artigo (#08172A) */
.blog-page .single-hero {
  background-color: #08172A;
  padding-top: 156px;
  padding-bottom: 60px;
  width: 100%;
}

.blog-page .single-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.blog-page .single-hero__header {
  max-width: 960px;
  margin-top: 4px;
}

.blog-page .single-hero__badge {
  margin-bottom: 14px;
  text-decoration: none;
}

.blog-page .single-hero__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25em;
  margin: 0 0 16px 0;
}

.blog-page .single-hero__excerpt {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 18px;
  line-height: 1.65em;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px 0;
  max-width: 860px;
}

.blog-page .single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.blog-page .single-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-page .single-hero__meta-author {
  gap: 8px;
}

.blog-page .single-hero__author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.blog-page .single-hero__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-page .single-hero__author-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
}

.blog-page .single-hero__meta-sep {
  color: rgba(255, 255, 255, 0.30);
  user-select: none;
}

/* 6.2 Imagem de Destaque com Sobreposição */
.blog-page .single-hero__media-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 36px auto -140px auto;
  position: relative;
  z-index: 10;
}

.blog-page .single-hero__image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  background-color: #0F2F57;
}

.blog-page .single-hero__featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 6.3 Área Principal de Leitura */
.blog-page .single-main-section {
  background-color: #FFFFFF;
  padding-top: 180px;
  padding-bottom: 80px;
}

body.single {
  overflow-x: clip;
}

.blog-page .single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: stretch;
}

.blog-page .single-layout__sidebar {
  align-self: stretch;
  position: relative;
}

.blog-page .single-layout__content {
  min-width: 0;
}

/* 6.4 Tipografia do Conteúdo do Artigo */
.blog-page .single-article-content {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 17px;
  line-height: 1.8em;
  color: rgba(6, 18, 33, 0.88);
}

.blog-page .single-article-content p {
  margin-bottom: 24px;
}

.blog-page .single-article-content p:first-of-type {
  font-size: 19px;
  line-height: 1.75em;
  color: #061221;
}

.blog-page .single-heading,
.blog-page .single-article-content h2 {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 28px;
  font-weight: 600;
  color: #061221;
  line-height: 1.3em;
  margin-top: 48px;
  margin-bottom: 20px;
  scroll-margin-top: 120px;
}

.blog-page .single-article-content h3 {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 22px;
  font-weight: 600;
  color: #061221;
  line-height: 1.35em;
  margin-top: 36px;
  margin-bottom: 16px;
  scroll-margin-top: 120px;
}

.blog-page .single-article-content h4 {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: #061221;
  margin-top: 28px;
  margin-bottom: 12px;
}

.blog-page .single-article-content ul,
.blog-page .single-article-content ol {
  padding-left: 24px;
  margin-bottom: 28px;
}

.blog-page .single-article-content li {
  margin-bottom: 10px;
  line-height: 1.75em;
}

.blog-page .single-article-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background-color: #FAF7F2;
  border-left: 4px solid #E19F53;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7em;
  color: #061221;
}

.blog-page .single-article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Tabelas Responsivas */
.blog-page .single-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 36px 0;
  border: 1px solid rgba(6, 18, 33, 0.10);
  border-radius: 8px;
}

.blog-page .single-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.blog-page .single-article-content th {
  background-color: #08172A;
  color: #FFFFFF;
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 2px solid #E19F53;
  white-space: nowrap;
}

.blog-page .single-article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(6, 18, 33, 0.08);
  color: rgba(6, 18, 33, 0.85);
}

.blog-page .single-article-content tr:nth-child(even) td {
  background-color: #F8FAFC;
}

.blog-page .single-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 24px 0;
}

.blog-page .single-article-content .wp-block-image {
  margin: 32px 0;
}

.blog-page .single-article-content .wp-block-image img {
  margin: 0;
}

/* 6.5 Box de Conclusão / CTA Dentro do Artigo */
.blog-page .single-conclusion-cta {
  margin: 48px 0 40px 0;
  padding: 36px 32px;
  background-color: #F4F6F8;
  border-left: 4px solid #E19F53;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.blog-page .single-conclusion-cta__content {
  max-width: 580px;
}

.blog-page .single-conclusion-cta__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #E19F53;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.blog-page .single-conclusion-cta__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 22px;
  font-weight: 600;
  color: #061221;
  margin: 0 0 8px 0;
}

.blog-page .single-conclusion-cta__desc {
  font-size: 15px;
  line-height: 1.6em;
  color: rgba(6, 18, 33, 0.70);
  margin: 0;
}

.blog-page .single-conclusion-cta__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* 6.6 Barra de Compartilhamento Social */
.blog-page .single-share-bar {
  padding: 24px 0;
  border-top: 1px solid rgba(6, 18, 33, 0.10);
  border-bottom: 1px solid rgba(6, 18, 33, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-page .single-share-bar__label {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #061221;
}

.blog-page .single-share-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-page .single-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 200ms ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.blog-page .single-share-btn--wa {
  background-color: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border-color: rgba(37, 211, 102, 0.30);
}

.blog-page .single-share-btn--wa:hover {
  background-color: #25D366;
  color: #FFFFFF;
}

.blog-page .single-share-btn--li {
  background-color: rgba(10, 102, 194, 0.10);
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.25);
}

.blog-page .single-share-btn--li:hover {
  background-color: #0A66C2;
  color: #FFFFFF;
}

.blog-page .single-share-btn--fb {
  background-color: rgba(24, 119, 242, 0.10);
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.25);
}

.blog-page .single-share-btn--fb:hover {
  background-color: #1877F2;
  color: #FFFFFF;
}

.blog-page .single-share-btn--copy {
  background-color: #F4F6F8;
  color: #061221;
  border-color: rgba(6, 18, 33, 0.12);
}

.blog-page .single-share-btn--copy:hover {
  background-color: #0A213E;
  color: #FFFFFF;
}

/* 6.7 Box de Autor Institucional */
.blog-page .single-author-box {
  padding: 28px;
  background-color: #F9FAFB;
  border: 1px solid rgba(6, 18, 33, 0.08);
  border-radius: 8px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.blog-page .single-author-box__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(6, 18, 33, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.blog-page .single-author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-page .single-author-box__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E19F53;
  margin-bottom: 4px;
  display: block;
}

.blog-page .single-author-box__name {
  font-size: 18px;
  font-weight: 600;
  color: #061221;
  margin: 0 0 8px 0;
}

.blog-page .single-author-box__bio {
  font-size: 14px;
  line-height: 1.6em;
  color: rgba(6, 18, 33, 0.70);
  margin: 0 0 12px 0;
}

.blog-page .single-author-box__link {
  font-size: 13px;
  font-weight: 600;
  color: #0A213E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 200ms ease;
}

.blog-page .single-author-box__link:hover {
  color: #E19F53;
}

/* 6.8 Sidebar Flutuante (TOC + Card WhatsApp) */
.blog-page .single-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-page .single-toc {
  background-color: #FFFFFF;
  border: 1px solid rgba(6, 18, 33, 0.10);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.blog-page .single-toc__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(6, 18, 33, 0.08);
}

.blog-page .single-toc__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #061221;
  margin: 0;
}

.blog-page .single-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc-counter;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-page .single-toc__item {
  position: relative;
}

.blog-page .single-toc__link {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 14px;
  line-height: 1.45em;
  color: rgba(6, 18, 33, 0.70);
  text-decoration: none;
  display: block;
  transition: all 200ms ease;
  padding-left: 20px;
  position: relative;
}

.blog-page .single-toc__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(6, 18, 33, 0.25);
  transition: all 200ms ease;
}

.blog-page .single-toc__link:hover {
  color: #0A213E;
}

.blog-page .single-toc__link:hover::before {
  background-color: #E19F53;
}

.blog-page .single-toc__link.is-active {
  color: #0A213E;
  font-weight: 600;
}

.blog-page .single-toc__link.is-active::before {
  background-color: #E19F53;
  transform: scale(1.3);
}

.blog-page .single-sidebar-card {
  background-color: #08172A;
  border-radius: 8px;
  padding: 28px 24px;
  color: #FFFFFF;
}

.blog-page .single-sidebar-card__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E19F53;
  margin-bottom: 8px;
  display: block;
}

.blog-page .single-sidebar-card__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35em;
  margin: 0 0 12px 0;
}

.blog-page .single-sidebar-card__desc {
  font-size: 14px;
  line-height: 1.6em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 20px 0;
}

.blog-page .single-sidebar-card__btn {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

/* 6.9 Artigos Recomendados */
.blog-page .single-related-posts {
  background-color: #F8F9FA;
  padding-top: 80px;
  padding-bottom: 96px;
  border-top: 1px solid rgba(6, 18, 33, 0.08);
}

.blog-page .single-related-posts__header {
  margin-bottom: 40px;
}

.blog-page .single-related-posts__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E19F53;
  display: block;
  margin-bottom: 8px;
}

.blog-page .single-related-posts__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 32px;
  font-weight: 600;
  color: #061221;
  margin: 0;
}

.blog-page .single-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

/* --------------------------------------------------------------------------
   7. CTA Pré-Rodapé Oficial (.blog-bottom-cta)
   -------------------------------------------------------------------------- */
.blog-bottom-cta,
.blog-page .blog-bottom-cta {
  background-color: #ececec;
  padding-top: 72px;
  padding-bottom: 72px;
  width: 100%;
  border: none;
  margin: 0;
}

.blog-page .blog-bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.blog-page .blog-bottom-cta__content {
  max-width: 680px;
}

.blog-page .blog-bottom-cta__title {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 28px;
  font-weight: 400;
  color: #061221;
  line-height: 1.35em;
  margin: 0 0 8px 0;
}

.blog-page .blog-bottom-cta__title .fw-semibold {
  font-weight: 600;
}

.blog-page .blog-bottom-cta__desc {
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: rgba(6, 18, 33, 0.70);
  line-height: 1.5em;
  margin: 0;
}

.blog-page .blog-bottom-cta__action {
  flex-shrink: 0;
}

.blog-page .btn-team-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #E19F53;
  color: #FFFFFF;
  font-family: var(--font-primary, 'Figtree', sans-serif);
  font-size: 16px;
  font-weight: 400;
  padding: 20px 28px;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.blog-page .btn-team-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.blog-page .btn-team-cta__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   6. Responsividade: Tablet e Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .blog-page .blog-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-page .blog-hero__media-wrap {
    max-width: 100%;
    justify-self: start;
  }

  .blog-page .blog-featured-reads__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-page .blog-latest__grid,
  .blog-page .blog-category__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Single Post Responsive (1199px) */
  .blog-page .single-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-page .single-sidebar-sticky {
    position: static;
  }

  .blog-page .single-related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-page .blog-hero,
  .blog-page .blog-category-hero {
    padding-top: 130px;
    padding-bottom: 0;
  }

  .blog-page .blog-category-hero__inner {
    padding-bottom: 36px;
    gap: 16px;
  }

  .blog-page .blog-category-hero__title {
    font-size: clamp(28px, 7vw, 36px);
  }

  .blog-page .blog-category-hero__desc {
    font-size: 14px;
  }

  .blog-page .blog-category-hero__search {
    max-width: 100%;
  }

  .blog-page .blog-category-content {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .blog-page .blog-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .blog-page .blog-hero__post-title {
    font-size: clamp(26px, 6.5vw, 32px);
    line-height: 1.3em;
  }

  .blog-page .blog-search-compact {
    max-width: 100%;
  }

  .blog-page .blog-featured-reads {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .blog-page .blog-featured-reads__title {
    font-size: 28px;
  }

  .blog-page .blog-read-large__title {
    font-size: 22px;
  }

  .blog-page .blog-read-compact__link {
    gap: 16px;
  }

  .blog-page .blog-read-compact__media {
    width: 100px;
    height: 75px;
  }

  .blog-page .blog-read-compact__title {
    font-size: 15px;
  }

  .blog-page .blog-bottom-cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .blog-page .blog-bottom-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 28px;
  }

  .blog-page .blog-bottom-cta__title {
    font-size: 24px;
  }

  .blog-page .blog-bottom-cta__action .btn-team-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .blog-page .blog-latest,
  .blog-page .blog-category-content {
    padding-top: 24px;
    padding-bottom: 60px;
  }

  .blog-page .blog-latest__grid,
  .blog-page .blog-category__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Single Post Responsive (767px) */
  .blog-page .single-hero {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .blog-page .single-hero__media-wrap {
    margin: 28px auto -90px auto;
  }

  .blog-page .single-main-section {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .blog-page .single-hero__title {
    font-size: clamp(26px, 6.5vw, 32px);
  }

  .blog-page .single-hero__excerpt {
    font-size: 16px;
  }

  .blog-page .single-hero__meta {
    gap: 12px;
  }

  .blog-page .single-meta-item {
    font-size: 13px;
  }

  .blog-page .single-article__body {
    font-size: 16px;
    line-height: 1.75;
  }

  .blog-page .single-article__body h2 {
    font-size: 22px;
    margin-top: 36px;
  }

  .blog-page .single-article__body h3 {
    font-size: 19px;
  }

  .blog-page .single-article__body blockquote {
    padding: 20px 20px;
    font-size: 16px;
  }

  .blog-page .single-conclusion-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 24px;
    padding: 28px 24px;
  }

  .blog-page .single-conclusion-cta__btn {
    width: 100%;
    justify-content: center;
  }

  .blog-page .single-share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .blog-page .single-share-bar__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .blog-page .single-share-btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
    font-size: 12px;
    padding: 8px 10px;
  }

  .blog-page .single-author-box {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
  }

  .blog-page .single-author-box__avatar {
    margin: 0 auto;
  }

  .blog-page .single-author-box__name {
    justify-content: center;
  }

  .blog-page .single-related-posts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .blog-hero__image,
  .blog-page .blog-hero__arrow,
  .blog-page .blog-read-large__image,
  .blog-page .blog-highlight__image,
  .blog-page .blog-read-compact__image,
  .blog-page .blog-card-editorial__link,
  .blog-page .blog-card-editorial__image,
  .blog-page .btn-team-cta {
    transition: none !important;
    transform: none !important;
  }
}
