.uca-page {
  background-color: #F7F5F0;
  color: #071C21;
}

/* ── Hero ──────────────────────────────────────────────────── */
.uca-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 72px 72px 72px;
  text-align: center;
}

.uca-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1296px;
  width: 100%;
}

.uca-hero__title {
  font-size: clamp(40px, 5.3vw, 76px);
  font-weight: 400;
  letter-spacing: -1.52px;
  line-height: 1;
  color: #000;
  margin: 0;
}

.uca-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.18px;
  max-width: 613px;
  color: #000;
  margin: 0;
}

/* ── Cards section ─────────────────────────────────────────── */
.uca-cards {
  padding: 40px 72px 112px;
}

.uca-cards__inner {
  max-width: 1296px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ── Category group ────────────────────────────────────────── */
.uca-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.uca-group__heading {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1;
  color: #000;
  text-align: center;
  margin: 0;
}

/* ── 4-column grid ─────────────────────────────────────────── */
.uca-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

/* ── Card ──────────────────────────────────────────────────── */
.uca-card {
  text-decoration: none;
  color: inherit;
  background: #f8fcff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    1px 6px 13px rgba(0, 0, 0, 0.03),
    3px 24px 24px rgba(0, 0, 0, 0.02),
    6px 54px 33px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 6px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.uca-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

/* ── Card image area ───────────────────────────────────────── */
.uca-card__thumb {
  width: 100%;
  height: 174px;
  background-color: #F4F1E8;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E7E1CE;
  flex-shrink: 0;
}

.uca-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Card body ─────────────────────────────────────────────── */
.uca-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px;
  flex: 1;
}

.uca-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uca-card__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.1;
  color: #071C21;
  margin: 0;
}

.uca-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.16px;
  color: #071C21;
  margin: 0;
  opacity: 0.75;
}

.uca-card__foot {
  height: 14px;
}

/* ── CTA banner ─────────────────────────────────────────────── */
.use-case-page {
  padding-top: 0 !important;
}

.use-case-page .cta-inner {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

a:where(:not(.wp-element-button)) {
  color: black !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .uca-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .uca-hero  { padding: 60px 24px; }
  .uca-cards { padding: 40px 24px 80px; }
  .uca-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .uca-hero__title { font-size: 40px; letter-spacing: -0.8px; }
  .uca-grid        { grid-template-columns: 1fr; }
  .uca-cards       { padding: 32px 16px 64px; }
  .uca-hero        { padding: 90px 16px; }
}
