@charset "utf-8";
/* CSS Document */

/* Contenedor estándar de 1080px */
.container-1080 {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 25px; /* Margen de seguridad para que el texto no toque bordes en móvil */
    box-sizing: border-box;
}

/* El cuerpo de la página de noticias */
.news-page {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh; /* Asegura que el fondo negro cubra toda la pantalla */
    padding-bottom: 100px; /* Espacio antes del footer */
	
	
	
	background-image: url('../imagenes/backgroundFjr01.jpg'), url('../imagenes/backgroundFjr02.jpg');
    background-position: left center, right center;
    background-repeat:repeat-y;
    background-size: auto; /* Ajusta según el diseño de tus manchas */
}







.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 80px 20px;
}

.page-header {
    font-family: 'BaseR', sans-serif;
    font-size: 3rem;
    margin-bottom: 40px;
	color:#FFF;
}

/* GRID DE NOTICIAS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas de tarjetas */
    gap: 25px;
}

/* LA TARJETA */
.news-card {
    position: relative;
    border: 1px solid rgba(253, 77, 0, 0.3); /* Borde naranja sutil */
    border-radius: 12px;
    overflow: hidden;
    background-color: #111;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #fd4d00;
}

.card-image {
    position: relative;
    aspect-ratio: 4 / 3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY DE TEXTO SOBRE LA FOTO */
.card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px 20px;
	
	box-sizing: border-box;
	
    /* Degradado de negro sólido a transparente */
    /*background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);*/
	background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-date {
    color: #e1e1e1;
    font-size: 0.65rem;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.news-subtitle {
    color: #bfbfbf;
	font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 15px;
    /* Limitar a 2 líneas para mantener uniformidad */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #fd4d00;
	font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 1px;
}

/* SIDEBAR BOXES */
.sidebar-box {
    background-color: #0a0a0a;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #222;
}

.sidebar-box h3 {
    font-family: 'BaseR', sans-serif;
    color: #fd4d00;
    margin-bottom: 15px;
}

/* PAGINACIÓN */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-num, .prev, .next {
    padding: 8px 15px;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.page-num.active, .page-num:hover {
    background-color: #fd4d00;
    border-color: #fd4d00;
}

.page-dots {
    display: inline-block;
    padding: 8px 10px;
    color: #666;
    font-weight: bold;
    user-select: none;
}

/* Para que la paginación no se pegue al contenido de arriba */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


/* RESPONSIVO */
@media (max-width: 992px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
}


/* Social BOX */
/* --- CONTENEDOR SOCIAL EN SIDEBAR --- */

.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #151515; /* Un gris muy oscuro para despegar del fondo */
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

/* Icono pequeño cuadrado */
.social-icon {
    width: 35px;
    height: 35px;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-right: 15px;
    transition: background-color 0.3s;
}

/* Nombre de la red */
.social-name {
    color: #eee;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    flex-grow: 1; /* Empuja la flecha al final */
}

/* Flecha sutil */
.social-arrow {
    color: #444;
    font-size: 1.1rem;
    transition: transform 0.3s, color 0.3s;
}

/* --- ESTADOS HOVER --- */

.social-item:hover {
    background-color: #1a1a1a;
    border-color: #fd4d00;
    transform: translateX(5px); /* Desplazamiento sutil hacia la derecha */
}

.social-item:hover .social-icon {
    background-color: #fd4d00;
    color: #000;
}

.social-item:hover .social-name {
    color: #fff;
}

.social-item:hover .social-arrow {
    color: #fd4d00;
    transform: translateX(3px);
}

