/* Landing hero — AI phrase + thumbnail on isolated last row */
.et_pb_text_0 .et_pb_text_inner h1 {
  line-height: 1.12;
}

.qcg-hero-ai-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 0.35em;
  line-height: normal;
  width: 100%;
}

.qcg-hero-ai-link {
  display: block;
  color: #95c11f;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  -webkit-text-fill-color: #95c11f;
  transition: color 0.2s ease;
}

.qcg-hero-ai-link:hover,
.qcg-hero-ai-link:focus-visible {
  color: #b8e04a;
  -webkit-text-fill-color: #b8e04a;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.et_pb_text_0 .et_pb_text_inner h1 .qcg-hero-ai-link {
  padding-bottom: 0 !important;
}

.qcg-hero-ai-thumb {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 0 0 2px rgba(149, 193, 31, 0.55),
    0 8px 28px rgba(15, 31, 61, 0.35),
    0 0 24px rgba(149, 193, 31, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.qcg-hero-ai-thumb:hover,
.qcg-hero-ai-thumb:focus-visible {
  transform: scale(1.06) rotate(-1deg);
  box-shadow:
    0 0 0 3px #95c11f,
    0 12px 32px rgba(15, 31, 61, 0.4),
    0 0 36px rgba(149, 193, 31, 0.45);
  outline: none;
}

.qcg-hero-ai-thumb img {
  display: block;
  width: clamp(4.5rem, 11vw, 5.75rem);
  height: clamp(4.5rem, 11vw, 5.75rem);
  object-fit: cover;
}

@media (max-width: 767px) {
  .qcg-hero-ai-row {
    gap: 0.65rem 0.85rem;
  }
}
