/* 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: visible;
  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;
}


/* Review Center card */
.review-center-card {
  position: relative;
}

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

.review-center-card-visual {
  position: absolute;
  left: 46px;
  top: 180px;
  width: 498px;
  height: 373px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

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

@media (min-width: 761px) {
  .review-center-card > .case-button {
    position: absolute;
    top: 38px;
    right: 38px;
    z-index: 5;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .review-center-card-visual {
    position: static;
    width: 100%;
    height: auto;
  }
}


/* IC Portal card — real visual instead of the CSS placeholder */
.catalog-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  padding: 18px 20px 10px;
}

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

@media (max-width: 760px) {
  .catalog-card-visual {
    padding: 0;
  }
}


/* Service Desk card */
.service-desk-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  padding: 10px 0 0;
}

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

@media (max-width: 760px) {
  .service-desk-card-visual {
    padding: 0;
  }
}
