
/* Unified editorial hierarchy, surfaces, and course browsing. */
@layer mobile-course-app {
body[data-home-shell] #main#main>.hero{background:linear-gradient(105deg,#35216f 0%,#5835a0 58%,#7957c3 100%)!important;gap:48px!important;height:520px!important;min-height:520px!important}
body[data-home-shell] #main#main .hero h1{font-size:clamp(38px,3.25vw,54px)!important;line-height:1.22!important;letter-spacing:-1.8px!important;font-weight:800!important}
body[data-home-shell] #main#main .hero h1 em{color:#d5fcf3!important}
body[data-home-shell] #main#main .hero .eyebrow{background:none!important;border:0!important;padding:0!important;letter-spacing:.03em!important;font-size:15px!important;font-weight:600!important}
body[data-home-shell] #main#main .hero .hero-art{border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;background:transparent!important;height:430px!important;overflow:visible!important}
body[data-home-shell] #main#main .hero .hero-art img{height:410px!important;object-fit:contain!important;mask-image:linear-gradient(to bottom,#000 90%,transparent 100%)}
body[data-home-shell] #main#main .hero .button.secondary{border-color:transparent!important;background:transparent!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:5px!important;font-weight:600!important}
body[data-home-shell] #main#main .hero p{max-width:490px;font-size:18px!important;line-height:1.75!important}
body[data-home-shell] #byk-site-header#byk-site-header#byk-site-header .byk-site-nav>a{font-weight:650!important;letter-spacing:-.25px!important}
body[data-home-shell] #main#main #home-explore{background:#f7f6fa!important;padding-top:25px!important;padding-bottom:25px!important;border-bottom:1px solid #eceaf1}
body[data-home-shell] #main#main .bk-shortcut-heading h2{font-size:23px!important;font-weight:700!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon{background:#ebe5f5!important;color:#624198!important;box-shadow:none!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-1,body[data-home-shell] #main#main .bk-learning-shortcuts .tone-3,body[data-home-shell] #main#main .bk-learning-shortcuts .tone-4{background:#e0f0ed!important;color:#167b75!important}
body[data-home-shell] #main#main #courses>.bk-book-introduction{padding:35px 20px 20px!important;margin-bottom:20px!important}
body[data-home-shell] #main#main .bk-service-value-title{font-size:30px!important;font-weight:750!important}
body[data-home-shell] #main#main .bk-service-counts__item strong{font-size:40px!important}
body[data-home-shell] #main#main .bk-service-counts__note{font-size:14px!important;color:#647085!important}
body[data-home-shell] #main#main .course-quick-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:18px 0 32px;margin:0 auto 8px;border-bottom:1px solid #e8e6ee}
body[data-home-shell] #main#main .course-quick-nav a{display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 18px;background:#f2eef8;border-radius:8px;color:#513680;font-size:17px;font-weight:650;text-decoration:none}
body[data-home-shell] #main#main .course-quick-nav a:hover{background:#e4d9f3}
body[data-home-shell] #main#main .course-quick-nav a:focus-visible{outline:3px solid #7352ad;outline-offset:3px}
body[data-home-shell] #main#main .course{--course-accent:#167b75!important;--course-bg:#fff!important;background:#fff!important;border:0!important;border-radius:0!important;padding:40px 0!important;margin:0!important;gap:32px 48px!important;border-bottom:1px solid #e6e7ec!important;scroll-margin-top:25px}
body[data-home-shell] #main#main .course-art{background:#f5f5f8!important;border:0!important;border-radius:12px!important;min-height:310px!important;padding:18px!important}
body[data-home-shell] #main#main .course-art img{max-height:310px!important;height:290px!important;width:100%!important;object-fit:contain!important}
body[data-home-shell] #main#main .course-meta b{color:#56368c!important;font-size:19px!important}
body[data-home-shell] #main#main .course-meta .level{background:#eee8f6!important;color:#5b4380!important}
body[data-home-shell] #main#main .course-copy h3{font-size:32px!important;font-weight:750!important;line-height:1.4!important;color:#252338!important;margin:16px 0!important}
body[data-home-shell] #main#main .course-copy>p{font-size:17px!important;line-height:1.8!important;color:#526073!important}
body[data-home-shell] #main#main .course-link{background:#56368c!important;border-radius:8px!important;font-size:16px!important;font-weight:650!important;min-height:46px!important}
body[data-home-shell] #main#main .focus span{background:transparent!important;padding:0!important;color:#697386!important;font-size:14px!important}
body[data-home-shell] #main#main .course-recommendations{background:#f6f7f9!important;border:0!important;border-radius:12px!important;padding:24px!important;margin-top:0!important}
body[data-home-shell] #main#main .recommendations-heading{border-bottom:1px solid #dde1e7!important;padding-bottom:12px!important;margin-bottom:18px!important}
body[data-home-shell] #main#main .course-expand{font-size:20px!important;font-weight:700!important}
body[data-home-shell] #main#main .recommendations-meta{font-weight:400!important;color:#657084!important}
body[data-home-shell] #main#main .preview-book{background:#fff!important;display:flex!important;flex-direction:column!important;border:0!important;box-shadow:none!important;border-radius:8px!important;overflow:hidden}
body[data-home-shell] #main#main .preview-cover{background:#eef1f3!important;min-height:236px!important;height:236px!important;padding:20px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body[data-home-shell] #main#main .preview-cover img{height:196px!important;max-height:196px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}
body[data-home-shell] #main#main .book-card-info{display:flex!important;flex-direction:column!important;flex:1!important;padding:18px!important}
body[data-home-shell] #main#main .book-card-info h3{font-size:20px!important;font-weight:700!important;line-height:1.5!important}
body[data-home-shell] #main#main .book-card-info p{font-size:16px!important;color:#657084!important}
body[data-home-shell] #main#main .book-card-actions{margin-top:auto!important;padding-top:24px!important}
body[data-home-shell] #main#main .book-card-actions a{font-weight:650!important;border-radius:7px!important}
body[data-home-shell] #main#main #books-for-general .gl-card{border-radius:8px!important}
body[data-home-shell] #main#main #books-for-general .gl-photo{height:236px!important;min-height:236px!important}
body[data-home-shell] #main#main #course-newspaper{background:#edf1f9!important;border:0!important;border-radius:16px!important;padding:32px!important;margin-top:32px!important;--course-accent:#3559a6!important}
body[data-home-shell] #main#main #course-newspaper .course-copy h3{font-size:34px!important}
body[data-home-shell] #main#main #course-newspaper>#newspaper-curriculum{background:transparent!important;padding:24px 0 0!important;border-top:1px solid #cbd5e7!important;border-radius:0!important}
body[data-home-shell] #main#main #course-newspaper .weekly-real-covers{background:transparent!important}
body[data-home-shell] #main#main #newspaper-curriculum .news-grid article{border-radius:8px!important}
body[data-home-shell] #main#main #newspaper-curriculum .news-grid article>h3,body[data-home-shell] #main#main #newspaper-curriculum .news-grid article>p,body[data-home-shell] #main#main #newspaper-curriculum .news-grid article>div{margin-left:16px!important;margin-right:16px!important}
body[data-home-shell] #main#main .closing{border-radius:12px!important;background:#35216f!important}
@media(max-width:800px){
body[data-home-shell] #main#main>.hero{height:auto!important;min-height:0!important;gap:24px!important;padding:30px 22px 12px!important}
body[data-home-shell] #main#main .hero h1{font-size:34px!important;line-height:1.25!important;letter-spacing:-1.2px!important}
body[data-home-shell] #main#main .hero .hero-art{height:250px!important}
body[data-home-shell] #main#main .hero .hero-art img{height:250px!important}
body[data-home-shell] #main#main .course-quick-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0 25px}
body[data-home-shell] #main#main .course-quick-nav a{justify-content:center;font-size:15px;padding:10px 5px;gap:4px}
body[data-home-shell] #main#main .course{padding:30px 0!important;gap:22px!important}
body[data-home-shell] #main#main .course-copy h3{font-size:27px!important}
body[data-home-shell] #main#main .course-art{min-height:230px!important}
body[data-home-shell] #main#main .course-art img{height:230px!important;max-height:230px!important}
body[data-home-shell] #main#main .course-recommendations{padding:16px 12px!important}
body[data-home-shell] #main#main .preview-cover{height:190px!important;min-height:190px!important;padding:16px 8px!important}
body[data-home-shell] #main#main .preview-cover img{height:158px!important;max-height:158px!important}
body[data-home-shell] #main#main .book-card-info{padding:14px!important}
body[data-home-shell] #main#main #course-newspaper{padding:24px 16px!important}
body[data-home-shell] #main#main #course-newspaper .course-copy h3{font-size:27px!important}
}
}

