.cg-page {
  background: #ffffff;
}

.cg-main {
  padding: 24px 0 36px;
}

.cg-main h1 {
  margin: 0;
  text-align: center;
  color: #2c3e50;
  font-size: 36px;
  font-weight: 700;
}

.cg-sub {
  margin: 8px auto 22px;
  text-align: center;
  max-width: 820px;
  color: #2d3436;
  font-size: 15px;
}

.cg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cg-card {
  background: #fff;
  border: 1px solid #2c3e50;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.cg-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #fff;
}

.cg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-body {
  padding: 13px;
}

.cg-body h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.cg-body h2 a {
  color: #2c3e50;
}

.cg-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.cg-stats span {
  border: 1px solid #2c3e50;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  color: #2c3e50;
  font-weight: 600;
}

.cg-cta {
  display: inline-block;
  background: #2ecc71;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .cg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cg-main h1 {
    font-size: 28px;
  }

  .cg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cg-grid {
    grid-template-columns: 1fr;
  }
}
