/* Quality Celulares · Guia Quality v7
   Layout editorial responsivo. Este CSS é carregado apenas nas páginas /blog/. */
:root{
  --gq-red:#c90000;
  --gq-red-soft:#fff1f1;
  --gq-ink:#111827;
  --gq-muted:#64748b;
  --gq-line:#e5e7eb;
  --gq-soft:#f6f8fb;
  --gq-card:#ffffff;
  --gq-shadow:0 14px 34px rgba(15,23,42,.08);
}

html,body{max-width:100%;overflow-x:clip}
body{background:var(--gq-soft)}
.gq-shell,.gq-article-shell,.gq-shell *,.gq-article-shell *{box-sizing:border-box}
.gq-shell img,.gq-article-shell img,.gq-shell video,.gq-article-shell video,.gq-shell iframe,.gq-article-shell iframe{max-width:100%}
.gq-shell a,.gq-article-shell a,.gq-shell p,.gq-article-shell p,.gq-shell li,.gq-article-shell li,.gq-shell h1,.gq-article-shell h1,.gq-shell h2,.gq-article-shell h2,.gq-shell h3,.gq-article-shell h3{overflow-wrap:anywhere}

/* LISTAGEM */
.gq-shell{width:100%;max-width:1220px;margin:0 auto;padding:34px 24px 56px;overflow:hidden}
.gq-hero{border-radius:24px;padding:38px 42px;background:linear-gradient(135deg,#111827 0%,#202938 68%,#2f3745 100%);color:#fff;margin-bottom:22px;overflow:hidden;position:relative;box-shadow:var(--gq-shadow)}
.gq-hero:after{content:"Q";position:absolute;right:24px;bottom:-54px;font-size:190px;font-weight:900;color:rgba(255,255,255,.045);line-height:1;pointer-events:none}
.gq-hero>span{display:inline-block;font-size:11px;letter-spacing:.18em;font-weight:900;color:#fca5a5;text-transform:uppercase}
.gq-hero h1{position:relative;z-index:1;font-size:clamp(32px,4vw,44px);line-height:1.05;margin:9px 0 0;letter-spacing:-.035em}
.gq-hero p{position:relative;z-index:1;margin:10px 0 0;max-width:680px;color:#e5e7eb;font-size:16px;line-height:1.55}

.gq-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;min-width:0}
.gq-chips a{border:1px solid var(--gq-line);border-radius:999px;padding:8px 12px;text-decoration:none;color:#334155;background:#fff;font-size:12px;font-weight:800;transition:.18s ease}
.gq-chips a:hover{border-color:#cbd5e1;transform:translateY(-1px)}
.gq-chips a.active{background:#111827;color:#fff;border-color:#111827}

.gq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}
.gq-card{border:1px solid var(--gq-line);border-radius:19px;background:var(--gq-card);overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 8px 24px rgba(15,23,42,.055);transition:transform .18s ease,box-shadow .18s ease;color:var(--gq-ink);text-decoration:none;cursor:pointer}
.gq-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.09)}
.gq-card:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:3px;box-shadow:0 14px 30px rgba(15,23,42,.10)}
.gq-card[hidden]{display:none!important}
.gq-card-cover{width:100%;aspect-ratio:16/10;background:linear-gradient(145deg,#f8fafc,#eef2f7);display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none}
.gq-card-cover img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;background:#fff;padding:14px!important}
.gq-card-cover span{font-size:42px;font-weight:900;color:#94a3b8}
.gq-card-body{padding:17px;display:flex;flex-direction:column;gap:9px;height:100%;min-width:0}
.gq-kicker{display:block;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.095em;font-weight:900;color:var(--gq-red)}
.gq-card h2{font-size:19px;line-height:1.27;margin:0;letter-spacing:-.015em}
.gq-card h2{color:var(--gq-ink);text-decoration:none}
.gq-card p{color:var(--gq-muted);font-size:13px;line-height:1.52;margin:0;flex:1}
.gq-card-meta{display:flex;gap:10px;flex-wrap:wrap;color:#94a3b8;font-size:11px;padding-top:5px}
.gq-card-meta span+span:before{content:"•";margin-right:10px;color:#cbd5e1}
.gq-empty{grid-column:1/-1;border:1px dashed #cbd5e1;border-radius:18px;padding:38px;text-align:center;color:var(--gq-muted);background:#fff}
.gq-empty h2{margin:0 0 6px;color:var(--gq-ink);font-size:21px}
.gq-empty p{margin:0;line-height:1.55}

/* ARTIGO */
.gq-article-shell{width:100%;max-width:1120px;margin:0 auto;padding:28px 24px 58px;overflow:hidden}
.gq-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#64748b;font-size:12px;margin:0 auto 14px;max-width:900px;min-width:0}
.gq-breadcrumb a{color:#475569;text-decoration:none;font-weight:700}
.gq-breadcrumb a:hover{color:var(--gq-red)}
.gq-breadcrumb span:last-child{min-width:0;white-space:normal}

.gq-article{width:100%;max-width:900px;margin:0 auto;background:#fff;border:1px solid var(--gq-line);border-radius:24px;padding:clamp(24px,4vw,48px);box-shadow:var(--gq-shadow);min-width:0;overflow:hidden}
.gq-article header{min-width:0}
.gq-article header>h1{font-size:clamp(30px,4.5vw,46px);line-height:1.1;margin:10px 0 14px;color:var(--gq-ink);letter-spacing:-.035em}
.gq-lead{font-size:clamp(16px,2vw,19px);line-height:1.58;color:#475569;margin:0;max-width:760px}
.gq-article-meta{display:flex;gap:0;flex-wrap:wrap;color:#7c8798;font-size:12px;margin:16px 0 24px}
.gq-article-meta span{display:inline-flex;align-items:center}
.gq-article-meta span+span:before{content:"•";margin:0 9px;color:#cbd5e1}

.gq-cover{width:100%;margin:0 0 30px;border:1px solid var(--gq-line);border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#f8fafc,#eef2f7);display:flex;align-items:center;justify-content:center;aspect-ratio:16/9}
.gq-cover img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}

.gq-content{font-size:16.5px;line-height:1.78;color:#263244;min-width:0}
.gq-content>*{max-width:100%}
.gq-content p{margin:0 0 19px}
.gq-content h2{font-size:27px;line-height:1.22;margin:38px 0 13px;color:#111827;letter-spacing:-.02em}
.gq-content h3{font-size:21px;line-height:1.3;margin:28px 0 10px;color:#1f2937}
.gq-content ul,.gq-content ol{padding-left:24px;margin:0 0 22px}
.gq-content li{margin:8px 0;padding-left:2px}
.gq-content a{color:#075be8;text-underline-offset:2px}
.gq-content blockquote{margin:24px 0;padding:14px 17px;border-left:4px solid var(--gq-red);background:#fff5f5;border-radius:0 12px 12px 0;color:#4b5563}
.gq-content pre{max-width:100%;overflow:auto;border-radius:12px;background:#111827;color:#f8fafc;padding:14px;font-size:13px;line-height:1.55}
.gq-content code{max-width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.gq-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:24px 0;-webkit-overflow-scrolling:touch}
.gq-content th,.gq-content td{border:1px solid var(--gq-line);padding:9px 11px;text-align:left;white-space:normal;min-width:120px}
.gq-content img{display:block;height:auto;margin:22px auto;border-radius:14px}

.gq-source{border-left:4px solid #eab308;background:#fffbeb;border-radius:0 12px 12px 0;padding:14px 16px;margin:28px 0;color:#713f12;min-width:0}
.gq-source p{margin:4px 0}.gq-source a{font-weight:800;color:#854d0e}
.gq-cta{margin:32px 0 4px;border-radius:18px;background:#111827;color:#fff;padding:21px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.gq-cta>div{min-width:0}.gq-cta strong{font-size:17px}.gq-cta p{margin:5px 0 0;color:#cbd5e1;font-size:13px;line-height:1.45}
.gq-cta a{flex:0 0 auto;white-space:nowrap;background:#16a34a;color:#fff;border-radius:11px;padding:11px 15px;text-decoration:none;font-weight:850}

.gq-section-title h2{margin:0 0 4px;font-size:23px}.gq-section-title p{margin:0 0 15px;color:#64748b;font-size:13px}
.gq-related-products,.gq-related-articles{margin-top:36px;min-width:0}
.gq-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;min-width:0}
.gq-product-card{border:1px solid var(--gq-line);border-radius:14px;padding:10px;text-decoration:none;color:#111827;display:flex;flex-direction:column;gap:8px;min-width:0;background:#fff}
.gq-product-card:hover{border-color:#cbd5e1;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.gq-product-img{height:125px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gq-product-img img{max-width:100%;max-height:100%;object-fit:contain}
.gq-product-card strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.gq-product-card>span:last-child{font-size:11px;color:var(--gq-red);font-weight:800;margin-top:auto}
.gq-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.gq-mini-grid a{border:1px solid var(--gq-line);border-radius:13px;padding:13px;text-decoration:none;color:#111827;display:grid;gap:6px;min-width:0;background:#fff}
.gq-mini-grid span{font-size:9px;color:var(--gq-red);font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.gq-mini-grid strong{font-size:13px;line-height:1.35}.gq-mini-grid small{color:#64748b}

@media(max-width:900px){
  .gq-shell{padding:26px 18px 46px}.gq-article-shell{padding:22px 18px 48px}
  .gq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gq-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gq-mini-grid{grid-template-columns:1fr}
  .gq-cta{align-items:flex-start;flex-direction:column}.gq-cta a{width:100%;box-sizing:border-box;text-align:center}
}

@media(max-width:600px){
  .gq-shell,.gq-article-shell{padding-left:14px;padding-right:14px}
  .gq-shell{padding-top:18px;padding-bottom:34px}.gq-article-shell{padding-top:16px;padding-bottom:38px}
  .gq-hero{padding:25px 21px;border-radius:18px;margin-bottom:16px}.gq-hero:after{font-size:120px;right:8px;bottom:-32px}.gq-hero h1{font-size:30px}
  .gq-chips{flex-wrap:nowrap;overflow-x:auto;padding:1px 0 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.gq-chips::-webkit-scrollbar{display:none}.gq-chips a{flex:0 0 auto}
  .gq-grid{grid-template-columns:1fr;gap:13px}
  .gq-card{display:grid;grid-template-columns:116px minmax(0,1fr);min-height:145px;border-radius:16px}
  .gq-card-cover{height:100%;aspect-ratio:auto;min-height:145px}.gq-card-body{padding:13px}.gq-card h2{font-size:16px}.gq-card p{font-size:12.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .gq-card-meta{font-size:10.5px;gap:6px}.gq-card-meta span+span:before{margin-right:6px}
  .gq-breadcrumb{font-size:11px;margin-bottom:11px}
  .gq-article{padding:22px 18px;border-radius:18px}.gq-article header>h1{font-size:30px}.gq-lead{font-size:16px}.gq-article-meta{font-size:11px;margin-bottom:19px}.gq-article-meta span+span:before{margin:0 6px}
  .gq-cover{border-radius:14px;margin-bottom:23px;aspect-ratio:4/3}
  .gq-content{font-size:15.5px;line-height:1.72}.gq-content h2{font-size:22px;margin-top:31px}.gq-content h3{font-size:19px}
  .gq-cta{padding:18px;margin-top:26px}.gq-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gq-product-img{height:105px}
}

@media(max-width:390px){
  .gq-card{grid-template-columns:102px minmax(0,1fr)}
  .gq-card-cover{min-height:136px}.gq-card-body{padding:11px}.gq-card h2{font-size:15px}
  .gq-article{padding:20px 15px}.gq-article header>h1{font-size:28px}
  .gq-product-grid{grid-template-columns:1fr}.gq-product-card{display:grid;grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto auto;align-items:center}.gq-product-img{grid-row:1/3;height:90px}.gq-product-card>span:last-child{margin-top:0}
}

/* Quality Celulares · Guia Quality v3
   Refinamento editorial: leitura curta, relacionados compactos e mobile nativo. */
.gq-article{max-width:820px}
.gq-content{font-size:16px;line-height:1.68}
.gq-content strong{font-weight:850;color:#111827}
.gq-content ul,.gq-content ol{padding-left:21px}
.gq-content li::marker{color:#64748b}
.gq-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gq-product-card,.gq-product-card *{min-width:0}
.gq-product-card strong{overflow-wrap:anywhere}
.gq-product-card>span:last-child{display:block}

@media(max-width:700px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{background:#fff}
  .gq-shell,.gq-article-shell{width:100%!important;max-width:100%!important;margin:0!important;overflow-x:hidden!important}
  .gq-article-shell{padding:0 0 28px!important}
  .gq-breadcrumb{display:none!important}
  .gq-article{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px 16px 24px!important;overflow:hidden!important}
  .gq-article header>h1{font-size:27px!important;line-height:1.12!important;letter-spacing:-.025em!important;margin:7px 0 10px!important}
  .gq-lead{font-size:15.5px!important;line-height:1.48!important;color:#475569!important}
  .gq-article-meta{font-size:10.5px!important;line-height:1.3!important;margin:12px 0 16px!important;gap:0!important}
  .gq-article-meta span+span:before{margin:0 5px!important}
  .gq-kicker{font-size:9px!important;letter-spacing:.08em!important}
  .gq-cover{width:100%!important;aspect-ratio:16/10!important;max-height:280px!important;margin:0 0 20px!important;border-radius:13px!important}
  .gq-cover img{width:100%!important;height:100%!important;max-width:100%!important;max-height:280px!important;object-fit:contain!important}
  .gq-content{font-size:16px!important;line-height:1.62!important;color:#263244!important}
  .gq-content p{margin:0 0 15px!important}
  .gq-content h2{font-size:21px!important;line-height:1.22!important;margin:28px 0 10px!important}
  .gq-content h3{font-size:18px!important;line-height:1.28!important;margin:22px 0 8px!important}
  .gq-content ul,.gq-content ol{padding-left:20px!important;margin:0 0 17px!important}
  .gq-content li{margin:7px 0!important;padding-left:0!important}
  .gq-content img{width:auto!important;max-width:100%!important;height:auto!important;max-height:300px!important;object-fit:contain!important;margin:17px auto!important}
  .gq-content pre,.gq-content table{max-width:100%!important;overflow-x:auto!important}
  .gq-content a{overflow-wrap:anywhere!important;word-break:break-word!important}
  .gq-source{margin:22px 0!important;padding:12px 13px!important}
  .gq-cta{margin:25px 0 0!important;padding:16px!important;border-radius:14px!important;gap:12px!important}
  .gq-cta strong{font-size:15px!important}.gq-cta p{font-size:12px!important;line-height:1.4!important}
  .gq-cta a{width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px 12px!important}
  .gq-related-products,.gq-related-articles{margin-top:26px!important}
  .gq-section-title h2{font-size:19px!important;margin-bottom:2px!important}.gq-section-title p{font-size:12px!important;margin-bottom:10px!important}
  .gq-product-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
  .gq-product-card{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:11px!important;row-gap:3px!important;align-items:center!important;width:100%!important;max-width:100%!important;padding:8px!important;border-radius:12px!important;overflow:hidden!important;text-decoration:none!important;color:#111827!important}
  .gq-product-img{display:none!important}
  .gq-related-products a img{display:none!important}
  .gq-product-card strong{font-size:13px!important;line-height:1.28!important;color:#111827!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .gq-product-card>span:last-child{font-size:11px!important;line-height:1.2!important;color:var(--gq-red)!important;font-weight:850!important;text-decoration:none!important;margin:0!important}
  .gq-mini-grid{grid-template-columns:1fr!important;gap:8px!important}
  .gq-mini-grid a{padding:11px!important;border-radius:11px!important}
  .gq-mini-grid strong{font-size:13px!important}
}

@media(max-width:390px){
  .gq-article{padding-left:14px!important;padding-right:14px!important}
  .gq-article header>h1{font-size:25px!important}
  .gq-content{font-size:15.5px!important}
  .gq-product-card{grid-template-columns:70px minmax(0,1fr)!important}
  .gq-product-img{width:70px!important;height:70px!important;min-width:70px!important}
}

/* ================================================================
   Quality Celulares · Guia Quality v4
   Mobile-first real: leitura compacta, sem pan lateral e relacionados pequenos.
   ================================================================ */
body.gq-page{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
  position:relative;
  overscroll-behavior-x:none;
}
body.gq-page #header,
body.gq-page #footer{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body.gq-page .gq-shell,
body.gq-page .gq-article-shell,
body.gq-page .gq-shell *,
body.gq-page .gq-article-shell *{
  box-sizing:border-box;
  min-width:0;
}
body.gq-page .gq-shell img,
body.gq-page .gq-article-shell img,
body.gq-page .gq-shell video,
body.gq-page .gq-article-shell video,
body.gq-page .gq-shell iframe,
body.gq-page .gq-article-shell iframe{
  max-width:100%!important;
  height:auto;
}

/* O texto completo permanece no HTML para leitura/SEO, mas no mobile as
   seções extras ficam recolhidas até o cliente pedir mais detalhes. */
.gq-prose-extra{display:contents}
.gq-more-button{display:none}
.gq-prose-section{min-width:0}

@media(max-width:700px){
  html{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }
  body.gq-page{
    width:100vw!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
    touch-action:pan-y pinch-zoom;
    background:#fff!important;
  }
  body.gq-page #header,
  body.gq-page #footer,
  body.gq-page main,
  body.gq-page article,
  body.gq-page section,
  body.gq-page div{
    max-width:100vw;
  }

  /* Artigo vira página mobile de verdade, sem cartão desktop em volta. */
  .gq-article-shell{
    width:100vw!important;
    max-width:100vw!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .gq-breadcrumb{display:none!important}
  .gq-article{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:18px 16px 28px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .gq-article header{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .gq-kicker{
    font-size:9px!important;
    line-height:1.2!important;
    letter-spacing:.08em!important;
  }
  .gq-article header>h1{
    font-size:24px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    margin:7px 0 9px!important;
    overflow-wrap:anywhere!important;
  }
  .gq-lead{
    font-size:14px!important;
    line-height:1.45!important;
    margin:0!important;
    color:#475569!important;
  }
  .gq-article-meta{
    font-size:10px!important;
    line-height:1.25!important;
    margin:11px 0 15px!important;
    display:flex!important;
    flex-wrap:wrap!important;
  }
  .gq-article-meta span+span:before{margin:0 5px!important}

  /* Capa manual, quando existir, fica discreta. Capa automática de produto
     não é mais exibida pelo renderer v4. */
  .gq-cover{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:210px!important;
    aspect-ratio:16/9!important;
    margin:0 0 17px!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  .gq-cover img{
    width:100%!important;
    height:100%!important;
    max-height:210px!important;
    object-fit:cover!important;
    display:block!important;
  }

  /* Leitura mais compacta. */
  .gq-content{
    width:100%!important;
    max-width:100%!important;
    font-size:13.25px!important;
    line-height:1.46!important;
    color:#263244!important;
    overflow:hidden!important;
  }
  .gq-content p{margin:0 0 12px!important}
  .gq-content h2{
    font-size:18.5px!important;
    line-height:1.2!important;
    margin:22px 0 8px!important;
    letter-spacing:-.01em!important;
  }
  .gq-content h3{
    font-size:16px!important;
    line-height:1.25!important;
    margin:17px 0 7px!important;
  }
  .gq-content ul,.gq-content ol{
    padding-left:18px!important;
    margin:0 0 13px!important;
  }
  .gq-content li{
    margin:5px 0!important;
    padding-left:0!important;
  }
  .gq-content blockquote{margin:15px 0!important;padding:10px 12px!important}
  .gq-content a,
  .gq-content strong,
  .gq-content p,
  .gq-content li{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .gq-content img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:230px!important;
    object-fit:contain!important;
    margin:14px auto!important;
  }
  .gq-content table,
  .gq-content pre{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  /* No celular mostramos duas partes e deixamos o restante a um toque.
     O conteúdo continua presente no HTML. */
  .gq-prose-extra{
    display:none!important;
    width:100%!important;
    max-width:100%!important;
  }
  .gq-prose-extra.is-open{display:block!important}
  .gq-more-button{
    display:flex!important;
    width:100%!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:12px 0 2px!important;
    padding:9px 12px!important;
    border:1px solid #dbe2ea!important;
    border-radius:10px!important;
    background:#f8fafc!important;
    color:#334155!important;
    font-size:12.5px!important;
    font-weight:800!important;
    cursor:pointer;
  }

  .gq-source{margin:18px 0!important;padding:11px 12px!important;font-size:12.5px!important}
  .gq-cta{
    width:100%!important;
    margin:20px 0 0!important;
    padding:13px!important;
    border-radius:12px!important;
    gap:10px!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .gq-cta strong{font-size:14px!important;line-height:1.25!important}
  .gq-cta p{font-size:11.5px!important;line-height:1.35!important;margin:3px 0 0!important}
  .gq-cta a{
    width:100%!important;
    min-height:40px!important;
    padding:8px 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12.5px!important;
    border-radius:9px!important;
  }

  /* Relacionados: lista compacta. Nunca usar vitrine gigante dentro do artigo. */
  .gq-related-products,.gq-related-articles{
    width:100%!important;
    max-width:100%!important;
    margin-top:22px!important;
    overflow:hidden!important;
  }
  .gq-section-title h2{font-size:17px!important;line-height:1.2!important;margin:0 0 2px!important}
  .gq-section-title p{font-size:11px!important;line-height:1.35!important;margin:0 0 8px!important}
  .gq-product-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .gq-product-card{
    width:100%!important;max-width:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;margin:0!important;padding:9px 10px!important;border-radius:9px!important;overflow:hidden!important;text-decoration:none!important;
  }
  .gq-product-img{
    grid-row:1/3!important;
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
    max-width:58px!important;
    max-height:58px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:8px!important;
    background:#f8fafc!important;
  }
  .gq-product-img img,
  .gq-related-products a img{
    display:block!important;
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    max-height:58px!important;
    margin:0!important;
    object-fit:contain!important;
  }
  .gq-product-card strong{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    font-size:12px!important;
    line-height:1.22!important;
    margin:0!important;
  }
  .gq-product-card>span:last-child{
    font-size:10.5px!important;
    line-height:1.15!important;
    margin:0!important;
  }
  .gq-mini-grid{grid-template-columns:1fr!important;gap:7px!important}
  .gq-mini-grid a{padding:9px!important;border-radius:10px!important}
  .gq-mini-grid strong{font-size:12px!important;line-height:1.3!important}

  /* Listagem /blog também vira mobile nativo. */
  .gq-shell{width:100%!important;max-width:100%!important;padding:14px 12px 28px!important;overflow:hidden!important}
  .gq-hero{padding:20px 17px!important;border-radius:15px!important;margin-bottom:13px!important}
  .gq-hero h1{font-size:26px!important}
  .gq-hero p{font-size:13.5px!important;line-height:1.45!important}
  .gq-chips{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px!important;margin-bottom:13px!important}
  .gq-chips a{font-size:11px!important;padding:6px 9px!important}
  .gq-grid{grid-template-columns:1fr!important;gap:9px!important}
  .gq-card{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr)!important;
    min-height:108px!important;
    border-radius:13px!important;
  }
  .gq-card-cover{width:84px!important;height:100%!important;min-height:108px!important;aspect-ratio:auto!important}
  .gq-card-cover img{width:100%!important;height:100%!important;object-fit:contain!important}
  .gq-card-body{padding:10px!important;gap:5px!important}
  .gq-card h2{font-size:14px!important;line-height:1.23!important}
  .gq-card p{font-size:11.5px!important;line-height:1.35!important;-webkit-line-clamp:2!important}
  .gq-card-meta{font-size:9.5px!important}
}

@media(max-width:380px){
  .gq-article{padding-left:13px!important;padding-right:13px!important}
  .gq-article header>h1{font-size:22px!important}
  .gq-content{font-size:14px!important}
  .gq-content h2{font-size:18px!important}
}

/* ================================================================
   Quality Celulares · Guia Quality v6
   Refinamento final: leitura mobile, capas editoriais e metadados enxutos.
   ================================================================ */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* A listagem não usa mais foto de produto como "capa" automática.
   Quando não houver capa editorial escolhida, usa um placeholder da marca. */
.gq-card-cover{
  background:linear-gradient(145deg,#f8fafc 0%,#eef2f7 100%);
}
.gq-card-cover img{
  object-fit:contain!important;
  object-position:center!important;
  padding:18px!important;
  background:#fff!important;
}
.gq-card-placeholder{
  width:100%;
  height:100%;
  min-height:170px;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#64748b!important;
  background:linear-gradient(145deg,#f8fafc 0%,#eef2f7 100%);
}
.gq-card-placeholder i{font-size:31px;color:#c90000}
.gq-card-placeholder b{font-size:13px;letter-spacing:.02em;color:#334155}

/* Metadado público: apenas autor + data. */
.gq-article-meta{gap:7px;align-items:center}
.gq-article-meta span+span:before{content:none!important}
.gq-meta-sep{color:#cbd5e1!important;font-weight:700}

@media(max-width:700px){
  html,body.gq-page{
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }

  .gq-article{
    padding:14px 17px 24px!important;
  }
  .gq-article header>h1{
    font-size:21px!important;
    line-height:1.15!important;
    margin:5px 0 7px!important;
  }
  .gq-lead{
    font-size:12.75px!important;
    line-height:1.46!important;
  }
  .gq-article-meta{
    font-size:9.5px!important;
    line-height:1.2!important;
    margin:9px 0 13px!important;
    gap:5px!important;
  }

  .gq-content{
    font-size:12.75px!important;
    line-height:1.49!important;
  }
  .gq-content p{margin-bottom:10px!important}
  .gq-content h2{
    font-size:16.25px!important;
    line-height:1.2!important;
    margin:20px 0 7px!important;
  }
  .gq-content h3{
    font-size:14.25px!important;
    line-height:1.24!important;
    margin:15px 0 6px!important;
  }
  .gq-content ul,.gq-content ol{
    padding-left:18px!important;
    margin-bottom:12px!important;
  }
  .gq-content li{
    margin:4px 0!important;
    padding-left:1px!important;
  }
  .gq-content li::marker{font-size:.85em;color:#64748b!important}

  /* A expansão continua disponível, mas deixa de parecer um bloco enorme. */
  .gq-more-button{
    width:auto!important;
    min-width:154px!important;
    min-height:36px!important;
    margin:11px auto 2px!important;
    padding:7px 14px!important;
    border-radius:999px!important;
    font-size:11.5px!important;
    background:#f8fafc!important;
    color:#334155!important;
  }

  /* Recomendados: aparência de recomendação da loja, não de link cru. */
  body.gq-page .gq-related-products .gq-product-grid{
    gap:7px!important;
  }
  body.gq-page .gq-related-products a.gq-product-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:10px!important;
    row-gap:2px!important;
    width:100%!important;
    max-width:100%!important;
    padding:10px 11px!important;
    border:1px solid #e2e8f0!important;
    border-radius:11px!important;
    background:#f8fafc!important;
    color:#111827!important;
    text-decoration:none!important;
    box-shadow:none!important;
  }
  body.gq-page .gq-related-products a.gq-product-card:hover,
  body.gq-page .gq-related-products a.gq-product-card:focus{
    border-color:#cbd5e1!important;
    background:#fff!important;
  }
  body.gq-page .gq-related-products .gq-product-img{display:none!important}
  body.gq-page .gq-related-products .gq-product-card strong{
    grid-column:1 / -1!important;
    color:#111827!important;
    text-decoration:none!important;
    font-size:11.75px!important;
    line-height:1.28!important;
    font-weight:800!important;
  }
  body.gq-page .gq-related-products .gq-product-card>span:last-child{
    grid-column:1 / -1!important;
    color:#c90000!important;
    text-decoration:none!important;
    font-size:10.25px!important;
    line-height:1.2!important;
    font-weight:850!important;
  }

  .gq-section-title h2{font-size:16px!important}
  .gq-section-title p{font-size:10.75px!important}

  /* Listagem do Guia: miniatura editorial sem corte. */
  .gq-card-cover{
    overflow:hidden!important;
    background:linear-gradient(145deg,#f8fafc,#eef2f7)!important;
  }
  .gq-card-cover img{
    object-fit:contain!important;
    object-position:center!important;
    padding:8px!important;
  }
  .gq-card-placeholder{
    min-height:102px!important;
    gap:5px!important;
  }
  .gq-card-placeholder i{font-size:22px!important}
  .gq-card-placeholder b{font-size:9.5px!important}
}

@media(max-width:390px){
  .gq-article{padding-left:15px!important;padding-right:15px!important}
  .gq-content{font-size:12.5px!important}
  .gq-content h2{font-size:16px!important}
}


/* ================================================================
   Quality Celulares · Guia Quality v7
   Acabamento final mobile: respeita a altura real do header fixo,
   preserva o título e melhora pequenos detalhes de leitura.
   ================================================================ */
@media(max-width:700px){
  html.gq-ready-mobile,
  html.gq-ready-mobile body.gq-page{
    scroll-padding-top:calc(var(--gq-header-offset, 100px) + 8px)!important;
  }
  body.gq-page{
    padding-top:var(--gq-header-offset, 100px)!important;
  }
  .gq-article-shell,
  .gq-shell{
    position:relative;
    z-index:1;
  }
  .gq-article header{
    scroll-margin-top:calc(var(--gq-header-offset, 100px) + 8px)!important;
  }
  .gq-article header>h1{
    display:block!important;
    max-width:100%!important;
    overflow:visible!important;
    text-wrap:balance;
  }
  .gq-article-meta{
    column-gap:0!important;
    row-gap:3px!important;
  }
  .gq-article-meta span{
    white-space:normal!important;
  }
  .gq-more-button{
    min-height:38px!important;
    background:#fff!important;
    color:#475569!important;
  }
  .gq-related-products{
    padding-top:2px!important;
  }
}

/* ================================================================
   Quality Celulares · Guia Quality v12
   Índice /blog preparado para crescer: grade desktop, cards compactos
   no mobile e fallback visual mesmo em situações de cache parcial.
   ================================================================ */
body.gq-blog-page{background:#f6f8fb;color:#111827}
.gq-blog-page .gq-shell{width:min(1220px,calc(100% - 36px));max-width:1220px;margin:0 auto;padding:28px 0 52px;overflow:visible}
.gq-blog-page .gq-card.no-cover .gq-card-body{min-height:190px}
.gq-more-list{display:flex;justify-content:center;margin:22px 0 0}
.gq-more-list[hidden]{display:none!important}
.gq-more-list button{border:1px solid #d8dee7;border-radius:10px;background:#fff;color:#111827;padding:10px 16px;font-weight:800;font-size:13px;cursor:pointer}
.gq-more-list button:hover{border-color:#b8c1ce;box-shadow:0 5px 14px rgba(15,23,42,.06)}
@media(max-width:700px){
  body.gq-blog-page{overflow-x:hidden!important}
  .gq-blog-page .gq-shell{width:100%;max-width:100%;padding:14px 12px 34px;overflow:hidden}
  .gq-blog-page .gq-grid{grid-template-columns:1fr;gap:10px}
  .gq-blog-page .gq-card,.gq-blog-page .gq-card.no-cover{display:block;min-height:0;border-radius:14px}
  .gq-blog-page .gq-card.no-cover .gq-card-body{min-height:0}
  .gq-blog-page .gq-card-body{padding:13px 14px;gap:7px}
  .gq-blog-page .gq-card h2{font-size:17px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .gq-blog-page .gq-card p{font-size:12.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .gq-blog-page .gq-card-cover{aspect-ratio:16/8;max-height:150px}
  .gq-blog-page .gq-card-cover img{object-fit:contain;padding:8px;background:#fff}
  .gq-more-list{margin-top:15px}
}
