/*
 Theme Name:   GeneratePress Filho
 Theme URI:    https://geradordereclame.com
 Description:  Tema Filho para o GeneratePress
 Author:       Seu Nome
 Author URI:   https://geradordereclame.com
 Template:     generatepress
 Version:      1.0.0
*/

/* ================================================================
   TOKENS GLOBAIS
   ================================================================ */
:root {
    --ink:       #050505;
    --paper:     #faf7f2;
    --amber:     #1a6b3c;
    --amber-dk:  #145530;
    --gold:      #e8a020;
    --gold-dk:   #c4861a;
    --red:       #c0392b;
    --purple:    #6d3fa0;
    --muted:     #6b6560;
    --border:    #e0d8cc;
    --card-bg:   #ffffff;
    --radius:    4px;
    --radius-lg: 12px;
    --shadow:    0 2px 12px rgba(15,15,15,.07);
    --shadow-md: 0 6px 24px rgba(15,15,15,.10);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ================================================================
   BASE
   ================================================================ */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ================================================================
   FONTS (carregadas via functions.php ou wp_head)
   ================================================================ */

/* ================================================================
   LAYOUT
   ================================================================ */
.wrap,
.site-container,
.inside-navigation,
.inside-header,
.inside-article,
.inside-right-sidebar,
.inside-left-sidebar,
.footer-widgets,
.inside-footer-widgets,
.site-footer .inside-site-info {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.site-wrapper {
    min-height: calc(100vh - 67px);
}

.site-main { padding: 60px 0 80px; }

/* ================================================================
   HEADER (GeneratePress override)
   ================================================================ */
#masthead,
.site-header {
    background: var(--ink) !important;
    border-bottom: 3px solid var(--amber) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    padding: 0 !important;
}

.site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1060px !important;
    margin: 0 auto !important;
    padding: 14px 20px !important;
    width: 100% !important;
}

/* Logo */
.site-header .logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    flex-shrink: 0;
}

.site-header .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--amber) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-header .logo-name {
    font-family: 'Syne', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: .02em;
    line-height: 1.1;
    display: block;
}

.site-header .logo-tagline {
    font-size: .68rem;
    color: var(--gold) !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
}

/* Navegação */
.site-header .header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.site-header .header-nav a {
    color: #cccccc !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: .85rem !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: var(--radius) !important;
    transition: color .2s, background .2s !important;
    background: transparent !important;
}

.site-header .header-nav a:hover,
.site-header .header-nav a[aria-current="page"] {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
}

/* GP native nav — esconder em favor do nosso */
.site-header .main-navigation,
.site-header #site-navigation {
    display: none !important;
}

/* GP inside-header reset */
.inside-header {
    max-width: none !important;
    padding: 0 !important;
    display: block !important;
}

/* ================================================================
   TIPOGRAFIA GLOBAL
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: .6em;
}

h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

h2 em, h3 em {
    font-style: normal;
    color: var(--amber);
}

p {
    margin-bottom: 1.2em;
    color: var(--ink);
}

p:last-child { margin-bottom: 0; }

a {
    color: var(--amber);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color .2s, text-decoration-color .2s;
}

a:hover {
    color: var(--amber-dk);
    text-decoration-color: currentColor;
}

strong { font-weight: 600; }

em { font-style: italic; color: var(--amber-dk); }

/* ================================================================
   ARTICLE / CONTEÚDO
   ================================================================ */
.entry-content,
.entry-summary,
.page-content,
.post-content {
    max-width: 720px;
    margin: 0 auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2em;
    margin-bottom: .5em;
}

.entry-content p,
.entry-content li {
    font-size: 1rem;
    line-height: 1.75;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: .4em;
}

.entry-content ul li::marker {
    color: var(--amber);
}

.entry-content ol li::marker {
    color: var(--amber);
    font-weight: 600;
}

.entry-content blockquote {
    border-left: 4px solid var(--amber);
    padding: 16px 20px;
    margin: 2em 0;
    background: rgba(26,107,60,.05);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--muted);
}

.entry-content blockquote p { color: inherit; margin-bottom: 0; }

