/* =========================================================
   CPC Layout: Service
   - horizontal card layout
   - hover border/shadow behavior
   - mobile adjustments
   ========================================================= */

article.cp-card.service {
  flex-direction: row;
  gap: 40px;
  padding: 30px;
  border-radius: 14px;
  background: var(--surface, #fff);
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
}

article.cp-card.service:hover {
  box-shadow: inset 0 0 0 1px rgb(96, 193, 93);
  transform: translateY(-2px);
}

article.cp-card.service > .cp-thumb {
  width: 40%;
  max-width: 200px;
  height: 150px;
}

article.cp-card.service .cp-content {
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

article.cp-card.service .cp-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  padding: 0;
}

@media (max-width: 767px) {
  article.cp-card.service {
    gap: 16px;
    padding: 24px 20px;
  }
  article.cp-card.service .cp-content {
    font-size: 14px;
    line-height: 18px;
  }

  article.cp-card.service .cp-title {
    font-size: 18px;
    line-height: 22px;
  }

  article.cp-card.service > .cp-thumb {
    width: 30%;
    max-width: 100px;
    height: auto;
  }

  article.cp-card.service .cp-excerpt {
    font-size: 12px;
    line-height: 16px;
  }
}
