/* Header del Número */
.volumen-header {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 0, 0, 0.9)), 
                url('../img/bg-geometric.jpg'); /* Opcional: una textura sutil */
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px 0;
    min-height: 50vh;
}

.badge-numero {
    background: #00d4ff;
    color: #000;
    padding: 6px 20px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 3px;
    border-radius: 50px;
}

.header-intro {
    /*max-width: 700px;*/
    padding-left: 100px;
    padding-right: 100px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1d1;
}

.italic-title {
    font-style: italic;
    color: #00d4ff;
    font-weight: 300;
}

/* Tarjetas de Notas */
.nota-card {
    background: transparent;
    transition: all 0.3s ease;
    border: none;
}

.nota-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nota-img-container img {
    transition: transform 0.6s ease;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.nota-card:hover .nota-img-container img {
    transform: scale(1.1);
}

/* Overlay al pasar el mouse */
.read-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.read-more-overlay span {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #000;
    padding: 8px 15px;
}

.nota-card:hover .read-more-overlay {
    opacity: 1;
}

/* Tipografía de Notas */
.nota-title a {
    color: #222;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s;
}

.nota-title a:hover {
    color: #00d4ff;
}

.nota-divider {
    width: 40px;
    height: 3px;
    background: #00d4ff;
    margin: 15px 0;
}

/* Contenedor para bajar el elemento respecto al menú fijo */
.back-container {
    position: relative;
    padding-top: 100px; /* Ajusta este valor según el grosor de tu navbar */
    margin-bottom: -80px; /* Empuja el contenido hacia arriba para que se integre al Hero */
    z-index: 2; /* Mayor que el navbar si es necesario */
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    color: #00d4ff; /* Cian futurista de tus botones */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente */
    backdrop-filter: blur(5px);
    border-radius: 5px;
    border-left: 3px solid #00d4ff;
    transition: all 0.3s ease;
}

.back-home-link:hover {
    background: #00d4ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.category-title {
    color: #00d4ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-line {
    width: 80px;
    height: 5px;
    background: #00d4ff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Espacio entre secciones de categorías */
.row.g-4 {
    margin-bottom: 60px; /* Separa el final de una categoría del inicio de la siguiente */
}