/* E-Learning: course cards, course page, buyer's page (resources/views/web/pages/short-course*.blade.php). Colours come from vv-theme.css. */

.sc-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.sc-head h1 { color: var(--vv-maroon); font-family: Georgia, 'Times New Roman', serif; margin-bottom: 8px; }
.sc-head p { color: #4b5563; }

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.sc-card { background: #fff; border: 1px solid var(--vv-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(61, 11, 12, .06); transition: box-shadow .2s, transform .2s; }
.sc-card:hover { box-shadow: 0 14px 30px rgba(61, 11, 12, .14); transform: translateY(-2px); }
.sc-card__img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--vv-cream-2); }
.sc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-card__noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--vv-maroon); opacity: .5; }
.sc-card__off { position: absolute; top: 10px; left: 10px; background: #a94406; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.sc-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.sc-card__title { font-size: 1.05rem; line-height: 1.35; margin: 0 0 4px; font-weight: 700; }
.sc-card__title a { color: #1f2937; text-decoration: none; }
.sc-card__title a:hover { color: var(--vv-maroon); }
.sc-card__teacher { color: #6b7280; font-size: .88rem; margin: 0 0 6px; }
.sc-card__summary { color: #4b5563; font-size: .9rem; margin: 0 0 8px; }
.sc-card__meta { display: flex; flex-wrap: wrap; gap: 12px; color: #6b7280; font-size: .82rem; margin: 0 0 10px; }
.sc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.sc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.sc-price strong { font-size: 1.2rem; color: #1f2937; }
.sc-price s { color: #9ca3af; font-size: .9rem; }
.sc-price span { color: #a94406; font-weight: 700; font-size: .85rem; }
.sc-price--big strong { font-size: 1.8rem; }
.sc-btn { background: var(--vv-maroon); color: #fff; border-radius: 8px; font-weight: 600; padding: 8px 18px; border: 0; }
.sc-btn:hover, .sc-btn:focus { background: #a94406; color: #fff; }

.sc-empty { text-align: center; color: #6b7280; padding: 40px 0; }
.sc-empty i { font-size: 2.6rem; color: var(--vv-maroon); opacity: .5; }
.sc-steps { max-width: 720px; margin: 34px auto 0; padding-left: 22px; color: #4b5563; }
.sc-steps li { margin-bottom: 6px; }

.sc-back { display: inline-block; margin-bottom: 14px; color: var(--vv-maroon); text-decoration: none; font-weight: 600; }
.sc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.sc-detail h1 { color: var(--vv-maroon); font-family: Georgia, 'Times New Roman', serif; font-size: 1.9rem; margin-bottom: 6px; }
.sc-detail h2 { font-size: 1.15rem; color: var(--vv-maroon); margin: 22px 0 8px; }
.sc-detail__lead { font-size: 1.05rem; color: #374151; }
.sc-detail__img { width: 100%; border-radius: 12px; margin: 8px 0 14px; }
.sc-detail__buy { position: sticky; top: 90px; background: #fff; border: 1px solid var(--vv-line); border-radius: 14px; padding: 18px; box-shadow: 0 8px 22px rgba(61, 11, 12, .08); }
.sc-detail__buy .sc-price { margin-bottom: 12px; }
.sc-facts { list-style: none; padding: 0; margin: 14px 0 0; color: #4b5563; font-size: .9rem; }
.sc-facts li { margin-bottom: 8px; }
.sc-facts i { width: 20px; color: var(--vv-maroon); }
.sc-lessons { list-style: none; padding: 0; margin: 0 0 8px; }
.sc-lessons li { padding: 8px 12px; border: 1px solid var(--vv-line); border-radius: 8px; margin-bottom: 6px; background: #fff; }
.sc-lessons i { color: var(--vv-maroon); margin-right: 6px; }
@media (max-width: 767px) { .sc-detail { grid-template-columns: 1fr; } .sc-detail__buy { position: static; } }

.sc-learn__title { color: var(--vv-maroon); font-family: Georgia, 'Times New Roman', serif; margin-bottom: 18px; }
.sc-note { display: flex; gap: 12px; align-items: flex-start; background: #fff6ec; border: 1px dashed #e8a56a; border-radius: 10px; padding: 16px; color: #4b3b2a; }
.sc-note i { color: #a94406; font-size: 1.3rem; margin-top: 2px; }
.sc-note--bad { background: #fdecec; border-color: #e3a1a1; }
.sc-note--bad i { color: #b42318; }
.sc-play { list-style: none; padding: 0; margin: 0; }
.sc-play__item { background: #fff; border: 1px solid var(--vv-line); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.sc-play__item h2 { font-size: 1.05rem; margin: 0 0 10px; color: #1f2937; }
.sc-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.sc-video iframe, .sc-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-video__play { padding: 0; background: #000; cursor: pointer; }
.sc-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.sc-video__play span { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(113, 21, 22, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
