/* Shared watch pages and resource previews. Keep the complete player visible. */
.youtube-player{display:block;width:100%;height:auto;min-height:200px;aspect-ratio:16/9;border:0;border-radius:12px;background:#102e27;box-shadow:0 12px 32px #123f3a15;margin-inline:auto;max-width:min(100%,calc(max(200px,100dvh - 360px)*16/9))}
.youtube-player:focus-visible{outline:3px solid #b77926;outline-offset:4px}
.tutorial-watch-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.tutorial-watch-layout>*,.tutorial-materials{min-width:0}
.tutorial-materials{background:#fff;border:1px solid #c8d8cc;border-radius:12px;padding:20px}
.tutorial-materials .hero-actions{margin:0;gap:12px}
.tutorial-materials .hero-actions a{white-space:normal;overflow-wrap:anywhere}
.resource-video{padding-block:24px}
.resource-video .container{max-width:1440px}
.resource-video h2{font-size:clamp(1.25rem,2.4vw,1.75rem);margin:0 0 18px;max-width:none}
.resource-video details[open]>summary{margin-bottom:12px}
.resource-video .cookie-notice{position:static;inset:auto;z-index:auto;width:100%;max-width:none;margin:20px 0 0;box-shadow:none}
.tutorial-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tutorial-card{min-width:0;overflow:hidden;border:1px solid #c8d8cc;border-radius:16px;background:#fff;display:flex;flex-direction:column}
.tutorial-thumbnail{display:block;background:#102e27}
.tutorial-thumbnail img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.tutorial-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.tutorial-card h2{font-size:1.35rem;line-height:1.3;margin:0 0 12px}
.tutorial-card .hero-actions{margin-block:auto 16px;gap:10px}
.tutorial-card .btn{white-space:normal}
.tutorial-card p{overflow-wrap:anywhere}
.tutorial-card p:last-child{margin-bottom:0}
.resource-tutorials{background:#f3f6f1}
body:has(.resource-video) .learning-hero{padding-block:20px}
body:has(.resource-video) .learning-copy h1{font-size:clamp(1.65rem,3vw,2.35rem)}
body:has(.resource-video) .learning-copy .hero-intro,body:has(.resource-video) .learning-file-note{display:none}
@media(min-width:1100px){.tutorial-watch-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1000px){.tutorial-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tutorial-card-grid{grid-template-columns:minmax(0,1fr)}.tutorial-card-body{padding:18px}.tutorial-materials{padding:16px}.youtube-player{border-radius:8px}}
@media(max-height:540px){.youtube-player{max-width:min(100%,calc(max(200px,100dvh - 120px)*16/9))}}
