/* ============================================================
   Taxonomía stock_image_category
   URL: /banco-imagenes/categoria-stock/{slug}/
   Estilos propios (paleta SPM). Solo se carga en esta taxonomía.
   ============================================================ */

.stock-category-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* ---- Volver al banco ---- */
.stock-category-back {
    margin-bottom: 20px;
}

.stock-category-back .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
}

.stock-category-back .back-btn:hover {
    color: #7db600;
}

.stock-category-back .back-btn svg {
    width: 18px;
    height: 18px;
}

/* ---- Header / banner ---- */
.stock-category-header {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #101010 0%, #2d3748 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 48px 32px;
    margin-bottom: 36px;
    text-align: center;
}

.stock-category-header .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 16, 16, 0.62);
}

.stock-category-header .stock-category-info {
    position: relative;
    z-index: 1;
}

.stock-category-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 8px;
}

.stock-category-desc {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #e5e7eb;
    max-width: 640px;
    margin: 0 auto 16px;
}

.stock-category-desc p {
    color: #e5e7eb;
}

.stock-category-count {
    display: inline-block;
    background: #7db600;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 999px;
}

/* Título opcional de las secciones (layout browser) */
.stock-category-section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #101010;
    margin: 0 0 24px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .stock-category-header {
        padding: 32px 20px;
    }

    .stock-category-title {
        font-size: 28px;
    }
}