/*
Theme Name: WDSTec
Theme URI: https://wdstec.com.br/
Author: WDSTec
Description: Tema leve e responsivo inspirado no layout atual da WDSTec, com foco em tecnologia, artigos, afiliados, SEO e desempenho.
Version: 3.0.54
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wdstec
License: GPL-2.0-or-later
*/

/* v2.7.1 — aplica o fundo escuro antes do primeiro paint quando a preferência já está salva. */
html.wd-dark-preload{background:#101114;color-scheme:dark}
html.wd-dark-preload body{background:#101114}

:root{
  --wd-blue:#2f9cf4; /* identidade visual: decoração, fundos, bordas, ícones e estados de destaque */
  --wd-blue-dark:#177fd4; /* azul intermediário para estados visuais */
  --wd-blue-text:#004c8f;
  --wd-blue-text-dark:#5db4f8; /* texto e links funcionais sobre fundos claros (contraste AA) */
  --wd-text:#171717;
  --wd-muted:#666;
  --wd-bg:#fff;
  --wd-soft:#f1f2f7;
  --wd-card:#fff;
  --wd-border:#e6e6e6;
  --wd-shadow:0 2px 12px rgba(0,0,0,.06);
  --wd-radius:10px;
  --wd-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;overflow-x:clip;background:var(--wd-bg);color:var(--wd-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}
body.dark{--wd-text:#f1f1f1;--wd-muted:#bdbdbd;--wd-bg:#101114;--wd-soft:#181a1f;--wd-card:#17191d;--wd-border:#2a2d33;--wd-shadow:0 2px 14px rgba(0,0,0,.3)}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit}
.container{width:min(100% - 32px,var(--wd-max));margin-inline:auto}

/* Top bar */
.wd-topbar{background:#101010;color:#fff;font-size:14px}
.wd-topbar-inner{min-height:44px;display:flex;align-items:center;justify-content:flex-start;gap:12px}
.wd-topbar-date,.wd-clock-wrap{display:flex;gap:7px;align-items:center;font-weight:600}
.wd-clock{font-variant-numeric:tabular-nums}
.wd-topbar-icon{width:15px;height:15px;display:inline-flex;flex:0 0 15px}
.wd-topbar-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Branding */
/* Branding — propriedades estruturais; acabamento consolidado na seção de cabeçalho abaixo. */
.wd-branding-inner{display:flex;justify-content:center;align-items:center}
.custom-logo{width:auto}
.wd-text-logo{display:inline-flex;align-items:center;gap:8px;font-size:42px;font-weight:800;letter-spacing:-2px}
.wd-text-logo .mark{color:var(--wd-blue)}
.wd-tagline{display:block;text-align:center}

/* Main navigation */
/* Navegação — base estrutural; cores, bordas e estados ficam na seção consolidada. */
.wd-nav-inner{min-height:72px;display:flex;align-items:center}
.wd-menu-toggle{color:var(--wd-text);font-size:28px;cursor:pointer;padding:6px}
.wd-main-nav{flex:1}
.wd-main-nav ul{display:flex;align-items:center;justify-content:center;gap:30px;list-style:none;margin:0;padding:0}
.wd-main-nav a{display:block;padding:22px 0;white-space:nowrap}
.wd-main-nav a:hover{color:var(--wd-blue-text)}
.wd-main-nav .current-menu-item>a{color:var(--wd-blue-text)}
.wd-nav-actions{display:flex;align-items:center;gap:10px}
.wd-icon-btn{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--wd-text);cursor:pointer;display:grid;place-items:center;font-size:21px}
.wd-theme-toggle{background:var(--wd-soft)}

/* Content */
.wd-main{padding:30px 0 50px}
.wd-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px}
.wd-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.wd-card{position:relative;background:var(--wd-card);border:1px solid var(--wd-border);border-radius:var(--wd-radius);overflow:hidden;box-shadow:var(--wd-shadow);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.wd-card::after{content:'›';position:absolute;right:16px;top:calc(16px + 16/10 * 0px);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--wd-blue);color:#fff;font-size:25px;line-height:1;opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.wd-card-img{background:#eee;transition:transform .45s ease,filter .35s ease}
.wd-card-body{padding:18px}
.wd-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(0,0,0,.12);border-color:rgba(47,156,244,.35)}
.wd-card:hover .wd-card-img{transform:scale(1.045);filter:saturate(1.04)}
.wd-card:hover::after{opacity:1;transform:translateY(0)}
.wd-card h2{transition:color .25s ease}
.wd-card:hover h2{color:var(--wd-blue-dark)}

/* Back to top */
.wd-back-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--wd-blue);color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.18);font-size:25px;font-weight:700;cursor:pointer;z-index:100;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,visibility .25s ease,transform .25s ease,background .2s ease}
.wd-back-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.wd-back-top:hover{background:var(--wd-blue-dark);transform:translateY(-2px)}
.wd-category{font-size:12px;color:var(--wd-blue-text);font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.wd-card h2{font-size:21px;line-height:1.3;margin:7px 0 10px}
.wd-card p{color:var(--wd-muted);margin:0}
.wd-meta{font-size:13px;color:var(--wd-muted);margin-top:12px}
.wd-section-title{font-size:28px;line-height:1.2;margin:0 0 20px}
.wd-pagination{margin-top:28px}
.wd-pagination .page-numbers{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--wd-border);border-radius:7px;margin-right:6px}
.wd-pagination .current{background:var(--wd-blue);border-color:var(--wd-blue);color:#fff}

/* Sidebar */
.wd-sidebar{display:flex;flex-direction:column;gap:22px}
.wd-widget{background:var(--wd-card);border:1px solid var(--wd-border);border-radius:var(--wd-radius);padding:20px}
.wd-widget-title{font-size:19px;margin:0 0 14px}
.wd-widget ul{list-style:none;margin:0;padding:0}
.wd-widget li{padding:8px 0;border-bottom:1px solid var(--wd-border)}
.wd-widget li:last-child{border-bottom:0}

/* Sidebar responsiva consolidada — v2.7.0.
 * Desktop acompanha a leitura; tablet/mobile volta ao fluxo normal. */
@media (min-width:901px){
  .wd-grid{align-items:start}
  .wd-sidebar{position:sticky;top:88px;align-self:start;height:max-content}
  .wd-sidebar > *{max-width:100%}
}
@media (max-width:900px){
  .wd-sidebar{position:static;top:auto;height:auto}
}

/* Single */
.wd-breadcrumbs{font-size:13px;color:var(--wd-muted);margin-bottom:16px}
.wd-single{background:var(--wd-card);border:1px solid var(--wd-border);border-radius:var(--wd-radius);padding:28px}
.wd-single h1{font-size:clamp(28px,2.7vw,36px);line-height:1.18;margin:0 0 14px}
.wd-single .wd-featured-image{width:100%;height:auto;max-height:none;object-fit:cover;border-radius:8px;margin:22px 0}
.wd-entry-content{font-size:18px;line-height:1.8}
.wd-entry-content h2{font-size:30px;line-height:1.25;margin-top:38px}
.wd-entry-content h3{font-size:23px;margin-top:30px}
.wd-entry-content table{width:100%;border-collapse:collapse;margin:24px 0}
.wd-entry-content th,.wd-entry-content td{border:1px solid var(--wd-border);padding:10px;text-align:left}
.wd-entry-content blockquote{border-left:4px solid var(--wd-blue);margin:24px 0;padding:10px 20px;background:var(--wd-soft)}
.wd-affiliate{background:var(--wd-soft);border:1px solid var(--wd-border);padding:18px;border-radius:10px;margin:25px 0;text-align:center}
.wd-affiliate a{display:inline-block;background:var(--wd-blue);color:#fff;padding:11px 20px;border-radius:7px;font-weight:700}
.wd-related{margin-top:35px}
.wd-related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}

/* Footer */
.wd-footer{background:#101010;color:#fff;margin-top:20px}
.wd-footer-top{padding:45px 0}
.wd-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}
.wd-footer h3{margin-top:0}
.wd-footer p,.wd-footer li{color:#c9c9c9}
.wd-footer ul{list-style:none;padding:0;margin:0}
.wd-footer li{margin:8px 0}
.wd-footer-bottom{border-top:1px solid #2b2b2b;padding:18px 0;font-size:13px;color:#aaa}

/* Mobile */
@media (max-width:900px){
  .wd-grid{grid-template-columns:1fr}
  .wd-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}
  .wd-main-nav{display:none}
  .wd-main-nav.is-open{display:block;position:absolute;left:0;right:0;top:100%;background:var(--wd-bg);border-bottom:1px solid var(--wd-border);z-index:50}
  .wd-main-nav.is-open ul{display:block;padding:10px 20px}
  .wd-main-nav.is-open a{padding:12px 0}
  .wd-nav-inner{position:relative}
  .wd-main-nav.is-open li{border-bottom:1px solid var(--wd-border)}
}
@media (max-width:650px){
  .container{width:min(100% - 20px,var(--wd-max))}
  .wd-branding-inner{min-height:125px}
  .custom-logo{max-height:115px}
  .wd-text-logo{font-size:32px}
  .wd-post-grid,.wd-related-grid,.wd-sidebar,.wd-footer-grid{grid-template-columns:1fr}
  .wd-single{padding:18px}
  .wd-entry-content{font-size:17px}
  .wd-nav-actions .wd-icon-btn{width:38px;height:38px}
}



/* Banner principal automático — 4 posts menores + 1 destaque em carrossel */
.wd-feature-banner{padding:20px 0 30px;background:var(--wd-bg)}
.wd-feature-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:500px}
.wd-feature-left{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.wd-feature-small,.wd-feature-slide{position:relative;overflow:hidden;border-radius:10px;background:#111;min-width:0}
.wd-feature-small>a,.wd-feature-slide>a{display:block;height:100%;color:#fff}
.wd-feature-media,.wd-feature-media img{width:100%;height:100%;display:block}
.wd-feature-media img{object-fit:cover;transition:transform .55s ease,filter .35s ease}
.wd-feature-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03) 20%,rgba(0,0,0,.72) 100%);transition:background .3s ease}
.wd-feature-small:hover .wd-feature-media img,.wd-feature-slide:hover .wd-feature-media img{transform:scale(1.055);filter:saturate(1.05)}
.wd-feature-small:hover .wd-feature-overlay,.wd-feature-slide:hover .wd-feature-overlay{background:linear-gradient(180deg,rgba(0,0,0,.06) 5%,rgba(0,0,0,.82) 100%)}
.wd-feature-title{position:absolute;left:18px;right:18px;bottom:16px;z-index:2}
.wd-feature-title span,.wd-feature-main-content h2{display:inline;background-image:linear-gradient(var(--wd-blue),var(--wd-blue));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;transition:color .25s ease,background-size .38s ease;padding-bottom:4px}
.wd-feature-title span{font-size:18px;line-height:1.25;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.wd-feature-small:hover .wd-feature-title span,.wd-feature-slide:hover .wd-feature-main-content h2{color:var(--wd-blue);background-size:100% 2px}
.wd-feature-main{position:relative;min-width:0;min-height:500px;overflow:hidden;border-radius:10px;background:#111;box-shadow:0 3px 16px rgba(0,0,0,.08)}
.wd-feature-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.01);transition:opacity .5s ease,visibility .5s ease,transform .7s ease}
.wd-feature-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}
.wd-feature-main-content{position:absolute;left:26px;right:26px;bottom:28px;z-index:2}
.wd-feature-main-content h2{font-size:30px;line-height:1.22;margin:0;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45);max-width:85%}
.wd-feature-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e9eef5,#cbd5e1);font-size:42px;font-weight:900;color:#1687e5}.wd-feature-placeholder span{color:#111}
.wd-feature-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(255,255,255,.9);color:#222;display:grid;place-items:center;cursor:pointer;font-size:18px;transition:background .2s ease,color .2s ease,border-color .2s ease}
.wd-feature-arrow:hover{background:var(--wd-blue);border-color:var(--wd-blue);color:#fff}
.wd-feature-prev{left:16px}.wd-feature-next{right:16px}
.wd-feature-dots{position:absolute;z-index:5;left:0;right:0;bottom:13px;display:flex;justify-content:center;gap:6px}
.wd-feature-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.65);cursor:pointer;transition:all .2s ease}.wd-feature-dot.is-active{width:22px;border-radius:8px;background:var(--wd-blue)}
@media (max-width:900px){
  .wd-feature-layout{grid-template-columns:1fr;min-height:0}
  .wd-feature-left{min-height:430px}
  .wd-feature-main{min-height:390px}
}
@media (max-width:650px){
  .wd-feature-banner{padding:12px 0 24px}
  .wd-feature-left{min-height:340px;gap:7px}
  .wd-feature-main{min-height:310px}
  .wd-feature-title{left:12px;right:12px;bottom:12px}.wd-feature-title span{font-size:15px}
  .wd-feature-main-content{left:18px;right:18px;bottom:22px}.wd-feature-main-content h2{font-size:23px;max-width:92%}
  .wd-feature-arrow{width:36px;height:36px;font-size:15px}.wd-feature-prev{left:10px}.wd-feature-next{right:10px}
}

/* v1.5.5 — conteúdo mais estreito e sem rolagem horizontal */
.wd-feature-banner,.wd-main,.wd-site-header,.wd-site-footer{max-width:100%;overflow-x:clip;}
.wd-feature-layout,.wd-feature-left,.wd-feature-main{min-width:0;max-width:100%;}
@media (max-width:1200px){
  .container{width:calc(100% - 40px);max-width:1180px;}
}
@media (max-width:650px){
  .container{width:calc(100% - 20px);}
}


/* Menu lateral / off-canvas */
body.wd-drawer-open{overflow:hidden}
.wd-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:9998;opacity:0;transition:opacity .22s ease}
.wd-drawer-overlay.is-visible{opacity:1}
.wd-drawer{position:fixed;top:0;left:0;width:min(360px,88vw);height:100dvh;background:var(--wd-bg);z-index:9999;transform:translateX(-104%);transition:transform .28s ease;box-shadow:12px 0 30px rgba(0,0,0,.14);overflow-y:auto;padding:18px 10px 28px}
.wd-drawer.is-open{transform:translateX(0)}
.wd-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px 22px}
.wd-drawer-brand{min-height:58px;display:flex;align-items:center;max-width:230px}
.wd-drawer-brand .custom-logo{max-height:70px;max-width:210px;width:auto}
.wd-drawer-brand .wd-tagline{display:none}
.wd-drawer-close{border:0;background:transparent;color:var(--wd-text);font-size:34px;line-height:1;cursor:pointer;padding:0 6px 4px;border-radius:6px}
.wd-drawer-close:hover{color:var(--wd-blue)}
.wd-drawer-nav{background:var(--wd-card);border-radius:6px;padding:8px 18px;box-shadow:var(--wd-shadow)}
.wd-drawer-list{list-style:none;margin:0;padding:0}
.wd-drawer-list li{margin:0;border-bottom:1px solid var(--wd-border)}
.wd-drawer-list li:last-child{border-bottom:0}
.wd-drawer-list a{display:flex;align-items:center;gap:12px;padding:14px 2px;color:var(--wd-text);font-size:15px;transition:color .18s ease,padding-left .18s ease}
.wd-drawer-list a:hover{color:var(--wd-blue);padding-left:4px}
.wd-drawer-chevron{color:var(--wd-blue);font-size:24px;line-height:1;font-weight:400;transform:translateY(-1px)}
@media (max-width:650px){.wd-drawer{width:min(330px,92vw)}}

/* Ajuste do menu lateral quando a barra de administração do WordPress está visível */
body.admin-bar .wd-drawer{top:32px;height:calc(100dvh - 32px)}
body.admin-bar .wd-drawer-overlay{top:32px}
@media (max-width:782px){
  body.admin-bar .wd-drawer{top:46px;height:calc(100dvh - 46px)}
  body.admin-bar .wd-drawer-overlay{top:46px}
}


/* Logos independentes para os modos claro e escuro */
.wd-logo-light{display:block}
.wd-logo-dark{display:none}
body.dark .wd-logo-light{display:none}
body.dark .wd-logo-dark{display:inline-block}
.wd-logo-dark .custom-logo{display:block}


/* v1.6.15 — layout limpo e único para imagens 800x450 (16:9) */
@media (min-width:901px){
  .wd-feature-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    width:100%;
    min-height:0;
    height:auto;
    align-items:start;
  }

  .wd-feature-left{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    width:100%;
    height:auto;
    min-height:0;
  }

  .wd-feature-left .wd-feature-small{
    position:relative;
    width:100%;
    height:auto;
    min-width:0;
    min-height:0;
    aspect-ratio:16 / 9;
    overflow:hidden;
  }

  .wd-feature-main{
    position:relative;
    width:100%;
    height:auto;
    min-width:0;
    min-height:0;
    aspect-ratio:16 / 9;
    overflow:hidden;
  }

  .wd-feature-media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }

  .wd-feature-media img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:cover;
    object-position:center center;
  }
}

/* Cards normais da listagem também seguem 16:9. */
.wd-card-img{
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
  object-position:center center;
}

/* Imagem destacada consolidada na base de Artigos (v2.7.0). */


/* v1.6.16 — banner dividido em 3 áreas controláveis */
@media (min-width:901px){
  .wd-feature-layout-three{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr) !important;
    gap:10px !important;
    align-items:stretch !important;
    width:100% !important;
  }

  .wd-feature-layout-three .wd-feature-stack{
    display:grid !important;
    grid-template-rows:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    min-width:0 !important;
    height:100% !important;
  }

  .wd-feature-layout-three .wd-feature-small{
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  .wd-feature-layout-three .wd-feature-main{
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
    aspect-ratio:16 / 9 !important;
    overflow:hidden !important;
  }

  .wd-feature-layout-three .wd-feature-media{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
  }

  .wd-feature-layout-three .wd-feature-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:var(--wd-object-position, center center) !important;
    transform:none !important;
  }
}

@media (max-width:900px){
  .wd-feature-layout-three{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .wd-feature-layout-three .wd-feature-stack{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .wd-feature-layout-three .wd-feature-small{
    aspect-ratio:16/9;
  }
  .wd-feature-layout-three .wd-feature-main{
    aspect-ratio:16/9;
  }
  .wd-feature-layout-three .wd-feature-media img{
    object-position:var(--wd-object-position, center center);
  }
}

@media (max-width:620px){
  .wd-feature-layout-three .wd-feature-stack{
    grid-template-columns:1fr;
  }
}


/* v1.7.0 — página interna dos artigos */
.wd-single-header{margin-bottom:18px}
.wd-single-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--wd-muted);font-size:14px;margin-top:12px}
.wd-single-meta a{color:var(--wd-blue-text);font-weight:700}
.wd-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.wd-breadcrumbs a:hover{color:var(--wd-blue)}

.wd-single-section{margin-top:38px;padding-top:28px;border-top:1px solid var(--wd-border)}
.wd-section-heading{display:flex;align-items:center;margin-bottom:18px}
.wd-section-heading h2{font-size:24px;margin:0;position:relative;padding-bottom:9px}
.wd-section-heading h2:after{content:"";position:absolute;left:0;bottom:0;width:48px;height:3px;border-radius:3px;background:var(--wd-blue)}

.wd-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:28px}
.wd-tags a{display:inline-flex;background:var(--wd-soft);padding:6px 10px;border-radius:999px;font-size:13px}
.wd-tags a:hover{background:var(--wd-blue);color:#fff}

.wd-share-buttons{display:flex;flex-wrap:wrap;gap:10px}
.wd-share-buttons a{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid var(--wd-border);border-radius:8px;font-weight:700;background:var(--wd-card);transition:.2s ease}
.wd-share-buttons a:hover{background:var(--wd-blue);border-color:var(--wd-blue);color:#fff;transform:translateY(-2px)}

.wd-author-box{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;background:var(--wd-soft);padding:22px;border-radius:12px;border-top:0}
.wd-author-avatar img{border-radius:50%;display:block}
.wd-author-label{font-size:12px;color:var(--wd-muted);text-transform:uppercase;letter-spacing:.7px}
.wd-author-box h2{margin:2px 0 6px;font-size:21px}
.wd-author-box p{margin:0 0 7px;color:var(--wd-muted)}
.wd-author-box a{color:var(--wd-blue-text);font-weight:700}

.wd-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wd-post-nav-item{padding:18px;border:1px solid var(--wd-border);border-radius:10px;background:var(--wd-card)}
.wd-post-nav-item span{display:block;color:var(--wd-muted);font-size:12px;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}
.wd-post-nav-item a{font-weight:800;line-height:1.35}
.wd-post-nav-item a:hover{color:var(--wd-blue-text)}
.wd-post-next{text-align:right}

.wd-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.wd-related-grid .wd-card h2{font-size:17px}

.wd-missed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wd-missed-card{border:1px solid var(--wd-border);border-radius:10px;overflow:hidden;background:var(--wd-card);transition:.2s ease}
.wd-missed-card:hover{transform:translateY(-3px);box-shadow:var(--wd-shadow)}
.wd-missed-img{width:100%;aspect-ratio:16/9;object-fit:cover}
.wd-missed-body{padding:12px}
.wd-missed-body h3{font-size:15px;line-height:1.35;margin:0 0 7px}
.wd-missed-card:hover h3{color:var(--wd-blue-text)}

@media (max-width:900px){
  .wd-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wd-missed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:650px){
  .wd-single h1{font-size:32px}
  .wd-post-nav{grid-template-columns:1fr}
  .wd-post-next{text-align:left}
  .wd-author-box{grid-template-columns:1fr;text-align:center}
  .wd-author-avatar{display:flex;justify-content:center}
  .wd-related-grid,.wd-missed-grid{grid-template-columns:1fr}
}


/* v1.7.1 — “Você Pode Ter Perdido” em carrossel */
.wd-missed-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wd-missed-head .wd-section-heading{margin-bottom:18px}
.wd-missed-controls{display:flex;gap:8px}
.wd-missed-arrow{width:38px;height:38px;border:1px solid var(--wd-border);border-radius:50%;background:var(--wd-card);color:var(--wd-text);font-size:18px;cursor:pointer;transition:.2s ease}
.wd-missed-arrow:hover{background:var(--wd-blue);border-color:var(--wd-blue);color:#fff}
.wd-missed-viewport{overflow:hidden}
.wd-missed-track{display:flex;gap:16px;transition:transform .45s ease;will-change:transform}
.wd-missed-card{flex:0 0 calc((100% - 48px)/4)}
.wd-missed-dots{display:flex;justify-content:center;gap:7px;margin-top:16px}
.wd-missed-dots button{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#c7cbd1;cursor:pointer}
.wd-missed-dots button.is-active{width:22px;border-radius:99px;background:var(--wd-blue)}

@media (max-width:900px){
  .wd-missed-card{flex-basis:calc((100% - 16px)/2)}
}
@media (max-width:620px){
  .wd-missed-card{flex-basis:100%}
  .wd-missed-controls{display:none}
}


/* v1.7.2 — carrossel clean/profissional */
.wd-missed{
  position:relative;
  overflow:visible;
}
.wd-missed-head{
  margin-bottom:4px;
}
.wd-missed-head .wd-section-heading{
  margin-bottom:14px;
}
.wd-missed-head .wd-section-heading h2{
  font-size:25px;
  letter-spacing:-.35px;
}
.wd-missed-controls{
  align-self:flex-end;
  padding-bottom:14px;
}
.wd-missed-arrow{
  width:40px;
  height:40px;
  background:var(--wd-card);
  box-shadow:0 3px 12px rgba(20,35,60,.07);
}
.wd-missed-viewport{
  overflow:hidden;
  margin:0 -5px;
  padding:6px 5px 12px;
}
.wd-missed-track{
  gap:18px;
}
.wd-missed-card{
  flex:0 0 calc((100% - 54px)/4);
  border:0 !important;
  border-radius:12px;
  overflow:hidden;
  background:var(--wd-card);
  box-shadow:0 3px 14px rgba(20,35,60,.08);
  transition:transform .25s ease,box-shadow .25s ease;
}
.wd-missed-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 26px rgba(20,35,60,.14);
}
.wd-missed-card a{
  display:block;
  height:100%;
}
.wd-missed-img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .35s ease;
}
.wd-missed-card:hover .wd-missed-img{
  transform:scale(1.025);
}
.wd-missed-body{
  padding:15px 15px 17px;
}
.wd-missed-body h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:4.05em;
  margin:0;
  font-size:16px;
  line-height:1.35;
  letter-spacing:-.15px;
}
.wd-missed-dots{
  margin-top:8px;
}
.wd-missed-dots button{
  transition:width .2s ease,background .2s ease;
}
body.dark-mode .wd-missed-card{
  box-shadow:0 4px 18px rgba(0,0,0,.22);
}
body.dark-mode .wd-missed-card:hover{
  box-shadow:0 12px 30px rgba(0,0,0,.32);
}

@media (min-width:1000px){
  /* Na parte inferior do artigo, dá mais presença editorial ao bloco */
  .wd-missed{
    width:calc(100vw - 86px);
    max-width:1180px;
  }
}
@media (max-width:900px){
  .wd-missed-card{flex-basis:calc((100% - 18px)/2)}
}
@media (max-width:620px){
  .wd-missed-card{flex-basis:100%}
  .wd-missed-body{padding:13px 14px 15px}
  .wd-missed-body h3{font-size:16px;min-height:auto}
}


/* v1.7.4 — carrossel editorial premium */
.wd-missed{
  position:relative;
  overflow:visible;
}
.wd-missed-head{
  align-items:flex-end;
  margin-bottom:14px;
}
.wd-missed-head .wd-section-heading{
  margin:0;
}
.wd-missed-head .wd-section-heading h2{
  font-size:27px;
  letter-spacing:-.5px;
}
.wd-missed-head .wd-section-heading h2:after{
  width:58px;
  height:3px;
}
.wd-missed-controls{
  display:flex;
  gap:9px;
}
.wd-missed-arrow{
  width:42px;
  height:42px;
  border:1px solid var(--wd-border);
  border-radius:50%;
  background:var(--wd-card);
  box-shadow:0 5px 16px rgba(24,39,75,.09);
  color:var(--wd-text);
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease;
}
.wd-missed-arrow:hover{
  transform:translateY(-2px);
  background:var(--wd-blue);
  border-color:var(--wd-blue);
  color:#fff;
}
.wd-missed-viewport{
  overflow:hidden;
  border-radius:14px;
  padding:5px 2px 16px;
}
.wd-missed-track{
  display:flex;
  gap:18px;
  transform:translateX(0);
  will-change:transform;
}
.wd-missed-card{
  position:relative;
  flex:0 0 calc((100% - 54px)/4);
  aspect-ratio:16/10;
  min-width:0;
  overflow:hidden;
  border:0 !important;
  border-radius:13px;
  background:#111;
  box-shadow:0 6px 20px rgba(25,40,70,.11);
  transition:transform .25s ease,box-shadow .25s ease;
}
.wd-missed-card:hover{
  transform:translateY(-5px);
  box-shadow:0 13px 32px rgba(25,40,70,.17);
}
.wd-missed-card a{
  position:absolute;
  inset:0;
  display:block;
}
.wd-missed-card a:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(5,12,24,.02) 34%,rgba(5,12,24,.82) 100%);
  pointer-events:none;
}
.wd-missed-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
  transition:transform .45s ease;
}
.wd-missed-card:hover .wd-missed-img{
  transform:scale(1.045);
}
.wd-missed-body{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:42px 17px 17px;
  color:#fff;
}
.wd-missed-body h3{
  margin:0;
  min-height:0;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  color:#fff;
  font-size:17px;
  line-height:1.28;
  font-weight:800;
  text-shadow:0 1px 2px rgba(0,0,0,.38);
}
.wd-missed-card:hover .wd-missed-body h3{
  color:#fff;
}
.wd-missed-dots{
  display:flex;
  justify-content:center;
  gap:7px;
  min-height:8px;
  margin-top:2px;
}
.wd-missed-dots button{
  width:7px;
  height:7px;
  border:0;
  border-radius:99px;
  padding:0;
  background:#c6cbd3;
  cursor:pointer;
  transition:width .22s ease,background .22s ease;
}
.wd-missed-dots button.is-active{
  width:24px;
  background:var(--wd-blue);
}
body.dark .wd-missed-card{
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}

