/*
Theme Name: NOO JobMonster Child Theme
Theme URI: http://nootheme.com/
Author: NooTheme
Author URI: http://nootheme.com/
Description: This is a custom child theme for NOO JobMonster
Template: noo-jobmonster
Version: 1.0.0
Tags: two-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, sticky-post, theme-options, translation-ready
Text Domain: noo
*/

/* ==========================================================================
   B24 - CORRECCIONES MOVIL 1 DIC 2026 (APROBADAS POR GERARDO)
   - Paquetes de la portada: 1 columna en movil.
   - Sectores/categorias de la portada: 1 columna en movil.
   - Un solo logotipo en el encabezado.
   - Titulos de seccion completos en movil.
   - Iconos de categorias en amarillo #FFB81C con fondo oscuro.
   - Fecha HACE 1 dia en mayusculas y espacio antes del guion.
   - Sin desplazamiento horizontal en movil.
   En escritorio todo queda igual (rejilla de 4 columnas).
   ========================================================================== */

/* ---------- LOGOTIPO: UNO SOLO, SIEMPRE EL OFICIAL ---------- */
.noo-header .navbar-brand img.noo-logo-mobile-img,
.noo-header .navbar-brand img.noo-sticky-logo-img,
.navbar-brand img.noo-logo-mobile-img,
.navbar-brand img.noo-logo-sticky-logo-img{
    display:none!important;
}
.noo-header .navbar-brand img.noo-logo-img,
.navbar-brand img.noo-logo-img{
    display:block!important;
}
.navbar-brand{
    background:#ffffff;
    border-radius:10px;
    padding:6px 10px;
}

/* ---------- ENCABEZADO FIJO: FONDO BLANCO SOLIDO ---------- */
/* El encabezado fijo del tema deja ver el contenido a traves del menu al hacer scroll.
   Fondo blanco solido para que el menu no se encime de las tarjetas. */
.noo-header,
.noo-header .navbar,
.noo-header .navbar-collapse,
.noo-header .noo-main-menu{
    background:#ffffff!important;
}

/* ---------- ICONOS DE CATEGORIAS EN AMARILLO #FFB81C ---------- */
.noo-job-category .category-item .icon{
    background:#22303e!important;
    border-radius:50%!important;
}
.noo-job-category .category-item .icon i,
.noo-job-category .category-item .icon .fa{
    color:#FFB81C!important;
}

/* ---------- FECHA: HACE 1 DIA EN MAYUSCULAS ---------- */
.job-date-ago{
    text-transform:uppercase;
}

/* ---------- ESPACIO ANTES DEL GUION DE LA FECHA DE CIERRE ---------- */
.job-date__closing{
    margin-left:.3em;
}

/* ---------- MARGEN EN EL PRIMER ENLACE DE PALABRAS CLAVE ---------- */
.noo-job-keyword a:first-child{
    margin-left:.5em;
    margin-right:.5em;
}

