.elementor-13225 .elementor-element.elementor-element-0803596{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13225 .elementor-element.elementor-element-5ec9b28{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13225 .elementor-element.elementor-element-0f354f4{--display:flex;}.elementor-13225 .elementor-element.elementor-element-2c673a3{--display:flex;}.elementor-13225 .elementor-element.elementor-element-dfe1c26{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13225 .elementor-element.elementor-element-798e325{--display:flex;}.elementor-13225 .elementor-element.elementor-element-1e05d5e{--display:flex;}.elementor-13225 .elementor-element.elementor-element-8a20424{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13225 .elementor-element.elementor-element-a3f2480{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13225 .elementor-element.elementor-element-ecead98{--display:flex;}@media(min-width:768px){.elementor-13225 .elementor-element.elementor-element-5ec9b28{--content-width:1000px;}.elementor-13225 .elementor-element.elementor-element-dfe1c26{--content-width:1000px;}}/* Start custom CSS *//* =========================================
   John Bryce AI Courses Page
   Optimized clean CSS
   Shortcodes:
   [jb_ai_featured_courses]
   [jb_ai_courses_filter]
   ========================================= */

html {
  scroll-behavior: smooth;
}

/* =========================================
   Layout
   ========================================= */

.jb-ai-real-courses {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 52px;
  font-family: "Assistant", sans-serif;
  scroll-margin-top: 110px;
}

.jb-ai-featured-courses {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}

html body #jb-ai-courses.jb-ai-real-courses,
html body #jb-ai-courses {
  width: 100% !important;
  max-width: 1500px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* =========================================
   Filter box
   ========================================= */

html body .jb-ai-real-filter {
  position: relative !important;
  margin-bottom: 34px !important;
  padding: 26px 28px 24px !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(242,134,38,0.18), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(217,4,61,0.22), transparent 36%),
    linear-gradient(135deg, #121212 0%, #19191b 52%, #101010 100%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.10) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

html body .jb-ai-real-filter::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 4px !important;
  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  z-index: 1 !important;
}

html body .jb-ai-real-filter::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) !important;
  background-size: 34px 34px !important;
  opacity: 0.35 !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 90%) !important;
}

/* Filter heading */

html body .jb-ai-real-filter-head {
  display: grid !important;
  grid-template-columns: 1fr minmax(280px, 430px) !important;
  gap: 24px !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}

html body .jb-ai-real-filter-title {
  position: relative !important;
  padding-right: 62px !important;
}

html body .jb-ai-real-filter-title::before {
  content: "AI" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  box-shadow:
    0 14px 32px rgba(217,4,61,0.34),
    inset 0 1px 0 rgba(255,255,255,0.20) !important;
}

html body .jb-ai-real-kicker {
  display: block !important;
  margin-bottom: 6px !important;
  color: #F28626 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

html body .jb-ai-real-filter h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* =========================================
   Search
   ========================================= */

html body .jb-ai-real-search {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 34px rgba(0,0,0,0.20) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

html body .jb-ai-real-search input,
html body .elementor .jb-ai-real-search input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 43px !important;
  padding: 0 17px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

html body .jb-ai-real-search input::placeholder {
  color: rgba(255,255,255,0.58) !important;
}

html body .jb-ai-real-search button,
html body .elementor .jb-ai-real-search button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 43px !important;
  min-height: 43px !important;
  padding: 0 23px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: #D9043D !important;
  background-image: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  color: #ffffff !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow:
    0 12px 28px rgba(217,4,61,0.34),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
  text-decoration: none !important;
  transform: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

html body .jb-ai-real-search button:hover,
html body .elementor .jb-ai-real-search button:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  background-image: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  box-shadow:
    0 16px 36px rgba(217,4,61,0.42),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* =========================================
   Filter tabs
   ========================================= */

html body .jb-ai-real-filter .jb-ai-real-tabs {
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 10px !important;
  overflow: visible !important;
  direction: rtl !important;
}

html body .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab,
html body .elementor .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.13) !important;
  background-color: rgba(255,255,255,0.075) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)) !important;
  color: rgba(255,255,255,0.86) !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 13.2px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(0,0,0,0.10) !important;
  transform: none !important;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease !important;
}

html body .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab:hover,
html body .elementor .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  border-color: rgba(242,134,38,0.34) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 26px rgba(0,0,0,0.16) !important;
}