@media (max-width:900px){
  .wd-missed-card{flex-basis:calc((100% - 18px)/2)}
}
@media (max-width:620px){
  .wd-missed-card{
    flex-basis:88%;
    aspect-ratio:16/10;
  }
  .wd-missed-controls{display:flex}
  .wd-missed-head .wd-section-heading h2{font-size:23px}
}

/* WDSTec 1.7.4 — acabamento do bloco "Você Pode Ter Perdido" */
.wd-missed-head{position:relative;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--wd-border)}
.wd-missed-head:after{content:"";position:absolute;left:0;bottom:-1px;width:112px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--wd-blue),rgba(55,157,240,.18))}
.wd-missed-head .wd-section-heading{margin:0;position:relative;padding-left:16px}
.wd-missed-head .wd-section-heading:before{content:"";position:absolute;left:0;top:50%;width:5px;height:28px;transform:translateY(-50%);border-radius:99px;background:var(--wd-blue);box-shadow:0 3px 10px rgba(55,157,240,.22)}
.wd-missed-head .wd-section-heading h2{padding:0;font-size:27px;line-height:1.15;font-weight:800;letter-spacing:-.45px}
.wd-missed-head .wd-section-heading h2:after{display:none}
.wd-missed-controls{gap:10px}
.wd-missed-arrow{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid var(--wd-border);box-shadow:0 4px 14px rgba(20,35,60,.07);font-size:17px}

/* Back to top premium */
.wd-back-top{right:24px;bottom:24px;width:50px;height:50px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:linear-gradient(145deg,var(--wd-blue),#187fd2);box-shadow:0 10px 28px rgba(27,126,210,.28),0 2px 7px rgba(0,0,0,.12);font-size:0;overflow:hidden}
.wd-back-top span{position:relative;width:18px;height:18px;display:block}
.wd-back-top span:before,.wd-back-top span:after{content:"";position:absolute;left:50%;transform:translateX(-50%)}
.wd-back-top span:before{top:5px;width:9px;height:9px;border-left:2px solid #fff;border-top:2px solid #fff;transform:translateX(-50%) rotate(45deg)}
.wd-back-top span:after{top:5px;width:2px;height:13px;border-radius:2px;background:#fff}
.wd-back-top:hover{background:linear-gradient(145deg,#4aa9f4,var(--wd-blue));transform:translateY(-4px) scale(1.04);box-shadow:0 14px 32px rgba(27,126,210,.34),0 3px 8px rgba(0,0,0,.13)}
.wd-back-top:active{transform:translateY(-1px) scale(.98)}
.wd-back-top:focus-visible{outline:3px solid rgba(55,157,240,.3);outline-offset:3px}
body.dark .wd-missed-head{border-bottom-color:rgba(255,255,255,.10)}
body.dark .wd-back-top{border-color:rgba(255,255,255,.18);box-shadow:0 10px 30px rgba(0,0,0,.38)}
@media(max-width:620px){.wd-missed-head .wd-section-heading h2{font-size:22px}.wd-missed-head .wd-section-heading:before{height:24px}.wd-back-top{right:16px;bottom:18px;width:46px;height:46px}}


/* v1.7.5 — relacionado manual dentro do artigo */
.wd-inline-related{
  margin:30px 0;
  border:1px solid var(--wd-border);
  border-radius:14px;
  overflow:hidden;
  background:var(--wd-card);
  box-shadow:0 7px 24px rgba(22,38,70,.08);
}
.wd-inline-related > a{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  color:inherit;
  text-decoration:none;
  min-height:142px;
}
.wd-inline-related-media{
  position:relative;
  overflow:hidden;
  background:var(--wd-soft);
}
.wd-inline-related-img{
  display:block;
  width:100%;
  height:100%;
  min-height:142px;
  object-fit:cover;
  transition:transform .35s ease;
}
.wd-inline-related-content{
  position:relative;
  padding:18px 20px 17px;
}
.wd-inline-related-content:before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:3px;
  border-radius:4px;
  background:var(--wd-blue);
}
.wd-inline-related-label{
  display:block;
  margin:0 0 5px 10px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}
.wd-inline-related h3{
  margin:0 0 7px 10px !important;
  font-size:19px !important;
  line-height:1.3;
  letter-spacing:-.2px;
}
.wd-inline-related p{
  margin:0 0 9px 10px !important;
  color:var(--wd-muted);
  font-size:14px;
  line-height:1.45;
}
.wd-inline-related-link{
  display:inline-flex;
  gap:5px;
  align-items:center;
  margin-left:10px;
  color:var(--wd-blue-text);
  font-size:13px;
  font-weight:800;
}
.wd-inline-related:hover{
  box-shadow:0 12px 32px rgba(22,38,70,.14);
}
.wd-inline-related:hover .wd-inline-related-img{
  transform:scale(1.035);
}
.wd-inline-related:hover h3{
  color:var(--wd-blue-text);
}
body.dark .wd-inline-related{
  box-shadow:0 8px 28px rgba(0,0,0,.25);
}

@media(max-width:650px){
  .wd-inline-related > a{
    grid-template-columns:112px minmax(0,1fr);
    min-height:120px;
  }
  .wd-inline-related-img{min-height:120px}
  .wd-inline-related-content{padding:13px 13px 12px}
  .wd-inline-related-content:before{top:13px;bottom:13px}
  .wd-inline-related-label{margin-left:8px}
  .wd-inline-related h3{
    margin-left:8px !important;
    font-size:16px !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .wd-inline-related p{display:none}
  .wd-inline-related-link{margin-left:8px}
}


/* v1.7.7 — destaque visual mais claro para artigo relacionado */
.wd-inline-related{
  position:relative;
  margin:34px 0;
  border:1px solid color-mix(in srgb,var(--wd-blue) 28%,var(--wd-border));
  border-radius:15px;
  overflow:hidden;
  background:linear-gradient(180deg,color-mix(in srgb,var(--wd-blue) 4%,var(--wd-card)),var(--wd-card));
  box-shadow:0 10px 30px rgba(22,38,70,.10);
}
.wd-inline-related:before{
  content:"";
  position:absolute;
  left:0;top:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--wd-blue),#72bfff);
  z-index:3;
}
.wd-inline-related > a{min-height:150px}
.wd-inline-related-content{padding:22px 22px 18px}
.wd-inline-related-content:before{display:none}
.wd-inline-related-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 8px 0;
  padding:6px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--wd-blue) 12%,transparent);
  color:var(--wd-blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
  line-height:1;
}
.wd-inline-related-icon{
  display:inline-grid;
  place-items:center;
  width:18px;height:18px;
  border-radius:50%;
  background:var(--wd-blue);
  color:#fff;
  font-size:11px;
  line-height:1;
}
.wd-inline-related h3{
  margin:0 0 8px 0 !important;
  font-size:20px !important;
  line-height:1.28;
}
.wd-inline-related p{margin:0 0 10px 0 !important}
.wd-inline-related-link{margin-left:0}
.wd-inline-related:hover{
  border-color:color-mix(in srgb,var(--wd-blue) 50%,var(--wd-border));
  box-shadow:0 16px 38px rgba(22,38,70,.16);
  transform:translateY(-2px);
}
body.dark .wd-inline-related{
  background:linear-gradient(180deg,rgba(45,150,235,.08),var(--wd-card));
  border-color:rgba(90,180,245,.25);
}
@media(max-width:650px){
  .wd-inline-related{margin:26px 0}
  .wd-inline-related > a{grid-template-columns:118px minmax(0,1fr)}
  .wd-inline-related-content{padding:15px 14px 13px}
  .wd-inline-related-badge{padding:5px 8px;font-size:10px;letter-spacing:.7px}
  .wd-inline-related-icon{width:16px;height:16px;font-size:10px}
  .wd-inline-related h3{margin-left:0 !important;font-size:16px !important}
  .wd-inline-related-link{margin-left:0}
}


/* =========================================================
   1.7.8 — Links editoriais e links de afiliado
   ========================================================= */

/* Links comuns dentro do corpo do artigo:
   claros, elegantes e reconhecíveis como clicáveis. */
.wd-entry-content p a:not(.wd-related-inline-card):not(.wd-related-inline-link),
.wd-entry-content li a:not(.wd-related-inline-card):not(.wd-related-inline-link),
.wd-entry-content blockquote a {
  color: var(--wd-blue-text);
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--wd-blue) 55%, transparent);
  transition: color .18s ease, text-decoration-color .18s ease, background-color .18s ease;
}

.wd-entry-content p a:hover,
.wd-entry-content li a:hover,
.wd-entry-content blockquote a:hover {
  color: #087fd8;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

/* Acessibilidade por teclado */
.wd-entry-content p a:focus-visible,
.wd-entry-content li a:focus-visible,
.wd-entry-content blockquote a:focus-visible {
  outline: 2px solid var(--wd-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Classe opcional para links de afiliado.
   No editor do WordPress, em Avançado > Classe(s) CSS adicional(is),
   use: wdstec-affiliate-link */
.wd-entry-content a.wdstec-affiliate-link {
  display: inline;
  color: var(--wd-blue-text);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  padding: 1px 3px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--wd-blue) 9%, transparent);
}

.wd-entry-content a.wdstec-affiliate-link:hover {
  background: color-mix(in srgb, var(--wd-blue) 15%, transparent);
}

/* Tema escuro */
body.dark-mode .wd-entry-content p a,
body.dark-mode .wd-entry-content li a,
body.dark-mode .wd-entry-content blockquote a,
body.dark-mode .wd-entry-content a.wdstec-affiliate-link,
html[data-theme="dark"] .wd-entry-content p a,
html[data-theme="dark"] .wd-entry-content li a,
html[data-theme="dark"] .wd-entry-content blockquote a,
html[data-theme="dark"] .wd-entry-content a.wdstec-affiliate-link {
  color: #62b8ff;
  text-decoration-color: rgba(98,184,255,.65);
}

/* Não transformar o card de artigo relacionado em link textual sublinhado. */
.wd-entry-content .wd-related-inline-card,
.wd-entry-content .wd-related-inline-card a,
.wd-entry-content .wd-related-inline-link {
  text-decoration: none;
}


/* =========================================================
   v1.7.9 — Navegação principal profissional
   ========================================================= */

/* Sticky inteligente: topbar e logo rolam normalmente; só o menu permanece. */
.wd-nav-wrap{
  position:sticky;
  top:0;
  z-index:900;
  transition:box-shadow .25s ease,background-color .25s ease,border-color .25s ease;
}
body.admin-bar .wd-nav-wrap{top:32px}
.wd-nav-wrap.is-stuck{
  background:color-mix(in srgb,var(--wd-bg) 94%,transparent);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  box-shadow:0 8px 24px rgba(20,35,60,.08);
}
body.dark .wd-nav-wrap.is-stuck{box-shadow:0 10px 28px rgba(0,0,0,.28)}

.wd-nav-inner{
  transition:min-height .24s ease;
}
.wd-nav-wrap.is-stuck .wd-nav-inner{min-height:60px}

/* Hamburger mais refinado */
.wd-menu-toggle{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.wd-menu-toggle:hover{
  background:var(--wd-soft);
  color:var(--wd-blue);
}
.wd-menu-toggle:active{transform:scale(.96)}
.wd-hamburger{width:21px;height:16px;display:flex;flex-direction:column;justify-content:space-between}
.wd-hamburger span{display:block;width:100%;height:2px;border-radius:4px;background:currentColor}

/* Links principais: linha azul abre do centro para as laterais */
.wd-main-nav>ul>li{position:relative}
.wd-main-nav>ul>li>a{
  position:relative;
  padding:23px 0 21px;
  font-weight:500;
  transition:color .2s ease;
}
.wd-nav-wrap.is-stuck .wd-main-nav>ul>li>a{padding-top:17px;padding-bottom:17px}
.wd-main-nav>ul>li>a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:13px;
  width:0;
  height:2px;
  border-radius:99px;
  background:var(--wd-blue);
  transform:translateX(-50%);
  transition:width .24s cubic-bezier(.2,.7,.2,1);
}
.wd-nav-wrap.is-stuck .wd-main-nav>ul>li>a::after{bottom:8px}
.wd-main-nav>ul>li:hover>a,
.wd-main-nav>ul>li:focus-within>a,
.wd-main-nav>ul>.current-menu-item>a,
.wd-main-nav>ul>.current-menu-parent>a,
.wd-main-nav>ul>.current-menu-ancestor>a{
  color:var(--wd-blue-text);
}
.wd-main-nav>ul>li:hover>a::after,
.wd-main-nav>ul>li:focus-within>a::after,
.wd-main-nav>ul>.current-menu-item>a::after,
.wd-main-nav>ul>.current-menu-parent>a::after,
.wd-main-nav>ul>.current-menu-ancestor>a::after{
  width:100%;
}

/* Pequena seta automática quando houver submenu */
.wd-main-nav .menu-item-has-children>a{
  display:flex;
  align-items:center;
  gap:6px;
}
.wd-main-nav .menu-item-has-children>a::before{
  content:"";
  order:2;
  width:6px;
  height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}
.wd-main-nav .menu-item-has-children:hover>a::before,
.wd-main-nav .menu-item-has-children:focus-within>a::before{
  transform:rotate(225deg) translate(-1px,-1px);
}

/* Dropdown */
.wd-main-nav>ul>li>ul.sub-menu{
  position:absolute;
  z-index:950;
  left:50%;
  top:calc(100% - 6px);
  min-width:230px;
  display:block;
  padding:9px;
  margin:0;
  border:1px solid var(--wd-border);
  border-radius:12px;
  background:var(--wd-card);
  box-shadow:0 16px 38px rgba(20,35,60,.14);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,9px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
body.dark .wd-main-nav>ul>li>ul.sub-menu{box-shadow:0 18px 40px rgba(0,0,0,.38)}
.wd-main-nav>ul>li:hover>ul.sub-menu,
.wd-main-nav>ul>li:focus-within>ul.sub-menu{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
  pointer-events:auto;
}
.wd-main-nav ul.sub-menu li{width:100%;position:relative}
.wd-main-nav ul.sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:var(--wd-text);
  font-size:14px;
  line-height:1.35;
  white-space:normal;
  transition:background .18s ease,color .18s ease,padding-left .18s ease;
}
.wd-main-nav ul.sub-menu a:hover,
.wd-main-nav ul.sub-menu .current-menu-item>a{
  padding-left:15px;
  background:var(--wd-soft);
  color:var(--wd-blue-text);
}
.wd-main-nav ul.sub-menu .menu-item-has-children>a::before{display:none}

/* Ações do menu: busca + tema com mesma linguagem visual */
.wd-nav-actions{gap:8px}
.wd-icon-btn{
  width:42px;
  height:42px;
  border:1px solid transparent;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.wd-icon-btn svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wd-search-toggle{background:transparent}
.wd-search-toggle:hover,
.wd-search-toggle[aria-expanded="true"]{
  color:var(--wd-blue);
  background:var(--wd-soft);
  border-color:color-mix(in srgb,var(--wd-blue) 20%,transparent);
}
.wd-theme-toggle{
  border-color:var(--wd-border);
  box-shadow:0 2px 8px rgba(20,35,60,.04);
}
.wd-icon-btn:hover{transform:translateY(-1px)}
.wd-icon-btn:active{transform:scale(.96)}

/* Painel de busca mais elegante */
.wd-search-panel{
  position:relative;
  z-index:880;
  background:var(--wd-card);
  border-bottom:1px solid var(--wd-border);
  box-shadow:0 10px 25px rgba(20,35,60,.08);
}
body.dark .wd-search-panel{box-shadow:0 12px 28px rgba(0,0,0,.3)}
.wd-search-panel form{
  max-width:720px;
  margin-inline:auto;
}
.wd-search-panel input[type="search"]{
  border-radius:10px;
  min-height:46px;
}

/* Foco por teclado */
.wd-menu-toggle:focus-visible,
.wd-icon-btn:focus-visible,
.wd-main-nav a:focus-visible{
  outline:2px solid var(--wd-blue);
  outline-offset:3px;
}

/* Mobile mantém o drawer existente — sem dropdown flutuante. */
@media(max-width:900px){
  .wd-nav-wrap{position:sticky}
  body.admin-bar .wd-nav-wrap{top:46px}
  .wd-main-nav>ul>li>a::after{display:none}
  .wd-main-nav>ul>li>ul.sub-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    min-width:0;
    border:0;
    box-shadow:none;
    padding:0 0 0 14px;
    background:transparent;
  }
  .wd-main-nav .menu-item-has-children>a::before{display:none}
}
@media(max-width:782px){
  body.admin-bar .wd-nav-wrap{top:46px}
}


/* =========================================================
   2.5 — acabamento consolidado da navegação
   Mantém o hover da 1.7.9 intacto.
   ========================================================= */

/* Fundo levemente diferente do cabeçalho + sensação de camada */
.wd-nav-wrap{
  background:color-mix(in srgb,var(--wd-card) 96%,var(--wd-blue) 4%);
  border-top:1px solid color-mix(in srgb,var(--wd-border) 78%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--wd-border) 88%,transparent);
}
body.dark .wd-nav-wrap{
  background:color-mix(in srgb,var(--wd-card) 94%,#0d1b2b 6%);
}

/* Estado normal dos links ganha mais acabamento */
.wd-main-nav>ul>li>a{
  border-radius:9px;
  padding-left:10px;
  padding-right:10px;
}

/* Item atual: fundo azul suave permanente, sem virar botão pesado */
.wd-main-nav>ul>.current-menu-item>a,
.wd-main-nav>ul>.current-menu-parent>a,
.wd-main-nav>ul>.current-menu-ancestor>a{
  background:color-mix(in srgb,var(--wd-blue) 9%,transparent);
  color:var(--wd-blue-text);
  font-weight:650;
}
body.dark .wd-main-nav>ul>.current-menu-item>a,
body.dark .wd-main-nav>ul>.current-menu-parent>a,
body.dark .wd-main-nav>ul>.current-menu-ancestor>a{
  background:color-mix(in srgb,var(--wd-blue) 14%,transparent);
}

/* Mantém a linha azul da 1.7.9 e deixa o item ativo um pouco mais refinado */
.wd-main-nav>ul>.current-menu-item>a::after,
.wd-main-nav>ul>.current-menu-parent>a::after,
.wd-main-nav>ul>.current-menu-ancestor>a::after{
  width:calc(100% - 20px);
}

/* Hamburger agora conversa visualmente com busca e modo escuro */
.wd-menu-toggle{
  border:1px solid var(--wd-border);
  background:var(--wd-card);
  box-shadow:0 2px 9px rgba(20,35,60,.05);
}
.wd-menu-toggle:hover{
  background:var(--wd-soft);
  border-color:color-mix(in srgb,var(--wd-blue) 25%,var(--wd-border));
  box-shadow:0 5px 14px rgba(20,35,60,.08);
}
body.dark .wd-menu-toggle{
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}

/* Busca também recebe moldura discreta mesmo sem hover */
.wd-search-toggle{
  border-color:var(--wd-border);
  background:var(--wd-card);
  box-shadow:0 2px 9px rgba(20,35,60,.04);
}
body.dark .wd-search-toggle{
  box-shadow:0 3px 12px rgba(0,0,0,.16);
}

/* Pequeno respiro lateral para a barra parecer mais bem composta */
.wd-nav-inner{
  gap:18px;
}

/* Quando sticky, reforça sutilmente a camada sem alterar o hover */
.wd-nav-wrap.is-stuck{
  border-bottom-color:color-mix(in srgb,var(--wd-blue) 18%,var(--wd-border));
}

/* Mobile: mantém o visual limpo e evita o fundo ativo excessivo no drawer */
@media(max-width:900px){
  .wd-main-nav>ul>li>a{
    padding-left:8px;
    padding-right:8px;
  }
  .wd-main-nav>ul>.current-menu-item>a,
  .wd-main-nav>ul>.current-menu-parent>a,
  .wd-main-nav>ul>.current-menu-ancestor>a{
    background:color-mix(in srgb,var(--wd-blue) 7%,transparent);
  }
}


/* =========================================================
   v1.8.1 — Artigos Recentes editorial
   ========================================================= */
.wd-recent-editorial{
  margin-bottom:42px;
}
.wd-recent-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
  padding-bottom:13px;
  border-bottom:1px solid var(--wd-border);
  position:relative;
}
.wd-recent-heading:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:92px;
  height:3px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--wd-blue),#75c1ff);
}
.wd-recent-kicker{
  display:block;
  margin-bottom:3px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.25px;
  text-transform:uppercase;
}
.wd-recent-heading h1{
  margin:0;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.6px;
}
.wd-recent-all{
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:7px 0;
  color:var(--wd-blue-text);
  font-size:16px;
  font-weight:800;
  white-space:nowrap;
}
.wd-recent-all span,
.wd-recent-read span,
.wd-recent-mini-link span{
  color:inherit;
  transition:transform .2s ease;
}
.wd-recent-all:hover span,
.wd-recent-main:hover .wd-recent-read span,
.wd-recent-mini:hover .wd-recent-mini-link span{
  transform:translateX(4px);
}

/* Composição: 1 destaque + 2 notícias secundárias */
.wd-recent-layout{
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(245px,.75fr);
  gap:16px;
  align-items:stretch;
}

/* Destaque principal */
.wd-recent-main{
  position:relative;
  height:330px;
  min-height:330px;
  overflow:hidden;
  border-radius:15px;
  background:#111;
  box-shadow:0 10px 30px rgba(20,35,60,.12);
}
.wd-recent-main>a{
  position:absolute;
  inset:0;
  display:block;
}
.wd-recent-main-media,
.wd-recent-main-shade{
  position:absolute;
  inset:0;
}
.wd-recent-main-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}
.wd-recent-main-shade{
  background:
    linear-gradient(90deg,rgba(8,14,25,.05) 25%,rgba(8,14,25,.38) 58%,rgba(8,14,25,.88) 100%),
    linear-gradient(0deg,rgba(8,14,25,.42),transparent 45%);
}
.wd-recent-main-content{
  position:absolute;
  z-index:2;
  right:0;
  top:0;
  bottom:0;
  width:min(46%,390px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  color:#fff;
}
.wd-recent-main-content h2{
  margin:0 0 12px;
  color:#fff;
  font-size:28px;
  line-height:1.23;
  letter-spacing:-.5px;
}
.wd-recent-main-content p{
  margin:0 0 18px;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.55;
}
.wd-recent-read{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  color:#fff;
  font-size:16px;
  font-weight:800;
  padding-bottom:3px;
  border-bottom:2px solid var(--wd-blue);
}
.wd-recent-main:hover .wd-recent-main-img{
  transform:scale(1.035);
}

/* 2 artigos secundários, empilhados ao lado do destaque */
.wd-recent-mini-grid{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:0;
  min-width:0;
}
.wd-recent-mini{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--wd-border);
  border-radius:12px;
  background:var(--wd-card);
  box-shadow:0 4px 15px rgba(20,35,60,.055);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.wd-recent-mini>a{
  display:grid;
  grid-template-columns:44% minmax(0,1fr);
  height:100%;
  color:var(--wd-text);
}
.wd-recent-mini-media{
  aspect-ratio:auto;
  height:100%;
  overflow:hidden;
  background:var(--wd-soft);
}
.wd-recent-mini-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.wd-recent-mini-body{
  padding:14px 15px 15px;
}
.wd-recent-mini h3{
  margin:0 0 9px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.7em;
  font-size:16px;
  line-height:1.35;
  letter-spacing:-.15px;
  transition:color .2s ease;
}
.wd-recent-mini-link{
  display:inline-flex;
  gap:5px;
  align-items:center;
  color:var(--wd-blue-text);
  font-size:16px;
  font-weight:800;
  opacity:1;
}
.wd-recent-mini:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--wd-blue) 28%,var(--wd-border));
  box-shadow:0 11px 28px rgba(20,35,60,.11);
}
.wd-recent-mini:hover .wd-recent-mini-img{
  transform:scale(1.04);
}
.wd-recent-mini:hover h3{
  color:var(--wd-blue-text);
}
.wd-recent-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:var(--wd-soft);
  font-size:28px;
  font-weight:900;
}
.wd-recent-placeholder span{color:var(--wd-blue)}

.wd-home-all-posts{
  padding-top:8px;
}
.wd-home-all-posts>.wd-section-title{
  padding-top:4px;
}

/* Tema escuro */
body.dark .wd-recent-main{
  box-shadow:0 13px 34px rgba(0,0,0,.30);
}
body.dark .wd-recent-mini{
  box-shadow:0 5px 18px rgba(0,0,0,.20);
}
body.dark .wd-recent-mini:hover{
  box-shadow:0 13px 30px rgba(0,0,0,.32);
}

/* Responsivo */
@media(max-width:900px){
  .wd-recent-layout{grid-template-columns:1fr}
  .wd-recent-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .wd-recent-mini>a{display:block;height:auto}
  .wd-recent-mini-media{aspect-ratio:16/9;height:auto}
  .wd-recent-main{
    height:320px;
    min-height:320px;
  }
  .wd-recent-main-content{
    width:52%;
    padding:27px;
  }
  .wd-recent-main-content h2{
    font-size:24px;
  }
}
@media(max-width:680px){
  .wd-recent-layout{gap:12px}
  .wd-recent-heading h1{font-size:24px}
  .wd-recent-main{
    height:360px;
    min-height:360px;
  }
  .wd-recent-main-shade{
    background:linear-gradient(0deg,rgba(7,13,23,.92) 0%,rgba(7,13,23,.58) 52%,rgba(7,13,23,.05) 100%);
  }
  .wd-recent-main-content{
    top:auto;
    width:auto;
    height:auto;
    left:0;
    right:0;
    bottom:0;
    padding:22px;
  }
  .wd-recent-main-content h2{font-size:23px}
  .wd-recent-main-content p{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .wd-recent-mini-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .wd-recent-mini>a{
    display:grid;
    grid-template-columns:128px minmax(0,1fr);
    min-height:104px;
  }
  .wd-recent-mini-media{
    aspect-ratio:auto;
    height:100%;
  }
  .wd-recent-mini h3{
    min-height:0;
    font-size:15px;
  }
}


/* =========================================================
   v1.8.2 — Artigos Recentes mais editorial + sidebar sem busca
   ========================================================= */

/* Cabeçalho da seção: remove o kicker e reforça a identidade */
.wd-recent-heading{
  margin-bottom:22px;
  padding-bottom:15px;
  align-items:center;
}
.wd-recent-title-wrap{
  position:relative;
  padding-left:16px;
}
.wd-recent-title-wrap:before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--wd-blue),#72c2ff);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--wd-blue) 7%,transparent);
}
.wd-recent-heading h1{
  margin:0;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.75px;
  font-weight:850;
}
.wd-recent-heading:after{
  left:16px;
  width:76px;
  height:3px;
  background:linear-gradient(90deg,var(--wd-blue),color-mix(in srgb,var(--wd-blue) 30%,transparent));
}
.wd-recent-all{
  padding:9px 13px;
  border-radius:999px;
  background:color-mix(in srgb,var(--wd-blue) 7%,transparent);
  transition:background .2s ease,transform .2s ease;
}
.wd-recent-all:hover{
  background:color-mix(in srgb,var(--wd-blue) 13%,transparent);
  transform:translateY(-1px);
}

