@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,700;0,800;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

a { color: #007cba; text-decoration: none; }
a:hover { color: #006ba1; text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Layout ──────────────────────────────────────── */
.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Cabeçalho ───────────────────────────────────── */
.site-header {
    border-bottom: 4px solid #333;
    padding: 24px 0 18px;
    margin-bottom: 44px;
}
.header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.site-title a { color: #333; }
.site-title a:hover { color: #007cba; text-decoration: none; }
.site-tagline {
    font-size: 0.8rem;
    color: #767676;
    margin-top: 5px;
    letter-spacing: 0.06em;
}
.main-navigation {
    display: flex;
    gap: 40px;
}
.main-navigation a {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #333;
}
.main-navigation a:hover { color: #007cba; text-decoration: none; }

/* ── Hero da Home Page ───────────────────────────── */
.site-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}
.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-branding {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 0 32px;
}
.site-hero .site-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 6px;
}
.site-hero .site-title a {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.site-hero .site-title a:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-hero .site-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 0.06em;
    margin-top: 0;
}
.hero-nav {
    background: #222;
    margin-bottom: 44px;
}
.hero-nav .wrap {
    display: flex;
    align-items: center;
    gap: 48px;
    min-height: 46px;
}
.hero-nav a {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    padding: 14px 24px;
    display: inline-block;
}
.hero-nav a:hover { color: #ccc; text-decoration: none; }

/* ── Conteúdo ────────────────────────────────────── */
.site-main { padding-bottom: 64px; }

/* ── Lista de posts (home) ───────────────────────── */
.post-list { list-style: none; }

.post-entry {
    border-bottom: 1px solid #e8e8e8;
    padding: 36px 0;
}
.post-entry:first-child { padding-top: 0; }

.post-entry .entry-meta {
    font-size: 0.8rem;
    color: #767676;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.post-entry .entry-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.025em;
    margin-bottom: 12px;
}
.post-entry .entry-title a { color: #333; }
.post-entry .entry-title a:hover { color: #007cba; text-decoration: none; }
.post-entry .entry-excerpt {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.65;
}

/* ── Post individual ─────────────────────────────── */
.single-post .entry-header {
    margin-bottom: 32px;
    border-bottom: 2px solid #eee;
    padding-bottom: 22px;
}
.single-post .entry-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.025em;
    color: #222;
    margin-bottom: 10px;
}
.single-post .entry-meta {
    font-size: 0.8rem;
    color: #767676;
}

.entry-content { max-width: 720px; }

.entry-content p { margin-bottom: 1.4em; }

.entry-content h2, .entry-content h3, .entry-content h4,
.entry-content h5, .entry-content h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 2em 0 0.7em;
    color: #222;
}
.entry-content h2 { font-size: 1.45rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content h4 { font-size: 1.05rem; }

.entry-content figure { margin: 28px 0; }
.entry-content figure img { display: block; border-radius: 2px; }

.entry-content figcaption,
.entry-content .wp-element-caption {
    font-size: 0.8125rem;
    color: #767676;
    text-align: center;
    margin-top: 8px;
    line-height: 1.5;
}

.entry-content blockquote {
    border-left: 4px solid #007cba;
    padding: 4px 0 4px 20px;
    margin: 1.6em 0;
    color: #555;
}

.entry-content code {
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 0.875em;
    background: #f4f4f4;
    padding: 2px 5px;
    border-radius: 3px;
}
.entry-content pre {
    background: #f4f4f4;
    padding: 16px 20px;
    overflow-x: auto;
    border-radius: 4px;
    margin: 1.5em 0;
}
.entry-content pre code { background: none; padding: 0; }

.entry-content ul, .entry-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.4em;
}
.entry-content li { margin-bottom: 0.4em; }

.entry-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    font-size: 0.9em;
}
.entry-content th, .entry-content td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
}
.entry-content th { background: #f4f4f4; font-weight: 700; }

/* Gutenberg block classes — estilos neutros */
.wp-block-image { margin: 28px 0; }
.wp-block-image img { display: block; max-width: 100%; height: auto; }

/* ── Rodapé ──────────────────────────────────────── */
.site-footer {
    border-top: 1px solid #e8e8e8;
    padding: 24px 0;
    margin-top: 48px;
}
.site-info {
    font-size: 0.8125rem;
    color: #767676;
    text-align: center;
}
.site-info a { color: #767676; }
.site-info a:hover { color: #007cba; }

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 640px) {
    .site-title { font-size: 1.15rem; }
    .post-entry .entry-title { font-size: 1.3rem; }
    .single-post .entry-title { font-size: 1.55rem; }
    .entry-content { max-width: 100%; }
}
