/* Presentazione del libro e percorsi per i genitori - 20 ottobre 2026. */
@media screen {
.home-grid{display:block;margin-top:24px}
.home-hero.welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,64px);min-height:0;padding:clamp(28px,4vw,60px);overflow:visible;background:linear-gradient(125deg,#edf0df,#e4e8d2)}
.home-hero .welcome-copy{padding:0;max-width:none;min-width:0}
.home-hero h1{font-size:clamp(38px,4.3vw,64px);line-height:1.08;margin:16px 0 24px;letter-spacing:-1.8px}
.home-hero .eyebrow{font-size:11px;letter-spacing:1.6px}
.home-hero .welcome-copy>p{max-width:46ch;font-size:17px;line-height:1.7;margin-bottom:24px}
.welcome-actions{display:flex;flex-wrap:wrap;gap:12px}
.welcome-actions .btn{min-height:48px;padding:14px 22px;font-size:15px}
.home-hero .welcome-copy .hero-account{font-size:14px;margin:22px 0 0}
.hero-account a{text-decoration:underline;text-underline-offset:4px;font-weight:bold}
.hero-details{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:28px 0 0;gap:8px 18px;color:#4c604b;font-size:13px}
.hero-details li{display:flex;align-items:center;gap:8px}
.hero-details li:before{content:'';width:6px;height:6px;background:#b95430;border-radius:50%;flex:none}
.hero-book{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0;border-radius:16px;text-align:center}
.hero-book>.eyebrow{margin:0}
.home-hero .welcome-art{position:static;display:block;inset:auto;width:100%;height:auto;max-height:none;max-width:480px;aspect-ratio:1;object-fit:contain;mask-image:none;border-radius:12px;box-shadow:0 18px 30px #354c3426;transition:transform .2s}
.hero-book:hover .welcome-art{transform:translateY(-4px)}
.hero-book-caption{font:600 14px/1.5 'Trebuchet MS',Arial,sans-serif;max-width:36ch}
.hero-book-caption>span{margin-left:8px}
.home-sections .parent-band{grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin-top:40px;background:none;box-shadow:none;gap:18px}
.home-sections .parent-intro{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:4px}
.home-sections .parent-intro h2{font-size:30px;margin-bottom:8px;white-space:normal}
.home-sections .parent-intro p{font-size:15px;max-width:60ch;margin-bottom:0}
.home-sections .parent-intro .btn{flex-shrink:0}
.home-sections .parent-tile{padding:22px 16px;gap:12px;background:#fffbf1;min-height:230px;position:relative}
.home-sections .parent-tile strong{font-size:16px;line-height:1.35;min-height:44px;display:flex;align-items:center}
.home-sections .parent-tile img{width:120px;height:120px;object-fit:contain;transform:none;box-shadow:none}
.home-sections .parent-tile small{font-size:13px;line-height:1.5}
.home-sections .parent-tile:hover{border-color:#7d9476;box-shadow:0 4px 0 #cbd2b7,0 10px 22px #59482b16}
.book-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,72px);max-width:1200px;margin-inline:auto}
.book-layout .wide-cover{max-width:510px;box-shadow:0 14px 30px #354c3426;aspect-ratio:1;object-fit:contain}
.book-layout .panel{padding:clamp(24px,3vw,42px)}
.book-layout .panel p,.book-layout .panel li{font-size:16px;line-height:1.7}
.book-layout .notice{font-size:13px!important}
.site-header nav a{min-height:44px}
.parent-menu a{min-height:44px;display:inline-flex;align-items:center}
footer>div{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
footer>div>a,footer>div>button{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
}
@media screen and (max-width:1000px){
.home-hero.welcome{gap:26px;padding:32px}
.home-hero h1{font-size:42px}
.welcome-actions .btn{padding:12px 16px}
.home-sections .parent-band{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-sections .parent-tile{min-height:220px}
}
@media screen and (max-width:700px){
.home-grid{margin-top:16px}
.home-hero.welcome{grid-template-columns:minmax(0,1fr);padding:26px 22px;gap:20px}
.home-hero .welcome-copy{display:contents}
.home-hero .welcome-copy>.eyebrow{grid-row:1;margin:0}
.home-hero .welcome-copy>h1{grid-row:2}
.home-hero .welcome-copy>p:not(.hero-account){grid-row:3;margin:0}
.home-hero .hero-book{grid-row:4}
.home-hero .welcome-actions{grid-row:5}
.home-hero .welcome-copy>.hero-account{grid-row:6;margin:0}
.home-hero .hero-details{grid-row:7;margin:0}
.home-hero h1{font-size:clamp(32px,8.5vw,42px);margin:0;letter-spacing:-1.2px}
.home-hero .welcome-copy>p{font-size:16px;line-height:1.65}
.welcome-actions{flex-direction:column;align-items:stretch}
.welcome-actions .btn{width:100%;font-size:14px;padding:13px 16px}
.hero-details{margin-top:20px;font-size:12px;gap:8px 12px}
.hero-book{width:100%;max-width:380px;justify-self:center}
.home-hero .welcome-art{width:100%;height:auto}
.hero-book-caption{font-size:13px}
.home-sections .parent-band{gap:12px;margin-top:30px}
.home-sections .parent-intro{display:block}
.home-sections .parent-intro h2{font-size:27px}
.home-sections .parent-intro p{font-size:14px}
.home-sections .parent-intro .btn{margin:16px 0 6px}
.home-sections .parent-tile{padding:18px 10px;min-height:215px}
.home-sections .parent-tile strong{font-size:14px}
.home-sections .parent-tile img{width:100%;max-width:106px;height:106px}
.home-sections .parent-tile small{font-size:12px}
.site-header nav{justify-content:center;gap:3px}
.site-header nav a{font-size:13px;padding:10px 11px;justify-content:center;flex:1 0 auto}
.book-layout{grid-template-columns:minmax(0,1fr);gap:28px}
.book-layout .wide-cover{max-width:440px}
.book-layout .button-row .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.hero-book .welcome-art,.home-sections .parent-tile,.btn{transition:none}.hero-book:hover .welcome-art,.home-sections .parent-tile:hover,.btn:hover{transform:none}}

/* Accesso account: azioni equivalenti allineate anche con etichette su due righe. */
@media screen and (min-width:701px){
.account-access-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.account-access-actions>.btn{width:100%;min-height:64px;margin:0;padding:12px 14px;line-height:1.35;text-align:center}
}
@media screen and (max-width:700px){
.account-access-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.account-access-actions>.btn{width:100%;min-height:48px;margin:0;line-height:1.4}
}
