/*
Theme Name: Blotz
Theme URI: https://example.com/blotz
Author: Blotz
Author URI: https://fzi.com.br
Description: Tema WordPress rápido, editorial e preparado para SEO e embeds por URL.
Version: 2.0.4
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: tema-leve
*/
:root { --ink:#202124; --muted:#687078; --red:#94711e; --red-dark:#725613; --line:#e4e4e4; --page:#fff; --soft:#f7f7f7; --radius:12px; }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; color:var(--ink); background:var(--page); font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.45; } a { color:inherit; } img { display:block; max-width:100%; height:auto; } .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-shell { width:min(1180px,calc(100% - 40px)); margin:auto; }.site-header { border-bottom:1px solid var(--line); }.header-row { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:30px; }.brand { display:flex; flex-direction:column; gap:3px; }.site-title { color:var(--red); font-size:1.65rem; font-weight:800; letter-spacing:-.06em; text-decoration:none; }.site-description { margin:0; color:var(--muted); font-size:.82rem; }.primary-menu ul { display:flex; flex-wrap:wrap; gap:22px; padding:0; margin:0; list-style:none; }.primary-menu a { color:#333; text-decoration:none; font-size:.9rem; font-weight:700; }.primary-menu a:hover { color:var(--red); }.topline { height:5px; background:var(--red); }
.front-main { padding-top:30px; }.home-label { margin:0 0 18px; color:var(--red); font-size:.8rem; letter-spacing:.09em; font-weight:800; text-transform:uppercase; }.hero-grid { display:grid; grid-template-columns:1.45fr 1fr; gap:18px; padding-bottom:36px; border-bottom:1px solid var(--line); }.hero-lead { min-height:500px; position:relative; overflow:hidden; border-radius:var(--radius); color:#fff; background:#252525; }.hero-lead > a:first-child,.hero-side-image { display:block; height:100%; }.hero-lead img,.hero-side img { height:100%; width:100%; object-fit:cover; }.hero-lead:after,.hero-side:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.05) 70%); }.hero-copy { position:absolute; z-index:1; inset:auto 0 0; padding:34px; }.post-kicker { display:block; margin-bottom:9px; color:var(--red); font-size:.78rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }.hero-copy .post-kicker,.hero-side .post-kicker { color:#fff; }.hero-copy h1 { max-width:800px; margin:0; font-size:clamp(2rem,4vw,3.45rem); line-height:1.04; letter-spacing:-.045em; }.hero-copy h1 a,.hero-side h2 a { text-decoration:none; }.hero-copy p { max-width:670px; margin:14px 0 0; color:#f4f4f4; font-size:1rem; }.hero-side { display:grid; grid-template-rows:1fr 1fr; gap:18px; }.hero-side article { position:relative; overflow:hidden; min-height:241px; border-radius:var(--radius); background:#333; color:#fff; }.hero-side-copy { position:absolute; z-index:1; inset:auto 0 0; padding:22px; }.hero-side h2 { margin:0; font-size:1.3rem; line-height:1.08; letter-spacing:-.03em; }
.latest { padding:34px 0 74px; }.section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }.section-heading h2 { margin:0; font-size:1.7rem; letter-spacing:-.04em; }.all-link { color:var(--red); font-size:.9rem; font-weight:700; text-decoration:none; }.news-list { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:36px; }.feed { border-top:1px solid var(--line); }.news-row { display:grid; grid-template-columns:260px 1fr; gap:22px; padding:22px 0; border-bottom:1px solid var(--line); }.news-row-image { display:block; overflow:hidden; border-radius:8px; aspect-ratio:16/10; background:#ddd; }.news-row-image img { width:100%; height:100%; object-fit:cover; }.news-row h3 { margin:0; color:var(--red); font-size:1.42rem; line-height:1.08; letter-spacing:-.035em; }.news-row h3 a { text-decoration:none; }.news-row p { margin:9px 0 0; color:#535960; font-size:.92rem; }.news-row time { display:block; margin-top:10px; color:var(--muted); font-size:.8rem; }.sidebar { align-self:start; padding:22px; border:1px solid var(--line); border-radius:var(--radius); }.sidebar h2 { margin:0 0 15px; font-size:1.05rem; }.sidebar-item { display:flex; gap:12px; padding:15px 0; border-top:1px solid var(--line); text-decoration:none; }.sidebar-item:first-of-type { border-top:0; }.sidebar-item span { color:var(--red); font-weight:700; font-size:.93rem; line-height:1.15; }.sidebar-item img { width:72px; height:72px; flex:0 0 72px; border-radius:7px; object-fit:cover; }.entry { width:min(760px,100%); padding:64px 0; }.entry-title { font-size:clamp(2rem,5vw,3.7rem); line-height:1.05; letter-spacing:-.05em; }.entry-meta { color:var(--muted); }.entry-content > * { margin-block:1.4em; }.wp-embed-responsive { overflow:hidden; }.embed-link-card { display:block; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--soft); text-decoration:none; overflow-wrap:anywhere; }.embed-link-card strong { display:block; margin-bottom:5px; color:var(--red); }.site-footer { padding:32px 0; border-top:4px solid var(--red); color:var(--muted); font-size:.85rem; }
@media (max-width:800px) { .hero-grid { grid-template-columns:1fr; }.hero-lead { min-height:420px; }.hero-side { grid-template-columns:1fr 1fr; grid-template-rows:none; }.hero-side article { min-height:230px; }.news-list { grid-template-columns:1fr; }.sidebar { display:none; } }
@media (max-width:600px) { .site-shell { width:min(100% - 28px,1180px); }.header-row { min-height:72px; align-items:flex-start; flex-direction:column; justify-content:center; gap:7px; }.primary-menu ul { gap:14px; }.primary-menu a { font-size:.82rem; }.front-main { padding-top:20px; }.hero-lead { min-height:380px; }.hero-copy { padding:22px; }.hero-copy p { display:none; }.hero-side { grid-template-columns:1fr; }.hero-side article { min-height:210px; }.news-row { grid-template-columns:128px 1fr; gap:14px; }.news-row h3 { font-size:1.05rem; }.news-row p { display:none; }.news-row-image { align-self:start; }.latest { padding-bottom:42px; } }

/* A sobreposição deve cobrir apenas cada card lateral, nunca a página inteira. */
.hero-side:after { content:none; }
.hero-side article:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.04) 70%); }