/* Dá mais separação editorial ao bloco sem ficar pesado */
.wd-recent-editorial{
  position:relative;
  padding:0;
}
.wd-recent-editorial:before{
  content:"";
  position:absolute;
  left:-18px;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(180deg,transparent,var(--wd-border) 12%,var(--wd-border) 88%,transparent);
  opacity:.75;
}

/* Como a busca saiu da sidebar, o primeiro bloco lateral sobe mais clean */
.wd-sidebar > *:first-child{
  margin-top:0;
}

/* Tema escuro */
body.dark .wd-recent-all{
  background:color-mix(in srgb,var(--wd-blue) 12%,transparent);
}

@media(max-width:680px){
  .wd-recent-heading h1{font-size:26px}
  .wd-recent-title-wrap{padding-left:13px}
  .wd-recent-title-wrap:before{width:3px}
  .wd-recent-editorial:before{display:none}
}


/* v1.8.4 — página Todos os Artigos */
.wd-archive-heading{
  margin-bottom:22px;
}
.wd-archive-heading .wd-section-title{
  margin-bottom:7px;
}
.wd-archive-heading p{
  margin:0;
  color:var(--wd-muted);
  font-size:15px;
}


/* =========================================================
   v1.8.5 — rota /artigos/ + 404 profissional
   ========================================================= */

.wd-artigos-heading{
  position:relative;
  padding-left:16px;
}
.wd-artigos-heading:before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--wd-blue),#72c2ff);
}
.wd-archive-kicker{
  display:block;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:4px;
}

/* 404 */
.wd-404-page{
  padding-top:40px;
  padding-bottom:60px;
}
.wd-404-card{
  position:relative;
  overflow:hidden;
  max-width:900px;
  margin:0 auto;
  padding:62px 48px;
  text-align:center;
  border:1px solid var(--wd-border);
  border-radius:20px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb,var(--wd-blue) 10%,transparent), transparent 42%),
    var(--wd-card);
  box-shadow:0 16px 44px rgba(20,35,60,.08);
}
.wd-404-code{
  position:absolute;
  left:50%;
  top:-42px;
  transform:translateX(-50%);
  color:color-mix(in srgb,var(--wd-blue) 6%,transparent);
  font-size:190px;
  line-height:1;
  font-weight:900;
  letter-spacing:-12px;
  pointer-events:none;
  user-select:none;
}
.wd-404-icon{
  position:relative;
  z-index:1;
  width:74px;
  height:74px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--wd-blue);
  background:color-mix(in srgb,var(--wd-blue) 9%,var(--wd-card));
  box-shadow:0 8px 24px rgba(32,150,243,.12);
}
.wd-404-icon svg{
  width:38px;
  height:38px;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
}
.wd-404-label{
  position:relative;
  z-index:1;
  display:inline-block;
  margin-bottom:8px;
  color:var(--wd-blue-text);
  font-size:12px;
  font-weight:850;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.wd-404-card h1{
  position:relative;
  z-index:1;
  max-width:650px;
  margin:0 auto 14px;
  font-size:38px;
  line-height:1.15;
  letter-spacing:-1px;
}
.wd-404-card>p{
  position:relative;
  z-index:1;
  max-width:650px;
  margin:0 auto 26px;
  color:var(--wd-muted);
  font-size:16px;
  line-height:1.65;
}
.wd-404-actions{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}
.wd-404-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border-radius:10px;
  font-weight:800;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.wd-404-primary{
  color:#fff !important;
  background:var(--wd-blue);
  box-shadow:0 8px 18px rgba(32,150,243,.20);
}
.wd-404-secondary{
  color:var(--wd-text) !important;
  border:1px solid var(--wd-border);
  background:var(--wd-card);
}
.wd-404-actions a:hover{
  transform:translateY(-2px);
}
.wd-404-search{
  position:relative;
  z-index:1;
  max-width:520px;
  margin:30px auto 0;
  padding-top:24px;
  border-top:1px solid var(--wd-border);
}
.wd-404-search form{
  display:flex;
  gap:8px;
}
.wd-404-search input[type="search"]{
  flex:1;
  min-width:0;
  min-height:44px;
  border:1px solid var(--wd-border);
  border-radius:9px;
  padding:0 14px;
  background:var(--wd-bg);
  color:var(--wd-text);
}
.wd-404-search button,
.wd-404-search input[type="submit"]{
  border:0;
  border-radius:9px;
  padding:0 18px;
  background:var(--wd-blue);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
body.dark .wd-404-card{
  box-shadow:0 18px 48px rgba(0,0,0,.30);
}

@media(max-width:650px){
  .wd-404-page{padding-top:24px}
  .wd-404-card{padding:48px 22px}
  .wd-404-code{font-size:130px;top:-25px}
  .wd-404-card h1{font-size:30px}
  .wd-404-search form{flex-direction:column}
  .wd-404-search button,
  .wd-404-search input[type="submit"]{min-height:44px}
}


/* =========================================================
   v1.8.6 — identificação visual explícita do Erro 404
   ========================================================= */
.wd-404-number{
  position:relative;
  z-index:1;
  margin:0 auto 4px;
  color:var(--wd-blue);
  font-size:clamp(72px,10vw,118px);
  line-height:.9;
  font-weight:900;
  letter-spacing:-6px;
  text-shadow:0 10px 30px rgba(32,150,243,.12);
}
.wd-404-number + .wd-404-label{
  margin-top:14px;
}
.wd-404-code{
  opacity:.55;
}
@media(max-width:650px){
  .wd-404-number{
    font-size:76px;
    letter-spacing:-4px;
  }
}


/* =========================================================
   v1.8.7 — página Todos os Artigos
   ========================================================= */
.wd-all-articles-page{
  padding-top:34px;
}
.wd-all-articles-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,380px);
  gap:34px;
  align-items:end;
  margin-bottom:30px;
  padding:28px 30px;
  border:1px solid var(--wd-border);
  border-radius:18px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--wd-blue) 7%,transparent),transparent 50%),
    var(--wd-card);
  box-shadow:0 10px 30px rgba(20,35,60,.055);
}
.wd-all-articles-label{
  display:block;
  margin-bottom:7px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:850;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.wd-all-articles-hero h1{
  margin:0 0 9px;
  font-size:38px;
  line-height:1.08;
  letter-spacing:-1px;
}
.wd-all-articles-hero p{
  max-width:680px;
  margin:0;
  color:var(--wd-muted);
  font-size:15px;
  line-height:1.6;
}
.wd-all-articles-search form{
  display:flex;
  gap:8px;
}
.wd-all-articles-search input[type="search"]{
  flex:1;
  min-width:0;
  min-height:46px;
  padding:0 14px;
  border:1px solid var(--wd-border);
  border-radius:10px;
  background:var(--wd-bg);
  color:var(--wd-text);
}
.wd-all-articles-search button,
.wd-all-articles-search input[type="submit"]{
  min-height:46px;
  padding:0 16px;
  border:0;
  border-radius:10px;
  background:var(--wd-blue);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.wd-all-articles-grid{
  gap:20px;
}
.wd-all-articles-grid .wd-card{
  transition:transform .24s ease,box-shadow .24s ease;
}
.wd-all-articles-grid .wd-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(20,35,60,.11);
}
.wd-all-articles-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:30px;
}
.wd-all-articles-pagination .page-numbers{
  min-width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border:1px solid var(--wd-border);
  border-radius:9px;
  background:var(--wd-card);
  color:var(--wd-text);
  font-weight:750;
}
.wd-all-articles-pagination .page-numbers.current,
.wd-all-articles-pagination .page-numbers:hover{
  background:var(--wd-blue);
  border-color:var(--wd-blue);
  color:#fff;
}
.wd-empty-state{
  padding:50px 30px;
  text-align:center;
  border:1px solid var(--wd-border);
  border-radius:14px;
  background:var(--wd-card);
}
body.dark .wd-all-articles-hero{
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}

@media(max-width:900px){
  .wd-all-articles-hero{
    grid-template-columns:1fr;
    gap:20px;
  }
}
@media(max-width:650px){
  .wd-all-articles-page{padding-top:22px}
  .wd-all-articles-hero{padding:22px 18px}
  .wd-all-articles-hero h1{font-size:31px}
  .wd-all-articles-search form{flex-direction:column}
}


/* =========================================================
   v1.8.8 — Cards profissionais da página /artigos/
   ========================================================= */

.wd-all-articles-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

/* Card editorial, exclusivo da página Todos os Artigos */
.wd-article-card{
  min-width:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--wd-border) 88%,transparent);
  border-radius:15px;
  background:var(--wd-card);
  box-shadow:0 5px 18px rgba(20,35,60,.055);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
.wd-article-card:hover{
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--wd-blue) 25%,var(--wd-border));
  box-shadow:0 14px 34px rgba(20,35,60,.12);
}

.wd-article-card-media{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--wd-soft);
}
.wd-article-card-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 65%,rgba(10,18,30,.10));
  pointer-events:none;
}
.wd-article-card-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
.wd-article-card:hover .wd-article-card-img{
  transform:scale(1.035);
}
.wd-article-card-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:28px;
  font-weight:900;
  color:var(--wd-text);
}
.wd-article-card-placeholder span{color:var(--wd-blue)}

.wd-article-card-body{
  padding:18px 19px 20px;
}
.wd-article-card-category{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-bottom:9px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:850;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.wd-article-card-category:before{
  content:"";
  width:18px;
  height:2px;
  margin-right:7px;
  border-radius:99px;
  background:var(--wd-blue);
}
.wd-article-card-category:hover{
  opacity:.78;
}

.wd-article-card h2{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.28;
  letter-spacing:-.3px;
}
.wd-article-card h2 a{
  color:var(--wd-text);
  transition:color .2s ease;
}
.wd-article-card:hover h2 a{
  color:var(--wd-blue-text);
}

/* Títulos alinhados mesmo com comprimentos diferentes */
.wd-article-card h2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.56em;
}

.wd-article-card p{
  margin:0 0 15px;
  color:var(--wd-muted);
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:4.65em;
}

.wd-article-card-read{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--wd-blue-text);
  font-size:13px;
  font-weight:850;
  padding-bottom:3px;
}
.wd-article-card-read:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  border-radius:99px;
  background:var(--wd-blue);
  transition:right .22s ease;
}
.wd-article-card-read span{
  transition:transform .2s ease;
}
.wd-article-card:hover .wd-article-card-read:after{
  right:0;
}
.wd-article-card:hover .wd-article-card-read span{
  transform:translateX(4px);
}

body.dark .wd-article-card{
  box-shadow:0 6px 20px rgba(0,0,0,.20);
}
body.dark .wd-article-card:hover{
  box-shadow:0 15px 34px rgba(0,0,0,.34);
}

@media(max-width:780px){
  .wd-all-articles-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .wd-article-card-body{
    padding:15px 16px 17px;
  }
  .wd-article-card h2{
    font-size:19px;
  }
}


/* =========================================================
   v1.8.9 — Sidebar profissional
   ========================================================= */

.wd-sidebar{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.wd-side-card{
  overflow:hidden;
  border:1px solid var(--wd-border);
  border-radius:15px;
  background:var(--wd-card);
  box-shadow:0 5px 18px rgba(20,35,60,.05);
}

.wd-side-heading{
  display:flex;
  align-items:center;
  gap:10px;
  padding:18px 20px 14px;
  border-bottom:1px solid var(--wd-border);
  position:relative;
}
.wd-side-heading:after{
  content:"";
  position:absolute;
  left:20px;
  bottom:-1px;
  width:48px;
  height:3px;
  border-radius:99px;
  background:var(--wd-blue);
}
.wd-side-heading h2{
  margin:0;
  font-size:19px;
  letter-spacing:-.25px;
}
.wd-side-heading-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:color-mix(in srgb,var(--wd-blue) 9%,transparent);
  color:var(--wd-blue);
}
.wd-side-heading-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Categorias */
.wd-side-category-list{
  list-style:none;
  margin:0;
  padding:8px 16px 12px;
}
.wd-side-category-list li{
  margin:0;
  border-bottom:1px solid color-mix(in srgb,var(--wd-border) 75%,transparent);
}
.wd-side-category-list li:last-child{
  border-bottom:0;
}
.wd-side-category-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 2px;
  color:var(--wd-text);
  font-size:14px;
  font-weight:600;
  transition:color .2s ease,padding-left .2s ease;
}
.wd-side-category-list a:hover{
  color:var(--wd-blue-text);
  padding-left:5px;
}
.wd-side-cat-count{
  min-width:28px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--wd-soft);
  color:var(--wd-muted);
  font-size:11px;
  font-weight:800;
  transition:background .2s ease,color .2s ease;
}
.wd-side-category-list a:hover .wd-side-cat-count{
  background:var(--wd-blue);
  color:#fff;
}

/* Artigos recentes */
.wd-side-recent-list{
  padding:8px 16px 12px;
}
.wd-side-recent-item{
  padding:10px 0;
  border-bottom:1px solid color-mix(in srgb,var(--wd-border) 75%,transparent);
}
.wd-side-recent-item:last-child{
  border-bottom:0;
}
.wd-side-recent-item>a{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:12px;
  align-items:center;
  color:inherit;
}
.wd-side-recent-thumb{
  width:84px;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:9px;
  background:var(--wd-soft);
}
.wd-side-recent-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transition:transform .35s ease;
}
.wd-side-recent-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-weight:900;
  color:var(--wd-blue);
}
.wd-side-recent-content{
  min-width:0;
}
.wd-side-recent-content h3{
  margin:0 0 7px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:14px;
  line-height:1.35;
  transition:color .2s ease;
}
.wd-side-recent-link{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:800;
}
.wd-side-recent-link span{
  transition:transform .2s ease;
}
.wd-side-recent-item:hover .wd-side-recent-thumb img{
  transform:scale(1.05);
}
.wd-side-recent-item:hover h3{
  color:var(--wd-blue-text);
}
.wd-side-recent-item:hover .wd-side-recent-link span{
  transform:translateX(3px);
}

/* Widgets adicionais herdando a mesma linguagem */
.wd-side-widgets .widget{
  overflow:hidden;
  margin:0 0 22px;
  padding:18px 20px;
  border:1px solid var(--wd-border);
  border-radius:15px;
  background:var(--wd-card);
  box-shadow:0 5px 18px rgba(20,35,60,.05);
}
.wd-side-widgets .widget:last-child{
  margin-bottom:0;
}

body.dark .wd-side-card,
body.dark .wd-side-widgets .widget{
  box-shadow:0 6px 20px rgba(0,0,0,.20);
}

@media(max-width:900px){
  .wd-sidebar{
    margin-top:28px;
  }
}


/* v1.9.0 — suporte da sidebar sem miniaturas */
.wd-side-recent-item.no-thumb>a{
  grid-template-columns:1fr;
}
.wd-side-recent-item.no-thumb .wd-side-recent-content h3{
  font-size:15px;
}


/* =========================================================
   v1.9.1 — Publicidade configurável na Sidebar
   ========================================================= */

.wd-side-ad-body{
  padding:16px;
}

.wd-ad-demo{
  position:relative;
  min-height:250px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:24px 18px;
  border:1px dashed color-mix(in srgb,var(--wd-blue) 35%,var(--wd-border));
  border-radius:12px;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--wd-blue) 7%,transparent),transparent 58%),
    var(--wd-soft);
  color:var(--wd-text);
}

.wd-ad-demo:before{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-85px;
  top:-85px;
  border-radius:50%;
  background:color-mix(in srgb,var(--wd-blue) 8%,transparent);
}

.wd-ad-demo-badge{
  position:absolute;
  top:10px;
  right:10px;
  padding:3px 7px;
  border-radius:999px;
  background:var(--wd-card);
  border:1px solid var(--wd-border);
  color:var(--wd-muted);
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.9px;
}

.wd-ad-demo-mark{
  margin-bottom:10px;
  font-size:28px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.5px;
}
.wd-ad-demo-mark span{
  color:var(--wd-blue);
}

.wd-ad-demo strong{
  max-width:220px;
  font-size:16px;
  line-height:1.3;
}

.wd-ad-demo p{
  max-width:210px;
  margin:7px 0 13px;
  color:var(--wd-muted);
  font-size:12px;
  line-height:1.45;
}

.wd-ad-demo-size{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:0 9px;
  border-radius:7px;
  background:color-mix(in srgb,var(--wd-blue) 10%,transparent);
  color:var(--wd-blue);
  font-size:10px;
  font-weight:850;
}

.wd-ad-real{
  width:100%;
  min-height:90px;
  overflow:hidden;
  text-align:center;
}

.wd-ad-real ins,
.wd-ad-real iframe{
  max-width:100%;
}

.wd-ad-empty{
  padding:22px 15px;
  border:1px dashed var(--wd-border);
  border-radius:10px;
  color:var(--wd-muted);
  text-align:center;
  font-size:13px;
}

body.dark .wd-ad-demo{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--wd-blue) 10%,transparent),transparent 58%),
    var(--wd-soft);
}


/* =========================================================
   v1.9.2 — Publicidade dentro dos artigos
   ========================================================= */
.wd-article-ad{
  clear:both;
  width:100%;
  margin:32px 0;
  padding:0;
  border:1px solid var(--wd-border);
  border-radius:14px;
  background:var(--wd-card);
  overflow:hidden;
  box-shadow:0 8px 26px rgba(20,35,55,.05);
}
.wd-article-ad-label{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:0 16px;
  border-bottom:1px solid var(--wd-border);
  background:var(--wd-soft);
}
.wd-article-ad-label span{
  color:var(--wd-muted);
  font-size:11px;
  font-weight:850;
  letter-spacing:1.1px;
  text-transform:uppercase;
}
.wd-article-ad-body{
  padding:14px;
}
.wd-article-ad-demo{
  position:relative;
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px 20px;
  border:1px dashed color-mix(in srgb,var(--wd-blue) 35%,var(--wd-border));
  border-radius:10px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--wd-blue) 7%,transparent),transparent 60%),
    var(--wd-soft);
}
.wd-article-ad-demo-badge{
  position:absolute;
  top:9px;
  right:10px;
  padding:4px 7px;
  border:1px solid var(--wd-border);
  border-radius:999px;
  background:var(--wd-card);
  color:var(--wd-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.8px;
}
.wd-article-ad-demo-mark{
  margin-bottom:7px;
  font-size:27px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.4px;
}
.wd-article-ad-demo-mark span{color:var(--wd-blue);}
.wd-article-ad-demo strong{
  font-size:16px;
  line-height:1.3;
}
.wd-article-ad-demo p{
  margin:6px 0 11px !important;
  color:var(--wd-muted);
  font-size:12px;
  line-height:1.45;
}
.wd-article-ad-demo-size{
  padding:4px 9px;
  border-radius:7px;
  background:color-mix(in srgb,var(--wd-blue) 10%,transparent);
  color:var(--wd-blue);
  font-size:10px;
  font-weight:850;
}
.wd-article-ad-real{
  width:100%;
  min-height:90px;
  overflow:hidden;
  text-align:center;
}
.wd-article-ad-real ins,
.wd-article-ad-real iframe{
  max-width:100%;
}
.wd-article-ad-end{
  margin-top:36px;
  margin-bottom:28px;
}
@media (max-width:700px){
  .wd-article-ad{margin:24px 0;}
  .wd-article-ad-body{padding:10px;}
  .wd-article-ad-demo{min-height:130px;padding:22px 14px;}
}


/* =========================================================
   v1.9.3 — Publicidade na página inicial
   ========================================================= */
.wd-home-ad-top-wrap{
  margin-top:18px;
  margin-bottom:18px;
}

.wd-home-ad{
  width:100%;
  overflow:hidden;
  border:1px solid var(--wd-border);
  border-radius:14px;
  background:var(--wd-card);
  box-shadow:0 6px 20px rgba(20,35,60,.05);
}

.wd-home-ad-label{
  min-height:34px;
  display:flex;
  align-items:center;
  padding:0 15px;
  border-bottom:1px solid var(--wd-border);
  background:var(--wd-soft);
  color:var(--wd-muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.wd-home-ad-body{
  padding:12px;
}

.wd-home-ad-demo{
  position:relative;
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px 18px;
  border:1px dashed color-mix(in srgb,var(--wd-blue) 35%,var(--wd-border));
  border-radius:10px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--wd-blue) 7%,transparent),transparent 62%),
    var(--wd-soft);
}

.wd-home-ad-feed .wd-home-ad-demo{
  min-height:150px;
}

.wd-home-ad-badge{
  position:absolute;
  top:8px;
  right:9px;
  padding:3px 7px;
  border:1px solid var(--wd-border);
  border-radius:999px;
  background:var(--wd-card);
  color:var(--wd-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.8px;
}

.wd-home-ad-mark{
  margin-bottom:6px;
  font-size:25px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.2px;
}
.wd-home-ad-mark span{color:var(--wd-blue);}

.wd-home-ad-demo strong{
  font-size:15px;
  line-height:1.3;
}
.wd-home-ad-demo p{
  margin:5px 0 9px;
  color:var(--wd-muted);
  font-size:11px;
}
.wd-home-ad-size{
  padding:4px 8px;
  border-radius:7px;
  background:color-mix(in srgb,var(--wd-blue) 10%,transparent);
  color:var(--wd-blue);
  font-size:9px;
  font-weight:850;
}

.wd-home-ad-real{
  width:100%;
  min-height:90px;
  overflow:hidden;
  text-align:center;
}
.wd-home-ad-real ins,
.wd-home-ad-real iframe{
  max-width:100%;
}

.wd-home-feed-ad{
  grid-column:1 / -1;
  width:100%;
}

body.dark .wd-home-ad{
  box-shadow:0 7px 22px rgba(0,0,0,.20);
}

@media(max-width:680px){
  .wd-home-ad-top-wrap{
    margin-top:12px;
    margin-bottom:12px;
  }
  .wd-home-ad-body{padding:9px}
  .wd-home-ad-demo{min-height:100px}
}

/* v1.9.4 — grade principal da home */
.wd-home-all-posts{margin-top:28px}.wd-home-all-posts .wd-post-grid{align-items:stretch}.wd-home-all-posts .wd-post-grid-cols-1{grid-template-columns:1fr}.wd-home-all-posts .wd-post-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.wd-card-home{display:flex;flex-direction:column;height:100%;box-shadow:0 5px 18px rgba(20,35,60,.055)}.wd-card-home .wd-card-media{display:block;overflow:hidden;background:var(--wd-soft)}.wd-card-home .wd-card-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.wd-card-home .wd-card-body{display:flex;flex-direction:column;flex:1;padding:16px 17px 17px}.wd-card-home .wd-category{position:relative;padding-left:25px;font-size:11px;letter-spacing:.75px}.wd-card-home .wd-category:before{content:'';position:absolute;left:0;top:50%;width:17px;height:2px;border-radius:2px;background:var(--wd-blue);transform:translateY(-50%)}.wd-card-home h2{font-size:19px;line-height:1.28;margin:8px 0}.wd-card-home h2 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.wd-card-home p{font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.wd-card-readmore{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:auto;padding-top:15px;color:var(--wd-blue-text);font-size:16px;font-weight:800}.wd-card-readmore span{transition:transform .2s ease}.wd-card-home:hover .wd-card-readmore span{transform:translateX(3px)}.wd-card-placeholder{display:grid!important;place-items:center;font-size:24px;font-weight:900;color:var(--wd-text)}.wd-card-placeholder span{color:var(--wd-blue)}
@media(max-width:680px){.wd-home-all-posts .wd-post-grid-cols-1,.wd-home-all-posts .wd-post-grid-cols-2{grid-template-columns:1fr}.wd-card-home h2{font-size:18px}}


/* =========================================================
   v1.9.5 — grade da home: 1 coluna horizontal
   ========================================================= */

/* Em 1 coluna o card vira horizontal, evitando imagem gigante. */
.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home{
  display:grid;
  grid-template-columns:minmax(260px,42%) minmax(0,1fr);
  min-height:230px;
}

.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-media{
  height:100%;
  min-height:230px;
}

.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
}

.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-body{
  justify-content:center;
  padding:22px 24px;
}

.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home h2{
  font-size:22px;
  -webkit-line-clamp:2;
}

.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home p{
  -webkit-line-clamp:3;
  margin-bottom:0;
}

/* 2 colunas mantém os cards verticais compactos. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home{
  display:flex;
  flex-direction:column;
}

/* Em telas menores, qualquer escolha vira uma coluna vertical normal. */
@media(max-width:760px){
  .wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home{
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-media{
    min-height:0;
    height:auto;
  }

  .wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-img{
    height:auto;
    aspect-ratio:16/9;
  }

  .wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-body{
    padding:16px 17px 17px;
  }

  .wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home h2{
    font-size:19px;
  }
}


/* =========================================================
   v1.9.6 — refinamento dos cards em 2 colunas
   ========================================================= */

/* Cards mais compactos e alinhados */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home{
  position:relative;
  min-height:100%;
  border-color:color-mix(in srgb,var(--wd-border) 90%,transparent);
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--wd-blue) 24%,var(--wd-border));
  box-shadow:0 14px 30px rgba(20,35,60,.11);
}

/* Imagem um pouco mais baixa para reduzir a sensação de card gigante */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-img{
  aspect-ratio:16/8.6;
  transition:transform .42s cubic-bezier(.2,.7,.2,1);
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover .wd-card-img{
  transform:scale(1.03);
}

/* Corpo com mais respiro e altura mais consistente */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
  min-height:220px;
  padding:18px 18px 19px;
}

