/* =================================================================
   WEBBLOGER GHOST — CSS fiel à referência https://webbloger.themerex.net
   Fontes: Lato (corpo/UI) + Lora (títulos de posts)
   Cor destaque: #f05123 (laranja do original)
   Tipografia: TODA sans-serif exceto títulos de post que usam Lora
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Lora:ital,wght@0,600;0,700;1,600&display=swap');

/* ---- TOKENS ---- */
:root {
  --orange:      #f05123;
  --orange-dk:   #d83f10;
  --black:       #1d1d1d;
  --gray1:       #444;
  --gray2:       #777;
  --gray3:       #aaa;
  --gray4:       #d8d8d8;
  --bg:          #ffffff;
  --bg-off:      #f5f5f5;
  --bg-dark:     #1d1d1d;

  --ff-ui:       'Lato', sans-serif;
  --ff-post:     'Lora', serif;

  --w:           1200px;
  --sidebar-w:   288px;
  --gap:         28px;
  --hh:          64px;         /* header height */
  --tr:          .2s ease;
}

/* ---- RESET ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--ff-ui);color:var(--black);background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color var(--tr)}
a:hover{color:var(--orange)}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
button{cursor:pointer;font-family:var(--ff-ui)}

/* ---- CONTAINER ---- */
.wrap{max-width:var(--w);margin:0 auto;padding:0 20px}

/* ---- SECTION HEADING — linha preta + título maiúsculo + subtítulo ---- */
.sh {
  display:flex;
  align-items:baseline;
  gap:10px;
  border-bottom:3px solid var(--black);
  padding-bottom:9px;
  margin-bottom:22px;
}
.sh.orange { border-color: var(--orange); }
.sh .sh-title {
  font-family:var(--ff-ui);
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--black);
  line-height:1;
}
.sh .sh-sub {
  font-size:.72rem;
  color:var(--gray2);
  font-style:italic;
}
.sh .sh-more {
  margin-left:auto;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--orange);
}
.sh .sh-more:hover{color:var(--orange-dk)}

/* ---- CATEGORY BADGE ---- */
.badge {
  display:inline-block;
  font-size:.6rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--orange);
  line-height:1;
  margin-bottom:7px;
}
.badge:hover{color:var(--orange-dk)}
.badge.solid{background:var(--orange);color:#fff;padding:3px 9px;border-radius:2px}
.badge.solid:hover{background:var(--orange-dk);color:#fff}

/* ---- META ---- */
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;font-size:.72rem;color:var(--gray2);line-height:1}
.meta a{color:var(--gray2)}
.meta a:hover{color:var(--orange)}
.meta .by{color:var(--gray1);font-weight:700}
.meta .dot{opacity:.35}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar{background:var(--black);padding:6px 0}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between}
.topbar .tb-date{font-size:.68rem;color:rgba(255,255,255,.45);letter-spacing:.04em}
.topbar .tb-social{display:flex;gap:14px}
.topbar .tb-social a{font-size:.72rem;color:rgba(255,255,255,.45);transition:color var(--tr)}
.topbar .tb-social a:hover{color:var(--orange)}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:200;
  background:#fff;
  border-bottom:1px solid var(--gray4);
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.hdr{display:flex;align-items:center;height:var(--hh);gap:20px;min-width:0}

/* Logo */
.logo{display:flex;align-items:center;flex-shrink:1;min-width:0;text-decoration:none}
.logo img{height:38px;width:auto;max-width:160px}
.logo .logo-txt{
  font-family:var(--ff-ui);
  font-size:1.5rem;font-weight:900;
  color:var(--black);letter-spacing:-.01em;
  white-space:nowrap;line-height:1;
  overflow:hidden;text-overflow:ellipsis;min-width:0
}

/* Nav — Ghost gera <ul class="nav"><li class="nav-X"><a>...</a></li></ul> */
.site-nav{flex:1;display:flex;align-items:center}
.site-nav .nav{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.site-nav .nav>li>a{
  display:flex;align-items:center;
  height:var(--hh);padding:0 14px;
  font-size:.72rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--black);white-space:nowrap;
  border-bottom:3px solid transparent;
  transition:color var(--tr),border-color var(--tr);
}
.site-nav .nav>li>a:hover,
.site-nav .nav>li.current>a{color:var(--orange);border-bottom-color:var(--orange)}

