/* Estilos generales */
.medios-taxonomy-page, .medios-term-page, .medios-item-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.taxonomy-list, .term-list, .item-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.taxonomy-item, .term-item, .item {
    margin-bottom: 20px;
}

.taxonomy-link, .term-link, .item-link {
    text-decoration: none;
    color: #333;
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.taxonomy-link:hover, .term-link:hover, .item-link:hover {
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.taxonomy-info, .term-info, .item-info {
    display: flex;
    align-items: center;
}

.taxonomy-name, .term-title, .item-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.taxonomy-count, .item-subcategory, .item-tags {
    margin-left: auto;
    font-size: 14px;
    color: #666;
}

.item-details {
    margin-left: 15px;
}

.item-img {
    max-width: 100px;
    max-height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.item-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.item-actions {
    margin-top: 15px;
}

.btn-synthesis, .btn-save {
    background-color: #0073aa;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.btn-synthesis:hover, .btn-save:hover {
    background-color: #005f8d;
}



/*NUEVO*/


.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Ajusta el tamaño mínimo de las cards */
    gap: 20px; /* Espacio entre las cards */
}

.card {
    display: flex;
    border-radius: 5px; /* Bordes redondeados */
    overflow: hidden;
    border: 1px solid #ddd; /* Borde opcional para las cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra opcional */
    background-color: #fff; /* Fondo blanco para las cards */
}

.card-image {
    flex: 1 1 40%;
    background-color: #f5f5f5; /* Fondo gris claro para la imagen */
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    flex: 1 1 60%;
    padding: 20px;
}

.card-subcategory {
    font-size: 0.875rem;
    color: #888; /* Color gris para la subcategoría */
    margin: 0;
}

.card-title {
    font-size: 1.25rem;
    margin-top: 5px;
}