/* =========================================================================
   GFV ELITE V3 — MASTER DESIGN IDENTITY & ANTI-AI SLOP
   Padrão Editorial B2B (Vercel / Linear / Bloomberg)
   ========================================================================= */

:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --orange: #F59E0B;
  --orange-2: #D97706;
  --emerald: #059669;
  --cream: #F8FAFC;
  --white: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border-line: rgba(15, 23, 42, 0.09);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -6px rgba(15, 23, 42, 0.07);
  --shadow-elevated: 0 4px 10px rgba(15, 23, 42, 0.05), 0 18px 36px -10px rgba(15, 23, 42, 0.12);
  --shadow: var(--shadow-subtle);
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-elite: cubic-bezier(0.16, 1, 0.3, 1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: -0.025em;
}

/* --- Superfícies & Elevação Multicamada (Anti-Template) --- */
.grupo-card,
.gfv-cupom-card,
.post-card-archive,
.post-card-body,
.sidebar-widget-card,
.gfv-author-card,
.gfv-feature-modern,
.gfv-channel-card,
.gfv-partner-modern,
.gfv-community-card,
.partner-cupom-box {
  border: 1px solid var(--border-line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-subtle) !important;
  transition: transform 0.25s var(--ease-elite), box-shadow 0.25s var(--ease-elite), border-color 0.25s ease !important;
}

.grupo-card:hover,
.gfv-cupom-card:hover,
.post-card-archive:hover,
.gfv-feature-modern:hover,
.gfv-channel-card:hover,
.gfv-partner-modern:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-elevated) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
}

/* --- Micro-interações em Botões e Foco Acessível --- */
.btn,
.filter-btn,
.btn-copy-cupom,
.gfv-preset-btn {
  transition: all 0.22s var(--ease-elite) !important;
}

.btn:hover,
.btn-copy-cupom:hover {
  transform: translateY(-1px);
}

.btn:active,
.btn-copy-cupom:active,
.gfv-preset-btn:active {
  transform: scale(0.98) !important;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* --- Zero CLS: Aspect-Ratio 16:9 nas Imagens --- */
.post-featured-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-subtle);
  background: #e2e8f0;
  margin-bottom: 2rem;
}

.post-featured-media img {
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}

.post-card-archive .post-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.post-card-archive .post-thumbnail img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* =========================================================================
   BENTO GRID ASSIMÉTRICO & RADAR GFV
   ========================================================================= */
.gfv-bento-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .gfv-bento-editorial {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gfv-bento-hero {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-elite), box-shadow 0.25s var(--ease-elite);
}

.gfv-bento-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.gfv-bento-hero__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0F172A;
}

.gfv-bento-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-elite);
}

.gfv-bento-hero:hover .gfv-bento-hero__media img {
  transform: scale(1.03);
}

.gfv-bento-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: var(--orange);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gfv-bento-hero__body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gfv-bento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.gfv-bento-hero__title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.gfv-bento-hero__title a:hover {
  color: var(--orange-2);
}

.gfv-bento-hero__excerpt {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  flex: 1;
}

.gfv-bento-readmore {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  align-self: flex-start;
  padding-bottom: 2px;
}

.gfv-bento-readmore:hover {
  color: var(--orange-2);
}

/* --- Coluna Radar GFV (01-04) --- */
.gfv-radar-box {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.gfv-radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-line);
}

.gfv-radar-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}

.gfv-radar-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.14);
  color: var(--orange-2);
  padding: 3px 10px;
  border-radius: 9999px;
}

.gfv-radar-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.gfv-radar-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--border-line);
}

.gfv-radar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gfv-radar-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--orange-2);
  line-height: 1.1;
  min-width: 28px;
}

.gfv-radar-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.gfv-radar-link {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

.gfv-radar-link a:hover {
  color: var(--orange-2);
}

.gfv-radar-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Segunda Faixa Bento + Archive Bento Lead --- */
.gfv-bento-secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 960px) {
  .gfv-bento-secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gfv-compact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .gfv-compact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gfv-compact-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease-elite), box-shadow 0.22s var(--ease-elite);
}

.gfv-compact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.gfv-compact-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.gfv-compact-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gfv-compact-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.gfv-compact-card__title {
  font-size: 0.94rem;
  line-height: 1.38;
  margin: 0 0 0.5rem;
}

.gfv-compact-card__title a:hover {
  color: var(--orange-2);
}

