/* JD30 — Inicio KOSMOS: banners full width, sin espaciado vertical forzado y colores editables. */
html,
body {
    overflow-x: clip;
}

/* Full bleed real: sale del ancho limitado del tema y ocupa todo el viewport. */
body .jd-home-hero {
    position: relative !important;
    left: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
}

body .jd-home-hero > .wpb_column,
body .jd-home-hero .vc_column-inner,
body .jd-home-hero .wpb_wrapper,
body .jd-home-hero .wpb_content_element,
body .jd-home-hero__slider,
body .jd-home-hero__slider > .wpb_wrapper,
body .jd-home-hero .sps,
body .jd-home-hero .sps__viewport,
body .jd-home-hero .sps__track,
body .jd-home-hero .sps__slide,
body .jd-home-hero .sps__media,
body .jd-home-hero picture,
body .jd-home-hero img {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body .jd-home-hero picture,
body .jd-home-hero img {
    display: block !important;
}

/* Sin separación sobre el banner, incluso si el tema usa propiedades lógicas. */
body .jd-home-hero,
body .jd-home-hero > .wpb_column,
body .jd-home-hero .vc_column-inner,
body .jd-home-hero .wpb_wrapper,
body .jd-home-hero .wpb_content_element,
body .jd-home-hero__slider,
body .jd-home-hero .sps {
    margin-block-start: 0 !important;
    padding-block-start: 0 !important;
}
body .jd-home-hero,
body .jd-home-intro,
body .jd-home-benefits,
body .jd-home-intelligence,
body .jd-home-global,
body .jd-home-hero > .wpb_column,
body .jd-home-intro > .wpb_column,
body .jd-home-benefits > .wpb_column,
body .jd-home-intelligence > .wpb_column,
body .jd-home-global > .wpb_column {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

body .jd-home-hero,
body .jd-home-hero .vc_column-inner,
body .jd-home-hero .wpb_wrapper,
body .jd-home-hero .wpb_content_element {
}

body .jd-home-intro__title,
body .jd-home-intro__title .wpb_wrapper,
body .jd-home-intro__title :is(h1,h2,h3,p) {
}

body .jd-home-benefits .vc_column-inner,
body .jd-home-benefits .wpb_wrapper {
}

body .jd-home-benefits .wpb_content_element {
}

body .jd-home-intelligence {
    width: min(94%, 1700px) !important;
    margin: 0 auto !important;
}

body .jd-home-intelligence__row {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 42px !important;
}

body .jd-home-intelligence__media {
    width: 60% !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(-4px) !important;
}

body .jd-home-intelligence__content {
    width: 40% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .jd-home-intelligence__media > .vc_column-inner,
body .jd-home-intelligence__content > .vc_column-inner,
body .jd-home-intelligence__media .wpb_wrapper,
body .jd-home-intelligence__content .wpb_wrapper {
    margin: 0 !important;
}

body .jd-home-intelligence__carousel,
body .jd-home-intelligence__carousel > .wpb_wrapper,
body .jd-home-intelligence__carousel .sps,
body .jd-home-intelligence__carousel .sps__viewport,
body .jd-home-intelligence__carousel .sps__track,
body .jd-home-intelligence__carousel .sps__slide,
body .jd-home-intelligence__carousel .sps__media {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .jd-home-intelligence__carousel .sps__slide {
    flex: 0 0 100% !important;
}

body .jd-home-intelligence__carousel img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
}

body .jd-home-intelligence__content .wpb_content_element {
}

body .jd-home-intelligence__eyebrow,
body .jd-home-intelligence__eyebrow p {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body .jd-home-intelligence__title,
body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) {
    font-size: 60px !important;
    line-height: 1.07 !important;
    font-weight: 800 !important;
}

body .jd-home-intelligence__title {
}

body .jd-home-intelligence__description,
body .jd-home-intelligence__description p {
}

body .jd-home-global {
}

@media (max-width:1500px) and (min-width:1201px) {
    body .jd-home-intelligence__title,
    body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) { font-size:45px !important; }
}

@media (max-width:1200px) and (min-width:801px) {
    body .jd-home-intelligence { width:min(94%, 1120px) !important; }
    body .jd-home-intelligence__row { gap:28px !important; }
    body .jd-home-intelligence__media { width:58% !important; }
    body .jd-home-intelligence__content { width:42% !important; }
    body .jd-home-intelligence__title,
    body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) { font-size:35px !important; }
}

@media (max-width:800px) {
    body .jd-home-intelligence { width:calc(100% - 32px) !important; }
    body .jd-home-intelligence__row { flex-direction:column !important; gap:22px !important; }
    body .jd-home-intelligence__media,
    body .jd-home-intelligence__content { width:100% !important; transform:none !important; }
    body .jd-home-intelligence__title,
    body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) { font-size:45px !important; }
}

@media (max-width:500px) {
    body .jd-home-intelligence { width:calc(100% - 24px) !important; }
    body .jd-home-intelligence__title,
    body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) { font-size:35px !important; }
}

@media (max-width:300px) {
    body .jd-home-intelligence__title,
    body .jd-home-intelligence__title :is(h1,h2,h3,h4,p,span,strong) { font-size:25px !important; line-height:1.12 !important; }
    body .jd-home-intelligence__description,
    body .jd-home-intelligence__description p { font-size:14px !important; line-height:1.45 !important; }
}
