* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #f1f5f9;
    min-height: 100vh;
}

/* ============================================
   HEADER Y NAVEGACIÓN - LOGO CENTRADO
   ============================================ */
.header {
    background: white;
    padding: 1.5rem 2rem 0.75rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.logo-img {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo-image {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0.25rem;
}

.logo-text.with-logo {
    font-size: 1rem;
    margin-top: 0.25rem;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
}

nav a:hover {
    color: #667eea;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ============================================
   HERO Y SELECTOR DE EDICIONES
   ============================================ */
.selector-ediciones {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.selector-ediciones select {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    min-width: 250px;
    background: white;
}

.hero-edicion {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-edicion h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hero-edicion small {
    display: inline-block;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* ============================================
   ÍNDICE DE ARTÍCULOS
   ============================================ */
.indice {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.indice h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.lista-articulos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-articulo {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.item-articulo:hover {
    background: #f8fafc;
}

.item-titulo a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.item-titulo a:hover {
    color: #667eea;
    text-decoration: underline;
}

.item-meta {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   ARTÍCULO COMPLETO
   ============================================ */
.articulo-full {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.articulo-full h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.articulo-meta {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.articulo-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.articulo-back {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.articulo-revistas {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.articulo-revistas ul {
    margin-top: 0.5rem;
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.articulo-revistas li a {
    color: #667eea;
    text-decoration: none;
}

.articulo-revistas li a:hover {
    text-decoration: underline;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #1e293b;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   FORMULARIOS
   ============================================ */
.form-box {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-box input,
.form-box textarea,
.form-box select {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-box textarea {
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #1e293b;
}

.help-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.divider {
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0 1rem;
    position: relative;
}

.divider span {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* ============================================
   MIS ARTÍCULOS
   ============================================ */
.lista-mis-articulos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-mis-articulos {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.item-acciones {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================
   REVISIONES
   ============================================ */
.revision-card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.revision-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.revision-imagen {
    max-height: 40px;
    width: auto;
    border-radius: 4px;
}

.revision-content {
    flex: 1;
}

.revision-content h3 {
    margin: 0 0 0.25rem 0;
}

.revision-acciones {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* ============================================
   PLANIFICAR EDICIÓN
   ============================================ */
.selector-revista {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.edicion-actual,
.disponibles {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edicion-actual h3,
.disponibles h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.drag-header,
.drag-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.drag-header {
    background: #f1f5f9;
    font-weight: bold;
    border-radius: 0.5rem 0.5rem 0 0;
}

.drag-item {
    background: white;
    transition: background 0.2s;
}

.drag-item:hover {
    background: #f8fafc;
}

.drag-handle {
    cursor: grab;
    margin-right: 0.5rem;
    color: #94a3b8;
    font-size: 1.2rem;
}

.drag-handle:active {
    cursor: grabbing;
}

.drag-col-order {
    width: 80px;
}

.drag-col-title {
    flex: 1;
}

.drag-col-author {
    width: 150px;
}

.drag-col-actions {
    width: 80px;
    text-align: center;
}

.sortable-list {
    min-height: 100px;
}

.sortable-list .sortable-drag {
    opacity: 0.5;
    background: #e2e8f0;
}

.drag-info {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
}

.disponibles-header,
.disponible-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.disponibles-header {
    background: #f1f5f9;
    font-weight: bold;
    border-radius: 0.5rem 0.5rem 0 0;
}

.disponible-item:hover {
    background: #f8fafc;
}

.disponibles-col-check {
    width: 40px;
    text-align: center;
}

.disponibles-col-title {
    flex: 1;
}

.disponibles-col-author {
    width: 150px;
}

.disponibles-col-date {
    width: 100px;
}

.disponibles-col-actions {
    width: 150px;
    text-align: center;
}

.disponibles-actions {
    margin-top: 1.5rem;
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* ============================================
   TABLAS
   ============================================ */
.tabla {
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabla th {
    background: #1e293b;
    color: white;
    padding: 0.75rem;
    text-align: left;
}

.tabla td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

/* ============================================
   LOGIN
   ============================================ */
.login-box {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.login-box input {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #5a67d8;
}

.btn-secondary {
    background: #e2e8f0;
    color: #1e293b;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-editar {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-editar:hover {
    background: #2563eb;
}

.btn-publicar {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-publicar:hover {
    background: #059669;
}

.btn-revision {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-revision:hover {
    background: #d97706;
}

.btn-eliminar {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-eliminar:hover {
    background: #dc2626;
}

/* ============================================
   ESTADOS
   ============================================ */
.estado {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: bold;
}

.estado-borrador {
    background: #cbd5e1;
    color: #475569;
}

.estado-revision {
    background: #fef08a;
    color: #854d0e;
}

.estado-publicado {
    background: #86efac;
    color: #166534;
}

/* ============================================
   MENSAJES
   ============================================ */
.mensaje {
    background: #86efac;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.error {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.warning {
    background: #fef08a;
    color: #854d0e;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    color: #64748b;
}

/* ============================================
   FOOTER CON LICENCIA CC
   ============================================ */
footer {
    background: white;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content > p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.license {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.license img {
    display: inline-block;
    border: 0;
}

.license p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.license a {
    color: #667eea;
    text-decoration: none;
}

.license a:hover {
    text-decoration: underline;
}

/* ============================================
   PREVIEW DEL LOGO (admin)
   ============================================ */
.preview-logo {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 1rem;
}

.preview-logo h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #1e293b;
}

.preview-logo img {
    max-height: 100px;
    width: auto;
}

/* ============================================
   PAPELERA
   ============================================ */
.papelera-section {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.papelera-section h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.lista-papelera {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.papelera-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.papelera-item .item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.papelera-item .item-info small {
    color: #64748b;
    font-size: 0.7rem;
}

.papelera-item .item-acciones {
    display: flex;
    gap: 0.5rem;
}

/* ============================================
   CONTROL DE IMÁGENES RESPONSIVE
   ============================================ */

/* Imágenes en el contenido del artículo */
.articulo-content img,
.ck-editor__editable img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Imagen destacada en la página del artículo */
.articulo-imagen-destacada {
    text-align: center;
    margin-bottom: 1.5rem;
}

.articulo-imagen-destacada img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Miniaturas en portada */
.item-imagen {
    flex-shrink: 0;
}

.item-imagen img {
    max-height: 60px;
    width: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Miniaturas en mis artículos */
.item-mis-articulos img {
    max-height: 40px;
    width: auto;
    border-radius: 4px;
}

/* ============================================
   MODAL DE VISTA PREVIA
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: #f1f5f9;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    background: white;
    border-radius: 0 0 1rem 1rem;
}

.modal-body .articulo-full {
    box-shadow: none;
    padding: 0;
}

.modal-body .articulo-full h1 {
    font-size: 1.8rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 1rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.preview-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: #fef08a;
    border-radius: 0.5rem;
    text-align: center;
    color: #854d0e;
}

/* ============================================
   FILTROS Y ORDENACIÓN (Mis artículos)
   ============================================ */
.mis-articulos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.mis-articulos-header h2 {
    margin: 0;
    border: none;
    padding: 0;
}

.filtros-rapidos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.filtro-btn:hover {
    background: #e2e8f0;
}

.filtro-btn.active {
    background: #667eea;
    color: white;
}

.ordenacion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ordenacion label {
    font-size: 0.875rem;
    color: #64748b;
}

.ordenacion select {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .logo-image {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .logo-image {
        max-height: 120px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-text.with-logo {
        font-size: 0.9rem;
    }
    
    nav a {
        padding: 0.25rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .hero-edicion h1 {
        font-size: 1.5rem;
    }
    
    .articulo-full h1 {
        font-size: 1.5rem;
    }
    
    .item-mis-articulos {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .drag-header,
    .drag-item,
    .disponibles-header,
    .disponible-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .drag-col-order,
    .drag-col-author,
    .drag-col-actions,
    .disponibles-col-author,
    .disponibles-col-date,
    .disponibles-col-actions {
        width: auto;
    }
    
    .tabla {
        display: block;
        overflow-x: auto;
    }
    
    .selector-ediciones {
        flex-direction: column;
        align-items: stretch;
    }
    
    .selector-ediciones select {
        width: 100%;
    }
    
    .selector-revista {
        flex-direction: column;
        align-items: stretch;
    }
    
    footer {
        padding: 1.5rem;
    }
    
    .license p {
        font-size: 0.7rem;
    }
    
    /* Imagen destacada responsive */
    .articulo-imagen-destacada img {
        max-height: 300px;
    }
    
    .item-imagen img {
        max-height: 40px;
    }
    
    /* Filtros y ordenación responsive */
    .mis-articulos-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtros-rapidos {
        justify-content: center;
    }
    
    .ordenacion {
        justify-content: center;
    }
    
    .revision-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 80px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-text.with-logo {
        font-size: 0.8rem;
    }
    
    .dashboard-menu {
        grid-template-columns: 1fr;
    }
    
    .dashboard-card {
        padding: 1rem;
    }
    
    .dashboard-card .card-icon {
        font-size: 1.5rem;
    }
    
    /* Imagen destacada en móvil pequeño */
    .articulo-imagen-destacada img {
        max-height: 200px;
    }
}

/* ============================================
   UTILIDADES ADICIONALES
   ============================================ */
.acciones-usuarios {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .acciones-usuarios {
        white-space: normal;
    }
}

.buscador {
    margin-bottom: 2rem;
}

.form-busqueda {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-busqueda input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
}

.articulo-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}