/* =========================
   BASE GLOBAL
========================= */

body {
    margin: 0;
    background: #111;
    color: #ddd;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.site-content {
    padding-top: 3.5rem;
}

/* =========================
   LINKS
========================= */

a {
    color: #9ecbff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   HEADER
========================= */

.site-header {
    padding: 0.8rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.main-nav ul {
    gap: 0.9rem;
}

.main-nav a {
    font-size: 0.9rem;
    color: #bbb;
}

.main-nav a:hover {
    color: #fff;
}

/* =========================
   HOME POSTS
========================= */

.home-post {
    margin-bottom: 4rem;
}

.home-post-title {
    font-size: 1.5rem;
}

.home-post-title a {
    color: #fff;
}

.home-post-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-post-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.8rem;
}

/* =========================
   SINGLE POST – LEITURA LONGA
========================= */

.single-post {
    margin-bottom: 4rem;
}

/* Título principal */
.single-post h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

/* Subtítulo / resumo */
.single-post .post-summary {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #bbb;
    margin-bottom: 3rem;
}

/* Corpo do texto */
.single-post .post-content p {
    margin-bottom: 1.6rem;
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Destaque para itálico */
.single-post .post-content em {
    color: #d0d0d0;
}

/* Banner / Ad */
.single-post .post-content img,
.single-post .post-content iframe {
    display: block;
    margin: 3rem auto;
}

/* Veja também */
.single-post .related-posts,
.single-post .wp-block-related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
}

/* Créditos */
.single-post .post-author {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: #777;
}

/* =========================
   TIPOGRAFIA WR21
========================= */

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
}

/* Títulos */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Home */
.home-post-title {
    font-weight: 600;
}

/* Single */
.single-post h1 {
    font-weight: 700;
}

.single-post .post-summary {
    font-weight: 400;
}

/* =========================
   LINKS – IDENTIDADE WR21
========================= */

/* Links no texto */
.post-content a,
.home-post-excerpt a {
    color: #9ecbff; /* neutro elegante */
    text-decoration: none;
    border-bottom: 1px solid rgba(158, 203, 255, 0.3);
    transition: all 0.2s ease;
}

/* Hover com identidade da logo */
.post-content a:hover,
.home-post-excerpt a:hover {
    color: #7CFF6B; /* verde WR21 (pop, mas controlado) */
    border-bottom-color: rgba(124, 255, 107, 0.8);
}

/* Links de navegação */
.main-nav a {
    color: #bbb;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #7CFF6B;
}

/* Links especiais (chamada, CTA, veja mais) */
a.cta,
.post-content strong a {
    color: #FFA94D; /* laranja da logo */
    border-bottom: none;
}

a.cta:hover {
    opacity: 0.85;
}

/* =========================
   MENU – PÁGINA ATUAL
========================= */

/* Item ativo */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: #7CFF6B; /* verde WR21 */
    font-weight: 500;
}

/* Página pai (quando estiver em subpáginas ou categorias) */
.main-nav .current-menu-ancestor > a {
    color: #9cff8a; /* verde um pouco mais suave */
}

/* =========================
   MENU – PÁGINA ATUAL
========================= */

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: #7CFF6B;
    font-weight: 500;
}

.main-nav .current-menu-ancestor > a {
    color: #9cff8a;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================
   HOME – THUMBNAIL EDITORIAL
========================= */

.home-post {
    margin-bottom: 4rem;
}

.home-post-thumb {
    float: left;
    width: 110px;
    margin: 0.3rem 1.2rem 0.6rem 0;
}

.home-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.home-post::after {
    content: "";
    display: block;
    clear: both;
}