html body .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab.is-active,
html body .elementor .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab.is-active {
  color: #ffffff !important;
  border-color: transparent !important;
  background-color: #D9043D !important;
  background-image: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  box-shadow:
    0 14px 32px rgba(217,4,61,0.34),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

html body .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab[hidden] {
  display: none !important;
}

/* Clear + counter */

html body button.jb-ai-real-clear,
html body .elementor button.jb-ai-real-clear {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  margin-top: 15px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #F28626 !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

html body button.jb-ai-real-clear[hidden] {
  display: none !important;
}

html body .jb-ai-real-count {
  margin-top: 13px !important;
  color: rgba(255,255,255,0.62) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

.jb-ai-card-hidden {
  display: none !important;
}

/* =========================================
   Topic gradients
   Used only for category pills
   ========================================= */

html body .jb-ai-real-card.topic-dev {
  --jb-topic-gradient: linear-gradient(135deg, #c91f52 0%, #e84443 52%, #f28626 100%);
}

html body .jb-ai-real-card.topic-auto {
  --jb-topic-gradient: linear-gradient(135deg, #7A3CFF 0%, #D9043D 50%, #F28626 100%);
}

html body .jb-ai-real-card.topic-data {
  --jb-topic-gradient: linear-gradient(135deg, #225CFF 0%, #16D6A8 100%);
}

html body .jb-ai-real-card.topic-qa {
  --jb-topic-gradient: linear-gradient(135deg, #00B3FF 0%, #D9043D 100%);
}

html body .jb-ai-real-card.topic-product {
  --jb-topic-gradient: linear-gradient(135deg, #D9043D 0%, #F28626 100%);
}

html body .jb-ai-real-card.topic-business {
  --jb-topic-gradient: linear-gradient(135deg, #C2185B 0%, #F28626 100%);
}

html body .jb-ai-real-card.topic-creative {
  --jb-topic-gradient: linear-gradient(135deg, #7A3CFF 0%, #D9043D 52%, #F28626 100%);
}

html body .jb-ai-real-card.topic-it {
  --jb-topic-gradient: linear-gradient(135deg, #8A8A8A 0%, #D9043D 55%, #F28626 100%);
}

html body .jb-ai-real-card.topic-security {
  --jb-topic-gradient: linear-gradient(135deg, #5f1830 0%, #a61f44 48%, #f05a28 100%);
}

html body .jb-ai-real-card.topic-general {
  --jb-topic-gradient: linear-gradient(135deg, #BDBDBD 0%, #D9043D 55%, #F28626 100%);
}

/* =========================================
   Course grids
   ========================================= */

.jb-ai-real-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

html body #jb-ai-courses .jb-ai-real-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

/* =========================================
   Course cards
   ========================================= */

.jb-ai-real-card {
  position: relative;
  min-height: 282px;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: #101113 !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.08);
  isolation: isolate;
  transition: box-shadow 0.24s ease !important;
}

.jb-ai-real-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.68), transparent 86%);
  opacity: 0.34;
  z-index: 0;
}

.jb-ai-real-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.10);
  z-index: 4;
}

.jb-ai-real-card:hover,
html body #jb-ai-courses .jb-ai-real-card:hover {
  transform: none !important;
  box-shadow:
    0 26px 58px rgba(0,0,0,0.24),
    0 14px 34px rgba(217,4,61,0.13),
    inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

.jb-ai-real-card-link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 282px;
  height: 100%;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

html body #jb-ai-courses .jb-ai-real-card,
html body #jb-ai-courses .jb-ai-real-card-link {
  min-height: 270px !important;
}

/* Thin top line */

.jb-ai-real-card-visual,
html body #jb-ai-courses .jb-ai-real-card-visual {
  position: relative !important;
  min-height: 5px !important;
  height: 5px !important;
  max-height: 5px !important;
  overflow: hidden !important;
  display: block !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
}

.jb-ai-real-card-visual::before,
.jb-ai-real-card-visual::after,
html body #jb-ai-courses .jb-ai-real-card-visual::before,
html body #jb-ai-courses .jb-ai-real-card-visual::after {
  display: none !important;
  content: none !important;
}

/* Hide old visual elements still printed by PHP */

.jb-ai-real-card-orb,
.jb-ai-real-card-badge,
html body #jb-ai-courses .jb-ai-real-card-orb,
html body #jb-ai-courses .jb-ai-real-card-badge {
  display: none !important;
}

/* Card body */

.jb-ai-real-card-body,
html body #jb-ai-courses .jb-ai-real-card-body {
  position: relative !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start !important;
  text-align: right !important;
  overflow: hidden !important;
  isolation: isolate !important;
  padding: 24px 22px 22px !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(242,134,38,0.08), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(217,4,61,0.10), transparent 36%),
    linear-gradient(180deg, #121315 0%, #0e0f11 100%) !important;
}

/* Bottom hover fill */

.jb-ai-real-card-body::after,
html body #jb-ai-courses .jb-ai-real-card-body::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 52% !important;
  background:
    radial-gradient(circle at 18% 100%, rgba(242,134,38,0.30), transparent 38%),
    radial-gradient(circle at 88% 100%, rgba(217,4,61,0.34), transparent 42%),
    linear-gradient(0deg, rgba(217,4,61,0.30) 0%, rgba(242,134,38,0.12) 48%, transparent 100%) !important;
  opacity: 0 !important;
  transform: translateY(32%) !important;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.jb-ai-real-card:hover .jb-ai-real-card-body::after,
html body #jb-ai-courses .jb-ai-real-card:hover .jb-ai-real-card-body::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Keep content above hover fill */

.jb-ai-real-card-topics,
.jb-ai-real-card h3,
.jb-ai-real-card p,
.jb-ai-real-card-cta,
html body #jb-ai-courses .jb-ai-real-card-topics,
html body #jb-ai-courses .jb-ai-real-card h3,
html body #jb-ai-courses .jb-ai-real-card p,
html body #jb-ai-courses .jb-ai-real-card-cta {
  position: relative !important;
  z-index: 2 !important;
}

/* Category pill */

.jb-ai-real-card-topics,
html body #jb-ai-courses .jb-ai-real-card-topics {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: right !important;
  margin-bottom: 14px !important;
}

.jb-ai-real-card-topics span,
html body #jb-ai-courses .jb-ai-real-card-topics span {
  display: inline-flex;
  align-items: center;
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: var(--jb-topic-gradient, linear-gradient(135deg, #D9043D 0%, #F28626 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 0 !important;
  box-shadow:
    0 8px 18px rgba(217,4,61,0.18),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Text */

.jb-ai-real-card h3,
html body #jb-ai-courses .jb-ai-real-card h3 {
  width: 100% !important;
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 24px !important;
  line-height: 1.14 !important;
  font-weight: 800 !important;
  letter-spacing: -0.25px !important;
  text-align: right !important;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html body #jb-ai-courses .jb-ai-real-card h3 {
  font-size: 21px !important;
}

.jb-ai-real-card p,
html body #jb-ai-courses .jb-ai-real-card p {
  width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 64px !important;
  margin: 0 0 18px !important;
  color: rgba(255,255,255,0.72) !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  text-align: right !important;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html body #jb-ai-courses .jb-ai-real-card p {
  font-size: 14px !important;
  line-height: 1.52 !important;
}

/* CTA */

.jb-ai-real-card-cta,
html body #jb-ai-courses .jb-ai-real-card-cta {
  align-self: flex-start !important;
  margin-top: auto !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px !important;
  min-height: 39px;
  padding: 0 17px;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    0 12px 26px rgba(217,4,61,0.24),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

html body #jb-ai-courses .jb-ai-real-card-cta {
  min-height: 36px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

.jb-ai-real-card-cta::after {
  content: "←";
  margin-right: 8px;
  font-size: 15px;
  font-weight: 800 !important;
}

/* =========================================
   Critical hover typography lock
   Cancels bold / blur on hover
   ========================================= */

html body .jb-ai-real-card,
html body .jb-ai-real-card *,
html body #jb-ai-courses .jb-ai-real-card,
html body #jb-ai-courses .jb-ai-real-card * {
  font-synthesis: none !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

html body .jb-ai-real-card .jb-ai-real-card-link,
html body .jb-ai-real-card .jb-ai-real-card-link:hover,
html body .jb-ai-real-card .jb-ai-real-card-link:focus,
html body .jb-ai-real-card .jb-ai-real-card-link:active,
html body .jb-ai-real-card .jb-ai-real-card-link:visited,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:hover,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:focus,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:active,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:visited {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: normal !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body .jb-ai-real-card:hover h3,
html body .jb-ai-real-card .jb-ai-real-card-link:hover h3,
html body #jb-ai-courses .jb-ai-real-card:hover h3,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:hover h3 {
  font-weight: 800 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body .jb-ai-real-card:hover p,
html body .jb-ai-real-card .jb-ai-real-card-link:hover p,
html body #jb-ai-courses .jb-ai-real-card:hover p,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:hover p {
  font-weight: 500 !important;
  color: rgba(255,255,255,0.72) !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body .jb-ai-real-card:hover .jb-ai-real-card-topics span,
html body .jb-ai-real-card .jb-ai-real-card-link:hover .jb-ai-real-card-topics span,
html body #jb-ai-courses .jb-ai-real-card:hover .jb-ai-real-card-topics span,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:hover .jb-ai-real-card-topics span {
  font-weight: 700 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body .jb-ai-real-card:hover .jb-ai-real-card-cta,
html body .jb-ai-real-card .jb-ai-real-card-link:hover .jb-ai-real-card-cta,
html body #jb-ai-courses .jb-ai-real-card:hover .jb-ai-real-card-cta,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-link:hover .jb-ai-real-card-cta {
  font-weight: 800 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* =========================================
   Featured course level badge
   ========================================= */

.jb-ai-featured-level {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  margin-bottom: 11px;
  border-radius: 999px;
  font-family: "Assistant", sans-serif;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.jb-ai-featured-level.is-beginner {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 36%),
    linear-gradient(135deg, #D9043D 0%, #F28626 100%);
}

.jb-ai-featured-level.is-beginner::before {
  content: "●";
  margin-left: 7px;
  color: #ffffff;
  font-size: 8px;
}

.jb-ai-featured-level.is-advanced {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 36%),
    linear-gradient(135deg, #222222 0%, #3a2430 52%, #D9043D 100%);
}

.jb-ai-featured-level.is-advanced::before {
  content: "◆";
  margin-left: 7px;
  color: #F28626;
  font-size: 9px;
}

/* =========================================
   Empty state
   ========================================= */

.jb-ai-real-empty {
  padding: 36px 20px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  text-align: center;
  color: #555555;
  font-size: 17px;
  font-weight: 700;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1240px) {
  html body #jb-ai-courses.jb-ai-real-courses,
  html body #jb-ai-courses {
    max-width: 1180px !important;
  }

  html body #jb-ai-courses .jb-ai-real-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body .jb-ai-real-filter .jb-ai-real-tabs {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 1024px) {
  .jb-ai-real-grid,
  html body #jb-ai-courses .jb-ai-real-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .jb-ai-real-filter-head {
    grid-template-columns: 1fr !important;
    gap: 17px !important;
  }

  html body .jb-ai-real-search {
    max-width: 520px !important;
  }

  html body .jb-ai-real-filter .jb-ai-real-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 7px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  html body .jb-ai-real-filter .jb-ai-real-tabs::-webkit-scrollbar {
    display: none !important;
  }

  html body .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab,
  html body .elementor .jb-ai-real-filter .jb-ai-real-tabs button.jb-ai-real-tab {
    flex: 0 0 auto !important;
    min-width: auto !important;
    padding: 0 15px !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (max-width: 767px) {
  .jb-ai-real-courses,
  html body #jb-ai-courses.jb-ai-real-courses,
  html body #jb-ai-courses {
    padding: 10px 16px 42px !important;
  }

  html body .jb-ai-real-filter {
    padding: 22px 16px 19px !important;
    border-radius: 25px !important;
    margin-bottom: 24px !important;
  }

  html body .jb-ai-real-filter-title {
    padding-right: 54px !important;
  }

  html body .jb-ai-real-filter-title::before {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  html body .jb-ai-real-filter h2 {
    font-size: 27px !important;
    line-height: 1.12 !important;
  }

  html body .jb-ai-real-search {
    width: 100% !important;
    max-width: none !important;
  }

  html body .jb-ai-real-search input {
    font-size: 14.5px !important;
    padding: 0 13px !important;
  }

  html body .jb-ai-real-search button,
  html body .elementor .jb-ai-real-search button {
    padding: 0 17px !important;
    font-size: 13.5px !important;
  }

  html body .jb-ai-real-tabs button.jb-ai-real-tab,
  html body .elementor .jb-ai-real-tabs button.jb-ai-real-tab {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
  }

  .jb-ai-real-grid,
  html body #jb-ai-courses .jb-ai-real-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .jb-ai-real-card,
  .jb-ai-real-card-link,
  html body #jb-ai-courses .jb-ai-real-card,
  html body #jb-ai-courses .jb-ai-real-card-link {
    min-height: 265px !important;
  }

  .jb-ai-real-card {
    border-radius: 24px !important;
  }

  .jb-ai-real-card h3,
  html body #jb-ai-courses .jb-ai-real-card h3 {
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .jb-ai-real-card p,
  html body #jb-ai-courses .jb-ai-real-card p {
    font-size: 14px !important;
  }

  .jb-ai-real-card-topics span,
  html body #jb-ai-courses .jb-ai-real-card-topics span {
    min-height: 27px !important;
    padding: 0 11px !important;
    font-size: 11.8px !important;
  }

  .jb-ai-featured-courses {
    padding-bottom: 34px !important;
  }
}
.jb-ai-real-card-inner,
html body #jb-ai-courses .jb-ai-real-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 282px;
  height: 100%;
  color: #ffffff !important;
  text-decoration: none !important;
}