/* Garante que nenhuma camada visual bloqueie a rolagem da página. */
html, body { height:auto !important; min-height:100%; overflow-x:hidden !important; overflow-y:auto !important; }
main, .site-shell, .front-main { overflow:visible !important; }
.hero-lead:after, .hero-side:after, .hero-side article:after { pointer-events:none; }

/* Busca, categorias, tags e outros arquivos: cards em 3 / 2 / 1 colunas. */
.listing-page { padding:58px 0 76px; }.listing-header { max-width:770px; margin-bottom:30px; }.listing-label { margin:0 0 7px; color:var(--red); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.listing-header h1 { margin:0; font-size:clamp(2.25rem,5vw,4rem); letter-spacing:-.055em; line-height:1.04; }.listing-description { margin-top:12px; color:var(--muted); }.listing-search { display:flex; gap:8px; margin-top:22px; }.listing-search input { min-width:0; flex:1; max-width:430px; padding:12px 14px; border:1px solid var(--line); border-radius:7px; font:inherit; }.listing-search button { padding:0 18px; border:0; border-radius:7px; background:var(--red); color:#fff; font-weight:750; }.article-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 20px; }.article-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }.article-card-image { display:block; aspect-ratio:16/10; background:#e6e4df; }.article-card-image img { width:100%; height:100%; object-fit:cover; }.article-card-body { padding:17px; }.article-card h2 { margin:6px 0 9px; color:var(--ink); font-size:1.25rem; letter-spacing:-.035em; line-height:1.1; }.article-card h2 a { text-decoration:none; }.article-card p { margin:0; color:var(--muted); font-size:.89rem; }.article-card time { display:block; margin-top:13px; color:var(--muted); font-size:.78rem; }.load-more { margin-top:38px; text-align:center; }.load-more .nav-links { display:flex; justify-content:center; gap:8px; }.load-more a,.load-more .current { display:inline-block; padding:10px 14px; border:1px solid var(--line); border-radius:999px; color:var(--ink); font-weight:700; text-decoration:none; }.load-more .current { border-color:var(--red); background:var(--red); color:#fff; }
@media (max-width:900px) { .article-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .listing-page { padding:38px 0 48px; }.article-card-grid { grid-template-columns:1fr; gap:18px; }.article-card { display:grid; grid-template-columns:130px 1fr; }.article-card-image { aspect-ratio:auto; height:100%; min-height:126px; }.article-card-body { padding:14px; }.article-card h2 { font-size:1.07rem; }.article-card p { display:none; }.listing-search { flex-wrap:wrap; }.listing-search input { flex-basis:100%; }.listing-search button { height:42px; } }

/* Busca de desktop abre antes de enviar qualquer pesquisa. */
.desktop-search { position:relative; display:block; width:34px; height:34px; overflow:visible; border:0; }.desktop-search summary { position:relative; display:block; width:34px; height:34px; list-style:none; cursor:pointer; }.desktop-search summary::-webkit-details-marker { display:none; }.desktop-search summary:before { position:absolute; top:7px; left:7px; display:block; width:14px; height:14px; border:2px solid currentColor; border-radius:50%; content:""; }.desktop-search summary:after { position:absolute; top:22px; left:20px; width:8px; height:2px; background:currentColor; content:""; transform:rotate(45deg); }.desktop-search form { position:absolute; z-index:40; top:42px; right:0; display:flex; width:270px; padding:10px; border:1px solid #d4bc77; border-radius:8px; background:#fffdf7; box-shadow:0 14px 28px rgba(0,0,0,.14); }.desktop-search input { width:auto; min-width:0; flex:1; padding:9px 10px; border:1px solid var(--line); border-radius:6px; }.desktop-search button { position:static; width:auto; height:auto; margin-left:7px; padding:0 12px; border:0; border-radius:6px; background:var(--red); color:#fff; font-weight:700; }.desktop-search button:before,.desktop-search button:after { content:none; }
.footer-row { display:flex; align-items:center; justify-content:space-between; gap:18px; }.footer-menu ul { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:16px; margin:0; padding:0; list-style:none; }.footer-menu a { color:var(--muted); text-decoration:none; }.footer-menu a:hover { color:var(--red); }.footer-copy { margin-left:auto; white-space:nowrap; }.blotz-load-more { padding:12px 24px; border:1px solid var(--red); border-radius:999px; background:#fff; color:var(--red); cursor:pointer; font-weight:800; }.blotz-load-more:hover { background:var(--red); color:#fff; }.blotz-load-more:disabled { opacity:.65; cursor:wait; }
@media (max-width:600px) { .footer-row { align-items:flex-start; flex-direction:column; }.footer-menu ul { justify-content:flex-start; gap:12px 16px; }.footer-copy { margin-left:0; }.desktop-search { display:none; } }

/* A descrição segue disponível para mecanismos de busca, mas não ocupa o cabeçalho. */
.site-description { display:none; }.custom-brand .custom-logo-link { display:block; }.custom-brand .custom-logo { width:auto; max-width:230px; height:42px; object-fit:contain; object-position:left center; }.mobile-logo.custom-brand .custom-logo { max-width:150px; height:32px; object-position:center; }

/* Busca desktop sem comportamento implícito: abre apenas pelo botão da lupa. */
.desktop-search { display:flex; align-items:center; width:34px; height:34px; overflow:hidden; border:0; border-radius:999px; transition:width .2s ease; }.desktop-search.is-open { width:272px; border:1px solid #d4bc77; }.desktop-search-toggle { position:relative !important; display:block; width:34px !important; height:34px !important; flex:0 0 34px; margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; color:var(--ink) !important; }.desktop-search-toggle:before { position:absolute; top:7px; left:7px; width:14px; height:14px; border:2px solid currentColor; border-radius:50%; content:""; }.desktop-search-toggle:after { position:absolute; top:22px; left:20px; width:8px; height:2px; background:currentColor; content:""; transform:rotate(45deg); }.desktop-search input,.desktop-search .desktop-search-submit { display:none; }.desktop-search.is-open input { display:block; min-width:0; flex:1; padding:8px; border:0; outline:0; }.desktop-search.is-open .desktop-search-submit { display:block; width:auto !important; height:auto !important; margin:0 4px 0 0 !important; padding:8px 11px !important; border:0 !important; border-radius:6px; background:var(--red) !important; color:#fff !important; font-weight:700; }.desktop-search .desktop-search-submit:before,.desktop-search .desktop-search-submit:after { content:none !important; }

/* Cards com leitura uniforme, sem alturas irregulares. */
.article-card { display:flex; flex-direction:column; }.article-card-body { display:flex; flex:1; flex-direction:column; }.article-card h2 { display:-webkit-box; overflow:hidden; min-height:4.12em; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.article-card p { display:-webkit-box; overflow:hidden; min-height:2.9em; -webkit-box-orient:vertical; -webkit-line-clamp:2; }.article-card time { min-height:1.15em; margin-top:auto; }
@media (max-width:600px) { .article-card { display:grid; }.article-card h2 { min-height:0; -webkit-line-clamp:3; }.article-card p { min-height:0; }.article-card time { min-height:0; } }

.social-embed { width:100%; max-width:540px; min-width:0; margin-inline:auto; overflow:hidden; border:0; border-radius:10px; }.social-embed iframe { display:block; width:100%; max-width:100%; border:0; }.social-embed-instagram { aspect-ratio:540/720; }.social-embed-instagram iframe { height:100%; min-height:0; }.social-embed-facebook { aspect-ratio:500/560; }.social-embed-facebook iframe { height:100%; min-height:0; }.twitter-tweet { width:100% !important; max-width:540px !important; margin-inline:auto !important; }
@media (max-width:600px) { .article-content .social-embed { max-width:100%; border-radius:0; }.social-embed-instagram { aspect-ratio:1/1.32; }.social-embed-facebook { aspect-ratio:1/1.18; } }

/* Matéria individual */
.article { width:min(790px,100%); margin:0 auto; padding:74px 0 24px; }
.article-header { border-bottom:1px solid var(--line); padding-bottom:25px; }
.article-category { color:var(--red); font-size:.82rem; font-weight:800; letter-spacing:.07em; text-decoration:none; text-transform:uppercase; }
.article h1 { margin:12px 0 18px; color:var(--ink); font-size:clamp(2.45rem,5.6vw,4.55rem); line-height:1.02; letter-spacing:-.055em; }
.article-deck { margin:0; max-width:740px; color:#555d65; font-size:1.22rem; line-height:1.4; }
.article-byline { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; color:var(--muted); font-size:.9rem; }.article-byline strong { color:var(--ink); }
.article-share { display:flex; flex-wrap:wrap; gap:9px; margin-top:22px; }.article-share a,.article-share button { padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); cursor:pointer; font:700 .82rem/1 Arial,Helvetica,sans-serif; text-decoration:none; }.article-share .share-whatsapp { color:#087a3d; }.article-share .share-facebook { color:#1769c2; }.article-share button:hover,.article-share a:hover { border-color:#bbb; background:var(--soft); }
.article-cover { margin:30px 0; }.article-cover img { width:100%; border-radius:var(--radius); }.article-cover figcaption { margin-top:8px; color:var(--muted); font-size:.78rem; }
.article-content { max-width:690px; color:#272b2f; font-size:1.16rem; line-height:1.68; }.article-content > * { margin:1.5em 0; }.article-content h2 { margin-top:2em; color:var(--ink); font-size:1.75rem; letter-spacing:-.035em; line-height:1.15; }.article-content h3 { font-size:1.35rem; }.article-content a { color:var(--red); font-weight:700; }.article-content blockquote { margin-inline:0; padding:8px 0 8px 22px; border-left:4px solid var(--red); color:#41474d; font-size:1.28rem; font-weight:600; }.article-content img { border-radius:8px; }.article-content iframe { max-width:100%; }
.mobile-read-more { display:none; }
.blotz-related-posts { width:min(1040px,100%); margin:64px auto 72px; padding-top:28px; border-top:3px solid var(--red); }.blotz-related-posts h2 { margin:0 0 20px; font-size:1.55rem; letter-spacing:-.035em; }.blotz-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }.blotz-related-image { display:block; overflow:hidden; aspect-ratio:16/10; border-radius:8px; background:#ddd; }.blotz-related-image img { width:100%; height:100%; object-fit:cover; }.blotz-related-card h3 { margin:10px 0 0; color:var(--red); font-size:1.08rem; line-height:1.14; letter-spacing:-.02em; }.blotz-related-card h3 a { text-decoration:none; }
@media (max-width:600px) { .article { padding-top:40px; }.article h1 { font-size:2.4rem; }.article-deck { font-size:1.05rem; }.article-content { font-size:1.06rem; }.blotz-related-grid { grid-template-columns:1fr; }.blotz-related-card { display:grid; grid-template-columns:130px 1fr; gap:13px; align-items:start; }.blotz-related-card h3 { margin:0; }.blotz-related-image { grid-row:span 1; } }

/* Mobile: cards da home aproveitam toda a altura disponível; "Leia também"
   é vertical, com imagem inteira acima do título. */
@media (max-width:600px) {
  .latest .article-card { display:block; }
  .latest .article-card-image { width:100%; min-height:0; height:auto; aspect-ratio:16/10; }
  .latest .article-card-image img { height:100%; object-fit:cover; }
  .blotz-related-card { display:block; }
  .blotz-related-image { display:block; width:100%; height:auto; aspect-ratio:16/10; }
  .blotz-related-card h3 { margin:12px 0 0; }
}
@media (max-width:767px) { .article-content.is-collapsed { position:relative; overflow:hidden; }.article-content.is-collapsed:after { position:absolute; right:0; bottom:0; left:0; height:150px; background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 88%); content:""; pointer-events:none; }.blotz-read-more-enabled .mobile-read-more { display:block; max-width:690px; margin:18px 0 34px; padding:0 14px; }.mobile-read-more button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:18px 20px; border:0; border-radius:4px; background:var(--read-more-bg,#1474f5); color:#fff; cursor:pointer; font:700 1.05rem/1 Arial,Helvetica,sans-serif; letter-spacing:.01em; }.mobile-read-more button:hover { filter:brightness(.88); }.mobile-read-more-icon { font-size:1.5rem; line-height:.55; transform:translateY(-2px); } }

/* Barra de navegação mobile: compacta e independente do menu desktop. */
.mobile-masthead { display:none; }
.header-actions { display:flex; align-items:center; gap:20px; }.desktop-search { display:flex; align-items:center; width:34px; overflow:hidden; border:1px solid transparent; border-radius:999px; transition:width .2s ease,border-color .2s ease; }.desktop-search:focus-within { width:185px; border-color:var(--line); }.desktop-search input { width:0; min-width:0; padding:7px 0; border:0; outline:0; background:transparent; transition:width .2s ease; }.desktop-search:focus-within input { width:140px; padding-left:11px; }.desktop-search button,.mobile-search summary { border:0; background:transparent; cursor:pointer; }.desktop-search button { position:relative; width:34px; height:34px; flex:0 0 34px; }.desktop-search button:before,.mobile-search summary:before { display:block; width:14px; height:14px; border:2px solid currentColor; border-radius:50%; content:""; }.desktop-search button:after,.mobile-search summary:after { position:absolute; width:8px; height:2px; background:currentColor; content:""; transform:rotate(45deg); }.desktop-search button:before { position:absolute; top:7px; left:7px; }.desktop-search button:after { top:22px; left:20px; }.mobile-search { display:none; }

/* O estado aberto prevalece sobre :focus-within: foco já no primeiro clique. */
.desktop-search.is-open,.desktop-search.is-open:focus-within { width:272px; border-color:#d4bc77; }
.desktop-search.is-open input,.desktop-search.is-open:focus-within input { display:block; width:auto; min-width:0; flex:1; padding:8px; border:0; outline:0; }
@media (max-width:600px) {
  .mobile-masthead { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:58px; padding:0 18px; background:var(--red); color:#fff; }
  .mobile-logo { color:#fff; font-size:1.28rem; font-weight:850; letter-spacing:-.055em; text-decoration:none; }
  .mobile-space { justify-self:end; width:58px; }
  .mobile-menu { position:relative; }
  .mobile-menu summary { display:flex; align-items:center; gap:8px; list-style:none; color:#fff; cursor:pointer; font-size:.78rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
  .mobile-menu summary::-webkit-details-marker { display:none; }
  .hamburger,.hamburger:before,.hamburger:after { display:block; width:22px; height:2px; background:currentColor; content:""; }
  .hamburger { position:relative; }.hamburger:before { position:absolute; top:-7px; }.hamburger:after { position:absolute; top:7px; }
  .mobile-menu nav { position:absolute; z-index:30; top:38px; left:-18px; width:min(300px,calc(100vw - 36px)); padding:16px 18px; border:1px solid var(--red); border-radius:0 0 10px 10px; background:#fffdf7; box-shadow:0 14px 28px rgba(0,0,0,.14); }
  .mobile-menu nav ul { display:grid; gap:14px; margin:0; padding:0; list-style:none; }.mobile-menu nav a { color:var(--ink); font-weight:750; text-decoration:none; }
  .header-actions { display:none; }.mobile-search { display:block; position:relative; justify-self:end; }.mobile-search summary { position:relative; display:block; width:34px; height:34px; list-style:none; color:#fff; }.mobile-search summary::-webkit-details-marker { display:none; }.mobile-search summary:before { position:absolute; top:7px; left:6px; }.mobile-search summary:after { position:absolute; top:22px; left:19px; }.mobile-search form { position:absolute; z-index:30; top:42px; right:-18px; display:flex; width:min(310px,calc(100vw - 36px)); padding:11px; border:1px solid var(--red); border-radius:0 0 10px 10px; background:#fffdf7; box-shadow:0 14px 28px rgba(0,0,0,.14); }.mobile-search input { min-width:0; flex:1; padding:10px; border:1px solid var(--line); border-radius:6px; font:inherit; }.mobile-search button { margin-left:7px; padding:0 12px; border:0; border-radius:6px; background:var(--red); color:#fff; font-weight:700; }
  .site-header { display:none; }.topline { display:none; }
  body { border-top:0; }.article { padding-top:38px; }
}