@layer mobile-course-app {
body[data-home-shell] #main#main #home-explore{background:#f0ebf9!important}
body[data-home-shell] #main#main .bk-shortcut-heading h2{font-size:26px!important;font-weight:800!important;color:#302044!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon{width:68px!important;height:68px!important;background:#633db0!important;color:#fff!important;box-shadow:0 5px 12px #53329420!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .tone-1,body[data-home-shell] #main#main .bk-learning-shortcuts .tone-3,body[data-home-shell] #main#main .bk-learning-shortcuts .tone-4{background:#087f80!important;color:#fff!important}
body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon svg{width:30px!important;height:30px!important;stroke-width:1.9}
body[data-home-shell] #main#main .bk-learning-shortcuts nav b{font-size:18px!important;font-weight:750!important;color:#252039!important}
@media(max-width:800px){body[data-home-shell] #main#main .bk-learning-shortcuts .service-icon{width:56px!important;height:56px!important}body[data-home-shell] #main#main .bk-learning-shortcuts nav b{font-size:15px!important}body[data-home-shell] #main#main .bk-shortcut-heading h2{font-size:23px!important}}
}

@layer mobile-course-app {
body[data-home-shell] #main#main .bk-service-value-title{font-size:38px!important;font-weight:800!important;line-height:1.4!important;color:#35216f!important;letter-spacing:-1.1px!important;margin-bottom:16px!important}
body[data-home-shell] #main#main .bk-service-value-copy{font-size:18px!important;color:#46556d!important}
body[data-home-shell] #main#main .bk-service-counts__item strong{font-size:58px!important;font-weight:800!important;line-height:1.2!important;color:#087f80!important;letter-spacing:-1px!important}
body[data-home-shell] #main#main .bk-service-counts__item span{font-size:17px!important;font-weight:650!important;line-height:1.6!important;color:#33415a!important}
body[data-home-shell] #main#main .bk-service-counts__grid{gap:24px 48px!important}
@media(max-width:800px){body[data-home-shell] #main#main .bk-service-value-title{font-size:28px!important;letter-spacing:-.8px!important}body[data-home-shell] #main#main .bk-service-counts__item strong{font-size:36px!important}body[data-home-shell] #main#main .bk-service-counts__item span{font-size:14px!important}body[data-home-shell] #main#main .bk-service-counts__grid{gap:18px 10px!important}}
}

/* Each age course is one continuous surface, with its own accent. */
@layer mobile-course-app {
body[data-home-shell] #main#main #course-kinder{--course-accent:#087e72!important;--age-surface:#e5f4ef!important}
body[data-home-shell] #main#main #course-kids{--course-accent:#2868b7!important;--age-surface:#eaf2fd!important}
body[data-home-shell] #main#main #course-junior{--course-accent:#7741ad!important;--age-surface:#f0e9f8!important}
body[data-home-shell] #main#main #course-teens{--course-accent:#454e9f!important;--age-surface:#ebedf9!important}
body[data-home-shell] #main#main #course-general{--course-accent:#246f85!important;--age-surface:#e7f2f5!important}
body[data-home-shell] #main#main .course:not(#course-newspaper){background:var(--age-surface)!important;border:0!important;border-radius:18px!important;padding:32px!important;margin:28px 0!important;gap:28px 40px!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-art{background:transparent!important;border:0!important;box-shadow:none!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-recommendations{background:transparent!important;border:0!important;border-radius:0!important;padding:20px 0 0!important;box-shadow:none!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-meta b{color:var(--course-accent)!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-link{background:var(--course-accent)!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-meta .level{background:#ffffffb8!important;color:var(--course-accent)!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .recommendations-heading{border-bottom-color:color-mix(in srgb,var(--course-accent) 23%,transparent)!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .preview-cover{background:#ffffff70!important}
@media(max-width:800px){body[data-home-shell] #main#main .course:not(#course-newspaper){padding:24px 16px!important;margin:22px 0!important;gap:22px!important;border-radius:14px!important}body[data-home-shell] #main#main .course:not(#course-newspaper) .course-recommendations{padding:14px 0 0!important}}
}

/* Continuous age introduction and reading selection. */
@layer mobile-course-app {
body[data-home-shell] #main#main .course:not(#course-newspaper){row-gap:18px!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .course-recommendations{padding-top:0!important;margin-top:0!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .recommendations-heading{border:0!important;padding:0!important;margin:0 0 10px!important;min-height:0!important}
body[data-home-shell] #main#main .course-reading-label{font-size:17px!important;font-weight:650!important;line-height:1.5!important;color:var(--course-accent)!important;margin:0!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .inline-library-tools{margin-top:0!important;margin-bottom:18px!important;border:0!important;padding-top:0!important}
body[data-home-shell] #main#main .course:not(#course-newspaper) .inline-library-tools>a{background:var(--course-accent)!important;color:#fff!important;border-color:var(--course-accent)!important}
@media(max-width:800px){body[data-home-shell] #main#main .course:not(#course-newspaper){row-gap:16px!important}body[data-home-shell] #main#main .course-reading-label{font-size:16px!important}}
}

@layer mobile-course-app {
/* Balance the cover vertically with the gap before the book details. */
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover{height:276px!important;min-height:276px!important;padding:40px 20px!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover img{height:196px!important;max-height:196px!important;width:auto!important;max-width:100%!important;margin:0!important;object-position:center!important}
body[data-home-shell] #main#main .course-recommendations .course-books-panel .book-card-info{padding-top:0!important}
@media(max-width:720px){body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover{height:238px!important;min-height:238px!important;padding:40px 16px!important}body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover img{height:158px!important;max-height:158px!important}}

}

@layer mobile-course-app {
/* Uniform portrait cover display across the homepage recommendations. */
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover{height:334px!important;min-height:334px!important;padding:32px 20px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover img{display:block!important;width:180px!important;min-width:180px!important;max-width:180px!important;height:270px!important;min-height:270px!important;max-height:270px!important;aspect-ratio:2/3!important;object-fit:fill!important;margin:0!important;filter:drop-shadow(0 5px 8px #23365018)!important}
body[data-home-shell] #main#main .course-art img{height:330px!important;max-height:330px!important}
@media(max-width:720px){
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover{height:296px!important;min-height:296px!important;padding:28px 16px!important}
body[data-home-shell] #main#main .course-recommendations .course-books-panel .preview-cover img{width:160px!important;min-width:160px!important;max-width:160px!important;height:240px!important;min-height:240px!important;max-height:240px!important}
body[data-home-shell] #main#main .course-art img{height:280px!important;max-height:280px!important}
}
}

@layer mobile-course-app {
body[data-home-shell] #main#main #books-for-general .gl-photo{height:334px!important;min-height:334px!important;padding:32px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body[data-home-shell] #main#main #books-for-general .gl-cover{width:180px!important;height:270px!important;max-width:180px!important;max-height:270px!important;aspect-ratio:2/3!important;margin:0!important}
@media(max-width:720px){body[data-home-shell] #main#main #books-for-general .gl-photo{height:296px!important;min-height:296px!important;padding:28px 8px!important}body[data-home-shell] #main#main #books-for-general .gl-cover{width:160px!important;height:240px!important;max-width:160px!important;max-height:240px!important}}
}