html body #jb-ai-courses .jb-ai-real-card-inner {
  min-height: 270px !important;
}
/* Inner wrapper במקום link שעוטף את כל הכרטיסייה */

.jb-ai-real-card-inner,
html body .jb-ai-featured-courses .jb-ai-real-card-inner,
html body #jb-ai-courses .jb-ai-real-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 282px;
  height: 100%;
  color: #ffffff !important;
  text-decoration: none !important;
}

html body #jb-ai-courses .jb-ai-real-card-inner {
  min-height: 270px !important;
}

/* ביטול מלא של link wrapper הישן אם נשאר CSS */
.jb-ai-real-card-link {
  font-weight: inherit !important;
}
/* =========================================
   AI cards - bottom gradient line hover fill
   Same style as top strip, fills RTL
   ========================================= */

/* מבטל את הגראדיינט הגדול שהיה בריחוף */
html body .jb-ai-real-card .jb-ai-real-card-body::after,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-body::after {
  content: "" !important;

  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;

  width: 0 !important;
  height: 5px !important;

  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;

  opacity: 1 !important;
  transform: none !important;

  border-radius: 999px 0 0 0 !important;

  box-shadow:
    0 -6px 18px rgba(217,4,61,0.18),
    0 -3px 10px rgba(242,134,38,0.14) !important;

  pointer-events: none !important;
  z-index: 3 !important;

  transition:
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease !important;
}

