/* This stylesheet is inert on phones and tablets. */
.desktop-masthead,.desktop-hero{display:none}
html.desktop-view body{background:#fffaf3}
html.desktop-view .page{max-width:1440px;background:none;box-shadow:none}
html.desktop-view .page>.masthead,
html.desktop-view .hero,
html.desktop-view .storybooks-hero,
html.desktop-view .coloring-hero,
html.desktop-view .learners-hero,
html.desktop-view .welcome,
html.desktop-view .section-intro,
html.desktop-view .section-main>.back-link{display:none}
html.desktop-view .desktop-masthead{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:68px;padding:9px clamp(24px,5vw,80px);border-bottom:1px solid #ead2d7;background:#fffaf3}
html.desktop-view .desktop-brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;font:400 clamp(24px,2.3vw,32px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.7px;color:#491c3d}
html.desktop-view .desktop-brand img{display:block;width:58px;height:40px;object-fit:contain}
html.desktop-view .desktop-masthead nav{padding:0;gap:clamp(18px,2.2vw,32px);flex-wrap:nowrap}
html.desktop-view .desktop-masthead nav a{font-size:14px;letter-spacing:0;white-space:nowrap;padding:10px 0}
html.desktop-view .desktop-hero{display:flex;position:relative;isolation:isolate;align-items:center;height:clamp(230px,38vh,390px);overflow:hidden;background:#fff2f0}
html.desktop-view .desktop-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 65%;z-index:-1;mask-image:linear-gradient(to bottom,#000 92%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 92%,transparent)}
html.desktop-view .desktop-hero-copy{width:37%;padding:20px 0 26px clamp(32px,5vw,82px);color:#491c3d;text-shadow:0 1px 12px #fffaf390}
html.desktop-view .desktop-hero h1{font:400 clamp(30px,2.8vw,43px)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-1px;margin:0 0 14px;text-wrap:balance}
html.desktop-view .desktop-hero p{font-size:clamp(14px,1.3vw,18px);line-height:1.5;color:#674d60;margin:0;max-width:345px;text-wrap:pretty}
html.desktop-view .section-main{max-width:none;margin:0;padding:0}
html.desktop-view .page main .categories,
html.desktop-view .categories.section-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:78%;max-width:1120px;gap:18px;margin:30px auto 0;padding:0}
html.desktop-view .page .categories>article.card{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;padding:10px 16px 15px;border:1px solid #e9bdc6;border-radius:17px;background:#fffaf3;box-shadow:none;min-width:0}
html.desktop-view .page .categories .art,
html.desktop-view .page .categories .tile-image{display:block;width:100%;height:clamp(110px,17vh,166px);aspect-ratio:auto;max-height:none;flex:none;margin:0;background-size:contain;background-position:center;background-repeat:no-repeat;mix-blend-mode:multiply}
html.desktop-view .categories .tile-image img{display:block;width:100%;height:100%;object-fit:contain}
html.desktop-view .page .categories .card-copy{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0}
html.desktop-view .page .categories .card h2{font:400 clamp(22px,1.85vw,27px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.6px;margin:6px 0 7px}
html.desktop-view .page .categories .card p{font-size:13px;line-height:1.45;letter-spacing:0;min-height:0;margin:0 0 12px;color:#674d60}
html.desktop-view .page .categories .card .pill{font-size:12px;letter-spacing:.1px;min-height:38px;padding:9px 20px;margin-top:auto;background:#ab596f}
html.desktop-view .site-footer{max-width:1280px;padding:22px 45px 12px;margin:0 auto}
html.desktop-view .footer-about{gap:12px}
html.desktop-view .footer-rule{width:66px}
html.desktop-view .footer-about>a{font-size:15px;min-height:32px}
html.desktop-view .footer-language,.desktop-view .footer-favorites{top:0}
html.desktop-view .footer-language select{min-height:34px;width:135px;font-size:12px;padding:5px 22px 5px 9px}
html.desktop-view .footer-favorites{font-size:12px;min-height:34px}
html.desktop-view .footer-favorites>img{width:22px;height:22px}
html.desktop-view .footer-row{margin:1px 0 4px}
html.desktop-view .site-footer .footer-tagline{font-size:10px;letter-spacing:1px;line-height:1.5}
html.desktop-view .site-footer small{font-size:10px;letter-spacing:.3px}
/* A shorter desktop window stays readable and scrolls naturally if needed. */
@media(max-height:760px) and (min-width:900px){
 html.desktop-view .desktop-masthead{min-height:60px;padding-top:7px;padding-bottom:7px}
 html.desktop-view .desktop-hero{height:clamp(220px,36vh,285px)}
 html.desktop-view .page main .categories{margin-top:24px}
 html.desktop-view .page .categories .art,html.desktop-view .page .categories .tile-image{height:112px}
 html.desktop-view .page .categories .card p{font-size:12px}
 html.desktop-view .site-footer{padding-top:18px}
}
@media(max-width:1050px){
 html.desktop-view .desktop-masthead{padding-left:24px;padding-right:24px;gap:18px}
 html.desktop-view .desktop-brand{font-size:25px;gap:8px}
 html.desktop-view .desktop-masthead nav{gap:18px}
 html.desktop-view .desktop-masthead nav a{font-size:12px}
 html.desktop-view .page main .categories{width:90%;gap:14px}
 html.desktop-view .desktop-hero-copy{width:39%;padding-left:30px}
 html.desktop-view .desktop-hero h1{font-size:32px}
}
@media(max-width:800px){
 html.desktop-view .desktop-masthead{flex-wrap:wrap;justify-content:center;gap:5px;padding:12px}
 html.desktop-view .desktop-hero{height:280px}
 html.desktop-view .desktop-hero-copy{width:47%;padding-left:20px}
 html.desktop-view .desktop-hero h1{font-size:28px}
 html.desktop-view .desktop-hero p{font-size:13px}
 html.desktop-view .page main .categories{width:94%;gap:10px}
 html.desktop-view .page .categories>article.card{padding:8px 10px 14px}
 html.desktop-view .page .categories .card h2{font-size:21px}
 html.desktop-view .page .categories .card .pill{padding:9px 12px}
}
@media(max-width:650px){
 html.desktop-view .page main .categories{grid-template-columns:1fr!important;width:min(90%,360px)}
 html.desktop-view .page .categories>article.card:last-child{grid-column:auto!important;display:flex!important}
 html.desktop-view .desktop-hero-copy{width:66%}
 html.desktop-view .desktop-hero-art{object-position:30% center;opacity:.65}
 html.desktop-view .site-footer{padding-left:16px;padding-right:16px}
}

html.desktop-view .home-landing .desktop-hero h1>span{display:block}
html.desktop-view .home-landing .desktop-hero h1>span:last-child{max-width:260px}
html.desktop-view .home-landing .desktop-hero h1>span:last-child{text-wrap:wrap}
