/**
 * Estilos para o conteúdo das postagens individuais do Jogo Velho.
 * Carregado automaticamente em single posts via functions.php.
 *
 * @package JogoVelho
 */

/* ── WRAPPER ── */
.post-wrap {
    --cyan:   #00e5ff;
    --pink:   #ff36a3;
    --yellow: #ffdc22;
    --purple: #b44dff;
    --green:  #00e676;
    --bg:     #07142d;
    --bg2:    #0b1a2e;
    --border: #164b67;
    --text:   #c8dff0;
    --muted:  #7a9ab8;

    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
}

.post-wrap *,
.post-wrap *::before,
.post-wrap *::after {
    box-sizing: border-box;
}

/* ── HERO ── */
.post-wrap .hero {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 2px solid #0d3a5c;
}

.post-wrap .hero-bg {
    background: linear-gradient(135deg, #07142d 0%, #081f30 50%, #250536 100%);
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.post-wrap .scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,229,255,0.025) 3px, rgba(0,229,255,0.025) 4px);
    pointer-events: none;
}

.post-wrap .top-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.post-wrap .hero-tag {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px; color: var(--cyan);
    letter-spacing: 3px; display: block; margin-bottom: 1.25rem;
}

.post-wrap .hero h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px; line-height: 2;
    color: #fff; margin-bottom: .75rem;
    text-shadow: 0 0 20px rgba(0,229,255,0.3);
}

.post-wrap .hero h1 .cy { color: var(--cyan); }
.post-wrap .hero h1 .pk { color: var(--pink); }
.post-wrap .hero h1 .yw { color: var(--yellow); }
.post-wrap .hero h1 .gr { color: var(--green); }
.post-wrap .hero h1 .pr { color: var(--purple); }

.post-wrap .hero-sub {
    font-size: 14px; color: #9fb8d0;
    line-height: 1.7; max-width: 560px;
}

.post-wrap .hero-pills {
    display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.5rem;
}

.post-wrap .pill {
    font-size: 10px; font-weight: 700;
    padding: 5px 14px; border-radius: 20px; border: 1px solid;
    letter-spacing: 1px; text-transform: uppercase;
}

.post-wrap .pill-cyan   { border-color: var(--cyan);   color: var(--cyan); }
.post-wrap .pill-yellow { border-color: var(--yellow); color: var(--yellow); }
.post-wrap .pill-pink   { border-color: var(--pink);   color: var(--pink); }
.post-wrap .pill-green  { border-color: var(--green);  color: var(--green); }
.post-wrap .pill-purple { border-color: var(--purple); color: var(--purple); }

/* ── SECTION LABEL ── */
.post-wrap .section-label {
    display: flex; align-items: center; gap: 12px; margin: 2.5rem 0 1.5rem;
}

.post-wrap .section-label span {
    font-family: 'Press Start 2P', monospace;
    font-size: 9px; color: var(--cyan);
    letter-spacing: 2px; white-space: nowrap;
}

.post-wrap .section-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

