/* ============================================================
   HOMEM GOL — Página de Categoria / Editoria
   (carrega depois de styles.css; reusa todos os tokens)
   ============================================================ */

/* ---------- category masthead band ---------- */
.cat-hero { background: var(--bg-band); color: #fff; position: relative; overflow: hidden; }
.cat-hero::after {
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; background: url("assets/homem-gol-shield.png") center/contain no-repeat;
  opacity: .07; pointer-events: none;
}
.cat-hero .container { position: relative; z-index: 2; padding-top: 46px; padding-bottom: 40px; }
.cat-hero .cat-eyebrow { display: flex; align-items: center; gap: 11px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: 16px; }
.cat-hero .cat-eyebrow a { color: rgba(255,255,255,.6); }
.cat-hero .cat-eyebrow a:hover { color: #fff; }
.cat-hero .cat-eyebrow .sep { opacity: .45; }
.cat-hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 16px; color: #fff;
}
.cat-hero .cat-desc { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.74); max-width: 60ch; margin: 0 0 26px; }
.cat-hero .cat-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cat-follow {
  display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: var(--navy-deep);
  border: none; border-radius: 5px; padding: 12px 22px; font-family: var(--font-body); font-weight: 600;
  font-size: 14.5px; cursor: pointer; letter-spacing: .01em; transition: all .18s ease; white-space: nowrap;
}
.cat-follow svg { width: 17px; height: 17px; }
.cat-follow:hover { background: var(--gold-bright); }
.cat-follow.following { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.cat-follow.following .plus { display: none; }
.cat-stats { display: flex; align-items: center; gap: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.cat-stats b { color: #fff; font-weight: 600; }
.cat-stats .s-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); }

/* ---------- filter chips ---------- */
.cat-filter { border-bottom: 1px solid var(--border); position: sticky; top: 78px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); z-index: 40; }
.cat-filter .container { display: flex; align-items: center; gap: 10px; height: 60px; overflow-x: auto; scrollbar-width: none; }
.cat-filter .container::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--text-sec);
  background: transparent; border: 1px solid var(--border-str); border-radius: 100px; padding: 8px 16px;
  cursor: pointer; white-space: nowrap; transition: all .16s ease;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
[data-theme="dark"] .chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.cat-filter .spacer { flex: 1; }
.cat-sort { flex: none; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-mut); }
.cat-sort select { font-family: var(--font-body); font-size: 13px; color: var(--text); background: transparent; border: none; cursor: pointer; font-weight: 600; }

/* ---------- layout ---------- */
.cat-body { padding: 44px 0 70px; }
.cat-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; }

/* lead article */
.cat-lead { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 2px solid var(--text); }
[data-theme="dark"] .cat-lead { border-color: var(--gold); }
.cat-lead .ph { aspect-ratio: 4/3; border-radius: 6px; }
.cat-lead .lead-tag { margin-bottom: 13px; }
.cat-lead h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; color: var(--text); text-wrap: balance; }
.cat-lead:hover h2 { color: var(--green); }
[data-theme="dark"] .cat-lead:hover h2 { color: var(--gold-bright); }
.cat-lead .dek { font-size: 16.5px; color: var(--text-sec); line-height: 1.55; margin: 0 0 16px; }
.cat-lead .feat-by { font-size: 13px; color: var(--text-mut); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cat-lead .feat-by b { color: var(--text-sec); font-weight: 600; white-space: nowrap; }

/* list of articles (rows) */
.cat-list { display: flex; flex-direction: column; }
.list-row { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--hairline); cursor: pointer; }
.list-row:first-child { padding-top: 0; }
.list-row .ph { aspect-ratio: 16/10; border-radius: 5px; }
.list-row .lr-body { display: flex; flex-direction: column; }
.list-row .meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.list-row h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.22; margin: 0 0 9px; color: var(--text); letter-spacing: -.005em; text-wrap: pretty; }
.list-row:hover h3 { color: var(--green); }
[data-theme="dark"] .list-row:hover h3 { color: var(--gold-bright); }
.list-row .lr-dek { font-size: 14.5px; color: var(--text-sec); line-height: 1.5; margin: 0 0 12px; max-width: 60ch; }
.list-row .lr-by { font-size: 12.5px; color: var(--text-mut); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.list-row .lr-by b { color: var(--text-sec); font-weight: 600; white-space: nowrap; }
.list-row[hidden] { display: none; }

/* load more */
.load-more { display: flex; justify-content: center; margin-top: 38px; }
.load-more button {
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--text);
  background: transparent; border: 1.5px solid var(--border-str); border-radius: 6px; padding: 13px 30px;
  cursor: pointer; letter-spacing: .02em; transition: all .18s ease; display: inline-flex; align-items: center; gap: 9px;
}
.load-more button:hover { border-color: var(--gold); color: var(--green); background: var(--bg-alt); }
[data-theme="dark"] .load-more button:hover { color: var(--gold-bright); }
.load-more button svg { width: 16px; height: 16px; }

