/* =====================================================================================
   HOME PADRONIZADA POR EDITORIA (referências do globo.com enviadas pelo usuário)
   ===================================================================================== */
.h-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #e9e9e9; }
.h-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .h-img img { transform: scale(1.04); }
.h-img--empty { background: linear-gradient(135deg, #f1f1f1, #e2e2e2); }
.h-meta { display: block; font-size: 12px; color: #666; margin-top: 6px; font-weight: 400; }

/* título grande de seção: nome da editoria na cor dela + sublinhado curto */
.bh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 22px; border-bottom: 1px solid #e6e6e6; }
.bh__t { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--c); padding-bottom: 10px; margin-bottom: -1px; border-bottom: 3px solid var(--c); display: inline-block; }
.bh__t a { color: inherit; }
.bh__btn { margin-bottom: 10px; background: var(--c); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 8px; white-space: nowrap; }
.bh__btn:hover { filter: brightness(1.1); }

/* ---------- TOPO PARACATU (modelo g1): manchete só em texto, textos pretos ---------- */
.top { padding-top: 28px; padding-bottom: 12px; }
.top__grid { display: grid; gap: 0; }
.top--c2 .top__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.top--c1 .top__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.top--c0 .top__grid { grid-template-columns: 1fr; }
.top__main { padding-right: 32px; }
.top--c0 .top__main { padding-right: 0; }
.top__col { padding: 0 28px; border-left: 1px solid #e6e6e6; display: flex; flex-direction: column; gap: 28px; }
.top__col:last-child { padding-right: 0; }
.top__head { display: block; }
.top__hat { display: block; font-size: 15px; font-weight: 800; color: #111; margin-bottom: 6px; }
.top__title { font-size: 52px; line-height: 1.04; font-weight: 900; letter-spacing: -.03em; color: #111; }
.top__head:hover .top__title { color: #333; }
.top__bullets { list-style: none; margin: 18px 0 0; padding: 0 0 20px; border-bottom: 1px solid #e6e6e6; }
.top__bullets li { position: relative; padding: 3px 0 3px 16px; }
.top__bullets li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: #111; }
.top__bullets a { color: #222; font-size: 18px; font-weight: 600; }
.top__bullets a:hover { text-decoration: underline; }
.top__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 22px; }
.tcard h3 { font-size: 20px; line-height: 1.2; font-weight: 900; letter-spacing: -.015em; color: #111; margin-top: 12px; }
.tcard a:hover h3 { color: #444; }
.tcard__bullet { position: relative; font-size: 14px; color: #444; margin-top: 8px; padding-left: 14px; line-height: 1.35; }
.tcard__bullet::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #111; }

/* ---------- REGIÃO NOROESTE (modelo "Sua Região"): 4 cards, texto azul ---------- */
.rg { padding-top: 40px; padding-bottom: 12px; }
.bh__pin { vertical-align: -2px; margin-left: 2px; }
.rg__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rgcard h3 { font-size: 17px; line-height: 1.28; font-weight: 800; color: var(--c); margin-top: 12px; }
.rgcard a:hover h3 { text-decoration: underline; }

/* ---------- FAIXA 3 COLUNAS (anexo 1) ---------- */
.band { display: grid; gap: 36px; padding-top: 36px; padding-bottom: 12px; }
.band--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band--1 { grid-template-columns: 1fr; }
/* uma editoria só: card grande à esquerda e lista à direita (sem foto gigante nem espaço vazio) */
.band--1 .band__col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.band--1 .band__col > .bh { grid-column: 1 / -1; }
.band--1 .bcard { grid-column: 1; grid-row: 2 / span 3; }
.band--1 .brow { grid-column: 2; }
.band--1 .brow:first-of-type a { margin-top: 0; padding-top: 0; }
@media (max-width: 639.98px) { .band--1 .band__col { display: block; } .band--1 .brow:first-of-type a { margin-top: 8px; padding-top: 16px; } }
.bcard a { display: block; border-radius: 12px; overflow: hidden; background: var(--c); }
.bcard .h-img { border-radius: 0; aspect-ratio: 16 / 8; }
.bcard__box { padding: 16px 16px 14px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; }
.bcard__box h3 { color: #fff; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.bcard__box .h-meta { color: rgba(255, 255, 255, .9); }
.bcard a:hover .bcard__box h3 { text-decoration: underline; text-underline-offset: 3px; }
.brow a { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e6e6e6; align-items: start; }
.brow:first-of-type a { margin-top: 8px; }
.brow .h-img { aspect-ratio: 4 / 3; border-radius: 10px; }
.brow h3 { color: var(--c); font-size: 16px; line-height: 1.25; font-weight: 700; }
.brow a:hover h3 { text-decoration: underline; }

/* ---------- REGIÃO NOROESTE (anexo 3): cards brancos com sombra ---------- */
.sh { padding-top: 40px; padding-bottom: 12px; }
.sh__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shcard a { display: block; height: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); transition: box-shadow .2s, transform .2s; }
.shcard a:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .14); transform: translateY(-2px); }
.shcard .h-img { border-radius: 0; }
.shcard h3 { padding: 16px 18px 22px; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--c); }

/* ---------- VÍDEOS (anexo 4): painel escuro ---------- */
.vp { padding-top: 40px; padding-bottom: 12px; }
.vp__panel { display: grid; grid-template-columns: minmax(0, 1fr) 368px; background: #111; border-radius: 12px; overflow: hidden; }
.vp__main { padding: 24px; }
.vp__player { border-radius: 8px; }
.vp__title { color: #fff; font-size: 20px; font-weight: 600; line-height: 1.3; margin-top: 16px; }
.vp__list { list-style: none; margin: 0; padding: 20px; background: #2b2b2e; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.vp__list li { flex: 1; display: flex; }
.vp__list .vp__item { align-self: center; }
.vp__item { display: grid; grid-template-columns: 150px 1fr; gap: 12px; width: 100%; border: 0; background: none; color: #fff; text-align: left; padding: 0; align-items: center; }
.vp__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; display: block; border: 2px solid transparent; }
.vp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vp__play { position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; }
.vp__play svg { width: 16px; height: 16px; }
.vp__now { display: none; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); place-items: center; font-weight: 800; font-size: 14px; }
.vp__item.is-active .vp__thumb { border-color: #fff; }
.vp__item.is-active .vp__now { display: grid; }
.vp__item.is-active .vp__play { display: none; }
.vp__name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vp__item:hover .vp__name { text-decoration: underline; }

/* ---------- GRADE DE CARDS (anexo 5): Distrito Federal, Receitas ---------- */
.g4 { padding-top: 40px; padding-bottom: 12px; }
.g4__wrap.has-ad { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
.g4__grid { display: grid; gap: 32px 24px; }
.g4__grid--4 { grid-template-columns: repeat(4, 1fr); }
.g4__grid--3 { grid-template-columns: repeat(3, 1fr); }
.gcard .h-img { aspect-ratio: 16 / 9.5; }
.gcard__hat { display: block; font-size: 14px; font-weight: 600; color: #222; margin-top: 12px; }
.gcard h3 { font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--c); margin-top: 4px; }
.gcard a:hover h3 { text-decoration: underline; }
.g4__ad { display: flex; align-items: flex-start; justify-content: center; padding: 20px 12px; border-radius: 12px; background: repeating-linear-gradient(-45deg, #f4f4f4 0 8px, #ececec 8px 9px); }
.g4__ad .ad { position: sticky; top: 140px; }
.g4__ad img { max-width: 100%; height: auto; border-radius: 8px; }

/* coluna lateral acompanha a rolagem (sem espaço vazio) */
.cols { padding-top: 40px; }
.cols__sticky { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 24px; }

/* ---------- tablet ---------- */
@media (max-width: 1023.98px) {
  .top--c2 .top__grid, .top--c1 .top__grid { grid-template-columns: 1fr 1fr; }
  .top__main { grid-column: 1 / -1; padding-right: 0; padding-bottom: 20px; }
  .top__col { padding: 20px 20px 0 0; border-left: 0; border-top: 1px solid #e6e6e6; }
  .top__title { font-size: 40px; }
  .rg__grid { grid-template-columns: repeat(2, 1fr); }
  .band--3, .band--2 { grid-template-columns: 1fr 1fr; }
  .sh__grid, .g4__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .vp__panel { grid-template-columns: 1fr; }
  .vp__list { display: grid; grid-template-columns: 1fr 1fr; }
  .g4__wrap.has-ad { grid-template-columns: 1fr; }
  .g4__grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- celular ---------- */
@media (max-width: 639.98px) {
  .bh__t { font-size: 26px; }
  .bh__btn { font-size: 12px; padding: 7px 12px; }
  .top { padding-top: 16px; }
  .top--c2 .top__grid, .top--c1 .top__grid { grid-template-columns: 1fr; }
  .top__col { padding: 0; gap: 0; border-top: 0; }
  .top__title { font-size: 31px; line-height: 1.08; }
  .rg__grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .rgcard h3 { font-size: 15px; }
  .top__bullets a { font-size: 15px; }
  .top__cards { grid-template-columns: 1fr; gap: 0; padding-top: 4px; }
  .tcard > a { display: grid; grid-template-columns: 1fr 120px; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eee; }
  .tcard > a .h-img { order: 2; border-radius: 10px; }
  .tcard h3 { margin-top: 0; font-size: 17px; }
  .tcard__bullet { display: none; }
  .band, .band--3, .band--2 { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .bcard__box { min-height: 0; }
  .brow a { grid-template-columns: 112px 1fr; }
  .sh__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shcard h3 { padding: 10px 12px 14px; font-size: 15px; }
  .vp__main { padding: 0; }
  .vp__player { border-radius: 0; }
  .vp__title { padding: 0 14px 14px; font-size: 17px; }
  .vp__list { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px; scrollbar-width: none; }
  .vp__list li { flex: 0 0 62%; scroll-snap-align: start; }
  .vp__item { grid-template-columns: 1fr; gap: 6px; }
  .g4__grid--4, .g4__grid--3 { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .gcard h3 { font-size: 15px; }
  .gcard__hat { font-size: 12px; }
  .g4__ad { padding: 14px; }
  .cols__sticky { position: static; }
}

/* ---------- HORÓSCOPO (widget externo) ---------- */
.horo { padding-top: 40px; padding-bottom: 12px; }
.horo__box { min-height: 120px; }

/* Banner do Turismo ao lado das receitas: sem rótulo "Publicidade" e sem fundo listrado,
   ocupando exatamente a altura das duas fileiras de receitas (pedido do usuário) */
.g4__wrap.has-ad { align-items: stretch; }
.g4__ad { padding: 0; background: none; border-radius: 12px; overflow: hidden; display: block; }
.g4__ad .ad { position: static; height: 100%; }
.g4__ad .ad__label { display: none; }
.g4__ad .ad a, .g4__ad .ad picture { display: block; height: 100%; }
.g4__ad img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
@media (max-width: 1023.98px) { .g4__ad img { height: auto; max-height: 520px; object-fit: contain; } }

/* Banner do topo sem o rótulo "Publicidade" (pedido do usuário) */
.ad--top .ad__label { display: none; }

/* card colorido: só o título (pedido do usuário) */
.bcard__box { min-height: 96px; justify-content: flex-start; }

/* Receitas: só o título; banner mais estreito para acompanhar a altura das receitas (pedido do usuário) */
.g4__wrap.has-ad { grid-template-columns: minmax(0, 1fr) 250px; }
.g4 .gcard h3 { margin-top: 10px; }

/* Vídeos: o player principal ocupa toda a área da esquerda; a lista da direita acompanha a altura
   do player e rola com uma barrinha (pedido do usuário) */
.vp__main { padding: 0; display: flex; flex-direction: column; }
.vp__player { border-radius: 0; }
.vp__title { margin: 0; padding: 16px 24px 20px; }
.vp__list { height: 0; min-height: 100%; overflow-y: auto; justify-content: flex-start; scrollbar-width: thin; scrollbar-color: #666 #2b2b2e; }
.vp__list li { flex: 0 0 auto; }
.vp__list::-webkit-scrollbar { width: 8px; }
.vp__list::-webkit-scrollbar-thumb { background: #666; border-radius: 4px; }
@media (max-width: 1023.98px) { .vp__list { height: auto; min-height: 0; overflow: visible; } }

/* Painel de vídeos: capa leve no lugar do player; o YouTube só carrega ao clicar (desempenho no celular) */
.vp__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.vp__facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp__facade-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(224, 0, 0, .92); color: #fff; display: grid; place-items: center; }
.vp__facade-play svg { width: 30px; height: 30px; }
.vp__facade:hover .vp__facade-play { background: #e00000; }

/* Seções abaixo da dobra: o navegador só calcula estilo/layout quando chegam perto da tela (menos trabalho no celular) */
.band, .vp, .g4, .horo { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.vp__title .vcard__live { position: static; vertical-align: middle; margin-right: 6px; }
