/* ============================================
   Case Study Page Styles (Shared Template)
   ============================================ */

/* Hero Section */
.cs-hero {
  padding: 80px 0 0;
}

.cs-hero .container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cs-hero__title-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cs-hero__company {
  margin-bottom: 0;
}

.cs-hero__subtitle {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--color-text-primary);
}

.cs-hero__summary {
  margin-bottom: 0;
  max-width: 1000px;
}

/* Metadata Grid */
.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 0;
}

.cs-meta__item {}

.cs-meta__label {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.cs-meta__value {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Cover Image */
.cs-cover {
  margin-top: 140px;
  margin-bottom: 40px;
}

.cs-cover img,
.cs-cover video {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Content Sections */
.cs-section {
  padding: 0;
  margin-bottom: 140px;
}

.cs-section__title {
  margin-bottom: 16px;
}

.cs-section__text {
  margin-bottom: 40px;
}

.cs-section__text:last-child {
  margin-bottom: 0;
}

.cs-section__image {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.cs-section__image + .cs-section__text {
  margin-top: 40px;
}

.cs-section__image + .cs-section__image {
  margin-top: 40px;
}

.cs-section__image img,
.cs-section__image video {
  width: 100%;
  object-fit: cover;
}

.cs-section + .footer {
  padding-top: 0;
}

/* Stats Grid (used in Hetrics) */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cs-stat__number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.cs-stat__label {
  font-size: 20px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Feature List (used in Hetrics) */
.cs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.cs-feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-feature__icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  border: 1px solid #808080;
  overflow: hidden;
}

.cs-feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-feature__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Two-column Image Grid */
.cs-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 40px 0;
}

.cs-image-grid:last-child {
  margin-bottom: 0;
}

.cs-image-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Three-column Image Grid */
.cs-image-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .cs-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-stats {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .cs-hero {
    padding: 39px 0 0;
  }

  .cs-hero .container {
    gap: 64px;
  }

  .cs-cover {
    margin-top: 80px;
    margin-bottom: 40px;
  }

  .cs-hero__title-group {
    gap: 16px;
    margin-bottom: 0;
  }

  .cs-hero__company {
    font-size: 32px;
    line-height: 41.6px;
  }

  .cs-hero__subtitle {
    font-size: 24px;
    line-height: 31.2px;
    margin-bottom: 0;
  }

  .cs-hero__summary {
    max-width: none;
    font-size: 18px;
    line-height: 25.2px;
    color: #E4E4E4;
    margin-bottom: 0;
  }

  .cs-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }

  .cs-meta__item {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .cs-meta__label {
    flex: 1 1 0;
    margin-bottom: 0;
  }

  .cs-meta__value {
    flex: 1 1 0;
    line-height: 1.4;
  }

  .cs-section {
    padding: 0;
    margin-bottom: 80px;
  }

  .cs-section__title {
    margin-bottom: 16px;
  }

  .cs-section__image {
    margin: 0;
  }

  .cs-stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-image-grid {
    grid-template-columns: 1fr;
  }

  .cs-image-grid--three {
    grid-template-columns: 1fr;
  }

  .cs-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-feature {
    gap: 15px;
  }

  .cs-feature__title {
    font-size: 18px;
  }

  .cs-stat__number {
    font-size: 32px;
  }

  .cs-stat__label {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
}