/* Categoria refinada */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-category{
  margin-bottom:3px;
  padding-left:24px;
  font-size:10.5px;
  letter-spacing:.9px;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-category:before{
  width:17px;
}

/* Título padronizado em 2 linhas */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2{
  margin:8px 0 10px;
  font-size:19px;
  line-height:1.3;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2 a{
  -webkit-line-clamp:2;
  min-height:2.6em;
  transition:color .2s ease;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover h2 a{
  color:var(--wd-blue-text);
}

/* Resumo mais compacto e alinhado */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home p{
  margin:0;
  min-height:4.65em;
  -webkit-line-clamp:3;
  color:var(--wd-muted);
}

/* Ler artigo mais editorial */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-readmore{
  position:relative;
  margin-top:auto;
  padding-top:17px;
  padding-bottom:3px;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-readmore:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  border-radius:99px;
  background:var(--wd-blue);
  transition:right .22s ease;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover .wd-card-readmore:after{
  right:0;
}

/* Seta circular discreta no canto superior direito */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:after{
  content:"›";
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--wd-blue);
  font-size:24px;
  line-height:1;
  font-weight:600;
  box-shadow:0 5px 14px rgba(20,35,60,.10);
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .2s ease,transform .2s ease,background .2s ease;
  pointer-events:none;
}
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover:after{
  opacity:1;
  transform:translateY(0);
}

body.dark .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:after{
  background:rgba(20,24,31,.94);
}

@media(max-width:900px){
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
    min-height:210px;
  }
}

@media(max-width:680px){
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:after{
    display:none;
  }
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
    min-height:0;
  }
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2 a,
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home p{
    min-height:0;
  }
}


/* =========================================================
   v1.9.7 — encaixe exato das imagens dos cards
   ========================================================= */

/* As imagens destacadas do WDSTec são padronizadas em 16:9 (ex.: 800x450).
   O card agora usa exatamente a mesma proporção, evitando cortes em cima/baixo. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-media{
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--wd-soft);
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center center;
}

/* Garante que nenhuma regra antiga de altura altere o enquadramento. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
}

/* Horizontal: mantém bom enquadramento, usando o centro da imagem. */
.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-img{
  object-position:center center;
}


/* =========================================================
   v1.9.8 — conteúdo textual mais compacto nos cards 2 colunas
   Mantém a altura/enquadramento das imagens da v1.9.7.
   ========================================================= */

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
  min-height:188px;
  padding:14px 16px 15px;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-category{
  margin-bottom:2px;
  font-size:10px;
  letter-spacing:.8px;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2{
  margin:6px 0 7px;
  font-size:18px;
  line-height:1.25;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2 a{
  min-height:2.5em;
  -webkit-line-clamp:2;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home p{
  min-height:2.95em;
  margin:0;
  font-size:13px;
  line-height:1.48;
  -webkit-line-clamp:2;
}

.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-readmore{
  padding-top:12px;
  font-size:16px;
}

/* Mantém os cards visualmente alinhados, mesmo com textos diferentes. */
.wd-home-all-posts .wd-post-grid-cols-2{
  align-items:stretch;
}

@media(max-width:900px){
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
    min-height:180px;
  }
}

@media(max-width:680px){
  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-body{
    min-height:0;
    padding:14px 15px 15px;
  }

  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home h2{
    font-size:18px;
  }

  .wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home p{
    min-height:0;
    -webkit-line-clamp:3;
  }
}


/* =========================================================
   v1.9.9 — imagem 800x450 inteira nos cards
   ========================================================= */

/* A caixa permanece exatamente 16:9. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-media{
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--wd-card);
}

/* Sem crop: a imagem inteira precisa permanecer visível. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-img,
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home .wd-card-media img{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain !important;
  object-position:center center !important;
}

/* O hover não pode aumentar a imagem, pois zoom voltaria a cortar as bordas. */
.wd-home-all-posts .wd-post-grid-cols-2 .wd-card-home:hover .wd-card-img{
  transform:none !important;
}

/* Também preserva toda a imagem na versão horizontal. */
.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-img,
.wd-home-all-posts .wd-post-grid-cols-1 .wd-card-home .wd-card-media img{
  object-fit:contain !important;
  object-position:center center !important;
  background:var(--wd-card);
}


/* =========================================================
   v1.9.10 — mini cards de Artigos Recentes
   ========================================================= */

/* Imagem 800x450 inteira, mantendo exatamente 16:9. */
.wd-recent-mini-media{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--wd-card);
}

.wd-recent-mini-img,
.wd-recent-mini-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain !important;
  object-position:center center !important;
}

/* Sem zoom para não cortar nenhuma borda da imagem. */
.wd-recent-mini:hover .wd-recent-mini-img,
.wd-recent-mini:hover .wd-recent-mini-media img{
  transform:none !important;
}

/* Parte textual enxuta: apenas título + Ler artigo. */
.wd-recent-mini-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 13px;
  min-height:0;
}

.wd-recent-mini-body h3{
  margin:0;
  font-size:16px;
  line-height:1.3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.6em;
}

.wd-recent-mini-link{
  margin-top:10px;
  padding:0;
  font-size:16px;
  line-height:1.2;
}

/* Remove excesso de espaço no fim do card. */
.wd-recent-mini > a{
  min-height:0;
}

.wd-recent-mini{
  min-height:0;
}

@media(max-width:680px){
  .wd-recent-mini-media{aspect-ratio:auto;height:100%}
  .wd-recent-mini-body{
    min-height:0;
    padding:10px 12px 11px;
  }
}


/* =========================================================
   v2.8.0 — rodapé consolidado
   Unifica os refinamentos históricos 1.9.11–1.9.14 sem alterar
   a estrutura, o contraste ou o comportamento responsivo.
   ========================================================= */
.site-footer,
.wd-footer,
footer{border-top:2px solid var(--wd-blue,#2498f3)}

.site-footer h2,.site-footer h3,.site-footer h4,
.wd-footer h2,.wd-footer h3,.wd-footer h4,footer .widget-title{
  position:relative;display:inline-block;margin:0 0 20px;padding-bottom:10px;
  font-size:18px;font-weight:800;line-height:1.2;letter-spacing:-.01em;color:#fff
}
.site-footer h2::after,.site-footer h3::after,.site-footer h4::after,
.wd-footer h2::after,.wd-footer h3::after,.wd-footer h4::after,footer .widget-title::after{
  content:"";position:absolute;left:0;bottom:0;width:34px;height:2px;border-radius:999px;
  background:var(--wd-blue,#2498f3)
}
.site-footer a,.wd-footer a,footer a{color:#e8edf3;text-decoration:none;transition:color .2s ease,transform .2s ease}
.site-footer a:hover,.site-footer a:focus-visible,.wd-footer a:hover,.wd-footer a:focus-visible,footer a:hover,footer a:focus-visible{color:var(--wd-blue,#2498f3)}
.site-footer li,.wd-footer li,footer .widget li{margin-bottom:9px;line-height:1.45}
.site-footer li a,.wd-footer li a,footer .widget li a{display:inline-block}
.site-footer li a:hover,.wd-footer li a:hover,footer .widget li a:hover{transform:translateX(3px)}

.wd-footer-bottom{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;text-align:center!important
}
.wd-footer-copy{
  display:block!important;width:100%!important;margin:0 auto!important;
  padding-left:0!important;padding-right:0!important;text-align:center!important;float:none!important
}
.wd-footer-bottom>*{margin-left:auto!important;margin-right:auto!important;text-align:center!important}

.wd-footer-logo{display:flex;justify-content:flex-start;align-items:center;margin:0 0 18px}
.wd-footer-logo img{display:block;width:auto;max-width:280px;max-height:105px;object-fit:contain;object-position:left center}
.wd-footer-brand{align-self:start}
.wd-footer-brand h3{margin-top:0}
.wd-footer-message p{margin:0 0 14px;max-width:430px;color:#e6ebf0;line-height:1.65}
.wd-footer-menu{list-style:none;margin:0;padding:0}
.wd-footer-menu li{margin:0 0 10px}
.wd-footer-menu a{display:inline-flex;align-items:center;gap:7px;color:#e8edf3;text-decoration:none}
.wd-footer-menu a::before{content:"›";color:var(--wd-blue);font-size:17px;line-height:1;opacity:.85;transform:translateX(0);transition:transform .2s ease}
.wd-footer-menu a:hover::before{transform:translateX(3px)}
.wd-footer .wd-footer-grid,.site-footer .wd-footer-grid{padding-top:48px}

@media(max-width:1000px){
  .wd-footer .wd-footer-grid,.site-footer .wd-footer-grid{padding-top:40px}
  .wd-footer-logo img{max-width:235px;max-height:90px}
}
@media(max-width:680px){
  .site-footer h2,.site-footer h3,.site-footer h4,.wd-footer h2,.wd-footer h3,.wd-footer h4,footer .widget-title{margin-bottom:16px}
  .wd-footer .wd-footer-grid,.site-footer .wd-footer-grid{padding-top:32px}
  .wd-footer-logo img{max-width:205px;max-height:78px}
}

/* =========================================================
   v1.9.15 — restauração do botão Back to Top
   ========================================================= */

.wd-back-to-top{
  position:fixed !important;
  right:22px !important;
  bottom:22px !important;
  left:auto !important;
  top:auto !important;
  z-index:9999 !important;

  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  padding:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:50% !important;
  background:var(--wd-blue, #2498f3) !important;
  color:#fff !important;

  font-size:24px !important;
  font-weight:500 !important;
  line-height:1 !important;
  text-align:center !important;

  box-shadow:0 8px 22px rgba(25,125,220,.28) !important;
  cursor:pointer !important;
  appearance:none !important;
  -webkit-appearance:none !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease !important;
}

.wd-back-to-top:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 11px 26px rgba(25,125,220,.36) !important;
}

.wd-back-to-top:focus-visible{
  outline:3px solid rgba(36,152,243,.28) !important;
  outline-offset:3px !important;
}

/* Mantém a seta perfeitamente centralizada. */
.wd-back-to-top::before{
  content:"↑";
  display:block;
  transform:translateY(-1px);
}

/* Esconde o caractere inserido no HTML para evitar duplicidade. */
.wd-back-to-top{
  font-size:0 !important;
}
.wd-back-to-top::before{
  font-size:24px !important;
}

@media(max-width:680px){
  .wd-back-to-top{
    right:16px !important;
    bottom:16px !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    min-height:46px !important;
  }

  .wd-back-to-top::before{
    font-size:22px !important;
  }
}


/* =========================================================
   2.5 — acabamento consolidado do cabeçalho / branding
   ========================================================= */

/* Área da marca mais proporcional e com menos espaço desperdiçado. */
.wd-branding{
  position:relative;
  padding:20px 0 16px;
  background:var(--wd-bg);
}

.wd-branding-inner{
  min-height:128px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.wd-branding-inner > div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

/* Logo com presença, mas sem ocupar altura excessiva. */
.wd-branding .custom-logo{
  display:block;
  width:auto;
  max-width:min(390px, 78vw);
  max-height:132px;
  object-fit:contain;
  transition:transform .24s ease;
}

.wd-branding a:hover .custom-logo{
  transform:translateY(-1px);
}

/* Tagline integrada visualmente à marca. */
.wd-branding .wd-tagline{
  position:relative;
  margin-top:4px;
  padding-top:9px;
  color:var(--wd-muted);
  font-size:12px;
  line-height:1.35;
  font-weight:600;
  letter-spacing:.45px;
  text-align:center;
}

.wd-branding .wd-tagline::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:38px;
  height:2px;
  border-radius:999px;
  background:var(--wd-blue);
  transform:translateX(-50%);
}

/* Separação suave entre marca e menu, sem alterar o hover do menu. */
.wd-branding::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:min(1180px, calc(100% - 48px));
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb,var(--wd-blue) 24%,var(--wd-border)) 18%,
    color-mix(in srgb,var(--wd-blue) 24%,var(--wd-border)) 82%,
    transparent
  );
  transform:translateX(-50%);
}

/* Menu permanece com o desenho aprovado, apenas um pouco mais integrado. */
.wd-branding + .wd-drawer-overlay + .wd-drawer + .wd-nav-wrap,
.wd-nav-wrap{
  box-shadow:0 4px 16px rgba(20,35,60,.035);
}

body.dark .wd-nav-wrap{
  box-shadow:0 4px 18px rgba(0,0,0,.14);
}

@media(max-width:900px){
  .wd-branding{
    padding:16px 0 13px;
  }

  .wd-branding-inner{
    min-height:108px;
  }

  .wd-branding .custom-logo{
    max-width:min(320px, 74vw);
    max-height:105px;
  }

  .wd-branding .wd-tagline{
    font-size:11px;
  }
}

@media(max-width:680px){
  .wd-branding{
    padding:13px 0 11px;
  }

  .wd-branding-inner{
    min-height:92px;
  }

  .wd-branding .custom-logo{
    max-width:min(260px, 72vw);
    max-height:88px;
  }

  .wd-branding .wd-tagline{
    margin-top:3px;
    padding-top:7px;
    font-size:10px;
  }

  .wd-branding::after{
    width:calc(100% - 28px);
  }
}


/* =========================================================
   v1.9.17 — funcionamento do Back to Top
   ========================================================= */
.wd-back-to-top{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
}

.wd-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.wd-back-to-top.is-visible:hover{
  transform:translateY(-3px) !important;
}


/* =========================================================
   v1.9.18 — compartilhamento social refinado
   ========================================================= */
.wd-share{
  margin:24px 0 28px;
  padding-top:20px;
}

.wd-share .wd-section-heading{
  margin-bottom:12px;
}

.wd-share .wd-section-heading h2{
  font-size:20px;
  line-height:1.2;
}

.wd-share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.wd-share-buttons .wd-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--wd-border);
  border-radius:10px;
  background:var(--wd-card);
  color:var(--wd-text);
  font-size:13px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  box-shadow:0 3px 10px rgba(20,35,60,.035);
  transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease,box-shadow .2s ease;
}

.wd-share-buttons .wd-share-btn:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--wd-blue) 35%,var(--wd-border));
  background:color-mix(in srgb,var(--wd-blue) 5%,var(--wd-card));
  color:var(--wd-blue-text);
  box-shadow:0 7px 16px rgba(20,35,60,.08);
}

.wd-share-icon{
  width:17px;
  height:17px;
  display:grid;
  place-items:center;
  flex:0 0 17px;
}

.wd-share-icon svg{
  display:block;
  width:100%;
  height:100%;
  fill:currentColor;
}

.wd-share-icon-x{
  width:15px;
  height:15px;
  flex-basis:15px;
}

body.dark .wd-share-buttons .wd-share-btn{
  box-shadow:0 3px 10px rgba(0,0,0,.16);
}

@media(max-width:680px){
  .wd-share{
    margin:20px 0 24px;
    padding-top:18px;
  }
  .wd-share .wd-section-heading h2{font-size:18px;}
  .wd-share-buttons .wd-share-btn{
    min-height:38px;
    padding:0 11px;
    font-size:12px;
  }
}


/* =========================================================
   v1.9.19 — bloco de autor opcional e integrado ao tema
   ========================================================= */
.wd-author-box{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:center;
  margin:28px 0 34px;
  padding:20px 22px;
  border:1px solid var(--wd-border);
  border-left:4px solid var(--wd-blue);
  border-radius:14px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--wd-blue) 4%,transparent),transparent 58%),
    var(--wd-card);
  box-shadow:0 7px 22px rgba(20,35,60,.055);
}

.wd-author-avatar{
  width:88px;
  height:88px;
  flex:0 0 88px;
}

.wd-author-avatar img{
  display:block;
  width:88px;
  height:88px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid color-mix(in srgb,var(--wd-blue) 20%,var(--wd-card));
  box-shadow:0 5px 14px rgba(20,35,60,.10);
}

.wd-author-kicker{
  display:inline-block;
  margin-bottom:5px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:850;
  letter-spacing:1px;
  text-transform:uppercase;
}

.wd-author-content h2{
  margin:0 0 6px;
  color:var(--wd-text);
  font-size:20px;
  line-height:1.25;
  font-weight:800;
}

.wd-author-content p{
  margin:0;
  color:var(--wd-muted);
  font-size:14px;
  line-height:1.6;
}

body.dark .wd-author-box{
  box-shadow:0 7px 22px rgba(0,0,0,.18);
}

@media(max-width:680px){
  .wd-author-box{
    grid-template-columns:1fr;
    gap:14px;
    padding:18px;
    text-align:left;
  }

  .wd-author-avatar{
    width:72px;
    height:72px;
  }

  .wd-author-avatar img{
    width:72px;
    height:72px;
  }

  .wd-author-content h2{
    font-size:18px;
  }
}


/* =========================================================
   v1.9.20 — formulário nativo de contato
   ========================================================= */
.wd-contact-page{padding:46px 0 64px;background:var(--wd-bg)}
.wd-contact-container{max-width:900px}
.wd-contact-card{padding:34px;border:1px solid var(--wd-border);border-radius:18px;background:var(--wd-card);box-shadow:0 10px 32px rgba(20,35,60,.06)}
.wd-contact-header{max-width:680px;margin-bottom:28px}
.wd-contact-kicker{display:inline-block;margin-bottom:8px;color:var(--wd-blue-text);font-size:11px;font-weight:850;letter-spacing:1.2px}
.wd-contact-header h1{margin:0 0 10px;color:var(--wd-text);font-size:34px;line-height:1.15;letter-spacing:-.6px}
.wd-contact-header p{margin:0;color:var(--wd-muted);font-size:15px;line-height:1.65}
.wd-contact-form{display:flex;flex-direction:column;gap:18px}
.wd-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wd-contact-field{display:flex;flex-direction:column;gap:7px}
.wd-contact-field label{color:var(--wd-text);font-size:13px;font-weight:750}
.wd-contact-field label span{color:var(--wd-blue)}
.wd-contact-field input,.wd-contact-field textarea{width:100%;border:1px solid var(--wd-border);border-radius:10px;background:var(--wd-bg);color:var(--wd-text);font:inherit;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.wd-contact-field input{height:46px;padding:0 13px}
.wd-contact-field textarea{min-height:170px;padding:12px 13px;resize:vertical;line-height:1.55}
.wd-contact-field input:focus,.wd-contact-field textarea:focus{border-color:var(--wd-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--wd-blue) 12%,transparent);background:var(--wd-card)}
.wd-contact-submit{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:max-content;min-height:44px;padding:0 18px;border:0;border-radius:10px;background:var(--wd-blue);color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(36,152,243,.22);transition:transform .2s ease,box-shadow .2s ease}
.wd-contact-submit:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(36,152,243,.30)}
.wd-contact-privacy{margin:-4px 0 0;color:var(--wd-muted);font-size:11px;line-height:1.5}
.wd-contact-notice{margin:0 0 22px;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:650}
.wd-contact-notice.is-success{border:1px solid rgba(32,160,90,.25);background:rgba(32,160,90,.08);color:#168047}
.wd-contact-notice.is-error{border:1px solid rgba(205,62,62,.25);background:rgba(205,62,62,.07);color:#b33131}
.wd-contact-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.dark .wd-contact-card{box-shadow:0 10px 32px rgba(0,0,0,.18)}
@media(max-width:680px){.wd-contact-page{padding:28px 0 44px}.wd-contact-card{padding:22px 18px;border-radius:14px}.wd-contact-grid{grid-template-columns:1fr}.wd-contact-header h1{font-size:28px}.wd-contact-submit{width:100%}}


/* =========================================================
   v1.9.21 — contraste dos campos do formulário de contato
   ========================================================= */
.wd-contact-field input,
.wd-contact-field textarea{
  border:1px solid #cbd5e1;
  background:#f8fafc;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.025);
}
.wd-contact-field input:hover,
.wd-contact-field textarea:hover{
  border-color:#aebdce;
  background:#fff;
}
.wd-contact-field input:focus,
.wd-contact-field textarea:focus{
  border-color:var(--wd-blue);
  background:#fff;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--wd-blue) 13%,transparent);
}
body.dark .wd-contact-field input,
body.dark .wd-contact-field textarea{
  border-color:#3b4656;
  background:#171c24;
  color:var(--wd-text);
}
body.dark .wd-contact-field input:hover,
body.dark .wd-contact-field textarea:hover{
  border-color:#536176;
  background:#1b222c;
}
body.dark .wd-contact-field input:focus,
body.dark .wd-contact-field textarea:focus{
  border-color:var(--wd-blue);
  background:#1b222c;
}


/* =========================================================
   v1.9.22 — topo editorial dos artigos
   Referência visual: autor/data acima do título.
   ========================================================= */
.wd-single-header{
  margin-bottom:18px;
}
.wd-single-header .wd-single-meta-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 15px;
  margin:0 0 16px;
  color:var(--wd-muted);
  font-size:13px;
  line-height:1.35;
}
.wd-single-meta-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.wd-single-meta-icon{
  display:inline-flex;
  width:15px;
  height:15px;
  color:var(--wd-blue);
  flex:0 0 15px;
}
.wd-single-meta-icon svg{
  width:100%;
  height:100%;
  fill:currentColor;
}
.wd-single-author{
  color:var(--wd-muted);
  font-weight:500;
}
.wd-single-updated{
  padding-left:15px;
  position:relative;
}
.wd-single-updated:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--wd-muted);
  transform:translateY(-50%);
}
.wd-single-header h1{
  margin:0 0 13px;
  font-size:clamp(36px,4.1vw,54px);
  line-height:1.12;
  letter-spacing:-1.05px;
  text-wrap:balance;
}
.wd-single-category{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--wd-blue);
  font-size:11px;
  line-height:1;
  font-weight:850;
  letter-spacing:1.05px;
  text-transform:uppercase;
}
.wd-single-category:before{
  content:"";
  width:18px;
  height:2px;
  border-radius:2px;
  background:var(--wd-blue);
}
.wd-single-category:hover{
  color:var(--wd-blue-text);
  opacity:.78;
}
.wd-single .wd-featured-image{
  aspect-ratio:16 / 9;
  object-fit:contain;
  object-position:center center;
  background:var(--wd-soft);
  margin-top:22px;
}
@media(max-width:620px){
  .wd-single-header .wd-single-meta-top{
    gap:7px 12px;
    margin-bottom:13px;
    font-size:12px;
  }
  .wd-single-updated{
    width:100%;
    padding-left:21px;
  }
  .wd-single-updated:before{
    left:8px;
  }
  .wd-single-header h1{
    font-size:clamp(30px,9vw,39px);
    line-height:1.13;
    letter-spacing:-.65px;
  }
}


/* =========================================================
   v1.9.23 — refinamento do cabeçalho do artigo
   ========================================================= */
.wd-single-header h1{
  font-size:clamp(34px,3.25vw,46px);
  line-height:1.14;
  letter-spacing:-.8px;
  max-width:760px;
}
@media(max-width:620px){
  .wd-single-header h1{
    font-size:clamp(28px,8vw,36px);
    line-height:1.15;
    letter-spacing:-.5px;
  }
}


/* =========================================================
   v1.9.24 — H1 do artigo em 34px no desktop
   ========================================================= */
.wd-single-header h1{
  font-size:34px;
  line-height:1.16;
  letter-spacing:-.55px;
  max-width:760px;
}
@media(max-width:620px){
  .wd-single-header h1{
    font-size:clamp(27px,7.5vw,32px);
    line-height:1.16;
    letter-spacing:-.4px;
  }
}


/* =========================================================
   v1.9.25 — tipografia Inter / system sans
   ========================================================= */
:root{
  --wd-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, Helvetica, Arial, sans-serif;
}
html,
body,
button,
input,
textarea,
select{
  font-family:var(--wd-font-sans);
}
.wd-single-header h1{
  font-family:var(--wd-font-sans);
  font-size:36px;
  font-weight:750;
  line-height:1.16;
  letter-spacing:-.75px;
}
@media(max-width:620px){
  .wd-single-header h1{
    font-size:clamp(27px,7.5vw,32px);
    font-weight:750;
    line-height:1.16;
    letter-spacing:-.45px;
  }
}


/* =========================================================
   v1.9.26 — experiência de leitura dos artigos
   ========================================================= */

/* Texto principal: confortável sem deixar o artigo "solto". */
.wd-single .wd-entry-content{
  color:var(--wd-text);
  font-size:17px;
  line-height:1.78;
  overflow-wrap:break-word;
}
.wd-single .wd-entry-content > p{
  margin:0 0 1.35em;
}

/* Hierarquia editorial */
.wd-single .wd-entry-content h2{
  margin:2.05em 0 .72em;
  font-size:28px;
  line-height:1.24;
  letter-spacing:-.45px;
  font-weight:750;
}
.wd-single .wd-entry-content h3{
  margin:1.75em 0 .62em;
  font-size:22px;
  line-height:1.3;
  letter-spacing:-.25px;
  font-weight:750;
}
.wd-single .wd-entry-content h4{
  margin:1.55em 0 .55em;
  font-size:18px;
  line-height:1.35;
  font-weight:750;
}

/* Pequeno detalhe azul nos H2, alinhado à identidade do tema. */
.wd-single .wd-entry-content h2:after{
  content:"";
  display:block;
  width:38px;
  height:3px;
  margin-top:9px;
  border-radius:3px;
  background:var(--wd-blue);
}

/* Links do conteúdo */
.wd-single .wd-entry-content a:not(.wp-block-button__link){
  color:var(--wd-blue-text);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.wd-single .wd-entry-content a:not(.wp-block-button__link):hover{
  text-decoration-thickness:2px;
}

/* Listas */
.wd-single .wd-entry-content ul,
.wd-single .wd-entry-content ol{
  margin:0 0 1.45em;
  padding-left:1.35em;
}
.wd-single .wd-entry-content li{
  margin:.42em 0;
  padding-left:.15em;
}
.wd-single .wd-entry-content li::marker{
  color:var(--wd-blue);
  font-weight:700;
}

/* Imagens e legendas dentro do artigo */
.wd-single .wd-entry-content figure,
.wd-single .wd-entry-content .wp-block-image{
  margin:1.8em 0;
}
.wd-single .wd-entry-content img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}
.wd-single .wd-entry-content figcaption{
  margin-top:8px;
  color:var(--wd-muted);
  font-size:13px;
  line-height:1.5;
  text-align:center;
}

/* Citações */
.wd-single .wd-entry-content blockquote{
  margin:1.7em 0;
  padding:16px 20px;
  border-left:3px solid var(--wd-blue);
  background:var(--wd-soft);
  border-radius:0 10px 10px 0;
}
.wd-single .wd-entry-content blockquote p:last-child{
  margin-bottom:0;
}

/* Tabelas: úteis em comparativos de tecnologia */
.wd-single .wd-entry-content .wp-block-table,
.wd-single .wd-entry-content table{
  margin:1.8em 0;
}
.wd-single .wd-entry-content .wp-block-table{
  overflow-x:auto;
}
.wd-single .wd-entry-content table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  line-height:1.5;
}
.wd-single .wd-entry-content th,
.wd-single .wd-entry-content td{
  padding:12px 14px;
  border:1px solid var(--wd-border);
  text-align:left;
  vertical-align:top;
}
.wd-single .wd-entry-content th{
  font-weight:750;
  background:var(--wd-soft);
}

/* Separadores */
.wd-single .wd-entry-content hr{
  margin:2.1em 0;
  border:0;
  border-top:1px solid var(--wd-border);
}

/* Evita excesso de espaço no primeiro elemento do conteúdo. */
.wd-single .wd-entry-content > :first-child{
  margin-top:0;
}

/* Responsividade da leitura */
@media(max-width:620px){
  .wd-single .wd-entry-content{
    font-size:16px;
    line-height:1.72;
  }
  .wd-single .wd-entry-content h2{
    margin-top:1.8em;
    font-size:24px;
  }
  .wd-single .wd-entry-content h3{
    font-size:20px;
  }
  .wd-single .wd-entry-content th,
  .wd-single .wd-entry-content td{
    padding:10px 11px;
    font-size:14px;
  }
}


/* =========================================================
   v1.9.27 — tabelas comparativas mais compactas
   ========================================================= */
