:root {
  --font-main: 'Unbounded', sans-serif;
  --accent-color: #F5DF4E;
  --bg-gray: #f8f8f8;
}

.template-showcase {
  padding: 4rem 2rem;
  background: var(--bg-gray);
  font-family: var(--font-main);
  text-align: center;
}

.template-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #222;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.template-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  color: inherit;
}

.template-card:hover {
  transform: scale(1.03);
}

.template-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.template-card h3 {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

@media (max-width: 768px) {
  .template-title {
    font-size: 1.8rem;
  }

  .template-card img {
    height: 150px;
  }

  .template-card h3 {
    font-size: 0.95rem;
  }
}