/* Contenedor Principal de Invitados */
.abc-biografia-invitado-container {
    padding: 60px 20px;
    text-align: center;
    background-color: #fdfdfd;
}

.abc-invitado-card {
    max-width: 550px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.abc-invitado-icon {
    margin-bottom: 25px;
}

.abc-invitado-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ffb900;
}

.abc-invitado-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #2c3338;
    margin-bottom: 15px;
}

.abc-invitado-main-text {
    font-size: 16px;
    line-height: 1.6;
    color: #646970;
    margin-bottom: 30px;
}

/* Caja de Promoción y Código */
.abc-promo-box {
    background: #fffdf3;
    border: 2px dashed #ffb900;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.abc-oportunidad-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.abc-tag-free {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid #c8e6c9;
}

.abc-tag-limit {
    background: #fff3e0;
    color: #ef6c00;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid #ffe0b2;
}

.abc-promo-mensaje {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

/* Acciones y Botones */
.abc-invitado-acciones {
    margin-top: 20px;
}

.abc-btn-registro {
    display: inline-block;
    background-color: #0073aa;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 50px; /* Estilo píldora, más moderno */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,115,170,0.3);
}

.abc-btn-registro:hover {
    background-color: #005177;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,115,170,0.4);
}

.abc-footer-text {
    font-size: 13px;
    color: #8c8f94;
    margin-top: 25px;
    line-height: 1.4;
}

/* Banner de Afinidad */
.abc-afinidad-banner {
    background: #f0f6fb;
    border: 1px solid #d2e3f7;
    border-radius: 12px;
    padding: 25px;
	margin-top: 20px;
    margin-bottom: 40px;
}

.abc-afinidad-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.abc-afinidad-info .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #2271b1;
}

.abc-afinidad-texto h3 {
    margin: 0;
    font-size: 18px;
    color: #1d2327;
}

.abc-afinidad-texto p {
    margin: 0;
    color: #646970;
}

.abc-afinidad-barra-bg {
    background: #dcdcde;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.abc-afinidad-barra-progreso {
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 50%, #ae2af4 100%);
    height: 100%;
    transition: width 1s ease-out;
}

/* Lista de Respuestas */
.abc-categoria-separador {
    column-span: all; /* Hace que el título rompa las columnas y cruce de lado a lado */
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.abc-respuesta-item {
    background: #fff;
    border: 1px solid #E7E5E4;
    padding: 30px;
	border-radius: 20px;
    margin-bottom: 20px;
}

.abc-pregunta-header {
    margin-bottom: 12px;
}

.abc-pregunta-texto {
    font-weight: bold;
    font-size: 17px;
    line-height: 1.4;
    color: #333;
}

.abc-burbuja-respuesta {
    background: #f6f7f7;
    padding: 15px 20px;
    border-radius: 12px;
    position: relative;
    color: #2c3338;
    line-height: 1.5;
}

.abc-respuesta-meta {
    font-size: 14px;
	text-align: right;
    color: #888;
    margin-top: 10px;
    font-style: italic;
    padding-top: 5px;
    display: block;
}

/* Contenedor Flex para las dos columnas */
/* --- ESCRITORIO --- */
.abc-grid-escritorio {
    display: flex !important;
    gap: 30px;
    align-items: flex-start;
}

.abc-grid-movil { 
	display: none !important; 
}

.abc-columna-masonry {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.abc-grid-movil {
    display: none; /* Oculto en PC */
}

/* --- MÓVIL (hasta 768px) --- */
@media (max-width: 768px) {
    /* SOLO en móvil aumentamos el espacio entre tarjetas */
    .abc-respuesta-card {
        margin-bottom: 25px !important; /* Solo aplica en móvil */
    }
    
    /* Ajustes del grid móvil */
    .abc-grid-escritorio {
        display: none !important;
    }
    
    #grid-movil {
        display: block !important;
        padding: 0 15px;
    }
}

/* Estilo común de la tarjeta */
.abc-respuesta-card {
    width: 100%;
    margin-bottom: 2px; /* Espacio original de PC (aprox 50px con el padding del contenedor) */
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0px;
    overflow: hidden;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid rgba(59, 184, 219, 0.2) !important;
    box-shadow: 0 10px 20px rgba(0, 95, 115, 0.05), 0 6px 6px rgba(0, 0, 0, 0.02) !important;
}

/* Ajustes de contenido interno */
.abc-respuesta-media {
    background: #ffffff;
    margin: 10px 0;
    text-align: center;
    width: 100%;
    overflow: hidden; /* Previene desbordamientos */
}

.abc-respuesta-media img,
.abc-respuesta-media iframe,
.abc-respuesta-media video,
.abc-media-video {
    max-width: 100% !important;
    width: 100% !important; /* Forzar ancho completo */
    border-radius: 12px;
    height: auto;
    display: block;
    object-fit: cover; /* Para videos nativos */
}

/* Para iframes específicamente */
.abc-respuesta-media iframe {
    aspect-ratio: 16/9; /* Propiedad moderna para mantener proporción */
    height: auto;
}

.abc-categoria-separador .dashicons {
    font-size: 18px;
    margin-right: 8px;
    color: #8c8f94;
}

.abc-biografia-publica-container, 
.abc-biografia-invitado-container {
    max-width: 1000px; /* O el ancho de tu sitio */
    margin: 0 auto !important;
    display: flow-root !important;
    overflow: hidden;
	overflow: visible !important;
	height: auto !important;
    max-height: none !important;
	height: auto !important;
}

/* Ocultar barra en Chrome, Safari y Edge */
.abc-biografia-publica-container::-webkit-scrollbar {
    width: 0px !important;
    background: transparent !important;
    display: none !important;
}

/* Ocultar barra en Firefox */
.abc-biografia-publica-container {
    scrollbar-width: none !important;
}

.abc-biografia-publica-container::-webkit-scrollbar {
    display: none !important;
}
.abc-biografia-publica-container {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Contenedor de las metas al final de la tarjeta */
.abc-respuesta-meta-container {
    display: flex;
    justify-content: space-between; /* Categoría izquierda, Fecha derecha */
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0; /* Línea divisoria muy sutil */
    font-size: 11px;
    color: #888;
}

/* Estilo para la categoría */
.abc-meta-categoria {
    font-weight: bold;
    text-transform: uppercase;
    color: #0073aa; /* Un tono azul sutil para diferenciarla */
    letter-spacing: 0.5px;
}

/* Estilo para la fecha */
.abc-meta-fecha {
    font-style: italic;
    text-align: right;
}

/* Banner Premium con efecto Aurora Black */
.abc-premium-banner.abc-aurora-dark {
    position: relative;
    padding: 60px 20px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #333;
    overflow: hidden;
    /* Gradiente dinámico de 4 colores: Negro, Gris Carbón, Gris Plata, Negro */
    background: linear-gradient(
        270deg, 
        #000000 20%,   /* Negro sólido */
		#111111 40%,   /* Gris casi negro */
		#ECFEFF 50%,   /* EL FLASH: Azul puro en el centro */
		#111111 60%,   /* Regreso rápido al oscuro */
		#000000 80%    /* Negro sólido */
    );
    background-size: 200% 200%; /* Tamaño grande para que el movimiento sea suave */
    animation: auroraBlackMove 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animación del flujo de la aurora */
@keyframes auroraBlackMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Capa de textura para darle "grano" y profundidad */
.abc-aurora-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
	mix-blend-mode: overlay;
    pointer-events: none;
    /* Textura de rayas diagonales muy finas para el efecto de tela/ego premium */
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 1px,
        transparent 1px,
        transparent 4px
    );
}

/* Contenido centrado */
.abc-premium-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.abc-premium-icon .dashicons {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: #ffffff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.abc-premium-texto h3 {
    font-size: 26px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0 0 10px 0;
    font-weight: 900;
}

.abc-premium-texto p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.abc-premium-texto strong {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #444;
}

#abc-biografia-wrapper {
    margin-bottom: 50px; /* Espacio para que el scroll respire */
    min-height: 400px;   /* Evita que el contenedor colapse si hay pocos resultados */
}

