/* Contact Center card on the home page.
   Additive styles only — the main styles.css remains untouched. */

.contact-center-card-visual {
  margin-top: auto;
  height: 238px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 8px 4px;
  background: transparent;
}

.contact-center-card-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(34, 48, 78, .10));
}

@media (max-width: 760px) {
  /* The existing mobile layout already hides .project-visual. */
  .contact-center-card-visual {
    height: auto;
    padding: 0;
  }
}


/* Restore the original compact-card CTA position on desktop. */
@media (min-width: 761px) {
  .contact-center-card {
    position: relative;
  }

  .contact-center-card > .case-button {
    position: absolute;
    top: 38px;
    right: 38px;
    z-index: 5;
    margin: 0;
  }
}


/* v3: align compact-card buttons and force Contact Center title break. */
@media (min-width: 761px) {
  .qa-card {
    position: relative;
  }

  .qa-card > .case-button {
    position: absolute;
    top: 38px;
    right: 38px;
    z-index: 5;
    margin: 0;
  }
}

.contact-center-title br {
  display: block;
}
