/* Category Card Styles */
.category-card {
    border-radius: 2rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}
.category-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.category-img {
    width: 100%;
    aspect-ratio: 2.5 / 3;
    object-fit: cover;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    background: #f8f9fa;
    min-height: 180px;
    max-height: 320px;
}
.category-card-body {
    padding: 1.5rem 1rem 1.5rem 1rem;
    background: rgba(255,255,255,0.95);
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #181818;
    margin-bottom: 0.5rem;
}
.category-count {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.2rem;
}
.category-card-body .btn-outline-primary {
    color: #cda349;
    border-color: #cda349;
}
.category-card-body .btn-outline-primary:hover {
    background: #cda349;
    color: #fff;
    border-color: #cda349;
}
.btn-outline-primary.active, .btn-outline-primary.active:focus, .btn-outline-primary.active:visited {
    background: #cda349 !important;
    color: #fff !important;
    border-color: #cda349 !important;
}
@media (max-width: 768px) {
    .category-card-body {
        padding: 1rem 0.5rem;
    }
    .category-title {
        font-size: 1.2rem;
    }
    .category-img {
        min-height: 120px;
    }
}

/* Talent card images: consistent height and aspect across screens */
.talent-card-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}
.talent-card-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}
/* Detail page hero image */
.talent-detail-hero-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}
.talent-detail-placeholder {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Product detail page: match talent detail hero/placeholder */
.product-detail-hero-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}
.product-detail-placeholder {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .talent-card-img {
        max-height: 180px;
    }
    .talent-card-placeholder {
        height: 180px;
    }
    .talent-detail-hero-img {
        max-height: 280px;
    }
    .talent-detail-placeholder {
        height: 280px;
    }
    .product-detail-hero-img {
        max-height: 280px;
    }
    .product-detail-placeholder {
        height: 280px;
    }
} 