/* =========================================================
   Black Friday 2026
   Loaded while career_education_bf_active() on the Hot Deals and
   Lifetime pages, the home page and the blog / All Courses sidebar
   (inc/enqueue.php). Page sections are scoped to main.ce-bf (Hot
   Deals) and .ce-lft-bf (Lifetime), so shared components keep
   their normal look everywhere else.
   ========================================================= */

:root {
  --ce-bf-red: #e10e17;
  --ce-bf-red-dark: #a30008;
  --ce-bf-ink: #0b0b0f;
  --ce-bf-navy: #0e1f3d;
  --ce-bf-cream: #fff5ec;
  --ce-bf-gold: linear-gradient(180deg, #ffd34d 0%, #f7a600 100%);
}

/* ----- Shared button ----- */
.ce-bf-btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff3b3b 0%, #c70a12 100%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(225, 14, 23, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ce-bf-btn:hover,
.ce-bf-btn:focus-visible {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(225, 14, 23, 0.45);
}

/* =========================================================
   HOT DEALS PAGE (main.ce-bf)
   ========================================================= */

/* ----- Hero ----- */
#ce-bf-hero-sec {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0;
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-hero-bg.webp) center / cover no-repeat;
}

.ce-bf-hero-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ce-bf-hero-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #1c1e26 0%, #08090d 100%) padding-box,
    linear-gradient(160deg, #ffffff 0%, #ff2b2b 55%, #8a0006 100%) border-box;
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.ce-bf-hero-off {
  position: absolute;
  top: -18px;
  right: -16px;
  width: 78px;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ce-bf-red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15), 0 8px 18px rgba(0, 0, 0, 0.45);
}

.ce-bf-hero-off strong {
  font-size: 1.35rem;
  font-weight: 900;
}

.ce-bf-hero-eyebrow {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.ce-bf-hero-price {
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  background: var(--ce-bf-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.9rem;
}

.ce-bf-hero-old {
  font-size: 0.95rem;
  color: #e6e6e6;
  margin-bottom: 0.35rem;
}

.ce-bf-hero-old s {
  color: #bdbdbd;
}

.ce-bf-hero-life {
  color: #8fe33a;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Coupon pill: % icon, label and the click-to-copy code. */
.ce-bf-coupon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #d9d9d9;
  color: #5a5a5a;
  font-weight: 600;
}

.ce-bf-coupon-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: var(--ce-bf-red);
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  position: relative;
  margin-right: 0.4rem;
}

.ce-bf-coupon-icon::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: 4px;
  bottom: 4px;
  border-right: 2px solid #9a9a9a;
}

.ce-bf-coupon-label {
  margin-left: auto;
}

.ce-bf-coupon-code {
  margin-right: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ce-bf-red);
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.ce-bf-coupon-code:hover,
.ce-bf-coupon-code:focus-visible {
  text-decoration: underline;
}

.ce-bf-hero-btn {
  width: 100%;
  max-width: 380px;
  margin-top: 1.25rem;
}

.ce-bf-hero-art {
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

@media (max-width: 991.98px) {
  #ce-bf-hero-sec {
    padding: 2rem 0 2.75rem;
  }

  #ce-bf-hero-sec .row {
    flex-direction: column-reverse;
  }

  .ce-bf-hero-art {
    max-width: 440px;
  }
}

@media (max-width: 575.98px) {
  .ce-bf-hero-off {
    right: -6px;
    width: 66px;
    height: 66px;
  }

  .ce-bf-hero-off strong {
    font-size: 1.1rem;
  }
}

/* ----- Learn With Confidence (also on the Lifetime page) ----- */
.ce-bf #ce-accreditation-sec {
  background: #0d0d10 url(../imgs/bf/ce-bf-dark-bg.webp) center / cover no-repeat;
}

.ce-bf .ce-accreditation-title {
  color: #fff;
}

.ce-bf .ce-accreditation-card {
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ----- Our Popular Courses ----- */
.ce-bf #ce-htd-ppcrs-sec {
  position: relative;
  overflow: hidden;
  background: #fdf1f1 url(../imgs/bf/ce-bf-gifts-bg.webp) center / cover no-repeat;
  padding: 4.5rem 0;
}

.ce-bf #ce-htd-ppcrs-sec::before,
.ce-bf #ce-htd-ppcrs-sec::after {
  content: "";
  position: absolute;
  top: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.ce-bf #ce-htd-ppcrs-sec::before {
  left: 0;
  width: min(32vw, 420px);
  aspect-ratio: 922 / 615;
  background-image: url(../imgs/bf/ce-bf-bow.webp);
  background-position: left top;
}

