/* Artigo "Identificação de perfil, Premium e YouTube" (/hub-artigo-como-
   identificacao-premium-youtube-ranking-funciona) — tema vermelho YouTube
   combinado com dourado Premium, seguindo o padrão de layout documentado em
   docs/2-execution/2.4-standards/2026-08-13_16-34_layout-artigo-hub-standard.md
   (hero com gradiente + callout + grids de card por seção), com o azul frio
   padrão do site (#6ea8fe) como contraste no hero. Prefixo pyt- (Premium +
   YouTube), único por artigo pra não colidir com os outros CSS de hub-artigo-*. */

.pyt-hero {
  position: relative;
  margin: -20px -20px 6px;
  padding: 30px 20px 24px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 8% -10%, rgba(255, 23, 23, 0.22), transparent 55%),
    radial-gradient(110% 160% at 100% -20%, rgba(255, 183, 77, 0.20), transparent 55%),
    radial-gradient(90% 140% at 50% 120%, rgba(110, 168, 254, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(18, 10, 10, 0.92), rgba(10, 12, 18, 0.97));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pyt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 28px);
  pointer-events: none;
}

.pyt-hero-inner {
  position: relative;
}

.pyt-hero .hub-kicker {
  color: #ffb74d;
}

.pyt-hero h1 {
  margin: 0 0 8px;
  text-shadow: 0 0 24px rgba(255, 23, 23, 0.26);
}

.pyt-hero-tag {
  margin: 0 0 14px;
  color: #cfd6e4;
  font-size: 15px;
  max-width: 60ch;
}

.pyt-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pyt-callout-icon {
  flex: none;
  font-size: 22px;
  line-height: 1.3;
}

.pyt-callout-body {
  min-width: 0;
}

.pyt-callout-body p {
  margin: 0 0 6px;
}

.pyt-callout-body ul {
  margin: 0;
  padding-left: 18px;
}

.pyt-callout-body ul li + li {
  margin-top: 2px;
}

.pyt-callout-body code {
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Grid de "checklist de condições" (Premium: 3 itens em dourado, YouTube: 4
   itens em vermelho) — mesma estrutura de card, cor de acento diferente via
   modificador na própria grid. */
.pyt-cond-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 2px;
}

.pyt-cond-grid-red {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pyt-cond-card {
  --accent: #ffb74d;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px 14px;
}

.pyt-cond-grid-red .pyt-cond-card {
  --accent: #ff3b3b;
}

.pyt-cond-card .pyt-cond-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.pyt-cond-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* Grid final do checklist de configuração de perfil — neutro (mistura
   dourado/azul), com marcador de check pra reforçar o tema de identificação. */
.pyt-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pyt-checklist-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(110, 168, 254, 0.22);
  background: rgba(110, 168, 254, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
}

.pyt-checklist-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(76, 217, 100, 0.14);
  border: 1px solid rgba(76, 217, 100, 0.4);
  color: #6de08a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.pyt-checklist-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.pyt-outro {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pyt-cond-grid,
  .pyt-cond-grid-red {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pyt-hero {
    margin: -20px -20px 6px;
    padding: 22px 16px 18px;
  }

  .pyt-cond-grid,
  .pyt-cond-grid-red,
  .pyt-checklist-grid {
    grid-template-columns: 1fr;
  }
}
