/* Visor de contenido JSON (pestañas, noticias, tarjetas). Compartido por las vistas de micrositios. */
    .news-card-container { background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; border-top: 5px solid #aa1916; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08); padding: 30px; margin-bottom: 30px; }
    .news-nav-wrapper { background-color: #f8fafc; border: 1px solid #edf2f7; border-radius: 8px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
    .news-nav-wrapper.bottom { margin-top: 30px; margin-bottom: 0; }
    .news-dots-indicator { display: inline-flex; align-items: center; gap: 6px; }
    .dot-step { width: 10px; height: 10px; border-radius: 50%; background-color: #cbd5e1; cursor: pointer; transition: all 0.3s ease; }
    .dot-step.active { width: 24px; border-radius: 10px; background-color: #aa1916; }
    .btn-nav-ufps { font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 6px; }
    .btn-nav-prev { background-color: #ffffff; color: #475569; border: 1px solid #cbd5e1; }
    .btn-nav-prev:hover { background-color: #f1f5f9; color: #0f172a; }
    .btn-nav-next { background-color: #aa1916; color: #ffffff; border: 1px solid #aa1916; }
    .badge-counter { background-color: #fef2f2; color: #aa1916; border: 1px solid #fecaca; font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; }
    .news-category-tag { display: inline-block; background-color: #fee2e2; color: #991b1b; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
    .noticia h3 { color: #1e293b; font-weight: 800; font-size: 22px; line-height: 1.4; margin-top: 0; margin-bottom: 20px; border-left: 4px solid #aa1916; padding-left: 15px; }
    .news-img-container { position: relative; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 10px; padding: 12px; margin: 20px 0 25px 0; text-align: center; }
    .news-img-container img { max-height: 420px; width: auto; max-width: 100%; margin: 0 auto; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); object-fit: contain; }
    .noticia p { font-size: 16.5px; line-height: 1.75; color: #334155; text-align: justify; margin-bottom: 16px; }
    .fade-in-slide { animation: fadeInSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes fadeInSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-width: 768px) { .news-nav-wrapper { flex-direction: column; gap: 12px; text-align: center; } .noticia h3 { font-size: 19px; } }

    .event-card-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; }
    .event-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); border: 1px solid #edf2f7; display: flex; flex-direction: column; flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); max-width: 360px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .event-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.12); }
    .event-card-img-container { height: 190px; width: 100%; background-color: #f8fafc; border-radius: 12px 12px 0 0; position: relative; }
    .event-card-img-container img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px 12px 0 0; }
    .event-date-badge { position: absolute; top: 165px; left: 20px; background: #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); text-align: center; width: 55px; overflow: hidden; z-index: 2; border: 1px solid #f1f5f9; }
    .event-date-badge .month { background: #1d4ed8; color: #fff; font-size: 11px; font-weight: 700; padding: 5px 0; display: block; text-transform: uppercase; letter-spacing: 1px; }
    .event-date-badge .day { color: #0f172a; font-size: 18px; font-weight: 800; padding: 6px 0; display: block; background: #fff; }
    .event-card-body { padding: 40px 20px 20px 20px; flex-grow: 1; }
    .event-category { color: #1d4ed8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
    .event-title { color: #0f172a; font-size: 19px; font-weight: 800; margin: 0 0 12px 0; line-height: 1.3; }
    .event-text { color: #475569; font-size: 14px; line-height: 1.6; margin-bottom: 0; }
    .event-footer { padding: 15px 20px; border-top: 2px dashed #e2e8f0; display: flex; justify-content: flex-end; align-items: center; background-color: #fbfbfc; border-radius: 0 0 12px 12px; }
    .btn-event { color: #1d4ed8; background: transparent; border: 1px solid #1d4ed8; border-radius: 6px; font-size: 13px; font-weight: 600; padding: 7px 16px; transition: all 0.3s; text-decoration: none; display: inline-block; }
    .btn-event:hover, .btn-event:focus { background: #1d4ed8; color: #fff; text-decoration: none; }
    /* Cards: 1 columna en pantallas pequeñas (en las demás, 2 por fila) */
    @media (max-width: 600px) { .event-card { flex: 0 0 100%; width: 100%; max-width: 360px; } }

    /* Imagen ampliable: botón en la esquina inferior derecha del contenedor */
    .news-img-container img.js-visor-zoomable { cursor: zoom-in; }
    .visor-expand-btn { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #337ab7; color: #fff; font-size: 14px; line-height: 36px; text-align: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: background 0.2s; }
    .visor-expand-btn:hover, .visor-expand-btn:focus { background: #286090; outline: none; }

    /* Modal Bootstrap 3 con bordes azules (primary) */
    .visor-modal-bs { z-index: 100001; }
    .visor-modal-bs .modal-content { border: 3px solid #337ab7; border-radius: 6px; }
    .visor-modal-bs .modal-header { border-bottom: 2px solid #337ab7; }
    .visor-modal-bs .modal-footer { border-top: 2px solid #337ab7; }
    .visor-modal-bs .modal-body img { max-height: 75vh; width: auto; max-width: 100%; }