.ce-bf #ce-htd-ppcrs-sec::after {
  right: 0;
  width: min(22vw, 280px);
  aspect-ratio: 586 / 242;
  background-image: url(../imgs/bf/ce-bf-ribbon.webp);
  background-position: right top;
}

.ce-bf #ce-htd-ppcrs-sec > .container {
  position: relative;
  z-index: 1;
}

.ce-bf .ce-htd-ppcrs-title {
  color: #000;
  font-weight: 800;
}

.ce-bf .ce-htd-ppcrs-card {
  max-width: 880px;
  margin-inline: auto;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(120, 0, 0, 0.08);
}

.ce-bf .ce-htd-ppcrs-img-wrap {
  border-radius: 10px;
}

.ce-bf .ce-htd-ppcrs-title-sm {
  font-weight: 400;
}

.ce-bf .ce-htd-ppcrs-title-sm a {
  color: #111;
  text-decoration: none;
}

.ce-bf .ce-htd-ppcrs-title-sm a:hover {
  color: var(--ce-bf-red);
}

.ce-bf .ce-htd-cart-wrap .ce-btn {
  --_base: #e3343b;
  --_hover: var(--ce-bf-red-dark);
}

.ce-bf .ce-htd-ppcrs-badges {
  background: #e3e3e3;
}

.ce-bf .ce-htd-ppcrs-badge-item {
  color: #3d3d3d;
}

.ce-bf .ce-htd-ppcrs-off-pill {
  background: var(--ce-bf-red);
}

/* ----- Why Learners Choose ----- */
.ce-bf .ce-htd-why-section {
  background: var(--ce-bf-cream);
  color: var(--theme-color-2);
}

.ce-bf .ce-htd-why-title {
  color: #111;
  font-weight: 400 !important;
}

.ce-bf .ce-htd-why-hl {
  color: var(--ce-bf-red);
  font-weight: 800;
}

.ce-bf .ce-htd-why-card {
  background: #fff;
  color: #111;
  border: 2px solid #8c3b3b;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.ce-bf .ce-htd-why-card h6 {
  color: #111;
}

.ce-bf .ce-htd-why-card p {
  color: #3d3d3d !important;
}

/* ----- Get access to all courses (Lifetime CTA) ----- */
.ce-bf #ce-lft-sec {
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-hero-bg.webp) center / cover no-repeat;
}

.ce-bf #ce-lft-sec .ce-cart-heading,
.ce-bf #ce-lft-sec .ce-cart-desc {
  color: #fff;
}

.ce-bf #ce-lft-sec .ce-cart-btn {
  --_base: #fff;
  --_hover: var(--ce-bf-red);
  --_text-base: #111;
  --_text-hover: #fff;
  min-width: 220px;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
}

/* Lifetime plan card (HTML version of the design's price card). */
.ce-bf-plan {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
  padding: 2.4rem 4.2rem 2rem 1.8rem;
  border-radius: 26px;
  border: 5px solid var(--ce-bf-red);
  background: #f2f2f2 url(../imgs/bf/ce-bf-card-bg.webp) center / cover no-repeat;
  box-shadow: 0 0 0 7px #e9e9e9, 0 22px 40px rgba(0, 0, 0, 0.5);
  text-align: left;
  color: #333;
}

.ce-bf-plan-ribbon {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 40%;
  height: auto;
  z-index: 2;
}

.ce-bf-plan-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  color: #111;
  margin-bottom: 0.4rem;
}

.ce-bf-plan-price {
  font-size: 4.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  background: var(--ce-bf-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.ce-bf-plan-old {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.ce-bf-plan-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--ce-bf-red);
  color: #fff;
  font-weight: 700;
}

.ce-bf-plan-off {
  position: absolute;
  top: 42%;
  right: 0;
  bottom: 10%;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  background: linear-gradient(90deg, #ffc400 0%, #f39b00 100%);
  color: #111;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-radius: 6px 0 0 6px;
}

@media (max-width: 575.98px) {
  .ce-bf-plan {
    padding: 2rem 3.6rem 1.6rem 1.3rem;
  }

  .ce-bf-plan-title {
    font-size: 1.35rem;
  }

  .ce-bf-plan-price {
    font-size: 3.4rem;
  }
}

/* ----- Earn an Accredited Certificate (both pages) ----- */
.ce-bf #ce-cart-sec {
  background: var(--ce-bf-cream);
}

.ce-bf #ce-cart-sec .ce-cart-img-wrap::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1.75rem;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(14px);
}

.ce-bf #ce-cart-sec .ce-cart-img {
  max-width: min(100%, 470px);
}