/* בריחוף הפס מתמלא מימין לשמאל */
html body .jb-ai-real-card:hover .jb-ai-real-card-body::after,
html body #jb-ai-courses .jb-ai-real-card:hover .jb-ai-real-card-body::after {
  width: 100% !important;
}

/* שומר את התוכן מעל האפקט */
html body .jb-ai-real-card .jb-ai-real-card-topics,
html body .jb-ai-real-card h3,
html body .jb-ai-real-card p,
html body .jb-ai-real-card .jb-ai-real-card-cta,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-topics,
html body #jb-ai-courses .jb-ai-real-card h3,
html body #jb-ai-courses .jb-ai-real-card p,
html body #jb-ai-courses .jb-ai-real-card .jb-ai-real-card-cta {
  position: relative !important;
  z-index: 4 !important;
}
/* =========================================
   Featured cards - clean level badge
   Replace diagonal ribbon with subtle top-left badge
   ========================================= */

/* מבטל לגמרי את הריבון האלכסוני */
html body .jb-ai-featured-courses .jb-ai-featured-level {
  position: absolute !important;
  top: 22px !important;
  left: 22px !important;
  right: auto !important;
  z-index: 6 !important;

  width: auto !important;
  height: 28px !important;
  min-height: 28px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 12px !important;

  transform: none !important;
  border-radius: 999px !important;

  font-family: "Assistant", sans-serif !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;

  color: rgba(255,255,255,0.86) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.86) !important;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055)) !important;

  border: 1px solid rgba(255,255,255,0.16) !important;

  box-shadow:
    0 10px 22px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.14) !important;

  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  pointer-events: none !important;
}

