/* ==========================================================================
   Case Studies Block
   ========================================================================== */

/* --- Section --- */
.cs-section {
  padding: 2.5rem 0;
}

/* --- Section Header --- */
.cs-header {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cs-header__badge {
  display: inline-block;
  border-radius: 7px;
  padding: 0 7px;
  flex-shrink: 0;
}

.cs-header__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

.cs-header__desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  max-width: 580px;
  margin: 0;
}

/* --- Grid Container --- */
.cs-grid {
  background-color: #191a23;
  border-radius: 45px;
  padding: 70px 60px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 64px;
}

/* --- Vertical Divider --- */
.cs-divider {
  flex-shrink: 0;
  width: 1px;
  background-color: #ffffff;
  align-self: stretch;
}

/* --- Case Study Item --- */
.cs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}

/* --- Item Text --- */
.cs-item__text {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  font-family: "SpaceGrotesk-Regular", sans-serif;
}

/* --- Learn More Link --- */
.cs-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #b9ff66;
  font-family: "SpaceGrotesk-Regular", sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.cs-link:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #b9ff66;
}

.cs-link__arrow {
  flex-shrink: 0;
  width: 18px;
  height: 10px;
}

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

@media (max-width: 1279px) {
  .cs-grid {
    gap: 40px;
    padding: 60px 50px;
  }

  .cs-header__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 1023px) {
  .cs-grid {
    gap: 30px;
    padding: 50px 40px;
  }

  .cs-header__title {
    font-size: 2rem;
  }

  .cs-item__text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .cs-header {
    flex-direction: column;
    gap: 1rem;
  }

  .cs-header__desc {
    max-width: 100%;
  }

  .cs-header__title {
    font-size: 1.75rem;
  }

  .cs-grid {
    flex-direction: column;
    padding: 40px 30px;
    border-radius: 35px;
    gap: 30px;
  }

  .cs-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .cs-item {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .cs-grid {
    padding: 30px 24px;
    border-radius: 30px;
  }

  .cs-header__title {
    font-size: 1.5rem;
  }
}