.gfv-colunistas-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 1.5rem;
}

/* Archive.php Bento Hero Lead */
@media (min-width: 900px) {
  .posts-grid--bento .post-card-archive.is-bento-lead {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .posts-grid--bento .post-card-archive.is-bento-lead .post-thumbnail {
    height: 100%;
    aspect-ratio: auto;
  }
  .posts-grid--bento .post-card-archive.is-bento-lead .post-title {
    font-size: 1.55rem;
  }
}

/* =========================================================================
   COMPONENTES E-E-A-T, TOC RETRÁTIL E TRANSPARÊNCIA (SINGLE.PHP)
   ========================================================================= */
.post-verified-tag {
  background: rgba(5, 150, 105, 0.1);
  color: var(--emerald);
  padding: 2px 10px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.78rem;
}

.gfv-toc-box {
  background: #F8FAFC;
  border: 1px solid var(--border-line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.gfv-toc-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
  list-style: none;
}

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

.gfv-toc-toggle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border-line);
  padding: 2px 10px;
  border-radius: 9999px;
}

.gfv-toc-nav {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-line);
}

.gfv-toc-list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gfv-toc-list .toc-item a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}

.gfv-toc-list .toc-item a:hover {
  color: var(--orange-2);
  text-decoration: underline;
}

.gfv-toc-list .toc-item--sub {
  margin-left: 1.1rem;
  list-style-type: disc;
}

.gfv-toc-list .toc-item--sub a {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gfv-transparency-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #F8FAFC;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.gfv-transparency-box a {
  color: var(--orange-2);
  font-weight: 700;
  text-decoration: underline;
}

.eeat-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.eeat-verified-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

/* =========================================================================
   TABELA DINÂMICA OFICIAL DOS 6 PARCEIROS PAGANTES (TEMPLATE-CUPONS)
   ========================================================================= */
.gfv-table-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 1.75rem;
}

.gfv-table-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gfv-verified-pill {
  background: rgba(5, 150, 105, 0.1);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 9999px;
}

.gfv-partners-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.gfv-partners-table th,
.gfv-partners-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-line);
  text-align: left;
  font-size: 0.9rem;
  vertical-align: middle;
}

.gfv-partners-table th {
  background: #0F172A;
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gfv-partners-table th:first-child { border-radius: 10px 0 0 0; }
.gfv-partners-table th:last-child  { border-radius: 0 10px 0 0; }

.gfv-partners-table tbody tr:hover td {
  background: rgba(245, 158, 11, 0.05);
}

.gfv-inline-cupom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gfv-inline-cupom code {
  background: #F1F5F9;
  color: var(--navy);
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px dashed rgba(15, 23, 42, 0.25);
  font-size: 0.84rem;
}

.btn-copy-cupom--sm {
  padding: 4px 10px !important;
  font-size: 0.75rem !important;
}

/* =========================================================================
   CALCULADORA DE MARGEM REAL & TAXAS DE MARKETPLACE
   ========================================================================= */
.gfv-calc-home-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.gfv-calc-shell {
  background: var(--cream);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 2rem;
}

@media (max-width: 640px) {
  .gfv-calc-shell { padding: 1.25rem; }
}

.gfv-calc-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-line);
}

.gfv-calc-title {
  margin: 0.3rem 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.gfv-calc-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 620px;
}

.gfv-calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gfv-preset-btn {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.gfv-preset-btn.active,
.gfv-preset-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gfv-calc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 960px) {
  .gfv-calc-body { grid-template-columns: minmax(0, 1fr); }
}

.gfv-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (max-width: 520px) {
  .gfv-input-grid { grid-template-columns: minmax(0, 1fr); }
}

.gfv-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.gfv-field input {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
}

.gfv-calc-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
}

.gfv-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.gfv-field-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.gfv-field-inline input {
  width: 74px;
  padding: 4px 8px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
}

.gfv-calc-cta-bar {
  margin-top: 1.15rem;
  padding: 1rem;
  background: #0F172A;
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gfv-calc-cta-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--orange);
  margin-bottom: 3px;
}

.gfv-calc-cta-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.gfv-calc-cta-text code {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.gfv-calc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gfv-calc-cta-actions .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.gfv-calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .gfv-calc-results { grid-template-columns: minmax(0, 1fr); }
}

.gfv-channel-result {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.res-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.res-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
}

