/* Shared visual language, restricted to LearnPress front-end pages. */
body.hc-lms{--hc-bg:#fbf7ee;--hc-paper:#fff;--hc-ink:#16130f;--hc-muted:#5e574c;--hc-line:#e7dfcf;--hc-yellow:#ffd43b;--lp-primary-color:#16130f;--lp-secondary-color:#ffd43b;--lp-border-color:#e7dfcf;--lp-font-family:'Inter',sans-serif;background:var(--hc-bg);color:var(--hc-ink);font-family:'Inter',system-ui,sans-serif;line-height:1.6}
body.hc-lms .wp-site-blocks{padding-top:0}
body.hc-lms :is(h1,h2,h3,h4,h5,h6){font-family:'Fraunces',Georgia,serif;color:var(--hc-ink);font-weight:800;letter-spacing:-.025em;line-height:1.15}
body.hc-lms h1{font-size:clamp(2.3rem,5vw,4rem)}
body.hc-lms :is(a,p,label,td,th,input,select,textarea,button){font-family:inherit}
body.hc-lms a{color:var(--hc-ink);text-underline-offset:4px}
body.hc-lms a:hover{color:#765d00}
body.hc-lms .wp-site-blocks>header{background:var(--hc-bg);border-bottom:1px solid var(--hc-line);margin:0;padding:18px clamp(20px,4vw,48px)}
body.hc-lms .wp-site-blocks>header>.wp-block-group{padding:0!important;max-width:1140px;margin:auto}
body.hc-lms .wp-block-site-title{font-family:'Fraunces',Georgia,serif!important;font-weight:800;font-size:26px}
body.hc-lms .wp-site-blocks>footer{background:var(--hc-bg);border-top:1px solid var(--hc-line);color:var(--hc-muted);margin-top:72px;font-size:14px}
body.hc-lms .wp-site-blocks>footer h2{font-size:26px}
body.hc-lms main{padding-top:clamp(28px,5vw,64px);padding-bottom:40px}
body.hc-lms :is(.lp-content-area,.lp-archive-courses,.wp-block-learnpress-list-courses){max-width:1140px;margin-left:auto;margin-right:auto}
body.hc-lms :is(.lp-button,button[type=submit],input[type=submit],.wp-element-button,.wp-block-button__link,.course-button-read-more a,.learn-press-course-builder-link){border-radius:999px!important;border:1px solid var(--hc-ink)!important;background:var(--hc-ink)!important;color:var(--hc-bg)!important;padding:13px 24px;font:700 15px 'Inter',sans-serif;min-height:46px;text-decoration:none;box-shadow:none;cursor:pointer;transition:background .2s,transform .2s}
body.hc-lms :is(.lp-button,button[type=submit],input[type=submit],.wp-element-button,.wp-block-button__link,.course-button-read-more a):hover{background:#343027!important;color:#fff!important;transform:translateY(-1px)}
body.hc-lms :is(button,a,input,select,textarea):focus-visible{outline:3px solid #b48500;outline-offset:4px}
body.hc-lms :is(button,input):disabled{opacity:.55;cursor:not-allowed}
body.hc-lms :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=tel],input[type=url],select,textarea){box-sizing:border-box;border:1px solid var(--hc-line)!important;border-radius:12px!important;background:#fff!important;color:var(--hc-ink)!important;padding:12px 15px;min-height:46px;font-size:16px;max-width:100%;box-shadow:none}
body.hc-lms :is(input[type=checkbox],input[type=radio]){accent-color:var(--hc-ink)}
body.hc-lms textarea{min-height:110px}
body.hc-lms :is(.learn-press-message,.lp-message,.learn-press-notice){border-radius:14px;border-color:var(--hc-line);background:#fff1b8;color:var(--hc-ink);padding:18px 22px}
body.hc-lms :is(.lp-list-table,.shop_table){border-collapse:separate;border-spacing:0;width:100%;background:var(--hc-paper);border:1px solid var(--hc-line);border-radius:18px;overflow:hidden}
body.hc-lms :is(.lp-list-table,.shop_table) :is(th,td){border-color:var(--hc-line)!important;padding:16px 18px;color:var(--hc-ink)}
body.hc-lms :is(.lp-list-table,.shop_table) th{background:#fff1b8;font-weight:700}
body.hc-lms :is(.learn-press-courses .course-item,.wp-block-learnpress-course-item-template>.wp-block-group){background:#fff;border:1px solid var(--hc-line)!important;border-radius:22px!important;overflow:hidden;box-shadow:0 8px 24px #16130f06}
body.hc-lms .wp-block-learnpress-course-image img{width:100%;object-fit:cover;border-radius:20px 20px 0 0!important}
body.hc-lms .wp-block-learnpress-course-title{font-size:clamp(1.35rem,2vw,1.7rem)}
body.hc-lms :is(.course-price,.course-item-price){font-weight:700;color:var(--hc-ink)}
body.hc-lms :is(.course-price,.course-item-price) .origin-price{color:var(--hc-muted)}
body.hc-lms :is(.lp-archive-courses-sidebar,.widget_course_filter){background:#fff;border:1px solid var(--hc-line);border-radius:20px;padding:22px}
body.hc-lms .lp-archive-courses-sidebar .widget_course_filter{border:0;padding:0}
body.hc-lms :is(.course-filter-submit,.course-filter-reset){border-radius:999px;padding:10px 18px}
body.hc-lms :is(.learn-press-breadcrumb,.course-meta,.course-meta a){color:var(--hc-muted);font-size:14px}
body.hc-lms :is(.course-summary-sidebar__inner,.course-tabs,.course-curriculum .section,.learn-press-form-login,.learn-press-form-register){background:#fff;border:1px solid var(--hc-line);border-radius:20px;padding:24px}
body.hc-lms :is(.course-nav.active,.course-nav.active a,.learn-press-nav-tabs .course-nav.active label){background:#fff1b8;color:var(--hc-ink);border-color:var(--hc-yellow)}
body.hc-lms .course-curriculum .section-header{background:#fff1b8;border-radius:12px;color:var(--hc-ink)}
/* Checkout / cart summary: preserve every native payment field and action. */
body.hc-lms #learn-press-checkout-form{max-width:1100px;width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}
body.hc-lms #learn-press-checkout-form :is(.lp-checkout-form__before,.lp-checkout-form__after){width:auto;min-width:0;float:none}
body.hc-lms #learn-press-checkout-form .lp-checkout-block{float:none;width:100%;box-sizing:border-box}
body.hc-lms #checkout-order{background:#fff;border:2px solid var(--hc-ink);border-radius:26px;padding:28px;box-shadow:7px 7px 0 var(--hc-yellow);margin:0}
body.hc-lms #checkout-order h4{font-size:30px;margin:0 0 22px}
body.hc-lms #checkout-order .lp-list-table{border:0;border-radius:0}
body.hc-lms #checkout-order :is(td,th){padding:16px 8px;background:transparent}
body.hc-lms #checkout-order .order-total{font-size:20px;font-weight:700}
body.hc-lms #checkout-order .course-thumbnail img{border-radius:12px;max-width:88px}
body.hc-lms #checkout-order .course-name{font-weight:600;font-size:16px}
body.hc-lms #checkout-account-logged-in{background:#fff1b8;padding:18px 22px;border-radius:16px;border:1px solid var(--hc-line);margin-bottom:22px;overflow-wrap:anywhere}
body.hc-lms #checkout-payment{padding:26px;background:#fff;border:1px solid var(--hc-line);border-radius:22px;margin-top:22px}
body.hc-lms #checkout-payment h4{font-size:27px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
body.hc-lms #checkout-payment .secure-connection{font:500 12px 'Inter',sans-serif;color:var(--hc-muted)}
body.hc-lms .payment-methods{padding:0!important;list-style:none}
body.hc-lms .payment-methods .lp-payment-method{background:var(--hc-bg);border:1px solid var(--hc-line);border-radius:14px;padding:16px;margin-bottom:12px}
body.hc-lms #learn-press-checkout-place-order{width:100%;margin-top:18px}
body.hc-lms .lp-terms-and-conditions{font-size:13px;color:var(--hc-muted);line-height:1.7}
body.hc-lms .learn-press-checkout-comment textarea{width:100%}
/* Account, progress and classroom. */
body.hc-lms #learn-press-profile{max-width:1140px;margin:auto}
body.hc-lms .wrapper-profile-header{background:#fff1b8;border:1px solid var(--hc-line);border-radius:24px;margin-bottom:28px;padding:26px}
body.hc-lms .lp-profile-username{font-size:clamp(1.3rem,3vw,2rem);overflow-wrap:anywhere}
body.hc-lms :is(.lp-profile-nav-tabs,.profile-nav){background:#fff;border-radius:18px}
body.hc-lms .lp-profile-nav-tabs>li{border-color:var(--hc-line)}
body.hc-lms .lp-profile-nav-tabs li>a{color:var(--hc-ink);font-weight:600}
body.hc-lms .lp-profile-nav-tabs :is(li.active>a,li:hover>a){background:#fff1b8;color:var(--hc-ink)}
body.hc-lms :is(.lp-profile-content,.profile-recover-order){background:#fff;border:1px solid var(--hc-line);border-radius:20px;padding:26px;min-width:0}
body.hc-lms :is(.learn-press-tabs,.learn-press-filters){border-color:var(--hc-line)}
body.hc-lms .learn-press-filters a{color:var(--hc-muted)}
body.hc-lms .learn-press-filters .active a{color:var(--hc-ink);font-weight:700}
body.hc-lms :is(#popup-course,#popup-content,#learn-press-content-item){background:var(--hc-bg);color:var(--hc-ink)}
body.hc-lms :is(#popup-header,#popup-sidebar,.course-item-nav){background:#fff;border-color:var(--hc-line)}
body.hc-lms :is(.progress-bar,.learn-press-progress .progress-bg){background:var(--hc-yellow)}
body.hc-lms .learn-press-pagination a,body.hc-lms .learn-press-pagination span{border-radius:50%;border-color:var(--hc-line)}
body.hc-lms .learn-press-pagination .current{background:var(--hc-ink);color:#fff}
@media(max-width:780px){body.hc-lms #learn-press-checkout-form{grid-template-columns:1fr;gap:28px}body.hc-lms #checkout-order{padding:22px;box-shadow:5px 5px 0 var(--hc-yellow)}body.hc-lms #checkout-payment{padding:20px}body.hc-lms :is(.lp-profile-content,.wrapper-profile-header){padding:18px}body.hc-lms .wp-site-blocks>header{padding:16px 20px}body.hc-lms .lp-list-table :is(th,td){padding:12px 8px}body.hc-lms main{padding-left:20px!important;padding-right:20px!important}}
@media(prefers-reduced-motion:reduce){body.hc-lms *{scroll-behavior:auto!important;transition:none!important}}
body.hc-lms{font-size:16px;font-weight:400}
body.hc-lms :is(.lp-form-course-filter__title,.lp-course-filter__field label,.lp-form-course-filter__content,.lp-form-course-filter__title a){color:var(--hc-ink)!important;font-size:14px;overflow-wrap:anywhere}
body.hc-lms .lp-form-course-filter__title{font-weight:700;font-size:16px}
body.hc-lms :is(.course-filter-submit,.course-filter-reset){display:block!important;width:100%!important;margin:10px 0!important;padding:10px 12px!important;white-space:nowrap!important;word-break:normal!important;border:1px solid var(--hc-ink)!important;font-size:13px!important;line-height:1.4!important;min-height:42px!important}
body.hc-lms .course-filter-reset{background:transparent!important;color:var(--hc-ink)!important}
body.hc-lms .course-instructor{font-size:13px;overflow-wrap:anywhere}
body.hc-lms #checkout-order .course-title{white-space:normal!important;overflow:visible!important;display:block!important;text-overflow:clip!important;line-height:1.4}
body.hc-lms #checkout-order .course-name{white-space:normal!important}
body.hc-lms #checkout-payment .lp-payment-method>label{background:transparent!important;color:var(--hc-ink)!important}
body.hc-lms .lp-profile-nav-tabs li.active>a i{color:var(--hc-ink)!important}
body.hc-lms .learn-press-courses .course{min-width:0}
body.hc-lms .lp-profile-nav-tabs{flex-wrap:wrap}
@media(max-width:600px){body.hc-lms .learn-press-courses.grid-template-columns{grid-template-columns:1fr!important}body.hc-lms #checkout-order .course-thumbnail{display:none}body.hc-lms .lp-profile-username{font-size:1.3rem}}
body.hc-lms{--wp--preset--color--base:#fbf7ee;--wp--preset--color--contrast:#16130f;--wp--preset--color--accent-1:#ffd43b;--wp--preset--color--accent-2:#fff1b8;--wp--preset--color--accent-3:#16130f}
body.hc-lms .wp-site-blocks .has-base-background-color{background-color:var(--hc-bg)!important;color:var(--hc-ink)!important}
body.hc-lms .wp-site-blocks .lp-block-course-sidebar{background:#fff!important;border:1px solid var(--hc-line)!important;border-radius:22px;overflow:hidden;color:var(--hc-ink)!important}
body.hc-lms :is(.wp-block-learnpress-course-last-update,.wp-block-learnpress-course-instructor){color:var(--hc-muted)!important}
body.hc-lms :is(.course-section-header,.lp-modal-header){background:#fff1b8!important;color:var(--hc-ink)!important}
body.hc-lms :is(.course-section-header,.course-section-item,.course-curriculum) :is(a,button,h3,h4,.section-title,.course-item-title){color:var(--hc-ink)!important}
body.hc-lms .course-section{border:1px solid var(--hc-line);border-radius:14px;overflow:hidden;margin-bottom:16px}
body.hc-lms :is(.lp-modal-content,.lp-modal-footer){background:var(--hc-bg);color:var(--hc-ink)}
/* Explicit dark theme requested by the site owner. */
body.hc-lms{--hc-bg:#14120e;--hc-paper:#1d1a15;--hc-ink:#f6f1e6;--hc-muted:#b4ab9b;--hc-line:#3b352b;--hc-yellow:#ffd43b;--wp--preset--color--base:#14120e;--wp--preset--color--contrast:#f6f1e6;--wp--preset--color--accent-1:#ffd43b;--wp--preset--color--accent-2:#3a3212;--wp--preset--color--accent-3:#f6f1e6;--lp-primary-color:#ffd43b;color-scheme:dark;background:#14120e!important;color:#f6f1e6!important}
body.hc-lms .wp-site-blocks :is(h1,h2,h3,h4,h5,h6,a,label,p,td,th){color:var(--hc-ink)}
body.hc-lms :is(.lp-list-table,.shop_table,.lp-archive-courses-sidebar,.widget_course_filter,.course-summary-sidebar__inner,.course-tabs,.course-curriculum .section,.learn-press-form-login,.learn-press-form-register,.lp-profile-content,.profile-recover-order,.profile-nav,.lp-profile-nav-tabs,#checkout-order,#checkout-payment,#popup-header,#popup-sidebar,.course-item-nav,.learn-press-courses .course-item,.wp-block-learnpress-course-item-template>.wp-block-group){background:var(--hc-paper)!important;color:var(--hc-ink)!important;border-color:var(--hc-line)!important}
body.hc-lms .wp-site-blocks .lp-block-course-sidebar{background:var(--hc-paper)!important;color:var(--hc-ink)!important}
body.hc-lms :is(.wrapper-profile-header,#checkout-account-logged-in,.course-section-header,.lp-modal-header,.learn-press-message,.lp-message,.learn-press-notice),body.hc-lms .lp-profile-nav-tabs :is(li.active>a,li:hover>a){background:#3a3212!important;color:var(--hc-ink)!important}
body.hc-lms :is(.lp-list-table,.shop_table) th{background:#3a3212!important;color:var(--hc-ink)!important}
body.hc-lms :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=tel],input[type=url],select,textarea){background:var(--hc-paper)!important;color:var(--hc-ink)!important;border-color:var(--hc-line)!important}
body.hc-lms :is(.lp-button,button[type=submit],input[type=submit],.wp-element-button,.wp-block-button__link,.course-button-read-more a,.learn-press-course-builder-link,.course-filter-submit){background:var(--hc-yellow)!important;color:#16130f!important;border-color:var(--hc-yellow)!important}
body.hc-lms :is(.lp-button,button[type=submit],input[type=submit],.wp-element-button,.wp-block-button__link,.course-button-read-more a):hover{background:#ffe37b!important;color:#16130f!important}
body.hc-lms .course-filter-reset{background:transparent!important;color:var(--hc-ink)!important;border-color:var(--hc-line)!important}
body.hc-lms #checkout-payment .payment-method-form,body.hc-lms #checkout-payment .lp-payment-method{background:var(--hc-bg)!important;color:var(--hc-ink)!important}
body.hc-lms .lp-profile-nav-tabs li.active>a i{color:var(--hc-yellow)!important}
body.hc-lms #hc-sales{--bg:#14120e;--paper:#1d1a15;--ink:#f6f1e6;--mute:#b4ab9b;--line:#3b352b;--hl-soft:#3a3212}
body.hc-lms #hc-sales .btn-main,body.hc-lms #hc-sales .purchase-course button{background:#ffd43b!important;color:#16130f!important;border-color:#ffd43b!important}
body.hc-lms #hc-sales .btn-ghost{color:#f6f1e6;border-color:#f6f1e6}
body.hc-lms #hc-sales .mark,body.hc-lms #hc-sales .topbar,body.hc-lms #hc-sales .topbar a{color:#16130f}
body.hc-lms #wpadminbar input{min-height:0;padding:0;border:0!important;background:transparent!important;border-radius:0!important}