.entry-content code,
.entry-content pre {
    font-family: 'DM Mono', monospace;
    font-size: .88rem;
    background: rgba(26,107,60,.07);
    color: var(--amber-dk);
    border-radius: var(--radius);
    padding: 2px 6px;
}

.entry-content pre {
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 1.2em;
    line-height: 1.6;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

.entry-content hr {
    display: none;
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5em 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    margin: 1.5em auto;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: .92rem;
}

.entry-content table th {
    background: var(--amber);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
}

.entry-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.entry-content table tr:nth-child(even) td {
    background: rgba(0,0,0,.02);
}

/* ================================================================
   CABEÇALHO DA PÁGINA/POST
   ================================================================ */
.page-header,
.entry-header {
    padding: 48px 0 32px;
    margin-bottom: 40px;
}

.entry-title,
.page-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: .3em;
}

.entry-meta {
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--amber); }

.entry-meta .byline::before { content: "Por "; }

.post-thumbnail {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================================
   BLOG: LISTA DE POSTS
   ================================================================ */
.blog .entry,
.archive .entry {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    transition: box-shadow .2s, transform .2s;
}

.blog .entry:hover,
.archive .entry:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog .entry-title,
.archive .entry-title {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-bottom: .4em;
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--ink);
    text-decoration: none;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--amber);
}

.entry-summary p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65;
}

/* Categoria badge nos posts listados */
.entry .post-categories,
.entry-category {
    margin-bottom: 10px;
}

.entry .post-categories a,
.entry-category a {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--amber);
    border: 1px solid rgba(26,107,60,.25);
    border-radius: 100px;
    padding: 3px 10px;
    text-decoration: none;
    background: rgba(26,107,60,.05);
}

.entry .post-categories a:hover,
.entry-category a:hover {
    background: rgba(26,107,60,.12);
}

/* Leia mais */
.read-more-link,
a.more-link {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--amber);
    text-decoration: none;
    margin-top: 12px;
    letter-spacing: .02em;
}

.read-more-link::after,
a.more-link::after {
    content: " →";
    transition: transform .2s;
    display: inline-block;
}

.read-more-link:hover::after,
a.more-link:hover::after {
    transform: translateX(4px);
}

/* ================================================================
   PAGINAÇÃO
   ================================================================ */
.pagination,
.paging-navigation,
.post-navigation {
    margin: 48px 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-numbers,
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    background: var(--card-bg);
    transition: all .2s;
}

.page-numbers:hover,
.pagination a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
}

.page-numbers.current,
.pagination .current {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
}

/* Navegação entre posts */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 48px 0;
}

.nav-previous,
.nav-next {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: box-shadow .2s;
}

.nav-previous:hover,
.nav-next:hover {
    box-shadow: var(--shadow-md);
}

