/**
 * CreatorLayer — homepage design enhancements
 * Extends portfolio.css patterns; keeps template animations intact.
 */

.cl-home-work {
  padding-bottom: 100px;
}

@media (max-width: 991px) {
  .cl-home-work {
    padding-bottom: 60px;
  }
}

.cl-home-work .portfolio-category-block {
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(26, 24, 80, 0.04);
}

.cl-home-work .portfolio-section-nav {
  margin-top: 8px;
  margin-bottom: 40px;
}

.cl-home-work__extras {
  margin-top: 8px;
}

.cl-home-work__category-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.cl-home-work__category-card:hover {
  color: inherit;
}

.cl-home-work__category-card .image img {
  aspect-ratio: 4 / 3;
}

.cl-home-work__category-card .name {
  color: var(--seo-marketing-blue, #1a1850);
}

.cl-home-work__category-card:hover .name {
  color: var(--seo-marketing-purple, #7555f5);
}

.cl-home-work__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 24, 80, 0.25);
  transition: background 0.3s ease;
}

.cl-home-work__play i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--seo-marketing-blue, #1a1850);
  font-size: 20px;
}

.cl-home-work__category-card:hover .cl-home-work__play {
  background: rgba(26, 24, 80, 0.35);
}

.cl-home-work .portfolio-website-card {
  height: 100%;
}

.cl-home-work .client-website-preview {
  border-radius: 16px;
}

/* Hero typography fix (template typo fw-15) */
.section-hero .hero-content > .title.fw-6 {
  font-weight: 600;
}

.section-hero .hero-content > .desc {
  letter-spacing: -0.01em;
  max-width: 36em;
}

/* Testimonials — cleaner stat box */
.section-testimonials .box-quote-2 {
  border-radius: 24px;
  border: 1px solid var(--color-border-1);
  overflow: hidden;
}

/* Homepage blog preview grid */
#cl-home-blog .blog-card .name-card {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cl-home-work__category-card .image {
  position: relative;
}
