/* Course layout delta, scoped to the live-theme homepage content. */
body.yj-w14-page #yj-w14 .yj-course-options {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 align-items: stretch;
}
body.yj-w14-page #yj-w14 .yj-course-options > .course-card {
 min-width: 0;
 display: flex;
 flex-direction: column;
}
body.yj-w14-page #yj-w14 .yj-course-options > .course-card > h3 {
 min-height: 2.8em;
 font-size: clamp(22px, 1.9vw, 28px);
 line-height: 1.4;
}
body.yj-w14-page #yj-w14 .yj-course-options > .course-card > .button { margin-top: auto; }
body.yj-w14-page #yj-w14 .yj-system-course__cover {
 background: linear-gradient(135deg, #181818, #333);
 color: #fff;
}
body.yj-w14-page #yj-w14 .yj-system-course__cover > strong {
 font-family: var(--body, sans-serif);
 font-size: clamp(42px, 4.7vw, 70px);
}
body.yj-w14-page #yj-w14 .yj-system-course__cover > strong span { color: inherit; }
body.yj-w14-page #yj-w14 .yj-system-course__cover > .yj-system-course__portrait {
 width: 60%;
 height: 110%;
 right: -1%;
 bottom: 0;
 object-fit: contain;
 object-position: center bottom;
 filter: none;
}
body.yj-w14-page #yj-w14 .yj-system-course__state {
 flex-shrink: 0;
 margin-inline-start: 8px;
 padding: 2px 7px;
 border: 1px solid currentColor;
 border-radius: 99px;
 font-size: 11px;
 font-weight: 600;
 line-height: 1.4;
}
@media (max-width: 760px) {
 body.yj-w14-page #yj-w14 .yj-course-options { grid-template-columns: minmax(0, 1fr); }
 body.yj-w14-page #yj-w14 .yj-course-options > .course-card > h3 { min-height: 0; }
 body.yj-w14-page #yj-w14 .yj-system-course__cover > strong { font-size: 50px; }
}

/* W14.9：侑太卡整卡变成 <a> 后，键盘焦点是主要交互路径之一。
   子比主题把 a 的 outline 置零（zibll 全局），这里补回可见反馈。 */
body.yj-w14-page #yj-w14 a.course-card.w14-yuta:focus-visible {
 outline: 3px solid #00f5d0 !important;
 outline-offset: 4px !important;
}