.ce-bf #ce-cart-sec .ce-cart-heading {
  font-size: var(--h3-font-size);
  max-width: 420px;
}

.ce-bf #ce-cart-sec .ce-cart-btn {
  --_base: #e3343b;
  --_hover: var(--ce-bf-red-dark);
  min-width: 260px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(225, 14, 23, 0.3);
}

/* ----- What our students say (both pages) ----- */
.ce-bf #ce-testi-sec {
  background: #fff url(../imgs/bf/ce-bf-reviews-bg.webp) center / cover no-repeat;
  padding: 5rem 0 6rem;
}

.ce-bf .ce-testi-badge-card,
.ce-bf .ce-testi-card {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (min-width: 992px) {
  .ce-bf .ce-testi-title {
    text-align: left;
  }
}

/* ----- FAQ (Lifetime page) ----- */
.ce-bf #ce-faq-sec {
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-faq-bg.webp) center bottom / cover no-repeat;
  padding: 2rem 0 5rem;
}

.ce-bf .ce-faq-title {
  color: #fff;
}

.ce-bf .ce-faq-title span {
  color: var(--ce-bf-red);
}

.ce-bf .ce-faq-item,
.ce-bf .ce-faq-accordion-inner > .ce-faq-item:first-child,
.ce-bf .ce-faq-accordion-inner > .ce-faq-item:last-child {
  background: var(--ce-bf-navy);
  border: 2px solid var(--ce-bf-red-dark);
  border-radius: 18px;
  padding: 0.15rem;
}

.ce-bf .ce-faq-btn,
.ce-bf .ce-faq-btn:not(.collapsed) {
  color: #fff;
  font-weight: 500;
}

.ce-bf .ce-faq-btn::after {
  /* Red chevron in place of Bootstrap's dark arrow. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff1f1f' d='M1 4h14L8 13z'/%3E%3C/svg%3E");
}

.ce-bf .ce-faq-body {
  color: #e9e9e9;
}

/* =========================================================
   LIFETIME PAGE (.ce-lft-bf)
   ========================================================= */

/* ----- Hero ----- */
.ce-lft-bf .ce-lft-hi-bg {
  background: var(--ce-bf-ink);
}

.ce-lft-bf .ce-lft-hi-overlay {
  display: none;
}

.ce-lft-bf .ce-lft-hi-row {
  flex-wrap: nowrap;
}

.ce-lft-bf .ce-lft-hi-col-left {
  position: relative;
  width: 56%;
  align-items: flex-start;
  padding-left: 6.5%;
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-lft-hero-bg.webp) left center / cover no-repeat;
}

.ce-lft-bf .ce-lft-hi-col-left .ce-lft-hi-content {
  position: relative;
  z-index: 2;
  max-width: 54%;
  padding: 3.5rem 0;
}

.ce-lft-bf .ce-lft-hi-col-right {
  position: relative;
  width: 44%;
  z-index: 0;
  background: var(--ce-bf-ink);
}

/* Blend the photo into the dark panel on its left. */
.ce-lft-bf .ce-lft-hi-col-right::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  background: linear-gradient(to right, #050507, rgba(5, 5, 7, 0));
  z-index: 1;
  pointer-events: none;
}

.ce-lft-bf .ce-lft-hi-col-right img {
  object-fit: cover;
  object-position: 30% center;
}

.ce-lft-bf .ce-lft-hi-eyebrow {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
}

.ce-lft-bf .ce-lft-hi-heading {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  white-space: nowrap;
}

.ce-lft-bf .ce-lft-hi-highlight,
.ce-lft-bf .ce-lft-hi-price-new {
  color: #ff2d2d;
}

.ce-lft-bf .ce-lft-hi-price {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 400;
  gap: 0.9rem;
  white-space: nowrap;
}

.ce-lft-bf .ce-lft-hi-price-new {
  font-weight: 800;
  font-size: 1.55em;
}

.ce-lft-bf .ce-lft-hi-price-old {
  color: #fff;
  font-size: 0.7em;
}

.ce-lft-bf .ce-lft-hi-timer-circle {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #050507;
  border: 2px solid #ff2d2d;
  box-shadow: 0 0 14px rgba(255, 45, 45, 0.35);
}

.ce-lft-bf .ce-lft-hi-timer-num {
  font-size: 1.6rem;
  font-weight: 600;
}

.ce-lft-bf .ce-lft-hi-checklist li {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 400;
  white-space: nowrap;
}

.ce-lft-bf .ce-lft-hi-check-icon {
  background: #ff2d2d;
}