/* ============================================================
   SIDEBAR — standings table + mais lidas
   ============================================================ */
.cat-sidebar { display: flex; flex-direction: column; gap: 36px; }
.cat-sidebar .side-title { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-str); display: flex; align-items: center; gap: 9px; justify-content: space-between; }
.cat-sidebar .side-title .lbl { display: flex; align-items: center; gap: 9px; }
.cat-sidebar .side-title .lbl::before { content: ""; width: 14px; height: 14px; background: var(--gold); border-radius: 2px; }
.cat-sidebar .side-title .round { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--text-mut); }

/* standings */
.standings { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.standings thead th { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mut); font-weight: 600; text-align: center; padding: 0 0 10px; }
.standings thead th.team { text-align: left; }
.standings tbody td { padding: 9px 0; border-bottom: 1px solid var(--hairline); text-align: center; color: var(--text-sec); }
.standings tbody tr:last-child td { border-bottom: none; }
.standings .pos { width: 26px; font-weight: 700; color: var(--text); position: relative; }
.standings tr.libertadores .pos::before { content: ""; position: absolute; left: -4px; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; background: var(--green); border-radius: 2px; }
.standings tr.rebaixamento .pos::before { content: ""; position: absolute; left: -4px; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; background: var(--badge-breaking); border-radius: 2px; }
.standings td.team { text-align: left; display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 500; }
.standings .crest-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 1px solid var(--border); }
.standings td.pts { font-weight: 700; color: var(--text); }
.standings-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 11.5px; color: var(--text-mut); }
.standings-legend span { display: flex; align-items: center; gap: 8px; }
.standings-legend .dot { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.standings-legend .dot.lib { background: var(--green); }
.standings-legend .dot.reb { background: var(--badge-breaking); }
.standings-full { display: block; text-align: center; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--green); }
[data-theme="dark"] .standings-full { color: var(--gold); }
.standings-full:hover { text-decoration: underline; text-underline-offset: 3px; }

/* mais lidas reuse .rank-list from styles.css */
.cat-sidebar .newsletter { margin: 0; }
.cat-sidebar .ad-slot { min-height: 250px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .cat-layout { grid-template-columns: 1fr; gap: 44px; }
  .cat-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .cat-sidebar .side-block.standings-block { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .cat-filter { top: 60px; }
  .cat-filter .container { height: 54px; }
  .cat-sort { display: none; }
  .cat-hero .container { padding-top: 30px; padding-bottom: 30px; }
  .cat-hero::after { width: 220px; right: -60px; }
  .cat-hero .cat-desc { font-size: 16px; }
  .cat-body { padding: 30px 0 50px; }
  .cat-lead { grid-template-columns: 1fr; gap: 16px; }
  .cat-lead .ph { aspect-ratio: 16/10; }
  .cat-lead h2 { font-size: 25px; }
  .cat-sidebar { grid-template-columns: 1fr; gap: 34px; }
  .list-row { grid-template-columns: 116px 1fr; gap: 14px; }
  .list-row .ph { aspect-ratio: 1/1; }
  .list-row h3 { font-size: 16.5px; }
  .list-row .lr-dek { display: none; }
}