.nav-previous a,
.nav-next a {
    color: var(--ink);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-previous .meta-nav,
.nav-next .meta-nav {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ================================================================
   PÁGINAS ESTÁTICAS (Política, Termos, Contato)
   ================================================================ */
.page-template-default .entry-content,
.single .entry-content {
    max-width: 720px;
}

/* Intro de páginas institucionais */
.page-intro {
    background: linear-gradient(135deg, rgba(26,107,60,.07) 0%, rgba(232,160,32,.05) 100%);
    border: 1px solid rgba(26,107,60,.15);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 40px;
}

.page-intro p {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ================================================================
   WIDGET: ÍNDICE (sumário) — para posts longos
   ================================================================ */
.toc-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--amber);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 32px;
}

.toc-box .toc-title {
    font-family: 'Syne', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.toc-box ol {
    padding-left: 1.2em;
    margin: 0;
}

.toc-box li {
    margin-bottom: .3em;
}

.toc-box a {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
}

.toc-box a:hover {
    color: var(--amber);
}

/* ================================================================
   FORMULÁRIO DE CONTATO
   ================================================================ */
.contact-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form label,
.wpcf7 label,
.contact-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(26,107,60,.12);
}

.contact-form textarea,
.wpcf7 textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .form-group,
.wpcf7 p {
    margin-bottom: 20px;
}

/* Submit */
.contact-form input[type="submit"],
.wpcf7 input[type="submit"],
.btn-primary {
    display: inline-block;
    background: var(--amber);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 14px 32px;
    font-family: 'Syne', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.contact-form input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,
.btn-primary:hover {
    background: var(--amber-dk);
    transform: translateY(-1px);
}

/* Mensagens do WP Contact Form 7 */
.wpcf7-not-valid-tip {
    font-size: .78rem;
    color: var(--red);
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-top: 16px;
    font-size: .88rem;
    border: 1.5px solid var(--border);
}

.wpcf7-mail-sent-ok {
    border-color: var(--amber) !important;
    background: rgba(26,107,60,.06) !important;
    color: var(--amber-dk) !important;
}

.wpcf7-validation-errors {
    border-color: var(--gold) !important;
    background: rgba(232,160,32,.06) !important;
    color: var(--gold-dk) !important;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-family: 'Syne', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid rgba(224,216,204,.5); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.widget ul li a:hover { color: var(--amber); }

/* Widget categorias com contador */
.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories .post-count {
    font-size: .75rem;
    color: var(--muted);
    background: rgba(0,0,0,.04);
    border-radius: 100px;
    padding: 2px 8px;
}

/* ================================================================
   FOOTER
   ================================================================ */
#colophon,
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s;
}

.footer-col ul li a:hover { color: var(--amber); }

.footer-bottom {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p,
.site-info {
    font-size: .78rem;
    color: rgba(255,255,255,.35) !important;
    margin-bottom: 0;
}

.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* Override GeneratePress footer */
.site-footer .inside-site-info {
    max-width: 1060px;
    padding: 24px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer .inside-site-info a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
}

.site-footer .inside-site-info a:hover {
    color: var(--gold);
}

/* ================================================================
   UTILITÁRIOS
   ================================================================ */
.text-muted  { color: var(--muted); }
.text-amber  { color: var(--amber); }
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }

.section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
}

/* Destaque amarelo inline */
.hl { color: var(--gold); font-weight: 600; }

/* Card genérico */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

/* Badge / pill */
.badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 4px 12px;
}

.badge--green {
    background: rgba(26,107,60,.1);
    color: var(--amber);
    border: 1px solid rgba(26,107,60,.2);
}

.badge--gold {
    background: rgba(232,160,32,.1);
    color: var(--gold-dk);
    border: 1px solid rgba(232,160,32,.2);
}

/* ================================================================
   HEADER NAV — LISTA (wp_nav_menu)
   ================================================================ */
.header-nav-list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-list li a {
    color: #cccccc;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: color .2s, background .2s;
    display: block;
}

.header-nav-list li a:hover,
.header-nav-list li.current-menu-item > a,
.header-nav-list li.current_page_item > a {
    color: #ffffff;
    background: rgba(255,255,255,.08);
}

/* Hamburguer — só aparece em mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

/* ================================================================
   FOOTER — RODAPÉ INFERIOR
   ================================================================ */
.footer-bottom-strip {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
}

.footer-bottom-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-inner p {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    margin-bottom: 0;
}

.footer-bottom-inner a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .2s;
}

.footer-bottom-inner a:hover { color: var(--gold); }

/* ================================================================
   RESPONSIVO
   ================================================================ */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom,
    .footer-bottom-inner,
    .site-footer .inside-site-info {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .entry-content table {
        font-size: .82rem;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 8px 10px;
    }

    /* Menu mobile */
    .nav-toggle { display: flex; }

    .header-nav,
    .header-nav-list {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        border-top: 1px solid rgba(255,255,255,.1);
        padding: 12px 20px 20px;
        z-index: 200;
    }

    .header-nav.is-open,
    .header-nav-list.is-open {
        display: flex;
    }

    .header-nav a,
    .header-nav-list li a {
        padding: 12px 8px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    /* Header precisa de position relative p/ dropdown */
    .site-header { position: sticky; }
    .header-inner { position: relative; }
}

@media (max-width: 480px) {
    .site-main { padding: 40px 0 60px; }

    .page-header,
    .entry-header { padding: 32px 0 24px; }

    .toc-box,
    .page-intro { padding: 20px; }

    .card { padding: 20px; }
}
