/**
 * Premium content — paywall + badge en listings
 */

/* ============================================================
 *  BADGE "PREMIUM" — para listings
 * ============================================================ */

.aaa-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 3px;
    margin: 0 0 6px;
    background: #1A1410;
    color: #FFD66B;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    border: 1px solid #2F2722;
    box-shadow: 0 2px 6px rgba(47, 39, 34, 0.18);
    vertical-align: middle;
    line-height: 1.1;
}
.aaa-premium-badge-icono {
    color: #FFD66B;
    font-weight: 700;
    line-height: 1;
}
.aaa-premium-badge-texto {
    line-height: 1;
}

/* ============================================================
 *  PAYWALL — bloque que aparece al final del preview
 * ============================================================ */

.aaa-paywall {
    --pw-marca: #2F2722;
    --pw-rojo:  #E20E18;
    --pw-tenue: #7A7572;
    --pw-borde: #E6E2DE;
    --pw-crema: #F8F4EC;
    --pw-oro:   #C9A24D;

    position: relative;
    margin: 0 auto 40px;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Máscara que sangra desde el último párrafo visible — efecto "fade" */
.aaa-paywall-mascara {
    position: relative;
    top: -120px;
    height: 120px;
    margin-bottom: -120px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 60%,
        #fff 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Cuerpo del paywall */
.aaa-paywall-cuerpo {
    position: relative;
    z-index: 2;
    background: linear-gradient(165deg, #fff 0%, var(--pw-crema) 100%);
    border: 1px solid var(--pw-borde);
    border-radius: 10px;
    padding: 36px 32px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(47, 39, 34, 0.06);
    max-width: 640px;
    margin: 0 auto;
}

/* Kicker dorado arriba */
.aaa-paywall-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pw-oro);
    margin-bottom: 10px;
}

/* Título */
html body .aaa-paywall h3.aaa-paywall-titulo,
.aaa-paywall-titulo {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--pw-marca) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    text-transform: none !important;
    background: none !important;
    text-shadow: none !important;
}
@media (min-width: 768px) {
    .aaa-paywall-titulo { font-size: 1.75rem !important; }
}

.aaa-paywall-lema {
    margin: 0 0 22px !important;
    font-size: 0.96rem !important;
    color: var(--pw-tenue) !important;
    line-height: 1.6 !important;
    max-width: 520px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* CTAs */
.aaa-paywall-cta-fila {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}
@media (min-width: 500px) {
    .aaa-paywall-cta-fila { flex-direction: row; justify-content: center; }
}

.aaa-paywall-cta-primario {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--pw-rojo) !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.98rem !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(226, 14, 24, 0.28);
    transition: transform .12s, box-shadow .2s, filter .15s;
}
.aaa-paywall-cta-primario:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 14, 24, 0.4);
    filter: brightness(0.95);
}

.aaa-paywall-cta-secundario {
    display: inline-block;
    padding: 12px 18px;
    background: transparent !important;
    color: var(--pw-marca) !important;
    border: 1px solid var(--pw-borde);
    border-radius: 8px;
    font-size: 0.9rem !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .15s, color .15s;
}
.aaa-paywall-cta-secundario:hover {
    border-color: var(--pw-marca);
    color: var(--pw-rojo) !important;
}

/* Trust signals al pie */
.aaa-paywall-trust {
    list-style: none !important;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid var(--pw-borde);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}
.aaa-paywall-trust li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.76rem;
    color: var(--pw-tenue);
    font-weight: 600;
}