/* שלא יופיע האייקון/נקודה הישנה */
html body .jb-ai-featured-courses .jb-ai-featured-level::before {
  display: none !important;
  content: none !important;
}

/* הבדלה עדינה בין מתחילים למתקדמים */
html body .jb-ai-featured-courses .jb-ai-featured-level.is-beginner {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(242,134,38,0.34) !important;
  background:
    linear-gradient(135deg, rgba(217,4,61,0.22), rgba(242,134,38,0.18)) !important;
}

html body .jb-ai-featured-courses .jb-ai-featured-level.is-advanced {
  color: rgba(255,255,255,0.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.82) !important;
  border-color: rgba(255,255,255,0.16) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045)) !important;
}

/* שומר מרווח שלא יתנגש בכותרת אם יש תגית ארוכה */
html body .jb-ai-featured-courses .jb-ai-real-card-body {
  padding-top: 24px !important;
}

/* מובייל */
@media (max-width: 767px) {
  html body .jb-ai-featured-courses .jb-ai-featured-level {
    top: 18px !important;
    left: 18px !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}
/* =========================================
   AI Quiz Gravity Form - equal field sizes
   ========================================= */

html body .jb-ai-quiz-lead-form .gform_wrapper,
html body .jb-ai-quiz-lead-form form {
  width: 100% !important;
}

html body .jb-ai-quiz-lead-form .gform_body,
html body .jb-ai-quiz-lead-form .gform_fields {
  width: 100% !important;
}

html body .jb-ai-quiz-lead-form .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body .jb-ai-quiz-lead-form .gfield {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
}

html body .jb-ai-quiz-lead-form .gfield--width-full {
  grid-column: span 2 !important;
}

html body .jb-ai-quiz-lead-form input[type="text"],
html body .jb-ai-quiz-lead-form input[type="email"],
html body .jb-ai-quiz-lead-form input[type="tel"],
html body .jb-ai-quiz-lead-form input[type="number"],
html body .jb-ai-quiz-lead-form select,
html body .jb-ai-quiz-lead-form textarea {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 52px !important;
  min-height: 52px !important;

  padding: 0 16px !important;

  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;

  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;

  font-family: "Assistant", sans-serif !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 600 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08) !important;

  box-sizing: border-box !important;
}

