/* ==========================================================================
   Case Study â€” detail / description page
   Scoped to .csd so it never affects other pages.
   ========================================================================== */

.csd {
   color: #3a3f4a;
   /* Offset the fixed 90px-tall header (no inner banner on this page) */
   /*padding-top: 90px;*/
}

/* Center the content column and give it comfortable side gutters.
   Also applies to the footer (which sits inside main.csd) so they align. */
.csd .container {
   box-sizing: border-box;
   margin-left: auto;
   margin-right: auto;
   padding-left: 30px;
   padding-right: 30px;
}

.csd .csd-section {
   padding: 72px 0;
}
.csd-section h2{
    font-size: 28px;
   font-weight: 700;
   line-height: 1.25;
   color: #0b1b34;
   letter-spacing: -0.3px;
   margin: 0 0 16px;
}
/* Section heading â€” blog-details typography */
.csd-challenge-text h2 {
   font-size: 28px;
   font-weight: 700;
   line-height: 1.25;
   color: #0b1b34;
   letter-spacing: -0.3px;
   margin: 0 0 16px;
   color:#fff;
}

.csd-head--navy {
   color: #0b1b34;
   font-size: 28px;
}

/* Body text â€” blog-details typography */
.csd p {
   font-size: 16px;
   line-height: 1.8;
   color: #3e4a5b;
   margin: 0 0 18px;
}

.csd p a {
   color: #0a66c2;
   text-decoration: underline;
}

/* Lead paragraph (first intro line), like .blog_lead */
.csd-client .csd-rich p:first-child {
   font-size: 19px;
   line-height: 1.7;
   color: #0b1b34;
   font-weight: 500;
}

.csd-rich p:last-child {
   margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   The Client â€” intro + two stat boxes
   -------------------------------------------------------------------------- */
.csd-stats2 {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 360px));
   gap: 24px;
   margin-top: 36px;
}

.csd-stat {
   background: #ededed;
   padding: 30px 34px 34px;
}

.csd-stat-num {
   font-size: 56px;
   font-weight: 400;
   color: #1b2a4e;
   line-height: 1;
   margin-bottom: 18px;
}

.csd-stat-num span {
   font-size: 30px;
   vertical-align: middle;
   margin-left: 2px;
}

.csd-stat h4 {
   font-size: 16px;
   font-weight: 700;
   color: #1b2a4e;
   margin: 0 0 6px;
}

.csd-stat p {
   font-size: 14px;
   margin: 0;
}

/* --------------------------------------------------------------------------
   The Challenge â€” dark navy, full-bleed, text + image
   -------------------------------------------------------------------------- */
.csd-challenge {
   background: linear-gradient(125deg, #0e1c38 0%, #1a2f59 60%, #101f3d 100%);
   padding: 0 !important;
}

.csd-challenge-grid {
   display: grid;
   grid-template-columns: 1.05fr 0.95fr;
   align-items: center;
   gap: 55px;
}

.csd-challenge-text {
   padding: 48px 0;
}

.csd-challenge .csd-head {
   color: #fff;
}

.csd-challenge p {
   color: rgba(255, 255, 255, 0.82);
}

/* blog-details h3 style, on dark */
.csd-challenge h3 {
   font-size: 20px;
   font-weight: 700;
   line-height: 1.3;
   color: #fff;
   margin: 28px 0 12px;
}

/* Challenge bullet points â€” blog-details checkmark list (light text) */
.csd-challenge-text ul {
   list-style: none;
   margin: 0 0 22px;
   padding: 0 0 0 4px;
}

.csd-challenge-text li {
   position: relative;
   padding: 6px 0 6px 32px;
   font-size: 16px;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.85);
}

