/* ========================================
   CASE DETAIL NEW - Snapshot + Two-col + Intervention layout
   ======================================== */

/* Hero Banner */
.case-hero-banner {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.case-hero-overlay {
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  padding: 4rem 0 3rem;
}

.case-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.case-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: center;
}

.case-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0.95;
}

.case-hero-divider {
  width: 100px;
  height: 2px;
  background: #FFFFFF;
  margin: 0 auto;
  opacity: 0.8;
}

.case-detail-new .case-section-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Section 1: Case Snapshot */
.case-snapshot {
  padding: 2rem 3rem 2.5rem;
  background: var(--light-bg-alt);
  margin: 0 1px;
}

.case-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.snapshot-card {
  background: var(--light-bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.snapshot-card-header {
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: none;
}

.snapshot-card-body {
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.snapshot-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--primary-red);
}

.snapshot-icon img {
  display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(89%) saturate(3000%) hue-rotate(340deg) brightness(0.8) contrast(1.1);
}

.snapshot-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.case-snapshot-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 2rem 0 0;
  max-width: 100%;
}

/* Section 2: Two-column */
.case-two-col-section {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border-light);
}

.case-section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.case-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.case-col-note {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-top: 1rem;
  margin-bottom: 0;
}

.case-subheading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 1.25rem 0 0.5rem;
}

.case-subheading:first-of-type {
  margin-top: 0;
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-list-square li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.case-list-square li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 2px;
}

.case-col-right-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.case-col-right-content {
  flex: 1;
}

.case-col-right-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.case-col-right-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-col-image {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.case-col-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section 3: Our Operational Intervention */
.case-intervention-section {
  padding: 2.5rem 3rem;
  background: var(--light-bg-alt);
  margin: 0 1px;
  border-top: 1px solid var(--border-light);
}

.case-intervention-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.case-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-steps-list li {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.case-steps-list li:last-child {
  margin-bottom: 0;
}

.case-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-red);
  color: #FFFFFF !important;
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(196, 30, 58, 0.3);
  letter-spacing: -0.02em;
  text-shadow: none;
}

.case-steps-list strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.case-steps-list span {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
}

.case-intervention-image {
  border-radius: 12px;
  overflow: hidden;
}

.case-intervention-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section 4: Outcome */
.case-outcome-section {
  padding: 2.5rem 3rem;
  background: var(--light-bg-card);
  margin: 0 1px;
  border-top: 1px solid var(--border-light);
}

.case-outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-outcome-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.case-outcome-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 2px;
}

.case-outcome-list li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .case-hero-banner {
    min-height: 350px;
  }

  .case-hero-overlay {
    padding: 3rem 0 2.5rem;
  }
  .case-snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-col-right-header {
    flex-direction: column;
  }

  .case-col-right-image {
    width: 100%;
    height: 250px;
    margin-top: 1rem;
  }

  .case-two-col,
  .case-intervention-wrap {
    grid-template-columns: 1fr;
  }

  .case-intervention-wrap .case-intervention-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .case-hero-banner {
    min-height: 300px;
  }

  .case-hero-overlay {
    padding: 2.5rem 0 2rem;
  }

  .case-hero-content {
    padding: 0 1.5rem;
  }

  .case-snapshot,
  .case-two-col-section,
  .case-intervention-section,
  .case-outcome-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .case-snapshot-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-section-title {
    font-size: 1.3rem;
  }
}
