/* ===========================================================================
   [V28] AUDITORIA GEOMÉTRICA — regras da home portadas das medidas/CSS computados do
   honeytoon.com/pt (logado) em 390 / 768 / 1440 e nos breakpoints reais da ref:
   mobile ≤767 · tablet 768–991 (h2 40px só ≥769) · desktop ≥992 · cartão final ≥1312.
   Só apresentação (nada de lógica do leitor/cadeado). Carregado por último.
   =========================================================================== */

/* ---------- 1) HEADER ---------- */
/* regressão v27: "Conta" só existe no desktop (≥992); no mobile/tablet a ref não mostra */
@media (max-width: 991px) {
  html body .site-header .hd-btn-acct.is-logged { display: none; }
}
html body .site-header .hd-bell-acct { display: none; }

/* tablet 768–991: header de 2 linhas (130px): logo | busca 220x32 | sino 45x38 / menu 3 itens espaçados */
@media (min-width: 768px) and (max-width: 991px) {
  html body .site-header { height: 130px; padding: 8px 0 16px; }
  html body:has(.site-header) { padding-top: 126px; }
  html body .site-header .hd-row {
    height: auto; min-height: 0; max-width: none; margin: 0; padding: 0 16px; gap: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  }
  html body .site-header .hd-search-open,
  html body .site-header .hd-burger,
  html body .site-header .tgl.hd-age-m,
  html body .site-header .hd-drawer,
  html body .site-header .hd-spacer,
  html body .site-header .coin-chip,
  html body .site-header .hd-btn-acct { display: none !important; }
  html body .site-header .hd-row > .logo.logo-img {
    position: static; transform: none; order: 1; height: 56px; width: 108px; min-width: 108px; margin: 0; flex: 0 0 auto; justify-content: flex-start;
  }
  html body .site-header .hd-row .logo-img .th-logo { height: 56px; width: auto; }
  html body .site-header .hd-searchwrap {
    display: flex; order: 2; position: relative; align-items: center; width: 220px; height: 32px; margin: 0; flex: 0 0 220px;
  }
  html body .site-header .hd-searchwrap .hd-s-ico { position: absolute; left: 16px; top: 8px; width: 16px; height: 16px; z-index: 1; display: flex; pointer-events: none; }
  html body .site-header .hd-searchwrap .hd-search {
    width: 100%; height: 32px; box-sizing: border-box; margin: 0; background: #fff; color: #000; border: 0; border-radius: 25px;
    padding: 8px 10px 9px 44px; font: 400 13.3333px Arial, sans-serif; outline: none; box-shadow: none; min-width: 0;
  }
  html body .site-header .hd-searchwrap .hd-search::placeholder { color: #757575; opacity: 1; }
  html body .site-header .hd-bellwrap { order: 3; display: block; position: relative; flex: 0 0 45px; width: 45px; height: 38px; margin: 0; }
  html body .site-header .hd-bell {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 45px; height: 38px; margin: 0;
    padding: 6px 13px 6px 6px; border-radius: 100%; background: #fff; border: 1px solid #fff; color: #000;
  }
  html body .site-header .hd-bell .hd-bell-ico { width: 24px; height: 24px; }
  html body .site-header .hd-bell-badge { left: 22px; top: 8px; border: 2px solid #fff; }
  html body .site-header .hd-bell-panel { top: calc(100% + 12px); right: 0; }
  html body .site-header .hd-bell-acct {
    display: block; margin: 12px 0 0; padding: 8px 12px; border-radius: 999px; background: #000; color: #fff; text-align: center;
    font: 700 14px/16px "Space Grotesk", sans-serif; text-decoration: none;
  }
  html body .site-header .hd-menus {
    display: flex; order: 4; flex: 0 0 100%; width: 100%; min-width: 100%; margin: 18px 0 0; justify-content: space-evenly; gap: 8px; align-items: stretch;
  }
  html body .site-header .hd-menu {
    display: inline-flex; flex: 1 1 0; min-width: 0; width: 100%; align-items: center; justify-content: center; height: 32px; box-sizing: border-box;
    padding: 4px 8px; margin: 0; gap: 8px; border-radius: 8px; background: none; color: #fff; font: 500 16px/20px "Space Grotesk", sans-serif;
    letter-spacing: -0.64px; white-space: nowrap;
  }
  html body .site-header .hd-menu .hm-ico { display: block; width: 24px; height: 24px; margin: 0; flex: 0 0 24px; }
  html body .site-header .hd-menu .hm-ico svg { display: block; width: 100%; height: 100%; }
  html body .site-header .hd-m-discover .hm-ico { color: #6fc2ff; }
  html body .site-header .hd-m-library .hm-ico { color: #ffdb26; }
  html body .site-header .hd-m-unc .hm-ico { color: #ff9e37; }
  html body .site-header .hd-menu.active { background: none; color: #fff; padding: 4px 8px; }
}
/* exatamente 768: a ref ainda aplica o "mobile" (menu -17px / width calc(100% + 32px)) */
@media (min-width: 768px) and (max-width: 768px) {
  html body .site-header .hd-menus { margin: 18px -17px 0; width: calc(100% + 32px); min-width: calc(100% + 32px); flex-basis: calc(100% + 32px); }
}

/* ---------- 2) BOTTOM NAV: só ≤767 (ref: .mobile-discover-nav some em 768) ---------- */
@media (min-width: 768px) {
  html body .btm-nav { display: none !important; }
  html body:has(.btm-nav) { padding-bottom: 0; }
  html body .site-footer .ft-card { padding-bottom: 24px; }
}

/* ---------- 3) TÍTULOS / CABEÇALHO DE SEÇÃO ---------- */
@media (min-width: 768px) and (max-width: 768px) {
  html body main.page-home .hp-title { font-size: 20px; line-height: 24px; }
}
html body main.page-home .hf-head { gap: normal; }
html body main.page-home .hf-top5-sec .hf-head { gap: 8px; margin-bottom: 16px; }
@media (min-width: 992px) { html body main.page-home .hf-top5-sec .hf-head { margin-bottom: 24px; } }
/* VER MAIS (top5): só ≥992 · 16/20, padding 10x30 (135,1x44) */
html body main.page-home .hf-more { display: none; }
@media (min-width: 992px) {
  html body main.page-home .hf-more {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 10px 30px;
    font: 700 16px/20px "Space Grotesk", sans-serif; text-transform: uppercase; white-space: nowrap;
    transition: box-shadow .4s, border .4s, background .4s, color .4s;
  }
}

/* ---------- 4) CARD (= .preview-card da ref) ---------- */
html body main.page-home .hc-card {
  background: linear-gradient(180.52deg, transparent 55.16%, rgba(0,0,0,.7) 100.49%);
  filter: drop-shadow(2px 2px 0 #000); transition: filter .2s linear; will-change: filter; box-shadow: none;
}
@media (min-width: 768px) { html body main.page-home .hc-card { filter: drop-shadow(4px 4px 0 #000); } }
@media (hover: hover) { html body main.page-home .hc-card:hover { filter: drop-shadow(4px 4px 0 #000); } }
@media (hover: hover) and (min-width: 768px) { html body main.page-home .hc-card:hover { filter: drop-shadow(6px 6px 0 #000); } }
html body main.page-home .hc-card:active, html body main.page-home .hc-card:focus { filter: none; }
/* sobreposição escura: ::before (como a ref) com 0,86 de opacidade e a mesma geometria */
html body main.page-home .hc-link::after { display: none; }
html body main.page-home .hc-link::before {
  content: ""; display: block; position: absolute; left: -2px; bottom: -2px; width: calc(100% + 3px); height: calc(100% + 3px);
  background: linear-gradient(180.52deg, transparent 55.16%, rgba(0,0,0,.86) 100.49%); pointer-events: none;
}
html body main.page-home .hc-img { object-position: 50% 50%; }
/* corpo: bloco (não flex); título capitalizado com reticências; categorias quebram linha; contador sem largura mínima */
html body main.page-home .hc-body { display: block; gap: normal; }
html body main.page-home .hc-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 28px; margin: 0 0 2px; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; text-transform: capitalize;
}
html body main.page-home .hc-cats { flex-wrap: wrap; padding: 0; min-width: 0; }
html body main.page-home .hc-cat { white-space: normal; }
html body main.page-home .hc-eps { min-width: 0; text-align: start; height: auto; }
@media (min-width: 768px) {
  html body main.page-home .hc-title { -webkit-line-clamp: 3; max-height: 48px; margin-bottom: 4px; }
}
/* TOP 5: título 16/20 (2 linhas), sem margem; categorias gap 8 */
html body main.page-home .hc-big .hc-body { display: flex; flex-direction: column; gap: 4px; }
html body main.page-home .hc-big .hc-title { -webkit-line-clamp: 2; max-height: 40px; margin: 0; }
html body main.page-home .hc-big .hc-cats { gap: 8px; height: 16px; min-width: auto; }
html body main.page-home .hc-big .hc-title { min-width: auto; }
html body main.page-home .hf-t5 > .hc-card { filter: none; }

/* ---------- 5) CARROSSÉIS (.scrolling-wrapper da ref) ---------- */
html body main.page-home .hf-strip,
html body main.page-home .hf-top5 {
  display: flex; margin: 0 -16px; padding: 0 16px; overflow: auto; scroll-snap-type: none; scrollbar-width: auto;
  cursor: pointer; -webkit-overflow-scrolling: auto;
}
html body main.page-home .hf-strip { gap: 8px; }
html body main.page-home .hf-strip > .hc-card { scroll-snap-align: none; }
@media (min-width: 768px) { html body main.page-home .hf-strip { gap: 15px; } }
@media (min-width: 769px) {
  html body main.page-home .hf-strip, html body main.page-home .hf-top5 { padding-bottom: 24px; }
}
@media (min-width: 992px) {
  html body main.page-home .hf-strip, html body main.page-home .hf-top5 { margin: 0 -6px 0 0; padding: 0 6px 24px 0; }
}
@media (min-width: 768px) and (max-width: 768px) {
  html body main.page-home .hf-strip, html body main.page-home .hf-top5 { padding-bottom: 0; }
}
/* barra de rolagem: oculta ≤768 (page-optimization-more-content); ≥769 trilho transparente + polegar preto arredondado */
html body main.page-home .hf-strip::-webkit-scrollbar, html body main.page-home .hf-top5::-webkit-scrollbar { display: block; background: transparent; }
html body main.page-home .hf-strip::-webkit-scrollbar-thumb, html body main.page-home .hf-top5::-webkit-scrollbar-thumb {
  background-clip: padding-box; background-color: #000; border-radius: 30px; border: 5px solid transparent; border-left: 16px solid #fff; border-right: 16px solid #fff;
}
@media (min-width: 992px) {
  html body main.page-home .hf-strip::-webkit-scrollbar-thumb, html body main.page-home .hf-top5::-webkit-scrollbar-thumb { border-left: 0 solid #fff; border-right: 0 solid #fff; }
}
@media (max-width: 768px) {
  html body main.page-home .hf-strip::-webkit-scrollbar, html body main.page-home .hf-top5::-webkit-scrollbar { display: none !important; width: 0 !important; background: transparent !important; }
}

/* cartão final "LEIA ALGO NOVO": só ≥1312 (.section-continue-reading .preview-card-default) */
html body main.page-home .hf-end {
  display: none; position: relative; flex: 1 1 0; min-width: 416px; max-width: none; height: 296px; box-sizing: border-box; overflow: hidden;
  border: 2px solid #000; border-radius: 8px; background: #000; box-shadow: none; filter: drop-shadow(4px 4px 0 #000);
  scroll-snap-align: none;
}
@media (min-width: 1312px) { html body main.page-home .hf-end { display: flex; } }
html body main.page-home .hf-end-txt { left: 20px; gap: 20px; max-width: none; }
html body main.page-home .hf-end-txt b { font: 700 32px/40px "Space Grotesk", sans-serif; max-width: 219px; text-transform: uppercase; }
html body main.page-home .hf-end-btn { gap: 8px; transition: box-shadow .4s, border .4s, background .4s, color .4s; }
html body main.page-home .hf-end-btn svg { width: 20px; height: 20px; }

/* ---------- 6) TOP 5 ---------- */
html body main.page-home .hf-top5 { gap: 16px; align-items: center; }
html body main.page-home .hf-t5 { display: flex; align-items: center; flex: 0 0 auto; min-width: auto; }
html body main.page-home .hf-t5-rank {
  flex: 0 0 60px; width: 60px; height: 100px; margin-right: -16px; font: 700 100px/100px "Space Grotesk", sans-serif; text-align: start;
  filter: drop-shadow(1px 1px 0 #000) drop-shadow(1px 1px 0 #000) drop-shadow(1px 1px 0 #000) drop-shadow(1px 1px 0 #000);
  -webkit-mask-image: linear-gradient(90deg, #000 46%, rgba(0,0,0,.59) 68%, rgba(0,0,0,.4)); mask-image: linear-gradient(90deg, #000 46%, rgba(0,0,0,.59) 68%, rgba(0,0,0,.4));
  user-select: none;
}
html body main.page-home .hf-t5 > .hc-card { flex: 0 0 140px; width: 140px; height: 207px; min-width: 0; aspect-ratio: auto; }
@media (min-width: 768px) {
  html body main.page-home .hf-top5 { gap: 16px; overflow: auto; }
  html body main.page-home .hf-t5 { flex: 0 0 auto; min-width: auto; }
  html body main.page-home .hf-t5-rank { flex: 0 0 60px; width: 60px; height: 100px; margin-right: -16px; font-size: 100px; line-height: 100px; }
  html body main.page-home .hf-t5 > .hc-card { flex: 0 0 200px; width: 140px; height: 207px; aspect-ratio: auto; }
}
@media (min-width: 992px) {
  html body main.page-home .hf-top5 { gap: 24px; overflow: visible; }
  html body main.page-home .hf-t5 { flex: 0 0 calc(20% - 19.2px); min-width: 0; }
  html body main.page-home .hf-t5-rank { flex: 0 0 90px; width: 90px; height: 150px; margin-right: -20px; font-size: 150px; line-height: 150px; }
  html body main.page-home .hf-t5 > .hc-card { flex: 1 1 0; width: auto; min-width: 0; height: auto; aspect-ratio: 200 / 296; }
}
/* cartão "Não encontrou o que procurava?" (<992) */
html body main.page-home .hf-t5-more {
  display: flex; flex-direction: column; justify-content: space-between; flex: 0 0 184px; height: 207px; box-sizing: border-box; padding: 20px 16px 16px;
  border: 2px solid #64b5f6; border-radius: 8px; background: linear-gradient(0deg, rgba(100,181,246,.5) 3%, rgba(194,240,246,.5)); color: #000;
}
html body main.page-home .hf-t5-more-t { display: block; font: 700 20px/24px "Space Grotesk", sans-serif; text-transform: uppercase; color: #000; }
html body main.page-home .hf-t5-more-btn {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; padding: 10px 16px; border: 2px solid #000; border-radius: 999px;
  background: #ffdb26; color: #000; font: 700 16px/20px "Space Grotesk", sans-serif; text-decoration: none; white-space: nowrap;
}
@media (min-width: 992px) { html body main.page-home .hf-t5-more { display: none; } }

/* ---------- 7) GRADE (VIBE DE INVERNO) ---------- */
html body main.page-home .hf-grid6 { display: flex; flex-wrap: wrap; gap: 6px; }
html body main.page-home .hf-grid6 > .hc-card { flex: 0 0 calc(33.333% - 6px); max-width: none; height: auto; aspect-ratio: auto; }
@media (min-width: 768px) {
  html body main.page-home .hf-grid6 { gap: 16px; }
  html body main.page-home .hf-grid6 > .hc-card { flex: 0 0 calc(33.333% - 6px); max-width: none; }
}
@media (min-width: 992px) {
  html body main.page-home .hf-grid6 > .hc-card { flex: 1 0 calc(16.66% - 16px); max-width: calc(16.66% - 16px); aspect-ratio: auto; }
}
/* altura vem da imagem inline (62/91 + descendente de linha), como na ref */
html body main.page-home .hf-grid6 .hc-link { position: relative; inset: auto; display: block; width: 100%; height: 100%; line-height: normal; }
html body main.page-home .hf-grid6 .hc-img { position: static; display: inline; width: 100%; height: 100%; aspect-ratio: 62 / 91; object-fit: cover; }

/* ---------- 8) BANNERS: proporção fixa + conteúdo escalado (cqw) — a ref usa imagem única 1280x360 / 358x596,7 ---------- */
html body main.page-home .hf-promo { height: auto; aspect-ratio: 358 / 596.7; container-type: inline-size; }
html body main.page-home .hf-promo.hf-promo-tall { height: auto; }
html body main.page-home .hf-promo:not(.hf-promo-tall) { aspect-ratio: 358 / 333.8; }
@media (max-width: 767px) {
  html body main.page-home .hf-promo-art .hf-promo-txt,
  html body main.page-home .hf-promo-art.hf-promo-tall .hf-promo-txt { top: 27.933cqw; left: 5.587cqw; right: 4.469cqw; }
  html body main.page-home .hf-promo-art .hf-promo-up,
  html body main.page-home .hf-promo-art .hf-promo-off,
  html body main.page-home .hf-promo-art .hf-promo-tall .hf-promo-s { font-size: 9.497cqw; line-height: 10.056cqw; }
  html body main.page-home .hf-promo-art .hf-promo-off { margin-top: 5.587cqw; }
  html body main.page-home .hf-promo-art .hf-promo-cta { margin-top: 17.877cqw; height: 12.849cqw; padding: 0 4.469cqw; font: 700 3.911cqw/12.849cqw "Cabinet Grotesk", "Space Grotesk", sans-serif; }
}
@media (min-width: 768px) {
  html body main.page-home .hf-promo, html body main.page-home .hf-promo.hf-promo-tall { height: auto; aspect-ratio: 1280 / 360; }
  html body main.page-home .hf-promo-art .hf-promo-txt,
  html body main.page-home .hf-promo-art.hf-promo-tall .hf-promo-txt { top: 9.219cqw; left: 18%; right: 18%; }
  html body main.page-home .hf-promo-art .hf-promo-up,
  html body main.page-home .hf-promo-art .hf-promo-off,
  html body main.page-home .hf-promo-art .hf-promo-tall .hf-promo-s { font-size: 4.375cqw; line-height: 4.063cqw; }
  html body main.page-home .hf-promo-art .hf-promo-off { margin-top: 1.094cqw; }
  html body main.page-home .hf-promo-art .hf-promo-cta { margin-top: 2.188cqw; height: 3.594cqw; padding: 0 1.563cqw; font: 700 1.094cqw/3.594cqw "Cabinet Grotesk", "Space Grotesk", sans-serif; }
}
html body main.page-home .hf-feat { height: auto; aspect-ratio: 358 / 393.6; container-type: inline-size; }
@media (max-width: 767px) {
  html body main.page-home .hf-feat-art { height: 69.832cqw; }
  html body main.page-home .hf-feat-panel { height: 46.927cqw; padding: 9.497cqw 5.587cqw 5.028cqw; gap: 2.235cqw; }
  html body main.page-home .hf-feat-t { font-size: 6.704cqw; line-height: 7.821cqw; }
  html body main.page-home .hf-feat-d { font-size: 3.352cqw; line-height: 4.469cqw; }
  html body main.page-home .hf-feat-cta { padding: 1.676cqw 7.821cqw; font-size: 3.911cqw; line-height: 5.028cqw; }
}
@media (min-width: 768px) {
  html body main.page-home .hf-feat { height: auto; aspect-ratio: 1280 / 300; }
  html body main.page-home .hf-feat-art { height: auto; }
  html body main.page-home .hf-feat-panel { height: 83%; padding: 1.875cqw 9% 1.875cqw 3.125cqw; gap: .938cqw; }
  html body main.page-home .hf-feat-t { font-size: 2.656cqw; line-height: 2.969cqw; }
  html body main.page-home .hf-feat-d { font-size: 1.016cqw; line-height: 1.406cqw; }
  html body main.page-home .hf-feat-cta { padding: .469cqw 2.188cqw; font-size: 1.094cqw; line-height: 1.406cqw; }
}

/* ---------- 9) RODAPÉ ---------- */
html body .site-footer .ft-corpcol, html body .site-footer .ft-company, html body .site-footer .ft-copy { text-align: left; }

/* ---------- 10) HERO: setas com o chevron escalado (svg 35x98 como na ref) e bolinhas com sombra 1px ---------- */
html body main.page-home .hero .hero-arrow svg { display: block; width: 100%; height: 100%; }
html body main.page-home .hero .hero-dot, html body main.page-home .hero .hero-dot:hover { box-shadow: 1px 1px 0 #000; }

/* rodapé mobile: altura igual à da ref (659) — o respiro de 64px mantém o texto acima da barra inferior (65px) */
@media (max-width: 767px) {
  html body .site-footer .ft-card { padding-bottom: 64px; }
}
html body .site-header .hd-searchwrap .hd-search { min-height: 0; }
html body main.page-home .hc-img { max-width: none; aspect-ratio: 62 / 91; }
html body main.page-home .hero .hero-slide { cursor: pointer; }
@media (min-width: 768px) { html body .site-footer .ft-bottom { min-height: 144px; } }
