/* Projects inner page styling matched to UDesign reference screenshot */

.projects-page-shell {
  background: #111;
  color: #f8f8f8;
}

.projects-page-main {
  background: #fff;
  color: #333;
  min-height: calc(100vh - 96px);
  position: relative;
}

/* Page Hero Banner */
.projects-page-hero-rail {
  background: #111;
  position: relative;
  margin: 0;
  z-index: 1;
}

.projects-page-banner {
  width: 100%;
  max-width: 1764px;
  height: 320px;
  margin: 0 auto -60px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.65)), url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2022/10/bg-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.projects-page-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.projects-page-banner h1 {
  margin: 0 0 12px;
  color: #fff;
  font: 600 46px/1.1 Poppins, var(--font-body);
  letter-spacing: -1.2px;
}

.projects-page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #bebebe;
  font: 400 16px/1.5 Poppins, var(--font-body);
}

.projects-page-breadcrumb a {
  color: #696969;
  transition: color 0.3s ease;
}

.projects-page-breadcrumb a:hover,
.projects-page-breadcrumb a:focus {
  color: #bebebe;
}

.projects-page-breadcrumb .delimiter {
  color: #696969;
  font-size: 15px;
}

/* Projects Section Body */
.projects-page-body {
  position: relative;
  background: #fcfcfc;
  padding: 160px 30px 140px;
  overflow: visible;
}

.projects-container {
  width: min(100%, 1400px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Category Filter Nav Bar */
.projects-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 0 auto 52px;
  padding: 0;
  list-style: none;
}

.projects-filter-button {
  background: none;
  border: 0;
  padding: 0 0 8px;
  color: #777;
  font: 500 16px/1.2 Poppins, var(--font-body);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.projects-filter-button:hover,
.projects-filter-button:focus-visible {
  color: #38383a;
}

.projects-filter-button.active {
  color: #ed7041;
}

.projects-filter-button.active:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #ed7041;
  transform: translateX(-50%);
}

/* 3-Column Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Project Card */
.projects-card {
  position: relative;
  aspect-ratio: 16 / 11;
  min-height: 320px;
  overflow: hidden;
  background: #1b1b1d;
  display: block;
  text-decoration: none;
}

.projects-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.projects-card:hover img,
.projects-card:focus-visible img {
  transform: scale(1.06);
}

/* Orange Overlay on Hover / Active */
.projects-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(218, 91, 40, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.projects-card:hover .projects-card-overlay,
.projects-card:focus-visible .projects-card-overlay,
.projects-card.active .projects-card-overlay {
  opacity: 1;
}

.projects-card-category {
  color: rgba(255, 255, 255, 0.85);
  font: 500 12px/1.2 Poppins, var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  transform: translateY(-6px);
  transition: transform 0.35s ease;
}

.projects-card-title {
  color: #fff;
  font: 500 22px/1.3 Poppins, var(--font-body);
  letter-spacing: -0.4px;
  margin: 0;
  transform: translateY(6px);
  transition: transform 0.35s ease;
}

.projects-card:hover .projects-card-category,
.projects-card:hover .projects-card-title,
.projects-card:focus-visible .projects-card-category,
.projects-card:focus-visible .projects-card-title {
  transform: translateY(0);
}

/* Background Geometry Overlay Accents matched to about.html */
.projects-page-body:before {
  content: "";
  position: absolute;
  right: -125px;
  top: 89px;
  width: 250px;
  height: 250px;
  border: 1px solid #ed7041;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.projects-page-body:after {
  content: "";
  position: absolute;
  right: 0;
  top: 296px;
  width: 0;
  height: 0;
  border-top: 96px solid transparent;
  border-bottom: 96px solid transparent;
  border-left: 0;
  border-right: 95px solid #ed7041;
  pointer-events: none;
  z-index: 1;
}

/* Database/CMS project detail card */
.cms-detail-card {
  width: min(100%, 980px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 18px 55px rgba(24, 24, 26, 0.1);
  padding: 28px;
}

.cms-detail-card > img {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #f1f1f1;
}

.cms-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 12px;
  color: #ed7041;
  font: 600 12px/1.4 Poppins, var(--font-body);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.cms-detail-card > h2 {
  margin: 0 0 14px;
  color: #242426;
  font: 600 34px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.6px;
}

.cms-detail-summary {
  margin: 0 0 24px;
  color: #606066;
  font: 400 18px/1.7 Poppins, var(--font-body);
}

.cms-detail-content {
  color: #55555b;
  font: 400 16px/1.8 Poppins, var(--font-body);
}

.cms-detail-content p {
  margin: 0 0 18px;
}

.cms-detail-content h3,
.cms-detail-video h3 {
  margin: 30px 0 12px;
  color: #242426;
  font: 600 22px/1.3 Poppins, var(--font-body);
}

.cms-detail-content ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.cms-detail-content li {
  margin: 5px 0;
}

.cms-detail-video {
  margin: 30px 0 28px;
}

.cms-detail-video h3 {
  margin-top: 0;
}

.cms-detail-video > div {
  width: 100%;
}

.cms-detail-card > .button,
.cms-detail-card > p > .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: none;
}

/* Enterprise case-study presentation */
.cms-detail-card {
  padding: 0;
  overflow: hidden;
}

.cms-detail-hero-eyebrow,
.cms-detail-eyebrow {
  margin: 0 0 12px;
  color: #ed7041;
  font: 600 12px/1.4 Poppins, var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cms-detail-hero-eyebrow {
  margin-bottom: 14px;
  color: #ed7041;
}

.cms-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 520px;
  background: #fff;
}

.cms-detail-visual {
  position: relative;
  min-height: 420px;
  background: #18191c;
  overflow: hidden;
}

.cms-detail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.cms-detail-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(17, 17, 17, 0.72));
  pointer-events: none;
}

