/* ColorLab BlueGreen · Internal course entry points */
#course-list{scroll-margin-top:calc(var(--header-compact-size) - var(--header-expanded-size))}
#course-list:focus{outline:none}
.subject-card[id]{scroll-margin-top:190px}
.subject-open .disclosure-mark{display:flex;align-items:center;justify-content:center}
.subject-open .disclosure-mark::before{content:'→';position:static;background:none;transform:none;width:auto;height:auto;font-size:22px;line-height:1}
.subject-open .disclosure-mark::after{display:none}
.classes .class-note{margin-top:30px}
@media(max-width:760px){.subject-card[id]{scroll-margin-top:174px}}

/* 2026-10-23 · Four disciplines, shared with native curriculum pages. */
.subject-colorist{--subject-accent:#bd9449;--subject-ink:#78571c;--subject-soft:#ebe3d0}
.subject-cinema{--subject-accent:#668fc5;--subject-ink:#365d8c;--subject-soft:#e2e9ef}
.subject-davinci{--subject-accent:#3b8d84;--subject-ink:#24655e;--subject-soft:#e1ebe4}
.subject-font{--subject-accent:#cb816f;--subject-ink:#934e3e;--subject-soft:#f0e3dc}
.subject-card .subject-figure{min-width:0;margin:0}
.subject-card .subject-image{border-radius:var(--bg-photo-radius);isolation:isolate}
.subject-card .subject-image img{border-radius:0}
.subject-card .subject-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0 0;border:0;color:var(--subject-ink);font-size:12px;line-height:1.5}
.subject-caption-topic{display:flex;align-items:center;gap:10px;white-space:nowrap}
.subject-index{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--subject-accent);border-radius:50%;background:var(--subject-soft);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:0}
.subject-card .course-en{color:var(--subject-ink);font-size:11px;font-weight:600;letter-spacing:.06em;text-align:right;line-height:1.6}
.subject-card .subject-copy{padding-top:20px}
.subject-card .subject-copy h3{margin:0;padding:0;font-size:clamp(28px,2.4vw,34px);line-height:1.4;letter-spacing:-.025em}
.subject-card .subject-copy>p{margin-top:8px;padding-right:0;color:var(--ink,#173f42);font-size:clamp(17px,1.4vw,19px);font-weight:550;line-height:1.65;text-wrap:pretty;max-width:none}
.subject-card .course-choice{margin-top:24px;padding-top:0;border:0;gap:12px}
.subject-card .course-choice>div{grid-template-columns:92px minmax(0,1fr);gap:12px}
.subject-card .course-choice dd{max-width:none;text-wrap:pretty}
.subject-card .subject-bottom{width:fit-content;max-width:100%;align-self:start;justify-self:start;margin-top:22px;padding:8px 16px;border:0;border-radius:var(--bg-pill-radius);background:var(--subject-soft);color:var(--subject-ink)}
.subject-card .subject-bottom small{font-size:13px;font-weight:550;line-height:1.7}
.subject-card .subject-open{width:100%;grid-template-columns:minmax(0,1fr) 48px;justify-content:space-between;gap:3px 16px;margin-top:22px;padding:18px 0 0;min-height:78px;border:0;border-top:1px solid #c3cec3;background:transparent;color:#183c40}
.subject-card .subject-open small{color:#355f54;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.subject-card .subject-open .disclosure-mark{width:48px;height:48px;flex:none;border-radius:50%;background:#183c40;color:#fffdf8;border:1px solid #183c40;transition:transform .18s ease,background .18s ease}
.subject-card:focus-visible{outline:3px solid var(--subject-ink);outline-offset:8px;border-radius:var(--bg-photo-radius)}
.subject-card:hover .subject-open,.subject-card:focus-visible .subject-open{color:#183c40;border-color:#8da79a;background:transparent}
@media(hover:hover) and (pointer:fine){.subject-card:hover .disclosure-mark{transform:translateX(3px);background:#2b6459}}
/* Shared rows keep neighbouring titles, summaries, durations and actions aligned,
   even when a narrow column makes one course's copy wrap to an extra line. */
@supports(grid-template-rows:subgrid){
 @media(min-width:761px){
  .subject-grid{row-gap:0}
  .subject-grid .subject-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;row-gap:0;align-items:stretch;margin-bottom:64px}
  .subject-grid .subject-card:nth-last-child(-n+2){margin-bottom:0}
  .subject-grid .subject-card .subject-copy{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 5;grid-column:1;row-gap:0}
 }
}
@media(min-width:761px) and (max-width:1000px){.subject-card .course-choice>div{grid-template-columns:1fr;gap:2px}}
@media(max-width:760px){
 .subject-card .subject-caption{gap:8px}
 .subject-caption-topic{gap:8px}
 .subject-card .course-en{font-size:11px;letter-spacing:.025em}
 .subject-card .subject-copy h3{font-size:28px}
 .subject-card .course-choice>div{grid-template-columns:82px minmax(0,1fr);gap:12px}
 .subject-card .subject-open{padding:16px 0 0;margin-top:20px;min-height:76px}
}
@media(max-width:360px){.subject-card .subject-caption{font-size:11px}.subject-card .course-en{max-width:116px}.subject-card .course-choice>div{grid-template-columns:1fr;gap:2px}}
@media(prefers-reduced-motion:reduce){.subject-card .subject-image img,.subject-card .disclosure-mark{transition:none!important;transform:none!important}}
/* A compact index keeps every discipline visible before the longer overview. */
.course-contents{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:38px 0 48px}
.course-contents>a{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:18px 0 20px;border-block:1px solid #c3cec3;color:#183c40;min-height:102px;transition:border-color .2s,color .2s}
.course-contents-number{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--subject-accent);border-radius:50%;font-size:12px;font-variant-numeric:tabular-nums;color:var(--subject-ink);background:var(--subject-soft)}
.course-contents small{display:block;font-size:12px;font-weight:400;line-height:1.6;color:#526763;margin-bottom:6px}
.course-contents strong{display:block;font-size:18px;line-height:1.5;letter-spacing:-.02em;font-weight:600;word-break:keep-all}
.course-contents-arrow{font-size:20px;transition:transform .2s ease;color:var(--subject-ink)}
.course-contents>a:hover{border-color:var(--subject-accent);color:var(--subject-ink)}
.course-contents>a:focus-visible{outline:3px solid var(--subject-ink);outline-offset:5px;border-radius:8px}
.classes .why-learn{margin-top:64px;margin-bottom:0;border-radius:var(--bg-panel-radius)}
@media(max-width:1000px){.course-contents{gap:16px}.course-contents>a{grid-template-columns:28px minmax(0,1fr);gap:10px}.course-contents-number{width:28px;height:28px}.course-contents strong{font-size:16px}.course-contents-arrow{display:none}}
@media(max-width:760px){.course-contents{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:28px 0 36px}.course-contents>a{padding:18px 0;min-height:94px;border-bottom:0}.course-contents>a:nth-last-child(-n+2){border-bottom:1px solid #c3cec3}.course-contents small{font-size:11px;margin-bottom:5px}.course-contents strong{font-size:16px}.classes .why-learn{margin-top:44px}}
@media(max-width:360px){.course-contents{column-gap:14px}.course-contents>a{grid-template-columns:24px minmax(0,1fr);gap:8px}.course-contents-number{width:24px;height:24px;font-size:11px}.course-contents strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.course-contents>a,.course-contents-arrow{transition:none}}
@media(forced-colors:active){.course-contents>a,.course-contents-number,.course-contents small,.course-contents-arrow{color:LinkText;border-color:LinkText}}
@media print{.subject-card .course-en,.subject-card .subject-open{color:#000}.subject-card .disclosure-mark{display:none}}
@media print{.subject-card .subject-open{background:white;color:black}.subject-card .subject-open small{color:black}.subject-card .subject-bottom{background:none;padding-inline:0}}
@media(forced-colors:active){.subject-card .subject-caption,.subject-card .course-en,.subject-card .subject-bottom,.subject-card .subject-index{color:CanvasText}.subject-card .subject-bottom,.subject-index{border-color:CanvasText}.subject-card .subject-open,.subject-card:hover .subject-open,.subject-card:focus-visible .subject-open{background:Canvas;color:LinkText;border-color:CanvasText}.subject-card .subject-open small{color:LinkText}.subject-card .subject-open .disclosure-mark{background:Canvas;color:LinkText;border-color:LinkText}}