/* Header actions */
.hdr-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.btn-srch{background:none;border:none;color:var(--gray1);padding:6px;line-height:0;transition:color var(--tr)}
.btn-srch:hover{color:var(--orange)}
.btn-sub{
  background:var(--orange);color:#fff;border:none;
  padding:8px 18px;
  font-size:.65rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  border-radius:2px;line-height:1;
  transition:background var(--tr)
}
.btn-sub:hover{background:var(--orange-dk)}
.btn-ham{display:none;background:none;border:none;flex-direction:column;gap:5px;padding:4px}
.btn-ham span{display:block;width:22px;height:2px;background:var(--black);border-radius:2px;transition:all .3s}

/* ============================================================
   TICKER
   ============================================================ */
.ticker{background:var(--orange);padding:7px 0;overflow:hidden}
.ticker .wrap{display:flex;align-items:center;gap:14px}
.tkr-label{
  background:rgba(0,0,0,.18);
  font-size:.58rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;
  color:#fff;padding:4px 11px;border-radius:2px;white-space:nowrap;flex-shrink:0
}
.tkr-viewport{overflow:hidden;flex:1}
.tkr-track{
  display:flex;gap:50px;white-space:nowrap;
  animation:tkr 26s linear infinite
}
.tkr-track:hover{animation-play-state:paused}
@keyframes tkr{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.tkr-item{font-size:.75rem;color:#fff;font-weight:600;flex-shrink:0}
.tkr-item a{color:#fff}
.tkr-item a:hover{text-decoration:underline}

/* ============================================================
   COVER PARALLAX
   ============================================================ */
.cover{
  position:relative;height:88vh;min-height:460px;max-height:860px;
  overflow:hidden;display:flex;align-items:center;justify-content:center
}
.cover-bg{
  position:absolute;inset:-25% 0;
  background-size:cover;background-position:center;
  will-change:transform;z-index:0
}
.cover-dim{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.32) 0%,rgba(0,0,0,.16) 40%,rgba(0,0,0,.58) 100%);
  z-index:1
}
.cover-body{
  position:relative;z-index:2;text-align:center;color:#fff;
  padding:0 20px;max-width:680px;
  animation:fadeUp .9s ease both
}
@keyframes fadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
.cover-body h1{
  font-family:var(--ff-ui);
  font-size:clamp(1.8rem,5.5vw,4.8rem);font-weight:900;
  line-height:1.05;letter-spacing:-.02em;
  margin-bottom:14px;text-shadow:0 2px 16px rgba(0,0,0,.35);
  overflow-wrap:break-word;word-break:break-word
}
.cover-body p{
  font-size:clamp(.9rem,1.6vw,1.1rem);font-weight:300;
  color:rgba(255,255,255,.82);margin-bottom:26px;line-height:1.7
}
.cover-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;
  border:2px solid rgba(255,255,255,.5);border-radius:50%;color:#fff;
  animation:bob 2s ease infinite 1.6s;
  transition:border-color var(--tr),background var(--tr)
}
.cover-arrow:hover{border-color:#fff;background:rgba(255,255,255,.12);color:#fff}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}

/* ============================================================
   HERO — post em destaque (full-width image + texto sobre)
   ============================================================ */
.hero{
  position:relative;overflow:hidden;background:#111;
  min-height:460px;display:flex;align-items:flex-end
}
.hero .hi{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;opacity:.68;
  transition:opacity var(--tr),transform 5s ease
}
.hero:hover .hi{transform:scale(1.03);opacity:.58}
.hero .hg{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.84) 0%,rgba(0,0,0,.38) 50%,transparent 85%)
}
.hero-body{
  position:relative;z-index:2;
  padding:40px 44px 44px;max-width:660px
}
.hero-body .badge.solid{margin-bottom:12px}
.hero-body h2{
  font-family:var(--ff-post);
  font-size:clamp(1.4rem,3vw,2.5rem);font-weight:700;
  color:#fff;line-height:1.2;margin-bottom:12px;
  overflow-wrap:break-word;word-break:break-word
}
.hero-body h2 a{color:inherit}
.hero-body h2 a:hover{color:rgba(255,255,255,.82)}
.hero-body .hero-exc{
  color:rgba(255,255,255,.68);font-size:.88rem;
  line-height:1.65;margin-bottom:16px;font-weight:300
}
.hero-body .meta{color:rgba(255,255,255,.55)}
.hero-body .meta a,.hero-body .meta .by{color:rgba(255,255,255,.82)}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.main-wrap{padding:38px 0 60px}
.two-col{
  display:grid;
  grid-template-columns:1fr var(--sidebar-w);
  gap:44px;align-items:start
}