.cms-detail-visual > span {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
  font: 500 13px/1.4 Poppins, var(--font-body);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cms-detail-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
}

.cms-detail-overview-copy h2,
.cms-detail-section-heading h2 {
  margin: 0 0 18px;
  color: #242426;
  font: 600 32px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.5px;
}

.cms-detail-summary {
  margin-bottom: 28px;
}

.cms-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
}

.cms-detail-facts div {
  display: grid;
  gap: 5px;
}

.cms-detail-facts span {
  color: #8b8b91;
  font: 500 11px/1.3 Poppins, var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cms-detail-facts strong {
  color: #303035;
  font: 600 14px/1.45 Poppins, var(--font-body);
}

.cms-detail-tech-panel {
  margin-top: 24px;
}

.cms-detail-tech-panel h3 {
  margin: 0 0 12px;
  color: #303035;
  font: 600 17px/1.3 Poppins, var(--font-body);
}

.cms-detail-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cms-detail-tech-tag {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  color: #606066;
  background: #fafafa;
  font: 500 12px/1.3 Poppins, var(--font-body);
}

.cms-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.cms-detail-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-decoration: none;
}

.cms-detail-primary-cta {
  background: #ed7041;
  border-color: #ed7041;
  color: #fff;
}

.cms-detail-primary-cta:hover,
.cms-detail-primary-cta:focus-visible {
  background: #cf542b;
  border-color: #cf542b;
  color: #fff;
}

.cms-detail-secondary-cta {
  border: 1px solid #ed7041;
  color: #ed7041;
  background: transparent;
}

.cms-detail-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 48px 12px;
}

.cms-detail-section-heading {
  margin-bottom: 22px;
}

.cms-detail-section-heading > p:last-child {
  max-width: 680px;
  margin: -6px 0 0;
  color: #77777d;
  font: 400 15px/1.7 Poppins, var(--font-body);
}

.cms-detail-video {
  margin: 42px 0 0;
  padding: 54px 48px 58px;
  background: #17181b;
}