/* ── NOTÍCIA CARD ── */
.post-wrap .noticia {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.post-wrap .noticia.cyan-news    { border-top: 3px solid var(--cyan); }
.post-wrap .noticia.steam-news   { border-top: 3px solid var(--cyan); }
.post-wrap .noticia.green-news   { border-top: 3px solid var(--green); }
.post-wrap .noticia.xbox-news    { border-top: 3px solid var(--green); }
.post-wrap .noticia.pink-news    { border-top: 3px solid var(--pink); }
.post-wrap .noticia.yellow-news  { border-top: 3px solid var(--yellow); }
.post-wrap .noticia.purple-news  { border-top: 3px solid var(--purple); }

.post-wrap .noticia-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-wrap .noticia-plataforma {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px; letter-spacing: 2px;
    margin-bottom: 8px;
}

.post-wrap .cyan-news .noticia-plataforma,
.post-wrap .steam-news .noticia-plataforma  { color: var(--cyan); }
.post-wrap .green-news .noticia-plataforma,
.post-wrap .xbox-news .noticia-plataforma   { color: var(--green); }
.post-wrap .pink-news .noticia-plataforma   { color: var(--pink); }
.post-wrap .yellow-news .noticia-plataforma { color: var(--yellow); }
.post-wrap .purple-news .noticia-plataforma { color: var(--purple); }

.post-wrap .noticia-titulo {
    font-size: 17px; font-weight: 800;
    color: #fff; line-height: 1.35;
}

.post-wrap .noticia-data {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px; color: var(--muted);
    white-space: nowrap; padding-top: 4px;
    letter-spacing: 1px;
}

.post-wrap .noticia-body { padding: 1.5rem; }

.post-wrap .noticia-lead {
    font-size: 15px; font-weight: 700;
    color: #d8eeff; line-height: 1.7;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--cyan);
    padding-left: 1rem;
}

.post-wrap .green-news .noticia-lead,
.post-wrap .xbox-news .noticia-lead   { border-left-color: var(--green); }
.post-wrap .pink-news .noticia-lead   { border-left-color: var(--pink); }
.post-wrap .yellow-news .noticia-lead { border-left-color: var(--yellow); }
.post-wrap .purple-news .noticia-lead { border-left-color: var(--purple); }

.post-wrap .noticia-texto {
    font-size: 14px; color: var(--text);
    line-height: 1.85; margin-bottom: 1.25rem;
}

.post-wrap .noticia-texto strong { color: #fff; font-weight: 800; }
.post-wrap .noticia-texto em     { color: var(--yellow); font-style: normal; font-weight: 700; }

/* ── INFO GRID ── */
.post-wrap .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 1.25rem 0;
}

.post-wrap .info-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .9rem 1rem;
}

.post-wrap .info-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 7px; color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.post-wrap .info-value {
    font-size: 13px; font-weight: 800;
    color: #fff; line-height: 1.3;
}

/* ── SPECS LIST ── */
.post-wrap .specs-list {
    margin: 1.25rem 0;
    display: flex; flex-direction: column; gap: 8px;
}

.post-wrap .spec-item {
    display: flex; align-items: flex-start;
    gap: 10px; font-size: 13px;
    color: var(--text); line-height: 1.5;
}

.post-wrap .spec-dot {
    width: 6px; height: 6px;
    border-radius: 1px; flex-shrink: 0;
    margin-top: 5px; background: var(--cyan);
}

.post-wrap .green-news .spec-dot,
.post-wrap .xbox-news .spec-dot    { background: var(--green); }
.post-wrap .pink-news .spec-dot    { background: var(--pink); }
.post-wrap .yellow-news .spec-dot  { background: var(--yellow); }
.post-wrap .purple-news .spec-dot  { background: var(--purple); }

/* ── ALERTA ── */
.post-wrap .alerta {
    background: rgba(255,220,34,0.07);
    border: 1px solid rgba(255,220,34,0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 13px; color: var(--yellow);
    line-height: 1.6; margin: 1.25rem 0;
    display: flex; gap: 10px; align-items: flex-start;
}

.post-wrap .alerta-icon {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px; flex-shrink: 0; margin-top: 2px;
}

/* ── SEPARADOR ── */
.post-wrap .separador {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 2.5rem 0;
}

/* ── CLOSING ── */
.post-wrap .closing {
    background: linear-gradient(135deg, #07142d, #250536);
    border: 1px solid #3a1060;
    border-radius: 14px;
    padding: 2rem; margin-top: 2rem;
    position: relative; overflow: hidden;
}

.post-wrap .closing::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.post-wrap .closing-text {
    font-size: 15px; line-height: 1.9;
    color: var(--text); margin-bottom: 1rem;
}

.post-wrap .closing-text strong { color: #fff; font-weight: 800; }

.post-wrap .closing-cta {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px; color: var(--yellow); line-height: 1.9;
}

/* ── AUTOR ── */
.post-wrap .author-row {
    display: flex; align-items: center; gap: 12px;
    margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.post-wrap .author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px; color: var(--cyan); flex-shrink: 0;
}

.post-wrap .author-name { font-size: 13px; font-weight: 700; color: #fff; }
.post-wrap .author-site { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ── RESPONSIVO ── */
@media (max-width: 540px) {
    .post-wrap .hero h1    { font-size: 11px; }
    .post-wrap .info-grid  { grid-template-columns: 1fr 1fr; }
}