.wd-single .wd-entry-content .wp-block-table{
  margin:1.55em 0 1.85em;
  overflow-x:auto;
  border-radius:8px;
}

.wd-single .wd-entry-content table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  line-height:1.4;
  background:var(--wd-card);
}

.wd-single .wd-entry-content th,
.wd-single .wd-entry-content td{
  padding:9px 10px;
  border:1px solid color-mix(in srgb,var(--wd-border) 88%,#7b8794);
  text-align:left;
  vertical-align:middle;
}

.wd-single .wd-entry-content th{
  background:#f0f2f5;
  color:var(--wd-text);
  font-weight:750;
  border-bottom:2px solid #30343b;
}

.wd-single .wd-entry-content tbody tr:nth-child(even) td{
  background:color-mix(in srgb,var(--wd-soft) 62%,transparent);
}

.wd-single .wd-entry-content tbody tr:hover td{
  background:color-mix(in srgb,var(--wd-blue) 4%,var(--wd-card));
}

body.dark .wd-single .wd-entry-content th{
  background:#202733;
  border-bottom-color:#596579;
}

body.dark .wd-single .wd-entry-content tbody tr:nth-child(even) td{
  background:#171d26;
}

body.dark .wd-single .wd-entry-content tbody tr:hover td{
  background:#1b2532;
}

@media(max-width:620px){
  .wd-single .wd-entry-content table{
    min-width:640px;
    font-size:13.5px;
  }

  .wd-single .wd-entry-content th,
  .wd-single .wd-entry-content td{
    padding:8px 9px;
  }
}


/* =========================================================
   v1.9.28 — aproxima H2 das tabelas comparativas
   ========================================================= */

/*
 * Quando uma tabela vem logo depois de um H2, reduzimos apenas
 * o espaço entre os dois elementos. O espaçamento normal dos H2
 * diante de parágrafos, listas e demais conteúdos permanece intacto.
 */
.wd-single .wd-entry-content h2:has(+ .wp-block-table){
  margin-bottom:.45em;
}

.wd-single .wd-entry-content h2 + .wp-block-table{
  margin-top:.85em;
}

/* Compatibilidade para tabelas inseridas sem o wrapper wp-block-table. */
.wd-single .wd-entry-content h2:has(+ table){
  margin-bottom:.45em;
}

.wd-single .wd-entry-content h2 + table{
  margin-top:.85em;
}


/* =========================================================
   v1.9.29 — reduz somente a distância antes dos H2
   ========================================================= */

/*
 * Aproxima os títulos H2 do conteúdo anterior sem alterar:
 * - distância entre H2 e o conteúdo seguinte;
 * - detalhe azul;
 * - tabelas;
 * - parágrafos;
 * - demais elementos do artigo.
 */
.wd-single .wd-entry-content h2{
  margin-top:1.45em;
}

@media(max-width:620px){
  .wd-single .wd-entry-content h2{
    margin-top:1.4em;
  }
}


/* =========================================================
   v1.9.30 — seções H2 mais compactas
   ========================================================= */

/* Aproxima o H2 do conteúdo anterior e também o conteúdo seguinte. */
.wd-single .wd-entry-content h2{
  margin-top:1.05em;
  margin-bottom:.48em;
}

/* Mantém o traço azul próximo do título. */
.wd-single .wd-entry-content h2:after{
  margin-top:7px;
}

/* Primeiro bloco após o H2 com respiro menor. */
.wd-single .wd-entry-content h2 + p,
.wd-single .wd-entry-content h2 + ul,
.wd-single .wd-entry-content h2 + ol,
.wd-single .wd-entry-content h2 + blockquote{
  margin-top:.65em;
}

/* H2 seguido de tabela: compacto, mas sem grudar. */
.wd-single .wd-entry-content h2:has(+ .wp-block-table),
.wd-single .wd-entry-content h2:has(+ table){
  margin-bottom:.35em;
}

.wd-single .wd-entry-content h2 + .wp-block-table,
.wd-single .wd-entry-content h2 + table{
  margin-top:.65em;
}

@media(max-width:620px){
  .wd-single .wd-entry-content h2{
    margin-top:1em;
    margin-bottom:.45em;
  }
}


/* =========================================================
   v1.9.31 — refinamento do cabeçalho no mobile
   ========================================================= */

/*
 * Mantém o cabeçalho compacto e estável em telas pequenas,
 * preservando o desktop e a estrutura/menu já existente.
 */
@media (max-width: 768px){

  /* Barra principal */
  .wd-header,
  .wd-site-header,
  .site-header{
    min-height:64px;
  }

  /* Evita que itens do cabeçalho forcem overflow horizontal. */
  .wd-header-inner,
  .wd-site-header-inner,
  .site-header .container,
  .site-header .wd-container{
    min-width:0;
    max-width:100%;
  }

  /* Logo: proporcional e sem dominar a barra. */
  .custom-logo-link,
  .site-logo,
  .wd-logo{
    min-width:0;
    flex-shrink:1;
  }

  .custom-logo,
  .custom-logo-link img,
  .site-logo img,
  .wd-logo img{
    width:auto;
    max-width:180px;
    max-height:48px;
    object-fit:contain;
  }

  /* Botões de menu, busca e tema com área de toque confortável. */
  .wd-menu-toggle,
  .menu-toggle,
  .wd-search-toggle,
  .wd-theme-toggle,
  .wd-dark-toggle,
  .search-toggle{
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    flex:0 0 44px;
  }

  /* Menu aberto: links fáceis de tocar e sem texto espremido. */
  .wd-mobile-menu a,
  .mobile-menu a,
  .wd-nav-mobile a,
  .site-navigation.toggled a{
    min-height:46px;
    display:flex;
    align-items:center;
    line-height:1.3;
  }

  /* Impede rolagem lateral causada pelo cabeçalho/menu. */
  .wd-header,
  .wd-site-header,
  .site-header,
  .wd-mobile-menu,
  .mobile-menu{
    max-width:100vw;
  }
}

@media (max-width: 480px){

  .wd-header,
  .wd-site-header,
  .site-header{
    min-height:60px;
  }

  .custom-logo,
  .custom-logo-link img,
  .site-logo img,
  .wd-logo img{
    max-width:150px;
    max-height:44px;
  }

  .wd-menu-toggle,
  .menu-toggle,
  .wd-search-toggle,
  .wd-theme-toggle,
  .wd-dark-toggle,
  .search-toggle{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    flex-basis:42px;
  }
}


/* =========================================================
   v1.9.32 — cabeçalho mobile mais compacto
   ========================================================= */

@media (max-width: 768px){

  /* Reduz o bloco da marca sem perder presença visual. */
  .wd-branding{
    padding:9px 0 7px;
  }

  .wd-branding-inner{
    min-height:74px;
  }

  .wd-branding .custom-logo,
  .wd-branding .custom-logo-link img{
    max-width:min(235px, 64vw);
    max-height:72px;
  }

  /* Tagline mais enxuta no celular. */
  .wd-branding .wd-tagline{
    margin-top:1px;
    padding-top:5px;
    font-size:9px;
    line-height:1.25;
  }

  .wd-branding .wd-tagline::before{
    width:28px;
    height:2px;
  }

  /* Barra de navegação mais baixa. */
  .wd-nav-wrap{
    min-height:54px;
  }

  .wd-nav-wrap .container,
  .wd-nav-wrap .wd-container{
    min-height:54px;
  }

  /* Controles continuam confortáveis, mas ocupam menos altura. */
  .wd-menu-toggle,
  .menu-toggle,
  .wd-search-toggle,
  .wd-theme-toggle,
  .wd-dark-toggle,
  .search-toggle{
    width:40px;
    height:40px;
    min-width:40px;
    min-height:40px;
    flex-basis:40px;
  }
}

@media (max-width: 480px){

  .wd-branding{
    padding:7px 0 5px;
  }

  .wd-branding-inner{
    min-height:68px;
  }

  .wd-branding .custom-logo,
  .wd-branding .custom-logo-link img{
    max-width:min(215px, 62vw);
    max-height:66px;
  }

  .wd-branding .wd-tagline{
    font-size:8.5px;
    padding-top:4px;
  }

  .wd-nav-wrap,
  .wd-nav-wrap .container,
  .wd-nav-wrap .wd-container{
    min-height:50px;
  }

  .wd-menu-toggle,
  .menu-toggle,
  .wd-search-toggle,
  .wd-theme-toggle,
  .wd-dark-toggle,
  .search-toggle{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    flex-basis:38px;
  }
}


/* =========================================================
   v1.9.33 — Menu Principal dentro do menu mobile
   ========================================================= */

/* Desktop mantém a navegação horizontal normal. */
@media (min-width:769px){
  .wd-main-nav{
    display:block;
  }
}

/* Mobile: oculta só a faixa horizontal e mantém o botão do menu visível. */
@media (max-width:768px){
  .wd-main-nav{
    display:none !important;
  }

  .wd-menu-toggle{
    display:inline-flex !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  /* Links herdados do Menu Principal dentro do drawer. */
  .wd-drawer-nav .wd-drawer-list,
  .wd-drawer-nav .wd-drawer-list ul{
    list-style:none;
    margin:0;
    padding:0;
  }

  .wd-drawer-nav .wd-drawer-list > li > a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:12px 16px;
    font-weight:650;
    line-height:1.3;
  }

  .wd-drawer-nav .wd-drawer-list .sub-menu{
    padding:0 0 6px 16px;
  }

  .wd-drawer-nav .wd-drawer-list .sub-menu a{
    display:flex;
    align-items:center;
    min-height:42px;
    padding:9px 16px;
    font-size:14px;
  }
}


/* =========================================================
   v1.9.34 — drawer sincronizado com o Menu Principal
   ========================================================= */
@media (max-width:768px){
  .wd-drawer-nav .wd-drawer-list{
    display:block !important;
    list-style:none;
    margin:0;
    padding:0;
  }

  .wd-drawer-nav .wd-drawer-list > li{
    display:block;
    border-bottom:1px solid var(--wd-border);
  }

  .wd-drawer-nav .wd-drawer-list > li:last-child{
    border-bottom:0;
  }

  .wd-drawer-nav .wd-drawer-list > li > a{
    display:flex !important;
    align-items:center;
    width:100%;
    min-height:48px;
    padding:12px 16px;
    color:var(--wd-text);
    font-size:14px;
    font-weight:650;
    line-height:1.3;
    text-decoration:none;
  }

  .wd-drawer-nav .wd-drawer-list > li > a::before{
    content:"›";
    margin-right:8px;
    color:var(--wd-blue);
    font-size:18px;
    line-height:1;
  }

  .wd-drawer-nav .sub-menu{
    display:block;
    list-style:none;
    margin:0;
    padding:0 0 8px 24px;
  }

  .wd-drawer-nav .sub-menu a{
    display:flex;
    align-items:center;
    min-height:40px;
    padding:8px 12px;
    color:var(--wd-muted);
    font-size:13px;
    text-decoration:none;
  }
}


/* =========================================================
   v1.9.35 — acabamento visual do menu mobile
   ========================================================= */
@media (max-width:768px){

  .wd-drawer{
    background:var(--wd-card);
  }

  .wd-drawer-nav{
    padding:6px 10px 14px;
  }

  .wd-drawer-nav .wd-drawer-list{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .wd-drawer-nav .wd-drawer-list > li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid color-mix(in srgb,var(--wd-border) 86%,transparent);
  }

  .wd-drawer-nav .wd-drawer-list > li:last-child{
    border-bottom:0;
  }

  .wd-drawer-nav .wd-drawer-list > li::marker,
  .wd-drawer-nav .wd-drawer-list li::marker{
    content:"";
  }

  .wd-drawer-nav .wd-drawer-list > li > a{
    position:relative;
    display:flex !important;
    align-items:center;
    min-height:46px;
    width:100%;
    padding:11px 12px 11px 30px;
    border-radius:8px;
    color:var(--wd-text);
    font-size:14px;
    font-weight:650;
    line-height:1.25;
    text-decoration:none;
    transition:
      background .18s ease,
      color .18s ease,
      transform .18s ease;
  }

  .wd-drawer-nav .wd-drawer-list > li > a::before{
    content:"›";
    position:absolute;
    left:11px;
    top:50%;
    color:var(--wd-blue);
    font-size:19px;
    font-weight:700;
    line-height:1;
    transform:translateY(-51%);
  }

  .wd-drawer-nav .wd-drawer-list > li > a:hover,
  .wd-drawer-nav .wd-drawer-list > li > a:focus-visible{
    background:color-mix(in srgb,var(--wd-blue) 7%,var(--wd-card));
    color:var(--wd-blue);
    transform:translateX(2px);
  }

  .wd-drawer-nav .wd-drawer-list > li.current-menu-item > a,
  .wd-drawer-nav .wd-drawer-list > li.current-menu-ancestor > a{
    background:color-mix(in srgb,var(--wd-blue) 9%,var(--wd-card));
    color:var(--wd-blue);
    font-weight:750;
  }

  /* Submenus */
  .wd-drawer-nav .sub-menu{
    list-style:none !important;
    margin:0 0 6px !important;
    padding:0 0 0 18px !important;
  }

  .wd-drawer-nav .sub-menu li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .wd-drawer-nav .sub-menu a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:40px;
    padding:8px 10px 8px 24px;
    border-radius:7px;
    color:var(--wd-muted);
    font-size:13px;
    line-height:1.3;
    text-decoration:none;
  }

  .wd-drawer-nav .sub-menu a::before{
    content:"•";
    position:absolute;
    left:9px;
    color:var(--wd-blue);
    font-size:13px;
  }

  .wd-drawer-nav .sub-menu a:hover,
  .wd-drawer-nav .sub-menu a:focus-visible{
    background:color-mix(in srgb,var(--wd-blue) 5%,var(--wd-card));
    color:var(--wd-blue);
  }

  /* Cabeçalho do drawer mais alinhado ao novo menu. */
  .wd-drawer-head{
    padding-bottom:10px;
    border-bottom:1px solid color-mix(in srgb,var(--wd-border) 86%,transparent);
  }

  .wd-drawer-close{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    transition:background .18s ease,color .18s ease;
  }

  .wd-drawer-close:hover,
  .wd-drawer-close:focus-visible{
    background:color-mix(in srgb,var(--wd-blue) 8%,var(--wd-card));
    color:var(--wd-blue);
  }
}


/* =========================================================
   v1.9.36 — correção visual definitiva do menu mobile
   ========================================================= */
@media (max-width:768px){

  /* Reset completo das listas geradas pelo WordPress */
  body .wd-drawer .wd-drawer-nav ul,
  body .wd-drawer .wd-drawer-nav ol,
  body .wd-drawer .wd-drawer-nav li{
    list-style:none !important;
    list-style-type:none !important;
    margin:0 !important;
    padding-left:0 !important;
  }

  body .wd-drawer .wd-drawer-nav li::marker{
    content:"" !important;
    font-size:0 !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list{
    margin:0 !important;
    padding:4px 10px 14px !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    position:relative;
    display:block !important;
    border-bottom:1px solid #e8edf3 !important;
  }

  body.dark .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    border-bottom-color:#2b3442 !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li:last-child{
    border-bottom:0 !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    min-height:46px !important;
    box-sizing:border-box !important;
    padding:11px 12px 11px 30px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:8px !important;
    background:transparent !important;
    color:var(--wd-text) !important;
    font-size:14px !important;
    font-weight:650 !important;
    line-height:1.25 !important;
    text-decoration:none !important;
  }

  /* Remove bullets/pseudo-elementos antigos e usa a seta azul */
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a::before{
    content:"›" !important;
    position:absolute !important;
    left:10px !important;
    top:50% !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    background:none !important;
    color:var(--wd-blue) !important;
    font-size:19px !important;
    font-weight:800 !important;
    line-height:1 !important;
    transform:translateY(-52%) !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:hover,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:focus-visible{
    background:rgba(36,152,243,.08) !important;
    color:var(--wd-blue) !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li.current-menu-item > a,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li.current-menu-ancestor > a{
    background:rgba(36,152,243,.10) !important;
    color:var(--wd-blue) !important;
    font-weight:750 !important;
  }

  /* Submenus */
  body .wd-drawer .wd-drawer-nav .sub-menu{
    display:block !important;
    margin:0 0 6px !important;
    padding:0 0 0 18px !important;
  }

  body .wd-drawer .wd-drawer-nav .sub-menu li a{
    display:flex !important;
    align-items:center !important;
    min-height:40px !important;
    padding:8px 10px 8px 24px !important;
    border-radius:7px !important;
    color:var(--wd-muted) !important;
    font-size:13px !important;
    text-decoration:none !important;
  }

  body .wd-drawer .wd-drawer-nav .sub-menu li a::before{
    content:"•" !important;
    position:absolute !important;
    left:9px !important;
    color:var(--wd-blue) !important;
    background:none !important;
  }
}


/* =========================================================
   v1.9.37 — acabamento definitivo do menu mobile
   ========================================================= */
@media (max-width:768px){

  body .wd-drawer .wd-drawer-nav{
    padding:8px 10px 16px !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    border-bottom:1px solid #e7ebf0 !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li:last-child{
    border-bottom:0 !important;
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    width:100% !important;
    min-height:47px !important;
    box-sizing:border-box !important;
    padding:11px 12px !important;
    margin:0 !important;
    border-radius:8px !important;
    background:transparent !important;
    color:var(--wd-text) !important;
    font-size:14px !important;
    font-weight:650 !important;
    line-height:1.25 !important;
    text-decoration:none !important;
    transition:background .18s ease,color .18s ease,transform .18s ease !important;
  }

  /* Desativa qualquer pseudo-elemento antigo do tema. */
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a::before,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a::after{
    content:none !important;
    display:none !important;
  }

  body .wd-drawer .wd-drawer-arrow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:14px !important;
    min-width:14px !important;
    color:var(--wd-blue) !important;
    font-size:20px !important;
    font-weight:800 !important;
    line-height:1 !important;
    transform:translateY(-1px);
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:hover,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:focus-visible{
    background:rgba(36,152,243,.08) !important;
    color:var(--wd-blue) !important;
    transform:translateX(2px);
  }

  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li.current-menu-item > a,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li.current-menu-ancestor > a{
    background:rgba(36,152,243,.10) !important;
    color:var(--wd-blue) !important;
    font-weight:750 !important;
  }

  body.dark .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    border-bottom-color:#2b3442 !important;
  }
}


/* =========================================================
   v1.9.38 — menu mobile com markup próprio e visual robusto
   ========================================================= */
@media (max-width:768px){

  body .wd-drawer .wd-drawer-nav{
    margin:0 !important;
    padding:8px 10px 14px !important;
    background:var(--wd-card) !important;
    border-radius:10px !important;
  }

  body .wd-drawer .wd-drawer-list{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  body .wd-drawer .wd-drawer-list > li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid #dfe6ee !important;
  }

  body .wd-drawer .wd-drawer-list > li:last-child{
    border-bottom:0 !important;
  }

  body .wd-drawer .wd-drawer-list > li > a{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    width:100% !important;
    min-height:48px !important;
    box-sizing:border-box !important;
    padding:11px 12px !important;
    margin:0 !important;
    border-radius:8px !important;
    color:var(--wd-text) !important;
    background:transparent !important;
    font-size:14px !important;
    font-weight:650 !important;
    line-height:1.25 !important;
    text-decoration:none !important;
  }

  body .wd-drawer .wd-drawer-arrow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:15px !important;
    min-width:15px !important;
    color:#2498f3 !important;
    font-size:20px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body .wd-drawer .wd-drawer-label{
    display:block !important;
    min-width:0 !important;
  }

  body .wd-drawer .wd-drawer-list > li > a:hover,
  body .wd-drawer .wd-drawer-list > li > a:focus-visible{
    color:#2498f3 !important;
    background:#eef7ff !important;
  }

  body .wd-drawer .wd-drawer-list > li.current-menu-item > a,
  body .wd-drawer .wd-drawer-list > li.current-menu-ancestor > a{
    color:#1689e6 !important;
    background:#e8f4ff !important;
    font-weight:750 !important;
  }

  body.dark .wd-drawer .wd-drawer-list > li{
    border-bottom-color:#313b49 !important;
  }

  body.dark .wd-drawer .wd-drawer-list > li > a:hover,
  body.dark .wd-drawer .wd-drawer-list > li > a:focus-visible,
  body.dark .wd-drawer .wd-drawer-list > li.current-menu-item > a,
  body.dark .wd-drawer .wd-drawer-list > li.current-menu-ancestor > a{
    background:#172535 !important;
  }
}


/* =========================================================
   v1.9.39 — correção da causa real do menu mobile
   ========================================================= */
@media (max-width:768px){
  body .wd-drawer .wd-drawer-nav > ul,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  body .wd-drawer .wd-drawer-nav > ul > li,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid #dfe6ee !important;
  }

  body .wd-drawer .wd-drawer-nav > ul > li:last-child,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li:last-child{
    border-bottom:0 !important;
  }

  body .wd-drawer .wd-drawer-nav > ul > li > a,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    min-height:48px !important;
    width:100% !important;
    box-sizing:border-box !important;
    padding:11px 12px !important;
    margin:0 !important;
    border-radius:8px !important;
    color:var(--wd-text) !important;
    background:transparent !important;
    font-size:14px !important;
    font-weight:650 !important;
    line-height:1.25 !important;
    text-decoration:none !important;
  }

  body .wd-drawer .wd-drawer-arrow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:15px !important;
    min-width:15px !important;
    color:#2498f3 !important;
    font-size:20px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body .wd-drawer .wd-drawer-label{
    display:block !important;
    min-width:0 !important;
  }

  body .wd-drawer .wd-drawer-nav > ul > li > a:hover,
  body .wd-drawer .wd-drawer-nav > ul > li > a:focus-visible,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:hover,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a:focus-visible{
    color:#2498f3 !important;
    background:#eef7ff !important;
  }

  body.dark .wd-drawer .wd-drawer-nav > ul > li,
  body.dark .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    border-bottom-color:#313b49 !important;
  }
}


/* =========================================================
   v1.9.40 — Artigos Recentes: cards secundários no mobile
   ========================================================= */
@media (max-width:768px){

  /* Mantém o primeiro/destaque intacto e dá mais área aos demais */
  .wd-recent-list .wd-recent-item:not(:first-child),
  .wd-recent-posts .wd-recent-item:not(:first-child){
    min-height:76px !important;
    padding:8px !important;
    gap:10px !important;
    align-items:center !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) img,
  .wd-recent-posts .wd-recent-item:not(:first-child) img,
  .wd-recent-list .wd-recent-item:not(:first-child) .wp-post-image,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wp-post-image{
    width:82px !important;
    min-width:82px !important;
    height:60px !important;
    object-fit:cover !important;
    border-radius:7px !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) .wd-recent-content,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-recent-content{
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) h3,
  .wd-recent-posts .wd-recent-item:not(:first-child) h3,
  .wd-recent-list .wd-recent-item:not(:first-child) .wd-recent-title,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-recent-title{
    margin:0 0 5px !important;
    font-size:13px !important;
    line-height:1.28 !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) .wd-read-more,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-read-more{
    display:inline-block !important;
    margin-top:2px !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }
}


/* =========================================================
   v1.9.41 — corrige sobreposição dos links nos cards pequenos
   ========================================================= */
@media (max-width:768px){

  /* Cards secundários: estrutura em duas colunas estável */
  .wd-recent-list .wd-recent-item:not(:first-child),
  .wd-recent-posts .wd-recent-item:not(:first-child){
    display:grid !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    column-gap:10px !important;
    align-items:start !important;
    min-height:76px !important;
    overflow:hidden !important;
  }

  /* Imagem fica restrita à primeira coluna */
  .wd-recent-list .wd-recent-item:not(:first-child) > a:first-child,
  .wd-recent-posts .wd-recent-item:not(:first-child) > a:first-child,
  .wd-recent-list .wd-recent-item:not(:first-child) .wd-recent-thumb,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-recent-thumb{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    width:82px !important;
    min-width:82px !important;
    max-width:82px !important;
    height:60px !important;
    overflow:hidden !important;
    border-radius:7px !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) img,
  .wd-recent-posts .wd-recent-item:not(:first-child) img{
    display:block !important;
    width:82px !important;
    height:60px !important;
    object-fit:cover !important;
    margin:0 !important;
  }

  /* Todo o conteúdo textual fica preso à segunda coluna */
  .wd-recent-list .wd-recent-item:not(:first-child) .wd-recent-content,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-recent-content{
    grid-column:2 !important;
    min-width:0 !important;
    width:auto !important;
    position:relative !important;
    z-index:1 !important;
    overflow:hidden !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) h3,
  .wd-recent-posts .wd-recent-item:not(:first-child) h3,
  .wd-recent-list .wd-recent-item:not(:first-child) .wd-recent-title,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-recent-title{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    margin:0 0 5px !important;
    max-width:100% !important;
  }

  .wd-recent-list .wd-recent-item:not(:first-child) .wd-read-more,
  .wd-recent-posts .wd-recent-item:not(:first-child) .wd-read-more{
    display:inline-block !important;
    position:static !important;
    float:none !important;
    clear:both !important;
    margin:2px 0 0 !important;
    max-width:100% !important;
    white-space:nowrap !important;
  }
}


/* =========================================================
   v1.9.42 — estrutura real dos mini cards de Artigos Recentes
   ========================================================= */
@media (max-width:768px){

  /* O link inteiro do card vira a grade: imagem à esquerda e texto à direita. */
  body .wd-recent-editorial .wd-recent-mini > a{
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:stretch !important;
    width:100% !important;
    min-height:78px !important;
    height:auto !important;
    padding:0 !important;
  }

  /* Miniatura fixa, sem disputar espaço com o texto. */
  body .wd-recent-editorial .wd-recent-mini-media{
    grid-column:1 !important;
    width:92px !important;
    min-width:92px !important;
    height:78px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    border-radius:0 !important;
    background:var(--wd-card) !important;
  }

  body .wd-recent-editorial .wd-recent-mini-img,
  body .wd-recent-editorial .wd-recent-mini-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    margin:0 !important;
  }

  /* Conteúdo fica preso à coluna direita. */
  body .wd-recent-editorial .wd-recent-mini-body{
    grid-column:2 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    min-width:0 !important;
    min-height:78px !important;
    padding:8px 10px 8px 0 !important;
    overflow:hidden !important;
  }

  body .wd-recent-editorial .wd-recent-mini-body h3{
    margin:0 0 6px !important;
    min-height:0 !important;
    max-width:100% !important;
    font-size:13px !important;
    line-height:1.28 !important;
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
  }

  body .wd-recent-editorial .wd-recent-mini-link{
    position:static !important;
    display:inline-flex !important;
    align-items:center !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    clear:none !important;
    white-space:nowrap !important;
    line-height:1.35 !important;
  }

  /* Cards continuam compactos e separados entre si. */
  body .wd-recent-editorial .wd-recent-mini-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  body .wd-recent-editorial .wd-recent-mini{
    min-height:78px !important;
    overflow:hidden !important;
  }
}


/* =========================================================
   v1.9.43 — encaixe real do artigo no mobile
   ========================================================= */
