body {
    background-color: #f8f9fa;
}
.container {
    margin-top: 20px;
}
.sidebar {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.sidebar h5 {
background-color: #a8be5f; /* Nuevo color */
color: white; /* Para mejor contraste */
padding: 10px;
text-align: center;
border-radius: 5px;
}

/* Estilo para los títulos de las cards en el sidebar */
.card-title {
    background-color: #26453f; /* Azul oscuro */
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
}
.card-norma {
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}
.card.evento-item{
    display: flex;
}
/* Estilo para los títulos de las normas */
.card-norma h5 {
    background-color: #9a3246; /* Azul oscuro */
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
/* Estilo para el título "Normatividad" */
.titulo-normatividad {
    background-color: #26453f; /* Verde */
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.5rem;
}
/* Estilos para los enlaces con iconos */
.link-icon {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #007bff;
}
.link-icon:hover {
    text-decoration: underline;
    color: #0056b3;
}

.ribbon {
    position: absolute;
    top: 10px;
    left: -10px;
    background: #26453f; /* Color por defecto */
    color: white;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    transform: rotate(-10deg);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Diferentes colores según el tipo */
.ribbon.interna {
    background: #9a3246; /* Azul oscuro */
}

.ribbon.externa {
    background: #f59c52; /* Verde oliva */
}
/* Pie inferior para cards de normatividad */
.norma-footer {
    background-color: #9a3246;
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 12px;
}

.norma-footer .dned-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 14px;
}

.norma-footer .dned-logo img {
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}
.norma-footer img {
    height: 24px;
    filter: brightness(0) invert(1); /* Convierte la imagen a blanco */
}


