/* Khóa học nổi bật (trang chủ) */
.lms-featured-courses { padding: 72px 0; background: var(--brand-bg); }
.lms-featured-courses .section-header { text-align: center; margin-bottom: 40px; }
.lms-featured-courses .section-title { margin: 0 0 8px; }
.lms-featured-courses .section-subtitle { margin: 0; color: #5b6770; }

.fc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fc-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 14px rgba(33, 53, 38, .08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.fc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(33, 53, 38, .14); }
.fc-card.is-featured { outline: 2px solid #D84315; }

.fc-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-green), #66a36b); overflow: hidden; }
.fc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 44px; }
.fc-flag { position: absolute; top: 12px; left: 12px; background: #D84315; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.fc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.fc-title { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.35; }
.fc-title a { color: #1d2b22; text-decoration: none; }
.fc-title a:hover { color: var(--brand-green); }
.fc-excerpt { margin: 0 0 16px; color: #5b6770; font-size: .94rem; line-height: 1.6; flex: 1; }
.fc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fc-price { font-weight: 700; color: var(--brand-cta); font-size: 1.05rem; }
.fc-price.is-free { color: var(--brand-green); }
.fc-link { color: var(--brand-green); font-weight: 600; text-decoration: none; font-size: .94rem; }
.fc-link i { font-size: .8em; margin-left: 4px; transition: transform .15s; }
.fc-link:hover i { transform: translateX(3px); }
.fc-all { text-align: center; margin: 36px 0 0; }

@media (max-width: 960px) { .fc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.lms-featured-courses { padding: 48px 0; }
	.fc-grid { grid-template-columns: 1fr; gap: 18px; }
}

.lms-featured-courses .section-title { font-weight: 800; color: var(--brand-green-dark); }

/* Sự kiện sắp tới (trang chủ) – thẻ .ev-* nằm trong plugin lms-events */
.lms-upcoming-events { padding: 72px 0 24px; background: var(--brand-bg); }
.lms-upcoming-events .section-header { text-align: center; margin-bottom: 36px; }
.lms-upcoming-events .section-title { margin: 0 0 8px; font-weight: 800; color: var(--brand-green-dark); }
.lms-upcoming-events .section-subtitle { margin: 0; color: var(--brand-muted); }
@media (max-width: 600px) { .lms-upcoming-events { padding: 48px 0 8px; } }

/* Nút "Xem tất cả…" đúng bộ màu (trước đây bị xanh dương mặc định của trình duyệt) */
.fc-all .btn { display: inline-block; padding: 11px 28px; border-radius: 999px; border: 2px solid var(--brand-green); background: transparent; color: var(--brand-green); font-weight: 700; text-decoration: none; }
.fc-all .btn:hover { background: var(--brand-green); color: #fff; }

.fc-price.is-soon { color: #8a6d1d; }
