/*
Theme Name: Polissonografia DF
Theme URI: https://polissonografiadf.com/
Author: Polissonografia DF
Description: Tema de migração fiel para WordPress, baseado no material estático fornecido.
Version: 1.0.24
Text Domain: polissonografia-df
*/

.site-main { min-height: 45vh; }
.entry-content > :first-child { margin-top: 0; }
.entry-content img { height: auto; }
.site-main .wp-block-separator { border-color: var(--border, #e2e8f0); }
.wp-blog-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; margin:36px 0; }
.wp-blog-card { border:1px solid var(--border,#e2e8f0); border-radius:var(--radius,12px); padding:22px; box-shadow:var(--shadow,0 4px 20px rgba(0,0,0,.08)); background:#fff; }
.wp-blog-card h2 { font-size:1.25rem; margin:0 0 12px; }
.wp-blog-card h2 a { color:var(--primary,#0d3b66); }
.wp-blog-card p { margin-bottom:0; }
.wp-pagination { margin:36px 0; }
.wp-pagination .page-numbers { display:inline-block; margin:0 4px; padding:8px 12px; border:1px solid var(--border,#e2e8f0); border-radius:8px; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:16px; top:16px; z-index:9999; background:#fff; padding:12px; }
@media (max-width:700px) { .wp-blog-list { grid-template-columns:1fr; } }


/* Acessibilidade: alto contraste nos cabeçalhos escuros. */
body.page .hero h1, body.page .hero h1 * { color:#fff !important; }
body.page .hero h1 span { color:#8be9ff !important; }
body.page .hero p, body.page .hero p * { color:rgba(255,255,255,.94) !important; }
body.page .hero nav, body.page .hero nav * { color:rgba(255,255,255,.92) !important; }
body.page .hero nav a { text-decoration:underline; text-underline-offset:.15em; }
body.page .hero [style*="color:#0d3b66"], body.page .hero [style*="color: #0d3b66"], body.page .hero [style*="color:#374151"], body.page .hero [style*="color: #374151"], body.page .hero [style*="color:#6b7280"], body.page .hero [style*="color: #6b7280"] { color:rgba(255,255,255,.94) !important; }
body.page .hero div[style*="background:rgba(13,59,102,0.08)"], body.page .hero div[style*="background: rgba(13,59,102,0.08)"] { background:rgba(255,255,255,.16) !important; border:1px solid rgba(255,255,255,.32); color:#fff !important; }
body.page .hero div[style*="background:rgba(13,59,102,0.08)"] *, body.page .hero div[style*="background: rgba(13,59,102,0.08)"] * { color:#fff !important; }
body.page .hero .btn-outline { border-color:rgba(255,255,255,.9) !important; color:#fff !important; background:rgba(255,255,255,.07) !important; }
body.page .hero .btn-outline:hover { border-color:#fff !important; color:#0b355c !important; background:#fff !important; }
body.single-post .article-header h1, body.single-post .article-header h1 * { color:#fff !important; }
body.single-post .article-header .article-meta, body.single-post .article-header .article-meta * { color:rgba(255,255,255,.9) !important; }
