/* 3S course cards: full-bleed cover image with a slim overlay bar (2026-11-28). Remove the <link> in additionalhtmlhead to roll back. */
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card{display:block!important;position:relative!important;padding:0!important;overflow:hidden!important;aspect-ratio:16/9!important;min-height:0!important;height:auto!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card>a:first-child{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;z-index:0!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-img-top{width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;border-radius:0!important;background-size:cover!important;background-position:center top!important;box-shadow:none!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;z-index:2!important;padding:20px 8px 6px!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;column-gap:5px!important;row-gap:4px!important;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.62) 55%)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important;box-shadow:none!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body>.d-flex:first-child{flex:1 1 100%!important;min-width:0!important;padding:0!important;margin:0!important;text-align:left!important;justify-content:flex-start!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body>.d-flex:first-child>div{width:100%!important;text-align:left!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body .text-muted.muted{display:none!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body .coursename,html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body .coursename *{color:#fff!important;font-size:13px!important;line-height:1.25!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:0 1px 3px rgba(0,0,0,.6)!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-foot{order:1!important;display:flex!important;align-items:center!important;gap:4px!important;flex:1 1 auto!important;margin:0!important;padding:0!important;border:0!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-track,html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .sjcp-count{display:none!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-links{order:1!important;display:flex!important;flex:1 1 auto!important;margin:0!important;gap:4px!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-links a{flex:0 0 auto!important;min-height:0!important;height:24px!important;padding:0 8px!important;font-size:11px!important;line-height:24px!important;border-radius:12px!important;background:rgba(255,255,255,.9)!important;border:0!important;color:#334155!important;font-weight:700!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-links a:first-child{background:#ffff00!important;color:#000!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-progress{order:2!important;flex:0 0 auto!important;margin:0!important;display:block!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-progress>span,html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .sj-course-pin-toggle span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-progress>strong{display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;border-radius:50%!important;font-size:7.5px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.2px!important;background:radial-gradient(closest-side,#fff 72%,transparent 75% 100%),conic-gradient(currentColor calc(var(--sjc-p,0)*1%),rgba(255,255,255,.55) 0)!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .sj-course-pin-toggle{position:static!important;order:2!important;flex:0 0 auto!important;width:24px!important;height:24px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.9)!important;box-shadow:none!important;z-index:3!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .sj-course-pin-toggle svg{margin:0!important;width:13px!important;height:13px!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card>.d-flex{position:absolute!important;top:8px!important;right:8px!important;bottom:auto!important;width:auto!important;z-index:3!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card>.d-flex .card-footer{background:transparent!important;padding:0!important;margin:0!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .coursemenubtn{width:34px!important;height:34px!important;padding:0!important;margin:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;box-shadow:0 1px 4px rgba(0,0,0,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important}
/* v2: image on top (uncovered), slim info strip below */
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card{display:flex!important;flex-direction:column!important;aspect-ratio:auto!important;height:auto!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card>a:first-child{position:relative!important;inset:auto!important;height:auto!important;aspect-ratio:16/9!important;flex:0 0 auto!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;background:#fff!important;padding:6px 8px 7px!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body .coursename,html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .card-body .coursename *{color:#1f2937!important;text-shadow:none!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-links a{background:#f1f5f9!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-links a:first-child{background:#ffff00!important;color:#000!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .s3c-progress>strong{background:radial-gradient(closest-side,#fff 72%,transparent 75% 100%),conic-gradient(currentColor calc(var(--sjc-p,0)*1%),#e5e7eb 0)!important}
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card .sj-course-pin-toggle{background:#f1f5f9!important}
/* v3: old theme rules force a fixed image height at some widths; always fill the 16:9 frame */
html body.page-mycourses:is(#page-my-index,#page-mycourses) .block_myoverview .card.course-card>a:first-child>.card-img-top.card-img-top{height:100%!important;min-height:100%!important;max-height:none!important}