@media (max-width: 768px){
    html, body{
        overflow-x:hidden;
    }
    /* Encabezado compacto: un solo logo, sin duplicado. */
    .navbar-brand img.noo-logo-img{
        max-width:180px!important;
        max-height:64px!important;
        object-fit:contain!important;
    }
    .noo-header .navbar-brand{
        max-width:200px;
    }
    /* Titulos de seccion completos, sin cortarse. */
    .noo-title-sc{
        font-size:25px!important;
        line-height:1.2!important;
        white-space:normal!important;
        overflow:visible!important;
        text-overflow:clip!important;
    }
    /* Titulo del buscador en movil. */
    .noo-search .noo-search-title,
    .noo-job-search .noo-search-title{
        font-size:30px!important;
        line-height:1.2!important;
        white-space:normal!important;
    }
    /* Paquetes de la portada: 1 columna en movil. */
    .noo-package-widget.noo-grid-item,
    .noo-package-widget.noo-desktop-4.noo-grid-item,
    .noo-pricing-table.noo-desktop-4.noo-grid-item,
    .noo-package-widget .noo-grid-item,
    .noo-pricing-table .noo-grid-item{
        width:100%!important;
        flex:0 0 100%!important;
        max-width:100%!important;
        float:none!important;
        clear:both!important;
    }
    .noo-package-widget,
    .noo-pricing-table{
        grid-template-columns:1fr!important;
    }
    /* Titulos y caracteristicas de los paquetes: completos. */
    .noo-package-widget .pricing-title,
    .noo-package-widget .pricing-title h4,
    .noo-package-widget .pricing-title span,
    .noo-package-widget .pricing-feature,
    .noo-package-widget .pricing-feature li{
        white-space:normal!important;
        overflow:visible!important;
        text-overflow:clip!important;
    }
    /* Sectores/categorias de la portada: 1 columna en movil. */
    .noo-job-category.noo-grid-item,
    .noo-job-category.noo-desktop-4.noo-grid-item,
    .noo-job-category .noo-grid-item,
    .noo-job-category .category-item{
        width:100%!important;
        flex:0 0 100%!important;
        max-width:100%!important;
        float:none!important;
        clear:both!important;
    }
    .noo-job-category{
        grid-template-columns:1fr!important;
    }
    .noo-job-category .category-item .title{
        white-space:normal!important;
        overflow:visible!important;
        text-overflow:clip!important;
    }
    /* Reglas de seguridad para /paquetes/ en movil. */
    .noo-pricing-table .pricing-value{
        float:none!important;
        margin:0 auto!important;
    }
    .noo-pricing-table .pricing-title{
        white-space:normal!important;
    }
}

@media (max-width: 768px){
    /* Circulo de precio: grande y centrado para que el precio quepa completo. */
    .noo-package-widget .pricing-value{
        width:170px!important;
        height:170px!important;
        min-width:170px!important;
        min-height:170px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        margin:0 auto!important;
        float:none!important;
    }
    .noo-package-widget .pricing-value .noo-price{
        font-size:22px!important;
        line-height:1.2!important;
        white-space:nowrap!important;
    }
}

/* ==========================================================================
   B24 - NUEVO DISENO A MEDIDA 1 DIC 2026 (APROBADO POR GERARDO)
   Portada mexicana hibrida: amarillo #FFB81C + azul profundo #0F4C81.
   - Seccion "¿ERES CANDIDATO O EMPLEADOR?" con misiones y barra de XP
     para el candidato y panel serio para el empleador.
   - Salario destacado en amarillo en las vacantes.
   - Boton POSTULARME en cada vacante del listado.
   ========================================================================== */

