.categories {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.categories-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: rgb(74, 52, 40);
  letter-spacing: 0.5px;
}


.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}


.category-card {
  display: flex;
  height: 75%;
  gap: 1.2rem;
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(74, 52, 40, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.category-link:hover .category-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}



.category-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgb(239, 228, 216);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
}



.category-content h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgb(74, 52, 40);
}

.category-description {
  margin: 0.35rem 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgb(92, 70, 56);
}


.category-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: rgb(122, 90, 68);
  opacity: 0.85;
}


.categories-grid p {
  grid-column: 1 / -1;
  text-align: center;
  color: rgb(122, 90, 68);
  font-style: italic;
}

.categories-subtitle {
  text-align: center;
  margin: -1.2rem auto 2.5rem;
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(122, 90, 68);
}

.category-link {
  text-decoration: none;
  color: inherit;
  display: block;
   cursor: pointer;
}
