/* Modern specialty-program cards, aligned with the certifications page. */
.specialized-programs-page main > .section:not(.page-hero) {
  position: relative;
  overflow: hidden;
}

.specialized-programs-page main > .section:not(.page-hero)::before {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -150px;
  inset-inline-end: -110px;
  content: "";
  pointer-events: none;
  background: rgba(29, 119, 115, 0.055);
  border-radius: 50%;
}

.specialized-programs-page .cards-grid.global-grid {
  align-items: stretch;
}

.specialized-programs-page .specialized-program-card {
  --program-accent: #1d7773;
  --program-accent-dark: #155856;
  --program-soft: rgba(29, 119, 115, 0.12);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 455px;
  padding: 1.65rem !important;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(24, 91, 88, 0.13) !important;
  border-radius: 34px 34px 10px 34px !important;
  box-shadow: 0 20px 48px rgba(22, 78, 75, 0.11) !important;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.specialized-programs-page .specialized-program-card:nth-child(3n + 2) {
  --program-accent: #ef7358;
  --program-accent-dark: #bd4f3a;
  --program-soft: rgba(239, 115, 88, 0.13);
}

.specialized-programs-page .specialized-program-card:nth-child(3n) {
  --program-accent: #d79a24;
  --program-accent-dark: #9b6709;
  --program-soft: rgba(215, 154, 36, 0.16);
}

.specialized-programs-page .specialized-program-card::before {
  position: relative !important;
  inset: auto !important;
  display: grid;
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  place-items: center;
  align-self: center;
  margin: 0.25rem auto 1.55rem;
  content: attr(data-program-icon);
  color: #fff;
  background: linear-gradient(145deg, var(--program-accent), var(--program-accent-dark));
  border: 7px solid #fff;
  border-radius: 50%;
  outline: 2px solid var(--program-accent);
  box-shadow: 0 12px 28px var(--program-soft);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  direction: ltr;
}

.specialized-programs-page .specialized-program-card::after {
  position: absolute;
  width: 8px;
  top: 38px;
  bottom: 38px;
  right: 0;
  content: "";
  background: linear-gradient(180deg, var(--program-accent), transparent);
  border-radius: 8px 0 0 8px;
}

.specialized-programs-page .specialized-program-card > * {
  position: relative;
  z-index: 1;
  width: 100%;
}

.specialized-programs-page .specialized-program-card .eyebrow {
  align-self: center;
  width: fit-content;
  min-height: 34px;
  margin: 0 auto 1rem;
  padding: 0.35rem 0.85rem;
  color: var(--program-accent-dark);
  background: var(--program-soft);
  border-color: transparent;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.55;
  text-align: center;
}

.specialized-programs-page .specialized-program-card h3 {
  margin: 0 0 1.15rem;
  color: #176b68 !important;
  font-size: clamp(1.28rem, 1.65vw, 1.52rem) !important;
  font-weight: 850;
  line-height: 1.7 !important;
  text-align: center;
}

.specialized-programs-page .specialized-program-card p {
  margin: 0 0 1rem !important;
  color: #365f5c !important;
  font-size: 1.04rem !important;
  line-height: 2 !important;
  text-align: center;
}

.specialized-programs-page .specialized-program-card p strong {
  color: var(--program-accent-dark) !important;
  font-weight: 900;
}

.specialized-programs-page .specialized-program-card .mini-chip-row {
  width: calc(100% + 3.3rem);
  min-height: 104px;
  margin: auto -1.65rem -1.65rem !important;
  padding: 1rem 1.65rem;
  align-items: center;
  background: linear-gradient(135deg, var(--program-soft), rgba(255, 255, 255, 0.78));
  border-top: 1px solid var(--program-soft);
}

.specialized-programs-page .specialized-program-card .mini-chip-row span {
  width: 100%;
  padding: 0;
  color: var(--program-accent-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.9;
  text-align: center;
}

.specialized-programs-page .specialized-program-card .mini-chip-row span::before {
  content: none;
}

.specialized-programs-page .specialized-program-card:hover {
  transform: translateY(-7px);
  border-color: var(--program-accent) !important;
  box-shadow: 0 26px 58px rgba(22, 78, 75, 0.17) !important;
}

body.dark-theme.specialized-programs-page .specialized-program-card {
  background: rgba(21, 65, 63, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}

body.dark-theme.specialized-programs-page .specialized-program-card h3 {
  color: #fff;
}

body.dark-theme.specialized-programs-page .specialized-program-card p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 720px) {
  .specialized-programs-page .cards-grid.global-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .specialized-programs-page .specialized-program-card {
    min-height: 0;
    padding: 1.35rem !important;
    border-radius: 27px 27px 8px 27px !important;
  }

  .specialized-programs-page .specialized-program-card::before {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
    margin: 0.15rem auto 1.3rem;
    font-size: 2rem;
  }

  .specialized-programs-page .specialized-program-card .mini-chip-row {
    width: calc(100% + 2.7rem);
    min-height: 0;
    margin: 0.35rem -1.35rem -1.35rem !important;
    padding: 1rem 1.35rem;
  }

  .specialized-programs-page .specialized-program-card h3 {
    font-size: 1.22rem !important;
  }

  .specialized-programs-page .specialized-program-card p {
    font-size: 1rem !important;
    line-height: 1.9 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .specialized-programs-page .specialized-program-card {
    transition: none;
  }
}

/* SLOGAN VISIBILITY OVERRIDE */
.site-header.premium-header .logo-slogan,
.premium-header .logo-slogan,
.logo-slogan {
    display: block !important;
    font-size: 11px !important;
    color: #7c9494 !important;
    font-weight: 500 !important;
    white-space: normal !important;
    margin-top: 2px !important;
}

.footer-slogan {
    display: block !important;
    font-weight: 700 !important;
    color: #faba3d !important;
    margin: 0.35rem 0 0.55rem !important;
}


/* ==========================================================================
   GLOBAL MOBILE HERO TEXT REDUCTION (ALL PAGES)
   ========================================================================== */
@media (max-width: 991px) {
  body .hero h1,
  body .hero-copy h1,
  body .page-hero-copy h1,
  body .hero-showcase .hero-copy h1,
  body .hero-homepage .hero-copy h1,
  body .course-header h1,
  body .post-header h1,
  body .page-header h1,
  body .hero-content h1,
  body .section-hero h1,
  body h1.hero-title,
  body h1.page-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }
  
  body .hero p,
  body .hero-copy p,
  body .page-hero-copy p,
  body .hero-showcase .hero-copy p,
  body .hero-homepage .hero-copy p,
  body .page-header p,
  body .hero-content p,
  body .section-hero p,
  body p.hero-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 1.1rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    max-width: 100% !important;
  }
}



/* ==========================================================================
   CENTERED MOBILE HEADER SLOGAN - V4 (ABSOLUTE CENTERING)
   ========================================================================== */
@media (max-width: 991px) {
  /* 1. Ensure header-shell is the relative parent */
  body .site-header .header-shell,
  body .site-header.premium-header .header-shell {
    position: relative !important;
  }
  
  /* 2. Remove any relative positioning from brand link and its wrappers */
  body .site-header .brand,
  body .site-header.premium-header .brand,
  html[dir="rtl"] body .site-header.premium-header .brand,
  body a.brand,
  body a.brand-saas {
    position: static !important;
  }

  /* 3. Absolute position the slogan in the exact center of header-shell */
  body .site-header .brand .logo-slogan,
  body .site-header.premium-header .brand .logo-slogan,
  body .site-header.premium-header .brand-saas .logo-slogan,
  body a.brand span.logo-slogan,
  html[dir="rtl"] body .site-header.premium-header a.brand span.logo-slogan,
  html[dir="rtl"] body .site-header a.brand span.logo-slogan {

    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    
    /* 4. Formatting */
    width: 125px !important;
    max-width: 130px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    font-size: 8.5px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    color: var(--color-text-muted, rgba(255, 255, 255, 0.7)) !important;
    direction: rtl !important;
  }
}


/* ==========================================================================
   MOBILE MENU CONTAINER OVERFLOW FIX - V7 (ALLOW FULL TEXT)
   ========================================================================== */
@media (max-width: 991px) {
  /* Remove overflow-x: hidden from parent containers that clip the text */
  body .premium-header .site-nav.site-nav-saas .drawer-content,
  body .premium-header .site-nav.site-nav-saas .navigation-container,
  body .site-nav .drawer-content,
  body .site-nav .navigation-container {
    overflow-x: visible !important;
    overflow: visible !important;
  }

  /* nav-panel must allow overflow too */
  body .premium-header .site-nav.site-nav-saas .nav-panel {
    overflow-x: visible !important;
  }

  /* nav-list items should not clip */  
  body .premium-header .site-nav.site-nav-saas .nav-list,
  body .nav-list {
    overflow: visible !important;
  }

  /* nav-item-dropdown should not clip */
  body .nav-item-dropdown,
  body .premium-header .nav-item-dropdown {
    overflow: visible !important;
  }

  /* open dropdown menu must show all content */
  body .premium-header .site-nav.site-nav-saas .nav-item-dropdown.open .nav-dropdown-menu,
  body .nav-item-dropdown.open .nav-dropdown-menu {
    overflow: visible !important;
    max-height: 2500px !important;
  }

  /* Force dropdown links to wrap text */
  body .nav-dropdown-link,
  body .premium-header .nav-dropdown-link,
  body .site-nav .nav-dropdown-link {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: unset !important;
    overflow: visible !important;
    display: block !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
}



/* ==========================================================================
   MOBILE MENU DROPDOWN FIX - V8 (ACCORDION STYLE FOR MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  body .premium-header .nav-dropdown-menu,
  body .site-header .nav-dropdown-menu,
  body .site-nav-saas .nav-dropdown-menu,
  body .site-header.premium-header .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    inset-inline-start: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin-top: 0.5rem !important;
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ===== 2026-10-20: moved from Appearance → Customize → Additional CSS (same rules, unchanged) ===== */

/* LeadMinds — Specialized programs page redesign (below hero) */
html body.page-template-specialized-programs{--lf-tt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cpath d='M0,0H100V140A100,100 0 0 1 0,40Z' fill='%2341A5A5' fill-opacity='.13'/%3E%3C/svg%3E");--lf-ty:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cpath d='M0,0H100V140A100,100 0 0 1 0,40Z' fill='%23FABA3D' fill-opacity='.22'/%3E%3C/svg%3E");--lf-wt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M200,0V100H0A100,100 0 0 1 100,0Z' fill='%2341A5A5' fill-opacity='.12'/%3E%3C/svg%3E");--lf-wy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M200,0V100H0A100,100 0 0 1 100,0Z' fill='%23FABA3D' fill-opacity='.24'/%3E%3C/svg%3E");--lf-ot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 104 144'%3E%3Cpath d='M0,0H100V140A100,100 0 0 1 0,40Z' fill='none' stroke='%2341A5A5' stroke-opacity='.45' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");--lf-oy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 204 104'%3E%3Cpath d='M200,0V100H0A100,100 0 0 1 100,0Z' fill='none' stroke='%23FABA3D' stroke-opacity='.7' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")}
html body.page-template-specialized-programs main > section:nth-of-type(2) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(3) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(4) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(5) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(6) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(7) > .brand-section-motif,html body.page-template-specialized-programs main > section:nth-of-type(8) > .brand-section-motif{display:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(2),html body.page-template-specialized-programs main > section:nth-of-type(3),html body.page-template-specialized-programs main > section:nth-of-type(4),html body.page-template-specialized-programs main > section:nth-of-type(5),html body.page-template-specialized-programs main > section:nth-of-type(6),html body.page-template-specialized-programs main > section:nth-of-type(7),html body.page-template-specialized-programs main > section:nth-of-type(8){position:relative !important;isolation:isolate;overflow:visible !important;overflow-x:clip !important;border:0 !important;}
html body.page-template-specialized-programs main > section:nth-of-type(2)::before,html body.page-template-specialized-programs main > section:nth-of-type(3)::before,html body.page-template-specialized-programs main > section:nth-of-type(4)::before,html body.page-template-specialized-programs main > section:nth-of-type(5)::before,html body.page-template-specialized-programs main > section:nth-of-type(6)::before,html body.page-template-specialized-programs main > section:nth-of-type(7)::before,html body.page-template-specialized-programs main > section:nth-of-type(8)::before{content:"" !important;position:absolute !important;inset:0 !important;z-index:-1 !important;pointer-events:none;opacity:1 !important;border:0 !important;border-radius:0 !important;width:auto !important;height:auto !important;transform:none !important;-webkit-mask-image:none !important;mask-image:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(2)::after,html body.page-template-specialized-programs main > section:nth-of-type(3)::after,html body.page-template-specialized-programs main > section:nth-of-type(4)::after,html body.page-template-specialized-programs main > section:nth-of-type(5)::after,html body.page-template-specialized-programs main > section:nth-of-type(6)::after,html body.page-template-specialized-programs main > section:nth-of-type(7)::after,html body.page-template-specialized-programs main > section:nth-of-type(8)::after{content:none !important;background:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(2){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(2)::before{background:var(--lf-wy) right -70px top 50px / 280px auto no-repeat,var(--lf-tt) left -40px bottom 100px / 170px auto no-repeat,var(--lf-ot) left 70px top 60px / 80px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(3){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(3)::before{background:var(--lf-tt) left -50px top 70px / 190px auto no-repeat,var(--lf-oy) right 6% bottom 60px / 170px auto no-repeat,var(--lf-wt) right -70px top 40% / 250px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(4){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(4)::before{background:var(--lf-wy) left -60px top 40px / 260px auto no-repeat,var(--lf-tt) right -30px bottom 40px / 160px auto no-repeat,var(--lf-ot) right 80px top 60px / 70px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(5){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(5)::before{background:var(--lf-oy) left 6% top 50px / 150px auto no-repeat,var(--lf-wt) right -80px bottom 40px / 280px auto no-repeat,var(--lf-ty) left -40px bottom 30px / 150px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(6){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(6)::before{background:var(--lf-wy) right -70px top 50px / 280px auto no-repeat,var(--lf-tt) left -40px bottom 100px / 170px auto no-repeat,var(--lf-ot) left 70px top 60px / 80px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(7){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(7)::before{background:var(--lf-tt) left -50px top 70px / 190px auto no-repeat,var(--lf-oy) right 6% bottom 60px / 170px auto no-repeat,var(--lf-wt) right -70px top 40% / 250px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:nth-of-type(8){background:transparent !important;box-shadow:none !important;}
html body.page-template-specialized-programs main > section:nth-of-type(8)::before{background:var(--lf-wy) left -60px top 40px / 260px auto no-repeat,var(--lf-tt) right -30px bottom 40px / 160px auto no-repeat,var(--lf-ot) right 80px top 60px / 70px auto no-repeat !important;}
html body.page-template-specialized-programs main > section:last-of-type{padding-bottom:110px !important;margin-bottom:0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main.site-main, html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main{padding-bottom:0 !important;}

/* Section headings */
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2{color:#153F3E !important;-webkit-text-fill-color:#153F3E !important;font-size:32px !important;font-weight:600 !important;line-height:1.4 !important;display:flex !important;align-items:center !important;gap:14px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2::before{content:"" !important;display:block !important;flex:none;width:40px !important;height:40px !important;border-radius:0 0 0 40px !important;background:linear-gradient(145deg,#41A5A5,#1d6c6c) !important;position:static !important;margin:0 !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2::before{border-radius:0 0 40px 0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(odd) .section-head h2::before{background:#FABA3D !important;}

/* Cards */
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card + .specialized-program-card{margin:0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .cards-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(270px,1fr)) !important;gap:26px !important;align-items:stretch !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card{--cc:#41A5A5;--cd:#1d6c6c;--ct:#e6f3f2;background:#ffffff !important;background-image:none !important;border:1px solid #d6e9e7 !important;border-radius:26px 26px 26px 100px !important;box-shadow:0 22px 44px -30px rgba(11,54,55,.5) !important;padding:28px 26px 30px !important;text-align:start !important;overflow:hidden !important;position:relative !important;display:flex !important;flex-direction:column !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card{border-radius:26px 26px 100px 26px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card::after{content:"" !important;position:absolute !important;top:0 !important;left:0 !important;right:auto !important;width:110px !important;height:110px !important;background:var(--cc) !important;opacity:.10 !important;border-radius:0 0 110px 0 !important;border:0 !important;transform:none !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card::after{left:auto !important;right:0 !important;border-radius:0 0 0 110px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card::before{position:relative !important;display:flex !important;align-items:center !important;justify-content:center !important;width:70px !important;height:70px !important;margin:0 0 18px !important;border:0 !important;border-radius:0 0 0 70px !important;background:linear-gradient(145deg,var(--cc),var(--cd)) !important;box-shadow:0 14px 26px -16px var(--cd) !important;font-size:30px !important;line-height:1 !important;transform:none !important;inset:auto !important;align-self:flex-start !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card::before{border-radius:0 0 70px 0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card h3{color:#153F3E !important;-webkit-text-fill-color:#153F3E !important;font-size:22px !important;font-weight:600 !important;line-height:1.4 !important;text-align:start !important;margin:0 0 12px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card > p{font-size:16px !important;line-height:1.75 !important;color:#1C3434 !important;text-align:start !important;margin:0 0 10px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card > p strong{color:var(--cd) !important;font-weight:700 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card .mini-chip-row{margin-top:auto !important;padding-top:10px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card .mini-chip-row span{display:block !important;background:var(--ct) !important;border:0 !important;border-inline-start:4px solid var(--cc) !important;border-radius:14px !important;padding:12px 14px !important;font-size:14px !important;line-height:1.7 !important;color:#153F3E !important;font-weight:600 !important;text-align:start !important;box-shadow:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card > p:last-child{margin:16px 0 0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card .button{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:100% !important;background:linear-gradient(135deg,var(--cc),var(--cd)) !important;color:#ffffff !important;-webkit-text-fill-color:#ffffff !important;border:0 !important;border-radius:999px !important;padding:12px 20px !important;font-size:16px !important;font-weight:600 !important;box-shadow:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card:nth-child(4n+2){--cc:#F27357;--cd:#c9533a;--ct:#fdeae5;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card:nth-child(4n+3){--cc:#FABA3D;--cd:#c98a14;--ct:#fef3dc;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card:nth-child(4n+3) .button{color:#0b3637 !important;-webkit-text-fill-color:#0b3637 !important;background:#FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card:nth-child(4n+4){--cc:#78B299;--cd:#4f8a71;--ct:#e8f3ee;}
html[lang^="en"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card > p{line-height:1.65 !important;}
@media (max-width:767px){
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2{font-size:26px !important;}
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card h3{font-size:20px !important;}
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .cards-grid{grid-template-columns:1fr !important;}
  html body.page-template-specialized-programs main > section:nth-of-type(2)::before,html body.page-template-specialized-programs main > section:nth-of-type(3)::before,html body.page-template-specialized-programs main > section:nth-of-type(4)::before,html body.page-template-specialized-programs main > section:nth-of-type(5)::before,html body.page-template-specialized-programs main > section:nth-of-type(6)::before,html body.page-template-specialized-programs main > section:nth-of-type(7)::before,html body.page-template-specialized-programs main > section:nth-of-type(8)::before{background-size:110px auto !important;opacity:.6 !important;}
}

html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main .specialized-program-card::before{min-height:0 !important;max-height:70px !important;min-width:0 !important;padding:0 !important;flex:none !important;}

html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main{background:linear-gradient(180deg,#dff0ee 0%,#dff0ee 12%,#f9fbf8 30%,#fdefcf 48%,#dff0ee 66%,#f9fbf8 84%,#fdefcf 100%) !important;}

/* LeadMinds — Specialized programs mobile heading fix */
@media (max-width:767px){html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2{align-items:flex-start !important;gap:10px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-specialized-programs main > section:nth-of-type(n+2) .section-head h2::before{width:28px !important;height:28px !important;margin-top:6px !important;}}
