/* Interactive Highlight Card for Zoho Sites */
/* Class: zscustom-highlight-boxes */

.zscustom-highlight-boxes {
  position: relative;
  background: #f6f4ec; /* warm parchment / herbal paper tone */
  border-radius: 18px;
  padding: 20px 18px 22px;
  border: 1px solid rgba(120, 140, 90, 0.45); /* soft olive */
  box-shadow: 0 4px 10px rgba(46, 64, 37, 0.06);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  transition: border 0.25s ease, box-shadow 0.25s ease,
              transform 0.25s ease, background-color 0.25s ease;
}

/* Hover: soft leafy + golden glow, still earthy */
.zscustom-highlight-boxes:hover {
  border-color: #4f8a3a;
  box-shadow:
    0 14px 30px rgba(79, 138, 58, 0.18),
    0 8px 20px rgba(46, 64, 37, 0.16);
  background:
    radial-gradient(circle at top left,
      rgba(139, 195, 74, 0.16), transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(253, 204, 74, 0.18), transparent 60%),
    #f6f4ec; /* keeps the base parchment tone */
}

/* Image wrapper */
.zscustom-highlight-boxes__image-wrap {
  flex: 0 0 110px;
  position: relative;
  align-self: center;
}

/* Floating image */
.zscustom-highlight-boxes img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 8px 16px rgba(46, 64, 37, 0.22));
  transform: translateY(0) scale(1);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.zscustom-highlight-boxes:hover img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 12px 20px rgba(46, 64, 37, 0.3));
}

/* Text content */
.zscustom-highlight-boxes__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zscustom-highlight-boxes__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(253, 204, 74, 0.22); /* warm golden echo of logo center */
  color: #4f5b2a;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zscustom-highlight-boxes__title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2b16; /* deep leaf green */
}

.zscustom-highlight-boxes__text {
  font-size: 13px;
  line-height: 1.5;
  color: #415236; /* muted herbal green */
}

.zscustom-highlight-boxes__cta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #4f8a3a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.zscustom-highlight-boxes__cta::after {
  content: "↗";
  font-size: 12px;
}

.zscustom-highlight-boxes__cta:hover {
  color: #2f5c24;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {
  .zscustom-highlight-boxes {
    flex-direction: column;
    align-items: flex-start;
  }

  .zscustom-highlight-boxes__image-wrap {
    flex: 0 0 auto;
    width: 120px;
  }
}
