/* Blog: usa as mesmas variáveis e o mesmo vidro do restante do site */
.blog-main { padding: calc(var(--header-top) + var(--header-h) + 72px) var(--gutter) 96px; min-height: 70vh; }
.blog-wrap { max-width: 1100px; margin: 0 auto; }
.blog-main .eyebrow { display: inline-block; color: var(--gold-light); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.blog-main h1 { color: var(--white); font-size: 56px; line-height: 1.1; }
.blog-lead { margin: 20px 0 0; font-size: 22px; line-height: 1.5; color: var(--on-navy); max-width: 680px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; }
.blog-filters button { font: inherit; font-size: 17px; color: var(--on-navy); background: var(--glass-dark); box-shadow: var(--glass-dark-edge); border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.blog-filters button[aria-pressed="true"] { background: var(--glass-gold); color: var(--white); box-shadow: var(--glass-gold-edge); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--glass-dark); box-shadow: var(--glass-dark-edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); height: 100%; }
.post-card a.post-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.post-card h2 { color: var(--white); font-size: 30px; line-height: 1.2; }
.post-card:hover h2 { color: var(--gold-light); }
.post-card p { margin: 0; color: var(--on-navy); font-size: 18px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { color: var(--on-navy-muted); font-size: 15px; }
.blog-status { margin: 48px 0 0; padding: 28px 32px; border-radius: var(--r-card); background: var(--glass-dark); box-shadow: var(--glass-dark-edge); color: var(--on-navy); font-size: 19px; line-height: 1.55; }
.blog-more { margin: 40px 0 0; }
.blog-more button { font: inherit; cursor: pointer; border: 0; }
.blog-more button[disabled] { opacity: 0.6; cursor: wait; }
.skeleton { min-height: 280px; border-radius: var(--r-card); background: linear-gradient(110deg, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position-x: -200%; } }

/* Post */
.post-wrap { max-width: 760px; margin: 0 auto; }
.post-back { display: inline-block; margin-bottom: 32px; color: var(--gold-light); font-size: 17px; text-decoration: none; }
.post-back:hover { color: var(--white); }
.post-head h1 { color: var(--white); font-size: 50px; line-height: 1.12; }
.post-head .post-meta { margin: 20px 0 0; font-size: 17px; }
.post-cover { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-card); margin: 36px 0 0; }
.post-body { margin: 40px 0 0; color: var(--on-navy); font-size: 21px; line-height: 1.75; }
.post-body p { margin: 0 0 1.3em; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.post-tags li { background: var(--glass-dark); box-shadow: var(--glass-dark-edge); color: var(--on-navy); font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.post-related { margin-top: 72px; }
.post-related h2 { color: var(--white); font-size: 32px; margin-bottom: 8px; }
.post-cta { margin-top: 64px; padding: 36px; border-radius: var(--r-card); background: var(--glass-dark); box-shadow: var(--glass-dark-edge); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.post-cta p { margin: 0; color: var(--on-navy); font-size: 21px; line-height: 1.5; }

@media (max-width: 900px) {
  .blog-main { padding-left: 24px; padding-right: 24px; }
  .blog-main h1, .post-head h1 { font-size: 38px; }
  .blog-lead, .post-body { font-size: 19px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Artigos traduzidos: títulos, listas, tabela e nota */
.post-body h2 { color: var(--white); font-size: 36px; line-height: 1.2; margin: 56px 0 18px; }
.post-body h3 { color: var(--white); font-size: 28px; line-height: 1.25; margin: 40px 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.post-body li { margin: 0 0 0.6em; }
.post-body strong { color: var(--white); }
.post-body a { color: var(--gold-light); }
.post-body hr { border: 0; border-top: 1px solid var(--line-on-navy); margin: 48px 0 32px; }
.post-body em { font-style: italic; }
.post-note { margin: 32px 0 0; padding: 22px 26px; border-radius: var(--r-card); background: var(--glass-dark); box-shadow: var(--glass-dark-edge); color: var(--on-navy); font-size: 18px; line-height: 1.6; }
.post-note strong { color: var(--gold-light); }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: var(--r-sm); box-shadow: var(--glass-dark-edge); }
.post-body table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 17px; line-height: 1.5; }
.post-body th { text-align: left; color: var(--white); background: rgba(255, 255, 255, 0.08); padding: 14px 16px; font-weight: 700; }
.post-body td { padding: 14px 16px; border-top: 1px solid var(--line-on-navy); vertical-align: top; }
.blog-pt-note { margin: 40px 0 0; color: var(--on-navy); font-size: 18px; }
.blog-pt-note a { color: var(--gold-light); }
@media (max-width: 900px) { .post-body h2 { font-size: 30px; } .post-body h3 { font-size: 24px; } .post-note { font-size: 17px; } }

/* Corpo dos artigos: imagens, citações e alternativa por e-mail */
.post-body figure { margin: 32px 0; }
.post-body figure img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.post-body figcaption { margin-top: 10px; font-size: 16px; color: var(--on-navy-muted); }
.post-body blockquote { margin: 1.3em 0; padding-left: 20px; border-left: 2px solid var(--gold); }
.post-body h4 { color: var(--white); font-size: 24px; margin: 32px 0 12px; }
.post-cta .post-cta-alt { font-size: 18px; }
.post-cta-alt a { color: var(--gold-light); display: inline-flex; align-items: center; min-height: 44px; }
.post-cover { height: auto; }
.post-head .post-meta { display: block; }

/* Cartões do blog: não deixam a página mais larga que a tela do celular */
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.blog-grid > li { min-width: 0; }
.post-card img { height: auto; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }
