.container-cases {
  margin: 100px auto;
  max-width: 1100px;
  width: 95%;
}

/*CABEÇALHO DA SEÇÃO */

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

/* # .section-header::before {
  # content: '';
  # display: block;
  # width: 40px;
  # height: 4px;
  # background-color: #e0e0e0;
  # border-radius: 2px;
  # margin: 0 auto 15px;
  #
} */

.section-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #660099;
  margin: 0;
}

.section-header .subtitle {
  font-size: 1.5rem;
  color: #000;
  opacity: 0.7;
  /* margin-top: 15px; */
  margin: 1.5rem 0;
  font-weight: 500;
  line-height: 32px;
}

.case-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.case-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Main Layout (2 columns) */

.success-cases-container-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 4.625rem;
}

.left-description {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Cards Grid */
.cases-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 5.9rem;
  row-gap: 2.875rem;
}

/* Card style */
.case-card {
  background-color: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  /* text-align: center; */
}

.case-card img {
  width: 100%;
  /* height: 180px; */
  object-fit: cover;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.aside-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 15px;
  line-height: 32px;
  color: #000;
}




.card-content p {
  margin: 0;
  color: #4E2771;
  flex-grow: 1;
  line-height: 32px;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.525px;
  padding-bottom: 20px;
}

.card-content .read-more {
  margin-top: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: right;
  color: #4E2771;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 1px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .success-cases-container-cases {
    flex-direction: column;
  }

  .container-cases {
    width: 90%;
  }

  .left-description {
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .section-header h1 {
    font-size: 2rem;
  }
}