.csd-challenge-text li::before {
   content: "\f00c";
   font-family: 'FontAwesome';
   position: absolute;
   left: 0;
   top: 9px;
   width: 22px;
   height: 22px;
   border-radius: 50%;
   background: linear-gradient(135deg, #0a66c2 0%, #00aeef 100%);
   color: #fff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 10px;
}

.csd-challenge-img {
   position: relative;
   overflow: hidden;
   height: 360px;
   align-self: center;
   border-radius: 10px;
}

.csd-challenge-img img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* --------------------------------------------------------------------------
   Our Approach + The Solution
   -------------------------------------------------------------------------- */
/* Numbered list â€” blog-details ordered list (gradient number circles) */
.csd-ol {
   list-style: none;
   counter-reset: csd-counter;
   margin: 0 0 22px;
   padding: 0 0 0 4px;
}

.csd-ol li {
   counter-increment: csd-counter;
   position: relative;
   padding: 6px 0 6px 44px;
   font-size: 16px;
   line-height: 1.7;
   color: #3e4a5b;
}

.csd-ol li::before {
   content: counter(csd-counter);
   position: absolute;
   left: 0;
   top: 7px;
   width: 28px;
   height: 28px;
   border-radius: 50%;
   background: linear-gradient(135deg, #0a66c2 0%, #00aeef 100%);
   color: #fff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 13px;
   font-weight: 800;
}

.csd-ol li strong,
.csd .csd-bullets li strong {
   color: #0b1b34;
   font-weight: 700;
}

/* The Solution subhead â€” blog-details h3 style */
.csd-subhead {
   font-size: 20px;
   font-weight: 700;
   line-height: 1.3;
   color: #0b1b34;
   margin: 34px 0 12px;
}

/* Solution bullet points â€” blog-details checkmark list */
.csd-approach ul {
   list-style: none;
   margin: 0 0 22px;
   padding: 0 0 0 4px;
}

.csd-approach li {
   position: relative;
   padding: 6px 0 6px 32px;
   font-size: 16px;
   line-height: 1.7;
   color: #3e4a5b;
}

.csd-approach li::before {
   content: "\f00c";
   font-family: 'FontAwesome';
   position: absolute;
   left: 0;
   top: 9px;
   width: 22px;
   height: 22px;
   border-radius: 50%;
   background: linear-gradient(135deg, #0a66c2 0%, #00aeef 100%);
   color: #fff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 10px;
}

/* --------------------------------------------------------------------------
   The Impact â€” light gray, full-bleed, 2x2 stat cards
   -------------------------------------------------------------------------- */
.csd-impact {
   background: #ededed;
}

.csd-impact p {
   margin-bottom: 34px;
}

.csd-impact-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 28px;
}

.csd-impact-card {
   background: #fff;
   padding: 34px 36px;
}

.csd-impact-top {
   display: flex;
   align-items: baseline;
   gap: 14px;
   margin-bottom: 10px;
}

.csd-impact-num {
   font-size: 34px;
   font-weight: 800;
   color: #1b3a6b;
   line-height: 1;
}

.csd-impact-top h4 {
   font-size: 18px;
   font-weight: 700;
   color: #1c2230;
   margin: 0;
}

.csd-impact-card p {
   font-size: 14px;
   margin: 0;
}

/* --------------------------------------------------------------------------
   Key Takeaways
   -------------------------------------------------------------------------- */
.csd-takeaways p:last-child {
   margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Latest Case Studies â€” reuses the .home_qlinks2--cases card grid
   -------------------------------------------------------------------------- */
.csd-latest {
   background-color: #EFEFEF;
}

.csd-latest .csd-head {
   margin-bottom: 30px;
}

.csd-latest .grid {
   margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
   .csd .csd-section {
      padding: 56px 0;
   }

   .csd-challenge-grid {
      grid-template-columns: 1fr;
      gap: 0;
   }

   .csd-challenge-text {
      padding: 56px 0 0;
   }

   .csd-challenge-img {
      height: 320px;
      margin-top: 40px;
   }

   .csd-impact-grid {
      gap: 20px;
   }
}

@media (max-width: 600px) {
   .csd-head {
      font-size: 26px;
   }

   .csd-head--navy {
      font-size: 28px;
   }

   .csd-stats2 {
      grid-template-columns: 1fr;
   }

   .csd-impact-grid {
      grid-template-columns: 1fr;
   }

   .csd-impact-top {
      flex-direction: column;
      gap: 4px;
   }
}