/* estilos.css */
:root {
    --rojo-ccoo: #cc0000;
    --gris-oscuro: #333;
    --blanco: #ffffff;
    --fondo-pagina: #f4f4f4; /* Color de fondo unificado */
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: var(--fondo-pagina); 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* --- BARRA SUPERIOR (Utilidades) --- */
.nav-superior {
    background: var(--gris-oscuro);
    padding: 8px 0;
    font-size: 0.75rem;
    width: 100%;
}

.contenedor-flex {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.links-superior a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    opacity: 0.9;
}

.links-superior a:hover { opacity: 1; text-decoration: underline; }

.links-superior .afiliate {
    background: var(--rojo-ccoo);
    padding: 4px 12px;
    border-radius: 2px;
    font-weight: bold;
}

/* --- BLOQUE CENTRAL (Logo y Fecha) --- */
header { 
    background-color: white; 
    color: var(--gris-oscuro); 
    width: 100%; 
    padding: 20px 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text { font-size: 2.2rem; font-weight: bold; color: var(--gris-oscuro); }
.logo-text span { color: var(--rojo-ccoo); }

.header-right { text-align: right; }
.fecha-header { margin: 0; font-size: 0.85rem; color: #666; font-weight: bold; }
.fecha-header i { color: var(--rojo-ccoo); margin-right: 5px; }

/* --- MENÚ PRINCIPAL (Fondo Gris Claro, Letras Negras, Horizontal) --- */
.nav-principal {
    background: var(--fondo-pagina); /* Mismo fondo que la página */
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.nav-principal ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex; /* Alineación horizontal */
    justify-content: center; /* Centrado */
    max-width: 1100px;
    flex-wrap: wrap;
}

.nav-principal li a {
    color: #000000; /* Letras NEGRAS */
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.2s;
}

.nav-principal li a i {
    color: var(--rojo-ccoo); /* Iconos en ROJO para dar estilo */
    margin-right: 8px;
}

.nav-principal li a:hover { 
    background: #e9e9e9; 
    color: var(--rojo-ccoo); 
}

/* --- CONTENIDO Y NOTICIAS --- */
.news-container {
    max-width: 1100px;
    width: 95%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.noticia-principal {
    grid-column: 1 / -1;
    background: white;
    border-left: 10px solid var(--rojo-ccoo);
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.noticia-secundaria {
    background: white;
    padding: 20px;
    border-bottom: 4px solid var(--rojo-ccoo);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.fecha-tag {
    background: var(--rojo-ccoo);
    color: white;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* --- PIE DE PÁGINA --- */
footer { 
    background: #eee;
    width: 100%;
    margin-top: auto; 
    padding: 30px 0; 
    color: #555; 
    font-size: 0.85rem; 
    text-align: center; 
}

.social-footer {
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.social-footer a {
    color: var(--rojo-ccoo);
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.container { 
    background-color: white; 
    padding: 40px; 
    border-radius: 2px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    margin-top: 30px; 
    width: 90%; 
    max-width: 450px; 
    text-align: center; 
    border-top: 8px solid #cc0000; /* El borde rojo que te gustaba */
}

.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; margin-bottom: 8px; color: #444; font-weight: 600; }
input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #bbb; 
    border-radius: 3px; 
    box-sizing: border-box; 
    background-color: #f9f9f9; 
}


/* Regla para el recuadro que ocupa el ancho de dos */
.caja-doble {
    grid-column: 1 / span 2; /* Ocupa las dos columnas de la cuadrícula */
    width: 100%;             /* Asegura que no se quede encogido */
    height: auto;
    box-sizing: border-box;  /* Evita que el padding lo ensanche de más */
}
/* En móviles, vuelve a ser de ancho normal para que no se rompa el diseño */
@media (max-width: 768px) {
    .caja-doble {
        grid-column: 1;
    }
}






/* Cuadrícula de 6 recuadros (3 y 3) */
.cuadricula-seis {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea 2 columnas iguales */
    gap: 25px;
    width: 100%;             /* <--- Obliga a la cuadrícula a usar todo el ancho */
    max-width: 1100px;
    margin: 30px auto;       /* Centra todo el bloque */
}
.caja-servicio {
    background: white;
    padding: 30px;
    border-radius: 4px;
    border-bottom: 5px solid var(--rojo-ccoo);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.caja-servicio:hover {
    transform: translateY(-5px); /* Pequeño salto al pasar el ratón */
}

.caja-servicio i {
    font-size: 2.5rem;
    color: var(--rojo-ccoo);
    margin-bottom: 15px;
}

.caja-servicio h3 {
    margin: 10px 0;
    color: var(--gris-oscuro);
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--rojo-ccoo);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-link:hover {
    text-decoration: underline;
}

/* En móviles se pone uno debajo de otro */
@media (max-width: 768px) {
    .cuadricula-seis {
        grid-template-columns: 1fr;
    }
}



/* --- CORRECCIÓN DE MENÚS DESPLEGABLES --- */

/* 1. Aseguramos que el LI sea el contenedor de referencia */
.nav-principal ul li {
    position: relative; /* Fundamental para que el submenú se pegue aquí */
}

/* 2. Estilo del submenú optimizado */
.submenu {
    position: absolute;
    top: 100%; /* Se coloca justo debajo del enlace padre */
    left: 0;
    background-color: var(--blanco);
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
    border-top: 3px solid var(--rojo-ccoo); /* Detalle visual coherente */
    
    /* Usamos visibility y opacity para evitar cortes bruscos */
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px); /* Ligero efecto de desplazamiento */
    transition: all 0.3s ease;
    z-index: 9999;
}

/* 3. El truco del "puente": Evita que el menú se cierre al mover el ratón hacia abajo */
.submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

/* 4. Mostrar al hacer hover en el LI (no solo en el enlace) */
.nav-principal ul li:hover > .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* 5. Estilo de los enlaces dentro del submenú */
.submenu li {
    width: 100%;
    display: block;
    border-bottom: 1px solid #eee;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    color: var(--gris-oscuro) !important; /* Forzamos color para que no herede el rojo del hover padre */
    padding: 12px 20px !important;
    text-transform: none !important; /* Texto normal, no todo mayúsculas */
    font-size: 0.8rem !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

/* 6. Hover dentro del submenú */
.submenu li a:hover {
    background-color: #f9f9f9 !important;
    color: var(--rojo-ccoo) !important;
    padding-left: 25px !important; /* Efecto de desplazamiento al pasar el ratón */
}



/* --- ESTILO PARA VIDEOS RESPONSIVE --- */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 20px 0;
}

.video-responsive video,
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



/* --- ESTILO DE LA GALERÍA --- */
.galeria-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Se ajusta solo */
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.foto-item {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.foto-item:hover {
    transform: scale(1.03); /* Efecto de zoom suave */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.foto-item img {
    width: 100%;
    height: 150px;
    object-fit: cover; /* Recorta la imagen para que todas midan lo mismo */
    border-radius: 2px;
    display: block;
}

.pie-foto {
    margin: 8px 0 0 0;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    text-align: center;
}


<!------- NUEVO ESTILO ---->

/* --- NUEVA ESTÉTICA CLOUDFLARE --- */

.hero-minimal {
    text-align: center;
    padding: 40px 0;
}

.hero-minimal h1 { font-size: 2.2rem; color: #1d1d1f; }
.hero-minimal h1 span { color: var(--rojo-ccoo); }
.hero-minimal p { color: #666; font-size: 1.1rem; }

/* Caja de Acceso Superior */
.caja-acceso-principal {
    background: white;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.banner-img { width: 100%; height: 200px; object-fit: cover; }

.btn-cf-principal {
    display: inline-block;
    background: var(--rojo-ccoo);
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-cf-principal:hover { background: #990000; transform: translateY(-2px); }

.subtexto-cf { font-size: 0.85rem; color: #888; margin-top: 12px; }

/* Grid de 6 tarjetas */
.grid-cloudflare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tarjeta-cf {
    background: white;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: left;
}

.tarjeta-cf:hover {
    border-color: var(--rojo-ccoo);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.icono-cf { font-size: 1.8rem; color: var(--rojo-ccoo); margin-bottom: 15px; }
.tarjeta-cf h3 { margin-bottom: 10px; font-size: 1.15rem; color: #1d1d1f; }
.tarjeta-cf p { font-size: 0.9rem; color: #555; line-height: 1.5; margin-bottom: 15px; }

.enlace-cf {
    color: #600000; /* granate link profesional */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.enlace-cf:hover { text-decoration: underline; }


.contact-links {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-link {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #007bff; /* O el color de tu portal */
}

.wa-link:hover {
    color: #25D366; /* Color oficial de WhatsApp */
}

.footer-info {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.6;
}
/* Solo afecta a la galería de esta página */
.galeria-layout-mixto {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* La primera columna es más ancha */
    grid-template-rows: repeat(2, 220px);
    gap: 15px;
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

/* Foto grande a la izquierda */
.foto-item-mixto.grande {
    grid-row: span 2; /* Ocupa las dos filas de alto */
}

.foto-item-mixto {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.foto-item-mixto img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que se deformen */
    display: block;
}

.pie-foto-mixto {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    margin: 0;
    padding: 8px;
    font-size: 0.85rem;
    text-align: center;
}

/* Móvil: Se pone una debajo de otra para que no se vea pequeño */
@media (max-width: 768px) {
    .galeria-layout-mixto {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .foto-item-mixto.grande {
        height: 350px;
    }
    .foto-item-mixto {
        height: 250px;
    }
}


/* Layout de Contacto */
.contacto-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.contacto-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-standard .form-group { margin-bottom: 15px; }
.form-standard label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-standard input, .form-standard select, .form-standard textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    border-left: 4px solid #007bff;
}

.info-box i { font-size: 1.5rem; color: #007bff; margin-bottom: 10px; }
.info-box h4 { margin: 5px 0; }
.info-box a { color: inherit; text-decoration: none; font-weight: bold; }

.info-box.notice { border-left-color: #ffc107; background: #fffdf5; }

@media (max-width: 768px) {
    .contacto-layout { grid-template-columns: 1fr; }
}


/* Diseño de Pasos de Afiliación */
.pasos-afiliacion {
    margin-top: 25px;
    text-align: left;
}

.paso {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.paso-numero {
    background: #007bff;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0; /* Para que no se deforme el círculo */
}

.paso-texto strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.paso-texto p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Estilo del Botón de Descarga */
.btn-descarga {
    display: inline-block;
    margin-top: 15px;
    background: #dc3545; /* Rojo PDF */
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-descarga:hover {
    background: #a71d2a;
}

.btn-descarga i {
    margin-right: 8px;
}

.aviso-privacidad-mini {
    margin-top: 30px;
    padding: 15px;
    background: #f1f3f5;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* SALUD LABORAL STYLES */
.seccion-salud { margin-bottom: 50px; padding: 0 20px; }

.titulo-separador {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.titulo-separador i { color: #007bff; font-size: 1.5rem; }

/* Tips Grid */
.grid-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.tip-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid #ffc107;
}
.tip-card i { font-size: 2rem; color: #ffc107; margin-bottom: 10px; }

/* Carteles Grid */
.grid-carteles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.cartel-item { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.cartel-img { position: relative; height: 200px; background: #eee; }
.cartel-img img { width: 100%; height: 100%; object-fit: cover; }
.cartel-item h3 { padding: 15px 15px 5px; margin: 0; }
.cartel-item p { padding: 0 15px 15px; color: #666; font-size: 0.9rem; }

.btn-hover-cartel {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,123,255,0.9); color: white;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.cartel-item:hover .btn-hover-cartel { opacity: 1; }

/* Enlaces */
.enlace-descarga {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: white; margin-bottom: 10px;
    border-radius: 8px; text-decoration: none; color: #333;
    border: 1px solid #eee; transition: 0.3s;
}
.enlace-descarga:hover { background: #f0f7ff; border-color: #007bff; color: #007bff; }


/* ESTILOS COMUNICADOS */
.lista-comunicados {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.comunicado-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 6px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.comunicado-card:hover {
    transform: translateY(-3px);
}

/* Colores según importancia */
.comunicado-card.urgente { border-left-color: #dc3545; background: #fff8f8; }
.comunicado-card:has(.badge-success) { border-left-color: #28a745; }
.comunicado-card:has(.badge-info) { border-left-color: #17a2b8; }

.comunicado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comunicado-fecha {
    font-size: 0.85rem;
    color: #888;
}

/* Badges */
.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}
.badge-error { background: #dc3545; }
.badge-success { background: #28a745; }
.badge-info { background: #17a2b8; }

.comunicado-body h3 { margin: 0 0 10px 0; color: #333; }
.comunicado-body p { color: #555; line-height: 1.5; margin-bottom: 20px; }

.btn-leer {
    text-decoration: none;
    font-weight: bold;
    color: #007bff;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Filtros */
.comunicados-filter {
    text-align: center;
    margin-bottom: 30px;
}
.filter-btn {
    background: #f1f3f5;
    border: none;
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover {
    background: #007bff;
    color: white;
}

/* Layout General */
.comunicados-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Principal y Sidebar */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Sidebar */
.sidebar-comunicados {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Caja de Búsqueda */
.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Listas del Sidebar */
.lista-categorias, .lista-archivo {
    list-style: none;
    padding: 0;
}

.lista-categorias li, .lista-archivo li {
    margin-bottom: 10px;
}

.lista-categorias a, .lista-archivo a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    transition: 0.2s;
}

.lista-categorias a:hover { color: #007bff; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot.azul { background: #007bff; }
.dot.verde { background: #28a745; }
.dot.rojo { background: #dc3545; }

/* Responsive */
@media (max-width: 900px) {
    .comunicados-layout { grid-template-columns: 1fr; }
    .sidebar-comunicados { order: -1; } /* El buscador sale arriba en móvil */
}


/* ESTILO MURO DE ACCIÓN SINDICAL */
.muro-actividad {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-registro {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.card-registro:hover {
    transform: translateX(5px);
    border-color: #007bff;
}

/* Columna de Fecha */
.registro-fecha {
    background: #f8f9fa;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

.registro-fecha .dia {
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    line-height: 1;
}

.registro-fecha .mes-año {
    font-size: 0.7rem;
    font-weight: bold;
    color: #007bff;
    text-transform: uppercase;
}

/* Detalle */
.registro-detalle {
    padding: 20px;
    flex-grow: 1;
}

.categoria-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.categoria-tag.movilizacion { background: #fff0f0; color: #d63031; }
.categoria-tag.asamblea { background: #e3f2fd; color: #1976d2; }
.categoria-tag.concentracion { background: #f3e5f5; color: #7b1fa2; }

.registro-detalle h3 {
    margin: 5px 0;
    font-size: 1.2rem;
    color: #2d3436;
}

.registro-detalle p {
    font-size: 0.95rem;
    color: #636e72;
    margin-bottom: 15px;
}

.registro-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .card-registro { flex-direction: column; }
    .registro-fecha { width: 100%; padding: 10px; flex-direction: row; gap: 10px; border-right: none; border-bottom: 1px solid #eee; }
}
