/*! Xaplin Theme — screen.css (self-contained, 2026-04-21)
    Não depende do Casper original. Cobre todos os seletores usados nos .hbs
    deste tema. Estratégia: CSS minimalista editorial, com fallbacks PT-BR,
    responsivo até 480px. */

/* ── Reset e base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.has-sans-body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
a { color: #C2185B; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ── Listas: nunca bullets em navegação ───────────────── */
#gh-head ul, #gh-head ol,
.site-footer-nav ul, .site-footer-nav ol,
.gh-head-menu ul, .gh-head-menu ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#gh-head li, .site-footer-nav li, .gh-head-menu li {
    list-style: none !important;
    display: inline-block;
}

/* ── Layout primitives ────────────────────────────────── */
.viewport { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.outer { padding-left: 24px; padding-right: 24px; }
.inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.gh-canvas {
    display: grid;
    grid-template-columns:
        [full-start] minmax(24px, 1fr)
        [wide-start] minmax(auto, 240px)
        [main-start] min(720px, calc(100% - 48px))
        [main-end] minmax(auto, 240px)
        [wide-end] minmax(24px, 1fr)
        [full-end];
}
.gh-canvas > * { grid-column: main-start / main-end; }
.gh-canvas .kg-width-wide { grid-column: wide-start / wide-end; }
.gh-canvas .kg-width-full { grid-column: full-start / full-end; }

/* ── Header / navegação ───────────────────────────────── */
#gh-head.gh-head {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}
/* Override Ghost's middle-logo layout — keep logo left always */
/* Grid 3-col: brand (auto) | menu (1fr) | actions (auto). Estável sem sobreposição. */
.is-head-middle-logo .gh-head-inner,
.gh-head-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 62px;
}
.is-head-middle-logo .gh-head-brand { grid-column: 1; }
.is-head-middle-logo .gh-head-menu  { grid-column: 2; justify-content: center; }
.is-head-middle-logo .gh-head-actions { grid-column: 3; }
.gh-head-brand { display: flex; align-items: center; gap: 12px; }
.gh-head-logo {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    color: #15171a;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.gh-head-logo:hover { text-decoration: none; color: #C2185B; }
.gh-head-logo img { max-height: 32px; width: auto; display: block; }
.gh-head-logo.no-image { font-family: Georgia, serif; }
.gh-head-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}
.gh-head-menu ul.nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 22px;
    list-style: none !important;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.gh-head-menu ul.nav li { flex: 0 0 auto; }
