/* JF marca — capa de estilo de la web nueva para WordPress (blog, casos, portafolio, artículos, páginas) */

/* ---------- Componentes: encabezado y pie ---------- */
.jfm, .jfm *{box-sizing:border-box}
.jfm{font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.jfm a{text-decoration:none}
.jfm-wrap{max-width:1240px;margin:0 auto;padding:0 28px}
.jfm-h{font-family:'Outfit',system-ui,sans-serif;font-weight:800;line-height:1.02}
.jfm-nav a{color:#E6EEF9;font-size:15.5px;font-weight:600;padding:10px 12px;border-radius:8px;display:inline-block;font-family:'Inter',system-ui,sans-serif;line-height:1.3}
.jfm-nav a:hover{color:#ffffff;background:#1B2F5C}
.jfm-foot a{color:#B9C8DF;font-size:15px;display:block;padding:6px 0;font-family:'Inter',system-ui,sans-serif;line-height:1.4}
.jfm-foot a:hover{color:#ffffff}
.jfm-foot p,.jfm-foot li,.jfm-foot div,.jfm-foot span{font-family:'Inter',system-ui,sans-serif}
.jfm-foot .jfm-social a{display:inline-block}
.jfm-foot ul{margin:0;padding:0}

/* ---------- Ocultar encabezado/pie antiguos y extras del tema ---------- */
body.jf-marca #rs-header,
body.jf-marca #rs-theme-toggle,
body.jf-marca footer#colophon,
body.jf-marca .rs-offcanvas-area,
body.jf-marca #rs-mouse,
body.jf-marca .rs-cursor{display:none!important}

/* ---------- Tipografía y colores globales ---------- */
body.jf-marca.elementor-kit-12, body.jf-marca{
  --e-global-color-primary:#0B1730;
  --e-global-color-secondary:#F5F8FC;
  --e-global-color-text:#3B4A63;
  --e-global-color-accent:#2F7FE0;
  --e-global-typography-primary-font-family:'Outfit';
  --e-global-typography-secondary-font-family:'Outfit';
  --e-global-typography-392b9e0-font-family:'Outfit';
  --e-global-typography-b2deeae-font-family:'Outfit';
  --e-global-typography-fb1a3e0-font-family:'Outfit';
  --e-global-typography-text-font-family:'Inter';
  --e-global-typography-accent-font-family:'Inter';
  --e-global-typography-c05b693-font-family:'Inter';
  --e-global-typography-6558fb1-font-family:'Inter';
  --e-global-typography-92bce3b-font-family:'Inter';
  --e-global-typography-397e168-font-family:'Inter';
  --e-global-typography-text-font-weight:400;
  background:#ffffff;
}
body.jf-marca #page, body.jf-marca #page p, body.jf-marca #page li, body.jf-marca #page td, body.jf-marca #page input, body.jf-marca #page textarea, body.jf-marca #page select, body.jf-marca #page label, body.jf-marca #page .elementor-widget-text-editor{
  font-family:'Inter',system-ui,sans-serif!important;color:#3B4A63}
body.jf-marca #page h1, body.jf-marca #page h2, body.jf-marca #page h3, body.jf-marca #page h4, body.jf-marca #page h5, body.jf-marca #page h6,
body.jf-marca #page .elementor-heading-title{
  font-family:'Outfit',system-ui,sans-serif!important;font-weight:800!important;letter-spacing:-.02em;color:#0B1730;text-transform:none}
body.jf-marca #page a{color:#1E5FB3}
body.jf-marca #page a:hover{color:#0B1730}
body.jf-marca #page h1 a, body.jf-marca #page h2 a, body.jf-marca #page h3 a, body.jf-marca #page h4 a{color:#0B1730}
body.jf-marca #page h1 a:hover, body.jf-marca #page h2 a:hover, body.jf-marca #page h3 a:hover, body.jf-marca #page h4 a:hover{color:#1E5FB3}
body.jf-marca ::selection{background:#BFD9FA;color:#0B1730}

/* ---------- Franja de título (antes foto + breadcrumb) ---------- */
body.jf-marca .header-breadcamb-fixer{background:#0B1730!important;padding:64px 0 56px;margin:0}
body.jf-marca .header-breadcamb-fixer .elementor-element,
body.jf-marca .header-breadcamb-fixer .e-con,
body.jf-marca .header-breadcamb-fixer .e-con-inner{background-image:none!important;background-color:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;min-height:0!important;margin-top:0!important}
body.jf-marca .header-breadcamb-fixer .elementor-element::before,
body.jf-marca .header-breadcamb-fixer .elementor-element::after,
body.jf-marca .header-breadcamb-fixer .elementor-background-overlay,
body.jf-marca .header-breadcamb-fixer .elementor-widget-image,
body.jf-marca .header-breadcamb-fixer img{display:none!important}
body.jf-marca .header-breadcamb-fixer > .elementor{max-width:1240px;margin:0 auto;padding:0 28px}
body.jf-marca .header-breadcamb-fixer h1, body.jf-marca .header-breadcamb-fixer .elementor-heading-title,
body.jf-marca .header-breadcamb-fixer .breadcrumbs-title{color:#ffffff!important;font-size:clamp(34px,4.6vw,58px)!important;line-height:1.05!important;margin:0 0 14px!important}
body.jf-marca .header-breadcamb-fixer, body.jf-marca .header-breadcamb-fixer span, body.jf-marca .header-breadcamb-fixer li, body.jf-marca .header-breadcamb-fixer p{color:#9FB2D1!important;font-family:'Inter',system-ui,sans-serif!important}
body.jf-marca .header-breadcamb-fixer a{color:#ffffff!important}
body.jf-marca .header-breadcamb-fixer [class*=breadcrumb], body.jf-marca .header-breadcamb-fixer nav{background:transparent!important;padding-left:0!important;border:0!important;box-shadow:none!important}

/* ---------- Contenedores ---------- */
body.jf-marca #rs-blog, body.jf-marca .rs-blog-details{padding-top:64px;padding-bottom:72px}
body.jf-marca #page > .container{padding-top:56px;padding-bottom:72px}

/* ---------- Tarjetas del blog / casos / portafolio ---------- */
body.jf-marca #content article, body.jf-marca #content .blog-item, body.jf-marca #content .rs-blog-grid .blog-item,
body.jf-marca .portfolio-item, body.jf-marca .rs-portfolio .portfolio-item{border-radius:14px;overflow:hidden}
body.jf-marca #rs-blog article, body.jf-marca #rs-blog .blog-item{border:1px solid #E3EAF4;background:#ffffff;box-shadow:none}
body.jf-marca #rs-blog article:hover, body.jf-marca #rs-blog .blog-item:hover{box-shadow:0 14px 40px rgba(11,23,48,.10)}
body.jf-marca #page [class*=cat], body.jf-marca #page .blog-meta .cat a, body.jf-marca #page .tag-line a, body.jf-marca #page .post-categories a{font-family:'Inter',system-ui,sans-serif}
body.jf-marca #content .bs-img a[rel=category], body.jf-marca #content .blog-img .category, body.jf-marca #content .bs-img .categories a, body.jf-marca #content .cat-list a{background:#2F7FE0!important;color:#ffffff!important;border-radius:6px}

/* ---------- Artículo ---------- */
body.jf-marca.single-post #content .blog-desc, body.jf-marca.single-post #content .entry-content, body.jf-marca.single-post #content article p{font-size:17.5px;line-height:1.75;color:#2B394F}
body.jf-marca.single-post #content article h2{font-size:clamp(26px,2.6vw,32px)!important;margin:36px 0 14px}
body.jf-marca.single-post #content article h3{font-size:clamp(21px,2vw,24px)!important;margin:28px 0 12px}
body.jf-marca #content blockquote{border-left:4px solid #2F7FE0!important;background:#F5F8FC!important;color:#0B1730!important;border-radius:0 10px 10px 0;padding:20px 26px!important;font-weight:600}
body.jf-marca #content blockquote p{color:#0B1730!important}
body.jf-marca #content .bs-img img, body.jf-marca #content article img{border-radius:14px}

/* ---------- Barra lateral ---------- */
body.jf-marca .sticky-sidebar .widget, body.jf-marca #secondary .widget, body.jf-marca .sidebar .widget{background:#F5F8FC!important;border:1px solid #E3EAF4;border-radius:14px!important;padding:26px!important;box-shadow:none!important}
body.jf-marca .widget-title, body.jf-marca .widget h2, body.jf-marca .widget .wp-block-heading{font-family:'Outfit',system-ui,sans-serif!important;font-weight:800!important;font-size:20px!important;color:#0B1730!important}
body.jf-marca .widget-title::before, body.jf-marca .widget-title::after{background:#2F7FE0!important}
body.jf-marca .widget a{color:#0B1730!important;font-weight:600}
body.jf-marca .widget a:hover{color:#1E5FB3!important}

/* ---------- Botones, formularios, paginación ---------- */
body.jf-marca #page .readon, body.jf-marca #page .wp-block-button__link, body.jf-marca #page .wp-element-button,
body.jf-marca #page input[type=submit], body.jf-marca #page button[type=submit], body.jf-marca #page .elementor-button{
  background:#2F7FE0!important;color:#ffffff!important;border:0!important;border-radius:8px!important;font-family:'Inter',system-ui,sans-serif!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important}
body.jf-marca #page .readon:hover, body.jf-marca #page .wp-block-button__link:hover, body.jf-marca #page input[type=submit]:hover, body.jf-marca #page .elementor-button:hover{background:#1E5FB3!important}
body.jf-marca #page .readon::before, body.jf-marca #page .readon::after{display:none!important}
body.jf-marca #page input[type=text], body.jf-marca #page input[type=email], body.jf-marca #page input[type=search], body.jf-marca #page input[type=tel], body.jf-marca #page input[type=url], body.jf-marca #page textarea, body.jf-marca #page select{
  border:2px solid #D9E2EF!important;border-radius:8px!important;background:#ffffff!important;box-shadow:none!important}
body.jf-marca #page input:focus, body.jf-marca #page textarea:focus{border-color:#2F7FE0!important;outline:none}
body.jf-marca .pagination a, body.jf-marca .pagination span, body.jf-marca .page-numbers{border-radius:8px!important;font-family:'Inter',system-ui,sans-serif!important;font-weight:700}
body.jf-marca .page-numbers.current, body.jf-marca .pagination .current{background:#2F7FE0!important;color:#ffffff!important;border-color:#2F7FE0!important}
body.jf-marca #page .scrollup, body.jf-marca #scrollUp, body.jf-marca .progress-wrap{background:#2F7FE0!important}

/* ---------- Móvil ---------- */
@media (max-width:720px){
  .jfm-wrap{padding:0 20px}
  .jfm-topbar{font-size:13.5px!important;padding:8px 14px!important}
  .jfm-header .jfm-wrap{min-height:0!important;padding-top:14px;padding-bottom:4px;gap:6px!important}
  .jfm-header .jfm-h{font-size:17px!important;letter-spacing:.1em!important}
  .jfm-nav{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:0!important;margin:0 -20px!important;padding:0 12px 8px;width:calc(100% + 40px)!important}
  .jfm-nav::-webkit-scrollbar{display:none}
  .jfm-nav a{white-space:nowrap;padding:8px 10px!important}
  body.jf-marca .header-breadcamb-fixer{padding:40px 0 36px}
  body.jf-marca .header-breadcamb-fixer > .elementor{padding:0 20px}
  body.jf-marca #rs-blog, body.jf-marca .rs-blog-details{padding-top:40px;padding-bottom:48px}
}

/* ---------- Ajuste franja de título v2 ---------- */
body.jf-marca .header-breadcamb-fixer .elementor-element,
body.jf-marca .header-breadcamb-fixer .e-con,
body.jf-marca .header-breadcamb-fixer .e-con-inner{padding:0!important;max-width:none!important;width:100%!important;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--min-height:0px;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}
body.jf-marca .header-breadcamb-fixer *{border:0!important;border-radius:0!important}
body.jf-marca .header-breadcamb-fixer ul, body.jf-marca .header-breadcamb-fixer ol, body.jf-marca .header-breadcamb-fixer [class*=breadcrumb]{padding:0!important;margin:0!important}
body.jf-marca .header-breadcamb-fixer .elementor-widget{margin-bottom:0!important}

/* ---------- Ajustes v3: etiquetas, buscador, espacios ---------- */
body.jf-marca #page .btm-cate{background:#2F7FE0!important;border-radius:6px!important}
body.jf-marca #page .btm-cate, body.jf-marca #page .btm-cate a, body.jf-marca #page .btm-cate li, body.jf-marca #page .tag-line, body.jf-marca #page .tag-line a{color:#ffffff!important;font-weight:700!important;font-size:13px!important;letter-spacing:.02em}
body.jf-marca #page .wp-block-search__inside-wrapper{display:flex;gap:8px;border:0!important;padding:0!important;background:transparent!important}
body.jf-marca #page .wp-block-search__input{min-height:46px;padding:0 14px!important;font-size:15px}
body.jf-marca #page .wp-block-search__button{min-height:46px;padding:0 18px!important;margin:0!important;width:auto!important;font-size:14px!important;line-height:1!important;white-space:nowrap}
body.jf-marca #rs-blog{padding-top:48px!important}
body.jf-marca #rs-blog #content > .row{padding-top:0!important;margin-top:0!important}
body.jf-marca .header-breadcamb-fixer li::before, body.jf-marca .header-breadcamb-fixer span::before{color:#5AA0F2!important}
body.jf-marca .header-breadcamb-fixer ul li:first-child, body.jf-marca .header-breadcamb-fixer a:first-child{padding-left:0!important;margin-left:0!important}

/* ---------- Ajustes v4: botón de tarjetas y asistente flotante ---------- */
body.jf-marca #page .blog-button a, body.jf-marca #page .blog-button a *{color:#ffffff!important}
body.jf-marca #page .blog-button a{background:#2F7FE0!important;border-radius:8px!important;font-family:'Inter',system-ui,sans-serif!important;font-weight:700!important;font-size:15px!important;padding:12px 20px!important;display:inline-flex;align-items:center;gap:8px;text-transform:none!important;border:0!important}
body.jf-marca #page .blog-button a:hover{background:#1E5FB3!important}
body.jf-marca #page .blog-button a::before, body.jf-marca #page .blog-button a::after{background:transparent!important}
.kodee-fab__inner{background:#2F7FE0!important}
.kodee-fab__border{background:transparent!important}

/* ---------- Ajustes v5: artículo (banner destacado y espacios) ---------- */
body.jf-marca #page > .container{padding-top:48px!important}
body.jf-marca #page > .container > #content{padding-top:0!important}
body.jf-marca .rs-blog-details{padding-top:0!important}
body.jf-marca.single-post .rs-blog-details .bs-img{display:block!important;margin:0 0 40px!important;border-radius:16px;overflow:hidden}
body.jf-marca.single-post .rs-blog-details .bs-img img{width:100%;height:auto;max-height:520px;object-fit:cover;display:block;border-radius:16px}
@media (max-width:720px){
  body.jf-marca #page > .container{padding-top:28px!important}
  body.jf-marca.single-post .rs-blog-details .bs-img{margin-bottom:24px!important}
}

/* ---------- Ajustes v6: franjas de título en plantillas Elementor (portafolio y otras) ---------- */
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title){background:#0B1730!important;padding:64px 28px 56px!important;margin:0!important;min-height:0!important;--min-height:0px;border-radius:0!important;box-shadow:none!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .e-con, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .e-con-inner, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-element{background-image:none!important;background-color:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;min-height:0!important;--min-height:0px;padding:0!important;margin:0!important;max-width:none!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) > .e-con-inner, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) > .e-con{max-width:1184px!important;margin:0 auto!important;width:100%!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title)::before, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title)::after, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-element::before, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-element::after, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-background-overlay, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) img, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-widget-image{display:none!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) *{border:0!important;border-radius:0!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) h1, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) .elementor-heading-title{color:#ffffff!important;font-size:clamp(34px,4.6vw,58px)!important;line-height:1.05!important;margin:0 0 14px!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) span, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) li, body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) p{color:#9FB2D1!important;font-family:'Inter',system-ui,sans-serif!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) a{color:#ffffff!important}
body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title) [class*=breadcrumb]{background:transparent!important;padding:0!important;box-shadow:none!important}
@media (max-width:720px){ body.jf-marca #page > .elementor > .e-con:first-child:has(.hfe-page-title){padding:40px 20px 36px!important} }
