/* =====================================================
   CONTENT-POST — CSS completo dos cards de listagem
   Extraído e adaptado de zona-proibida.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;600&display=swap');

/* ── Variáveis ────────────────────────────────────── */
:root {
    --zp-bg:         #0d0d12;
    --zp-surface:    #14141e;
    --zp-surface2:   #1a1a2a;
    --zp-border:     rgba(255, 255, 255, 0.07);
    --zp-accent:     #cb0001;
    --zp-accent-h:   #820101;
    --zp-white:      #ffffff;
    --zp-muted:      #9a7a7a;
    --zp-tag-bg:     rgba(255,255,255,0.12);
    --zp-tag-border: rgba(255,255,255,0.2);

    --font-display: 'Arial Black', 'Impact', sans-serif;
    --font-body:    'Arial Black', sans-serif;

    --r:   10px;
    --gap: 12px;
}

/* IMPORT STYLE */
@import url('assets/style/register-field-widget.css');
/* ==================================================
   TAGS    
   ===================================================== */
.zp-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.60rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--zp-tag-bg);
    color: var(--zp-white);
    backdrop-filter: blur(6px);
    transition: background .2s, border-color .2s;
}

.zp-tag:hover {
    background: rgba(173, 1, 1 0.3);
    border-color: #AD0101;
    opacity: 0.8;
}
.zp-tag,
.zp-tag a,
.zp-tag a:hover {
    text-decoration: none !important;
border-bottom: none !important;
}

/* =====================================================
   SEÇÃO — cabeçalho (Games recentes, Em alta etc.)
   ===================================================== */

.zp-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px 5px;
    margin-top: 16px;
}

.zp-section__title {
    /*font-family: var(--font-body);*/
    font-size: 13px;
    font-weight: 700;
    flex: 1;
    color: var(--zp-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 16px;
}

.zp-section__more {
    width: 36px; height: 36px;
    background: transparent;
    border: 2px solid #CB0001;
    color: var(--zp-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}

.zp-section__more:hover {
    background: #820101;
    color: var(--zp-white);
}
.zp-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* =====================================================
   CARDS — container
   ===================================================== */
.zp-cards {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding: 0 12px;
}
.anuncio-mobile {
    padding: 12px;
}
.anuncio-horizontal {
    padding: 12px;
}

/* =====================================================
   CARD — base
   ===================================================== */
.zp-card {
    position: relative;
    background: #2a2a2a;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--zp-border);
    transition: transform .25s, border-color .25s;
    animation: cardIn .4s ease both;
}

.zp-card:hover {
    transform: translateY(-3px);
    border-color: #820101;
}

/* ---- Thumbnail ---- */
.zp-card__link { display: block; }

.zp-card__thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zp-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.zp-card:hover .zp-card__thumb img { transform: scale(1.04); }

.zp-card__thumb-fallback {
    width: 100%; height: 100%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zp-card__thumb-fallback span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    line-height: 1.1;
}

.zp-card__thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to top,
    rgba(18,18,18,0.98) 0%,
    rgba(18,18,18,0.65) 50%,
    rgba(18,18,18,0.20) 100%
);
}

/* ---- Corpo (sobreposto à imagem) ---- */
.zp-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px;
}

.zp-card__title {
    /*font-family: var(--font-display);*/
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: 3px;
}

.zp-card__title a {color: var(--zp-white);text-decoration-line: none; }
.zp-card__title a:hover {text-decoration-line: none; }

.zp-card__meta {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--zp-muted);
    margin-bottom: 8px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.zp-card__author {
    color: #ffffff;
    font-weight: 100;
}

.zp-card__date {
    color: #ffffff;
}

.zp-card__cats { display: flex; flex-wrap: wrap; gap: 5px; }

/* ---- Excerpt (campo resumo) ---- */
.zp-card__excerpt {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    line-height: 1.45;
}

/* ---- Spoiler (*texto*) ---- */
.cp-spoiler {
    display: inline;
    filter: blur(4px);
    cursor: pointer;
    transition: filter 0.3s ease;
    user-select: none;
}

.cp-spoiler.revealed { filter: none; }

/* =====================================================
   BOTÃO CARREGAR MAIS
   ===================================================== */
}
.zp-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding: 0 12px;
    position: relative;
    z-index: 20;
    margin-bottom: 30px;
}

.zp-load-more {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 36px;
    background: transparent;
    border: 2px solid #CB0001;
    color: var(--zp-white);
    border-radius: 8px;
    cursor: pointer;
    transition: background .25s, color .25s;
}

.zp-load-more:hover {
    background: #820101;
    color: var(--zp-white);
}

.zp-load-more:disabled {
    opacity: .4;
    pointer-events: none;
}

/* =====================================================
   ANIMAÇÃO DE ENTRADA
   ===================================================== */
@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 768px) {
.zp-section__more {
display: none;
}
}
@media (min-width: 640px) {
    .zp-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .zp-card__thumb { height: 220px; }
.zp-load-more {
    display: none;
}
}

@media (min-width: 1024px) {
    .zp-cards { grid-template-columns: repeat(2, 1fr); }
.zp-load-more {
    display: none;
}
}

