/* css styles */

.ai-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.ai-project-card {
  border: 1px solid #d7dee6;
  border-radius: 8px;
  padding: 1.1rem 1.15rem;
  background: #fff;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}

.ai-project-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.ai-project-card p {
  color: #4f5b67;
  line-height: 1.55;
}

.ai-project-tags {
  margin-top: auto;
  margin-bottom: 0.9rem;
}

.ai-project-tags p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}

.ai-project-tags code {
  background: #eef3f7;
  color: #314150;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
}

.ai-project-link {
  display: inline-block;
  margin-right: 0.55rem;
  font-weight: 650;
}

.ck-hero {
  padding: 1.15rem 1.25rem 1rem;
  border: 1px solid #d9e4ec;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.11), transparent 28%),
    linear-gradient(180deg, #fcfdfd 0%, #f6faf9 100%);
  margin: 0.9rem 0 1.5rem;
  box-shadow: 0 14px 30px rgba(37, 60, 75, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 0.9rem 1rem;
  align-items: start;
}

.ck-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #0f766e;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.ck-hero-title {
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
  line-height: 0.98;
  margin-bottom: 0.7rem;
  max-width: 12ch;
  color: #142430;
  font-weight: 800;
  text-wrap: balance;
}

.ck-dek {
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 34rem;
  color: #415463;
  margin-bottom: 0;
}

.ck-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.ck-stat-card,
.ck-method-card,
.ck-ojs-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d8e5eb;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
}

.ck-stat-label,
.ck-method-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #567;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.ck-stat-value {
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 800;
  color: #142430;
  margin-bottom: 0.25rem;
}

.ck-stat-note {
  color: #61717e;
  font-size: 0.88rem;
}

.ck-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.ck-method-card p {
  margin-bottom: 0;
  color: #435564;
}

.ck-ojs-card {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: #243744;
}

.callout.callout-style-simple {
  border-radius: 18px;
}

@media (max-width: 700px) {
  .ck-hero {
    padding: 1.2rem 1rem 1rem;
    border-radius: 20px;
    grid-template-columns: 1fr;
  }

  .ck-hero-title {
    max-width: 13ch;
    font-size: 2rem;
  }

  .ck-dek {
    max-width: none;
  }
}
