/*
Theme Name: ApostilasTop Dark
Template: astra
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

:root {
  --bg:#08090E;
  --bg2:#0F1117;
  --bg3:#161820;
  --border:rgba(255,255,255,0.07);
  --border2:rgba(255,255,255,0.12);
  --gold:#F5C518;
  --text:#F0EEE8;
  --muted:rgba(240,238,232,0.55);
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* HEADER */
#masthead, .site-header, .ast-primary-header-bar, .main-header-bar {
  background: #0F1117 !important;
  border-bottom: 1px solid var(--border) !important;
}

.site-title a {
  color: var(--text) !important;
  font-family: 'Syne', sans-serif !important;
  font-weight: 800 !important;
}

.ast-primary-nav a, .main-navigation a, .menu-item a {
  color: var(--muted) !important;
}

.ast-primary-nav a:hover, .main-navigation a:hover {
  color: var(--gold) !important;
}

/* FUNDO GERAL */
#page, #content, .ast-container, .site-content,
.ast-article-post, .ast-separate-container,
.ast-page-builder-template, .hfeed {
  background: var(--bg) !important;
}

/* ARTICLE / POST */
article, .post, .page {
  background: var(--bg) !important;
}

.entry-header {
  background: var(--bg) !important;
  padding: 2rem 0 1rem !important;
}

.entry-title {
  font-family: 'Syne', sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  color: var(--text) !important;
  line-height: 1.15 !important;
}

.entry-meta, .entry-meta a, .posted-on, .byline {
  color: var(--muted) !important;
  font-size: 13px !important;
}

/* CONTEÚDO */
.entry-content {
  background: var(--bg2) !important;
  border: 1px solid var(--border2) !important;
  border-radius: 16px !important;
  padding: 2.5rem !important;
  color: var(--muted) !important;
}

.entry-content p { color: var(--muted) !important; line-height: 1.8 !important; }

.entry-content h1, .entry-content h2,
.entry-content h3, .entry-content h4 {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  letter-spacing: -0.5px !important;
  margin: 1.75rem 0 0.75rem !important;
}

.entry-content h1 { color: var(--text) !important; font-size: 1.8rem !important; }

/* LINKS */
.entry-content a { color: var(--gold) !important; }
.entry-content a:hover { color: #fff !important; }

/* TABELAS */
.entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.5rem 0 !important;
  font-size: 14px !important;
}

.entry-content th {
  background: var(--gold) !important;
  color: #0F1117 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
}

.entry-content td {
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--muted) !important;
  background: var(--bg3) !important;
}

.entry-content tr:nth-child(even) td {
  background: var(--bg2) !important;
}

/* LISTAS */
.entry-content ul, .entry-content ol {
  margin: 0.75rem 0 1rem 1.5rem !important;
}

.entry-content li { color: var(--muted) !important; margin-bottom: 6px !important; }

/* BLOCKQUOTE */
.entry-content blockquote {
  background: rgba(245,197,24,0.06) !important;
  border-left: 3px solid var(--gold) !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 1rem 1.25rem !important;
  margin: 1.25rem 0 !important;
  font-style: italic !important;
}

.entry-content blockquote p { color: rgba(245,197,24,0.8) !important; }

/* STRONG */
.entry-content strong { color: var(--text) !important; font-weight: 600 !important; }

/* SIDEBAR */
#secondary, .widget-area {
  background: var(--bg) !important;
}

.widget {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.widget-title { color: var(--gold) !important; font-family: 'Syne', sans-serif !important; }
.widget a { color: var(--muted) !important; }
.widget a:hover { color: var(--gold) !important; }

/* FOOTER */
#colophon, .site-footer, .footer-widget-area {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--muted) !important;
}

.site-footer a { color: var(--muted) !important; }
.site-footer a:hover { color: var(--gold) !important; }

/* BOTÃO */
.wp-block-button__link {
  background: var(--gold) !important;
  color: #0F1117 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-family: 'Syne', sans-serif !important;
}

/* BREADCRUMB */
.ast-breadcrumbs, .breadcrumb { color: var(--muted) !important; }
.ast-breadcrumbs a { color: var(--muted) !important; }

/* ESCONDER elementos desnecessários */
.ast-comment-area, #comments { display: none !important; }

/* Página Bancas */
.bancas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-top:2rem}
.banca-card{background:#0F1117;border:1px solid rgba(255,255,255,0.07);border-radius:14px;padding:2rem;text-align:center;text-decoration:none;display:block;transition:border-color 0.2s}
.banca-card:hover{border-color:rgba(245,197,24,0.4)}
.banca-icon{font-size:2.5rem;margin-bottom:1rem;display:block}
.banca-name{font-family:'Syne',sans-serif;font-size:1.2rem;font-weight:700;color:#F0EEE8;margin-bottom:0.5rem}
.banca-count{font-size:12px;color:#F5C518;margin-bottom:0.5rem}
.banca-desc{font-size:13px;color:rgba(240,238,232,0.5);line-height:1.5}
