/* public/css/custom-style.css */

:root {
    --primary-color: #002D62; /* Azul oscuro formal */
    --link-color: var(--primary-color);
}

.top-bar {
    font-size: 0.8rem;

}

.radio-player {
    width: 120px;
    height: 30px;
}

.section-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.15rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.card-img-top,
.img-fluid {
    object-fit: cover;
}

.img-fluid.h-100 {
    height: 100%;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.badge.bg-primary-custom {
    background-color: var(--primary-color) !important;
    font-weight: normal;
}
/* Estilos para la barra lateral de noticias relacionadas */
.related-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

/* Estilos para el cuerpo del artículo */
.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Efecto de transformación al pasar el mouse sobre las tarjetas */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card .stretched-link {
    z-index: 10; /* Asegura que el enlace sea clicable */
}

/* public/css/app.css */

.pagination .page-item .page-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #dee2e6;
}

/* Animación de Parpadeo para el Ícono */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.animated-blink {
    animation: blink 1.5s linear infinite;
}
/* Animación de Giro para el Ícono de Carga */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animated-spinner {
    animation: spin 1.5s linear infinite;
}
.cke_notification_warning {
    display: none !important;
}
.article-body img,
.article-body figure,
.article-body table,
.article-body iframe,
.article-body video {
    max-width: 100%;
    height: auto;
    /* Asegura que los elementos de bloque se comporten correctamente */
    display: block;
}

.article-body table {
    /* Para tablas que son muy anchas */
    width: 100%;
    overflow-x: auto;
}

.article-body img {
    /* Opcional: Espacio inferior para las imágenes */
    margin-bottom: 1.5rem;
}
/* Estilo del botón de "Me gusta" */
#like-button {
    background-color: transparent;
    border: 1px solid #ced4da; /* Un borde sutil */
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Borde redondeado */
    transition: all 0.3s ease;
}

#like-button:hover {
    background-color: #f8f9fa !important; /* Cambio de color al pasar el mouse */
    border-color: #adb5bd !important;
}



/* Estilo para el contador de vistas */
.text-muted.small .fa-eye {
    color: #6c757d !important; /* Color del icono de ojo */
}

.fa-heart-pulse{
    color: #dc3545;
}