.ce-lft-bf .ce-lft-hi-btn {
  --_base: linear-gradient(180deg, #ff3b3b 0%, #b8060e 100%);
  --_hover: var(--ce-bf-red-dark);
  min-width: 250px;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 20px rgba(225, 14, 23, 0.35);
}

/* Badge, discount tag and gifts on the right of the text. */
.ce-lft-bf-deco {
  position: absolute;
  inset: 0 0 0 60%;
  z-index: 1;
  pointer-events: none;
}

.ce-lft-bf-badge {
  position: absolute;
  top: 7%;
  left: 0;
  width: 52%;
  height: auto;
}

.ce-lft-bf-tag {
  position: absolute;
  top: 0;
  right: 4%;
  width: 30%;
  height: auto;
  transform-origin: 50% 0;
  animation: ce-bf-swing 3.5s ease-in-out infinite;
}

.ce-lft-bf-gifts {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(255, 0, 0, 0.25));
}

@keyframes ce-bf-swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ce-lft-bf-tag {
    animation: none;
  }
}

@media (max-width: 1199.98px) {
  .ce-lft-bf .ce-lft-hi-col-left {
    padding-left: 4%;
  }

  .ce-lft-bf .ce-lft-hi-col-left .ce-lft-hi-content {
    max-width: 54%;
  }

  .ce-lft-bf .ce-lft-hi-heading,
  .ce-lft-bf .ce-lft-hi-price,
  .ce-lft-bf .ce-lft-hi-checklist li {
    white-space: normal;
  }
}

@media (max-width: 991.98px) {
  .ce-lft-bf .ce-lft-hi-col-left {
    width: 100%;
    padding: 0 1rem;
    align-items: center;
    background-position: center;
  }

  .ce-lft-bf .ce-lft-hi-col-left .ce-lft-hi-content {
    max-width: 560px;
    padding: 12rem 0 3rem;
    align-items: center;
    text-align: center;
  }

  .ce-lft-bf .ce-lft-hi-price {
    justify-content: center;
  }

  .ce-lft-bf .ce-lft-hi-checklist li {
    text-align: left;
  }

  .ce-lft-bf .ce-lft-hi-col-right {
    display: none;
  }

  /* Badge and tag sit above the text; the gifts are dropped. */
  .ce-lft-bf-deco {
    inset: 1.25rem 0 auto 0;
    height: 10rem;
  }

  .ce-lft-bf-badge {
    top: 1.5rem;
    left: auto;
    right: 50%;
    width: min(46vw, 250px);
  }

  .ce-lft-bf-tag {
    top: 0;
    left: 52%;
    right: auto;
    width: min(22vw, 110px);
  }

  .ce-lft-bf-gifts {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .ce-lft-bf .ce-lft-hi-col-left .ce-lft-hi-content {
    padding-top: 10rem;
  }

  .ce-lft-bf-deco {
    height: 8.5rem;
  }

  .ce-lft-bf .ce-lft-hi-timer-circle {
    width: 62px;
    height: 62px;
  }

  .ce-lft-bf .ce-lft-hi-btn {
    min-width: 0;
    width: 100%;
  }
}

/* ----- Popular Course Categories ----- */
.ce-lft-bf #ce-lft-cats-sec {
  position: relative;
  overflow: hidden;
  background: #fdf1f1 url(../imgs/bf/ce-bf-gifts-bg.webp) center / cover no-repeat;
  padding: 3.5rem 0 4.5rem;
}

.ce-lft-bf #ce-lft-cats-sec::before,
.ce-lft-bf #ce-lft-cats-sec::after {
  content: "";
  position: absolute;
  top: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.ce-lft-bf #ce-lft-cats-sec::before {
  left: 0;
  width: min(24vw, 320px);
  aspect-ratio: 922 / 615;
  background-image: url(../imgs/bf/ce-bf-bow.webp);
}

.ce-lft-bf #ce-lft-cats-sec::after {
  right: 0;
  width: min(22vw, 280px);
  aspect-ratio: 586 / 242;
  background-image: url(../imgs/bf/ce-bf-ribbon.webp);
  background-position: right top;
}

.ce-lft-bf #ce-lft-cats-sec > .container {
  position: relative;
  z-index: 1;
}

.ce-lft-bf .ce-lft-cats-title {
  color: var(--theme-color-2);
  font-weight: 800;
}

.ce-lft-bf .ce-lft-cats-highlight {
  color: #e3343b;
}

.ce-lft-bf #ce-lft-cats-sec .row {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2rem;
}

