:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(1,38,67);
	--wd-text-font-size: 16px;
	--wd-title-font: "PT Serif Caption", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: rgb(1,38,67);
	--wd-entities-title-font: "PT Serif Caption", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(1,38,67);
	--wd-entities-title-color-hover: rgb(113, 186, 166);
	--wd-alternative-font: "PT Serif", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "PT Serif", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(1,38,67);
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(30,56,46);
	--wd-alternative-color: rgb(104,178,155);
	--btn-default-font-family: "PT Serif", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 700;
	--btn-default-transform: capitalize;
	--btn-default-font-size: 16px;
	--btn-default-bgcolor: rgb(113,186,166);
	--btn-default-bgcolor-hover: rgb(75,150,132);
	--btn-default-padding: 8px 13px 8px 13px;
	--btn-accented-font-family: "PT Serif", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 700;
	--btn-accented-transform: capitalize;
	--btn-accented-font-size: 16px;
	--btn-accented-bgcolor: rgb(104,178,155);
	--btn-accented-bgcolor-hover: rgb(157,178,172);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgba(69,150,71,0.65);
	--notices-success-color: #fff;
	--notices-warning-bg: rgba(216,93,80,0.79);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(174,129,53);
	--wd-link-color-hover: rgba(174,129,53,0.62);
	--wd-link-decor-style-hover: solid;
	--wd-link-decor-color-hover: rgb(174,129,53);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(94,118,108);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,246,240);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(1,38,67);
	--wd-form-placeholder-color: rgba(1,38,67,0.53);
	--wd-form-bg: rgb(226,230,222);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 30px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* Base Styling for Course Cards */
.course-card {
    position: relative;
    transition: all 0.3s ease;
}

/* IF THEY OWN IT: Hide the buy button, show the enter button, keep colors bright */
.course-card.user-has-access .btn-buy { display: none; }
.course-card.user-has-access .btn-access { display: inline-block; }

/* IF THEY DON'T OWN IT: Grey out the image, hide the enter button, show the buy button */
.course-card.user-no-access {
    opacity: 0.6; /* Creates the half-tone effect */
}
.course-card.user-no-access .course-thumb {
    filter: grayscale(100%); /* Completely greys out the thumbnail image */
}
.course-card.user-no-access .btn-access { display: none; }
.course-card.user-no-access .btn-buy { display: inline-block; }


