/*
Theme Name: Hub Latino Editorial
Theme URI: https://hublatino.com.br/
Description: Tema editorial independente desenvolvido para o Hub Latino.
Author: Hub Latino
Version: 2.8.0
Text Domain: hublatino-editorial
*/

:root{--hub-purple:#64b9e8;--hub-purple-dark:#2385c4;--hub-pink:#ff3992;--hub-yellow:#ffdb25;--hub-blue:#155fca;--hub-ink:#090909;--hub-muted:#727272;--hub-line:#e8e8e8;--hub-bg:#fff}
*{box-sizing:border-box} body{margin:0;background:#fff;color:var(--hub-ink);font-family:Arial,Helvetica,sans-serif}.hub-shell{width:min(1180px,calc(100% - 40px));margin:auto}.hub-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a{text-decoration:none;color:inherit}.hub-header{background:var(--hub-purple);color:#fff;position:relative;z-index:999}.hub-top{height:116px;display:grid;grid-template-columns:72px 1fr 72px;align-items:center}.hub-menu-button,.hub-search-button{border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer;padding:15px}.hub-menu-button span,.hub-menu-button:before,.hub-menu-button:after{content:"";display:block;width:31px;height:3px;background:#fff;margin:6px 0}.hub-brand{text-align:center}.hub-brand img{width:min(310px,60vw);height:auto;display:inline-block}.hub-search-button{font-size:0}.hub-search-button:before{content:"";display:inline-block;width:21px;height:21px;border:4px solid white;border-radius:50%}.hub-search-button:after{content:"";display:inline-block;width:14px;height:4px;background:#fff;transform:rotate(-45deg);margin-left:-3px;margin-bottom:-5px}.hub-nav-wrap{background:var(--hub-purple-dark);border-bottom:4px solid rgba(255,255,255,.18)}.hub-nav{overflow-x:auto;scrollbar-width:none}.hub-nav::-webkit-scrollbar{display:none}.hub-nav ul{list-style:none;margin:0;padding:0;display:flex;white-space:nowrap}.hub-nav li{flex:0 0 auto}.hub-nav a{display:block;padding:25px 26px 21px;color:#fff;text-transform:uppercase;font-family:Impact,'Arial Narrow',sans-serif;font-size:24px;letter-spacing:1.2px}.hub-nav .current-menu-item a,.hub-nav a:hover{box-shadow:inset 0 -6px var(--hub-pink)}
.hub-drawer{position:fixed;inset:0 auto 0 0;width:min(620px,88vw);background:var(--hub-purple);color:white;z-index:1100;transform:translateX(-105%);transition:.25s ease;overflow:auto}.hub-drawer.is-open{transform:none;box-shadow:15px 0 50px rgba(0,0,0,.35)}.hub-drawer-inner{padding:34px}.hub-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.hub-drawer-head img{width:230px}.hub-close{font-size:44px;border:0;background:none;color:white}.hub-drawer-search{display:flex;background:#fff;margin-bottom:45px}.hub-drawer-search input{flex:1;border:0;padding:22px;font-size:23px}.hub-drawer-search button{border:0;background:white;font-size:28px;padding:0 20px}.hub-drawer nav ul{list-style:none;padding:0;margin:0}.hub-drawer nav a{display:block;padding:14px 0;font-size:21px}.hub-drawer-title{font-family:Impact,'Arial Narrow',sans-serif;text-transform:uppercase;font-size:35px;margin:45px 0 20px}.hub-socials{display:flex;gap:28px;font-size:25px}.hub-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1090;display:none}.hub-overlay.is-open{display:block}
.hub-home{padding:48px 0 70px}.hub-section{margin-bottom:72px}.hub-section-title{text-align:center;font-family:Impact,'Arial Narrow',sans-serif;font-size:72px;line-height:1;text-transform:none;margin:0 0 14px}.hub-section-link{text-align:center;color:var(--hub-pink);font-size:25px;margin-bottom:38px}.hub-section-link a:before{content:'→  '}.hub-section-link a:after{content:'  ←'}.hub-hero{display:grid;grid-template-columns:1.48fr .82fr;gap:24px}.hub-card-image{position:relative;overflow:hidden;background:#eee}.hub-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.hub-card:hover img{transform:scale(1.025)}.hub-hero-main .hub-card-image{aspect-ratio:1.42/1}.hub-hero-side{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hub-hero-side .hub-card-image{aspect-ratio:1.15/1}.hub-ribbon{position:absolute;left:28px;bottom:28px;max-width:90%;font-family:Impact,'Arial Narrow',sans-serif;font-size:42px;line-height:1.16;color:#fff}.hub-ribbon span{display:table;background:var(--hub-pink);padding:7px 13px;margin-top:3px;box-shadow:0 0 0 2px var(--hub-purple-dark)}.hub-tag{display:inline-block;color:var(--hub-pink);background:#fff;border:3px solid var(--hub-pink);padding:6px 18px;text-transform:uppercase;font-family:Impact,'Arial Narrow',sans-serif;font-size:20px;letter-spacing:.7px}.hub-card-title{font-size:25px;line-height:1.18;font-weight:700;margin:12px 0 0}.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}.hub-grid .hub-card-image{aspect-ratio:1.35/1}.hub-grid .hub-card-title{font-size:27px}.hub-list-card{border-bottom:14px solid #f5f5f5;padding-bottom:28px;margin-bottom:30px}.hub-list-card .hub-card-image{aspect-ratio:1.7/1}.hub-list-card .hub-card-title{font-family:Impact,'Arial Narrow',sans-serif;font-size:40px;line-height:1.12;margin:22px 0 10px}.hub-meta{font-size:17px;color:#222}.hub-trending{border:4px dotted #111;padding:55px 55px 42px}.hub-trending .hub-section-title{margin-bottom:45px}.hub-trend-list{display:grid;gap:33px}.hub-trend{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:24px}.hub-trend-media{position:relative}.hub-trend-media img{width:150px;height:150px;object-fit:cover;border-radius:50%;border:3px solid #111;padding:5px}.hub-trend-number{position:absolute;left:-3px;top:3px;font-family:Impact,'Arial Narrow',sans-serif;font-size:76px;color:var(--hub-yellow);text-shadow:2px 2px 0 var(--hub-purple)}.hub-trend-cat{font-family:Impact,'Arial Narrow',sans-serif;color:var(--hub-pink);text-transform:uppercase;font-size:20px;letter-spacing:1px}.hub-trend-title{font-size:29px;line-height:1.18;margin-top:7px}.hub-empty{padding:35px;border:2px dashed #bbb;text-align:center}
.hub-single-wrap{width:min(1160px,calc(100% - 40px));margin:48px auto 80px;display:grid;grid-template-columns:minmax(0,780px) 300px;gap:48px;align-items:start}.hub-article-cat{margin-bottom:22px}.hub-article h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:58px;line-height:1.06;margin:0 0 18px}.hub-article .hub-meta{margin-bottom:30px}.hub-featured{width:100%;height:auto;display:block;margin-bottom:30px}.hub-content{font-size:20px;line-height:1.78}.hub-content p{margin:0 0 1.5em}.hub-content img{max-width:100%;height:auto}.hub-sidebar{position:sticky;top:25px}.hub-widget{border-top:6px solid var(--hub-purple);padding-top:18px;margin-bottom:34px}.hub-widget h3{font-family:Impact,'Arial Narrow',sans-serif;font-size:31px;margin:0 0 18px}.hub-mini{display:grid;grid-template-columns:85px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--hub-line)}.hub-mini img{width:85px;height:72px;object-fit:cover}.hub-mini b{font-size:15px;line-height:1.25}.hub-category-list{list-style:none;padding:0;margin:0}.hub-category-list li{border-bottom:1px solid var(--hub-line)}.hub-category-list a{display:flex;justify-content:space-between;padding:11px 0}
.hub-footer{background:var(--hub-purple);color:#fff}.hub-footer-pattern{padding:36px 0;background-image:radial-gradient(rgba(255,57,146,.55) 1.5px,transparent 1.5px);background-size:7px 7px}.hub-footer-top{display:flex;align-items:center;justify-content:space-between}.hub-footer-logo{width:240px}.hub-to-top{border:2px solid #fff;padding:17px 25px;text-transform:uppercase;font-size:19px;background:var(--hub-purple);color:#fff}.hub-footer-main{padding:42px 0;display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:60px}.hub-footer h3{color:var(--hub-pink);font-size:25px;margin:0 0 18px}.hub-footer ul{list-style:none;padding:0;margin:0;columns:2}.hub-footer li{margin-bottom:14px}.hub-footer p{color:#ddd;font-size:17px;line-height:1.5}.hub-newsletter{display:flex}.hub-newsletter input{min-width:0;flex:1;padding:17px;border:0;font-size:16px}.hub-newsletter button{border:0;background:var(--hub-pink);color:#fff;padding:0 21px;font-weight:bold}.hub-footer-bottom{border-top:1px solid rgba(255,255,255,.22);padding:30px 0;text-align:center;color:#c8bfd8;font-size:16px}
@media(max-width:900px){.hub-shell{width:min(100% - 30px,1180px)}.hub-top{height:94px;grid-template-columns:62px 1fr 62px}.hub-brand img{max-height:64px;width:auto;max-width:70vw}.hub-nav a{font-size:20px;padding:20px 22px 17px}.hub-home{padding-top:30px}.hub-section-title{font-size:54px}.hub-hero{grid-template-columns:1fr}.hub-hero-main .hub-card-image{aspect-ratio:1.25/1}.hub-ribbon{font-size:35px;left:18px;bottom:18px}.hub-grid{grid-template-columns:1fr 1fr}.hub-single-wrap{grid-template-columns:1fr}.hub-sidebar{position:static}.hub-footer-main{grid-template-columns:1fr 1fr}.hub-footer-main>div:last-child{grid-column:1/-1}}
@media(max-width:620px){.hub-shell,.hub-single-wrap{width:100%;padding-left:20px;padding-right:20px}.hub-top{height:92px}.hub-menu-button{padding-left:0}.hub-search-button{padding-right:0}.hub-brand img{max-width:62vw}.hub-nav a{font-size:18px;padding:19px 18px 15px}.hub-home{padding:28px 0 45px}.hub-section{margin-bottom:50px}.hub-section-title{font-size:49px}.hub-section-link{font-size:21px;margin-bottom:28px}.hub-hero-side{grid-template-columns:1fr 1fr;overflow-x:auto}.hub-hero-side .hub-card{min-width:260px}.hub-ribbon{font-size:31px;max-width:93%}.hub-grid{grid-template-columns:1fr 1fr;gap:22px 18px}.hub-grid .hub-card-title{font-size:20px}.hub-trending{padding:42px 22px 30px;margin-left:-20px;margin-right:-20px;border-left:0;border-right:0}.hub-trend{grid-template-columns:140px 1fr;gap:12px}.hub-trend-media img{width:125px;height:125px}.hub-trend-number{font-size:62px}.hub-trend-title{font-size:22px}.hub-list-card .hub-card-title{font-size:32px}.hub-single-wrap{margin-top:32px}.hub-article h1{font-size:42px}.hub-content{font-size:18px;line-height:1.7}.hub-footer-pattern{padding:30px 0}.hub-footer-logo{width:190px}.hub-to-top{padding:13px 17px}.hub-footer-main{grid-template-columns:1fr;gap:35px}.hub-footer-main>div:last-child{grid-column:auto}.hub-footer ul{columns:2}}

/* v1.1 — tipografia e matéria editorial */
body{font-family:'Roboto',Arial,Helvetica,sans-serif}
.hub-nav a,.hub-section-title,.hub-ribbon,.hub-tag,.hub-list-card .hub-card-title,.hub-trend-number,.hub-trend-cat,.hub-widget h3,.hub-drawer-title{font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-weight:800}
.hub-article h1{font-family:'Roboto Condensed','Arial Narrow',sans-serif}
.hub-post-hero{position:relative;margin-bottom:28px}.hub-post-hero-image{overflow:hidden;background:#eee}.hub-post-hero-image img{display:block;width:100%;height:auto;max-height:610px;object-fit:cover}.hub-post-heading{position:relative;padding-top:8px}.hub-post-heading.has-image{margin-top:-54px;padding:0 34px;z-index:2}.hub-post-category{display:table;background:#fff;border:3px solid var(--hub-pink);color:var(--hub-pink);padding:7px 20px;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:21px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.5px;margin-bottom:14px}.hub-post-ribbon-title{font-size:0!important;line-height:1!important;margin:0!important}.hub-post-ribbon-title span{display:table;width:auto;max-width:100%;background:var(--hub-pink);color:#fff;border:2px solid var(--hub-purple-dark);padding:7px 14px 8px;margin-top:-1px;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-weight:800;font-size:48px;line-height:1.06;box-decoration-break:clone;-webkit-box-decoration-break:clone}.hub-post-deck{font-size:27px;line-height:1.38;margin:34px 0 21px;font-weight:400}.hub-post-byline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:17px;margin:0 0 24px}.hub-post-byline strong{font-weight:500}.hub-byline-dot{opacity:.55}.hub-share-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-top:1px solid var(--hub-line);border-bottom:1px solid var(--hub-line);padding:14px 0;margin-bottom:30px}.hub-share-label{font-family:'Roboto Condensed',sans-serif;font-weight:700;margin-right:4px}.hub-share-row a{border:1px solid #d8d8d8;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:700}.hub-share-row a:hover{background:var(--hub-pink);border-color:var(--hub-pink);color:#fff}.hub-content h2,.hub-content h3{font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-weight:800;line-height:1.13}.hub-content h2{font-size:36px;margin:1.45em 0 .55em}.hub-content h3{font-size:29px}.hub-content blockquote{border-left:7px solid var(--hub-pink);margin:35px 0;padding:5px 0 5px 24px;font-size:25px;line-height:1.45}.hub-content figure{margin:34px 0}.hub-content figcaption{font-size:13px;line-height:1.4;color:#777;margin-top:8px}.hub-post-footer{margin-top:42px;padding-top:22px;border-top:1px solid var(--hub-line)}.hub-post-tags a{display:inline-block;background:#f3f3f3;padding:6px 10px;margin:4px;border-radius:2px}.hub-trending-widget{border-top:0}.hub-trending-widget>h3{font-size:53px;text-align:center;border:3px dotted #111;padding:20px 10px;margin-bottom:0}.hub-side-trends{border:3px dotted #111;border-top:0;padding:24px 18px}.hub-side-trend{display:grid;grid-template-columns:102px 1fr;gap:13px;align-items:center;padding:13px 0}.hub-side-trend-media{position:relative}.hub-side-trend-media img{width:92px;height:92px;border-radius:50%;object-fit:cover;border:2px solid #111;padding:3px}.hub-side-trend-media b{position:absolute;left:-3px;top:-7px;color:var(--hub-yellow);font-family:'Roboto Condensed',sans-serif;font-size:49px;line-height:1;text-shadow:1px 1px 0 var(--hub-purple)}.hub-side-trend span{display:block;color:var(--hub-pink);font-family:'Roboto Condensed',sans-serif;font-weight:800;text-transform:uppercase;font-size:14px;letter-spacing:.5px;margin-bottom:4px}.hub-side-trend strong{display:block;font-size:16px;line-height:1.2}.hub-single-wrap{grid-template-columns:minmax(0,790px) 310px;gap:54px}
@media(max-width:900px){.hub-post-ribbon-title span{font-size:43px}.hub-post-heading.has-image{padding:0 24px}.hub-post-deck{font-size:24px}}
@media(max-width:620px){.hub-single-wrap{padding-left:0;padding-right:0}.hub-article{min-width:0}.hub-post-heading.has-image{margin-top:-35px;padding:0 34px}.hub-post-category{font-size:18px;padding:6px 18px;margin-bottom:10px}.hub-post-ribbon-title span{font-size:35px;padding:6px 10px}.hub-post-deck,.hub-post-byline,.hub-share-row,.hub-content,.hub-post-footer{margin-left:34px;margin-right:34px}.hub-post-deck{font-size:23px;margin-top:27px}.hub-post-byline{font-size:15px}.hub-content{font-size:19px;line-height:1.72}.hub-content h2{font-size:32px}.hub-sidebar{padding:0 20px}.hub-trending-widget>h3{font-size:48px}}


/* v1.3 — correções estruturais sem alterar o design aprovado */
html,body{max-width:100%;overflow-x:hidden}
.hub-home,.hub-section,.hub-hero,.hub-grid,.hub-card,.hub-card-image,.hub-single-wrap,.hub-article,.hub-sidebar{min-width:0}
.hub-card-title,.hub-trend-title,.hub-side-trend strong,.hub-content,.hub-content p,.hub-article{overflow-wrap:anywhere;word-break:normal}
.hub-ribbon,.hub-post-ribbon-title{max-width:calc(100% - 18px)}
.hub-ribbon span,.hub-post-ribbon-title span{white-space:normal;overflow-wrap:break-word}
.hub-content>*{max-width:100%}
.hub-content table{display:block;max-width:100%;overflow-x:auto}
.hub-content iframe,.hub-content video{max-width:100%}

/* Últimas matérias: bloco novo, mantendo o restante da home intacto */
.hub-latest{border-top:4px dotted #111;padding-top:58px}
.hub-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
.hub-latest-card{min-width:0;border-bottom:10px solid #f5f5f5;padding-bottom:24px}
.hub-latest-card .hub-card-image{aspect-ratio:1.38/1}
.hub-latest-card .hub-card-title{font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:27px;line-height:1.12;margin:13px 0 8px}
.hub-latest-card .hub-meta{font-size:14px;color:#777}
.hub-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:42px}
.hub-pagination .page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:2px solid var(--hub-purple);font-family:'Roboto Condensed',sans-serif;font-weight:800}
.hub-pagination .current,.hub-pagination a:hover{background:var(--hub-pink);border-color:var(--hub-pink);color:#fff}

@media(max-width:900px){
  .hub-hero{grid-template-columns:1fr!important}
  .hub-single-wrap{display:block!important;width:min(100% - 30px,790px)!important;margin:34px auto 65px!important}
  .hub-article{width:100%!important;max-width:100%!important}
  .hub-sidebar{position:static!important;width:100%!important;max-width:620px;margin:52px auto 0!important}
  .hub-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .hub-shell{width:100%!important;padding-left:20px!important;padding-right:20px!important}
  .hub-hero-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:18px!important}
  .hub-hero-side .hub-card{min-width:0!important;width:auto!important}
  .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hub-card-image img{min-width:0!important}
  .hub-ribbon{left:14px!important;right:14px!important;bottom:14px!important;max-width:none!important;font-size:clamp(22px,7vw,31px)!important}
  .hub-ribbon span{max-width:100%!important;padding:5px 9px!important}
  .hub-list-card .hub-card-image{aspect-ratio:1.32/1!important}
  .hub-section-title{font-size:clamp(43px,13vw,58px)!important;overflow-wrap:normal!important}
  .hub-single-wrap{width:100%!important;padding:0!important;margin-top:26px!important}
  .hub-post-hero-image img{width:100%!important;max-height:none!important}
  .hub-post-heading.has-image{margin-top:-34px!important;padding:0 20px!important}
  .hub-post-heading:not(.has-image){padding:0 20px!important}
  .hub-post-ribbon-title{max-width:100%!important}
  .hub-post-ribbon-title span{font-size:clamp(29px,8.8vw,37px)!important;line-height:1.06!important;max-width:100%!important}
  .hub-post-deck,.hub-post-byline,.hub-share-row,.hub-content,.hub-post-footer{margin-left:20px!important;margin-right:20px!important}
  .hub-content{width:auto!important;max-width:none!important;font-size:18px!important;line-height:1.72!important}
  .hub-content p{width:auto!important;max-width:100%!important;word-spacing:normal!important;letter-spacing:normal!important}
  .hub-sidebar{width:auto!important;margin:48px 20px 0!important;padding:0!important}
  .hub-side-trend{grid-template-columns:102px minmax(0,1fr)!important}
  .hub-side-trend strong{font-size:16px!important}
  .hub-trending-widget>h3{font-size:45px!important}
  .hub-latest-grid{grid-template-columns:1fr!important}
  .hub-latest-card .hub-card-title{font-size:26px}
}
@media(max-width:390px){
  .hub-hero-side,.hub-grid{grid-template-columns:1fr!important}
  .hub-ribbon{font-size:25px!important}
}


/* v1.4 — refinamento proporcional das tarjas, sem alterar o layout */
.hub-ribbon{
  font-size:37px;
  line-height:1.12;
  max-width:82%;
}
.hub-ribbon span{
  padding:5px 11px 6px;
  margin-top:2px;
  text-wrap:balance;
}
.hub-list-card .hub-ribbon{max-width:80%}

.hub-post-heading.has-image{
  margin-top:-46px;
  padding-left:34px;
  padding-right:34px;
}
.hub-post-ribbon-title{
  max-width:78%;
}
.hub-post-ribbon-title span{
  font-size:41px;
  line-height:1.05;
  padding:5px 11px 6px;
  border-width:1.5px;
  text-wrap:balance;
}

@media(max-width:900px){
  .hub-ribbon{font-size:32px;max-width:84%}
  .hub-post-ribbon-title{max-width:82%}
  .hub-post-ribbon-title span{font-size:37px}
}

@media(max-width:620px){
  .hub-ribbon{
    left:18px!important;
    right:auto!important;
    bottom:18px!important;
    max-width:82%!important;
    font-size:clamp(21px,6.1vw,27px)!important;
    line-height:1.1!important;
  }
  .hub-ribbon span{
    width:fit-content!important;
    max-width:100%!important;
    padding:4px 8px 5px!important;
  }
  .hub-list-card .hub-card-image{aspect-ratio:1.42/1!important}
  .hub-post-heading.has-image{
    margin-top:-27px!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .hub-post-ribbon-title{
    max-width:84%!important;
  }
  .hub-post-ribbon-title span{
    font-size:clamp(26px,7.2vw,31px)!important;
    line-height:1.05!important;
    padding:4px 8px 5px!important;
    border-width:1px!important;
  }
  .hub-post-category{
    font-size:16px!important;
    padding:5px 14px!important;
  }
}

@media(max-width:390px){
  .hub-ribbon{font-size:23px!important;max-width:86%!important}
  .hub-post-ribbon-title{max-width:88%!important}
  .hub-post-ribbon-title span{font-size:27px!important}
}


/* v1.5 — ajustes finos de proporção e títulos SEO, preservando o design */
.hub-ribbon,
.hub-post-ribbon-title{
  text-align:left;
  hyphens:none;
  word-break:normal;
}
.hub-ribbon span,
.hub-post-ribbon-title span{
  text-align:left;
  text-wrap:balance;
  overflow-wrap:break-word;
}

/* Mais imagem visível nos destaques da home */
.hub-ribbon{
  font-size:34px;
  max-width:76%;
}
.hub-ribbon span{
  padding:4px 9px 5px;
}
.hub-list-card .hub-ribbon{max-width:74%}

/* Título de matéria mais elegante e menos dominante */
.hub-post-ribbon-title{max-width:74%}
.hub-post-ribbon-title span{
  font-size:37px;
  padding:4px 9px 5px;
  line-height:1.04;
}

@media(max-width:900px){
  .hub-ribbon{font-size:29px;max-width:79%}
  .hub-post-ribbon-title{max-width:78%}
  .hub-post-ribbon-title span{font-size:34px}
}

@media(max-width:620px){
  .hub-ribbon{
    max-width:78%!important;
    font-size:clamp(19px,5.5vw,24px)!important;
  }
  .hub-ribbon span{padding:3px 7px 4px!important}
  .hub-post-ribbon-title{max-width:80%!important}
  .hub-post-ribbon-title span{
    font-size:clamp(23px,6.5vw,28px)!important;
    padding:3px 7px 4px!important;
    line-height:1.04!important;
  }
}

@media(max-width:390px){
  .hub-ribbon{font-size:21px!important;max-width:80%!important}
  .hub-post-ribbon-title{max-width:82%!important}
  .hub-post-ribbon-title span{font-size:24px!important}
}


/* v1.6 — correções pontuais de espaçamento e quebra, preservando o visual */
@media(max-width:620px){
  /* remove a faixa branca desnecessária entre o menu e a matéria */
  .hub-single-wrap{margin-top:0!important}
  .hub-post-hero{margin-top:0!important}

  /* aproxima os blocos sem alterar sua composição */
  .hub-home{padding-top:20px!important}
  .hub-section{margin-bottom:38px!important}
  .hub-list-card{margin-bottom:20px!important;padding-bottom:20px!important}
  .hub-latest{padding-top:42px!important}

  /* mantém as tarjas compactas e evita palavras órfãs */
  .hub-ribbon{max-width:84%!important}
  .hub-ribbon span,.hub-post-ribbon-title span{
    text-wrap:balance!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}


/* v1.8 — títulos uniformes e cards secundários no padrão editorial aprovado */
.hub-card-tag{
  display:inline-block;
  margin-top:-2px;
  position:relative;
  z-index:2;
  padding:7px 14px 6px;
  border:2px solid var(--hub-pink);
  background:#fff;
  color:var(--hub-pink);
  font-family:"Roboto Condensed",Arial,sans-serif;
  font-size:15px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.hub-standard-card .hub-card-title,
.hub-standard-lead .hub-card-title{
  margin:13px 0 7px;
  font-family:"Roboto Condensed",Arial,sans-serif;
  font-weight:800;
  line-height:1.08;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.hub-standard-card .hub-card-title{font-size:25px}
.hub-standard-lead .hub-card-title{font-size:36px;max-width:900px}
.hub-card-date{
  margin-top:4px;
  color:#252525;
  font-size:16px;
  line-height:1.35;
}
.hub-standard-lead{padding-bottom:26px!important}
.hub-standard-lead .hub-card-image{margin-bottom:0!important}

/* O destaque principal mantém as tarjas, mas com linhas mais equilibradas. */
.hub-hero-main .hub-ribbon{
  max-width:78%;
  font-size:clamp(29px,3.15vw,40px);
  line-height:1.03;
}
.hub-hero-main .hub-ribbon span{
  padding:5px 11px 6px;
  margin-top:2px;
}

/* Título do post no mesmo ritmo da referência: compacto, sem faixas exageradas. */
.hub-post-ribbon-title{
  max-width:82%;
  margin-top:10px;
}
.hub-post-ribbon-title span{
  font-size:clamp(32px,3.6vw,44px);
  line-height:1.02;
  padding:5px 11px 6px;
  margin-top:2px;
  text-wrap:balance;
}
.hub-post-heading.has-image{margin-top:-48px}

@media(max-width:900px){
  .hub-standard-card .hub-card-title{font-size:22px}
  .hub-standard-lead .hub-card-title{font-size:31px}
  .hub-post-ribbon-title{max-width:86%}
  .hub-post-ribbon-title span{font-size:clamp(29px,5vw,37px)}
}

@media(max-width:620px){
  .hub-section-title{
    font-size:clamp(39px,11.2vw,52px)!important;
    line-height:.98!important;
    margin-bottom:12px!important;
    text-wrap:balance;
  }
  .hub-section-link{margin-bottom:28px!important}
  .hub-standard-lead .hub-card-title{
    font-size:clamp(27px,7.5vw,34px)!important;
    line-height:1.06!important;
    margin-top:11px!important;
  }
  .hub-standard-card .hub-card-title{
    font-size:clamp(22px,6.1vw,27px)!important;
    line-height:1.08!important;
  }
  .hub-card-tag{
    font-size:14px;
    padding:6px 12px 5px;
  }
  .hub-card-date{font-size:15px}
  .hub-post-heading.has-image{
    margin-top:-30px!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .hub-post-ribbon-title{
    max-width:88%!important;
    margin-top:8px!important;
  }
  .hub-post-ribbon-title span{
    font-size:clamp(26px,7.2vw,31px)!important;
    line-height:1.02!important;
    padding:4px 8px 5px!important;
    margin-top:1px!important;
  }
  .hub-post-category{font-size:15px!important}
  .hub-hero-main .hub-ribbon{
    max-width:84%!important;
    font-size:clamp(22px,6.2vw,28px)!important;
  }
  .hub-hero-main .hub-ribbon span{padding:4px 8px 5px!important}
}

@media(max-width:390px){
  .hub-post-ribbon-title{max-width:92%!important}
  .hub-post-ribbon-title span{font-size:25px!important}
}

/* v1.9 — cards secundários empilhados no celular, como a referência */
@media (max-width: 900px){
  .hub-hero-side,
  .hub-grid,
  .hub-latest-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:34px!important;
    overflow:visible!important;
  }

  .hub-hero-side .hub-card,
  .hub-grid .hub-card,
  .hub-latest-grid .hub-card{
    width:100%!important;
    min-width:0!important;
  }

  .hub-hero-side .hub-card-image,
  .hub-grid .hub-card-image,
  .hub-latest-card .hub-card-image{
    aspect-ratio:1.42/1!important;
  }

  .hub-standard-card .hub-card-title,
  .hub-latest-card .hub-card-title{
    font-size:clamp(27px,5.6vw,34px)!important;
    line-height:1.08!important;
    margin-top:12px!important;
    max-width:none!important;
    text-wrap:balance!important;
  }

  .hub-card-tag{
    margin-top:0!important;
  }

  .hub-card-date{
    margin-top:10px!important;
  }
}

@media (max-width: 620px){
  .hub-hero-side,
  .hub-grid,
  .hub-latest-grid{
    gap:38px!important;
  }

  .hub-hero-side .hub-card-image,
  .hub-grid .hub-card-image,
  .hub-latest-card .hub-card-image{
    aspect-ratio:1.3/1!important;
  }

  .hub-standard-card .hub-card-title,
  .hub-latest-card .hub-card-title{
    font-size:clamp(28px,7.2vw,34px)!important;
    line-height:1.07!important;
  }
}


/* v2.0 — azul-claro da marca e etiquetas de categoria com acabamento editorial */
:root{
  --hub-purple:#64b9e8;
  --hub-purple-dark:#2385c4;
  --hub-blue:#1676b8;
}

/* Mantém contraste e profundidade no cabeçalho, menu, drawer e rodapé. */
.hub-header,
.hub-drawer,
.hub-footer{background:var(--hub-purple)!important}
.hub-nav-wrap{background:var(--hub-purple-dark)!important}
.hub-to-top{background:var(--hub-purple-dark)!important}
.hub-footer-pattern{
  background-color:var(--hub-purple-dark)!important;
  background-image:radial-gradient(rgba(255,57,146,.72) 1.5px,transparent 1.5px)!important;
}
.hub-footer-bottom{color:rgba(255,255,255,.88)!important}

/* Etiqueta igual ao padrão visual da referência: branca, rosa e com offset. */
.hub-card-tag,
.hub-post-category,
.hub-tag{
  display:table!important;
  width:max-content!important;
  max-width:calc(100% - 28px)!important;
  background:#fff!important;
  color:var(--hub-pink)!important;
  border:3px solid var(--hub-pink)!important;
  box-shadow:7px 8px 0 var(--hub-pink)!important;
  padding:10px 22px 9px!important;
  font-family:'Roboto Condensed','Arial Narrow',sans-serif!important;
  font-size:clamp(16px,1.8vw,22px)!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
}

/* Cards comuns: etiqueta levemente sobreposta ao fim da imagem. */
.hub-standard-card .hub-card-tag,
.hub-standard-lead .hub-card-tag,
.hub-latest-card .hub-card-tag{
  margin:-20px 0 22px 14px!important;
  position:relative!important;
  z-index:4!important;
}
.hub-standard-card .hub-card-title,
.hub-standard-lead .hub-card-title,
.hub-latest-card .hub-card-title{
  margin-top:0!important;
}

/* Página de matéria: mesma etiqueta entre foto e título. */
.hub-post-category{
  margin:0 0 24px 0!important;
}

@media(max-width:620px){
  .hub-card-tag,
  .hub-post-category,
  .hub-tag{
    max-width:calc(100% - 36px)!important;
    padding:8px 17px 7px!important;
    font-size:16px!important;
    border-width:3px!important;
    box-shadow:6px 7px 0 var(--hub-pink)!important;
  }
  .hub-standard-card .hub-card-tag,
  .hub-standard-lead .hub-card-tag,
  .hub-latest-card .hub-card-tag{
    margin:-17px 0 20px 12px!important;
  }
  .hub-post-category{margin-bottom:20px!important}
}


/* v2.1 — título contínuo e arquivos de categoria corrigidos */
.hub-post-ribbon-title span{
  border:0!important;
  margin-top:0!important;
  box-shadow:none!important;
}


/* v2.2 — correção definitiva das tarjas e páginas de categoria */
.hub-post-ribbon-title span{border:0!important;margin-top:0!important;box-shadow:none!important}
.hub-post-ribbon-title span+span{margin-top:0!important}
.hub-ribbon span{border:0!important;box-shadow:none!important;margin-top:0!important}
.hub-ribbon span+span{margin-top:0!important}
.hub-archive-title{overflow-wrap:anywhere;text-align:center}
\n\n/* v2.3 — título da matéria em uma única caixa, compacto e sem quebras artificiais */
.hub-post-ribbon-title{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
.hub-post-ribbon-title span{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  background:var(--hub-pink)!important;
  color:#fff!important;
  font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif!important;
  font-weight:900!important;
  font-size:clamp(30px,4.1vw,48px)!important;
  line-height:1.04!important;
  letter-spacing:-.02em!important;
  text-align:left!important;
  text-wrap:pretty!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  padding:12px 14px 14px!important;
  border:0!important;
  box-shadow:none!important;
  margin:0!important;
}
@media(max-width:620px){
  .hub-post-heading.has-image,
  .hub-post-heading:not(.has-image){
    padding-left:34px!important;
    padding-right:34px!important;
  }
  .hub-post-ribbon-title span{
    font-size:clamp(25px,7vw,30px)!important;
    line-height:1.06!important;
    padding:11px 13px 13px!important;
    letter-spacing:-.015em!important;
  }
}
@media(max-width:390px){
  .hub-post-ribbon-title span{
    font-size:25px!important;
  }
}


/* v2.4 — título principal da página inicial em uma única caixa, com tipografia responsiva */
.hub-hero-main .hub-ribbon{
  display:block!important;
  width:auto!important;
  max-width:min(82%,560px)!important;
  margin:0!important;
  padding:10px 14px 12px!important;
  background:var(--hub-pink)!important;
  box-shadow:0 0 0 2px var(--hub-purple-dark)!important;
  color:#fff!important;
  font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif!important;
  font-size:clamp(25px,3vw,38px)!important;
  line-height:1.08!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  text-align:left!important;
  text-wrap:balance!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

@media(max-width:620px){
  .hub-hero-main .hub-ribbon{
    left:14px!important;
    right:14px!important;
    bottom:14px!important;
    width:auto!important;
    max-width:none!important;
    padding:8px 11px 10px!important;
    font-size:clamp(20px,5.6vw,25px)!important;
    line-height:1.08!important;
    letter-spacing:-.015em!important;
  }
}

@media(max-width:390px){
  .hub-hero-main .hub-ribbon{
    font-size:20px!important;
    line-height:1.07!important;
  }
}

/* v2.5 — título das matérias ocupa toda a largura útil no celular */
@media (max-width: 620px){
  .hub-post-heading.has-image,
  .hub-post-heading:not(.has-image){
    width:100%!important;
    max-width:none!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .hub-post-heading .hub-post-category{
    margin-left:24px!important;
  }

  .hub-post-ribbon-title{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .hub-post-ribbon-title span{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    font-size:clamp(25px,7.2vw,31px)!important;
    line-height:1.06!important;
    padding:12px 14px 14px!important;
    text-wrap:pretty!important;
  }
}

@media (max-width:390px){
  .hub-post-heading.has-image,
  .hub-post-heading:not(.has-image){
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .hub-post-ribbon-title span{
    font-size:26px!important;
  }
}

/* v2.6 — traçados editoriais pontilhados inspirados em revista */
.hub-section-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:100%;
}
.hub-section-title::before,
.hub-section-title::after{
  content:"";
  flex:1 1 0;
  min-width:36px;
  height:22px;
  background-image:radial-gradient(circle, #111 1.6px, transparent 1.8px);
  background-size:7px 7px;
  background-position:center;
}

/* Moldura pontilhada mais marcante no bloco Em alta */
.hub-trending{
  position:relative;
  border:0;
  padding:58px 55px 46px;
  background:
    radial-gradient(circle, #111 1.5px, transparent 1.7px) top left/7px 7px repeat-x,
    radial-gradient(circle, #111 1.5px, transparent 1.7px) bottom left/7px 7px repeat-x,
    radial-gradient(circle, #111 1.5px, transparent 1.7px) top left/7px 7px repeat-y,
    radial-gradient(circle, #111 1.5px, transparent 1.7px) top right/7px 7px repeat-y,
    #fff;
}

/* Título do bloco Em alta sem duplicar linhas internas */
.hub-trending .hub-section-title::before,
.hub-trending .hub-section-title::after{
  display:none;
}

@media(max-width:620px){
  .hub-section-title{
    gap:10px;
  }
  .hub-section-title::before,
  .hub-section-title::after{
    height:18px;
    min-width:24px;
    background-size:6px 6px;
  }
  .hub-trending{
    margin-left:-20px;
    margin-right:-20px;
    padding:44px 22px 34px;
    background:
      radial-gradient(circle, #111 1.35px, transparent 1.55px) top left/6px 6px repeat-x,
      radial-gradient(circle, #111 1.35px, transparent 1.55px) bottom left/6px 6px repeat-x,
      #fff;
  }
}

/* v2.7 — categorias no formato editorial desktop da referência */
.hub-category-showcase{padding-top:10px}
.hub-category-header{margin-bottom:36px}
.hub-category-header .hub-section-link{margin-bottom:0}
.hub-category-lead{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;margin-bottom:34px}
.hub-category-lead-image,.hub-category-lead-image .hub-card-image{display:block;height:100%}
.hub-category-lead-image .hub-card-image{min-height:390px;aspect-ratio:auto}
.hub-category-lead-copy{display:flex;flex-direction:column;justify-content:center;padding:26px 0 26px 28px;min-width:0}
.hub-category-lead-copy .hub-card-tag{align-self:flex-start;margin:0 0 16px}
.hub-category-lead-title{margin:0;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:0;line-height:1.02;font-weight:900}
.hub-category-lead-title span{display:table;width:auto;max-width:100%;margin-top:3px;padding:6px 12px 7px;background:var(--hub-pink);border:2px solid var(--hub-purple-dark);color:#fff;font-size:clamp(31px,3.15vw,46px);line-height:1.02;text-wrap:balance;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hub-category-lead-excerpt{margin:25px 8px 22px;font-size:22px;line-height:1.38}
.hub-category-lead-meta{display:flex;flex-wrap:wrap;gap:10px;margin:0 8px;font-size:15px;line-height:1.4;color:#222}
.hub-category-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
.hub-category-card{min-width:0}
.hub-category-card .hub-card-image{aspect-ratio:1.28/1}
.hub-category-card .hub-card-title{font-size:23px}

/* Em alta em uma única linha no desktop. */
.hub-trending{padding:48px 38px 38px}
.hub-trending .hub-section-title{margin-bottom:38px}
.hub-trend-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.hub-trend{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.hub-trend-media{display:block;width:100%}
.hub-trend-media img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:3px solid #111;padding:5px}
.hub-trend-number{left:0;top:0;font-size:64px;line-height:1}
.hub-trend-copy{min-width:0}
.hub-trend-cat{font-size:16px}
.hub-trend-title{font-size:20px;line-height:1.18;margin-top:6px;font-weight:700}

@media(max-width:1050px){
  .hub-category-lead-title span{font-size:clamp(29px,3.6vw,39px)}
  .hub-category-lead-excerpt{font-size:19px}
  .hub-category-row{gap:22px}
  .hub-category-card .hub-card-title{font-size:21px}
  .hub-trend-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:900px){
  .hub-category-lead{grid-template-columns:1fr}
  .hub-category-lead-image .hub-card-image{min-height:0;aspect-ratio:1.45/1}
  .hub-category-lead-copy{padding:24px 0 0}
  .hub-category-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .hub-category-header{margin-bottom:26px}
  .hub-category-lead{margin-bottom:24px}
  .hub-category-lead-image .hub-card-image{aspect-ratio:1.25/1}
  .hub-category-lead-copy{padding-top:18px}
  .hub-category-lead-title span{font-size:clamp(25px,7.6vw,32px);padding:4px 8px 5px}
  .hub-category-lead-excerpt{margin:18px 0 16px;font-size:18px}
  .hub-category-lead-meta{margin:0;font-size:14px}
  .hub-category-row{display:flex!important;gap:18px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding-bottom:8px;margin-right:-20px;padding-right:20px}
  .hub-category-row .hub-category-card{flex:0 0 78vw;scroll-snap-align:start}
  .hub-trending{padding:40px 20px 30px}
  .hub-trend-list{display:flex;overflow-x:auto;gap:22px;scroll-snap-type:x mandatory;padding-bottom:8px}
  .hub-trend{flex:0 0 62vw;scroll-snap-align:start}
  .hub-trend-title{font-size:21px}
}
