
/* Container styling */
.therapy-card.disabled {
  opacity: 0.6;               /* Visually gray out the component */
  pointer-events: none;       /* Prevent any mouse interactions */
  cursor: not-allowed;        /* Show a 'not allowed' cursor */
}

.therapy-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border-color);
    margin: 2rem auto;
    font-family: sans-serif;
}

/* Top section (image banner): short, consistent, face stays visible */
.therapy-card-illustration {
  padding: 0;
  width: 100%;
  overflow: hidden;

  /* keeps it from becoming too tall */
  aspect-ratio: 21 / 9;     /* try 16/9 if you want a bit taller */
  max-height: 170px;        /* hard cap */
  min-height: 150px;        /* prevents it getting too tiny */
}

/* Ensure the illustration scales properly and crop favors the face */
.therapy-card-illustration img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: 50% 22%; /* move crop UP to show face */
}

/* Bottom content section */
.therapy-card-content {
  padding: 1.2rem;
}

/* Headline styling */
.therapy-card-content h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Paragraph styling */
.therapy-card-content p {
  margin-bottom: 1.25rem;
  line-height: 1.4;
  color: #333333;
}

/* Button styling */
.therapy-button {
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center text */
    justify-content: center; /* Horizontally center text */
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    text-align: center; /* Ensure text aligns */
}


.therapy-button:hover,
.therapy-button:focus,
.therapy-button:active {
  opacity: 0.9;
    color: #ffffff; /* Keep the text color white */
    text-decoration: none; /* Ensure no underline appears */
}

@media (max-width: 768px) {
  .therapy-card-content {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .therapy-card-content {
    padding: 0.8rem;
  }
}
