/* Shared geometry across the app learning pages and standalone course sales page. */
@font-face{font-family:TLLNavigation;src:url('/fonts/source-sans-3-600.woff') format('woff');font-weight:600;font-display:swap}
body:has(#learning-sections-menu) :is(main,div):has(>.site-header + #learning-sections-menu){box-sizing:border-box;max-width:1160px;margin-inline:auto;padding-inline:32px}
body.sales-page .wrap{max-width:1160px;padding-inline:32px}
body:has(#learning-sections-menu) .site-header,body:has([data-learn-tarot-overview]) .site-header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:88px;min-height:88px;margin-block:0;padding-block:16px;border:0;gap:16px;position:relative;view-transition-name:tll-site-header}
body:has(#learning-sections-menu) .site-header>.brand,body:has([data-learn-tarot-overview]) .site-header>.brand{font:600 24px/1.2 Georgia,serif;letter-spacing:-.35px;gap:10px;color:#2b414d;display:flex;align-items:center;max-width:none;min-height:44px}
body:has(#learning-sections-menu) .site-header>.brand>svg,body:has([data-learn-tarot-overview]) .site-header>.brand>svg{width:23px;height:23px;flex:none;color:#405965}
body:has(#learning-sections-menu)>.language-toolbar,body:has([data-learn-tarot-overview])>.language-toolbar{position:absolute;right:calc(max(32px,(100vw - 1160px)/2 + 32px) + 110px);top:24px;margin:0;padding:0;max-width:none;z-index:30;flex-wrap:nowrap;min-height:36px}
body:has(#learning-sections-menu)>.language-toolbar>[role],body:has([data-learn-tarot-overview])>.language-toolbar>[role]{position:absolute;top:100%;right:0;width:280px;padding:9px 12px;background:white;border:1px solid #d4dfdb;border-radius:8px;box-shadow:0 4px 12px #355e6915}
#learning-sections-menu{box-sizing:border-box;padding:0;margin:0 0 24px;view-transition-name:tll-learning-navigation}
body.sales-page #learning-sections-menu{max-width:1096px;width:calc(100% - 64px);margin-inline:auto}
#learning-sections-menu>div{display:block}#learning-sections-menu>details{display:none}
#learning-sections-menu nav{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;max-width:none;width:100%;margin:0;padding:10px 0;border-block:1px solid #d4dfdb;font:600 16px/1.35 TLLNavigation,'Source Sans 3',Source,Arial,sans-serif}
#learning-sections-menu nav a{display:flex;align-items:center;min-height:44px;padding:9px 14px;border-radius:8px;color:#405b60;text-decoration:none}
#learning-sections-menu nav a[aria-current=page]{background:#e1efea;color:#2e5960;box-shadow:inset 0 -2px 0 #6b9997}
#learning-sections-menu nav a:hover{background:#edf5f1;color:#2e5960}
#learning-sections-menu nav a:focus-visible{outline:2px solid #557e83;outline-offset:3px}
@media(max-width:680px){body:has(#learning-sections-menu) :is(main,div):has(>.site-header + #learning-sections-menu),body.sales-page .wrap{padding-inline:20px}body.sales-page #learning-sections-menu{width:calc(100% - 40px)}body:has(#learning-sections-menu) .site-header,body:has([data-learn-tarot-overview]) .site-header{height:76px;min-height:76px;padding-block:12px;gap:10px}body:has(#learning-sections-menu) .site-header>.brand,body:has([data-learn-tarot-overview]) .site-header>.brand{font-size:20px;max-width:154px;gap:7px}body:has(#learning-sections-menu)>.language-toolbar,body:has([data-learn-tarot-overview])>.language-toolbar{right:82px;top:20px;max-width:76px}body:has(#learning-sections-menu)>.language-toolbar>label,body:has([data-learn-tarot-overview])>.language-toolbar>label{display:none}body:has(#learning-sections-menu)>.language-toolbar select,body:has([data-learn-tarot-overview])>.language-toolbar select{max-width:76px;font-size:12px;padding:6px}#learning-sections-menu{margin:0 0 20px}}
@media(max-width:600px){#learning-sections-menu>div{display:none}#learning-sections-menu>details{display:block;background:#eef5f1;border-left:3px solid #86aaa2;border-radius:0 8px 8px 0}#learning-sections-menu>details summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:10px 14px;font:600 14px/1.4 TLLNavigation,'Source Sans 3',Source,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#355e69}#learning-sections-menu>details summary::-webkit-details-marker{display:none}#learning-sections-menu>details summary>span{width:9px;height:9px;border-right:2px solid #557e83;border-bottom:2px solid #557e83;transform:rotate(45deg);margin:0 3px 4px 12px}#learning-sections-menu>details[open] summary>span{transform:rotate(225deg);margin-top:5px}#learning-sections-menu>details nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));border:0!important;padding:0 14px 12px!important;gap:4px 12px!important;background:none!important}#learning-sections-menu>details nav a{font-size:14px!important;line-height:1.4;padding:8px 6px!important;color:#355e69!important}#learning-sections-menu>details nav a[aria-current=page]{font-weight:700;text-decoration:underline!important;text-underline-offset:4px}}
/* Cross-document fades smooth full-page loads while the shared header stays anchored. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:140ms;animation-timing-function:ease-out}
::view-transition-group(tll-site-header),::view-transition-group(tll-learning-navigation){animation-duration:140ms;animation-timing-function:ease-out}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-old(root),::view-transition-new(root),::view-transition-group(tll-site-header),::view-transition-group(tll-learning-navigation){animation:none!important}}

#learning-sections-menu>details summary::after{content:none!important}
body.sales-page .site-header>.brand>img{width:23px;height:23px;flex:none}
@media(max-width:680px){body:has(#learning-sections-menu) .site-header>.brand,body:has([data-learn-tarot-overview]) .site-header>.brand{max-width:260px;white-space:nowrap}}
@media(max-width:430px){body:has(#learning-sections-menu) .site-header>.brand,body:has([data-learn-tarot-overview]) .site-header>.brand{font-size:16px;max-width:192px;gap:6px}body:has(#learning-sections-menu) .site-header>.brand>svg,body.sales-page .site-header>.brand>img{width:20px;height:20px}body:has(#learning-sections-menu)>.language-toolbar{right:78px;max-width:60px}body:has(#learning-sections-menu)>.language-toolbar select{max-width:60px}}

/* A small learning-menu disclosure leaves more room for the page on phones. */
@media(max-width:600px){
 #learning-sections-menu{margin-bottom:8px!important}
 #learning-sections-menu>details{width:fit-content;max-width:100%;background:none;border:0;border-radius:8px}
 #learning-sections-menu>details summary{min-height:44px;padding:8px 0;gap:10px;font-size:14px}
 #learning-sections-menu>details[open]{width:100%;background:#eef5f1}
 #learning-sections-menu>details[open] summary{padding-inline:12px}
}
