/* Shared subject and level entry pages, based on the Nederlands reference.
   Exercise and exam readers keep their own layout; Wiskunde toggles this scope. */
.subject-start-page{margin:0;background:var(--ui-page);color:var(--brand-navy);font-size:1rem;line-height:1.6}
.subject-start-page *{box-sizing:border-box}
.subject-start-page .economy-intro{width:min(1220px,100%);max-width:1220px;min-height:70vh;margin:auto;padding:32px 32px 48px}
.subject-start-page .course-heading h1{font-size:clamp(1.75rem,3vw,2.25rem);margin:0 0 10px}
.subject-start-page .course-level{flex-direction:row;align-items:center;gap:10px;font-weight:750;color:var(--brand-navy)}
.subject-start-page .course-level select{padding:12px 36px 12px 14px;border-radius:12px;min-height:46px;font-weight:400}
.subject-start-page .course-choice-action{width:100%;color:var(--brand-navy)}
.subject-start-page .course-secondary a{color:var(--brand-indigo)}
.subject-start-page .course-choice:focus-visible{outline:3px solid var(--brand-indigo);outline-offset:5px}
.subject-start-page .course-choice[aria-disabled="true"]{cursor:default}
.subject-start-page .course-choice[aria-disabled="true"]:hover{border-color:var(--brand-border);box-shadow:0 4px 14px rgb(20 43 75 / 2%)}
.subject-start-page .course-choice[aria-disabled="true"] .course-choice-action{color:var(--brand-muted);cursor:default}
.subject-header{background:var(--brand-navy);border-bottom:3px solid var(--brand-indigo)}
.subject-header-inner{max-width:1440px;min-height:82px;margin:auto;padding:16px 32px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.subject-header .helder-brand{color:var(--brand-white)}
.subject-header a.subject-home,.subject-header a.subject-account{color:var(--brand-white);text-decoration:none;font-weight:700;min-height:44px;display:inline-flex;align-items:center;background:transparent}
.subject-home{padding:8px 14px;border:1px solid #617188;border-radius:12px}
.subject-header-name{color:#d9dfee;border-left:1px solid #617188;padding-left:24px}
.subject-header a.subject-account{margin-left:auto;padding:0;border:0;border-radius:0;font-size:1rem}
.subject-header a.subject-account:hover,.subject-header a.subject-home:hover{color:white;text-decoration:underline;text-underline-offset:3px}
.subject-header :is(a,button):focus-visible{outline:3px solid #8c84ff;outline-offset:4px}
.subject-footer{max-width:1220px;margin:auto;padding:24px 32px;border-top:1px solid var(--brand-border);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.875rem;color:var(--brand-muted)}
.subject-footer a{color:var(--brand-indigo);font-weight:400;text-decoration:underline;text-underline-offset:3px}
@media(min-width:761px) and (max-width:1100px){
 .subject-start-page .course-level-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .subject-start-page .course-heading{align-items:flex-start}
 .subject-start-page .course-level{flex-wrap:wrap}
 .subject-start-page .course-level select{min-width:0}
}
@media(max-width:600px){
 .subject-start-page .economy-intro{padding:24px 18px 36px}
 .subject-start-page .course-heading{flex-direction:column;gap:16px}
 .subject-start-page .course-heading-copy{flex:0 1 auto}
 .subject-header-inner{padding:14px 18px;gap:12px}
 .subject-header-name{display:none}
 .subject-header .helder-brand{font-size:23px}
 .subject-header a.subject-account{font-size:.875rem}
 .subject-footer{padding:20px 18px}
}
