.jc-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#jc-search-input, #jc-category-select {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    width: 300px;
    background: #fdfdfd;
}

.jc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) { .jc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jc-grid { grid-template-columns: 1fr; } }

/* TARJETA DE CURSO (NUEVO DISEÑO) */
.jc-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.jc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* 1. Top: Institución */
.jc-card-institution {
    padding: 15px 20px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Imagen Destacada */
.jc-card-featured-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f4f6f8;
}

/* 3. Mid: Logo (Izq) + Nombre (Der) */
.jc-card-mid {
    display: flex;
    gap: 15px;
    align-items: center;
}

.jc-card-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
}

.jc-card-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jc-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #212529;
    line-height: 1.2;
}

/* 4. Meta: Datos (Fecha, Hora, País, Precio, etc.) */
.jc-card-meta {
    display: flex;
    gap: 8px;
}

.jc-meta-row.jc-price-tag {
	font-weight: 700;
    font-size: 18px;
    padding: 5px;
    color: #ff0000;
}

.jc-card-logo {
    display: flex;
    width: 35%;
}

.jc-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #353535;
    font-weight: 700;
}

.jc-card-quienes {
font-size: 14px;
    color: #353535;
    line-height: 1.3;
    margin-bottom: 10px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
}

/* Estilos específicos para los Dashicons dentro de los metadatos */
.jc-meta-row .dashicons, .jc-card-quienes .dashicons{
    font-size: 18px; /* Tamaño del icono */
    width: 18px;
    height: 18px;
    margin-right: 6px;
    color: #c1c1c1; /* Color gris suave */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Color destacado para el icono de precio */
.jc-price-tag .dashicons {
    color: #e63946; /* Mismo rojo que usamos para el precio */
}

.jc-meta-row strong {
    color: #212529;
    margin-right: 5px;
}

.jc-category-tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    width: max-content;
}

/* 5. Footer: Enlaces */
.jc-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.jc-btn {
	background: #ff0000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.jc-btn:hover {
    background: #ff0000;
    color: #333;
}

.jc-btn-outline {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.jc-btn-outline:hover {
    background: #e2e6ea;
}

/* Paginación */
.jc-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.jc-page-btn { padding: 10px 15px; border: none; background: #fff; border-radius: 8px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.jc-page-btn:hover { background: #007bff; color: #fff; }
.jc-page-btn:disabled { opacity: 0.5; cursor: not-allowed; }