html body .jb-ai-quiz-lead-form textarea {
  height: 112px !important;
  min-height: 112px !important;
  padding-top: 14px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
}

html body .jb-ai-quiz-lead-form input::placeholder,
html body .jb-ai-quiz-lead-form textarea::placeholder {
  color: rgba(255,255,255,0.52) !important;
}

html body .jb-ai-quiz-lead-form .gfield_label {
  min-height: 20px !important;
  margin: 0 0 7px !important;
  color: rgba(255,255,255,0.82) !important;
  font-family: "Assistant", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

html body .jb-ai-quiz-lead-form .ginput_container {
  width: 100% !important;
  margin: 0 !important;
}

html body .jb-ai-quiz-lead-form .gform_footer,
html body .jb-ai-quiz-lead-form .gform_page_footer {
  margin-top: 16px !important;
  padding: 0 !important;
}

html body .jb-ai-quiz-lead-form .gform_button,
html body .jb-ai-quiz-lead-form input[type="submit"] {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;

  border: 0 !important;
  border-radius: 999px !important;

  background: linear-gradient(135deg, #D9043D 0%, #F28626 100%) !important;
  color: #ffffff !important;

  font-family: "Assistant", sans-serif !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 850 !important;

  box-shadow:
    0 14px 30px rgba(217,4,61,0.28),
    inset 0 1px 0 rgba(255,255,255,0.20) !important;

  cursor: pointer !important;
}

@media (max-width: 767px) {
  html body .jb-ai-quiz-lead-form .gform_fields {
    grid-template-columns: 1fr !important;
  }

  html body .jb-ai-quiz-lead-form .gfield,
  html body .jb-ai-quiz-lead-form .gfield--width-full {
    grid-column: auto !important;
  }

  html body .jb-ai-quiz-lead-form input[type="text"],
  html body .jb-ai-quiz-lead-form input[type="email"],
  html body .jb-ai-quiz-lead-form input[type="tel"],
  html body .jb-ai-quiz-lead-form input[type="number"],
  html body .jb-ai-quiz-lead-form select {
    height: 50px !important;
    min-height: 50px !important;
  }
}/* End custom CSS */