.cms-detail-video .cms-detail-section-heading h2,
.cms-detail-video .cms-detail-section-heading > p:last-child {
  color: #fff;
}

.cms-detail-video .cms-detail-section-heading > p:last-child {
  color: #a6a7ad;
}

.cms-detail-video-frame {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0e10;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.cms-detail-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cms-detail-footer {
  display: flex;
  justify-content: center;
  padding: 34px 48px 44px;
  background: #fff;
}

.cms-detail-footer .button {
  text-decoration: none;
}

/* Projects CTA Section matched to reference screenshot */
.projects-cta-section {
  position: relative;
  background: #151515 url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2024/12/bg-2.jpg") center/cover no-repeat;
  color: #fff;
  margin: 0;
  padding: 115px 30px 125px;
  text-align: center;
  overflow: hidden;
}

.projects-cta-content {
  max-width: 830px;
  margin: 0 auto;
}

.projects-cta-content h2 {
  max-width: 570px;
  margin: 0 auto 17px;
  color: #fff;
  font: 400 45px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.8px;
}

.projects-cta-content p {
  max-width: 830px;
  margin: 0 auto 42px;
  color: #777;
  font: 400 16px/1.6 Poppins, var(--font-body);
}

.projects-cta-content .button {
  background: transparent;
  border: 1px solid #ed7041;
  color: #ed7041;
  padding: 18px 37px;
  font: 500 16px/1 Poppins, var(--font-body);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.projects-cta-content .button:hover,
.projects-cta-content .button:focus-visible {
  background: #ed7041;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .projects-page-body:before,
  .projects-page-body:after {
    display: none;
  }
  .projects-page-banner {
    height: 265px;
    margin-bottom: -48px;
    padding: 0 22px;
  }
  .projects-page-banner h1 {
    font-size: 38px;
  }
  .projects-page-body {
    padding: 130px 22px 90px;
  }
  .cms-detail-card {
    padding: 0;
  }
  .cms-detail-overview {
    display: block;
  }
  .cms-detail-visual,
  .cms-detail-visual img {
    min-height: 280px;
  }
  .cms-detail-overview-copy {
    padding: 34px 22px 38px;
  }
  .cms-detail-overview-copy h2,
  .cms-detail-section-heading h2 {
    font-size: 27px;
  }
  .cms-detail-summary {
    font-size: 16px;
  }
  .cms-detail-content {
    font-size: 15px;
    padding: 38px 22px 8px;
  }
  .cms-detail-video {
    padding: 38px 22px 42px;
  }
  .cms-detail-footer {
    padding: 28px 22px 34px;
  }
  .projects-filter {
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  .projects-filter-button {
    font-size: 14px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-cta-section {
    padding: 95px 22px 85px;
  }
  .projects-cta-content h2 {
    font-size: 34px;
  }
  .projects-cta-content p {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .projects-cta-content .button {
    font-size: 14px;
    padding: 16px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-page-breadcrumb a,
  .projects-filter-button,
  .projects-card img,
  .projects-card-overlay,
  .projects-card-category,
  .projects-card-title,
  .projects-cta-content .button {
    transition: none;
  }
}

/* Refined CMS project detail presentation */
.projects-page-shell {
  background: #0b1220;
}

.projects-page-main {
  background: #f5f7fb;
  color: #243047;
}

.projects-page-hero-rail {
  background: #0b1220;
}

.projects-page-banner {
  position: relative;
  width: min(100%, 1240px);
  height: 360px;
  margin: 0 auto -64px;
  padding: 0 64px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-image: url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2022/10/bg-1.jpg");
  background-position: center;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.projects-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 32, 0.78);
}

.projects-page-banner-content {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  max-width: 820px;
}

.projects-page-banner h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.cms-detail-hero-eyebrow,
.cms-detail-eyebrow {
  color: #e86d3c;
  letter-spacing: 1.6px;
}

.cms-detail-hero-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(232, 109, 60, 0.55);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.58);
}

.projects-page-body {
  padding: 132px 24px 112px;
  background: #f5f7fb;
}

.projects-page-body::before,
.projects-page-body::after {
  display: none;
}

.cms-detail-card {
  width: min(100%, 1160px);
  border: 1px solid #e3e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(20, 32, 55, 0.12);
}

.cms-detail-overview {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  min-height: 590px;
}

.cms-detail-visual {
  display: flex;
  min-height: 590px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #0b162b;
}

.cms-detail-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 530px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cms-detail-visual::after {
  background: rgba(5, 12, 25, 0.08);
}

.cms-detail-visual > span {
  left: 46px;
  bottom: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 12, 25, 0.76);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.cms-detail-overview-copy {
  padding: 64px 58px;
}

.cms-detail-overview-copy h2,
.cms-detail-section-heading h2 {
  color: #101b31;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.cms-detail-summary {
  color: #526079;
  font-size: 17px;
  line-height: 1.78;
}

.cms-detail-facts {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px 0;
  border-top: 1px solid #e5eaf2;
  border-bottom: 1px solid #e5eaf2;
}

.cms-detail-facts div {
  padding: 16px 0;
  border-bottom: 1px solid #eef1f5;
}

.cms-detail-facts div:last-child {
  border-bottom: 0;
}

.cms-detail-facts span {
  color: #8490a5;
  letter-spacing: 1.2px;
}

.cms-detail-facts strong {
  color: #1b2942;
  font-size: 15px;
}

.cms-detail-tech-panel {
  margin-top: 28px;
}

.cms-detail-tech-panel h3 {
  color: #17243b;
  font-size: 18px;
}

.cms-detail-tech-tag {
  padding: 7px 11px;
  border: 1px solid #dce4ee;
  border-radius: 999px;
  color: #41516d;
  background: #f7f9fc;
}

.cms-detail-actions {
  margin-top: 32px;
}

.cms-detail-actions .button,
.cms-detail-footer .button {
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.cms-detail-primary-cta {
  background: #e86d3c;
  border-color: #e86d3c;
}

.cms-detail-secondary-cta {
  border-color: #cfd8e5;
  color: #33435e;
  background: #fff;
}

.cms-detail-content {
  max-width: 900px;
  padding: 78px 74px 30px;
  color: #526079;
  font-size: 16px;
  line-height: 1.88;
}

.cms-detail-section-heading {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5eaf2;
}

.cms-detail-section-heading h2 {
  margin-bottom: 12px;
}

.cms-detail-content h3 {
  margin: 42px 0 14px;
  padding-left: 15px;
  border-left: 3px solid #e86d3c;
  color: #14213a;
  font-size: 23px;
  line-height: 1.25;
}

.cms-detail-content p {
  margin: 0 0 20px;
}

.cms-detail-content strong {
  color: #1a2942;
  font-weight: 700;
}

.cms-detail-content ul,
.cms-detail-content ol {
  margin: 0 0 28px;
  padding-left: 22px;
}

.cms-detail-content li {
  margin: 8px 0;
  padding-left: 5px;
}

.cms-detail-content li::marker {
  color: #e86d3c;
  font-weight: 700;
}

.cms-detail-video {
  margin: 46px 0 0;
  padding: 62px 74px 70px;
  background: #0e192d;
}

.cms-detail-video .cms-detail-section-heading {
  border-color: rgba(255, 255, 255, 0.14);
}

.cms-detail-video .cms-detail-section-heading h2 {
  color: #fff;
}

.cms-detail-video .cms-detail-section-heading > p:last-child {
  color: #aab5c7;
}

.cms-detail-video-frame {
  width: min(100%, 940px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.cms-detail-video-frame iframe,
.cms-detail-video-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cms-detail-video-player {
  object-fit: contain;
  background: #050b16;
}

.cms-detail-footer {
  justify-content: space-between;
  padding: 34px 58px 42px;
  border-top: 1px solid #edf1f6;
}

@media (max-width: 900px) {
  .projects-page-banner {
    height: 320px;
    padding: 0 34px;
  }

  .cms-detail-overview {
    display: block;
  }

  .cms-detail-visual {
    min-height: 0;
    padding: 24px;
  }

  .cms-detail-visual img {
    max-height: 480px;
  }

  .cms-detail-overview-copy {
    padding: 48px 38px 52px;
  }

  .cms-detail-content,
  .cms-detail-video {
    padding-right: 38px;
    padding-left: 38px;
  }
}

@media (max-width: 600px) {
  .projects-page-banner {
    height: 300px;
    margin-bottom: -44px;
    padding: 0 22px;
    border-radius: 0 0 20px 20px;
  }

  .projects-page-banner h1 {
    font-size: 2.35rem;
    letter-spacing: -0.8px;
  }

  .projects-page-body {
    padding: 92px 14px 70px;
  }

  .cms-detail-card {
    border-radius: 18px;
  }

  .cms-detail-visual {
    padding: 15px;
  }

  .cms-detail-visual > span {
    left: 28px;
    bottom: 28px;
  }

  .cms-detail-overview-copy {
    padding: 36px 22px 40px;
  }

  .cms-detail-content,
  .cms-detail-video {
    padding: 42px 22px 48px;
  }

  .cms-detail-actions,
  .cms-detail-actions .button {
    width: 100%;
  }

  .cms-detail-actions .button {
    justify-content: center;
  }

  .cms-detail-footer {
    padding: 26px 22px 32px;
  }
}

/* Case-study narrative and capability highlights */
.projects-page-banner .projects-page-breadcrumb {
  justify-content: flex-start;
  gap: 9px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.projects-page-banner .projects-page-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.projects-page-banner .projects-page-breadcrumb a:hover,
.projects-page-banner .projects-page-breadcrumb a:focus {
  color: #fff;
}

.projects-page-banner .projects-page-breadcrumb .delimiter {
  color: rgba(255, 255, 255, 0.34);
}

.cms-detail-capabilities {
  padding: 66px 74px 72px;
  border-top: 1px solid #edf1f6;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.cms-detail-capabilities-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.cms-detail-capabilities-heading h2 {
  margin: 0 0 12px;
  color: #101b31;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.cms-detail-capabilities-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #66738a;
  font-size: 15px;
  line-height: 1.7;
}

.cms-detail-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cms-detail-capability {
  min-height: 176px;
  padding: 23px 22px 21px;
  border: 1px solid #e1e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(26, 43, 71, 0.045);
}

.cms-detail-capability-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: #e86d3c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cms-detail-capability h3 {
  margin: 0 0 8px;
  color: #182641;
  font-size: 17px;
  line-height: 1.25;
}

.cms-detail-capability p {
  margin: 0;
  color: #68758c;
  font-size: 13px;
  line-height: 1.65;
}

.cms-detail-content .cms-detail-lead {
  color: #34445f;
  font-size: 18px;
  line-height: 1.78;
}

.cms-detail-content .cms-detail-content-title {
  scroll-margin-top: 110px;
}

.cms-detail-content .cms-detail-list-lead {
  margin-bottom: 7px;
  color: #33435e;
  font-weight: 600;
}

.cms-detail-content .cms-detail-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin-bottom: 30px;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .cms-detail-capabilities {
    padding: 52px 38px 58px;
  }

  .cms-detail-capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .projects-page-banner .projects-page-breadcrumb {
    margin-top: 16px;
    font-size: 10px;
  }

  .cms-detail-capabilities {
    padding: 42px 22px 46px;
  }

  .cms-detail-content .cms-detail-lead {
    font-size: 16px;
  }

  .cms-detail-content .cms-detail-feature-list {
    display: block;
  }
}
