:root {
	--wd-text-font: "Noto Kufi Arabic", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Noto Kufi Arabic", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: var(--wd-title-font);
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: var(--wd-text-font);
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(165,0,0);
	--wd-alternative-color: rgb(46,46,46);
	--btn-default-font-family: "Noto Kufi Arabic", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: rgb(173,36,36);
	--btn-accented-font-family: "Noto Kufi Arabic", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(155,38,38);
	--btn-accented-bgcolor-hover: rgb(204,57,57);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(129,215,66);
	--wd-link-decor-color: rgb(221,51,51);
	--wd-link-decor-color-hover: rgb(129,215,66);
}
.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: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1160px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--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: 8px;
}

@media (min-width: 1160px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


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

/* ==== اعتماد: هيدر شفاف + شريط موبايل زجاجي ==== */
.whb-header{position:absolute!important;top:0;left:0;right:0;width:100%!important;z-index:60}
.whb-general-header{background:transparent!important;box-shadow:none!important;border:none!important}
.whb-general-header::after{content:none!important}
.whb-general-header .wd-nav>ul>li>a,.whb-general-header .menu>li>a{color:#fff!important}
.whb-general-header .wd-nav>ul>li>a:hover{color:#e9c9a8!important}
.whb-general-header .wd-tools-element a,.whb-general-header .search-button{color:#fff!important}
.whb-general-header .wd-tools-element .wd-tools-icon,.whb-general-header .search-button svg,.whb-general-header .wd-tools-element svg{fill:#fff!important;color:#fff!important}
.whb-general-header .wd-login,.whb-general-header .wd-login a,.whb-general-header .wd-login span{color:#fff!important}
.whb-top-bar{display:none!important}
.whb-general-header .wd-logo img{filter:drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 12px rgba(255,255,255,.30))!important}
@media (min-width:1025px){.whb-general-header .wd-header-my-account .wd-tools-icon{color:#252525!important}}
@media (max-width:1024px){.whb-general-header .wd-header-my-account .wd-tools-icon{color:#fff!important}}
.scrollToTop{display:none!important}
@media (max-width:1024px){
body .wd-toolbar.wd-toolbar-label-show{background:rgba(25,25,25,0.45)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;box-shadow:0 10px 30px rgba(0,0,0,0.25)!important;border:1px solid rgba(255,255,255,0.12)!important}
.wd-toolbar .wd-toolbar-item,.wd-toolbar .wd-toolbar-item a,.wd-toolbar .wd-toolbar-label,.wd-toolbar .wd-tools-icon{color:#fff!important}
.wd-toolbar .wd-tools-icon::before,.wd-toolbar .wd-toolbar-item a::before{color:#fff!important}
.wd-toolbar .wd-custom-icon img{display:none!important}
}
/* تعويضات صفحات محددة */
@media (max-width:1024px){
body.page-id-15979 .tsurf-hero-gold{padding-top:70px!important}
body.page-id-35328 .tsurf-tests-standalone{margin-top:-50px!important;padding-top:calc(48px + 50px)!important}
}

/* صفحات فاتحة: هيدر زجاجي فاتح بأيقونات داكنة */
body.page-id-27609 .whb-general-header,
body.page-id-1705 .whb-general-header,
body.page-id-15933 .whb-general-header,
body.blog .whb-general-header,
body.archive .whb-general-header,
body.single-post .whb-general-header,
body.woocommerce .whb-general-header{background:rgba(255,255,255,0.78)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-bottom:1px solid rgba(0,0,0,0.07)!important}
body.page-id-27609 .whb-general-header .wd-nav>ul>li>a,
body.page-id-1705 .whb-general-header .wd-nav>ul>li>a,
body.page-id-15933 .whb-general-header .wd-nav>ul>li>a,
body.blog .whb-general-header .wd-nav>ul>li>a,
body.archive .whb-general-header .wd-nav>ul>li>a,
body.single-post .whb-general-header .wd-nav>ul>li>a,
body.woocommerce .whb-general-header .wd-nav>ul>li>a{color:#252525!important}
body.page-id-27609 .whb-general-header .menu>li>a,
body.page-id-1705 .whb-general-header .menu>li>a,
body.page-id-15933 .whb-general-header .menu>li>a,
body.blog .whb-general-header .menu>li>a,
body.archive .whb-general-header .menu>li>a,
body.single-post .whb-general-header .menu>li>a,
body.woocommerce .whb-general-header .menu>li>a{color:#252525!important}
body.page-id-27609 .whb-general-header .wd-nav>ul>li>a:hover,
body.page-id-1705 .whb-general-header .wd-nav>ul>li>a:hover,
body.page-id-15933 .whb-general-header .wd-nav>ul>li>a:hover,
body.blog .whb-general-header .wd-nav>ul>li>a:hover,
body.archive .whb-general-header .wd-nav>ul>li>a:hover,
body.single-post .whb-general-header .wd-nav>ul>li>a:hover,
body.woocommerce .whb-general-header .wd-nav>ul>li>a:hover{color:#a51413!important}
body.page-id-27609 .whb-general-header .wd-tools-element a,
body.page-id-1705 .whb-general-header .wd-tools-element a,
body.page-id-15933 .whb-general-header .wd-tools-element a,
body.blog .whb-general-header .wd-tools-element a,
body.archive .whb-general-header .wd-tools-element a,
body.single-post .whb-general-header .wd-tools-element a,
body.woocommerce .whb-general-header .wd-tools-element a{color:#252525!important}
body.page-id-27609 .whb-general-header .search-button,
body.page-id-1705 .whb-general-header .search-button,
body.page-id-15933 .whb-general-header .search-button,
body.blog .whb-general-header .search-button,
body.archive .whb-general-header .search-button,
body.single-post .whb-general-header .search-button,
body.woocommerce .whb-general-header .search-button{color:#252525!important}
body.page-id-27609 .whb-general-header .wd-tools-element .wd-tools-icon,
body.page-id-1705 .whb-general-header .wd-tools-element .wd-tools-icon,
body.page-id-15933 .whb-general-header .wd-tools-element .wd-tools-icon,
body.blog .whb-general-header .wd-tools-element .wd-tools-icon,
body.archive .whb-general-header .wd-tools-element .wd-tools-icon,
body.single-post .whb-general-header .wd-tools-element .wd-tools-icon,
body.woocommerce .whb-general-header .wd-tools-element .wd-tools-icon{fill:#252525!important;color:#252525!important}
body.page-id-27609 .whb-general-header .search-button svg,
body.page-id-1705 .whb-general-header .search-button svg,
body.page-id-15933 .whb-general-header .search-button svg,
body.blog .whb-general-header .search-button svg,
body.archive .whb-general-header .search-button svg,
body.single-post .whb-general-header .search-button svg,
body.woocommerce .whb-general-header .search-button svg{fill:#252525!important;color:#252525!important}
body.page-id-27609 .whb-general-header .wd-tools-element svg,
body.page-id-1705 .whb-general-header .wd-tools-element svg,
body.page-id-15933 .whb-general-header .wd-tools-element svg,
body.blog .whb-general-header .wd-tools-element svg,
body.archive .whb-general-header .wd-tools-element svg,
body.single-post .whb-general-header .wd-tools-element svg,
body.woocommerce .whb-general-header .wd-tools-element svg{fill:#252525!important;color:#252525!important}
body.page-id-27609 .whb-general-header .wd-login,
body.page-id-1705 .whb-general-header .wd-login,
body.page-id-15933 .whb-general-header .wd-login,
body.blog .whb-general-header .wd-login,
body.archive .whb-general-header .wd-login,
body.single-post .whb-general-header .wd-login,
body.woocommerce .whb-general-header .wd-login{color:#252525!important}
body.page-id-27609 .whb-general-header .wd-login a,
body.page-id-1705 .whb-general-header .wd-login a,
body.page-id-15933 .whb-general-header .wd-login a,
body.blog .whb-general-header .wd-login a,
body.archive .whb-general-header .wd-login a,
body.single-post .whb-general-header .wd-login a,
body.woocommerce .whb-general-header .wd-login a{color:#252525!important}
body.page-id-27609 .whb-general-header .wd-login span,
body.page-id-1705 .whb-general-header .wd-login span,
body.page-id-15933 .whb-general-header .wd-login span,
body.blog .whb-general-header .wd-login span,
body.archive .whb-general-header .wd-login span,
body.single-post .whb-general-header .wd-login span,
body.woocommerce .whb-general-header .wd-login span{color:#252525!important}
body.page-id-27609 .whb-general-header .wd-logo img,
body.page-id-1705 .whb-general-header .wd-logo img,
body.page-id-15933 .whb-general-header .wd-logo img,
body.blog .whb-general-header .wd-logo img,
body.archive .whb-general-header .wd-logo img,
body.single-post .whb-general-header .wd-logo img,
body.woocommerce .whb-general-header .wd-logo img{filter:none!important}
body.page-id-27609 .whb-general-header .wd-header-my-account .wd-tools-icon,
body.page-id-1705 .whb-general-header .wd-header-my-account .wd-tools-icon,
body.page-id-15933 .whb-general-header .wd-header-my-account .wd-tools-icon,
body.blog .whb-general-header .wd-header-my-account .wd-tools-icon,
body.archive .whb-general-header .wd-header-my-account .wd-tools-icon,
body.single-post .whb-general-header .wd-header-my-account .wd-tools-icon,
body.woocommerce .whb-general-header .wd-header-my-account .wd-tools-icon{color:#252525!important}

/* الرئيسية: إخفاء خط الطاقة المتوهج فوق الهيدر الشفاف */
body.page-id-27609 .top-energy-line{display:none!important}

/* الاختبارات: سحب الويدجت تحت الهيدر على الديسكتوب */
@media (min-width:1025px){
body.page-id-35328 .tsurf-tests-standalone{margin-top:-50px!important;padding-top:114px!important}
}

/* استشارات ومن نحن: نفس معالجة الصفحات الفاتحة للهيدر */
body:is(.page-id-15003,.page-id-1107) .whb-general-header{background:rgba(255,255,255,0.78)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-bottom:1px solid rgba(0,0,0,0.07)!important}
body:is(.page-id-15003,.page-id-1107) .whb-general-header :is(.wd-nav>ul>li>a,.menu>li>a,.wd-tools-element a,.search-button,.wd-login,.wd-login a,.wd-login span){color:#252525!important}
body:is(.page-id-15003,.page-id-1107) .whb-general-header .wd-nav>ul>li>a:hover{color:#a51413!important}
body:is(.page-id-15003,.page-id-1107) .whb-general-header :is(.wd-tools-element .wd-tools-icon,.search-button svg,.wd-tools-element svg){fill:#252525!important;color:#252525!important}
body:is(.page-id-15003,.page-id-1107) .whb-general-header .wd-logo img{filter:none!important}
body:is(.page-id-15003,.page-id-1107) .whb-general-header .wd-header-my-account .wd-tools-icon{color:#252525!important}

/* نظام السمات - معاينة فقط عبر data-theme */
html[data-theme="light"] body:is(.page-id-15979,.page-id-35328){--surface-base:#faf8f6;--surface-deep:#f0ebe6;--text-primary:#252525;--text-secondary:#3f3f46;--text-muted-dark:#6b7280;--border-secondary:rgba(37,37,37,0.35)}
html[data-theme="dark"] body.page-id-27609{--bg-main:#161616;--bg-alt:#1d1b1b;--bg-card:#221f1f;--brand-dark:#f2f2f2;--text-main:#ededed;--text-muted:#b5b5b5;--border-light:#383838}
html[data-theme="dark"] body.page-id-27609 .hero{background:linear-gradient(#1c1a1a 0%, #161616 100%)!important}
html[data-theme="dark"] :is(body.page-id-1705,body.page-id-15933,body.page-id-15003,body.page-id-1107,body.blog,body.archive,body.single-post,body.woocommerce){background:#161616!important;color:#ededed}
html[data-theme="dark"] :is(body.page-id-1705,body.page-id-15933,body.page-id-15003,body.page-id-1107,body.blog,body.archive,body.single-post,body.woocommerce) :is(.main-page-wrapper,#content,.site-content,.website-wrapper){background:#161616!important}
html[data-theme="light"] .whb-general-header{background:rgba(255,255,255,0.78)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-bottom:1px solid rgba(0,0,0,0.07)!important}
html[data-theme="light"] .whb-general-header :is(.wd-nav>ul>li>a,.menu>li>a,.wd-tools-element a,.search-button,.wd-login,.wd-login a,.wd-login span,.wd-header-my-account .wd-tools-icon){color:#252525!important}
html[data-theme="light"] .whb-general-header .wd-nav>ul>li>a:hover{color:#a51413!important}
html[data-theme="light"] .whb-general-header :is(.wd-tools-element .wd-tools-icon,.search-button svg,.wd-tools-element svg){fill:#252525!important;color:#252525!important}
html[data-theme="light"] .whb-general-header .wd-logo img{filter:none!important}
html[data-theme="dark"] .whb-general-header{background:rgba(22,22,22,0.82)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-bottom:1px solid rgba(255,255,255,0.08)!important}
html[data-theme="dark"] .whb-general-header :is(.wd-nav>ul>li>a,.menu>li>a,.wd-tools-element a,.search-button,.wd-login,.wd-login a,.wd-login span){color:#f2f2f2!important}
html[data-theme="dark"] .whb-general-header .wd-nav>ul>li>a:hover{color:#e9c9a8!important}
html[data-theme="dark"] .whb-general-header :is(.wd-tools-element .wd-tools-icon,.search-button svg,.wd-tools-element svg){fill:#f2f2f2!important;color:#f2f2f2!important}
html[data-theme="dark"] .whb-general-header .wd-logo img{filter:drop-shadow(0 0 2px rgba(255,255,255,0.95)) drop-shadow(0 0 12px rgba(255,255,255,0.30))!important}
html[data-theme="dark"] .whb-general-header .wd-header-my-account .wd-tools-icon{color:#f2f2f2!important}
html[data-theme="light"] body .wd-toolbar.wd-toolbar-label-show{background:rgba(255,255,255,0.72)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;box-shadow:0 10px 30px rgba(0,0,0,0.12)!important;border:1px solid rgba(0,0,0,0.08)!important}
html[data-theme="light"] .wd-toolbar :is(.wd-toolbar-item,.wd-toolbar-item a,.wd-toolbar-label,.wd-tools-icon){color:#252525!important}
html[data-theme="light"] .wd-toolbar :is(.wd-tools-icon::before,.wd-toolbar-item a::before){color:#252525!important}
html[data-theme="light"] .wd-toolbar .wd-custom-icon img{filter:none!important}
.tsurf-theme-toggle{position:fixed;bottom:92px;inset-inline-start:16px;z-index:2147483000;padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,0.25);background:rgba(37,37,37,0.72);color:#fff;font-family:Tajawal,Cairo,sans-serif;font-size:14px;font-weight:700;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(0,0,0,0.25)}
html[data-theme="light"] .tsurf-theme-toggle{background:rgba(255,255,255,0.8);color:#252525;border-color:rgba(0,0,0,0.12);box-shadow:0 8px 24px rgba(0,0,0,0.15)}
@media (min-width:1025px){.tsurf-theme-toggle{bottom:24px}}

/* السمات v2: الوضع الفاتح لأقسام الكوانتم وشريط الاختبارات */
html[data-theme="light"] .tsurf-quantum-wrapper{--bg-cosmos:#faf8f6;--bg-deep:#f0ebe6;--bg-card:rgba(255,255,255,0.9);--bg-card-hover:rgba(255,255,255,0.98);--brand-red-text:#a51413;--brand-red-border:#a51413;--text-white:#252525;--text-silver:#3f3f46;--border-glass:rgba(37,37,37,0.12);--border-glass-strong:rgba(165,20,19,0.45);--glow-card:0 20px 48px rgba(0,0,0,0.12)}
html[data-theme="light"] .hz-tests-head h2{color:#252525!important}
html[data-theme="light"] .hz-tests-head p{color:#5b5b66!important}
html[data-theme="light"] .hz-test-card{background:rgba(255,255,255,0.88)!important;border-color:rgba(37,37,37,0.14)!important}
html[data-theme="light"] .hz-test-body h3{color:#252525!important}
html[data-theme="light"] .hz-test-body a{color:#a51413!important}
html[data-theme="light"] .hz-test-card:hover{border-color:rgba(165,20,19,0.45)!important}

/* السمات v3: الوضع الفاتح لبطاقة العرض المميزة */
html[data-theme="light"] .tsurf-quantum-wrapper .tsurf-featured-showcase,
html[data-theme="light"] .tsurf-quantum-wrapper .tsurf-featured-showcase.is-featured{background:radial-gradient(circle at right top, rgba(165,20,19,0.10), rgba(255,255,255,0.96) 65%)!important;border-color:rgba(165,20,19,0.28)!important}
html[data-theme="light"] .tsurf-quantum-wrapper .tsurf-showcase-title{color:#252525!important}

/* السمات v4: مقروئية الوضع الفاتح + أقسام الرئيسية الداكنة */
html[data-theme="light"] .tsurf-hero-standalone .tsurf-hero-btn-primary{color:#ffffff!important}
html[data-theme="light"] .tsurf-hero-standalone .tsurf-hero-btn-primary :is(i,svg){color:#ffffff!important;fill:#ffffff!important}
html[data-theme="light"] .tsurf-hero-standalone .tsurf-stat-num{color:#252525!important}
html[data-theme="light"] .hz-test-cta{color:#a51413!important}
html[data-theme="dark"] body.page-id-27609 :is(.usp-item,.service-card){background:#221f1f!important;border-color:#383838!important}
html[data-theme="dark"] body.page-id-27609 .card-btn{background:#2c2a2a!important}
html[data-theme="dark"] body.page-id-27609 .social-proof{background:#161616!important}
html[data-theme="dark"] body.page-id-27609 .testimonial-card{background:#1f1d1d!important;border-color:#383838!important}
html[data-theme="dark"] body.page-id-27609 .hero::before{background-image:radial-gradient(#2e2b2b 1px, transparent 1px)!important}

/* السمات v5: إكمال الوضع الداكن للرئيسية */
html[data-theme="dark"] body.page-id-27609 :is(.website-wrapper,.main-page-wrapper){background:#161616!important}
html[data-theme="dark"] body.page-id-27609 .section-padding{background:transparent!important}
html[data-theme="dark"] body.page-id-27609 :is(.hz-prog-card,.hz-card,.hp-tcard){background:#221f1f!important;border-color:#383838!important}
html[data-theme="dark"] body.page-id-27609 .partners-wrapper{background:#1f1d1f!important;border-color:#383838!important}
html[data-theme="dark"] body.page-id-27609 .hp-modal-box{background:#1f1d1d!important;color:#ededed!important}
html[data-theme="dark"] body.page-id-27609 .hz-masarat .hz-card.hz-vip{background:linear-gradient(180deg,#262222 55%,#2c2121 100%)!important;border-color:rgba(165,20,19,0.4)!important}
html[data-theme="dark"] body.page-id-27609 .hp-tex{color:#c9c9c9!important}
html[data-theme="dark"] body.page-id-27609 .btn-sec:hover{background:#221f1f!important}
html[data-theme="dark"] :is(.wd-dropdown-menu,.wd-search-results,.wd-search-full-screen){background:#1c1c1c!important;color:#ededed!important}
html[data-theme="dark"] .mobile-nav{background:#1c1c1c!important}
html[data-theme="dark"] .mobile-nav :is(a,span,.wd-nav a){color:#ededed!important}

/* السمات v6: عناوين الرئيسية في الوضع الداكن */
html[data-theme="dark"] body.page-id-27609 :is(h1,h2,h3,h4,h5,.hz-section-title,.hz-title){color:#f2f2f2!important}
html[data-theme="dark"] body.page-id-27609 :is(h1,h2,h3,h4) :is(span,strong,em){color:inherit}
html[data-theme="dark"] body.page-id-27609 .hz-masarat p,
html[data-theme="dark"] body.page-id-27609 .hz-programs p{color:#c9c9c9!important}

/* السمات v7: زر التبديل على الجوال */
@media (max-width:768px){.tsurf-theme-toggle{bottom:150px!important;inset-inline-start:16px!important;inset-inline-end:auto!important}}

/* السمات v8: مقروئية الروابط الداكنة والشركاء وشارات البطاقات وشريط الجوال */
html[data-theme="dark"] body.page-id-27609 :is(.hz-prog-cta,.hz-link,.hp-tread){color:#e8594f!important}
html[data-theme="dark"] body.page-id-27609 .partner-box{background:#f5f3f2!important;border-color:#e2dcda!important;border-radius:14px!important}
html[data-theme="dark"] body.page-id-27609 .partner-box span{color:#3a3a3a!important}
html[data-theme="light"] .tsurf-pill-badge{color:#f5f5f5!important}
html[data-theme="light"] .wd-toolbar .wd-tools-icon,html[data-theme="light"] .wd-toolbar .wd-tools-icon::before{color:#252525!important}
html[data-theme="light"] .wd-toolbar img{filter:brightness(0.18)}

/* السمات v9: مساحة شارات الشركاء */
html[data-theme="dark"] body.page-id-27609 .partner-box{padding:16px 22px!important;min-width:180px!important;box-sizing:border-box!important}
@media (max-width:768px){html[data-theme="dark"] body.page-id-27609 .partner-box{padding:10px 12px!important;min-width:0!important;max-width:100%!important;flex:1 1 28%!important}}

/* السمات v10: البطاقات الداكنة لصفحات المحتوى الفاتحة */
html[data-theme="dark"] :is(.free-consult-section,.consult-box,.psychology-section,.health-section,.service-card){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] .header-icon{background:#2b2828!important;color:#e8594f!important}
html[data-theme="dark"] :is(.special-offer-container,.trust-item,.hero-card,.book-pages){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body.page-id-15933 .partners-wrapper{background:#1f1d1d!important;border-color:#383838!important}
html[data-theme="dark"] :is(.tutor-card,.tutor-course-card){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] .tutor-modal-content{background:#1f1d1d!important;color:#ededed!important}
html[data-theme="dark"] :is(a.card,.tac-card,.tac-team-card){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] .tac-service-btn{background:#221f1f!important;border-color:#383838!important;color:#e8594f!important}
html[data-theme="dark"] :is(.cart-widget-side,.login-form-side){background:#1c1c1c!important;color:#ededed!important}
html[data-theme="dark"] :is(body.page-id-15003,body.page-id-1705,body.page-id-1107,body.page-id-15933) :is(h1,h2,h3,h4,h5){color:#f2f2f2!important}
html[data-theme="dark"] :is(body.page-id-15003,body.page-id-1705,body.page-id-1107,body.page-id-15933) :is(h1,h2,h3,h4,h5) :is(span,strong,em){color:inherit}
html[data-theme="dark"] :is(body.page-id-15003,body.page-id-1705,body.page-id-1107,body.page-id-15933) :is(p,li){color:#cfcfcf!important}
html[data-theme="dark"] :is(.iti__dropdown-content,.iti__country-list,.iti__search-input-wrapper){background:#1c1c1c!important;color:#ededed!important}
html[data-theme="dark"] .wawp-tab.active{background:#2b2828!important;color:#ededed!important}
html[data-theme="dark"] :is(.iti__tel-input,.js-wawp-email-input){background:#2b2828!important;color:#ededed!important;border-color:#444!important}

/* السمات v11: تقوية قواعد v10 ومعالجة غلاف HZ */
html[data-theme="dark"] body .HZ{background:transparent!important}
html[data-theme="dark"] body :is(.free-consult-section,.consult-box,.psychology-section,.health-section,.service-card,.special-offer-container,.trust-item,.hero-card,.book-pages,a.card,.tac-card,.tac-team-card,.tutor-card,.tutor-course-card){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body :is(.card-header,.card-body){background:transparent!important}
html[data-theme="dark"] body .psychology-section :is(h2,h3){color:#6fd3c6!important}
html[data-theme="dark"] body :is(body.page-id-15003,body.page-id-1705,body.page-id-1107,body.page-id-15933) :is(h1,h2,h3,h4,h5){color:#f2f2f2!important}
html[data-theme="dark"] body.page-id-15003 :is(p,li,.card-desc,.section-subtitle),html[data-theme="dark"] body.page-id-1705 :is(p,li),html[data-theme="dark"] body.page-id-1107 :is(p,li),html[data-theme="dark"] body.page-id-15933 :is(p,li){color:#cfcfcf!important}

/* السمات v12: نطاق الصفحات للأقسام العنيدة */
html[data-theme="dark"] body.page-id-15003 :is(.free-consult-section,.consult-box,.psychology-section,.health-section,.service-card,.section){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body.page-id-1705 a.card{background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body.page-id-1107 :is(.tac-card,.tac-team-card,.tac-service-btn){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body.page-id-1107 .tac-service-btn{color:#e8594f!important}
html[data-theme="dark"] body.page-id-15933 :is(.special-offer-container,.trust-item,.hero-card,.book-pages,.tutor-card,.tutor-course-card){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}

/* السمات v13: إزالة التدرج الأبيض لشريط الثقة */
html[data-theme="dark"] body.page-id-15933 .trust-bar{background-image:none!important;background:transparent!important}

/* السمات v14: حاوية من نحن ونصوص شارات الثقة */
html[data-theme="dark"] body.page-id-1107 .tac-container{background:transparent!important}
html[data-theme="dark"] body.page-id-15933 .trust-item,html[data-theme="dark"] body.page-id-15933 .trust-item :is(span,div,p,strong){color:#e6e6e6!important}

/* السمات v15: غلاف صفحة تواصل وعناوين البطاقات */
html[data-theme="dark"] body .HZC{background:transparent!important}
html[data-theme="dark"] body.page-id-1705 a.card :is(b,strong){color:#f2f2f2!important}
html[data-theme="dark"] body.page-id-1705 a.card span{color:#b9b9b9!important}

/* السمات v16: تفتيح تمييز من نحن + تغطية المدونة والحقول */
html[data-theme="dark"] body.page-id-1107 :is(p,li) :is(strong,b,span){color:#e8594f!important}
html[data-theme="dark"] body.page-id-36907 :is(.website-wrapper,.main-page-wrapper){background:#161616!important}
html[data-theme="dark"] body.page-id-36907 :is(.wd-post-content,.article-body-container){background:#221f1f!important;border-color:#383838!important;color:#e6e6e6!important}
html[data-theme="dark"] body.page-id-36907 :is(h1,h2,h3,h4,h5,.post-title,.wd-post-title){color:#f2f2f2!important}
html[data-theme="dark"] body.page-id-36907 .wd-post-date.wd-style-with-bg{background:#2b2828!important;color:#cfcfcf!important}
html[data-theme="dark"] body.page-id-36907 .partners-wrapper{background:#1f1d1d!important;border-color:#383838!important}
html[data-theme="dark"] :is(.wawp-form-control,.js-wawp-password-input,.wawp-email-suggestions,input.s){background:#2b2828!important;color:#ededed!important;border-color:#444!important}
html[data-theme="dark"] .iti__country{color:#ededed!important}

/* السمات v17: رابط المتابعة في المدونة */
html[data-theme="dark"] body.page-id-36907 .wd-post-content a.woodmart-nav-link,html[data-theme="dark"] body.page-id-36907 .wd-post-content a.woodmart-nav-link *{color:#e8594f!important}

/* السمات v18: حصر التمييز بالمحتوى وإصلاح تسرّب القائمة */
html[data-theme="dark"] body.page-id-1107 :is(header,[class*=whb-]) :is(span,strong,b){color:inherit!important}
html[data-theme="dark"] body :is(header,[class*=whb-]) :is(p,li){color:inherit!important}

/* السمات v19: رابط المتابعة الفعلي بلا صنف */
html[data-theme="dark"] body.page-id-36907 .wd-post-content > a{color:#e8594f!important}

/* السمات v20: رابط المتابعة داخل wd-post-read-more */
html[data-theme="dark"] body.page-id-36907 .wd-post-read-more a{color:#e8594f!important}

/* v21: library tutor card title links light in dark mode */
html[data-theme="dark"] body.page-id-15933 .tutor-course-name a { color: #f0e8e2 !important; }
html[data-theme="dark"] body.page-id-15933 .tutor-course-name a:hover { color: #e8594f !important; }

/* v22: blog posts archive (/blog/, body.blog) dark cards + rose read-more */
html[data-theme="dark"] body.blog .wd-post-content { background: #242020 !important; }
html[data-theme="dark"] body.blog .wd-post-title a { color: #f0e8e2 !important; }
html[data-theme="dark"] body.blog .wd-post-title a:hover { color: #e8594f !important; }
html[data-theme="dark"] body.blog .wd-post-read-more a { color: #e8594f !important; }
html[data-theme="dark"] body.blog .wd-post-read-more a:hover { color: #ffffff !important; }

/* v23: courses light mode - dark-design whites to readable dark */
html[data-theme="light"] body.page-id-15979 .tsurf-section-title { color: #252525 !important; }
html[data-theme="light"] body.page-id-15979 .tsurf-card-title { color: #252525 !important; }
html[data-theme="light"] body.page-id-15979 .tsurf-btn-outline { color: #A51413 !important; border-color: #A51413 !important; background: rgba(165,20,19,0.06) !important; }
html[data-theme="light"] body.page-id-15979 .tsurf-btn-outline:hover { color: #ffffff !important; background: #A51413 !important; }
html[data-theme="light"] body.page-id-15979 .tsurf-starter-info h2 { color: #252525 !important; }
html[data-theme="light"] body.page-id-15979 .tsurf-marathon-highlight span { color: #40332e !important; }

/* v24: restore lead-magnet dark gradient panel in light mode (white title by design) */
html[data-theme="light"] body.page-id-27609 .lead-magnet { background: linear-gradient(135deg,#252525,#1a1a1a) !important; }

/* v25: drawer redesign preview (gated: ?drawer=new) */
html[data-drawer="new"] .mobile-nav.wd-side-hidden{ width:min(86vw,340px); right:10px; top:14px; height:calc(100% - 28px); bottom:auto; border-radius:22px; background:rgba(255,255,255,.8); -webkit-backdrop-filter:blur(22px) saturate(1.6); backdrop-filter:blur(22px) saturate(1.6); border:1px solid rgba(255,255,255,.55); box-shadow:0 24px 70px rgba(0,0,0,.28); transform:translateX(calc(100% + 24px)) !important; }
html[data-drawer="new"] .mobile-nav.wd-side-hidden.wd-opened{ transform:translateX(0) !important; }
html[data-drawer="new"] .mobile-nav input.search-field, html[data-drawer="new"] .mobile-nav .wd-search-form input[type="text"]{ background:rgba(0,0,0,.05); border:none; border-radius:999px; }
html[data-drawer="new"] .mobile-nav .wd-nav-mob-tab{ background:rgba(0,0,0,.05); border-radius:14px; padding:4px; }
html[data-drawer="new"] .mobile-nav .wd-nav-mob-tab li a{ border-radius:10px; }
html[data-drawer="new"] .mobile-nav .wd-nav-mob-tab li.wd-active a{ background:#ffffff; box-shadow:0 2px 10px rgba(0,0,0,.12); }
html[data-drawer="new"] .mobile-nav .wd-nav-mobile li a{ padding:13px 20px; font-weight:600; color:#252525; border-radius:12px; }
html[data-drawer="new"] .mobile-nav .wd-nav-mobile li a:hover{ color:#A51413; background:rgba(165,20,19,.07); }
html[data-drawer="new"] .mobile-nav .wd-nav-mobile li.current-menu-item > a{ color:#A51413; background:rgba(165,20,19,.1); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav.wd-side-hidden{ background:rgba(28,24,24,.78); border-color:rgba(255,255,255,.08); box-shadow:0 24px 70px rgba(0,0,0,.55); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mobile li a{ color:#f0e8e2; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mobile li a:hover{ color:#e8594f; background:rgba(232,89,79,.12); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mobile li.current-menu-item > a{ color:#e8594f; background:rgba(232,89,79,.14); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab{ background:rgba(255,255,255,.07); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li.wd-active a{ background:rgba(255,255,255,.12); }
html[data-drawer="new"][data-theme="dark"] .mobile-nav input.search-field, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-search-form input[type="text"]{ background:rgba(255,255,255,.08); color:#f0e8e2; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading a, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li a{ color:#f0e8e2; }

/* v26: drawer preview polish - pill overlap, dark contrast, tab/arrow, in-drawer toggle */
body:has(.wd-side-hidden.wd-opened) .tsurf-theme-toggle{ display:none !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading .close-side-widget a, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading .close-side-widget .wd-action-icon, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading .close-side-widget .wd-action-text{ color:#ffffff !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading .wd-action-icon{ background:rgba(255,255,255,.1); border-radius:10px; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .searchsubmit, html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-search-form button{ color:#f0e8e2 !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li.wd-active a{ background:rgba(255,255,255,.14) !important; color:#f0e8e2 !important; box-shadow:none !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li:not(.wd-active) a{ color:rgba(240,232,226,.78) !important; background:transparent !important; }
html[data-drawer="new"] .mobile-nav .wd-nav-mobile .wd-nav-opener{ background:rgba(165,20,19,.1) !important; color:#A51413 !important; border-radius:10px !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mobile .wd-nav-opener{ background:rgba(232,89,79,.14) !important; color:#e8594f !important; }
html[data-drawer="new"] .mobile-nav .tsurf-drawer-theme-btn{ display:flex; align-items:center; justify-content:center; margin:14px 12px 18px; padding:13px 18px; border-radius:14px; background:rgba(165,20,19,.08); color:#A51413; font-weight:700; border:1px solid rgba(165,20,19,.25); cursor:pointer; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .tsurf-drawer-theme-btn{ background:rgba(232,89,79,.12); color:#e8594f; border-color:rgba(232,89,79,.3); }

/* v27: drawer glyph contrast, mobile pill relocation, about role accent */
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-heading .wd-action-icon:before{ color:#ffffff !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li.wd-active a .nav-link-text{ color:#f0e8e2 !important; }
html[data-drawer="new"][data-theme="dark"] .mobile-nav .wd-nav-mob-tab li:not(.wd-active) a .nav-link-text{ color:rgba(240,232,226,.78) !important; }
@media (max-width:1024px){ .tsurf-theme-toggle{ display:none !important; } }
.mobile-nav .tsurf-drawer-theme-btn{ display:flex; align-items:center; justify-content:center; margin:14px 12px 18px; padding:13px 18px; border-radius:14px; background:rgba(165,20,19,.08); color:#A51413; font-weight:700; border:1px solid rgba(165,20,19,.25); cursor:pointer; }
html[data-theme="dark"] .mobile-nav .tsurf-drawer-theme-btn{ background:rgba(232,89,79,.12); color:#e8594f; border-color:rgba(232,89,79,.3); }
html[data-theme="dark"] body.page-id-1107 .tac-role{ color:#e8594f !important; }

/* v28: original drawer readability when dark theme active (no drawer flag) */
html[data-theme="dark"] .mobile-nav .wd-heading .wd-action-icon:before{ color:#f0e8e2 !important; }
html[data-theme="dark"] .mobile-nav .wd-heading .wd-action-text, html[data-theme="dark"] .mobile-nav .wd-heading a{ color:#f0e8e2 !important; }
html[data-theme="dark"] .mobile-nav .wd-nav-mobile li.current-menu-item > a{ color:#e8594f !important; background:rgba(232,89,79,.14) !important; }
html[data-theme="dark"] .mobile-nav .wd-nav-mobile li.current-menu-item > a .nav-link-text{ color:#e8594f !important; }
html[data-theme="dark"] .mobile-nav .wd-nav-mobile .wd-nav-opener{ background:rgba(232,89,79,.14) !important; color:#e8594f !important; border-radius:10px !important; }
html[data-theme="dark"] .mobile-nav .searchsubmit, html[data-theme="dark"] .mobile-nav .wd-search-form button{ color:#f0e8e2 !important; }

/* v29: lead-magnet submit label fit (preview scope only; live bug reported separately) */
html[data-theme] .lead-magnet .ff-btn-submit{ display:inline-block !important; width:auto !important; min-width:0 !important; padding:8px 26px !important; }

/* v30: زر تبديل السمة في هيدر الموبايل (معاينة فقط، يظهر فقط عند تفعيل سمة) */
.tsurf-hdr-theme-btn{ display:none; }
@media (max-width:1024px){
 html[data-theme] .tsurf-hdr-theme-btn{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; padding:0; margin:0 2px; background:transparent; border:0; border-radius:50%; cursor:pointer; flex:0 0 auto; -webkit-tap-highlight-color:transparent; }
 html[data-theme="dark"] .tsurf-hdr-theme-btn{ color:#f0e8e2; }
 html[data-theme="light"] .tsurf-hdr-theme-btn{ color:#252525; }
 html[data-theme] .tsurf-hdr-theme-btn:active{ opacity:.7; }
 html[data-theme] .whb-mobile-left .wd-header-my-account{ flex:1 1 auto; min-width:0; }
 html[data-theme] .whb-mobile-left .wd-header-my-account>a{ display:flex; align-items:center; min-width:0; }
 html[data-theme] .whb-mobile-left .wd-header-my-account .wd-tools-text{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
}
html[data-theme="light"] .tsurf-hdr-theme-btn .tt-sun{ display:none; }
html[data-theme="dark"] .tsurf-hdr-theme-btn .tt-moon{ display:none; }

/* v33: هيدر موبايل ثابت ومدمج - شفاف فوق ومصنفر عند التمرير */
@media (max-width:1024px){
 .whb-header{ position:fixed !important; top:0; left:0; right:0; z-index:390; transition:background-color .25s ease, box-shadow .25s ease; }
 body.logged-in .whb-header{ top:46px; }
 html.tsurf-scrolled[data-theme="light"] .whb-header{ background:rgba(255,255,255,.78); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 1px 12px rgba(0,0,0,.06); }
 html.tsurf-scrolled[data-theme="dark"] .whb-header{ background:rgba(22,19,19,.75); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 1px 12px rgba(0,0,0,.35); }
}

/* v34: إخفاء الهيدر عند النزول وإظهاره عند الصعود قليلاً (موبايل فقط) */
@media (max-width:1024px){
 .whb-header{ transition:transform .35s cubic-bezier(.4,0,.2,1), background-color .25s ease, box-shadow .25s ease; will-change:transform; }
 html.tsurf-hide .whb-header{ transform:translateY(calc(-100% - 60px)); }
}

/* v35: الهيدر ملاصق لأعلى الشاشة دائماً + عناوين المقالات مقروءة في الوضع الداكن */
@media (max-width:1024px){
 html body.logged-in .whb-header{ top:var(--tsurf-top,0px); }
}
html[data-theme="dark"] :is(.wd-post-title, h1.entry-title, .wd-entities-title, .comment-reply-title, #reply-title){ color:rgb(242,242,242) !important; }
html[data-theme="dark"] :is(.wd-post-title, .wd-entities-title) :is(a, span, strong){ color:inherit !important; }

/* v36: مقالات الوضع الداكن - نفس التصميم بخلفية داكنة */
html[data-theme="dark"] .wd-entry-content > .min-h-screen{ background:transparent !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-white{ background-color:#1e1b1a !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-stone-100{ background-color:#232020 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-stone-200{ background-color:#1e1b1a !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-stone-300,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-stone-400{ background-color:#4a4542 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-stone-900{ background-color:#262221 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-amber-50{ background-color:rgba(251,191,36,.1) !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .bg-emerald-50{ background-color:rgba(16,185,129,.12) !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-900{ color:#f5f5f4 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-800{ color:#e7e5e4 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-600{ color:#cfcac6 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-500,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-450{ color:#b0aaa5 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-stone-400{ color:#9a948f !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-amber-900{ color:#fde68a !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-amber-800{ color:#fcd34d !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-amber-700,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .text-amber-600,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .hover\:text-amber-700:hover{ color:#f5a524 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .border-stone-200,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .border-stone-200\/50,
html[data-theme="dark"] .wd-entry-content > .min-h-screen .border-stone-300{ border-color:#3a3634 !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .border-amber-200{ border-color:rgba(251,191,36,.3) !important; }
html[data-theme="dark"] .wd-entry-content > .min-h-screen .hover\:bg-stone-100\/50:hover{ background-color:rgba(255,255,255,.06) !important; }

/* v37: بطاقة قسم الورشة المجانية على الموبايل */
@media (max-width:1024px){
 html{--ws-bg:#ffffff;--ws-bd:#ece6e1}
 html[data-theme="dark"]{--ws-bg:#221f1f;--ws-bd:#383838}
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]){ padding:44px 18px !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) > div{ display:flex !important; flex-direction:column-reverse !important; gap:0 !important; flex-wrap:nowrap !important; background:var(--ws-bg); border:1px solid var(--ws-bd); border-radius:20px; overflow:hidden; max-width:560px !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) > div > div{ min-width:0 !important; flex:none !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) > div > div:first-child{ padding:22px 22px 24px; text-align:right; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) > div > div:last-child{ padding:0; line-height:0; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) img{ display:block; width:100%; border-radius:0 !important; box-shadow:none !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) .btn-main{ display:block; width:100%; text-align:center; box-sizing:border-box; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) h2{ font-size:26px !important; margin-bottom:10px !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) p{ font-size:15.5px !important; margin-bottom:20px !important; }
 section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) span{ margin-bottom:12px !important; }
 html[data-theme="dark"] section.section-padding:has(> div > div:first-child > a.btn-main[href*="realty-eng-course"]) span{ color:#ff9b94 !important; background:rgba(255,155,148,.14) !important; }
}

/* v38: transparent header on programs + tests pages (desktop), theme aware */
@media (min-width:1025px){
body:is(.page-id-15979,.page-id-35328) .whb-header{position:absolute!important;top:0;left:0;right:0;width:100%!important;z-index:60}
body:is(.page-id-15979,.page-id-35328) .whb-general-header{background:transparent!important;box-shadow:none!important;border:none!important}
body:is(.page-id-15979,.page-id-35328) .whb-general-header::after{content:none!important}
body:is(.page-id-15979,.page-id-35328) .whb-top-bar{display:none!important}
html[data-theme="dark"] body:is(.page-id-15979,.page-id-35328) .whb-general-header :is(.wd-nav>li>a,.wd-nav>li>a .nav-link-text,.wd-tools-element a,.wd-tools-text,.wd-cart-subtotal,.search-button,.wd-login,.tsurf-hdr-theme-btn){color:#fff!important}
html[data-theme="dark"] body:is(.page-id-15979,.page-id-35328) .whb-general-header .wd-tools-element .wd-tools-icon{color:#fff!important}
html[data-theme="dark"] body:is(.page-id-15979,.page-id-35328) .whb-general-header .wd-header-my-account .wd-tools-icon{color:#252525!important}
html[data-theme="dark"] body:is(.page-id-15979,.page-id-35328) .whb-general-header .wd-logo img{filter:drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 12px rgba(255,255,255,.30))!important}
html[data-theme="light"] body:is(.page-id-15979,.page-id-35328) .whb-general-header :is(.wd-nav>li>a,.wd-nav>li>a .nav-link-text,.wd-tools-element a,.wd-tools-text,.wd-cart-subtotal,.search-button,.tsurf-hdr-theme-btn){color:#252525!important}
}
/* desktop header theme button */
@media (min-width:1025px){
html[data-theme] .tsurf-hdr-theme-btn.tsurf-hdr-desk{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin:0 6px;background:transparent;border:0;border-radius:50%;cursor:pointer;flex:0 0 auto}
html[data-theme="dark"] .tsurf-hdr-theme-btn.tsurf-hdr-desk{color:#f0e8e2}
html[data-theme="light"] .tsurf-hdr-theme-btn.tsurf-hdr-desk{color:#252525}
html[data-theme] .tsurf-hdr-theme-btn.tsurf-hdr-desk:hover{background:rgba(127,127,127,.18)}
}
/* v38: footer background edge to edge, content stays in the 1200 column */
footer.wd-footer.footer-container{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;box-sizing:border-box}
footer.wd-footer.footer-container>.main-footer{max-width:1200px!important;width:100%;margin-inline:auto!important}
/* v38: tests carousel on programs page spans the full page width */
.hz-tests-strip .hz-tests-marquee{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}

/* v38: keep the desktop header on one row after adding the theme button (greeting and cart text kept) */
@media (min-width:1025px){
.whb-general-header .wd-header-main-nav .wd-nav-main{column-gap:22px!important;flex-wrap:nowrap!important}
.whb-general-header .wd-nav-main>li>a{white-space:nowrap}
}

/* v38: Trans-Life marathon card follows the light theme */
html[data-theme="light"] body.page-id-15979 .tsurf-marathon-portal{background:linear-gradient(135deg,#ffffff 0%,#fbf1ed 100%)!important;border-color:rgba(165,20,19,.45)!important;box-shadow:0 14px 40px rgba(37,37,37,.10)!important}
html[data-theme="light"] body.page-id-15979 .tsurf-marathon-title{color:#252525!important}
html[data-theme="light"] body.page-id-15979 .tsurf-marathon-desc{color:#3f3f46!important}
html[data-theme="light"] body.page-id-15979 .tsurf-pill-item{background:rgba(165,20,19,.08)!important;color:#3f3f46!important;border-color:rgba(165,20,19,.18)!important}
html[data-theme="light"] body.page-id-15979 .tsurf-pill-item i,html[data-theme="light"] body.page-id-15979 .tsurf-marathon-highlight i{color:#a51413!important}
html[data-theme="light"] body.page-id-15979 .tsurf-marathon-highlight{background:rgba(165,20,19,.06)!important;color:#40332e!important}

/* v38: programs page hero starts below the transparent header (desktop) */
@media (min-width:1025px){body.page-id-15979 .tsurf-hero-standalone .tsurf-hero-gold{margin-top:64px!important}}
#programs-start{scroll-margin-top:24px}