/* ============================================================
   EDITOR'S CHOICE — hero grande + lista de 4 mini-posts
   ============================================================ */
.ec-grid{
  display:grid;
  grid-template-columns:1fr 290px;
  gap:var(--gap);
  margin-bottom:40px
}

/* Mini-lista lateral */
.mini-list{}
.mini-post{
  display:flex;gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--gray4)
}
.mini-post:first-child{border-top:1px solid var(--gray4)}
.mini-post .mt{
  flex-shrink:0;width:72px;height:54px;
  overflow:hidden;border-radius:2px;background:var(--bg-off)
}
.mini-post .mt img{width:100%;height:100%;object-fit:cover;transition:transform var(--tr)}
.mini-post:hover .mt img{transform:scale(1.08)}
.mini-post .mi{}
.mini-post h5{
  font-family:var(--ff-ui);
  font-size:.82rem;font-weight:700;line-height:1.35;
  margin-bottom:4px;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical
}
.mini-post h5 a:hover{color:var(--orange)}

/* ============================================================
   GRID DE CARDS 2 colunas
   ============================================================ */
.posts-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:var(--gap)
}

/* Card padrão */
.card{display:flex;flex-direction:column}
.card .ct{
  display:block;overflow:hidden;
  aspect-ratio:16/10;border-radius:2px;
  background:var(--bg-off);margin-bottom:12px
}
.card .ct img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .ct img{transform:scale(1.05)}
.card h3{
  font-family:var(--ff-post);
  font-size:1.05rem;font-weight:600;line-height:1.3;
  color:var(--black);margin-bottom:7px;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical
}
.card h3 a:hover{color:var(--orange)}
.card .exc{
  font-size:.82rem;color:var(--gray1);line-height:1.6;
  margin-bottom:9px;flex:1;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical
}

/* ============================================================
   SEÇÃO COM DATE-BADGE (lista vertical)
   ============================================================ */
.dlist{}
.dpost{
  display:grid;grid-template-columns:58px 1fr;
  gap:15px;padding:15px 0;
  border-bottom:1px solid var(--gray4);
  align-items:start
}
.dpost:last-child{border-bottom:none}
.dbadge{
  text-align:center;background:var(--bg-off);
  border-top:3px solid var(--orange);
  padding:7px 4px;border-radius:2px
}
.dbadge .dd{
  font-family:var(--ff-ui);
  font-size:1.45rem;font-weight:900;line-height:1;color:var(--orange)
}
.dbadge .dm{
  font-size:.56rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--gray3);margin-top:2px;line-height:1.3
}
.dpost h4{
  font-family:var(--ff-ui);
  font-size:.88rem;font-weight:700;line-height:1.35;margin-bottom:5px
}
.dpost h4 a:hover{color:var(--orange)}
.dpost .dp-exc{
  font-size:.76rem;color:var(--gray1);line-height:1.55;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical
}

/* ============================================================
   BAND SECTIONS (estilo / eletrônicos / viagem)
   ============================================================ */
