.case-study-page {
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(250, 186, 61, 0.14), transparent 28rem),
    linear-gradient(180deg, #f9f7f1 0%, #ffffff 48%, #f4f8f6 100%);
}

.case-study-hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 115, 87, 0.34), transparent 24rem),
    radial-gradient(circle at 85% 80%, rgba(250, 186, 61, 0.22), transparent 28rem),
    linear-gradient(135deg, #082f30 0%, #0b5351 58%, #153f3d 100%);
}

.case-study-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.case-study-hero-copy { max-width: 760px; }
.case-study-hero-copy h1 {
  margin: 0.7rem 0 1.4rem;
  color: #fff;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.case-study-hero-copy p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.95;
}
.case-study-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }

.case-study-hero-visual {
  min-height: 460px;
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42% 42% 28px 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}
.case-study-hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(250, 186, 61, 0.45);
  border-radius: inherit;
  pointer-events: none;
}
.impact-stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(4, 28, 29, 0.48);
}
.impact-stat strong { color: #faba3d; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1; }
.impact-stat span { color: rgba(255, 255, 255, 0.86); font-weight: 700; }
.impact-stat-main { padding-block: 1.45rem; background: rgba(242, 115, 87, 0.2); }

.case-study-list-section { padding-block: clamp(5rem, 9vw, 8rem); }
.case-study-section-head { max-width: 850px; margin-inline: auto; margin-bottom: clamp(2.8rem, 6vw, 5rem); }
.case-study-section-head p { max-width: 720px; margin-inline: auto; }
.case-study-list { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.case-study-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(8, 73, 74, 0.13);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(8, 48, 48, 0.1);
}
.case-study-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  inset: -100px auto auto -80px;
  border-radius: 50%;
  background: rgba(250, 186, 61, 0.13);
  pointer-events: none;
}
.case-study-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding: 0.35rem 0 1.25rem;
  border-bottom: 1px solid rgba(8, 73, 74, 0.12);
}
.case-study-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(62px, 8vw, 90px);
  height: clamp(62px, 8vw, 90px);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0b5b59, #f27357);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(8, 73, 74, 0.2);
}
.case-study-label { color: #f27357; font-weight: 800; }
.case-study-card-head h2 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  color: #07494a;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.case-study-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}
.case-detail {
  position: relative;
  min-height: 260px;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border-radius: 22px;
  background: #f4f8f6;
  border: 1px solid rgba(8, 73, 74, 0.1);
}
.case-detail > span { color: rgba(8, 73, 74, 0.28); font-size: 0.86rem; font-weight: 900; letter-spacing: 0.12em; }
.case-detail h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  color: #07494a;
  font-size: clamp(1.5rem, 2.35vw, 1.85rem);
  line-height: 1.35;
  text-align: center;
}
.case-detail h3::before {
  content: "";
  display: inline-grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: #176b68;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px 27px;
  box-shadow: 0 10px 22px rgba(8, 73, 74, 0.16);
}
.case-detail-challenge h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.8 19h18.4L12 3Z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}
.case-detail-solution h3::before {
  background-color: #d89c1d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4'/%3E%3Cpath d='M8.4 14.5A6 6 0 1 1 15.6 14.5C14.6 15.2 14 16 14 17h-4c0-1-.6-1.8-1.6-2.5Z'/%3E%3C/svg%3E");
}
.case-detail-impact h3::before {
  background-color: #42a6a6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V9M10 19V5M16 19v-7M22 19V3'/%3E%3Cpath d='m4 7 6-4 6 7 6-8'/%3E%3C/svg%3E");
}
.case-detail-value h3::before {
  background-color: #f27357;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5M12 3v2M12 19v2'/%3E%3C/svg%3E");
}
.case-detail p {
  margin: 0;
  color: #294f4e;
  font-size: clamp(1.16rem, 1.55vw, 1.3rem);
  font-weight: 600;
  line-height: 2.05;
  text-align: center;
  text-wrap: pretty;
}
.case-detail-solution { background: #fff7eb; border-color: rgba(250, 186, 61, 0.25); }
.case-detail-impact { background: #eef8f8; border-color: rgba(65, 165, 165, 0.22); }
.case-detail-value { background: #fff1ed; border-color: rgba(242, 115, 87, 0.22); }

.case-study-cta-section { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.case-study-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.6rem, 5vw, 3.5rem);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(125deg, #073f42, #0b5b59);
  box-shadow: 0 26px 60px rgba(7, 63, 66, 0.2);
}
.case-study-cta h2 { margin: 0.45rem 0 0; color: #fff; font-size: clamp(1.8rem, 4vw, 3.2rem); }

[data-theme="dark"] .case-study-page { background: #071a1a; }
[data-theme="dark"] .case-study-card { background: rgba(13, 42, 42, 0.96); border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .case-study-card-head h2,
[data-theme="dark"] .case-detail h3 { color: #bdebed; }
[data-theme="dark"] .case-detail { background: rgba(255, 255, 255, 0.045); }
[data-theme="dark"] .case-detail p { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 900px) {
  .case-study-hero-grid { grid-template-columns: 1fr; }
  .case-study-hero-visual { min-height: 360px; }
}

@media (max-width: 680px) {
  .case-study-hero { min-height: 0; }
  .case-study-hero-copy h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .case-study-hero-visual { min-height: 320px; border-radius: 30% 30% 22px 22px; }
  .case-study-details { grid-template-columns: 1fr; }
  .case-detail { min-height: 0; }
  .case-detail p {
    font-size: 1.08rem;
    line-height: 1.95;
  }
  .case-detail h3::before {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background-size: 24px 24px;
  }
  .case-study-card-head { align-items: center; }
  .case-study-cta { align-items: flex-start; flex-direction: column; }
}

/* 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 — Case study page redesign (hero to footer) */
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1){background: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='.35' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left -60px bottom 40px / 340px auto no-repeat,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='%23FABA3D' stroke-opacity='.35' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") right 46% top 50px / 110px auto no-repeat,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='.08'/%3E%3C/svg%3E") right -80px bottom -30px / 420px auto no-repeat,linear-gradient(258deg,#0b3637 0%,#1d6c6c 55%,#41A5A5 100%) !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1){background: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='.35' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") right -60px bottom 40px / 340px auto no-repeat,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='%23FABA3D' stroke-opacity='.35' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left 46% top 50px / 110px auto no-repeat,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='.08'/%3E%3C/svg%3E") left -80px bottom -30px / 420px auto no-repeat,linear-gradient(102deg,#0b3637 0%,#1d6c6c 55%,#41A5A5 100%) !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1)::before{opacity:.3 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) > .brand-section-motif{display:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) h1{color:#FABA3D !important;-webkit-text-fill-color:#FABA3D !important;background:none !important;text-shadow:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-intro p{color:#ffffff !important;-webkit-text-fill-color:#ffffff !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .hero-related-link--primary{background:#FABA3D !important;color:#0b3637 !important;-webkit-text-fill-color:#0b3637 !important;border-color:#FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .hero-related-link--secondary{background:rgba(255,255,255,.08) !important;color:#ffffff !important;-webkit-text-fill-color:#ffffff !important;border:1.5px solid #FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .hero-scroll-cue{background:#FABA3D !important;color:#0b3637 !important;border-color:#0b3637 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-reference-piece{background:linear-gradient(135deg,#FABA3D 0%,#f6c868 100%) !important;box-shadow:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-reference-piece::before,html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-reference-piece::after{display:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-reference-mark::before,html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) .case-study-reference-mark::after{display:none !important;}

/* Continuous background */
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main{background:linear-gradient(180deg,#dff0ee 0%,#dff0ee 22%,#f9fbf8 45%,#fdefcf 70%,#dff0ee 88%,#fdefcf 100%) !important;padding-bottom:0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(2){background:transparent !important;box-shadow:none !important;border:0 !important;position:relative !important;isolation:isolate;overflow:visible !important;overflow-x:clip !important;padding-bottom:110px !important;margin-bottom:0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(2) > .brand-section-motif{display:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(2)::after{content:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(2)::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;background: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='.26'/%3E%3C/svg%3E") right -70px top 80px / 300px auto no-repeat,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") left 5% top 70px / 90px auto no-repeat,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") left -40px top 30% / 180px auto no-repeat,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='.75' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") right 4% top 50% / 170px auto no-repeat,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") right -80px top 72% / 280px auto no-repeat,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='.24'/%3E%3C/svg%3E") left -30px bottom 120px / 160px auto no-repeat !important;}

/* Case cards */
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-list{counter-reset:lmcs !important;display:grid !important;grid-template-columns:1fr !important;gap:40px !important;max-width:1120px !important;margin:0 auto !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card{counter-increment:lmcs;background:#ffffff !important;background-image:none !important;border:1px solid #d6e9e7 !important;border-radius:32px 32px 32px 140px !important;box-shadow:0 30px 60px -40px rgba(11,54,55,.6) !important;padding:30px 36px 44px !important;position:relative !important;overflow:hidden !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card{border-radius:32px 32px 140px 32px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card::before{content:"قصة نجاح " counter(lmcs,decimal-leading-zero) !important;display:inline-block !important;position:relative !important;background:linear-gradient(135deg,#1d6c6c,#0b3637) !important;color:#FABA3D !important;-webkit-text-fill-color:#FABA3D !important;font-size:15px !important;font-weight:800 !important;line-height:1.6 !important;padding:7px 18px !important;border-radius:999px !important;margin:0 0 22px !important;width:auto !important;height:auto !important;border:0 !important;}
html[lang^="en"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card::before{content:"Case Study " counter(lmcs,decimal-leading-zero) !important;font-family:Genos,sans-serif !important;font-size:16px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card::after{content:"" !important;position:absolute !important;top:0 !important;left:0 !important;right:auto !important;width:180px !important;height:180px !important;background:#FABA3D !important;opacity:.12 !important;border-radius:0 0 180px 0 !important;transform:none !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card::after{left:auto !important;right:0 !important;border-radius:0 0 0 180px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-details{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:18px !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail{--cc:#41A5A5;--cd:#1d6c6c;--ct:#eef7f6;background:var(--ct) !important;background-image:none !important;border:0 !important;border-inline-start:4px solid var(--cc) !important;border-radius:20px !important;padding:22px 24px 24px !important;box-shadow:none !important;min-height:0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-challenge{--cc:#F27357;--cd:#c9533a;--ct:#fdeee9;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-solution{--cc:#41A5A5;--cd:#1d6c6c;--ct:#e9f5f4;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-value{--cc:#8CA870;--cd:#66804c;--ct:#f0f5ea;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-impact{--cc:#FABA3D;--cd:#c98a14;background:linear-gradient(200deg,#0b3637 0%,#1d6c6c 65%,#2f8f8c 100%) !important;border-inline-start-color:#FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail::before,html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail::after{content:none !important;display:none !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail h3{display:flex !important;align-items:center !important;gap:12px !important;color:#153F3E !important;-webkit-text-fill-color:#153F3E !important;font-size:22px !important;font-weight:600 !important;line-height:1.4 !important;margin:0 0 10px !important;height:auto !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail h3::before{width:44px !important;height:44px !important;flex:none !important;border-radius:0 0 0 44px !important;background-color:var(--cc) !important;}
html[dir="ltr"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail h3::before{border-radius:0 0 44px 0 !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail p{font-size:17px !important;line-height:1.8 !important;color:#1C3434 !important;margin:0 !important;text-align:start !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-impact h3{color:#FABA3D !important;-webkit-text-fill-color:#FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-impact h3::before{background-color:#FABA3D !important;}
html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail.case-detail-impact p{color:#ffffff !important;}
html[lang^="en"]:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail p{line-height:1.65 !important;}
@media (max-width:767px){
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-details{grid-template-columns:1fr !important;}
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-study-card{padding:24px 18px 34px !important;border-radius:26px 26px 26px 90px !important;}
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail h3{font-size:20px !important;}
  html:not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(2)::before{background-size:110px auto !important;opacity:.6 !important;}
}

html:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1){--lm-heading-teal:#FABA3D;}
html:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main > section:nth-of-type(1) h1{color:#FABA3D !important;-webkit-text-fill-color:#FABA3D !important;}

/* 2026-10-20: H1 font-size:0 + ::after workaround removed (template inline colour removed). */

/* LeadMinds — Case study heading align fix */
html:not(#lm):not(#lm):not(#lm):not(#lm):not(#lm) body.page-template-case-study main .case-detail h3{justify-content:flex-start !important;text-align:start !important;}
