/*
Theme Name: Salient Child
Theme URI: https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Template: salient
Author: ThemeNectar
Author URI: https://themeforest.net/user/themenectar
Description: An Ultra Responsive Multi-Purpose Theme.
Version: 14.0.5.1775932014
Updated: 2026-04-11 18:26:54

*/


/* Subcategorías dentro del banner */
body.archive.category #page-header-wrap .custom-child-categories {
    display: block !important;
    margin-top: 22px !important;
    max-width: 760px !important;
}

body.archive.category #page-header-wrap .custom-child-categories-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    row-gap: 12px !important;
    column-gap: 12px !important;
}

body.archive.category #page-header-wrap .custom-child-categories .child-cat-item {
    display: inline-block !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,0.30) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body.archive.category #page-header-wrap .custom-child-categories .child-cat-item:hover {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.55) !important;
    color: #ffffff !important;
}

body.archive.category #page-header-wrap .inner-wrap h1 {
    margin-bottom: 22px !important;
}

/* Breadcrumbs debajo del banner */
body.archive.category .custom-rm-breadcrumbs-outside {
    max-width: 1200px !important;
    margin: 20px auto 6px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    text-align: center !important;
}

body.archive.category .custom-rm-breadcrumbs-outside a {
    color: #d9482f !important;
    text-decoration: none !important;
}

body.archive.category .custom-rm-breadcrumbs-outside a:hover {
    text-decoration: underline !important;
}

/* Ajustes para móvil */
@media only screen and (max-width: 767px) {

    body.archive.category #page-header-wrap .inner-wrap {
        max-width: 100% !important;
    }

    body.archive.category #page-header-wrap .inner-wrap h1 {
        margin-bottom: 18px !important;
        font-size: 56px !important;
        line-height: 1.05 !important;
    }

    body.archive.category #page-header-wrap .custom-child-categories {
        max-width: 100% !important;
        margin-top: 18px !important;
    }

    body.archive.category #page-header-wrap .custom-child-categories-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    body.archive.category #page-header-wrap .custom-child-categories .child-cat-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        border-radius: 20px !important;
    }

    body.archive.category .custom-rm-breadcrumbs-outside {
        margin: 20px auto 6px !important;
        padding: 0 16px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

@media only screen and (max-width: 767px) {
    body.archive.category .article-content-wrap .post-header h3.title,
    body.archive.category .article-content-wrap .post-header h3.title a {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }
}

/* =========================================================
   CATEGORÍAS: banner solo imagen + contenido debajo
   ========================================================= */

/* Oculta el contenido dentro del banner en archivos de categoría */
body.archive.category #page-header-wrap .inner-wrap {
    display: none !important;
}

/* Mantiene visible solo la imagen del banner */
body.archive.category #page-header-wrap,
body.archive.category #page-header-wrap .page-header-bg-image,
body.archive.category #page-header-wrap .nectar-page-header-bg {
    overflow: hidden;
}

/* Bloque completo debajo del banner */
body.archive.category .custom-category-header-below {
    max-width: 1200px !important;
    margin: 34px auto 10px !important;
    padding: 0 20px !important;
    text-align: center !important;
}

/* Título de categoría */
body.archive.category .custom-category-header-below h1 {
    margin: 0 0 22px !important;
    font-size: 54px !important;
    line-height: 1.05 !important;
    color: #111 !important;
}

/* Subcategorías debajo del título */
body.archive.category .custom-category-header-below .custom-child-categories {
    display: block !important;
    margin: 0 0 22px !important;
}

body.archive.category .custom-category-header-below .custom-child-categories-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    row-gap: 12px !important;
    column-gap: 12px !important;
}

body.archive.category .custom-category-header-below .custom-child-categories .child-cat-item {
    display: inline-block !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 999px !important;
    background: #f7f7f7 !important;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body.archive.category .custom-category-header-below .custom-child-categories .child-cat-item:hover {
    background: #efefef !important;
    border-color: rgba(0,0,0,0.22) !important;
    color: #111 !important;
}

/* Migas debajo del título/subcategorías */
body.archive.category .custom-category-header-below .custom-rm-breadcrumbs-outside {
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    text-align: center !important;
}

body.archive.category .custom-category-header-below .custom-rm-breadcrumbs-outside a {
    color: #d9482f !important;
    text-decoration: none !important;
}

body.archive.category .custom-category-header-below .custom-rm-breadcrumbs-outside a:hover {
    text-decoration: underline !important;
}

/* Móvil */
@media only screen and (max-width: 767px) {
    body.archive.category .custom-category-header-below {
        margin: 26px auto 8px !important;
        padding: 0 16px !important;
    }

    body.archive.category .custom-category-header-below h1 {
        margin: 0 0 18px !important;
        font-size: 40px !important;
        line-height: 1.08 !important;
    }

    body.archive.category .custom-category-header-below .custom-child-categories {
        margin: 0 0 18px !important;
    }

    body.archive.category .custom-category-header-below .custom-child-categories-list {
        gap: 10px !important;
    }

    body.archive.category .custom-category-header-below .custom-child-categories .child-cat-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        border-radius: 20px !important;
    }

    body.archive.category .custom-category-header-below .custom-rm-breadcrumbs-outside {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* Quitar cualquier oscurecimiento del banner en categorías */
body.archive.category #page-header-wrap .page-header-bg-image,
body.archive.category #page-header-wrap .nectar-page-header-bg,
body.archive.category #page-header-wrap .page-header-bg-image *,
body.archive.category #page-header-wrap .nectar-page-header-bg * {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

body.archive.category #page-header-wrap .page-header-bg-image::before,
body.archive.category #page-header-wrap .page-header-bg-image::after,
body.archive.category #page-header-wrap .nectar-page-header-bg::before,
body.archive.category #page-header-wrap .nectar-page-header-bg::after,
body.archive.category #page-header-wrap .row-bg::before,
body.archive.category #page-header-wrap .row-bg::after,
body.archive.category #page-header-wrap [class*="overlay"]::before,
body.archive.category #page-header-wrap [class*="overlay"]::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}
body.archive.category #page-header-wrap {
    background: transparent !important;
}

body.archive.category #page-header-wrap .page-header-bg-image,
body.archive.category #page-header-wrap .nectar-page-header-bg,
body.archive.category #page-header-wrap .row-bg {
    background-color: transparent !important;
    mix-blend-mode: normal !important;
}
