/* ================================================================
   📦 BLOQUE DE ESTILOS NUEVOS PARA EL SITIO BLOG
   Contenido: Estilos generales, widgets, mejoras UI, etc.
   Autor: ttandem
   Fecha actualización: Octubre 2025
================================================================ */

/* === ⚙️ GLOBAL STYLES ===================== */


/* === 🎨 HEADER STYLES ===================== */
body.home #header, 
body.category #header {
    height: 774px !important;
    margin-top: 115px !important;
} 
body.home #header .row.bg-image,
body.category #header .row.bg-image {
    background-position: center center !important;
    background-size: cover !important;
    height: 100% !important;
    padding-top: 155px;
    padding-left: 0;
}
#header h1, 
#header .h1 {
    font-size: 70px;
    font-weight: 300 !important;
    line-height: 80px;
    margin-bottom: 20px;
    text-transform: uppercase !important;
}
#header h1 strong, 
#header .h1 strong {
    font-size: 70px !important;
    line-height: 80px !important;
    font-weight: 300 !important;
    display: block;
    margin-bottom: 0;
}
#header p {
    font-size: 34px;
    font-weight: 400;
    line-height: 36px;
    text-transform: none;
}
@media (max-width: 967px) {
    #header .row-inner .container {
        max-width: 90%;
    }
    #header h1 strong, 
    #header .h1 strong {
        display: inline;
    }
}
@media (max-width: 953px) {
    body.home #header,
    body.category #header {
        margin-top: 91px !important;
    }
}
@media (max-width: 767px) {
    #header h1, 
    #header .h1,
    #header h1 strong, 
    #header .h1 strong {
        font-size: 42px !important;
        line-height: 50px !important;
    }
    #header p {
        font-size: 30px;
    }
    body.home #header,
    body.category #header {
        margin-top: 84px !important;
    }
}
@media (max-width: 800px) {
    body.home #header,
    body.category #header {
        height: 476px !important;
    }
    body.home #header .row.bg-image,
    body.category #header .row.bg-image {
        background-size: cover;
    }
    body.home #header .row.bg-image > .cols_group,
    body.home #header .row.bg-image > .cols_group > .column_24,
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column,
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner,
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container,
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group,
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group > .column_24,
    body.category #header .row.bg-image > .cols_group,
    body.category #header .row.bg-image > .cols_group > .column_24,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group > .column_24{
        height: 100% !important;
    }
    body.home #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group > .column_24,
    body.category #header .row.bg-image > .cols_group > .column_24 > .container_column > .row-inner > .container > .cols_group > .column_24 {
        align-items: center;
        display: flex;
    }
    .home h1, .home .h1 {
        padding-top: 0 !important;
    }
}


/* === MENU ===================== */
@media (max-width: 767px) {
    #menu {
        top: 80px !important;
    }
}
@media (max-width: 768px) and (max-width: 953px) {
    #menu {
        top: 91px !important;
    }
}
@media (min-width: 954px) {
    #menu {
        top: 115px !important;
    }
}


/* === MENU CATEGORIES ===================== */
#header .tt-categories.tt-list-categories {
    background-color: #000;
    border: 0;
    margin-top: 100px !important;
    margin-bottom: 40px;
    opacity: 0.8;
    padding: 30px 80px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
#header .tt-categories.tt-list-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 100px;
    justify-content: center;
    margin: 0;
}
#header .tt-categories.tt-list-categories li {
    font-weight: 300;
    margin: 0 !important;
}
#header .tt-categories.tt-list-categories li a {
    padding: 0;
}
@media (max-width: 944px) {
    #header .tt-categories.tt-list-categories li {
        flex: 1;
    }
}
@media (max-width: 800px) {
    #header .tt-categories.tt-list-categories {
        display: none;
    }
}
@media (min-width: 801px) and (max-width: 1195px) {
    #header .tt-categories.tt-list-categories {
        padding: 30px;
    }
    #header .tt-categories.tt-list-categories ul {
        gap: 20px 50px;
    }
    #header .tt-categories.tt-list-categories li {
        font-size: 2em;
    }
}


/* === CONTACT MENU BAR ===================== */
@media (max-width: 1595px) {
    #menu .contact-bar .container {
        display: block;
    }
    #menu .contact-bar .container .cols_group {
        display: block;
    }
    #menu .contact-bar .container .cols_group [class^="column_"] {
        display: block;
        width: 100%;
    }
    #menu .contact-bar .container .cols_group .column_16 p {
        padding-left: 100px;
    }
    #menu .contact-bar .container .cols_group .column_16 p:before {
        position: absolute !important;
        top: -10px;
        left: 40px;
        margin-left: -40px;
    }
    #menu .contact-bar .container .cols_group .column_8 p {
        padding-left: 90px;
        text-align: left;
    }
    #menu .contact-bar .container .cols_group .column_8 p a.button-corporate {
        background: none;
        border: 0;
        font-weight: 450;
        padding: 0;
        text-decoration: underline;
        text-transform: none;
    }
}


/* === CONVERTBOX ===================== */
@media (min-width: 1596px) {
    .cb-customize-desktop.wf-active #menu {
        top: 158.39px !important;
    }
}
@media (min-width: 849px) and (max-width: 1595px) {
    .cb-customize-desktop.wf-active #menu {
        top: 134.39px !important;
    }
}
@media (min-width: 768px) and (max-width: 848px) {
    .cb-customize-desktop.wf-active #menu {
        top: 157.78px !important;
    }
}
@media (min-width: 600px) and (max-width: 767px) {
    .cb-customize-desktop.wf-active #menu {
        top: 154.78px !important;
    }
}

@media (min-width: 849px) {
    .cb-customize-desktop.wf-active #top-header {
        margin-top: 43.39px !important;
    }
}
@media (min-width: 954px) {
    .cb-customize-desktop.wf-active #header {
        margin-top: 158.39px !important;
    }
}
@media (min-width: 849px) and (max-width: 953px) {
    .cb-customize-desktop.wf-active #menu {
        top: 134.39px !important;
    }
    .cb-customize-desktop.wf-active #header {
        margin-top: 134.39px !important;
    }
}
@media (min-width: 600px) and (max-width: 848px) {
    .cb-customize-desktop.wf-active #top-header {
        margin-top: 66.78px !important;
    }
}
@media (min-width: 768px) and (max-width: 848px) {
    .cb-customize-desktop.wf-active #menu {
        top: 157.78px !important;
    }
    .cb-customize-desktop.wf-active #header {
        margin-top: 157.78px !important;
    }
}
@media (min-width: 600px) and (max-width: 767px) {
    .cb-customize-desktop.wf-active #menu {
        top: 146.78px !important;
    }
    .cb-customize-desktop.wf-active #header {
        margin-top: 150.78px !important;
    }
}
@media (min-width: 414px) and (max-width: 599px) {
    .cb-customize-mobile.wf-active #top-header {
        margin-top: 74.78px !important;
    }
    .cb-customize-mobile.wf-active #menu {
        top: 154.78px !important;
    }
    .cb-customize-mobile.wf-active #header {
        margin-top: 158.62px !important;
    }
}
@media (max-width: 413px) {
    .cb-customize-mobile.wf-active #top-header {
        margin-top: 97.17px !important;
    }
    .cb-customize-mobile.wf-active #menu {
        top: 177.17px !important;
    }
    .cb-customize-mobile.wf-active #header {
        margin-top: 181.01px !important;
    }
}