.witch-project-page .mc-course-hero-copy h1 { max-width:15ch; font-size:clamp(2.25rem,4.6vw,4rem); line-height:1.35; letter-spacing:0; margin-bottom:1.5rem; text-wrap:initial; }
.witch-project-page .mc-course-hero-panel > strong { line-height:1.6; }
.witch-project-page .mc-course-hero::before { background:linear-gradient(90deg,rgba(5,15,16,.94),rgba(5,15,16,.76) 52%,rgba(5,15,16,.4)),url('../../pics/minecraft/witch-companion/scene-01-cover.png') center/cover no-repeat; }
.mc-lesson-page.witch-project-page .mc-lesson-hero h1 { line-height:1.4; letter-spacing:0; }
.witch-project-page .mc-lesson-subtitle { line-height:1.65; }
.witch-project-page .mc-course-kicker { line-height:1.7; }
.witch-project-page h2,.witch-project-page h3 { line-height:1.45; letter-spacing:0; }
.witch-project-page .cookie-option { color:#243d2b; }
.witch-project-reader h2,.witch-project-reader h3 { line-height:1.5; letter-spacing:0; }
.witch-project-reader h4 { line-height:1.6; }
.witch-project-reader p { margin-bottom:1.15rem; }
.witch-project-card { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; padding:2rem; border:1px solid var(--mc-border); border-radius:12px; background:#13241a; }
.witch-project-card img { width:100%; height:auto; border-radius:8px; display:block; }
.witch-project-card h3 { font-size:clamp(1.8rem,3vw,2.5rem); line-height:1.35; margin:.7rem 0 1rem; }
.witch-project-card p,.witch-project-card li { color:#d0ddc6; line-height:1.85; }
.witch-project-card a { color:inherit; }
.witch-project-card .mc-route-badge { margin-bottom:.8rem; }
.witch-hero-cover { margin:0; align-self:center; }
.witch-hero-cover img { display:block; width:100%; height:auto; border-radius:10px; border:1px solid #426047; }
.witch-hero-cover figcaption { color:#b7cbb2; font-size:.82rem; line-height:1.6; margin-top:.5rem; }
.witch-stage-strip { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.5rem; }
.witch-stage-strip span { background:#1e3626; border:1px solid #3b5840; border-radius:4px; color:#d4e9c4; font-size:.83rem; padding:.35rem .65rem; }
.witch-project-reader .mc-java-article { max-width:none; }
.witch-project-reader .mc-java-reading-layout { grid-template-columns:205px minmax(0,1fr); gap:2.6rem; }
.witch-project-reader .mc-java-toc a { font-size:.84rem; padding:.32rem 0; }
.witch-project-reader .mc-java-article section:first-child { margin-top:0; padding-top:0; border:0; }
.witch-figure img { background:#f7f9ef; }
.witch-figure a { display:block; }
.witch-check { margin:1.3rem 0; padding:1rem 1.25rem; background:#fff; border:1px solid #c6d7b6; border-left:4px solid #63943b; border-radius:5px; }
.witch-check strong { color:#345529; }
.witch-check p { margin:.35rem 0 0; }
.witch-download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.5rem 0; }
.witch-download-grid article { background:#fff; border:1px solid #c9d8bc; border-radius:8px; padding:1.2rem; display:flex; flex-direction:column; }
.witch-download-grid article h3 { font-size:1.2rem; margin:.3rem 0 .5rem; }
.witch-download-grid article p { font-size:.9rem; flex:1; }
.witch-download-grid a { font-weight:800; }
.witch-command { font-size:1rem; }
.witch-task-list { min-width:0; margin:1.5rem 0; padding:1.4rem; background:#fff; border:1px solid #c6d7b6; border-radius:8px; }
.witch-task-list legend { padding:0 .5rem; color:#23452c; font-weight:800; font-size:1.15rem; }
.witch-project-reader .witch-task-list .witch-task-help { color:#425746; margin-bottom:1rem; font-size:.95rem; }
.witch-task-progress { display:block; margin-bottom:1rem; color:#345529; font-size:.9rem; font-weight:750; }
.witch-project-reader .witch-task-list label { display:flex; gap:.8rem; align-items:flex-start; padding:1rem .6rem; margin:0; color:#243d2b; background:#fff; font-size:1rem; font-weight:500; line-height:1.85; border-top:1px solid #e0e8db; cursor:pointer; }
.witch-project-reader .witch-task-list label span { flex:1; min-width:0; }
.witch-project-reader .witch-task-list input { appearance:auto; accent-color:#477931; width:1.2rem; height:1.2rem; min-height:0; margin:.3rem 0 0; padding:0; flex:0 0 1.2rem; cursor:pointer; }
.witch-project-reader .witch-task-list input:focus-visible { outline:3px solid #477931; outline-offset:4px; }
.witch-project-reader .witch-task-list label:has(input:checked) { color:#31532b; background:#edf5e8; }
.witch-project-reader .witch-game-shot { aspect-ratio:16/9; object-fit:contain; background:#152417; }
.witch-print-button { border:0; cursor:pointer; font:inherit; }
.witch-project-reader .mc-java-note .mc-course-button { color:#23472b; border:1px solid #88a976; text-decoration:none; }
@media(max-width:1000px) { .witch-project-card { gap:1.5rem; padding:1.5rem; } .witch-download-grid { grid-template-columns:1fr; } }
@media(max-width:900px) { .witch-project-reader .mc-java-reading-layout { grid-template-columns:1fr; gap:2rem; } }
@media(max-width:700px) { .witch-project-card { grid-template-columns:1fr; } .witch-hero-cover { margin-top:1rem; } }
@media print {
  .site-header,.site-footer,.mc-java-toc,.mc-course-actions,.witch-download-grid,.witch-print-button { display:none!important; }
  .mc-java-reading-layout,.witch-project-reader .mc-java-reading-layout { display:block; }
  .mc-java-reader,.mc-lesson-hero { background:white!important; color:#16241b!important; padding:1rem 0!important; }
  .mc-java-article { max-width:none; font-size:11pt; }
  .mc-java-article section { break-before:page; }
  figure,.witch-check,.mc-java-note { break-inside:avoid; }
  .mc-java-article img { max-height:16cm; object-fit:contain; }
  .mc-java-code { color:#17261c; background:#f3f6ec; }
  .mc-java-code pre { white-space:pre-wrap; font-size:8pt; }
}
