/* Videos on Home (atelier-walkthroughs-home.js). Above the Story card's girl and birds (stage at 0, cards at 1). */
.wnh{position:relative;z-index:2;margin:24px 0 2px}
.wnh.wnh-in{position:absolute;margin:0;max-width:min(640px,60%)}
.wnh-title{display:block;margin:0 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#a65a45}
.wnh-list{display:flex;flex-wrap:wrap;gap:10px}
.wnh button{position:relative;display:block;width:128px;height:auto;min-height:0;padding:0;border:0;background:none;color:#2b2724;font:inherit;text-align:left;box-shadow:none;cursor:pointer}
.wnh button img{display:block;width:128px;height:72px;border-radius:8px;border:1px solid #e3d6c7;object-fit:cover;background:#eef6f2}
.wnh button:hover img{border-color:#91d9c1;box-shadow:0 0 0 2px rgba(145,217,193,.45)}
.wnh .wnh-play{position:absolute;left:6px;top:46px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,253,249,.92);color:#d06f56}
.wnh .wnh-play svg{width:18px;height:18px}
.wnh button small{position:absolute;right:6px;top:50px;padding:1px 5px;border-radius:5px;background:rgba(31,30,29,.78);color:#fff;font-size:12px;line-height:16px}
.wnh button.wnh-new::after{content:'';position:absolute;top:-4px;right:-4px;width:10px;height:10px;border-radius:50%;background:#e03a2f;box-shadow:0 0 0 2px #fbf7f1}
html[data-theme="dark"] .wnh button{color:#f3eee6}
html[data-theme="dark"] .wnh button img{border-color:#475053}
html[data-theme="dark"] .wnh-title{color:#e0a48f}
html[data-theme="dark"] .wnh button.wnh-new::after{box-shadow:0 0 0 2px #1d2224}
/* The player: full screen, the video centred at 16:9, a round cross top right (aqua tint, never black). */
.wnh-player{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:56px 16px 16px;background:rgba(20,24,25,.72);backdrop-filter:blur(6px)}
.wnh-frame{width:min(1100px,100%,calc((100vh - 96px) * 16 / 9));aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#1f1e1d}
.wnh-frame iframe{display:block;width:100%;height:100%;border:0}
.wnh-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #91d9c1;border-radius:50%;background:rgba(145,217,193,.22);color:#fff;cursor:pointer}
.wnh-close svg{width:20px;height:20px}
/* Phones: the three share the row's width, one line. */
@media (max-width:720px){.wnh .wnh-list{flex-wrap:nowrap;gap:8px}.wnh button{flex:1 1 0;width:auto;min-width:0}.wnh button img{width:100%;height:auto;aspect-ratio:16/9}.wnh .wnh-play{top:auto;bottom:6px}.wnh button small{top:auto;bottom:6px}}
html[data-theme="dark"] .wnh-player .wnh-close{background:rgba(145,217,193,.22)!important;border-color:#91d9c1!important;color:#fff!important}
/* The Story card grows a little so the thumbnails keep some room under the tagline (Nicolas, 5 November). */
@media (min-width:721px){body.wnh-videos-on .atelier-stage.lv-steps-on #open-story.atelier-story-hero,body.wnh-videos-on #atelier-dashboard-view #open-story.atelier-story-hero{min-height:386px}}
