/* Astorians 1.4.0. Separate appearance layer, loaded after original Eduma/child styles.
   No change to pricing, enrollment, payments, or protected course access. */
body.astorians-signature{--ast-lp-accent:#c5a36c;--ast-lp-accent-hover:#e4ca96;--ast-lp-ink:#17120b;--ast-card-ratio:16/9;}
body.astorians-signature.astorians-lms-accent-teal{--ast-lp-accent:#4aa79a;--ast-lp-accent-hover:#79cabc;--ast-lp-ink:#101d1c}
body.astorians-signature.astorians-lms-accent-indigo{--ast-lp-accent:#a4a0ee;--ast-lp-accent-hover:#c4bfff;--ast-lp-ink:#181531}
body.astorians-signature.astorians-lms-ratio-landscape{--ast-card-ratio:4/3}
body.astorians-signature.astorians-lms-ratio-square{--ast-card-ratio:1}
body.astorians-signature.home .ast-course-cover{aspect-ratio:var(--ast-card-ratio)}
body.astorians-signature.astorians-lms-soft-corners :is(.ast-course-card,.ast-editorial-card){border-radius:12px;overflow:hidden}
body.astorians-signature.astorians-lms-soft-corners :is(.lp-button,.learn-press .button,button.lp-button){border-radius:8px}
body.astorians-signature:is(.single-lp_course,.post-type-archive-lp_course,.tax-course_category,.tax-course_tag,.lp-archive-courses) :is(.learn-press,.learnpress-content) .lp-button{background:var(--ast-lp-accent);border-color:var(--ast-lp-accent);color:var(--ast-lp-ink)}
body.astorians-signature:is(.single-lp_course,.post-type-archive-lp_course,.tax-course_category,.tax-course_tag,.lp-archive-courses) :is(.learn-press,.learnpress-content) .lp-button:hover{background:var(--ast-lp-accent-hover);border-color:var(--ast-lp-accent-hover);color:var(--ast-lp-ink)}
body.astorians-signature :is(.course-summary,.learn-press,.learnpress-content) :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--ast-lp-accent)!important;outline-offset:3px}
/* The switch belongs to real WordPress nav menus; administrators can still edit every menu item. */
body.astorians-signature .astorians-mode-item{display:flex;align-items:center;list-style:none}
body.astorians-signature .astorians-mode-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:76px;min-height:36px;background:transparent;color:#f7f3ea;border:1px solid rgba(210,175,111,.48);border-radius:20px;padding:5px 10px;font:600 11px/1.4 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
body.astorians-signature .astorians-mode-switch:hover{background:rgba(197,163,108,.15)}
body.astorians-signature .astorians-mode-switch:focus-visible{outline:3px solid var(--ast-gold-bright);outline-offset:3px}
body.astorians-signature .astorians-mode-symbol{font-size:17px;line-height:1}
body.astorians-signature .mobile-menu-wrapper .astorians-mode-switch{margin:12px 14px;color:#f7f3ea}
html[data-astorians-mode=light] body.astorians-signature,
body.astorians-signature.astorians-default-light:not(.astorians-appearance-override){--ast-night:#f7f5f0;--ast-night-2:#fff;--ast-panel:#fff;--ast-panel-2:#f2ede5;--ast-border:rgba(112,88,53,.25);--ast-ivory:#23221f;--ast-muted:#625e55;--ast-gold-bright:#97713a;--ast-surface:#faf9f6;color:#23221f;background:#f7f5f0}
html[data-astorians-mode=light] body.astorians-signature.home #main-content,
html[data-astorians-mode=light] body.astorians-signature.home #wrapper-container,
html[data-astorians-mode=light] body.astorians-signature.home .ast-home{background:#f7f5f0;color:#23221f}
html[data-astorians-mode=light] body.astorians-signature.home .ast-home :is(h1,h2,h3){color:#23221f}
html[data-astorians-mode=light] body.astorians-signature.home .ast-hero{background:radial-gradient(circle at 80% 38%,rgba(184,142,70,.14),transparent 65%),#fffdf9}
html[data-astorians-mode=light] body.astorians-signature.home .ast-lede{color:#5f5c54!important}
html[data-astorians-mode=light] body.astorians-signature.home .ast-ticker{background:#f0ece5;color:#554e43}
html[data-astorians-mode=light] body.astorians-signature.home .ast-course-card,
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-card{background:#fff;color:#23221f}
html[data-astorians-mode=light] body.astorians-signature.home .ast-course-filters button{background:#fff;color:#4d463c}
html[data-astorians-mode=light] body.astorians-signature.home .ast-course-filters button:is(:hover,.is-active){background:#b99151;color:#fff}
html[data-astorians-mode=light] body.astorians-signature.home :is(.ast-method-section,.ast-closing){background:#ece7de;color:#23221f}
html[data-astorians-mode=light] body.astorians-signature.home .ast-float-card{background:rgba(255,253,247,.96);box-shadow:0 15px 36px rgba(43,36,24,.12);color:#29251e}
html[data-astorians-mode=light] body.astorians-signature.home .ast-art-center{color:#f7f3ea}
html[data-astorians-mode=light] body.astorians-signature.home .ast-button-outline{color:#29251e!important;border-color:#b19a76}
html[data-astorians-mode=light] body.astorians-signature.home .ast-course-placeholder{background:#eee8de;color:#433827}
html[data-astorians-mode=light] body.astorians-signature.home .ast-empty-state{background:#fffcf7}
/* Editorial content shares readable neutral backgrounds and typography. */
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-page{background:#f7f5f0;color:#24221e;--ast-editorial-line:rgba(113,89,54,.25)}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-page :is(h1,h2,h3,h4){color:#23221f}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-page a{color:#77572a}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-page :is(.ast-editorial-hero,.ast-article-heading){background:radial-gradient(circle at 75% 12%,rgba(190,155,90,.11),transparent 60%),#fffdf9}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-card{background:#fff;color:#23221f}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-card h2 a{color:#282520!important}
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-card p,
html[data-astorians-mode=light] body.astorians-signature .ast-editorial-intro{color:#60594d}
html[data-astorians-mode=light] body.astorians-signature .ast-crumbs,
html[data-astorians-mode=light] body.astorians-signature .ast-crumbs a{color:#645c4f!important}
/* LearnPress templates remain plugin-owned; style only safe surface and foreground colors. */
html[data-astorians-mode=light] body.astorians-signature:is(.single-lp_course,.post-type-archive-lp_course,.tax-course_category,.tax-course_tag,.lp-archive-courses) #main-content{background:#f7f5f0;color:#292722}
html[data-astorians-mode=light] body.astorians-signature:is(.single-lp_course,.post-type-archive-lp_course,.tax-course_category,.tax-course_tag,.lp-archive-courses) #main-content :is(h1,h2,h3,h4){color:#25211c}
html[data-astorians-mode=light] body.astorians-signature:is(.single-lp_course,.post-type-archive-lp_course,.tax-course_category,.tax-course_tag,.lp-archive-courses) #main-content :is(input,select,textarea){background:#fff;color:#25211c;border-color:#a39a8d}
/* Navigation remains deliberately dark in both modes, so brand/logo contrast is stable. */
html[data-astorians-mode=light] body.astorians-signature #masthead .astorians-main-menu>li>a,
html[data-astorians-mode=light] body.astorians-signature #masthead .astorians-main-menu .sub-menu a{color:#f7f3ea!important}
html[data-astorians-mode=light] body.astorians-signature #masthead .astorians-main-menu .sub-menu{background:#151310!important}
html[data-astorians-mode=light] body.astorians-signature #masthead .astorians-mode-switch{color:#f7f3ea}
html[data-astorians-mode=light] body.astorians-signature footer.astorians-footer,
html[data-astorians-mode=light] body.astorians-signature footer.astorians-footer h2{color:#f7f3ea}
html[data-astorians-mode=light] body.astorians-signature footer.astorians-footer p,
html[data-astorians-mode=light] body.astorians-signature footer.astorians-footer .ast-footer-bottom{color:#b8b0a2}
html[data-astorians-mode=light] body.astorians-signature footer.astorians-footer a{color:#f7f3ea}
/* Improve right-to-left mode placement and reduce-motion preferences. */
[dir=rtl] body.astorians-signature .astorians-mode-switch{direction:rtl}
@media(prefers-reduced-motion:reduce){body.astorians-signature .astorians-mode-switch{transition:none}}
