/* Estilos para la cuadrícula de cursos */
.sc-category-section { margin-bottom: 40px; }

.sc-category-title { font-size: 24px; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 10px; }

.sc-cursos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }

.sc-course-card { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }

.sc-course-card:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.sc-course-card img { width: 100%; height: 180px; object-fit: cover; display: block; }

.sc-course-tag { position: absolute; top: 10px; left: 10px; background-color: #e53935; color: white; padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; z-index: 2; }

.sc-course-tag.pago { background-color: #007cba; }

.sc-course-status-tag { position: absolute; top: 10px; right: 10px; background-color: #ff9800; color: white; padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; z-index: 2; }

.sc-course-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 100%); color: white; padding: 40px 15px 15px; opacity: 0; transition: opacity 0.3s ease; }

.sc-course-card:hover .sc-course-overlay { opacity: 1; }

.sc-course-overlay h4 { margin: 0 0 5px; font-size: 18px; }

.sc-course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #ddd; margin-bottom: 15px; }

.sc-course-buttons { display: flex; justify-content: space-between; align-items: center; }

.sc-btn-ver, .sc-btn-comprar { background-color: #e53935; color: white; text-decoration: none; padding: 8px 15px; border-radius: 5px; font-weight: bold; transition: background-color 0.2s; }

.sc-btn-ver:hover, .sc-btn-comprar:hover { background-color: #c42f2f; }

.sc-favorite-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; transition: color 0.2s, transform 0.2s; }

.sc-favorite-btn.favorited { color: #e53935; transform: scale(1.2); }
