/* Consistent page rhythm and tablet layout, preserving the established branding. */
body[data-page] main,body[data-page] main>*{min-width:0}
body[data-page]:not([data-page=index]) .section{width:100%;max-width:1250px;margin-inline:auto;padding-inline:clamp(22px,4vw,54px)}
body[data-page]:not([data-page=index]) main>section:first-child{padding-top:clamp(38px,5vw,65px)}
body[data-page]:not([data-page=index]) main>section:first-child h1{max-width:980px;margin:0 auto 22px;font-size:clamp(2.25rem,4.8vw,4.5rem);line-height:1.12;letter-spacing:-.045em;text-align:center;text-wrap:balance}
body[data-page]:not([data-page=index]) main>section:first-child>.eyebrow{text-align:center}
.page-intro>p,.gallery-section>p{max-width:760px;margin:0 auto 28px;text-align:center;font-size:1.15rem}
.starter-heading{display:block;text-align:center;max-width:790px;margin:28px auto 30px}
.starter-heading h3{margin-bottom:12px}.starter-heading p{max-width:none;margin:0;font-size:1rem}
.starter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,30px)}
.starter-card{min-width:0}.starter-card img{aspect-ratio:4/3;object-fit:contain}.starter-card span,.starter-card small{overflow-wrap:anywhere}
.task-section>h3,#learn>h2,#point-editing>h2,#photo-import>h2{text-align:center;margin-bottom:28px}
.scene-switch{justify-content:center}.demo-notes{text-align:center;max-width:1000px;margin-inline:auto;padding-inline:24px}
body[data-page=kontakt] .submit-section{display:block}.submit-section:not(.share-layout)>div:first-child{max-width:800px;margin-inline:auto;text-align:center}.submit-section:not(.share-layout)>p{text-align:center}.submit-section:not(.share-layout)>.form-card{max-width:720px;margin:32px auto 0}
.submit-section.share-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:clamp(30px,5vw,70px)}
.share-layout .share-intro{max-width:none;margin:0;text-align:left}.share-layout .share-intro h1{font-size:clamp(2.25rem,4vw,3.75rem)!important;text-align:left!important;margin:16px 0 24px!important;max-width:13ch!important}
.share-intro p{font-size:1.05rem;line-height:1.8}.share-form-panel{min-width:0}.share-form-panel .form-card{margin:0}.share-form-panel>p{font-size:.9rem;overflow-wrap:anywhere}
.share-form-panel input:not([type=checkbox]),.share-form-panel textarea{width:100%;max-width:100%;box-sizing:border-box}.share-form-panel input[type=file]{white-space:normal;font-size:.9rem}.share-form-panel label{min-width:0}
.ideas-section{text-align:center}.ideas-section h2{max-width:800px;margin:0 auto 22px;text-wrap:balance}.ideas-section p{max-width:700px;margin-inline:auto}
.film-guide{max-width:1100px;margin:42px auto 0}.film-guide>h3{text-align:center;font-size:clamp(1.6rem,3vw,2rem);margin-bottom:28px}.film-guide .steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;counter-reset:lesson;margin:0 0 28px;padding:0;list-style:none}
.film-guide .steps>li{position:relative;padding:26px 26px 26px 74px;background:#f6f8fb;border:1px solid var(--line);border-radius:10px;counter-increment:lesson;min-width:0}
.film-guide .steps>li:before{content:counter(lesson) ".";position:absolute;left:26px;top:22px;color:#2866a8;font-size:1.5rem;font-weight:650}.film-guide h4{font-size:1.12rem;line-height:1.45;margin:0 0 10px}.film-guide p{font-size:1rem;line-height:1.7;margin:0}.film-guide>.text-link{display:block;text-align:center}
.film-chapters button[aria-pressed=true]{background:#e8f1fc;color:#173f71;border-radius:7px}.film-chapters button:focus-visible{outline:2px solid #2866a8;outline-offset:3px}
@media(max-width:900px){.submit-section.share-layout{grid-template-columns:1fr;gap:30px}.share-layout .share-intro{max-width:760px;margin-inline:auto;text-align:center}.share-layout .share-intro h1{max-width:none!important;text-align:center!important}.share-form-panel{width:100%;max-width:760px;margin-inline:auto}.film-guide .steps{grid-template-columns:1fr}}
@media(max-width:600px){.starter-grid{grid-template-columns:1fr}.film-guide .steps>li{padding:22px 20px 22px 62px}.film-guide .steps>li:before{left:20px;top:18px}.starter-heading{margin-top:24px}.scene-switch{gap:8px}.scene-switch button{padding:9px 14px}.share-intro p{font-size:1rem}}

/* Update 42: thin black outline for the video start buttons on the home page. */
body[data-page="index"] #quick-play,body[data-page="index"] #start-film{border:1px solid #000;}