.bands{padding:36px 0;background:var(--bg-off)}
.band-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.band-main{margin-bottom:12px}
.band-main .bmt{
  aspect-ratio:4/3;overflow:hidden;
  border-radius:2px;margin-bottom:11px;background:var(--gray4)
}
.band-main .bmt img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.band-main:hover .bmt img{transform:scale(1.05)}
.band-main h4{
  font-family:var(--ff-ui);
  font-size:.95rem;font-weight:700;line-height:1.3;margin-bottom:6px
}
.band-main h4 a:hover{color:var(--orange)}
.band-subs{}
.bsub{display:flex;gap:10px;padding:9px 0;border-top:1px solid var(--gray4);align-items:flex-start}
.bsub .bst{flex-shrink:0;width:58px;height:45px;overflow:hidden;border-radius:2px;background:var(--gray4)}
.bsub .bst img{width:100%;height:100%;object-fit:cover;transition:transform var(--tr)}
.bsub:hover .bst img{transform:scale(1.1)}
.bsub h6{font-family:var(--ff-ui);font-size:.78rem;font-weight:700;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bsub h6 a:hover{color:var(--orange)}
.bsub .bsd{font-size:.66rem;color:var(--gray3);margin-top:3px}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.pagination{
  display:flex;align-items:center;justify-content:center;
  gap:5px;padding:32px 0 0;
  border-top:1px solid var(--gray4);margin-top:32px
}
.pn{
  display:flex;align-items:center;justify-content:center;
  min-width:34px;height:34px;padding:0 10px;
  font-size:.72rem;font-weight:700;
  border:1px solid var(--gray4);border-radius:2px;
  color:var(--gray1);background:#fff;
  transition:all var(--tr)
}
.pn:hover,.pn.active{background:var(--orange);border-color:var(--orange);color:#fff}
.pn.prev,.pn.next{letter-spacing:.06em;text-transform:uppercase;font-size:.66rem}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar{
  position:sticky;top:calc(var(--hh) + 18px);
  display:flex;flex-direction:column;gap:30px
}
.wgt{}
.wgt-title{
  font-family:var(--ff-ui);
  font-size:.75rem;font-weight:900;
  letter-spacing:.12em;text-transform:uppercase;
  padding-bottom:9px;margin-bottom:16px;
  border-bottom:3px solid var(--black)
}

/* Widget sobre */
.wgt-about{text-align:center}
.wgt-about .wa-av{
  width:76px;height:76px;border-radius:50%;
  object-fit:cover;margin:0 auto 11px;
  border:3px solid var(--gray4)
}
.wgt-about .wa-name{font-size:.95rem;font-weight:900;margin-bottom:5px}
.wgt-about .wa-bio{font-size:.78rem;color:var(--gray1);line-height:1.6;margin-bottom:11px}
.wgt-about .wa-soc{display:flex;gap:7px;justify-content:center}
.wgt-about .wa-soc a{
  display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border:1px solid var(--gray4);border-radius:50%;
  font-size:.76rem;color:var(--gray2);transition:all var(--tr)
}
.wgt-about .wa-soc a:hover{background:var(--orange);border-color:var(--orange);color:#fff}

/* Widget trending */
.tlist{}
.ti{
  display:flex;gap:11px;
  padding:11px 0;border-bottom:1px solid var(--gray4);
  align-items:flex-start
}
.ti:last-child{border-bottom:none}
.ti .tnum{
  font-family:var(--ff-ui);
  font-size:1.5rem;font-weight:900;line-height:1;
  color:var(--gray4);width:22px;text-align:center;flex-shrink:0;
  transition:color var(--tr)
}
.ti:hover .tnum{color:#f0d4c8}
.ti .tth{
  flex-shrink:0;width:62px;height:48px;
  overflow:hidden;border-radius:2px;background:var(--bg-off)
}
.ti .tth img{width:100%;height:100%;object-fit:cover;transition:transform var(--tr)}
.ti:hover .tth img{transform:scale(1.1)}
.ti h6{font-family:var(--ff-ui);font-size:.78rem;font-weight:700;line-height:1.35;margin-bottom:3px}
.ti h6 a:hover{color:var(--orange)}
.ti .tdt{font-size:.66rem;color:var(--gray3)}

/* Widget categorias */
.clist{}
.ci{
  display:flex;align-items:center;justify-content:space-between;
  padding:9px 0;border-bottom:1px solid var(--gray4);font-size:.82rem
}
.ci:last-child{border-bottom:none}
.ci a{font-weight:600;color:var(--gray1)}
.ci a:hover{color:var(--orange)}
.ci .cn{
  font-size:.66rem;font-weight:700;
  background:var(--bg-off);padding:2px 8px;
  border-radius:20px;color:var(--gray2)
}

/* Widget tags */
.tcloud{display:flex;flex-wrap:wrap;gap:6px}
.tc{
  display:inline-block;padding:4px 12px;
  border:1px solid var(--gray4);border-radius:20px;
  font-size:.72rem;font-weight:600;color:var(--gray1);
  transition:all var(--tr)
}
.tc:hover{background:var(--orange);color:#fff;border-color:var(--orange)}

/* Widget newsletter */
.wgt-nl{background:var(--black);padding:20px;border-radius:2px}
.wgt-nl .wgt-title{color:#fff;border-color:var(--orange)}
.wgt-nl p{font-size:.78rem;color:rgba(255,255,255,.48);line-height:1.6;margin-bottom:14px}
.nl-form{display:flex;flex-direction:column;gap:8px}
.nl-inp{
  width:100%;padding:9px 12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);border-radius:2px;
  color:#fff;font-family:var(--ff-ui);font-size:.8rem;outline:none;
  transition:border-color var(--tr)
}
.nl-inp::placeholder{color:rgba(255,255,255,.28)}
.nl-inp:focus{border-color:var(--orange)}
.nl-btn{
  width:100%;padding:10px;
  background:var(--orange);color:#fff;border:none;border-radius:2px;
  font-family:var(--ff-ui);font-size:.68rem;font-weight:900;
  letter-spacing:.12em;text-transform:uppercase;
  transition:background var(--tr)
}
.nl-btn:hover{background:var(--orange-dk)}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--bg-dark);color:rgba(255,255,255,.6);padding:52px 0 0}
.ft-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:34px;padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.ft-logo{display:block;margin-bottom:12px}
.ft-logo .logo-txt{font-size:1.35rem;font-weight:900;color:#fff;line-height:1}
.ft-about{font-size:.8rem;line-height:1.7;color:rgba(255,255,255,.4);margin-bottom:14px}
.ft-soc{display:flex;gap:8px}
.ft-soc a{
  display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border:1px solid rgba(255,255,255,.1);border-radius:50%;
  color:rgba(255,255,255,.45);font-size:.74rem;transition:all var(--tr)
}
.ft-soc a:hover{background:var(--orange);border-color:var(--orange);color:#fff}
.ft-col-title{
  font-family:var(--ff-ui);
  font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  color:#fff;margin-bottom:16px;padding-bottom:9px;
  border-bottom:2px solid var(--orange)
}
.ft-links{display:flex;flex-direction:column;gap:7px}
.ft-links a{
  font-size:.8rem;color:rgba(255,255,255,.4);
  transition:color var(--tr),padding-left var(--tr)
}
.ft-links a:hover{color:rgba(255,255,255,.85);padding-left:4px}
.ft-bottom{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;font-size:.72rem;color:rgba(255,255,255,.28)
}
.ft-bottom a{color:rgba(255,255,255,.38)}
.ft-bottom a:hover{color:var(--orange)}
.ft-bottom-links{display:flex;gap:16px}

/* ============================================================
   POST INDIVIDUAL
   ============================================================ */
/* ============================================================
   POST — estilo exato da referência Webbloger Style 3
   Estrutura: breadcrumb → categoria → título grande → excerpt
   → linha separadora → autor+data+share → imagem → corpo → tags
   ============================================================ */

/* Breadcrumb */
.post-breadcrumb{
  font-size:.72rem;color:var(--gray2);
  margin-bottom:14px;line-height:1.4;
  overflow-wrap:anywhere;word-break:break-word
}
.post-breadcrumb a{color:var(--gray2)}
.post-breadcrumb a:hover{color:var(--orange)}
.post-breadcrumb .sep{margin:0 7px;opacity:.4}

/* Categoria acima do título */
.post-cat{
  font-size:.68rem;font-weight:900;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--orange);margin-bottom:12px;display:block
}
.post-cat:hover{color:var(--orange-dk)}

/* Título principal */
.post-title{
  font-family:var(--ff-ui);
  font-size:clamp(1.7rem,3.2vw,2.8rem);
  font-weight:900;line-height:1.15;
  letter-spacing:-.02em;
  color:var(--black);margin-bottom:14px;
  overflow-wrap:break-word;word-break:break-word
}

/* Excerpt/subtítulo em itálico */
.post-excerpt{
  font-size:1rem;font-style:italic;
  color:var(--gray1);line-height:1.65;
  margin-bottom:18px;
  border-bottom:1px solid var(--gray4);
  padding-bottom:18px
}

/* Linha com autor + data + share — logo após excerpt */
.post-byline{
  display:flex;align-items:center;
  flex-wrap:wrap;gap:10px 16px;
  padding-bottom:22px;
  border-bottom:1px solid var(--gray4);
  margin-bottom:26px
}
.post-byline .bl-author{
  display:flex;align-items:center;gap:9px
}
.post-byline .bl-avatar{
  width:38px;height:38px;border-radius:50%;
  object-fit:cover;border:2px solid var(--gray4)
}
.post-byline .bl-name{
  font-size:.8rem;font-weight:700;color:var(--black)
}
.post-byline .bl-name span{
  font-weight:400;color:var(--gray2);margin-right:4px
}
.post-byline .bl-date{
  font-size:.78rem;color:var(--gray2)
}
.post-byline .bl-read{
  font-size:.78rem;color:var(--gray2)
}
.post-byline .bl-dot{opacity:.35;font-size:.7rem}

/* Botões de share compactos no byline */
.post-byline .bl-share{
  display:flex;align-items:center;gap:6px;margin-left:auto
}
.post-byline .bl-share-lbl{
  font-size:.66rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.1em;
  color:var(--gray3)
}
.bl-sbtn{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:50%;border:none;
  font-size:.74rem;font-weight:700;
  transition:opacity var(--tr);cursor:pointer;
  font-family:var(--ff-ui)
}
.bl-sbtn:hover{opacity:.8}
.bl-tw{background:#000;color:#fff}
.bl-fb{background:#1877f2;color:#fff}
.bl-wa{background:#25d366;color:#fff}
.bl-cp{background:var(--gray4);color:var(--gray1)}

/* Imagem de capa — largura total, aspect-ratio natural */
.post-feature-img{
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:cover;object-position:center;
  border-radius:2px;
  margin-bottom:28px;
  display:block
}
.post-fi-cap{
  font-size:.74rem;color:var(--gray2);
  font-style:italic;text-align:center;
  margin-top:-20px;margin-bottom:28px
}

/* Corpo do post */
.post-body{font-size:.97rem;line-height:1.82;color:var(--black)}
.post-body h2{font-family:var(--ff-ui);font-size:1.45rem;font-weight:900;margin:2em 0 .6em}
.post-body h3{font-family:var(--ff-ui);font-size:1.18rem;font-weight:900;margin:1.7em 0 .55em}
.post-body h4{font-family:var(--ff-ui);font-size:1rem;font-weight:700;margin:1.5em 0 .5em}
.post-body p{margin-bottom:1.35em}
.post-body a{color:var(--orange);text-decoration:underline;text-underline-offset:2px}
.post-body ul{list-style:disc;padding-left:22px;margin-bottom:1.35em}
.post-body ol{list-style:decimal;padding-left:22px;margin-bottom:1.35em}
.post-body li{margin-bottom:.4em}
.post-body blockquote{
  border-left:4px solid var(--orange);padding:14px 22px;
  margin:1.8em 0;background:var(--bg-off);
  font-size:1.02rem;font-style:italic;color:var(--gray1);
  border-radius:0 2px 2px 0
}
.post-body img{border-radius:2px;margin:1.4em auto;max-width:100%;height:auto}
.post-body figure{margin:1.8em 0;max-width:100%}
.post-body figcaption{font-size:.74rem;color:var(--gray2);text-align:center;margin-top:6px;font-style:italic}
.post-body hr{border:none;border-top:1px solid var(--gray4);margin:2em 0}
.post-body pre{
  background:#1d1d1d;color:#f5f5f5;
  padding:16px 18px;border-radius:2px;
  margin:1.6em 0;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  font-family:'JetBrains Mono','Courier New',monospace;
  font-size:.82rem;line-height:1.55;
  max-width:100%
}
.post-body pre code{background:none;color:inherit;padding:0;font-size:inherit;white-space:pre}
.post-body code{
  background:var(--bg-off);color:var(--orange-dk);
  padding:2px 6px;border-radius:2px;
  font-family:'JetBrains Mono','Courier New',monospace;
  font-size:.85em;
  word-break:break-word
}
.post-body table{
  width:100%;max-width:100%;
  border-collapse:collapse;
  margin:1.6em 0;
  display:block;overflow-x:auto;-webkit-overflow-scrolling:touch
}
.post-body th,.post-body td{
  padding:10px 14px;border:1px solid var(--gray4);
  text-align:left;font-size:.88rem
}
.post-body th{background:var(--bg-off);font-weight:700}
.post-body iframe,.post-body video{max-width:100%}

/* Tags */
.post-tags{
  display:flex;flex-wrap:wrap;align-items:center;gap:7px;
  margin-top:28px;padding-top:22px;border-top:1px solid var(--gray4)
}
.post-tags .tags-lbl{
  font-size:.68rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.1em;
  color:var(--gray2)
}
.ptag{
  display:inline-block;padding:4px 13px;
  border:1px solid var(--gray4);border-radius:20px;
  font-size:.72rem;font-weight:600;color:var(--gray1);
  transition:all var(--tr)
}
.ptag:hover{background:var(--orange);color:#fff;border-color:var(--orange)}

/* Caixa de autor no final */
.author-box{
  display:flex;gap:18px;padding:22px;
  background:var(--bg-off);border-radius:2px;
  margin:32px 0;border-top:3px solid var(--orange)
}
.author-box .ab-av{
  width:72px;height:72px;border-radius:50%;
  object-fit:cover;flex-shrink:0
}
.author-box h4{font-size:.9rem;font-weight:900;margin-bottom:5px}
.author-box .ab-role{
  font-size:.66rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.1em;
  color:var(--orange);margin-bottom:7px;display:block
}
.author-box .ab-bio{font-size:.8rem;color:var(--gray1);line-height:1.6}
.author-box .ab-link{
  font-size:.7rem;font-weight:700;color:var(--orange);
  text-transform:uppercase;letter-spacing:.07em;
  margin-top:8px;display:inline-block
}

/* Posts relacionados */
.related{margin-top:44px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}

/* ============================================================
   ARQUIVO (tag / autor)
   ============================================================ */
.arch-hdr{background:var(--bg-off);padding:40px 0;margin-bottom:36px;border-bottom:1px solid var(--gray4);text-align:center}
.arch-hdr .arch-av{width:80px;height:80px;border-radius:50%;object-fit:cover;margin:0 auto 12px;border:3px solid var(--gray4)}
.arch-hdr h1{font-family:var(--ff-ui);font-size:1.9rem;font-weight:900;margin-bottom:7px}
.arch-hdr .arch-desc{font-size:.88rem;color:var(--gray1);max-width:500px;margin:0 auto}
.arch-hdr .arch-count{font-size:.74rem;color:var(--gray3);margin-top:5px}

/* ============================================================
   BUSCA OVERLAY
   ============================================================ */
.srch-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:999;
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:all .25s
}
.srch-overlay.open{opacity:1;visibility:visible}
.srch-box{width:100%;max-width:560px;padding:0 20px}
.srch-box input{
  width:100%;background:none;border:none;
  border-bottom:2px solid rgba(255,255,255,.3);
  color:#fff;font-family:var(--ff-ui);
  font-size:1.8rem;font-weight:700;padding:13px 0;outline:none;
  transition:border-color var(--tr)
}
.srch-box input:focus{border-color:var(--orange)}
.srch-box input::placeholder{color:rgba(255,255,255,.22)}
.srch-hint{font-size:.7rem;color:rgba(255,255,255,.28);margin-top:7px}
.srch-close{
  position:absolute;top:24px;right:24px;
  background:none;border:none;color:rgba(255,255,255,.45);font-size:1.4rem;
  transition:color var(--tr)
}
.srch-close:hover{color:#fff}

/* ============================================================
   LEITURA
   ============================================================ */
.rbar{
  position:fixed;top:0;left:0;height:3px;
  background:var(--orange);z-index:9999;
  width:0;transition:width .1s linear
}
.btop{
  position:fixed;bottom:26px;right:26px;
  width:38px;height:38px;
  background:var(--orange);color:#fff;border:none;border-radius:2px;
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateY(8px);
  transition:all var(--tr);z-index:500;
  box-shadow:0 3px 10px rgba(240,81,35,.3)
}
.btop.show{opacity:1;transform:translateY(0)}
.btop:hover{background:var(--orange-dk);transform:translateY(-2px)}

/* ============================================================
   GHOST CARD CLASSES — obrigatórias
   ============================================================ */
.kg-width-wide{
  margin-left:calc(50% - 50vw + 20px);
  margin-right:calc(50% - 50vw + 20px);
  max-width:none
}
.kg-width-full{
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  max-width:none;width:100vw
}
.kg-card{margin:1.5em 0}
.kg-image{max-width:100%;margin:0 auto}
.kg-image-card img{border-radius:2px}
.kg-image-card figcaption{font-size:.74rem;color:var(--gray2);text-align:center;margin-top:6px;font-style:italic}
.kg-gallery-card .kg-gallery-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:4px}
.kg-gallery-image img{width:100%;height:100%;object-fit:cover}
.kg-bookmark-card{border:1px solid var(--gray4);border-radius:2px}
.kg-bookmark-container{display:flex;text-decoration:none;color:inherit}
.kg-bookmark-content{padding:14px;flex:1}
.kg-bookmark-title{font-weight:700;font-size:.9rem;margin-bottom:4px}
.kg-bookmark-description{font-size:.8rem;color:var(--gray1)}
.kg-bookmark-thumbnail img{width:130px;object-fit:cover}
.kg-callout-card{display:flex;gap:13px;padding:18px;background:var(--bg-off);border-left:4px solid var(--orange);border-radius:0 2px 2px 0}
.kg-toggle-card summary{cursor:pointer;font-weight:700;padding:11px 0}
.kg-video-card video,.kg-audio-card audio{width:100%;border-radius:2px}

/* ============================================================
   PÁGINA ESTÁTICA
   ============================================================ */
.static-wrap{max-width:760px;margin:56px auto}

/* ============================================================
   404
   ============================================================ */
.e404{min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:60px 20px}
.e404 .e-num{font-family:var(--ff-ui);font-size:7rem;font-weight:900;color:var(--gray4);line-height:1;margin-bottom:16px}
.e404 h1{font-family:var(--ff-ui);font-size:1.7rem;font-weight:900;margin-bottom:10px}
.e404 p{color:var(--gray1);margin-bottom:24px;max-width:380px}
.btn-home{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--orange);color:#fff;padding:11px 26px;
  border-radius:2px;font-weight:700;font-size:.82rem;
  letter-spacing:.07em;text-transform:uppercase;
  transition:background var(--tr)
}
.btn-home:hover{background:var(--orange-dk);color:#fff}

/* ============================================================
   MOBILE
   ============================================================ */
@media(max-width:1024px){
  :root{--sidebar-w:250px}
  .ft-grid{grid-template-columns:1fr 1fr}
  .band-grid{grid-template-columns:1fr 1fr}
  .band-col:last-child{display:none}
}

@media(max-width:768px){
  .topbar{display:none}
  .site-nav{display:none}
  .btn-ham{display:flex}

  /* Logo cabe na header sem nowrap */
  .logo .logo-txt{font-size:1.05rem;white-space:normal;line-height:1.15}
  .site-nav.open{
    display:block;position:fixed;
    inset:0;top:var(--hh);
    background:#fff;z-index:99;overflow-y:auto;padding:20px
  }
  .site-nav.open .nav{flex-direction:column;align-items:flex-start}
  .site-nav.open .nav>li>a{height:auto;line-height:1;padding:13px 0;font-size:.9rem;border:none}

  .ec-grid{grid-template-columns:1fr}
  .ec-aside{display:none}
  .two-col{grid-template-columns:1fr;gap:0}
  .sidebar{position:static;display:none}
  .posts-grid{grid-template-columns:1fr}
  .band-grid{grid-template-columns:1fr}
  .ft-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}

  .hero-body{padding:28px 20px 32px}
  .hero-body h2{font-size:1.55rem}
  .hero-body .hero-exc{display:none}
  .cover-body h1{font-size:2rem}

  /* Post interno */
  .main-wrap{padding:24px 0 44px}
  /* Mobile: respeitar aspect-ratio natural da imagem (sem crop) */
  .post-feature-img{margin-bottom:20px;max-height:none;object-fit:unset;height:auto}
  .post-byline{gap:8px 14px;padding-bottom:18px;margin-bottom:22px}
  .post-byline .bl-share{margin-left:0;width:100%;flex-wrap:wrap}

  /* Author box stack vertical */
  .author-box{
    flex-direction:column;text-align:center;
    gap:12px;padding:20px 18px;margin:28px 0
  }
  .author-box .ab-av{margin:0 auto}

  /* Ghost full/wide width — neutralizar margens negativas */
  .kg-width-wide,
  .kg-width-full{
    margin-left:0;margin-right:0;
    max-width:100%;width:auto
  }
  .kg-width-full{width:100%}

  /* Bookmark card stack */
  .kg-bookmark-container{flex-direction:column}
  .kg-bookmark-thumbnail img{width:100%;height:auto;max-height:180px}

  /* Pre/code */
  .post-body pre{padding:14px;font-size:.76rem}
}

@media(max-width:640px){
  :root{--gap:20px}
  .wrap{padding:0 16px}

  .post-title{font-size:1.55rem;line-height:1.2}
  .post-excerpt{font-size:.92rem;padding-bottom:16px;margin-bottom:16px}
  .post-body{font-size:.93rem;line-height:1.75}
  .post-body h2{font-size:1.25rem;margin:1.6em 0 .5em}
  .post-body h3{font-size:1.08rem;margin:1.4em 0 .5em}
  .post-body h4{font-size:.95rem}
  .post-body blockquote{padding:12px 16px;font-size:.95rem}

  .post-byline{font-size:.75rem}
  .post-byline .bl-avatar{width:34px;height:34px}
  .post-byline .bl-share-lbl{display:none}

  /* Static page */
  .static-wrap{margin:32px auto}
}

@media(max-width:480px){
  .posts-grid{gap:20px}
  .hero{min-height:340px}
  .post-title{font-size:1.4rem}
  .related{margin-top:32px}
  .logo .logo-txt{font-size:.92rem}
  .btn-sub{padding:7px 12px;font-size:.6rem}
  .hdr{gap:10px}
  .hdr-actions{gap:6px}
}
