/* ==========================================================================
   Case Study Hub — extra sections
   Loaded only on the "Ryetec Case Studies" page template.
   Scoped to .case-studies-temp so nothing here can affect other pages.
   ========================================================================== */

/* ---------- Case study card titles: white -> grey fade (matches the design) ---------- */
.case-studies-temp .service-contain > article h2 {
  display: inline-block;
color:#fff;
}
span.text-secondary {
	color:#fff;
}

/* ---------- Additional Section 1 — intro band ---------- */
.case-studies-temp .cs-intro-section {
  background: #1c1c1c;
  padding: 110px 0;
  margin-top: 40px;
}

.case-studies-temp .cs-intro-heading {
  font-family: var(--font-display), sans-serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 56px;
  margin: 0 0 1.75rem;
  color: #fff;
}

.case-studies-temp .cs-intro-text {
  color: var(--text-grey, #AFAFAF);
  font-size: 32px;
  line-height: 40px;
  max-width: 100%;
}

.case-studies-temp .cs-intro-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Additional Section 2 — services strip ---------- */
.case-studies-temp .cs-services-section {
  background: var(--bg-dark, #0a0a0a);
  padding: 110px 0 130px;
}

.case-studies-temp .cs-services-eyebrow {
  display: inline-block;
/*   color: var(--yellow, #FEC300); */
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--yellow, #FEC300);
}

.case-studies-temp .cs-services-heading {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.case-studies-temp .cs-services-heading em {
  font-style: italic;
  font-weight: 700;
}

.case-studies-temp .cs-services-heading .muted {
  color: #fff;
}

/* ---------- Service cards ---------- */
.case-studies-temp .cs-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.muted {
  color: #fff;
}
.case-studies-temp .cs-service-thumb {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #141414;
}

.case-studies-temp .cs-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-studies-temp .cs-service-card:hover .cs-service-thumb img {
  transform: scale(1.04);
}

.case-studies-temp .cs-service-title {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display), sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
}

.case-studies-temp .cs-service-title .muted {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .case-studies-temp .cs-intro-section {
    padding: 70px 0;
  }
  .case-studies-temp .cs-services-section {
    padding: 70px 0 80px;
  }
}

@media (max-width: 767.98px) {
  .case-studies-temp .cs-intro-section {
    padding: 55px 0;
    margin-top: 20px;
  }
  .case-studies-temp .cs-services-section {
    padding: 55px 0 65px;
  }
  .case-studies-temp .cs-service-thumb {
    aspect-ratio: 16 / 10;
  }
}