#abc-load-more-sentinel {
    clear: both;
    width: 100%;
    height: 60px;
    line-height: 30px;
    margin-top: 10px;
	padding-bottom: 30px;
    clear: both;
}

/* Aseguramos que el spinner gire */
.spin {
    animation: abc-spin 1s infinite linear;
    display: inline-block;
}

@keyframes abc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#abc-load-more-wrapper {
    clear: both;
    padding: 40px 0;
    width: 100%;
    display: block;
}

/* Tarjeta de banner Premia tipo "Pregunta" */
/* Contenedor principal con animación de brillo */
.abc-card-banner-premia {
    /* Ampliamos el tamaño del fondo para poder moverlo */
    background: 
        linear-gradient(#1a1a1a, #1a1a1a) padding-box, 
        linear-gradient(135deg, #00d2ff, #3a7bd5, #ae2af4, #00d2ff) border-box;
    background-size: 100% 100%, 400% 400%; /* El fondo del borde es 4 veces más grande */
    
    border: 8px solid transparent !important;
    border-radius: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px !important;
    min-height: 300px;
    
    /* Animación infinita suave */
    animation: aurora-border-flow 8s ease infinite;
    
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 210, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Definición de la animación del brillo */
@keyframes aurora-border-flow {
    0% {
        background-position: 0% 0%, 0% 50%;
    }
    50% {
        background-position: 0% 0%, 100% 50%;
    }
    100% {
        background-position: 0% 0%, 0% 50%;
    }
}

/* Mantenemos el resto de los estilos igual */
.abc-banner-inside-content .dashicons {
    color: #00d2ff;
    font-size: 40px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.abc-banner-inside-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Ajuste de color para el párrafo del banner */
.abc-banner-inside-content p {
    color: #ffffff !important; /* Blanco puro para máxima legibilidad */
    font-size: 0.95rem;
    line-height: 1.6; /* Un poco más de aire entre líneas */
    max-width: 280px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Sombra sutil para que las letras no se pierdan */
    font-weight: 400;
}

/* También nos aseguramos de que el nombre del usuario destaque */
.abc-banner-inside-content p strong {
    color: #00d2ff; /* El nombre en azul cian para que resalte sobre el blanco */
    font-weight: 700;
}

.abc-btn-premia-small {
    display: inline-block;
    margin-top: 20px;
    background: #00d2ff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.abc-btn-premia-small:hover {
    background: #fff;
    color: #00d2ff;
    transform: scale(1.05);
}

.abc-pregunta-texto-link:hover .abc-pregunta-texto {
    color: #0073aa;
}
.abc-pregunta-texto-link:hover .dashicons-external {
    color: #0073aa !important;
}