/* Removes WoodMart's default white content container box style on your TML form pages */
.page-template-default .container-wrap,
.tml .container-wrap,
.tml-lostpassword .container-wrap,
.tml-login .container-wrap {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Wipes the background wrapper element inside the main body block */
.main-page-wrapper {
    background-color: transparent !important;
}

/* Wipes out the Theme My Login default form box outline */
.tml-lostpassword,
.tml,
form[name="lostpasswordform"] {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Adjusts the spacing under your text field so buttons align beautifully */
.tml-user-login-wrap {
    margin-bottom: 20px !important;
}

/* Forcefully eliminates the message box layout container, its backgrounds, and left blue border indicator */
.tml p.message,
.tml-lostpassword p.message,
.woocommerce-message,
.woocommerce-info,
.message,
p.message {
    border: none !important;
    border-left: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/*
/* Styling for Module Groups inside the Sidebar */
.course-module-group {
    margin-bottom: 20px;
}

.course-module-header {
    font-size: 14px;
    text-transform: uppercase;
    color: #495057;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
    padding-left: 4px;
    border-left: 3px solid #0073aa; /* Accent indicator next to Part titles */
}

/* Adjust lesson list spacing under headers */
.course-lesson-list {
    margin: 0 0 10px 0 !important;
}

.course-sidebar-item {
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    margin-bottom: 4px;
}

/* Remove all metadata (author, date, and comments) below the post title */
body .woodmart-entry-meta, 
body .wd-post-meta,
body .entry-meta {
    display: none !important;
}

/* Remove the tags section typically found at the bottom of the post */
body .woodmart-entry-tags, 
body .wd-post-tags, 
body .single-meta-tags {
    display: none !important;
}

/* Hide text and breadcrumbs inside the page title section on single blog posts */
.single-post .wd-page-title .title,
.single-post .wd-page-title .breadcrumbs {
    display: none !important;
}

/* Force hide title and all possible breadcrumb variations on single blog posts */
.single-post .wd-page-title .title,
.single-post .wd-page-title .breadcrumbs,
.single-post .wd-page-title .yoast-breadcrumb,
.single-post .wd-page-title .woocommerce-breadcrumb,
.single-post .breadcrumbs-wrapper {
    display: none !important;
}

/* Container splits content side-by-side */
.course-player-container {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: start;
    font-family: 'Arial', sans-serif;
}

/* Sidebar Box Settings - Clean Card Layout */
.course-sidebar {
    flex: 0 0 320px; /* Locked sidebar width */
    background: #fdfdfd;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 20px; /* Locks sidebar in place while scrolling long lessons */
}

/* Parent Course Title Banner */
.course-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #123524; /* Deep Forest Green */
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #dfc384; /* Soft Metallic Gold Accent Accent Line */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Module Group Spacing */
.course-module-group {
    margin-bottom: 24px;
}

/* Part/Group Header Titles */
.course-module-header {
    font-size: 13px;
    text-transform: uppercase;
    color: #123524; /* Deep Forest Green */
    font-weight: 800;
    letter-spacing: 0.75px;
    margin: 0 0 10px 0;
    padding-left: 8px;
    border-left: 3px solid #dfc384; /* Left Gold Indicator Bar */
}

/* Lesson Grid Item Spacing */
.course-lesson-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual Lesson Row Link */
.course-sidebar-item {
    padding: 10px 14px;
    background: #f8fafc; /* Subtle Warm Gray/Off-White Background */
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.course-sidebar-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.course-sidebar-item a {
    text-decoration: none;
    color: #334155; /* Neutral Dark Text */
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

/* Pre-text step labels */
.lesson-number {
    font-weight: 700;
    color: #64748b; /* Medium Muted Text */
    font-size: 11px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

/* ACTIVE LESSON HIGHLIGHT ENGINE */
.course-sidebar-item.is-current-lesson {
    background: #123524 !important; /* Rich Dark Green Focus Block */
    border-color: #123524 !important;
    box-shadow: 0 4px 10px rgba(18, 53, 36, 0.15);
}

.course-sidebar-item.is-current-lesson a {
    color: #ffffff !important; /* Crisp White Text for active readability */
}

.course-sidebar-item.is-current-lesson .lesson-number {
    color: #dfc384 !important; /* Vibrant Gold Accent Text for the current step */
}

/* Main Content Area Adjustments */
.course-lesson-main-body {
    flex: 1;
    background: #ffffff;
}

/* Return to Dashboard Interface Link */
.sidebar-portal-return {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 10px;
    text-align: center;
}

.sidebar-portal-return a {
    font-size: 13px;
    text-decoration: none;
    color: #123524; /* Deep Forest Green Link */
    font-weight: 700;
    transition: color 0.2s ease;
}

.sidebar-portal-return a:hover {
    color: #dfc384; /* Transitions to Gold on hover */
}

/* Responsive Overrides for Tablet and Mobile Screens */
@media (max-width: 992px) {
    .course-player-container { flex-direction: column; gap: 24px; }
    .course-sidebar { flex: 1; width: 100%; position: relative; top: 0; }
}

/* Layout Positioning Configuration for Lesson Navigation Buttons */
.lesson-navigation-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Master Button Properties Layout */
.lesson-nav-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 30px; /* Modern capsule button design matching your frameworks */
    transition: all 0.3s ease;
}

/* Previous Button Styling: Off-White Frame with Forest Green Text */
.lesson-nav-btn.btn-prev {
    background-color: #f8fafc;
    color: #123524;
    border: 1px solid #e2e8f0;
}

.lesson-nav-btn.btn-prev:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(-3px); /* Subtle directional nudge on mouse hover */
}

/* Next Button Styling: Premium Solid Forest Green with Gold Accent Hover */
.lesson-nav-btn.btn-next {
    background-color: #123524; /* Primary Brand Forest Green */
    color: #ffffff;
    border: 1px solid #123524;
    box-shadow: 0 4px 12px rgba(18, 53, 36, 0.12);
}

.lesson-nav-btn.btn-next:hover {
    background-color: #dfc384; /* Transitions to Brand Gold Accent Frame on focus hover */
    border-color: #dfc384;
    color: #123524; /* Changes font text color back to dark green for clear visual contrast contrast */
    transform: translateX(3px); /* Subtle forward directional nudge on mouse hover */
    box-shadow: 0 4px 14px rgba(223, 195, 132, 0.3);
}

.lesson-nav-spacer {
    flex: 0 0 1px;
}

/* Wipes out the "Newer" and "Older" text entries from WoodMart post bars */
.woodmart-post-navigation .nav-subtitle,
.wd-action-btn.wd-style-icon-text .nav-subtitle,
.post-navigation .nav-subtitle {
    display: none !important;
}

/* Centers the remaining text title nicely within the button block space */
.woodmart-post-navigation .wd-label,
.woodmart-post-navigation a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Styling layout for the dynamic header notification spaces */
.sc-dashboard-header-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

/* Visitor Typographic Weights */
.sc-main-heading {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #123524 !important; /* Brand Forest Green */
    margin-bottom: 10px !important;
}

.sc-sub-heading {
    font-size: 16px !important;
    color: #64748b !important; /* Neutral slate grey */
    line-height: 1.5;
}

/* Customer Typographic Weights */
.sc-customer-heading {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
}

.sc-cta-text {
    font-size: 15px !important;
    color: #123524 !important; /* Brand Forest Green text highlight */
}