.gh-head-menu nav { display: flex; flex-wrap: nowrap; gap: 22px; }
.gh-head-menu a {
    color: #15171a;
    text-decoration: none;
    font-family: -apple-system, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.gh-head-menu a:hover {
    color: #C2185B;
    border-bottom-color: #C2185B;
    text-decoration: none;
}
.gh-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.gh-head-members { display: flex; align-items: center; gap: 8px; }
.gh-head-link, .gh-head-button {
    font-family: -apple-system, sans-serif;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.gh-head-link { color: #15171a; background: transparent; }
.gh-head-link:hover { color: #C2185B; text-decoration: none; }
.gh-head-button {
    color: #fff;
    background: #C2185B;
    border-color: #C2185B;
    font-weight: 600;
}
.gh-head-button:hover {
    background: #a3134d;
    border-color: #a3134d;
    color: #fff;
    text-decoration: none;
}
.gh-search, .gh-icon-btn, .gh-burger {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #15171a;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.gh-search:hover, .gh-icon-btn:hover { color: #C2185B; }
.gh-search svg, .gh-icon-btn svg, .gh-burger svg { width: 20px; height: 20px; }
.gh-burger { display: none; position: relative; }
.gh-burger::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

/* Tablets médios: reduzir gap e fonte antes do burger */
@media (max-width: 1100px) {
    .gh-head-menu ul.nav { gap: 16px; }
    .gh-head-menu nav { gap: 16px; }
    .gh-head-menu a { font-size: 12.5px; }
    .gh-head-link, .gh-head-button { padding: 7px 12px; font-size: 12.5px; }
}

/* Abaixo de 960: vira burger (mais cedo que 900 pra evitar sobreposição) */
@media (max-width: 960px) {
    .is-head-middle-logo .gh-head-inner,
    .gh-head-inner { grid-template-columns: auto 1fr auto; padding: 12px 16px; gap: 12px; }
    .gh-head-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        padding: 16px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        overflow: visible;
    }
    .gh-head-menu ul.nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }
    body.gh-head-open .gh-head-menu,
    .gh-head.gh-head-open .gh-head-menu { display: flex; }
    .gh-head-menu nav { flex-direction: column; width: 100%; gap: 8px; }
    .gh-burger { display: inline-flex; }
}

/* ── Site header content (index.hbs apenas) ───────────── */
.site-header-content {
    padding: 64px 24px 48px;
    text-align: center;
}
.site-header-content.left-aligned { text-align: left; }
.site-header-cover {
    width: 100%;
    height: 360px;
    object-fit: cover;
    margin-bottom: 24px;
}
.site-title {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.site-description {
    font-size: 18px;
    color: #555;
    font-style: italic;
    margin: 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.site-header-content.no-content { display: none; }

/* ── Feed / post-card ─────────────────────────────────── */
.site-main { padding: 40px 24px 60px; }
.posts { }
.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
}
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    text-decoration: none;
    color: inherit;
}
.post-card a { color: inherit; text-decoration: none; }
.post-card-image-link {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0ede6;
}
.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.post-card:hover .post-card-image { transform: scale(1.02); }
.post-card-access {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-card-content { padding: 16px 0; display: flex; flex-direction: column; flex: 1; }
.post-card-content-link { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-header { display: flex; flex-direction: column; gap: 8px; }
.post-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: -apple-system, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.post-card-primary-tag {
    color: #6b6b6b;
    font-weight: 600;
    border-left: 3px solid currentColor;
    padding-left: 8px;
}

/* ── Formatos editoriais: diferenciar selo visualmente ───
   Opinião  : tom rosa (posicionamento autoral)
   Editorial: tom grafite (voz da casa)
   Análise  : tom azul (interpretação)
   Contexto : tom teal (background factual/documental)         */
.post-card-primary-tag.xpl-fmt-opiniao   { border-left-color: #C2185B; }
.post-card-primary-tag.xpl-fmt-opiniao::after,
.post-card-primary-tag.xpl-fmt-analise::after,
.post-card-primary-tag.xpl-fmt-contexto::after,
.post-card-primary-tag.xpl-fmt-editorial::after { content: ''; }
.post-card-primary-tag.xpl-fmt-editorial { border-left-color: #444; }
.post-card-primary-tag.xpl-fmt-analise   { border-left-color: #2a4a8a; }
.post-card-primary-tag.xpl-fmt-contexto  { border-left-color: #2E7D8B; }
.post-card-featured {
    color: #C2185B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-card-title {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}
.post-card:hover .post-card-title { color: #C2185B; }
.post-card-large .post-card-title { font-size: 28px; }
.post-card-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dotted #d8d4cc;
    font-family: -apple-system, sans-serif;
    font-size: 12px;
    color: #888;
}
.post-card-byline-content { margin-right: 4px; }
.post-card-byline-name { font-weight: 600; color: #444; }
.post-card-byline-name a { color: inherit; text-decoration: none; }
.post-card-byline-name a:hover { color: #C2185B; }
.post-card-meta-date { color: #888; }
.post-card-meta-sep { color: #ccc; }
.post-card-meta-length { color: #888; }

/* Cartão destaque (home Classic layout) */
.post-card-large {
    grid-column: 1 / -1;
}
.post-card-large .post-card-image-link { aspect-ratio: 21 / 9; }
@media (min-width: 900px) {
    .post-card-large {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    .post-card-large .post-card-image-link {
        flex: 1 1 55%;
        aspect-ratio: 16 / 10;
    }
    .post-card-large .post-card-content { flex: 1 1 45%; padding: 0; }
}

/* Defesa contra CSS/HTML vazando */
.post-card-excerpt style,
.post-card-excerpt script,
.post-card-title style,
.post-card-title script,
.article-excerpt style,
.article-excerpt script,
.gh-content style,
.gh-content script,
article.article style,
article.article script { display: none !important; }

/* ── Article / post.hbs ───────────────────────────────── */
.article { padding: 40px 0 60px; }
.article-header { margin-bottom: 32px; }
.article-tag {
    margin-bottom: 14px;
    font-family: -apple-system, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.article-tag a { color: #C2185B; text-decoration: none; }
.article-title {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    color: #15171a;
}
.article-excerpt {
    font-size: 20px;
    line-height: 1.5;
    color: #555;
    font-style: italic;
    margin: 0 0 24px;
}
.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
}
.article-byline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}
.article-byline-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C2185B;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
}
.article-byline-text { display: flex; flex-direction: column; line-height: 1.3; }
.article-byline-name { font-weight: 600; color: #222; }
.article-byline-name a { color: inherit; text-decoration: none; }
.article-byline-name a:hover { color: #C2185B; }
.article-byline-role { font-size: 12px; color: #888; font-style: italic; }
.article-byline-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 28px;
}
.byline-meta-content {
    font-family: -apple-system, sans-serif;
    font-size: 13px;
    color: #888;
}
.byline-meta-date { }
.byline-reading-time { color: #aaa; margin-left: 6px; }
.bull { margin: 0 4px; color: #ccc; }
.article-image { margin: 0 0 32px; }
.article-image img { width: 100%; height: auto; display: block; }
.article-image figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    font-style: italic;
    text-align: center;
}
.article.image-small .article-image img { max-height: 420px; object-fit: cover; }
.article.image-full .article-image img { width: 100vw; margin-left: calc(-50vw + 50%); }

.gh-content {
    font-size: 19px;
    line-height: 1.7;
    color: #222;
}
.gh-content > * { margin: 0 0 1.4em; }
.gh-content > h1, .gh-content > h2, .gh-content > h3, .gh-content > h4 {
    font-family: Georgia, serif;
    line-height: 1.3;
    margin: 1.8em 0 0.5em;
    color: #15171a;
}
.gh-content h2 { font-size: 28px; }
.gh-content h3 { font-size: 22px; }
.gh-content blockquote {
    margin: 1.4em 0;
    padding: 8px 0 8px 24px;
    border-left: 3px solid #C2185B;
    font-style: italic;
    color: #555;
}
.gh-content code {
    font-family: "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: #f5f2ec;
    padding: 2px 6px;
    border-radius: 2px;
}
.gh-content pre {
    background: #1a1a2e;
    color: #e8e8e8;
    padding: 16px 20px;
    border-radius: 3px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}
.gh-content pre code { background: transparent; padding: 0; color: inherit; }
.gh-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 2em 0; }
.gh-content a { color: #C2185B; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content img { margin: 1.4em auto; }

.article-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid #e5e7eb; }

/* ── Tag & Author template headers ────────────────────── */
.post-card-large .post-card-title[data-slug] {
    font-size: 36px;
    margin-bottom: 12px;
}
.author-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}
.author-profile-footer { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.author-profile-location { font-size: 13px; color: #888; }
.author-profile-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.author-profile-social-link {
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    transition: color .15s, border-color .15s;
}
.author-profile-social-link:hover { color: #C2185B; border-color: #C2185B; }
.author-profile-social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Footer / CTA de assinatura ───────────────────────── */
.footer-cta {
    padding: 64px 24px;
    background: #f8f6f2;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}
.footer-cta .inner { max-width: 640px; margin: 0 auto; }
.footer-cta-title {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #15171a;
    margin: 0 0 20px;
    line-height: 1.3;
}
.footer-cta-button {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #C2185B;
    border-radius: 3px;
    text-decoration: none;
    background: #fff;
    max-width: 460px;
    width: 100%;
}
.footer-cta-input {
    flex: 1;
    padding: 14px 16px;
    color: #6b7280;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
    text-align: left;
    background: #fff;
}
.footer-cta-button span {
    background: #C2185B;
    color: #fff;
    padding: 14px 24px;
    font-family: -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
.footer-cta-button:hover span { background: #a3134d; }

/* ── Read more (embaixo do post) ──────────────────────── */
.read-more-wrap {
    background: #fafafa;
    padding: 40px 24px;
    border-top: 1px solid #e5e7eb;
}
.read-more {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* ── Site footer ──────────────────────────────────────── */
.site-footer {
    background: #15171a;
    color: #888;
    padding: 32px 24px;
    font-family: -apple-system, sans-serif;
    font-size: 13px;
}
.site-footer .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copyright a { color: #fff; font-weight: 600; }
.site-footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.gh-powered-by { opacity: .7; font-size: 12px; }

/* ── Error page ───────────────────────────────────────── */
.error-content { padding: 120px 24px; text-align: center; }
.error-code {
    font-family: Georgia, serif;
    font-size: 120px;
    font-weight: 700;
    color: #C2185B;
    margin: 0;
    line-height: 1;
}
.error-description { font-size: 20px; color: #555; margin: 12px 0 32px; }
.error-link {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #C2185B;
    color: #C2185B;
    text-decoration: none;
    border-radius: 3px;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.error-link:hover { background: #C2185B; color: #fff; text-decoration: none; }

/* ── Xaplin breadcrumb ───────────────────────────────── */
.xp-breadcrumb {
    font-family: -apple-system, sans-serif;
    font-size: 12px;
    color: #888;
    padding: 12px 0;
    border-bottom: 1px dotted #e5e7eb;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.xp-breadcrumb a { color: #555; text-decoration: none; }
.xp-breadcrumb a:hover { color: #C2185B; }
.xp-breadcrumb-mode {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 8px;
}
.xp-breadcrumb-mode.editorial { background: #C2185B; color: #fff; }
.xp-breadcrumb-mode.loja { background: #2a2a2a; color: #fff; }
.xp-breadcrumb-current { color: #222; font-weight: 500; }

/* ── Tag colors (slug coloring) — herda de tag-color.css ── */
.post-card-primary-tag[data-slug="breaking"]              { color: #8a2a2a; }
.post-card-primary-tag[data-slug="politica"]              { color: #5a4a6e; }
.post-card-primary-tag[data-slug="internacional"]         { color: #4a5d6e; }
.post-card-primary-tag[data-slug="economia"],
.post-card-primary-tag[data-slug="mercados"]              { color: #4a5e4a; }
.post-card-primary-tag[data-slug="tecnologia"]            { color: #4a4a6e; }
.post-card-primary-tag[data-slug="saude"]                 { color: #4a6e6e; }
.post-card-primary-tag[data-slug="ciencia"]               { color: #5a6e4a; }
.post-card-primary-tag[data-slug="esporte"],
.post-card-primary-tag[data-slug="esportes"]              { color: #6e5a4a; }
.post-card-primary-tag[data-slug="cultura"]               { color: #6e4a6e; }
.post-card-primary-tag[data-slug="cidades"]               { color: #6e5e4a; }
.post-card-primary-tag[data-slug="intermezzo"]            { color: #3a3a3a; letter-spacing: 0.08em; }
.post-card-primary-tag[data-slug="bica"]                  { color: #6e3a3a; }
.post-card-primary-tag[data-slug="sururu"],
.post-card-primary-tag[data-slug="sururu-2"]              { color: #5a4a3a; }
.post-card-primary-tag[data-slug="lado-b"]                { color: #2a2a2a; }
.post-card-primary-tag[data-slug="a-meia-luz"]            { color: #5e3a4a; }
.post-card-primary-tag[data-slug^="banca-de-jornal"]      { color: #4a4a4a; }
.post-card-primary-tag[data-slug^="coluna-"]              { color: #5a5a5a; font-style: italic; }
.post-card-primary-tag[data-slug="olhar-do-estrangeiro"]  { color: #3a5a6e; font-style: italic; }

/* ── Olhar do Estrangeiro — cartão contextual ─────────── */
.olhar-estrangeiro-header {
    border-left: 3px solid #3a5a6e;
    padding: 16px 20px;
    margin: 0 0 32px;
    background: #f8f6f2;
}
.oe-overline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.oe-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 700;
    color: #3a5a6e;
    font-family: -apple-system, sans-serif;
}
.oe-sep { color: #999; font-size: 11px; }
.oe-location {
    font-size: 11px;
    color: #666;
    font-family: -apple-system, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.oe-deck { font-size: 16px; color: #3a3a3a; margin: 0 0 10px; font-style: italic; line-height: 1.5; }
.oe-author { font-size: 13px; color: #666; font-family: -apple-system, sans-serif; display: flex; gap: 6px; align-items: center; }
.oe-author-name { font-weight: 600; color: #333; }
.oe-author-bio { font-style: italic; }

/* ── Olhar do Estrangeiro — hub de correspondentes ─── */
.oe-hub { max-width: 1080px; margin: 0 auto; padding: 32px 24px; }
.oe-hub-header { border-left: 4px solid #3a5a6e; padding: 12px 16px; margin-bottom: 32px; }
.oe-hub-title { font-family: Georgia, serif; font-size: 28px; color: #2a2a2a; margin: 0 0 6px; }
.oe-hub-subtitle { font-size: 14px; color: #666; font-style: italic; margin: 0; }
.oe-correspondentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.oe-correspondente {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #f8f6f2;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
}
.oe-correspondente:hover { border-color: #3a5a6e; }
.oe-corresp-foto {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
    flex-shrink: 0;
}
.oe-corresp-foto-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3a5a6e;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
}
.oe-corresp-body { flex: 1; min-width: 0; }
.oe-corresp-name { font-family: Georgia, serif; font-size: 16px; margin: 0 0 2px; color: #222; }
.oe-corresp-name a { color: inherit; text-decoration: none; }
.oe-corresp-name a:hover { color: #3a5a6e; }
.oe-corresp-loc {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 6px;
}
.oe-corresp-bio { font-size: 13px; line-height: 1.45; color: #555; margin: 0; font-style: italic; }
.oe-editor-convidado {
    margin: 40px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f0ede6 0%, #f8f6f2 100%);
    border-top: 3px solid #3a5a6e;
}
.oe-editor-overline {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3a5a6e;
    margin-bottom: 8px;
}
.oe-editor-name { font-family: Georgia, serif; font-size: 20px; color: #222; margin: 0 0 4px; }
.oe-editor-role { font-size: 12px; color: #666; font-style: italic; margin: 0 0 12px; }
.oe-editor-picks { list-style: none; padding: 0; margin: 0; }
.oe-editor-picks li { padding: 8px 0; border-bottom: 1px dotted #ccc; font-size: 14px; }
.oe-editor-picks li:last-child { border-bottom: none; }
.oe-editor-picks a { color: #2a2a2a; text-decoration: none; }
.oe-editor-picks a:hover { color: #3a5a6e; text-decoration: underline; }

/* ── Loja de e-books ─────────────────────────────────── */
.xp-ebook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    padding: 24px 0;
}
.xp-ebook-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 3px;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
}
.xp-ebook-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.xp-ebook-cover-wrap { position: relative; aspect-ratio: 2 / 3; background: #f0ede6; overflow: hidden; }
.xp-ebook-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-ebook-cover-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; padding: 20px; text-align: center;
    background: linear-gradient(135deg, #e8d5b7 0%, #d4a574 50%, #a67c52 100%);
    color: #fff; font-family: Georgia, serif;
}
.xp-ebook-cover-title { font-size: 18px; line-height: 1.3; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.xp-ebook-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; background: #C2185B; color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; border-radius: 2px;
}
.xp-ebook-badge-soon { background: #6b6b6b; }
.xp-ebook-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.xp-ebook-title { font-family: Georgia, serif; font-size: 17px; margin: 0; color: #1a1a1a; line-height: 1.3; }
.xp-ebook-subtitle { font-size: 13px; color: #666; margin: 0; font-style: italic; }
.xp-ebook-synopsis {
    font-size: 13px; line-height: 1.5; color: #444; margin: 8px 0 0;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
    overflow: hidden;
}
.xp-ebook-meta {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: auto; padding-top: 10px;
    font-size: 12px; color: #888;
    border-top: 1px dotted #e0dcd4;
}
.xp-ebook-pages { letter-spacing: 0.04em; }
.xp-ebook-price { font-size: 16px; font-weight: 700; color: #C2185B; font-family: -apple-system, sans-serif; }
.xp-ebook-btn {
    display: inline-block; margin-top: 10px; padding: 10px 16px;
    text-align: center; text-decoration: none;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; border-radius: 2px; border: none; cursor: pointer;
}
.xp-ebook-btn-buy { background: #C2185B; color: #fff; }
.xp-ebook-btn-buy:hover { background: #a3134d; text-decoration: none; }
.xp-ebook-platform { font-size: 10px; font-weight: 400; text-transform: none; opacity: 0.75; }
.xp-ebook-btn-soon { background: #e0dcd4; color: #888; cursor: not-allowed; }
.xp-ebook-em-breve .xp-ebook-cover { filter: grayscale(0.4); opacity: 0.85; }

/* ── Premium facts ───────────────────────────────────── */
.xp-premium-facts { margin: 32px 0; }
.xp-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}
.xp-fact {
    padding: 16px;
    background: #f8f6f2;
    border-left: 3px solid #C2185B;
}
.xp-fact dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #888; margin-bottom: 4px; }
.xp-fact dd { margin: 0; font-size: 14px; color: #333; }
.xp-fact dd strong { color: #C2185B; font-size: 18px; font-family: Georgia, serif; }

/* ── Ticker "Ao Vivo" (SSR, recebe enhancement opcional) ─ */
#xlv-wrap {
    background: #111;
    color: #e8e8e8;
    border-top: 2px solid #C2185B;
    font-family: -apple-system, "Helvetica Neue", sans-serif;
    font-size: 12px;
}
#xlv-newsroom {
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
}
#xlv-live-badge {
    flex-shrink: 0;
    background: #C2185B;
    color: #fff;
    padding: 0 14px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 10px;
}
#xlv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: xlv-pulse 2s ease-in-out infinite;
}
@keyframes xlv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
#xlv-clock {
    flex-shrink: 0;
    padding: 0 14px;
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.04em;
    border-right: 1px solid #2a2a2a;
    height: 100%;
    display: flex;
    align-items: center;
}
#xlv-ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
#xlv-ticker {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
}
.xlv-tick-item {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    font-size: 12px;
    color: #d4d4d4;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}
.xlv-tick-item a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.xlv-tick-item a:hover { color: #fff; }
.xlv-tick-sep { color: #C2185B; margin: 0 8px; font-size: 10px; opacity: 0.7; }
.xlv-tick-meta { color: #666; font-size: 10px; margin-left: 6px; }
.xlv-tick-src {
    color: #C2185B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 8px;
    padding: 1px 6px;
    border: 1px solid #C2185B;
    border-radius: 2px;
    line-height: 1.4;
}

/* ── Segunda camada: barra de cotações ────────────────── */
#xlv-markets {
    background: #0a0a10;
    border-top: 1px solid #1f1f28;
    color: #cfcfd8;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 11px;
    overflow: hidden;
    height: 30px;
}
.xlv-markets-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    padding: 0 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.xlv-markets-inner::-webkit-scrollbar { display: none; }
.xlv-mk-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    position: relative;
}
.xlv-mk-flag {
    font-size: 13px;
    line-height: 1;
    filter: saturate(1.1);
}
.xlv-mk-label {
    color: #8a8a95;
    font-size: 10px;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.xlv-mk-value {
    color: #e8e8e8;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.xlv-mk-arrow {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #8a8a95;
}
.xlv-mk-item.up .xlv-mk-value,
.xlv-mk-item.up .xlv-mk-arrow   { color: #3ad17b; }
.xlv-mk-item.down .xlv-mk-value,
.xlv-mk-item.down .xlv-mk-arrow { color: #ff6a7a; }
.xlv-mk-sep { color: #3a3a44; font-size: 10px; padding: 0 2px; }
.xlv-crypto .xlv-mk-label { color: #f0a030; }

@media (max-width: 640px) {
    #xlv-markets { font-size: 10px; height: 28px; }
    .xlv-markets-inner { gap: 14px; padding: 0 10px; justify-content: flex-start; }
    .xlv-mk-flag { font-size: 12px; }
    .xlv-mk-arrow { font-size: 9px; }
}

/* ── Responsive geral ─────────────────────────────────── */
@media (max-width: 640px) {
    .site-main { padding: 24px 16px 40px; }
    .article { padding: 24px 0 40px; }
    .article-title { font-size: 28px; }
    .gh-content { font-size: 17px; }
    .gh-content h2 { font-size: 22px; }
    .gh-content h3 { font-size: 19px; }
    .post-card-large .post-card-title { font-size: 22px; }
    .site-title { font-size: 28px; }
    .footer-cta { padding: 40px 16px; }
    .footer-cta-title { font-size: 20px; }
    .outer { padding-left: 16px; padding-right: 16px; }
    #xlv-live-badge span:last-child { display: none; }
}

/* ── Dark mode opcional (quando @custom.color_scheme=Dark) ── */
html.dark-mode body { background: #0f0f14; color: #e8e8e8; }
html.dark-mode #gh-head.gh-head { background: #15151c; border-bottom-color: #2a2a2a; }
html.dark-mode .gh-head-menu a,
html.dark-mode .gh-head-logo,
html.dark-mode .gh-head-link { color: #e8e8e8; }
html.dark-mode .post-card-title,
html.dark-mode .article-title { color: #e8e8e8; }
html.dark-mode .post-card-excerpt,
html.dark-mode .gh-content { color: #b8b8b8; }
html.dark-mode .footer-cta { background: #1a1a22; }
html.dark-mode .footer-cta-title { color: #e8e8e8; }

/* ── Fim do screen.css self-contained ─────────────────── */

/* Xaplin 2026: documentary-first homepage and strategic pages */
.xp-home-doc {
    background: #171817;
    color: #f0f0eb;
    padding-top: clamp(48px, 8vw, 112px);
    padding-bottom: clamp(48px, 8vw, 112px);
}
body:has(.xp-home-doc) .site-header-content { display: none !important; }
.xp-home-doc-inner {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: clamp(32px, 7vw, 96px);
    align-items: end;
}
.xp-home-eyebrow,
.xp-home-feed-head p {
    margin: 0 0 24px;
    color: #ef594a;
    font: 800 11px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.xp-home-doc h1 {
    margin: 0;
    max-width: 8ch;
    font: 800 clamp(48px, 7vw, 104px)/.87 Arial, Helvetica, sans-serif;
    letter-spacing: -.07em;
}
.xp-home-doc-copy > p:not(.xp-home-eyebrow) {
    max-width: 37ch;
    margin: 28px 0 0;
    color: #b7b8b0;
    font: 400 clamp(17px, 1.6vw, 22px)/1.5 Arial, Helvetica, sans-serif;
}
.xp-home-action {
    display: inline-flex;
    margin-top: 32px;
    min-height: 48px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #f0f0eb;
    color: #f0f0eb;
    font: 800 14px/1 Arial, Helvetica, sans-serif;
    text-decoration: none;
}
.xp-home-action:hover { background: #ef594a; border-color: #ef594a; color: #171817; }
.xp-home-doc-visual { position: relative; display: block; overflow: hidden; background: #090a09; color: #fff; text-decoration: none; }
.xp-home-doc-visual img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.82) contrast(1.06); transition: transform .35s ease; }
.xp-home-doc-visual:hover img { transform: scale(1.015); }
.xp-home-doc-visual span { position: absolute; left: 16px; bottom: 16px; padding: 8px 10px; background: #ef594a; color: #171817; font: 800 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.xp-home-feed-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid #c8c9c2; }
.xp-home-feed-head p { margin: 0; }
.xp-home-feed-head h2 { margin: 0; font: 800 clamp(28px, 4vw, 54px)/.95 Arial, Helvetica, sans-serif; letter-spacing: -.045em; }

body:has(.xp-page) .article-header,
body:has(.xp-page) .article-image { display: none !important; }
body:has(.xp-page) .gh-content { margin-top: 0 !important; }
body:has(.xp-page) #xpl-radio-fab,
body:has(.xp-page) #xpl-radio-panel,
body:has(.xp-page) #xpl-pergunta,
body:has(.xp-page) #xpl-noite,
body:has(.xp-page) #xpl-plantonista-chip,
body:has(.xp-home-doc) #xpl-radio-fab,
body:has(.xp-home-doc) #xpl-radio-panel,
body:has(.xp-home-doc) #xpl-pergunta,
body:has(.xp-home-doc) #xpl-noite,
body:has(.xp-home-doc) #xpl-plantonista-chip { display: none !important; }
.xp-page{--bg:#f2f2ee;--panel:#e7e7e1;--ink:#161616;--muted:#555750;--line:#c8c9c2;--accent:#d84335;--button:#191919;--button-text:#f7f7f3;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;margin:0 calc(50% - 50vw);padding:clamp(2rem,5vw,5rem) max(1.25rem,calc((100vw - 1120px)/2))}.xp-page *{box-sizing:border-box}.xp-page a{color:inherit}.xp-page h1,.xp-page h2,.xp-page h3,.xp-page p{margin-top:0}.xp-page h1{font-size:clamp(3rem,8vw,7rem);line-height:.88;letter-spacing:-.07em;max-width:11ch;margin-bottom:1.5rem}.xp-page h2{font-size:clamp(2rem,4.5vw,4.5rem);line-height:.96;letter-spacing:-.045em;max-width:14ch}.xp-page h3{font-size:1.15rem;line-height:1.15}.xp-page p{font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.55;max-width:64ch;color:var(--muted)}
.xp-kicker{font-size:.72rem!important;line-height:1!important;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--accent)!important;margin-bottom:2rem!important}.xp-hero{min-height:min(720px,75dvh);display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,.45fr);gap:clamp(2rem,6vw,7rem);align-items:end;border-bottom:1px solid var(--line);padding-bottom:clamp(3rem,7vw,7rem)}.xp-hero .xp-media{aspect-ratio:4/5}.xp-lede{font-size:clamp(1.2rem,2vw,1.6rem)!important;color:var(--ink)!important;max-width:34ch!important}.xp-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}.xp-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8rem 1.15rem;background:var(--button);color:var(--button-text)!important;text-decoration:none;font-weight:800;border:1px solid var(--button);transition:transform .15s ease,background .15s ease}.xp-button:hover{background:var(--accent);border-color:var(--accent)}.xp-button:active{transform:translateY(1px)}.xp-button-secondary{background:transparent;color:var(--ink)!important;border-color:var(--ink)}
.xp-section{padding:clamp(4rem,9vw,9rem) 0;border-bottom:1px solid var(--line)}.xp-stack{display:grid;gap:1.25rem}.xp-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,9vw,9rem);align-items:start}.xp-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}.xp-block{background:var(--panel);padding:clamp(1.4rem,3vw,2.6rem);min-height:220px;display:flex;flex-direction:column;justify-content:space-between}.xp-block strong{font-size:clamp(1.5rem,3vw,2.5rem);letter-spacing:-.04em}.xp-block p{font-size:1rem}.xp-block-accent{background:var(--accent);color:#fff}.xp-block-accent p{color:#fff}.xp-block-dark{background:var(--ink);color:var(--bg)}.xp-block-dark p{color:#d5d5cf}.xp-span-7{grid-column:span 7}.xp-span-5{grid-column:span 5}.xp-span-4{grid-column:span 4}.xp-span-8{grid-column:span 8}.xp-list{list-style:none;padding:0;margin:2.5rem 0 0;display:grid;gap:0}.xp-list li{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr);gap:1.25rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}.xp-list li:last-child{border-bottom:0}.xp-list strong{font-size:1rem}.xp-list span{color:var(--muted);line-height:1.5}.xp-media{position:relative;aspect-ratio:16/9;background:#2a2a2a;overflow:hidden}.xp-media img,.xp-media iframe{width:100%;height:100%;display:block;object-fit:cover;border:0}.xp-quote{font-size:clamp(2rem,5vw,5rem)!important;line-height:1!important;letter-spacing:-.05em;max-width:15ch!important;color:var(--ink)!important}.xp-foot{display:flex;justify-content:space-between;gap:2rem;align-items:end;padding-top:4rem}.xp-foot p{font-size:.9rem;margin:0}.xp-link{font-weight:800;text-underline-offset:4px}.xp-link:hover{color:var(--accent)}
@media (max-width:767px){.xp-home-doc-inner{grid-template-columns:1fr}.xp-home-doc h1{font-size:clamp(48px,15vw,74px)}.xp-home-feed-head{display:block}.xp-home-feed-head p{margin-bottom:12px}.xp-page{margin:0 -1.25rem;padding:2rem 1.25rem}.xp-hero{min-height:auto;grid-template-columns:1fr;gap:2rem;padding:3rem 0 4rem}.xp-hero .xp-media{aspect-ratio:16/10}.xp-page h1{font-size:clamp(3rem,17vw,5rem)}.xp-split{grid-template-columns:1fr}.xp-grid{grid-template-columns:1fr}.xp-span-7,.xp-span-5,.xp-span-4,.xp-span-8{grid-column:1}.xp-block{min-height:180px}.xp-list li{grid-template-columns:1fr;gap:.5rem}.xp-foot{align-items:start;flex-direction:column}}
@media (prefers-color-scheme:dark){.xp-page{--bg:#171817;--panel:#262724;--ink:#f0f0eb;--muted:#b7b8b0;--line:#3d3e3a;--accent:#ef594a;--button:#f0f0eb;--button-text:#171817}.xp-block-accent{color:#171817}.xp-block-accent p{color:#171817}.xp-block-dark{background:#090a09;color:#f0f0eb}}
@media (prefers-reduced-motion:reduce){.xp-page *,.xp-home-doc *{scroll-behavior:auto!important;transition:none!important}}