.res-badge--ml     { background: #FEF08A; color: #854D0E; }
.res-badge--shopee { background: #FFEDD5; color: #C2410C; }
.res-badge--amz    { background: #E0F2FE; color: #075985; }

.res-mode {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.res-profit-wrap {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 0.9rem;
}

.res-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.res-profit {
  display: block;
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.res-margin-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
}

.res-margin-pill.is-healthy { background: #D1FAE5; color: #065F46; }
.res-margin-pill.is-warning { background: #FEF3C7; color: #92400E; }
.res-margin-pill.is-danger  { background: #FEE2E2; color: #991B1B; }

.res-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.res-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* =========================================================================
   BLOG & ARCHIVE EDITORIAL (CORREÇÃO DE TÍTULOS E TOOLBAR BENTO)
   ========================================================================= */
.gfv-archive-toolbar {
  margin-bottom: 2.25rem;
}

.gfv-archive-toolbar .blog-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gfv-archive-subhead {
  margin: 2.75rem 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-line);
}

.gfv-archive-subhead h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--navy);
}

/* Remove o sublinhado/cor de link editorial da regra .post-content a dentro de cards de archive */
.post-card-archive .gfv-card-body-clean {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.post-card-archive .gfv-card-body-clean .post-title {
  font-size: 1.18rem;
  line-height: 1.32;
  margin: 0.55rem 0 0.7rem;
}

.post-card-archive .gfv-card-body-clean .post-title a {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-weight: 800;
}

.post-card-archive .gfv-card-body-clean .post-title a:hover {
  color: var(--orange-2) !important;
}

.post-card-archive .gfv-card-body-clean .post-meta-category a {
  color: var(--orange-2) !important;
  text-decoration: none !important;
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
}

.gfv-pagination-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.gfv-pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.gfv-pagination-wrap .page-numbers,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 40px;
  height: 40px;
  padding: 0 0.95rem;
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid var(--border-line);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s var(--ease-elite);
}

.gfv-pagination-wrap .page-numbers.next,
.gfv-pagination-wrap .page-numbers.prev,
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  padding: 0 1.25rem;
}

.gfv-pagination-wrap .page-numbers:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.gfv-pagination-wrap .page-numbers.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =========================================================================
   BLINDAGEM & DESIGN ADSENSE ELITE (ZERO CLS & ZERO POLUIÇÃO)
   ========================================================================= */
.gfv-ad-wrapper {
  display: block;
  margin: 2.25rem auto;
  width: 100%;
  max-width: 100%;
  clear: both;
  text-align: center;
  position: relative;
}

.gfv-ad-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.gfv-ad-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  user-select: none;
}

.gfv-ad-slot-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm, 12px);
  padding: 0.5rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Slot Sidebar */
.gfv-sidebar-ad-card {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border-line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.gfv-ad-sidebar {
  margin: 0;
}

.gfv-ad-sidebar .gfv-ad-slot-box {
  min-height: 250px;
  background: transparent;
  border: none;
  padding: 0;
}

/* Slot Feed do Blog (Grade) */
.gfv-feed-ad-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border-line);
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.gfv-ad-feed {
  margin: 0;
  width: 100%;
}

.gfv-ad-feed .gfv-ad-slot-box {
  min-height: 320px;
  background: transparent;
  border: none;
  padding: 0;
}

/* Margem de segurança de CTAs, Botões e Afiliados (Anti-Two-Click Penalty) */
.gfv-ad-wrapper + .btn,
.btn + .gfv-ad-wrapper,
.gfv-ad-wrapper + .gfv-transparency-box {
  margin-top: 2.25rem !important;
}

@media (max-width: 768px) {
  .gfv-ad-wrapper {
    margin: 1.75rem auto;
  }
  .gfv-ad-slot-box {
    min-height: 250px;
    padding: 0.25rem;
  }
}

/* =========================================================================
   @MEDIA PRINT — IMPRESSÃO EDITORIAL 100% LIMPA
   ========================================================================= */
@media print {
  .gfv-topbar,
  .site-header,
  .post-sidebar,
  .gfv-apoiadores-global,
  .site-footer,
  #comments,
  .gfv-toc-box,
  .modal-overlay,
  .breadcrumbs,
  .btn,
  .gfv-calc-cta-bar,
  .gfv-ad-wrapper,
  .adsbygoogle {
    display: none !important;
  }

  body,
  .single-post-main {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
  }

  .site-content-wrapper {
    display: block !important;
  }

  .post-card-body {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
