/* Existing Lab World family scenes and product colours, scoped to Samuel. */
.samuel-family{padding:48px 0;color:#14223b;--family-blue:#3159d4}
.samuel-family--home{padding-block:64px;border-block:1px solid #dbe2e8;background:#f8fafb}
.samuel-family .family-heading{max-width:700px;margin-bottom:28px}
.samuel-family .family-kicker{margin:0 0 8px;font:700 11px/1.5 Cabin,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#536579}
.samuel-family h2{margin:0 0 14px;font:700 clamp(28px,3vw,38px)/1.15 Cabin,sans-serif;letter-spacing:-.025em;color:#14223b}
.samuel-family .family-heading>p:last-child{margin:0;color:#536579;line-height:1.7}
.samuel-family .family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.samuel-family .family-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:16px 16px 24px;border:1px solid #dbe2e8;border-radius:20px;background:#fff;box-shadow:0 8px 24px #25426314;transition:transform .2s,box-shadow .2s}
.samuel-family .family-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #25426324}
.samuel-family .family-scene-link{display:block;margin:-16px -16px 24px;color:inherit}
.samuel-family .family-play{position:relative;height:210px;overflow:hidden;border-bottom:1px solid #d9e4ec}
.samuel-family .family-play-vokabel{background:#0f493e}
.samuel-family .family-play-vokabel img{width:100%;height:100%;object-fit:cover;object-position:center}
.samuel-family .family-play-articles{background:linear-gradient(135deg,#e7f4ff,#d2e6fa)}
.samuel-family .family-play-context{background:linear-gradient(135deg,#f7f5ed,#e8edf4)}
.samuel-family .family-play-verbs{background:#fffaf0;display:grid;place-items:center}
.samuel-family .family-play-verbs img{position:static;width:100%;height:100%;object-fit:contain;filter:none}
.samuel-family .family-mascot{position:absolute;bottom:0;left:0;width:53%;height:95%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 4px #25426314)}
.samuel-family .article-token{position:absolute;top:28px;width:42px;padding:8px 0;border-radius:12px;text-align:center;font:800 16px Cabin,sans-serif;box-shadow:0 4px 0 #24436714}
.samuel-family .token-der{right:96px;background:#afdcff;color:#21496a;transform:rotate(-8deg)}
.samuel-family .token-die{right:50px;background:#ffbac7;color:#6f293e;transform:translateY(-5px)}
.samuel-family .token-das{right:4px;background:#d9c5ff;color:#4f337c;transform:rotate(8deg)}
.samuel-family .article-word{position:absolute;top:118px;right:10px;padding:11px 13px;border:1px solid #aac3dc;border-radius:12px;background:#fff;color:#274b6e;font-size:16px;white-space:nowrap}
.samuel-family .article-word>span{position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:#ffbac7;color:#6f293e;opacity:0;transition:opacity .25s;font-weight:800}
.samuel-family .family-card:hover .article-word>span,.samuel-family .family-card:focus-within .article-word>span{opacity:1}
.samuel-family .context-line{position:relative;display:block;padding-left:48%;padding-right:8px;color:#294559;font:800 17px/1.55 Cabin,sans-serif}
.samuel-family .family-mascot+.context-line{margin-top:44px}
.samuel-family .context-line b{padding:2px 4px;border-radius:5px;background:#ffe6a4;color:#584322}
.samuel-family .context-note{position:absolute;right:10px;bottom:22px;max-width:49%;padding:6px;border:1px solid #cbd7e2;border-radius:8px;background:#fff;color:#3c5972;font-size:11px}
.samuel-family h3{margin:0 4px 10px;font:700 23px/1.15 Cabin,sans-serif;letter-spacing:-.035em;color:#14223b}
.samuel-family .family-card>p{margin:0 4px 20px;color:#536579;font-size:14px;line-height:1.6}
.samuel-family .family-actions{display:flex;flex-wrap:wrap;gap:8px 10px;margin:auto 4px 0;font:700 12px/1.5 Cabin,sans-serif}
.samuel-family .family-actions a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;color:var(--family-blue)}
.samuel-family .family-more{color:#536579!important}
.samuel-family a:focus-visible{outline:3px solid #3159d4;outline-offset:4px;border-radius:5px}
@media(max-width:1050px){.samuel-family .family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.samuel-family{padding-block:36px}.samuel-family .family-grid{grid-template-columns:1fr}.samuel-family .family-play{height:220px}.samuel-family .article-token{width:49px}.samuel-family .token-der{right:112px}.samuel-family .token-die{right:60px}.samuel-family .token-das{right:8px}}
@media(prefers-reduced-motion:reduce){.samuel-family .family-card,.samuel-family .article-word>span{transition:none}.samuel-family .family-card:hover{transform:none}}

.family-actions{justify-content:flex-end}
