/* ===== Single course — [hb_course_head] [hb_course_buy] [hb_course_footer] + Product Content ===== */
.hbc2-head,.hbc2-side,.single-product .elementor-widget-woocommerce-product-content{--ink:var(--hb-ink);--gold:var(--hb-gold);--muted:#5a6b64;--line:#e3e8e5;--soft:#f6f3ea;--field:#f7f8f6;font-family:var(--e-global-typography-primary-font-family,inherit);color:var(--ink)}
.hbc2-head *,.hbc2-side *{box-sizing:border-box;font-family:inherit}

/* ---------- head: green band, text + buy | cover ---------- */
.hbc2-head{max-width:1280px;margin:12px auto clamp(28px,4vw,48px);padding:clamp(26px,4vw,52px) clamp(22px,4vw,56px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);align-items:center;
  border-radius:calc(28px * var(--hb-rs));background:var(--ink);color:#fff;background-image:radial-gradient(circle at 0% 0%,rgba(var(--hb-gold-rgb),.2),rgba(var(--hb-gold-rgb),0) 50%)}
.hbc2-eyebrow{display:inline-block;margin-bottom:10px;padding:4px 14px;border-radius:999px;background:rgba(var(--hb-gold-rgb),.16);color:var(--gold);font-size:13px;font-weight:900}
.hbc2-title{margin:0;font-size:clamp(26px,3.2vw,40px);font-weight:900;line-height:1.55;color:#fff;text-wrap:balance}
.hbc2-lead{margin:12px 0 0;font-size:clamp(14.5px,1.3vw,16px);line-height:2.1;color:rgba(255,255,255,.78)}
.hbc2-facts{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hbc2-facts li{margin:0;display:flex;flex-direction:column;padding:8px 14px;border-radius:calc(12px * var(--hb-rs));background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);line-height:1.6}
.hbc2-facts b{font-size:11.5px;font-weight:700;color:rgba(255,255,255,.6)}
.hbc2-facts span{font-size:14px;font-weight:800;color:#fff}
.hbc2-cover{margin:0;border-radius:calc(20px * var(--hb-rs));overflow:hidden;background:#0f2620;aspect-ratio:16/9;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.hbc2-cover img{display:block;width:100% !important;height:100% !important;object-fit:cover}

/* buy block */
.hbc2-buy{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:24px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14)}
.hbc2-price{margin:0;font-size:clamp(22px,2.2vw,28px);font-weight:900;color:var(--gold);line-height:1.4}
.hbc2-price del{display:block;font-size:14px;font-weight:500;color:rgba(255,255,255,.5)}
.hbc2-price ins{text-decoration:none}
.hbc2-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:calc(14px * var(--hb-rs));background:var(--gold);color:var(--ink) !important;text-decoration:none !important;font-size:15.5px;font-weight:900;transition:background .2s ease}
.hbc2-btn:hover{background:var(--hb-gold-hover)}
.hbc2-btn.is-owned{background:#fff}
.hbc2-btn.is-soon{background:rgba(255,255,255,.12);color:rgba(255,255,255,.7) !important;cursor:default}
.hbc2-note{flex-basis:100%;margin:0;font-size:12.5px;color:rgba(255,255,255,.6)}

/* ---------- sticky side box (inside the hbp-row / hbp-aside layout from post.css) ---------- */
.hbc2-side{padding:20px;border:1px solid var(--line);border-radius:calc(20px * var(--hb-rs));background:#fff;box-shadow:0 1px 2px rgba(var(--hb-ink-rgb),.04),0 18px 44px rgba(var(--hb-ink-rgb),.07)}
.hbc2-side__title{display:block;margin-bottom:12px;font-size:16px;font-weight:900;line-height:1.7}
.hbc2-side__facts{list-style:none;margin:0 0 4px;padding:0}
.hbc2-side__facts li{display:flex;justify-content:space-between;gap:12px;margin:0;padding:9px 0;border-bottom:1px dashed var(--line);font-size:13.5px}
.hbc2-side__facts span{color:var(--muted)}
.hbc2-side__facts b{font-weight:800;text-align:left}
.hbc2-side .hbc2-buy{margin-top:14px;padding-top:0;border:0;flex-direction:column;align-items:stretch;gap:10px}
.hbc2-side .hbc2-price{color:var(--ink);font-size:24px}
.hbc2-side .hbc2-price del{color:#9aa79f}
.hbc2-side .hbc2-btn{width:100%;background:var(--ink);color:#fff !important}
.hbc2-side .hbc2-btn:hover{background:var(--hb-ink-hover)}
.hbc2-side .hbc2-btn.is-owned{background:var(--gold);color:var(--ink) !important}
.hbc2-side .hbc2-btn.is-soon{background:var(--field);color:var(--muted) !important}
.hbc2-side .hbc2-note{color:var(--muted);text-align:center}
.hbc2-side__call{display:block;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;text-align:center;color:var(--muted) !important;text-decoration:none !important}
.hbc2-side__call b{color:var(--ink);unicode-bidi:isolate}

/* ---------- course description (Elementor «Product Content» widget) ---------- */
.single-product .elementor-widget-woocommerce-product-content{font-size:clamp(16px,1.25vw,17px);line-height:2.15;color:#24332e}
.single-product .elementor-widget-woocommerce-product-content p{margin:0 0 1.1em}
.single-product .elementor-widget-woocommerce-product-content h2,.single-product .elementor-widget-woocommerce-product-content h2.elementor-heading-title{margin:1.7em 0 .6em;font-size:clamp(21px,2vw,26px) !important;font-weight:900 !important;line-height:1.7 !important;color:var(--ink) !important;scroll-margin-top:calc(var(--hb-hdr-h,78px) + 20px)}
.single-product .elementor-widget-woocommerce-product-content h3,.single-product .elementor-widget-woocommerce-product-content h3.elementor-heading-title{margin:1.4em 0 .5em;font-size:clamp(18px,1.6vw,20px) !important;font-weight:800 !important;line-height:1.75 !important;color:var(--ink) !important}
.single-product .elementor-widget-woocommerce-product-content ul,.single-product .elementor-widget-woocommerce-product-content ol{margin:0 0 1.2em;padding-right:1.4em}
.single-product .elementor-widget-woocommerce-product-content li{margin-bottom:.45em}
.single-product .elementor-widget-woocommerce-product-content li::marker{color:var(--hb-gold-dark)}
.single-product .elementor-widget-woocommerce-product-content img{max-width:100%;height:auto;border-radius:calc(16px * var(--hb-rs))}
.single-product .elementor-widget-woocommerce-product-content a:not([class]){color:var(--hb-gold-dark);text-underline-offset:4px}
/* course syllabus written with Elementor's Accordion widget */
.single-product .elementor-widget-woocommerce-product-content .elementor-accordion-item{margin-bottom:10px;border:1px solid var(--line) !important;border-radius:calc(14px * var(--hb-rs));overflow:hidden;background:#fff}
.single-product .elementor-widget-woocommerce-product-content .elementor-tab-title{padding:14px 18px !important;font-size:15px;font-weight:800;color:var(--ink) !important}
.single-product .elementor-widget-woocommerce-product-content .elementor-tab-title.elementor-active{background:var(--soft)}
.single-product .elementor-widget-woocommerce-product-content .elementor-tab-content{padding:6px 18px 16px !important;border:0 !important;font-size:15px;color:var(--muted)}

@media (max-width:1024px){
  .hbc2-head{grid-template-columns:minmax(0,1fr)}
  .hbc2-cover{order:-1}
}
@media (max-width:600px){
  .hbc2-head{padding:20px 16px 24px;border-radius:calc(22px * var(--hb-rs))}
  .hbc2-buy{flex-direction:column;align-items:stretch}
  .hbc2-btn{width:100%}
  .hbc2-facts li{flex:1 1 calc(50% - 10px)}
}