/* ---------- SECCION ¿ERES CANDIDATO O EMPLEADOR? ---------- */
.b24-dual{
    background:#FFB81C;
    padding:44px 16px;
}
.b24-dual-inner{
    max-width:1140px;
    margin:0 auto;
}
.b24-dual-title{
    text-align:center;
    color:#0F4C81;
    font-size:34px;
    line-height:1.15;
    margin:0 0 8px;
    text-transform:uppercase;
}
.b24-dual-sub{
    text-align:center;
    color:#0F4C81;
    font-weight:700;
    margin:0 0 28px;
    text-transform:uppercase;
}
.b24-dual-grid{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
}
.b24-dual-card{
    flex:1 1 420px;
    background:#fff;
    border-radius:16px;
    padding:28px;
    box-shadow:0 6px 24px rgba(15,76,129,.18);
}
.b24-dual-card h3{
    color:#0F4C81;
    font-size:26px;
    margin:0 0 8px;
    text-transform:uppercase;
}
.b24-dual-desc{
    font-weight:700;
    color:#22303e;
    text-transform:uppercase;
}
.b24-dual-misiones-titulo{
    font-weight:800;
    color:#0F4C81;
    text-transform:uppercase;
    margin:18px 0 4px;
}
.b24-misiones,
.b24-panel{
    list-style:none;
    margin:0 0 18px;
    padding:0;
}
.b24-misiones li,
.b24-panel li{
    padding:10px 0 10px 34px;
    position:relative;
    border-bottom:1px dashed #e3e8ee;
    text-transform:uppercase;
    font-weight:600;
}
.b24-misiones li:last-child,
.b24-panel li:last-child{
    border-bottom:0;
}
.b24-misiones li:before{
    content:"★";
    position:absolute;
    left:0;
    top:8px;
    color:#FFB81C;
    font-size:22px;
    line-height:1;
}
.b24-panel li:before{
    content:"✓";
    position:absolute;
    left:2px;
    top:8px;
    color:#0F4C81;
    font-size:20px;
    font-weight:800;
}
.b24-misiones li a{
    color:#0F4C81;
    text-decoration:underline;
}
.b24-xp-top{
    display:flex;
    justify-content:space-between;
    gap:12px;
    font-weight:800;
    color:#0F4C81;
    text-transform:uppercase;
}
.b24-xp-bar{
    height:18px;
    background:#e8edf2;
    border-radius:99px;
    overflow:hidden;
    margin:8px 0;
}
.b24-xp-fill{
    height:100%;
    background:#FFB81C;
    border-radius:99px;
}
.b24-xp-note{
    font-size:13px;
    color:#5b6b7a;
    text-transform:uppercase;
}
.b24-btn{
    display:inline-block;
    background:#0F4C81;
    color:#fff;
    padding:12px 22px;
    border-radius:99px;
    font-weight:800;
    text-transform:uppercase;
    text-decoration:none;
    margin-top:10px;
}
.b24-btn:hover{
    text-decoration:none;
}
.b24-dual-empleador{
    background:#0F4C81;
    color:#fff;
}
.b24-dual-empleador h3,
.b24-dual-empleador .b24-dual-desc,
.b24-dual-empleador .b24-dual-misiones-titulo{
    color:#FFB81C;
}
.b24-dual-empleador .b24-panel li{
    border-bottom-color:rgba(255,255,255,.25);
    color:#fff;
}
.b24-dual-empleador .b24-panel li:before{
    color:#FFB81C;
}
.b24-btn-empleador{
    background:#FFB81C;
    color:#0F4C81;
}
.b24-btn-empleador2{
    background:transparent;
    color:#fff;
    border:2px solid #fff;
    margin-left:10px;
}

/* ---------- SALARIO DESTACADO EN AMARILLO ---------- */
.b24-job-salary{
    background:#FFB81C!important;
    color:#0F4C81!important;
    display:inline-block!important;
    padding:4px 12px!important;
    border-radius:99px!important;
}

/* ---------- BOTON POSTULARME EN LAS VACANTES ---------- */
.b24-postularme{
    display:inline-block;
    background:#FFB81C;
    color:#0F4C81;
    font-weight:800;
    padding:8px 18px;
    border-radius:99px;
    text-transform:uppercase;
    text-decoration:none;
    margin-top:8px;
}
.b24-postularme:hover{
    background:#0F4C81;
    color:#fff;
    text-decoration:none;
}

@media (max-width: 768px){
    .b24-dual{
        padding:32px 14px;
    }
    .b24-dual-title{
        font-size:26px;
    }
    .b24-dual-grid{
        flex-direction:column;
    }
    .b24-dual-card{
        flex:1 1 auto;
        padding:22px 18px;
    }
    .b24-btn-empleador2{
        margin-left:0;
        margin-top:10px;
    }
    .b24-btn{
        display:block;
        text-align:center;
    }
}

/* ---------- PALABRA DEL DISPOSITIVO AL FINAL DE LA PORTADA ---------- */
/* El tema marca el dispositivo (desktop/mobile) con un pseudo-elemento al final
   de la portada. Se oculta para que no se vea. */
body::after,
footer::after,
#colophon::after,
.noo-footer::after,
.site-footer::after{
    display:none!important;
}