.ce-lft-bf .ce-lft-cats-card {
  height: 100%;
  gap: 1rem;
  border: 1px dashed #4b5563;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.ce-lft-bf .ce-lft-cats-thumb-wrap {
  width: 120px;
  height: 92px;
}

.ce-lft-bf .ce-lft-cats-name {
  font-size: 1.05rem;
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .ce-lft-bf #ce-lft-cats-sec .row {
    --bs-gutter-y: 1rem;
  }

  .ce-lft-bf .ce-lft-cats-thumb-wrap {
    width: 96px;
    height: 72px;
  }
}

/* ----- Learn. Complete. Get Certified. ----- */
.ce-lft-bf #ce-lft-hts-sec {
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-steps-bg.webp) center / cover no-repeat;
  padding: 3.5rem 0 5rem;
}

.ce-lft-bf .ce-lft-hts-title {
  color: #fff;
}

.ce-lft-bf .ce-lft-hts-card-wrap {
  display: flex;
  flex-direction: column;
}

.ce-lft-bf .ce-lft-hts-step-title {
  margin-bottom: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff3b3b 0%, #b8060e 100%);
  color: #fff;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 6px 16px rgba(225, 14, 23, 0.3);
}

.ce-lft-bf .ce-lft-hts-card {
  flex: 1;
  background: #020a1c;
  border: 2px solid #b8060e;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.ce-lft-bf .ce-lft-hts-thumb-wrap {
  background: #fff;
}

.ce-lft-bf .ce-lft-hts-thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ce-lft-bf .ce-lft-hts-list {
  color: #fff;
}

.ce-lft-bf .ce-lft-hts-list li {
  font-size: 0.95rem;
}

.ce-lft-bf .ce-lft-hts-arrow-img {
  opacity: 0.35;
  filter: invert(1);
}

/* =========================================================
   HOME HERO BANNER (.ce-bf-home)
   ========================================================= */
.ce-hm-hi-right--bf {
  display: flex;
}

.ce-bf-home {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 2.5rem;
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-hero-bg.webp) center / cover no-repeat;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.ce-bf-home:hover {
  color: #fff;
}

.ce-bf-home-art {
  flex: 0 1 58%;
  width: 58%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.ce-bf-home:hover .ce-bf-home-art {
  transform: scale(1.03);
}

.ce-bf-home-offer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ce-bf-home-eyebrow {
  font-size: 1.2rem;
}

.ce-bf-home-price {
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  background: var(--ce-bf-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.15rem 0 0.6rem;
}

.ce-bf-home-coupon {
  padding: 0.3rem 0.9rem;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.ce-bf-home-coupon strong {
  color: #ffd34d;
  letter-spacing: 0.5px;
}

.ce-bf-home-btn {
  padding: 0.7rem 1.6rem;
}

.ce-bf-home-life {
  max-width: 220px;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #e6e6e6;
}

.ce-bf-home-life strong {
  color: #ff4b4b;
}

@media (max-width: 1199.98px) {
  .ce-bf-home {
    flex-direction: column;
  }

  .ce-bf-home-art {
    width: min(80%, 420px);
  }
}

@media (max-width: 575.98px) {
  .ce-bf-home {
    padding: 1.75rem 1.25rem 2.25rem;
  }
}

/* =========================================================
   SIDEBAR BANNER (single blog + All Courses)
   ========================================================= */
.ce-bf-side,
.ce-sglblg-ad-banner a.ce-bf-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--ce-bf-ink) url(../imgs/bf/ce-bf-lft-hero-bg.webp) center / cover no-repeat;
  color: #fff;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.ce-bf-side:hover {
  color: #fff;
}

.ce-bf-side img {
  display: block;
}

.ce-bf-side-badge {
  width: 78%;
  max-width: 260px;
  height: auto;
  margin-bottom: 0.9rem;
}

.ce-bf-side-eyebrow {
  font-size: 1.15rem;
}

.ce-bf-side-count {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.ce-bf-side-count strong {
  color: #ff2d2d;
}

.ce-bf-side-only {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ce-bf-side-price {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  background: var(--ce-bf-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ce-bf-side-old {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #cfcfcf;
}

.ce-bf-side-off {
  margin-top: 0.6rem;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  background: var(--ce-bf-red);
  font-weight: 800;
  font-size: 0.9rem;
}

.ce-bf-side-gifts {
  width: 88%;
  max-width: 300px;
  height: auto;
  margin: 0.75rem 0 0.25rem;
}

.ce-bf-side-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff3b3b 0%, #c70a12 100%);
  font-weight: 700;
  transition: filter 0.2s ease;
}

.ce-bf-side:hover .ce-bf-side-btn {
  filter: brightness(1.1);
}