@media (max-width:768px){

  /* Evita que o grid ou o artigo conservem largura mínima de desktop. */
  .wd-main .container,
  .wd-grid,
  .wd-single,
  .wd-single-header,
  .wd-entry-content{
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .wd-grid{
    width:100% !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:20px !important;
  }

  /* Artigo ocupa somente a largura útil da tela. */
  .wd-single{
    width:100% !important;
    padding:16px !important;
    overflow:hidden !important;
  }

  /* Breadcrumbs, título e corpo podem quebrar sem forçar overflow. */
  .wd-breadcrumbs,
  .wd-single-header h1,
  .wd-entry-content,
  .wd-entry-content p,
  .wd-entry-content h2,
  .wd-entry-content h3,
  .wd-entry-content h4{
    max-width:100% !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  /* Imagem destacada 800x450 inteira dentro da largura do artigo. */
  .wd-single > .wd-featured-image{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    object-fit:contain !important;
    object-position:center center !important;
    margin:18px 0 !important;
    box-sizing:border-box !important;
  }

  /* Imagens internas também nunca ultrapassam o corpo. */
  .wd-entry-content img,
  .wd-entry-content figure,
  .wd-entry-content .wp-block-image{
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .wd-entry-content img{
    width:auto;
    height:auto !important;
  }

  /* Elementos Gutenberg "wide/full" não escapam da tela no mobile. */
  .wd-entry-content .alignwide,
  .wd-entry-content .alignfull{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* Vídeos/iframes e embeds seguem a mesma largura. */
  .wd-entry-content iframe,
  .wd-entry-content video,
  .wd-entry-content embed,
  .wd-entry-content object{
    max-width:100% !important;
  }
}

@media (max-width:480px){
  .wd-main .container{
    width:calc(100% - 16px) !important;
  }

  .wd-single{
    padding:14px !important;
  }
}


/* =========================================================
   v1.9.44 — rodapé mobile mais compacto e organizado
   ========================================================= */
@media (max-width:768px){

  .wd-footer{
    padding-top:28px !important;
  }

  .wd-footer .container{
    width:calc(100% - 24px) !important;
  }

  .wd-footer-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:26px !important;
  }

  /* Bloco da marca */
  .wd-footer-brand,
  .wd-footer-col{
    min-width:0 !important;
  }

  .wd-footer-brand img,
  .wd-footer-logo img,
  .wd-footer .custom-logo{
    width:auto !important;
    max-width:185px !important;
    max-height:74px !important;
    object-fit:contain !important;
    object-position:left center !important;
  }

  .wd-footer-brand h2,
  .wd-footer-brand h3,
  .wd-footer-title{
    margin-top:10px !important;
    margin-bottom:10px !important;
    font-size:18px !important;
    line-height:1.25 !important;
  }

  .wd-footer-brand p{
    margin:0 0 10px !important;
    max-width:34ch !important;
    font-size:13px !important;
    line-height:1.55 !important;
  }

  /* Títulos das colunas */
  .wd-footer-col h3,
  .wd-footer-heading{
    margin:0 0 12px !important;
    font-size:16px !important;
    line-height:1.25 !important;
  }

  .wd-footer-col h3::after,
  .wd-footer-heading::after{
    width:30px !important;
    margin-top:7px !important;
  }

  /* Links com área de toque melhor */
  .wd-footer-menu,
  .wd-footer-menu ul,
  .wd-footer-col ul{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
  }

  .wd-footer-menu li,
  .wd-footer-col li{
    margin:0 !important;
    padding:0 !important;
  }

  .wd-footer-menu a,
  .wd-footer-col li a{
    display:flex !important;
    align-items:center !important;
    min-height:38px !important;
    padding:5px 0 !important;
    font-size:13px !important;
    line-height:1.3 !important;
  }

  /* Copyright mais separado e centralizado */
  .wd-footer-bottom{
    margin-top:24px !important;
    padding:14px 0 16px !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
    text-align:center !important;
  }

  .wd-footer-bottom p,
  .wd-copyright{
    margin:0 !important;
    padding:0 44px !important;
    font-size:11px !important;
    line-height:1.45 !important;
    text-align:center !important;
  }
}

@media (max-width:480px){
  .wd-footer{
    padding-top:24px !important;
  }

  .wd-footer-brand img,
  .wd-footer-logo img,
  .wd-footer .custom-logo{
    max-width:170px !important;
    max-height:68px !important;
  }

  .wd-footer-grid{
    gap:22px !important;
  }

  .wd-footer-bottom{
    margin-top:20px !important;
  }
}


/* =========================================================
   v2.4.0 — baseline consolidada de scroll mobile e Back to Top
   ========================================================= */
@media (max-width:768px){

  /*
   * Neutraliza as regras agressivas da 1.9.45.
   * A página volta a usar o fluxo/scroll nativo do navegador.
   */
  html,
  body{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:visible !important;
    position:static !important;
  }

  /*
   * Quando o drawer está aberto, bloqueia apenas o conteúdo de fundo.
   * Assim que fecha, o JS remove a classe e a rolagem volta imediatamente.
   */
  body.wd-drawer-open{
    overflow:hidden !important;
  }

  /*
   * Containers do site não podem criar uma janela interna de rolagem.
   */
  .site,
  #page,
  .wd-site,
  .wd-main,
  main,
  .wd-footer,
  footer{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    position:relative !important;
  }

  /*
   * Back to Top: fixed ao viewport, acima do rodapé/drawer,
   * sem depender do posicionamento dos containers.
   */
  #wd-back-top,
  .wd-back-top,
  .back-to-top{
    position:fixed !important;
    right:16px !important;
    bottom:18px !important;
    z-index:9998 !important;
  }
}


/* =========================================================
   v1.9.48 — categorias mais compactas no mobile
   ========================================================= */
@media (max-width:768px){

  /* Reduz o espaço entre publicidade e a lista de posts. */
  .archive .wd-home-ad,
  .category .wd-home-ad,
  .archive .wd-archive-header + .wd-home-ad,
  .category .wd-archive-header + .wd-home-ad{
    margin-bottom:14px !important;
  }

  /* Mantém o primeiro card como destaque. */
  .archive .wd-post-grid > .wd-card:first-child,
  .category .wd-post-grid > .wd-card:first-child{
    margin-bottom:14px !important;
  }

  /* Demais cards: formato horizontal compacto. */
  .archive .wd-post-grid > .wd-card:not(:first-child),
  .category .wd-post-grid > .wd-card:not(:first-child){
    display:grid !important;
    grid-template-columns:118px minmax(0,1fr) !important;
    gap:0 !important;
    min-height:112px !important;
    overflow:hidden !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-card-media,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-card-media{
    width:118px !important;
    height:112px !important;
    min-height:112px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-card-img,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-card-img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-card-body,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-card-body{
    min-width:0 !important;
    padding:10px 12px !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-category,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-category{
    margin-bottom:4px !important;
    font-size:9.5px !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) h2,
  .category .wd-post-grid > .wd-card:not(:first-child) h2{
    margin:0 0 5px !important;
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) h2 a,
  .category .wd-post-grid > .wd-card:not(:first-child) h2 a{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) p,
  .category .wd-post-grid > .wd-card:not(:first-child) p{
    display:none !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-card-readmore,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-card-readmore{
    margin-top:6px !important;
    padding-top:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }

  /* Espaçamento entre cards reduzido. */
  .archive .wd-post-grid,
  .category .wd-post-grid{
    gap:10px !important;
  }
}

@media (max-width:480px){
  .archive .wd-post-grid > .wd-card:not(:first-child),
  .category .wd-post-grid > .wd-card:not(:first-child){
    grid-template-columns:104px minmax(0,1fr) !important;
    min-height:104px !important;
  }

  .archive .wd-post-grid > .wd-card:not(:first-child) .wd-card-media,
  .category .wd-post-grid > .wd-card:not(:first-child) .wd-card-media{
    width:104px !important;
    height:104px !important;
    min-height:104px !important;
  }
}


/* =========================================================
   v1.9.49 — resultados de busca compactos no mobile
   ========================================================= */
@media (max-width:768px){

  /* Aproxima a listagem do título da busca. */
  .search .wd-archive-header{
    margin-bottom:14px !important;
  }

  .search .wd-archive-header + .wd-home-ad,
  .search .wd-home-ad{
    margin-bottom:14px !important;
  }

  /* Primeiro resultado permanece como destaque. */
  .search .wd-post-grid > .wd-card:first-child{
    margin-bottom:14px !important;
  }

  /* Resultados seguintes seguem a linguagem visual das categorias. */
  .search .wd-post-grid > .wd-card:not(:first-child){
    display:grid !important;
    grid-template-columns:118px minmax(0,1fr) !important;
    gap:0 !important;
    min-height:112px !important;
    overflow:hidden !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-card-media{
    width:118px !important;
    height:112px !important;
    min-height:112px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-card-img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-card-body{
    min-width:0 !important;
    padding:10px 12px !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-category{
    margin-bottom:4px !important;
    font-size:9.5px !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) h2{
    margin:0 0 5px !important;
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) h2 a{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) p{
    display:none !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-card-readmore{
    margin-top:6px !important;
    padding-top:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }

  .search .wd-post-grid{
    gap:10px !important;
  }
}

@media (max-width:480px){
  .search .wd-post-grid > .wd-card:not(:first-child){
    grid-template-columns:104px minmax(0,1fr) !important;
    min-height:104px !important;
  }

  .search .wd-post-grid > .wd-card:not(:first-child) .wd-card-media{
    width:104px !important;
    height:104px !important;
    min-height:104px !important;
  }
}


/* =========================================================
   v1.9.50 — busca sem resultados mais útil
   ========================================================= */
.wd-search-empty{
  max-width:680px;
  margin:18px auto 42px;
  padding:30px 28px;
  border:1px solid var(--wd-border);
  border-radius:16px;
  background:var(--wd-card);
  text-align:center;
  box-shadow:0 8px 28px rgba(20,35,60,.05);
}

.wd-search-empty-icon{
  width:54px;
  height:54px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:color-mix(in srgb,var(--wd-blue) 10%,var(--wd-card));
  color:var(--wd-blue);
}

.wd-search-empty-icon svg{
  width:27px;
  height:27px;
  fill:currentColor;
}

.wd-search-empty h2{
  margin:0 0 8px;
  color:var(--wd-text);
  font-size:24px;
  line-height:1.25;
  letter-spacing:-.35px;
}

.wd-search-empty p{
  max-width:520px;
  margin:0 auto 20px;
  color:var(--wd-muted);
  font-size:14px;
  line-height:1.6;
}

.wd-search-empty-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  max-width:560px;
  margin:0 auto;
}

.wd-search-empty-form input{
  width:100%;
  height:44px;
  min-width:0;
  padding:0 13px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  background:#f8fafc;
  color:var(--wd-text);
  font:inherit;
  outline:none;
}

.wd-search-empty-form input:focus{
  border-color:var(--wd-blue);
  background:var(--wd-card);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--wd-blue) 12%,transparent);
}

.wd-search-empty-form button{
  min-height:44px;
  padding:0 17px;
  border:0;
  border-radius:10px;
  background:var(--wd-blue);
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}

.wd-search-empty-form button:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(36,152,243,.24);
}

.wd-search-empty-home{
  display:inline-block;
  margin-top:16px;
  color:var(--wd-blue-text);
  font-size:12px;
  font-weight:750;
  text-decoration:none;
}

.wd-search-empty-home:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

body.dark .wd-search-empty-form input{
  border-color:#3b4656;
  background:#171c24;
}

@media(max-width:620px){
  .wd-search-empty{
    margin:12px 0 28px;
    padding:24px 18px;
    border-radius:14px;
  }

  .wd-search-empty h2{
    font-size:21px;
  }

  .wd-search-empty-form{
    grid-template-columns:1fr;
  }

  .wd-search-empty-form button{
    width:100%;
  }
}


/* =========================================================
   v1.9.51 — busca sem resultados otimizada no desktop
   ========================================================= */
@media (min-width:769px){

  .search .wd-search-empty{
    width:min(100%, 900px);
    max-width:900px;
    margin:22px auto 48px;
    padding:32px 34px;
  }

  .search .wd-search-empty h2{
    font-size:26px;
  }

  .search .wd-search-empty p{
    max-width:640px;
    margin-bottom:22px;
  }

  .search .wd-search-empty-form{
    grid-template-columns:minmax(0,1fr) 150px;
    max-width:760px;
    gap:10px;
  }

  .search .wd-search-empty-form input{
    height:46px;
  }

  .search .wd-search-empty-form button{
    min-height:46px;
    width:150px;
  }

  .search .wd-search-empty-home{
    margin-top:18px;
  }
}


/* =========================================================
   v1.9.52 — centraliza busca vazia no desktop
   ========================================================= */
@media (min-width:901px){

  /*
   * Em uma busca vazia, a listagem não precisa reservar a coluna
   * da sidebar. O conteúdo passa a ocupar toda a largura do grid.
   */
  body.search .wd-grid:has(.wd-search-empty){
    grid-template-columns:minmax(0,1fr) !important;
  }

  body.search .wd-grid:has(.wd-search-empty) .wd-content,
  body.search .wd-grid:has(.wd-search-empty) .wd-primary,
  body.search .wd-grid:has(.wd-search-empty) main{
    width:100% !important;
    max-width:100% !important;
    grid-column:1 / -1 !important;
  }

  /*
   * O bloco de recuperação fica centralizado na área total,
   * mantendo largura confortável sem encostar nas laterais.
   */
  body.search .wd-search-empty{
    width:min(900px, calc(100% - 48px)) !important;
    max-width:900px !important;
    margin:24px auto 50px !important;
  }

  /*
   * Se a sidebar estiver presente no template da busca vazia,
   * ela não ocupa uma coluna fantasma nessa situação.
   */
  body.search .wd-grid:has(.wd-search-empty) .wd-sidebar{
    display:none !important;
  }
}


/* =========================================================
   v1.9.53 — centralização real da busca sem resultados
   ========================================================= */

/* Sem resultados: não existe coluna de sidebar. */
.search .wd-search-grid-empty{
  display:block !important;
  width:100% !important;
}

.search .wd-search-main-empty{
  width:100% !important;
  max-width:100% !important;
}

/* O título continua alinhado ao container principal. */
.search .wd-search-main-empty > .wd-section-title{
  width:100% !important;
}

/* O card vazio é centralizado na largura total disponível. */
.search .wd-post-grid-empty{
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
  width:100% !important;
}

.search .wd-post-grid-empty .wd-search-empty{
  flex:0 1 900px !important;
  width:min(900px, 100%) !important;
  max-width:900px !important;
  margin:22px auto 48px !important;
}

@media(max-width:768px){
  .search .wd-post-grid-empty{
    display:block !important;
  }

  .search .wd-post-grid-empty .wd-search-empty{
    width:100% !important;
    margin:12px 0 28px !important;
  }
}


/* =========================================================
   v1.9.55 — refinamento seguro da 404 existente
   Mantém o template estável da v1.9.53.
   ========================================================= */

/* Desktop */
@media (min-width:769px){
  .wd-404-page{
    padding:42px 0 58px !important;
  }

  .wd-404-page > .container{
    display:flex !important;
    justify-content:center !important;
  }

  .wd-404-page .wd-404-card{
    width:min(900px, 100%) !important;
    max-width:900px !important;
    margin:0 auto !important;
    padding:44px 48px !important;
  }

  .wd-404-page .wd-404-number{
    margin-bottom:8px !important;
  }

  .wd-404-page .wd-404-card h1{
    max-width:680px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .wd-404-page .wd-404-card > p{
    max-width:640px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .wd-404-page .wd-404-search{
    max-width:680px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .wd-404-page .wd-404-search form{
    display:flex !important;
    align-items:stretch !important;
    gap:10px !important;
  }

  .wd-404-page .wd-404-search input[type="search"]{
    flex:1 1 auto !important;
    min-width:0 !important;
  }

  .wd-404-page .wd-404-search button,
  .wd-404-page .wd-404-search input[type="submit"]{
    flex:0 0 150px !important;
    width:150px !important;
  }
}

/* Mobile */
@media (max-width:768px){
  .wd-404-page{
    padding:18px 0 32px !important;
  }

  .wd-404-page > .container{
    width:calc(100% - 16px) !important;
  }

  .wd-404-page .wd-404-card{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:26px 18px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  .wd-404-page .wd-404-code{
    opacity:.045 !important;
  }

  .wd-404-page .wd-404-number{
    font-size:46px !important;
    line-height:1 !important;
  }

  .wd-404-page .wd-404-card h1{
    margin-top:8px !important;
    font-size:24px !important;
    line-height:1.2 !important;
  }

  .wd-404-page .wd-404-card > p{
    font-size:13px !important;
    line-height:1.55 !important;
  }

  .wd-404-page .wd-404-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .wd-404-page .wd-404-actions a{
    width:100% !important;
    box-sizing:border-box !important;
    justify-content:center !important;
  }

  .wd-404-page .wd-404-search{
    width:100% !important;
    max-width:100% !important;
  }

  .wd-404-page .wd-404-search form{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    width:100% !important;
  }

  .wd-404-page .wd-404-search input[type="search"],
  .wd-404-page .wd-404-search button,
  .wd-404-page .wd-404-search input[type="submit"]{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
}


/* =========================================================
   v1.9.56 — centraliza a pesquisa da 404 no desktop
   ========================================================= */
@media (min-width:769px){

  .wd-404-page .wd-404-search{
    width:100% !important;
    max-width:680px !important;
    margin:26px auto 0 !important;
  }

  .wd-404-page .wd-404-search form{
    display:flex !important;
    justify-content:center !important;
    align-items:stretch !important;
    width:100% !important;
    max-width:680px !important;
    margin:0 auto !important;
    gap:10px !important;
  }

  .wd-404-page .wd-404-search input[type="search"]{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .wd-404-page .wd-404-search button,
  .wd-404-page .wd-404-search input[type="submit"]{
    flex:0 0 150px !important;
    width:150px !important;
    min-width:150px !important;
    margin:0 !important;
  }
}


/* =========================================================
   v1.9.57 — campo de pesquisa da 404 clicável no mobile
   ========================================================= */
@media (max-width:768px){

  .wd-404-page .wd-404-search,
  .wd-404-page .wd-404-search form{
    position:relative !important;
    z-index:3 !important;
    pointer-events:auto !important;
  }

  .wd-404-page .wd-404-search input[type="search"]{
    position:relative !important;
    z-index:4 !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:46px !important;
    padding:0 13px !important;
    margin:0 !important;
    border:1px solid #cbd5e1 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:var(--wd-text) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    -webkit-user-select:text !important;
    user-select:text !important;
    caret-color:var(--wd-blue) !important;
  }

  .wd-404-page .wd-404-search input[type="search"]:focus{
    outline:none !important;
    border-color:var(--wd-blue) !important;
    box-shadow:0 0 0 3px rgba(36,152,243,.13) !important;
  }

  .wd-404-page .wd-404-search button,
  .wd-404-page .wd-404-search input[type="submit"]{
    position:relative !important;
    z-index:4 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  /* Garante que elementos decorativos da 404 não cubram o formulário. */
  .wd-404-page .wd-404-code,
  .wd-404-page .wd-404-icon{
    pointer-events:none !important;
  }

  body.dark .wd-404-page .wd-404-search input[type="search"]{
    background:#171c24 !important;
    border-color:#3b4656 !important;
  }
}


/* =========================================================
   v1.9.58 — pesquisa 404 mobile: campo em largura total
   ========================================================= */
@media (max-width:768px){

  /*
   * O searchform padrão do WordPress pode trazer label/estrutura flex
   * própria. No mobile da 404, normalizamos tudo para uma única coluna.
   */
  .wd-404-page .wd-404-search{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  .wd-404-page .wd-404-search form,
  .wd-404-page .wd-404-search .search-form{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
    max-width:100% !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
  }

  .wd-404-page .wd-404-search label,
  .wd-404-page .wd-404-search .search-form label{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .wd-404-page .wd-404-search .search-field,
  .wd-404-page .wd-404-search input[type="search"]{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:46px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    flex:none !important;
  }

  .wd-404-page .wd-404-search .search-submit,
  .wd-404-page .wd-404-search button,
  .wd-404-page .wd-404-search input[type="submit"]{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:44px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    flex:none !important;
  }
}


/* =========================================================
   v1.9.59 — respiro entre campo e botão da 404 no mobile
   ========================================================= */
@media (max-width:768px){
  .wd-404-page .wd-404-search form,
  .wd-404-page .wd-404-search .search-form{
    row-gap:12px !important;
    gap:12px !important;
  }
}


/* =========================================================
   v1.9.60 — separação real do botão Pesquisar na 404 mobile
   ========================================================= */
@media (max-width:768px){

  .wd-404-page .wd-404-search .search-submit,
  .wd-404-page .wd-404-search button[type="submit"],
  .wd-404-page .wd-404-search input[type="submit"]{
    margin-top:12px !important;
  }

  /* Evita que regras antigas anulem visualmente o espaçamento. */
  .wd-404-page .wd-404-search label + .search-submit,
  .wd-404-page .wd-404-search label + button[type="submit"],
  .wd-404-page .wd-404-search label + input[type="submit"]{
    margin-top:12px !important;
  }
}


/* =========================================================
   v1.9.61 — refinamento compacto da página Contato no mobile
   ========================================================= */
@media (max-width:768px){

  /* Aproxima o formulário do texto introdutório. */
  .wd-contact-form{
    margin-top:16px !important;
  }

  .wd-contact-form > :first-child{
    margin-top:0 !important;
  }

  /* Reduz apenas o respiro antes do botão de envio. */
  .wd-contact-form textarea{
    margin-bottom:0 !important;
  }

  .wd-contact-form button[type="submit"],
  .wd-contact-form input[type="submit"]{
    margin-top:12px !important;
  }
}


/* =========================================================
   v1.9.62 — Sobre Nós mais compacto no mobile
   ========================================================= */
@media (max-width:768px){

  /* Compacta apenas a página Sobre Nós sem alterar tipografia. */
  body.page .wd-page-content h2{
    margin-top:24px !important;
    margin-bottom:10px !important;
  }

  body.page .wd-page-content h2:first-child{
    margin-top:0 !important;
  }

  body.page .wd-page-content p{
    margin-top:0 !important;
    margin-bottom:14px !important;
  }

  body.page .wd-page-content ul,
  body.page .wd-page-content ol{
    margin-top:8px !important;
    margin-bottom:16px !important;
  }
}


/* =========================================================
   v1.9.63 — links rastreáveis nos Destaques
   ========================================================= */
.wd-feature-link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}


/* =========================================================
   v1.9.64 — Você Pode Ter Perdido respeita a coluna do artigo
   ========================================================= */
@media (min-width:1000px){
  .wd-missed{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .wd-missed-viewport{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
  }

  .wd-missed-track{
    max-width:100%;
  }
}

/* =========================================================
   v1.9.74 — H1 36px usando toda a largura útil do artigo no desktop
   Evita quebra prematura causada pelo max-width de 760px e
   pelo balanceamento forçado de linhas.
   ========================================================= */
@media (min-width:621px){
  .wd-single-header h1{
    font-size:36px;
    line-height:1.16;
    letter-spacing:-.75px;
    max-width:none;
    width:100%;
    text-wrap:wrap;
  }
}


/* =========================================================
   v1.9.83 — miniaturas 16:9 em Artigos recentes
   Mantém o enquadramento das imagens destacadas 800x450.
   ========================================================= */


/* =========================================================
   v1.9.84 — destaque grande de Artigos Recentes em 16:9
   Preserva integralmente o enquadramento das imagens 800x450
   no desktop, sem alterar o comportamento mobile existente.
   ========================================================= */
@media (min-width:681px){
  .wd-recent-main{
    min-height:0 !important;
    aspect-ratio:16/9;
  }
  .wd-recent-main-img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }
}


/* v1.9.85 — prioridade alta para a imagem LCP do destaque principal */


/* =========================================================
   v1.9.86 — redes sociais discretas no rodapé
   ========================================================= */
.wd-footer-social{margin-top:22px}
.wd-footer-social-label{display:block;margin-bottom:10px;color:#c9c9c9;font-size:14px;font-weight:700}
.wd-footer-social-links{display:flex;align-items:center;gap:10px}
.wd-footer-social .wd-social-link{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #343a43;border-radius:50%;background:rgba(255,255,255,.04);color:#e8edf3;transition:color .2s ease,border-color .2s ease,background-color .2s ease,transform .2s ease}
.wd-footer-social .wd-social-link:hover,.wd-footer-social .wd-social-link:focus-visible{color:var(--wd-blue,#2498f3);border-color:var(--wd-blue,#2498f3);background:rgba(36,152,243,.08);transform:translateY(-2px)}
.wd-footer-social .wd-social-link svg{width:19px;height:19px;fill:currentColor}
@media(max-width:680px){.wd-footer-social-links{justify-content:flex-start}}


/* =========================================================
   v1.9.87 — mais respiro abaixo das redes sociais no desktop
   ========================================================= */
@media (min-width:681px){
  .wd-footer-social{margin-bottom:16px}
}


/* =========================================================
   v1.9.88 — SEO/Schema
   Remove o Schema Article próprio do tema para evitar duplicidade
   com o grafo de dados estruturados gerado pelo Yoast SEO.
   ========================================================= */


/* =========================================================
   v1.9.89 — autoria editorial e página de autor
   Autor dinâmico no topo dos posts, links no box de autor e
   arquivo de autor com biografia, função e artigos publicados.
   ========================================================= */
.wd-single-author a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:inherit;
  text-decoration:none;
  transition:color .2s ease;
}
.wd-single-author a:hover{color:var(--wd-blue)}

.wd-author-link{
  display:inline-block;
  color:inherit;
  text-decoration:none;
}
.wd-author-link:hover .wd-author-name{color:var(--wd-blue)}
.wd-author-name{transition:color .2s ease}
.wd-author-avatar-link{display:block;border-radius:50%}
.wd-author-avatar-link:focus-visible,
.wd-author-link:focus-visible,
.wd-single-author a:focus-visible{
  outline:3px solid color-mix(in srgb,var(--wd-blue) 35%,transparent);
  outline-offset:3px;
}

.wd-author-page{padding:38px 0 64px}
.wd-author-profile{
  display:grid;
  grid-template-columns:128px minmax(0,1fr);
  gap:26px;
  align-items:center;
  margin:0 0 34px;
  padding:28px;
  border:1px solid var(--wd-border);
  border-left:4px solid var(--wd-blue);
  border-radius:16px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--wd-blue) 5%,transparent),transparent 60%),
    var(--wd-card);
  box-shadow:0 8px 26px rgba(20,35,60,.055);
}
.wd-author-profile-avatar img{
  width:128px;
  height:128px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid color-mix(in srgb,var(--wd-blue) 20%,var(--wd-card));
  box-shadow:0 7px 18px rgba(20,35,60,.10);
}
.wd-author-profile-kicker{
  display:block;
  margin:0 0 5px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:850;
  letter-spacing:1.1px;
  text-transform:uppercase;
}
.wd-author-profile h1{
  margin:0 0 6px;
  font-size:clamp(30px,4vw,44px);
  line-height:1.12;
  letter-spacing:-.7px;
}
.wd-author-role{
  margin:0 0 13px;
  color:var(--wd-muted);
  font-size:14px;
  font-weight:700;
}
.wd-author-bio{
  max-width:760px;
  margin:0;
  color:var(--wd-muted);
  font-size:15px;
  line-height:1.7;
}
.wd-author-posts-title{
  margin:0 0 20px;
  font-size:28px;
  line-height:1.2;
}
body.dark .wd-author-profile{box-shadow:0 8px 26px rgba(0,0,0,.18)}

@media(max-width:680px){
  .wd-author-page{padding:26px 0 46px}
  .wd-author-profile{
    grid-template-columns:1fr;
    gap:16px;
    padding:22px 18px;
  }
  .wd-author-profile-avatar img{width:96px;height:96px}
  .wd-author-profile h1{font-size:30px}
  .wd-author-posts-title{font-size:24px}
}


/* v1.9.92 — Ferramentas WDS Tec no menu lateral e rodapé */
.wd-drawer-tools{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--wd-border);
}
.wd-drawer-tools-title{
  margin:0 0 6px;
  color:var(--wd-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.wd-drawer-tools-list{list-style:none;margin:0;padding:0}
.wd-drawer-tools-list li{margin:0;border-bottom:1px solid var(--wd-border)}
.wd-drawer-tools-list li:last-child{border-bottom:0}
.wd-drawer-tools-list a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 2px;
  color:var(--wd-text);
  font-size:15px;
  transition:color .18s ease,padding-left .18s ease;
}
.wd-drawer-tools-list a:hover,.wd-drawer-tools-list a:focus-visible{color:var(--wd-blue-text);padding-left:4px}
.wd-drawer-tools-list a[aria-current="page"]{color:var(--wd-blue-text);font-weight:700}
.wd-drawer-tools-icon{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:color-mix(in srgb,var(--wd-blue) 10%,transparent);
  color:var(--wd-blue);
  font-size:15px;
}
.wd-drawer-tools-label{min-width:0}

/* Quatro colunas no rodapé em telas largas; mantém responsividade existente. */
@media (min-width:1001px){
  .wd-footer-grid{grid-template-columns:1.45fr 1fr 1fr 1fr}
}

/* =========================================================
   v1.9.94 — cards de pesquisa para páginas sem imagem
   ========================================================= */
.wd-search-page-card{
  grid-column:1/-1;
  max-width:760px;
  display:grid;
  grid-template-columns:116px minmax(0,1fr);
  align-items:center;
  gap:22px;
  padding:22px;
  border:1px solid color-mix(in srgb,var(--wd-border) 90%,transparent);
  border-radius:16px;
  background:var(--wd-card);
  box-shadow:0 6px 22px rgba(20,35,60,.06);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.wd-search-page-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--wd-blue) 30%,var(--wd-border));
  box-shadow:0 13px 30px rgba(20,35,60,.11);
}
.wd-search-page-icon{
  width:116px;
  height:116px;
  display:grid;
  place-items:center;
  border-radius:24px;
  color:var(--wd-blue);
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--wd-blue) 12%,var(--wd-card)),
    color-mix(in srgb,var(--wd-blue) 4%,var(--wd-card))
  );
  border:1px solid color-mix(in srgb,var(--wd-blue) 18%,var(--wd-border));
}
.wd-search-page-icon svg{
  width:48px;
  height:48px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wd-search-page-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-bottom:7px;
  color:var(--wd-blue-text);
  font-size:11px;
  font-weight:850;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.wd-search-page-badge:before{
  content:"";
  width:19px;
  height:2px;
  margin-right:8px;
  border-radius:99px;
  background:var(--wd-blue);
}
.wd-search-page-content h2{
  margin:0 0 8px;
  font-size:23px;
  line-height:1.25;
  letter-spacing:-.35px;
}
.wd-search-page-content h2 a{color:var(--wd-text)}
.wd-search-page-card:hover h2 a{color:var(--wd-blue-dark)}
.wd-search-page-content p{
  margin:0 0 13px;
  color:var(--wd-muted);
  line-height:1.55;
  font-size:15px;
}
.wd-search-page-cta{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--wd-blue-text);
  font-size:14px;
  font-weight:800;
}
.wd-search-page-cta span{transition:transform .2s ease}
.wd-search-page-card:hover .wd-search-page-cta span{transform:translateX(3px)}
body.dark .wd-search-page-card{box-shadow:0 8px 24px rgba(0,0,0,.22)}

@media (max-width:650px){
  .wd-search-page-card{
    grid-template-columns:72px minmax(0,1fr);
    gap:15px;
    padding:17px;
  }
  .wd-search-page-icon{
    width:72px;
    height:72px;
    border-radius:18px;
  }
  .wd-search-page-icon svg{width:34px;height:34px}
  .wd-search-page-content h2{font-size:19px}
  .wd-search-page-content p{font-size:14px;margin-bottom:10px}
}


/* 1.9.97 — cards relacionados sem imagem: ocupar toda a largura */
.wd-inline-related--no-media > a{
  grid-template-columns:minmax(0,1fr);
  min-height:0;
}
.wd-inline-related--no-media .wd-inline-related-content{
  width:100%;
  padding:20px 22px 18px;
}
.wd-inline-related--no-media h3{
  max-width:none;
  font-size:20px !important;
  line-height:1.28;
}
.wd-inline-related--no-media p{
  max-width:760px;
}
@media(max-width:650px){
  .wd-inline-related--no-media > a{grid-template-columns:minmax(0,1fr);min-height:0}
  .wd-inline-related--no-media .wd-inline-related-content{padding:16px 15px 14px}
  .wd-inline-related--no-media h3{font-size:17px !important;-webkit-line-clamp:unset}
}


/* v1.9.98 — página da ferramenta Consertar ou Trocar em largura total */
body.wdstec-consertar-tool .wd-main > .container{
  width:min(100% - 32px, 1240px);
  max-width:1240px;
}
body.wdstec-consertar-tool .wd-grid{
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
body.wdstec-consertar-tool .wd-single{
  width:100%;
  max-width:1240px;
  margin-inline:auto;
}
body.wdstec-consertar-tool .wd-entry-content{
  width:100%;
}
@media(max-width:720px){
  body.wdstec-consertar-tool .wd-main > .container{width:calc(100% - 20px)}
  body.wdstec-consertar-tool .wd-single{padding:18px}
}


/* =========================================================
   v1.9.99 — alinhar conteúdo editorial da página Consertar ou Trocar
   com a largura visual da ferramenta (980px)
   ========================================================= */
body.wdstec-consertar-tool .wd-tool-single > .wd-breadcrumbs,
body.wdstec-consertar-tool .wd-tool-single > h1,
body.wdstec-consertar-tool .wd-tool-single > .wd-featured-image,
body.wdstec-consertar-tool .wd-entry-content > *{
  width:100%;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

/* Mantém o conteúdo textual alinhado à esquerda dentro da mesma largura da ferramenta. */
body.wdstec-consertar-tool .wd-entry-content{
  text-align:left;
}

/* O próprio plugin continua controlando a composição interna da ferramenta. */
body.wdstec-consertar-tool .wd-entry-content .wds-ct{
  width:100%;
  max-width:980px;
}

@media(max-width:1020px){
  body.wdstec-consertar-tool .wd-tool-single > .wd-breadcrumbs,
  body.wdstec-consertar-tool .wd-tool-single > h1,
  body.wdstec-consertar-tool .wd-tool-single > .wd-featured-image,
  body.wdstec-consertar-tool .wd-entry-content > *{
    max-width:calc(100% - 24px);
  }
}

@media(max-width:720px){
  body.wdstec-consertar-tool .wd-tool-single > .wd-breadcrumbs,
  body.wdstec-consertar-tool .wd-tool-single > h1,
  body.wdstec-consertar-tool .wd-tool-single > .wd-featured-image,
  body.wdstec-consertar-tool .wd-entry-content > *{
    max-width:100%;
  }
}


/* v1.9.101 — relacionado: container neutro + miniatura sem corte */
.wd-inline-related-media{
  display:flex;
  align-items:center;
  justify-content:center;
  background:color-mix(in srgb,var(--wd-blue) 3%,var(--wd-card));
}
.wd-inline-related-img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
body.dark .wd-inline-related-media{
  background:color-mix(in srgb,var(--wd-blue) 6%,var(--wd-card));
}

/* =========================================================
   v1.9.112 — acessibilidade consolidada / CTA isolado na sidebar
   Substitui os patches acumulados das versões 1.9.105–1.9.108.
   Mantém uma única fonte de verdade para os elementos auditados.
   ========================================================= */

/* Modo claro: azul escuro acessível para textos e links sobre fundos claros. */
body:not(.dark) .wd-main-nav > ul > li.current-menu-item > a,
body:not(.dark) .wd-main-nav > ul > li.current-menu-parent > a,
body:not(.dark) .wd-main-nav > ul > li.current-menu-ancestor > a,
body:not(.dark) .wd-main-nav > ul > li > a[aria-current="page"],
body:not(.dark) .wd-category,
body:not(.dark) .wd-card-readmore,
body:not(.dark) .wd-side-recent-link {
  color:var(--wd-blue-text) !important;
  opacity:1 !important;
}

body:not(.dark) .wd-card-readmore:hover,
body:not(.dark) .wd-card-readmore:focus-visible,
body:not(.dark) .wd-main-nav > ul > li > a[aria-current="page"]:hover,
body:not(.dark) .wd-main-nav > ul > li > a[aria-current="page"]:focus-visible {
  color:var(--wd-blue-text) !important;
}

/* Sidebar: preserve a cor normal do card e aplique o azul acessível somente
   ao CTA “Ler artigo”. O link pai não recebe cor para evitar herança no título. */
body:not(.dark) .wd-side-recent-item > a,
body:not(.dark) .wd-side-recent-item > a:link,
body:not(.dark) .wd-side-recent-item > a:visited,
body:not(.dark) .wd-side-recent-item > a:hover,
body:not(.dark) .wd-side-recent-item > a:focus,
body:not(.dark) .wd-side-recent-item > a:focus-visible,
body:not(.dark) .wd-side-recent-item > a:active {
  color:inherit;
  opacity:1 !important;
}
body:not(.dark) .wd-side-recent-item .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:link .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:visited .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:hover .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:focus .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:focus-visible .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item > a:active .wd-side-recent-link,
body:not(.dark) .wd-side-recent-item .wd-side-recent-link > span {
  color:var(--wd-blue-text) !important;
  opacity:1 !important;
}

/* Item ativo sem fundo translúcido para manter contraste previsível. */
body:not(.dark) .wd-main-nav > ul > li.current-menu-item > a,
body:not(.dark) .wd-main-nav > ul > li.current-menu-parent > a,
body:not(.dark) .wd-main-nav > ul > li.current-menu-ancestor > a,
body:not(.dark) .wd-main-nav > ul > li > a[aria-current="page"] {
  background:transparent !important;
}

/* Mantém removidos os pseudo-elementos que interferiam na auditoria do Lighthouse. */
.wd-card::after,
.wd-card:hover::after,
.wd-card-home .wd-category::before {
  content:none !important;
  display:none !important;
}
.wd-card-home .wd-category {
  padding-left:0 !important;
}

/* Modo escuro preservado. */
body.dark .wd-category,
body.dark .wd-card-readmore,
body.dark .wd-recent-read,
body.dark .wd-recent-mini-link,
body.dark .wd-side-recent-link,
body.dark .wd-recent-all,
body.dark .wd-main-nav > ul > .current-menu-item > a,
body.dark .wd-main-nav > ul > .current-menu-parent > a,
body.dark .wd-main-nav > ul > .current-menu-ancestor > a,
body.dark .wd-main-nav > ul > li > a[aria-current="page"] {
  color:var(--wd-blue-text-dark);
}

/* Rodapé: contraste explícito sobre o fundo escuro. */
.wd-footer .wd-footer-message p,
.site-footer .wd-footer-message p { color:#eef2f6; }
.wd-footer .wd-footer-social-label,
.site-footer .wd-footer-social-label { color:#e2e7ec; }
.wd-footer .wd-footer-copy,
.site-footer .wd-footer-copy,
.wd-footer .wd-footer-bottom,
.site-footer .wd-footer-bottom { color:#d7dde3; }
.wd-footer .wd-footer-menu a,
.site-footer .wd-footer-menu a { color:#e8edf3; }

/* =========================================================
   v1.9.114 — home mobile: contraste + alvos de toque
   Consolida os ajustes apontados pelo Lighthouse sem alterar desktop.
   ========================================================= */
@media (max-width: 767px){
  /* Alvos principais: mínimo confortável de 48px. */
  .wd-menu-toggle,
  .wd-drawer-close,
  .wd-search-toggle,
  .wd-theme-toggle{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  /* Links do menu: área de toque maior e separação vertical explícita. */
  .wd-main-nav > ul > li > a,
  .wd-drawer-nav .wd-drawer-list > li > a,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li > a{
    min-height:48px !important;
    padding-top:13px !important;
    padding-bottom:13px !important;
    display:flex !important;
    align-items:center !important;
    line-height:1.35 !important;
  }
  .wd-drawer-nav .wd-drawer-list > li,
  body .wd-drawer .wd-drawer-nav .wd-drawer-list > li{
    margin:2px 0 !important;
  }
  /* Home: área de toque de Ver todos preservada; cor vem da regra-base. */
  .wd-recent-all{
    min-height:44px !important;
    padding:10px 4px !important;
  }
}


/* =========================================================
   v1.9.115 — home mobile: imagens e cards recentes mais legíveis
   Apenas mobile. Desktop permanece inalterado.
   ========================================================= */
@media (max-width: 680px){
  /* Destaque principal: mostra a miniatura 16:9 inteira, sem cortar as laterais. */
  .wd-recent-main{
    min-height:420px !important;
    background:#0b111b !important;
  }
  .wd-recent-main-img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center top !important;
  }

  /* Cards secundários: mais espaço para imagem, título e CTA. */
  .wd-recent-mini-grid{
    gap:14px !important;
  }
  .wd-recent-mini > a{
    grid-template-columns:144px minmax(0,1fr) !important;
    min-height:118px !important;
    align-items:stretch !important;
  }
  .wd-recent-mini-media{
    min-height:118px !important;
    height:100% !important;
  }
  .wd-recent-mini-img{
    object-fit:contain !important;
    object-position:center center !important;
    background:var(--wd-soft) !important;
  }
  .wd-recent-mini-body{
    padding:12px 12px 12px 13px !important;
  }
  .wd-recent-mini h3{
    margin-bottom:8px !important;
    font-size:16px !important;
    line-height:1.35 !important;
  }
  .wd-recent-mini-link{
    min-height:32px !important;
    align-items:center !important;
  }

  /* Sidebar quando empilhada no mobile: evita miniaturas e CTA excessivamente pequenos. */
  .wd-side-recent-list{
    padding:10px 14px 14px !important;
  }
  .wd-side-recent-item{
    padding:12px 0 !important;
  }
  .wd-side-recent-item > a{
    grid-template-columns:96px minmax(0,1fr) !important;
    gap:13px !important;
    min-height:64px !important;
  }
  .wd-side-recent-thumb{
    width:96px !important;
  }
  .wd-side-recent-thumb img{
    object-fit:contain !important;
    object-position:center center !important;
  }
  .wd-side-recent-content h3{
    font-size:15px !important;
    line-height:1.4 !important;
    margin-bottom:7px !important;
  }
  .wd-side-recent-link{
    min-height:32px !important;
    font-size:13px !important;
    line-height:1.3 !important;
    align-items:center !important;
  }
}


/* v1.9.143 — faixa do Canal do WhatsApp abaixo do menu */
.wd-whatsapp-bar{background:#25d366;color:#0b2d18;border-bottom:1px solid rgba(0,0,0,.08)}
.wd-whatsapp-bar-inner{min-height:58px;display:flex;align-items:center;justify-content:center;gap:18px;padding-top:9px;padding-bottom:9px}
.wd-whatsapp-message{display:flex;align-items:center;justify-content:center;gap:9px;font-size:16px;font-weight:700;line-height:1.35;text-align:center}
.wd-whatsapp-icon{width:25px;height:25px;display:inline-flex;flex:0 0 25px}
.wd-whatsapp-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wd-whatsapp-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;border-radius:999px;background:#0b5c2b;color:#fff;font-weight:700;line-height:1.2;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.wd-whatsapp-button:hover,.wd-whatsapp-button:focus-visible{background:#084b23;color:#fff;transform:translateY(-1px)}
body.dark .wd-whatsapp-bar{background:#1fae55;color:#071d10;border-bottom-color:rgba(255,255,255,.08)}
body.dark .wd-whatsapp-button{background:#073f1e;color:#fff}
body.dark .wd-whatsapp-button:hover,body.dark .wd-whatsapp-button:focus-visible{background:#052f16;color:#fff}
@media (max-width:680px){
  .wd-whatsapp-bar-inner{min-height:0;gap:10px;padding-top:10px;padding-bottom:10px}
  .wd-whatsapp-message{font-size:14px;gap:7px;text-align:left}
  .wd-whatsapp-icon{width:22px;height:22px;flex-basis:22px}
  .wd-whatsapp-button{min-height:38px;padding:8px 13px;font-size:14px}
}
@media (max-width:430px){
  .wd-whatsapp-bar-inner{justify-content:space-between}
  .wd-whatsapp-message{max-width:62%}
}
\n\n/* WDSTec 2.2 — módulos da Home */
.wd-home-content{display:flex;flex-direction:column;min-width:0}
.wd-home-order-recent_grid .wd-recent-editorial{order:10}
.wd-home-order-recent_grid .wd-home-all-posts{order:20}
.wd-home-order-grid_recent .wd-home-all-posts{order:10}
.wd-home-order-grid_recent .wd-recent-editorial{order:20}
.wd-home-grid-heading{margin:0 0 18px}

/* v2.3.0 — formulário de busca sem estilos inline; reutilizável e personalizável. */
.wd-searchform{display:flex;gap:8px}
.wd-searchform-input{flex:1;min-width:0;padding:11px 13px;border:1px solid var(--wd-border);border-radius:7px;background:var(--wd-bg);color:var(--wd-text)}
.wd-searchform-button{border:0;background:var(--wd-blue);color:#fff;padding:0 17px;border-radius:7px;cursor:pointer;min-height:44px}
.wd-searchform-button:hover,.wd-searchform-button:focus-visible{background:var(--wd-blue-dark)}
@media(max-width:520px){.wd-searchform{flex-direction:column}.wd-searchform-button{padding:11px 17px}}

/* =========================================================
   2.5.1 — compatibilidade dark branding + admin bar mobile
   ========================================================= */

/* O fundo configurável do cabeçalho é a base do modo claro.
   No modo escuro, a área da marca acompanha a paleta ativa do tema. */
body.dark .wd-branding,
html[data-theme="dark"] .wd-branding{
  background:var(--wd-bg) !important;
  color:var(--wd-text);
}

/* Compatibilidade com a barra administrativa do WordPress no frontend.
   Evita que a largura mínima da toolbar ou wrappers do tema criem uma
   viewport virtual maior que o aparelho durante sessão autenticada. */
@media (max-width:782px){
  html,
  body.admin-bar{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body.admin-bar #wpadminbar{
    width:100% !important;
    min-width:0 !important;
    max-width:100vw !important;
  }

  body.admin-bar .wd-topbar,
  body.admin-bar .wd-branding,
  body.admin-bar .wd-nav-wrap,
  body.admin-bar .wd-whatsapp-bar,
  body.admin-bar .wd-feature-banner,
  body.admin-bar .wd-main,
  body.admin-bar .wd-footer{
    width:100%;
    max-width:100%;
  }

  body.admin-bar .container,
  body.admin-bar .wd-container{
    max-width:100%;
    min-width:0;
  }
}

/* =========================================================
   2.9.3 — navegação desktop consolidada
   Mesma apresentação para visitante e usuário autenticado.
   Sem dependência de color-mix nas regras estruturais.
   ========================================================= */
@media (min-width:901px){
  .wd-nav-wrap{
    border-top:1px solid #d8e6f6;
    border-bottom:1px solid #cbdff4;
    box-shadow:0 4px 14px rgba(15,35,60,.05);
  }
  .wd-nav-inner{
    min-height:72px;
    gap:0;
  }

  .wd-menu-toggle{
    flex:0 0 52px;
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    padding:0;
    margin:0 14px 0 0;
    border:1px solid #d8e0e8;
    border-radius:12px;
    background:var(--wd-card);
    transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  }
  .wd-menu-toggle:hover,
  .wd-menu-toggle:focus-visible{
    color:#075ca8;
    background:#edf6ff;
    border-color:#9dc9ef;
    box-shadow:0 5px 14px rgba(20,35,60,.08);
  }

  .wd-main-nav{
    align-self:stretch;
    display:flex;
    align-items:stretch;
  }
  .wd-main-nav>ul{
    width:100%;
    align-items:stretch;
    justify-content:center;
    gap:0;
  }
  .wd-main-nav>ul>li{
    display:flex;
    align-items:stretch;
    padding:0;
    position:relative;
  }
  .wd-main-nav>ul>li+li::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:32px;
    transform:translateY(-50%);
    background:#d7dfe7;
    pointer-events:none;
  }
  .wd-main-nav>ul>li>a{
    position:relative;
    min-height:72px;
    padding:0 17px;
    border:0;
    border-radius:0;
    font-weight:650;
    letter-spacing:-.01em;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:color .2s ease,background-color .2s ease,box-shadow .2s ease;
  }
  .wd-main-nav>ul>li:hover>a,
  .wd-main-nav>ul>li:focus-within>a{
    color:#075ca8;
    background:#edf6ff;
    box-shadow:inset 0 -3px 0 #69aef0;
  }
  .wd-main-nav>ul>.current-menu-item>a,
  .wd-main-nav>ul>.current-menu-parent>a,
  .wd-main-nav>ul>.current-menu-ancestor>a{
    color:#075ca8;
    background:#e5f2ff;
    box-shadow:inset 0 -4px 0 #1687ff;
    font-weight:750;
  }
  .wd-main-nav>ul>li>a::after{
    display:none !important;
  }

  .wd-nav-actions{
    position:relative;
    flex:0 0 auto;
    align-self:stretch;
    display:flex;
    align-items:center;
    margin-left:14px;
    padding-left:18px;
    gap:9px;
  }
  .wd-nav-actions::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:40px;
    transform:translateY(-50%);
    background:#d7dfe7;
  }
  .wd-nav-actions .wd-icon-btn{
    border:1px solid #d8e0e8;
    background:var(--wd-card);
    transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
  }
  .wd-nav-actions .wd-icon-btn:hover,
  .wd-nav-actions .wd-icon-btn:focus-visible{
    color:#075ca8;
    border-color:#9dc9ef;
    background:#edf6ff;
    box-shadow:0 5px 14px rgba(20,35,60,.08);
    transform:translateY(-1px);
  }
  .wd-nav-actions .wd-theme-toggle{
    background:var(--wd-soft);
  }

  body.dark .wd-nav-wrap,
  html[data-theme="dark"] .wd-nav-wrap{
    border-top-color:#26394b;
    border-bottom-color:#2a4157;
    box-shadow:0 4px 14px rgba(0,0,0,.18);
  }
  body.dark .wd-main-nav>ul>li+li::before,
  html[data-theme="dark"] .wd-main-nav>ul>li+li::before,
  body.dark .wd-nav-actions::before,
  html[data-theme="dark"] .wd-nav-actions::before{
    background:#34495e;
  }
  body.dark .wd-main-nav>ul>li:hover>a,
  body.dark .wd-main-nav>ul>li:focus-within>a,
  html[data-theme="dark"] .wd-main-nav>ul>li:hover>a,
  html[data-theme="dark"] .wd-main-nav>ul>li:focus-within>a{
    color:#69b7ff;
    background:#172c3e;
  }
  body.dark .wd-main-nav>ul>.current-menu-item>a,
  body.dark .wd-main-nav>ul>.current-menu-parent>a,
  body.dark .wd-main-nav>ul>.current-menu-ancestor>a,
  html[data-theme="dark"] .wd-main-nav>ul>.current-menu-item>a,
  html[data-theme="dark"] .wd-main-nav>ul>.current-menu-parent>a,
  html[data-theme="dark"] .wd-main-nav>ul>.current-menu-ancestor>a{
    color:#7cc0ff;
    background:#19354d;
  }
  body.dark .wd-menu-toggle,
  html[data-theme="dark"] .wd-menu-toggle,
  body.dark .wd-nav-actions .wd-icon-btn,
  html[data-theme="dark"] .wd-nav-actions .wd-icon-btn{
    border-color:#34495e;
  }
}

/* =========================================================
   2.9.5 — menu desktop em estrutura de portal
   Usa bordas reais nos itens (sem depender de pseudo-elementos).
   ========================================================= */
@media (min-width:901px){
  .wd-nav-wrap .wd-main-nav > ul > li{
    border-left:1px solid #d7dfe7 !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > li:last-child{
    border-right:1px solid #d7dfe7 !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > li::before{
    content:none !important;
    display:none !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > li > a{
    min-height:72px !important;
    padding:0 17px !important;
    border:0 !important;
    border-radius:0 !important;
    font-weight:650 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > li > a::after{
    content:none !important;
    display:none !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > li:hover > a,
  .wd-nav-wrap .wd-main-nav > ul > li:focus-within > a{
    color:#075ca8 !important;
    background:#edf6ff !important;
    box-shadow:inset 0 -3px 0 #69aef0 !important;
  }
  .wd-nav-wrap .wd-main-nav > ul > .current-menu-item > a,
  .wd-nav-wrap .wd-main-nav > ul > .current-menu-parent > a,
  .wd-nav-wrap .wd-main-nav > ul > .current-menu-ancestor > a,
  .wd-nav-wrap .wd-main-nav > ul > li > a[aria-current="page"]{
    color:#075ca8 !important;
    background:#e5f2ff !important;
    box-shadow:inset 0 -4px 0 #1687ff !important;
    font-weight:750 !important;
  }
  body.dark .wd-nav-wrap .wd-main-nav > ul > li,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > li{
    border-left-color:#34495e !important;
  }
  body.dark .wd-nav-wrap .wd-main-nav > ul > li:last-child,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > li:last-child{
    border-right-color:#34495e !important;
  }
  body.dark .wd-nav-wrap .wd-main-nav > ul > li:hover > a,
  body.dark .wd-nav-wrap .wd-main-nav > ul > li:focus-within > a,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > li:hover > a,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > li:focus-within > a{
    color:#69b7ff !important;
    background:#172c3e !important;
  }
  body.dark .wd-nav-wrap .wd-main-nav > ul > .current-menu-item > a,
  body.dark .wd-nav-wrap .wd-main-nav > ul > .current-menu-parent > a,
  body.dark .wd-nav-wrap .wd-main-nav > ul > .current-menu-ancestor > a,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > .current-menu-item > a,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > .current-menu-parent > a,
  html[data-theme="dark"] .wd-nav-wrap .wd-main-nav > ul > .current-menu-ancestor > a{
    color:#7cc0ff !important;
    background:#19354d !important;
  }
}


/* =========================================================
   3.0.39 — ALTURA CONSOLIDADA DA NAVEGAÇÃO DESKTOP
   Fonte única para a geometria vertical do menu.
   ========================================================= */
@media (min-width: 901px){
  .wd-nav-wrap,
  .wd-nav-wrap .container,
  .wd-nav-wrap .wd-container,
  .wd-nav-inner{
    min-height:52px !important;
    height:52px !important;
  }

  .wd-nav-wrap .wd-main-nav,
  .wd-nav-wrap .wd-main-nav > ul,
  .wd-nav-wrap .wd-main-nav > ul > li{
    height:52px !important;
    min-height:52px !important;
  }

  .wd-nav-wrap .wd-main-nav > ul > li > a{
    height:52px !important;
    min-height:52px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    display:flex !important;
    align-items:center !important;
  }

  .wd-nav-wrap .wd-menu-toggle,
  .wd-nav-wrap .wd-nav-actions{
    height:52px !important;
    min-height:52px !important;
    align-items:center !important;
  }

  .wd-nav-wrap.is-stuck .wd-nav-inner,
  .wd-nav-wrap.is-stuck .wd-main-nav,
  .wd-nav-wrap.is-stuck .wd-main-nav > ul,
  .wd-nav-wrap.is-stuck .wd-main-nav > ul > li,
  .wd-nav-wrap.is-stuck .wd-main-nav > ul > li > a{
    height:52px !important;
    min-height:52px !important;
  }

  .wd-nav-wrap.is-stuck .wd-main-nav > ul > li > a{
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
}

/* =========================================================
   v3.0.40 — cabeçalho de marca ~18% mais compacto.
   Atua somente em logo/tagline e seus espaços verticais.
   O menu principal permanece intocado.
   ========================================================= */
@media (min-width:901px){
  .wd-branding{
    padding:16px 0 13px !important;
  }

  .wd-branding-inner{
    min-height:105px !important;
  }

  .wd-branding .custom-logo,
  .wd-branding .custom-logo-link img{
    max-width:min(320px, 78vw) !important;
    max-height:108px !important;
  }

  .wd-branding .wd-tagline{
    margin-top:3px !important;
    padding-top:7px !important;
    font-size:11px !important;
    line-height:1.3 !important;
  }

  .wd-branding .wd-tagline::before{
    width:34px !important;
  }
}

@media (min-width:681px) and (max-width:900px){
  .wd-branding{
    padding:13px 0 11px !important;
  }

  .wd-branding-inner{
    min-height:89px !important;
  }

  .wd-branding .custom-logo,
  .wd-branding .custom-logo-link img{
    max-width:min(270px, 74vw) !important;
    max-height:86px !important;
  }

  .wd-branding .wd-tagline{
    margin-top:3px !important;
    padding-top:6px !important;
    font-size:10px !important;
  }
}

@media (max-width:680px){
  .wd-branding{
    padding:10px 0 9px !important;
  }

  .wd-branding-inner{
    min-height:76px !important;
  }

  .wd-branding .custom-logo,
  .wd-branding .custom-logo-link img{
    max-width:min(220px, 68vw) !important;
    max-height:72px !important;
  }

  .wd-branding .wd-tagline{
    margin-top:2px !important;
    padding-top:5px !important;
    font-size:9px !important;
    line-height:1.25 !important;
  }
}



/* =========================================================
   v3.0.41 — categorias editoriais
   3 destaques automáticos + grade moderna em largura total.
   Sidebar removida apenas das páginas de categoria.
   ========================================================= */
.category .wd-main{
  padding-top:8px;
}
.category .wd-category-page{
  width:100%;
  min-width:0;
}
.category .wd-category-header{
  margin:0 0 18px;
}
.category .wd-category-header .wd-section-title{
  margin-bottom:6px;
}
.category .wd-category-header .wd-archive-desc{
  max-width:900px;
  margin:0;
}

/* Destaques automáticos: 1 grande + 2 menores. */
.category .wd-category-featured{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:12px;
  height:510px;
  margin:0 0 34px;
}
.category .wd-category-feature{
  position:relative;
  min-width:0;
  overflow:hidden;
  border-radius:14px;
  background:var(--wd-soft);
  box-shadow:0 7px 22px rgba(20,35,60,.10);
}
.category .wd-category-feature.is-main{
  grid-row:1 / span 2;
}
.category .wd-category-feature-link{
  position:absolute;
  inset:0;
  display:block;
  color:#fff;
  text-decoration:none;
  overflow:hidden;
}
.category .wd-category-feature-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .35s ease;
}
.category .wd-category-feature-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,16,28,.05) 25%,rgba(8,16,28,.88) 100%);
}
.category .wd-category-feature-content{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.category .wd-category-feature-kicker{
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  border-radius:999px;
  background:var(--wd-blue);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}
.category .wd-category-feature-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  color:#fff;
  font-size:25px;
  line-height:1.12;
  font-weight:900;
  text-shadow:0 2px 12px rgba(0,0,0,.42);
}
.category .wd-category-feature.is-main .wd-category-feature-title{
  max-width:92%;
  font-size:34px;
  line-height:1.08;
}
.category .wd-category-feature:hover .wd-category-feature-img{
  transform:scale(1.025);
}
.category .wd-category-feature-link:focus-visible{
  outline:3px solid var(--wd-blue);
  outline-offset:-3px;
}

/* A partir do 4º post: grade editorial em 3 colunas. */
.category .wd-category-list{
  margin-top:0;
}
.category .wd-category-post-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:30px 20px !important;
  align-items:start;
}
.category .wd-category-post-grid .wd-card{
  position:relative;
  display:flex !important;
  flex-direction:column !important;
  height:100%;
  min-height:0 !important;
  overflow:visible !important;
  border:0;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  transition:transform .2s ease;
}
.category .wd-category-post-grid .wd-card:hover{
  transform:translateY(-3px);
}
.category .wd-category-post-grid .wd-card-media{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:16/9 !important;
  overflow:hidden;
  border-radius:11px;
  background:var(--wd-soft);
}
.category .wd-category-post-grid .wd-card-img{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  aspect-ratio:16/9 !important;
  object-fit:cover !important;
  transition:transform .3s ease;
}
.category .wd-category-post-grid .wd-card:hover .wd-card-img{
  transform:scale(1.025);
}
.category .wd-category-post-grid .wd-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  padding:13px 2px 0 !important;
}
.category .wd-category-post-grid .wd-category{
  margin:0 0 7px !important;
  padding-left:0 !important;
  color:var(--wd-blue-text);
  font-size:10px !important;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.65px;
  text-transform:uppercase;
}
.category .wd-category-post-grid .wd-category::before{
  display:none !important;
}
.category .wd-category-post-grid h2{
  margin:0 0 8px !important;
  font-size:20px !important;
  line-height:1.22 !important;
}
.category .wd-category-post-grid h2 a{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
  color:var(--wd-text);
  text-decoration:none;
}
.category .wd-category-post-grid .wd-card:hover h2 a{
  color:var(--wd-blue-text);
}
.category .wd-category-post-grid p{
  display:-webkit-box !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 !important;
  color:var(--wd-muted);
  font-size:13px !important;
  line-height:1.48 !important;
}
.category .wd-category-post-grid .wd-card-readmore{
  display:none !important;
}

/* O link do título amplia a área clicável para todo o card sem duplicar marcação. */
.category .wd-category-post-grid h2 a::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border-radius:12px;
}
.category .wd-category-post-grid .wd-card-media{
  position:relative;
  z-index:3;
}

/* Dark mode: mesma geometria, contraste ajustado. */
body.dark.category .wd-category-feature,
html[data-theme="dark"] body.category .wd-category-feature{
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}
body.dark.category .wd-category-post-grid .wd-card,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card{
  background:transparent;
}

/* Tablet. */
@media (max-width:1000px){
  .category .wd-category-featured{
    height:440px;
  }
  .category .wd-category-feature.is-main .wd-category-feature-title{
    font-size:29px;
  }
  .category .wd-category-feature-title{
    font-size:21px;
  }
  .category .wd-category-post-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* Mobile: destaques e grade passam para uma coluna limpa. */
@media (max-width:680px){
  .category .wd-main{
    padding-top:4px;
  }
  .category .wd-category-header{
    margin-bottom:14px;
  }
  .category .wd-category-featured{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:none;
    height:auto;
    gap:10px;
    margin-bottom:24px;
  }
  .category .wd-category-feature,
  .category .wd-category-feature.is-main{
    grid-row:auto;
    aspect-ratio:16/9;
    min-height:0;
    border-radius:12px;
  }
  .category .wd-category-feature-content{
    left:16px;
    right:16px;
    bottom:15px;
    gap:6px;
  }
  .category .wd-category-feature-title,
  .category .wd-category-feature.is-main .wd-category-feature-title{
    max-width:100%;
    font-size:20px;
    line-height:1.13;
    -webkit-line-clamp:2;
  }
  .category .wd-category-feature-kicker{
    padding:4px 7px;
    font-size:9px;
  }
  .category .wd-category-post-grid{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }
  .category .wd-category-post-grid .wd-card{
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }
  .category .wd-category-post-grid .wd-card-media{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:16/9 !important;
  }
  .category .wd-category-post-grid .wd-card-body{
    padding:11px 1px 0 !important;
  }
  .category .wd-category-post-grid h2{
    font-size:18px !important;
  }
  .category .wd-category-post-grid p{
    display:-webkit-box !important;
    font-size:13px !important;
  }
}


/* =========================================================
   v3.0.42 — acabamento das categorias
   ========================================================= */

/* Título mais limpo: apenas o nome da categoria. */
.category .wd-category-header{
  margin:0 0 16px;
}
.category .wd-category-header .wd-section-title{
  margin:0;
  font-size:30px;
  line-height:1.15;
}

/*
 * As capas do WDSTec normalmente já carregam texto e composição próprios.
 * "contain" preserva a arte inteira no banner, evitando cortar títulos,
 * logos e produtos. O fundo neutro ocupa a sobra quando a proporção muda.
 */
.category .wd-category-feature{
  background:#10141a;
}
.category .wd-category-feature-img{
  object-fit:contain !important;
  object-position:center center !important;
  background:#10141a;
}

/* A camada escura fica mais suave porque a própria arte precisa continuar legível. */
.category .wd-category-feature-shade{
  background:linear-gradient(180deg,rgba(8,16,28,0) 40%,rgba(8,16,28,.76) 100%);
}

/* Banner um pouco mais baixo e equilibrado. */
.category .wd-category-featured{
  height:460px;
}

/* Grade: imagem sempre inteira na proporção editorial do site. */
.category .wd-category-post-grid .wd-card-media{
  aspect-ratio:16/9 !important;
  background:var(--wd-soft);
}
.category .wd-category-post-grid .wd-card-img{
  object-fit:cover !important;
  object-position:center center !important;
}

/* O pedido é deixar o card mais direto: imagem + categoria + título. */
.category .wd-category-post-grid .wd-card-body > p{
  display:none !important;
}
.category .wd-category-post-grid h2{
  margin-bottom:0 !important;
}

/* Um pouco mais de presença para a grade sem voltar ao visual pesado antigo. */
.category .wd-category-post-grid{
  row-gap:34px !important;
}

@media (max-width:1000px){
  .category .wd-category-featured{
    height:420px;
  }
}

@media (max-width:680px){
  .category .wd-category-header .wd-section-title{
    font-size:26px;
  }
  .category .wd-category-featured{
    height:auto;
  }
  .category .wd-category-feature-img{
    object-fit:cover !important;
  }
}


/* =========================================================
   v3.0.43 — banner de categorias sem faixas pretas
   Mantém o card preenchido e recorta apenas o excesso necessário.
   ========================================================= */
.category .wd-category-feature{
  background:transparent !important;
  overflow:hidden;
}

.category .wd-category-feature-img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  display:block;
}

/* Garante o mesmo encaixe nos três destaques. */
.category .wd-category-feature--main .wd-category-feature-img,
.category .wd-category-feature--side .wd-category-feature-img{
  object-fit:cover !important;
  object-position:center center !important;
}

@media (max-width:680px){
  .category .wd-category-feature-img,
  .category .wd-category-feature--main .wd-category-feature-img,
  .category .wd-category-feature--side .wd-category-feature-img{
    object-fit:cover !important;
    object-position:center center !important;
  }
}


/* =========================================================
   v3.0.44 — encaixe geométrico real das capas 16:9
   A coluna principal tem aproximadamente o dobro da lateral.
   Assim, uma capa 16:9 grande tem a mesma altura de duas
   capas 16:9 menores + o espaço entre elas.
   ========================================================= */
.category .wd-category-featured{
  grid-template-columns:minmax(0,2fr) minmax(0,1fr) !important;
  grid-template-rows:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  height:auto !important;
  aspect-ratio:8/3;
}

.category .wd-category-feature.is-main{
  grid-row:1 / span 2 !important;
}

.category .wd-category-feature{
  min-height:0 !important;
  background:transparent !important;
}

.category .wd-category-feature-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
}

/* Com a geometria acima, as artes 16:9 praticamente não precisam
   de recorte. O título continua sobre a imagem sem alterar o encaixe. */
.category .wd-category-feature.is-main .wd-category-feature-title{
  font-size:32px;
}
.category .wd-category-feature.is-secondary .wd-category-feature-title{
  font-size:20px;
  line-height:1.12;
}
.category .wd-category-feature.is-secondary .wd-category-feature-content{
  left:18px;
  right:18px;
  bottom:16px;
}

@media (max-width:1000px){
  .category .wd-category-featured{
    aspect-ratio:8/3;
    height:auto !important;
  }
}

@media (max-width:680px){
  .category .wd-category-featured{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:none !important;
    aspect-ratio:auto !important;
    height:auto !important;
  }
  .category .wd-category-feature,
  .category .wd-category-feature.is-main,
  .category .wd-category-feature.is-secondary{
    grid-row:auto !important;
    aspect-ratio:16/9 !important;
  }
  .category .wd-category-feature-img{
    object-fit:cover !important;
  }
}


/* =========================================================
   v3.0.45 — acabamento editorial dos cards das categorias
   Somente a grade inferior; banner e cabeçalho permanecem intactos.
   ========================================================= */

/* Mais respiro entre as linhas da grade. */
.category .wd-category-post-grid{
  gap:38px 20px !important;
}

/* Cada matéria ganha uma superfície própria, mas continua leve. */
.category .wd-category-post-grid .wd-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 3px 14px rgba(15,23,42,.055);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* A imagem continua 16:9 e encostada nas bordas superiores do card. */
.category .wd-category-post-grid .wd-card-media{
  margin:0 !important;
  border-radius:0 !important;
  overflow:hidden;
  border-bottom:1px solid rgba(15,23,42,.07);
}

/* Área textual com espaçamento consistente. */
.category .wd-category-post-grid .wd-card-body{
  padding:13px 15px 16px !important;
}

/* Categoria um pouco mais separada do título. */
.category .wd-category-post-grid .wd-card-kicker,
.category .wd-category-post-grid .wd-card-category{
  margin-bottom:7px !important;
}

/* Hover discreto no desktop: destaque sem transformar em "caixa pesada". */
@media (hover:hover) and (pointer:fine){
  .category .wd-category-post-grid .wd-card:hover{
    transform:translateY(-2px);
    border-color:rgba(15,23,42,.16);
    box-shadow:0 8px 22px rgba(15,23,42,.09);
  }
}

/* Dark mode: superfície distinguível do fundo geral. */
html[data-theme="dark"] .category .wd-category-post-grid .wd-card,
body.dark-mode .category .wd-category-post-grid .wd-card,
.dark-mode .category .wd-category-post-grid .wd-card{
  background:#151a21;
  border-color:rgba(255,255,255,.10);
  box-shadow:0 4px 16px rgba(0,0,0,.22);
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-media,
body.dark-mode .category .wd-category-post-grid .wd-card-media,
.dark-mode .category .wd-category-post-grid .wd-card-media{
  border-bottom-color:rgba(255,255,255,.08);
}

@media (hover:hover) and (pointer:fine){
  html[data-theme="dark"] .category .wd-category-post-grid .wd-card:hover,
  body.dark-mode .category .wd-category-post-grid .wd-card:hover,
  .dark-mode .category .wd-category-post-grid .wd-card:hover{
    border-color:rgba(255,255,255,.18);
    box-shadow:0 9px 24px rgba(0,0,0,.30);
  }
}

@media (max-width:680px){
  .category .wd-category-post-grid{
    gap:24px !important;
  }
  .category .wd-category-post-grid .wd-card-body{
    padding:12px 14px 15px !important;
  }
}


/* =========================================================
   v3.0.46 — destaque permanente dos cards de categoria
   Reforça o estado normal; hover passa a ser apenas complemento.
   ========================================================= */

.category .wd-category-post-grid .wd-card{
  background:#f8fafc !important;
  border:1px solid #d8e0e8 !important;
  border-radius:12px !important;
  overflow:hidden !important;
  box-shadow:
    0 2px 5px rgba(15,23,42,.08),
    0 8px 20px rgba(15,23,42,.07) !important;
}

.category .wd-category-post-grid .wd-card-media{
  border-bottom:1px solid #d8e0e8 !important;
}

.category .wd-category-post-grid .wd-card-body{
  background:#f8fafc !important;
}

/* O hover só acrescenta profundidade; o card já é visível sem ele. */
@media (hover:hover) and (pointer:fine){
  .category .wd-category-post-grid .wd-card:hover{
    transform:translateY(-2px) !important;
    border-color:#c3ced9 !important;
    box-shadow:
      0 4px 8px rgba(15,23,42,.10),
      0 12px 26px rgba(15,23,42,.11) !important;
  }
}

/* Modo escuro: card ligeiramente mais claro que o fundo da página. */
html[data-theme="dark"] .category .wd-category-post-grid .wd-card,
body.dark-mode .category .wd-category-post-grid .wd-card,
.dark-mode .category .wd-category-post-grid .wd-card{
  background:#171d25 !important;
  border-color:#303b49 !important;
  box-shadow:
    0 2px 5px rgba(0,0,0,.30),
    0 9px 22px rgba(0,0,0,.26) !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-body,
body.dark-mode .category .wd-category-post-grid .wd-card-body,
.dark-mode .category .wd-category-post-grid .wd-card-body{
  background:#171d25 !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-media,
body.dark-mode .category .wd-category-post-grid .wd-card-media,
.dark-mode .category .wd-category-post-grid .wd-card-media{
  border-bottom-color:#303b49 !important;
}

@media (hover:hover) and (pointer:fine){
  html[data-theme="dark"] .category .wd-category-post-grid .wd-card:hover,
  body.dark-mode .category .wd-category-post-grid .wd-card:hover,
  .dark-mode .category .wd-category-post-grid .wd-card:hover{
    border-color:#435164 !important;
    box-shadow:
      0 4px 9px rgba(0,0,0,.34),
      0 13px 28px rgba(0,0,0,.34) !important;
  }
}


/* =========================================================
   v3.0.47 — botão do menu lateral com respiro interno
   Mantém a altura da barra e os demais itens exatamente como estavam.
   ========================================================= */

/* Botão lateral do cabeçalho: menor que a altura total da navegação. */
.wd-menu-toggle,
.menu-toggle,
.sidebar-toggle,
.drawer-toggle{
  align-self:center !important;
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  padding:0 !important;
  margin-top:4px !important;
  margin-bottom:4px !important;
  box-sizing:border-box !important;
}

/* Ícone continua centralizado dentro da caixa reduzida. */
.wd-menu-toggle svg,
.menu-toggle svg,
.sidebar-toggle svg,
.drawer-toggle svg{
  display:block;
  margin:auto;
}

/* Em telas estreitas, preserva o mesmo respiro sem comprimir o ícone. */
@media (max-width:680px){
  .wd-menu-toggle,
  .menu-toggle,
  .sidebar-toggle,
  .drawer-toggle{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    margin-top:5px !important;
    margin-bottom:5px !important;
  }
}


/* =========================================================
   v3.0.48 — correções pontuais:
   1) títulos dos cards legíveis no modo escuro
   2) botão do menu lateral realmente menor dentro da barra
   ========================================================= */

/* Os cards editoriais permanecem claros também no dark mode.
   Portanto, o texto precisa ter contraste próprio e não herdar
   a cor clara global do tema escuro. */
html[data-theme="dark"] .category .wd-category-post-grid .wd-card,
body.dark-mode .category .wd-category-post-grid .wd-card,
.dark-mode .category .wd-category-post-grid .wd-card{
  background:#f8fafc !important;
  border-color:#cfd8e3 !important;
  box-shadow:
    0 2px 5px rgba(0,0,0,.22),
    0 9px 22px rgba(0,0,0,.18) !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-body,
body.dark-mode .category .wd-category-post-grid .wd-card-body,
.dark-mode .category .wd-category-post-grid .wd-card-body{
  background:#f8fafc !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-title,
html[data-theme="dark"] .category .wd-category-post-grid .wd-card-title a,
body.dark-mode .category .wd-category-post-grid .wd-card-title,
body.dark-mode .category .wd-category-post-grid .wd-card-title a,
.dark-mode .category .wd-category-post-grid .wd-card-title,
.dark-mode .category .wd-category-post-grid .wd-card-title a{
  color:#111827 !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-cat,
html[data-theme="dark"] .category .wd-category-post-grid .wd-card-category,
body.dark-mode .category .wd-category-post-grid .wd-card-cat,
body.dark-mode .category .wd-category-post-grid .wd-card-category,
.dark-mode .category .wd-category-post-grid .wd-card-cat,
.dark-mode .category .wd-category-post-grid .wd-card-category{
  color:#005ea8 !important;
}

html[data-theme="dark"] .category .wd-category-post-grid .wd-card-media,
body.dark-mode .category .wd-category-post-grid .wd-card-media,
.dark-mode .category .wd-category-post-grid .wd-card-media{
  border-bottom-color:#cfd8e3 !important;
}

/* Hover nunca deve ser necessário para ler o título. */
html[data-theme="dark"] .category .wd-category-post-grid .wd-card:hover .wd-card-title,
html[data-theme="dark"] .category .wd-category-post-grid .wd-card:hover .wd-card-title a,
body.dark-mode .category .wd-category-post-grid .wd-card:hover .wd-card-title,
body.dark-mode .category .wd-category-post-grid .wd-card:hover .wd-card-title a,
.dark-mode .category .wd-category-post-grid .wd-card:hover .wd-card-title,
.dark-mode .category .wd-category-post-grid .wd-card:hover .wd-card-title a{
  color:#005ea8 !important;
}

/* Botão real do menu lateral: caixa menor e centralizada verticalmente.
   Não altera a altura da navegação nem os demais itens. */
header .wd-menu-toggle,
.site-header .wd-menu-toggle,
.wd-header-nav .wd-menu-toggle,
.wd-main-nav .wd-menu-toggle,
nav .wd-menu-toggle{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  max-width:42px !important;
  max-height:42px !important;
  flex:0 0 42px !important;
  align-self:center !important;
  padding:0 !important;
  margin:5px 10px !important;
  box-sizing:border-box !important;
}

header .wd-menu-toggle svg,
.site-header .wd-menu-toggle svg,
.wd-header-nav .wd-menu-toggle svg,
.wd-main-nav .wd-menu-toggle svg,
nav .wd-menu-toggle svg{
  width:21px !important;
  height:21px !important;
  margin:auto !important;
}

/* Caso o tema use o botão sem o prefixo wd em algum breakpoint. */
header button.menu-toggle,
.site-header button.menu-toggle,
nav button.menu-toggle{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  max-width:42px !important;
  max-height:42px !important;
  flex:0 0 42px !important;
  align-self:center !important;
  padding:0 !important;
  margin:5px 10px !important;
  box-sizing:border-box !important;
}


/* =========================================================
   v3.0.49 — correção pelos seletores reais do tema
   ========================================================= */

/* DARK MODE:
   O tema usa body.dark e o título real do card é h2 > a.
   Mantemos o card claro e forçamos contraste permanente. */
body.dark.category .wd-category-post-grid .wd-card,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card{
  background:#f8fafc !important;
  border-color:#cfd8e3 !important;
  box-shadow:
    0 2px 5px rgba(0,0,0,.22),
    0 9px 22px rgba(0,0,0,.18) !important;
}

body.dark.category .wd-category-post-grid .wd-card-body,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-body{
  background:#f8fafc !important;
}

body.dark.category .wd-category-post-grid h2,
body.dark.category .wd-category-post-grid h2 a,
html[data-theme="dark"] body.category .wd-category-post-grid h2,
html[data-theme="dark"] body.category .wd-category-post-grid h2 a{
  color:#111827 !important;
  opacity:1 !important;
}

body.dark.category .wd-category-post-grid .wd-category,
body.dark.category .wd-category-post-grid .wd-card-kicker,
body.dark.category .wd-category-post-grid .wd-card-category,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-category,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-kicker,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-category{
  color:#005ea8 !important;
  opacity:1 !important;
}

body.dark.category .wd-category-post-grid .wd-card:hover h2 a,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card:hover h2 a{
  color:#005ea8 !important;
}

/* MENU LATERAL:
   O ícone real é .wd-hamburger (spans), não SVG.
   38px deixa 7px de respiro numa barra de 52px. */
.wd-nav-wrap .wd-menu-toggle{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  flex:0 0 38px !important;
  align-self:center !important;
  padding:0 !important;
  margin-top:7px !important;
  margin-bottom:7px !important;
  box-sizing:border-box !important;
}

.wd-nav-wrap .wd-menu-toggle .wd-hamburger{
  width:19px !important;
  height:14px !important;
  margin:auto !important;
}

.wd-nav-wrap .wd-menu-toggle .wd-hamburger span{
  height:2px !important;
}

@media (max-width:767px){
  .wd-nav-wrap .wd-menu-toggle{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    flex-basis:38px !important;
  }
}

/* =========================================================
   v3.0.50 — cards das categorias integrados ao dark mode
   Mantém imagens naturais e altera somente a superfície dos cards.
   ========================================================= */
body.dark.category .wd-category-post-grid .wd-card,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card{
  background:#17191d !important;
  border-color:#2a3440 !important;
  box-shadow:0 5px 18px rgba(0,0,0,.30) !important;
}

body.dark.category .wd-category-post-grid .wd-card-body,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-body{
  background:linear-gradient(180deg,#18202a 0%,#15202a 100%) !important;
}

body.dark.category .wd-category-post-grid h2,
body.dark.category .wd-category-post-grid h2 a,
html[data-theme="dark"] body.category .wd-category-post-grid h2,
html[data-theme="dark"] body.category .wd-category-post-grid h2 a{
  color:#f3f6f9 !important;
  opacity:1 !important;
}

body.dark.category .wd-category-post-grid .wd-category,
body.dark.category .wd-category-post-grid .wd-card-kicker,
body.dark.category .wd-category-post-grid .wd-card-category,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-category,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-kicker,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-category{
  color:#55b7ff !important;
  opacity:1 !important;
}

body.dark.category .wd-category-post-grid .wd-card-media,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card-media{
  background:#17191d !important;
  border-bottom:1px solid #2a3440 !important;
}

body.dark.category .wd-category-post-grid .wd-card:hover,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card:hover{
  border-color:#3b86bd !important;
  box-shadow:0 8px 24px rgba(0,0,0,.38),0 0 0 1px rgba(47,156,244,.12) !important;
}

body.dark.category .wd-category-post-grid .wd-card:hover h2 a,
html[data-theme="dark"] body.category .wd-category-post-grid .wd-card:hover h2 a{
  color:#ffffff !important;
}
