/* Diseño aislado del tema; UI original adaptada de tst-single-layout. */
.wsm-header,.wsm-footer{font-family:"WSM Roboto",Arial,sans-serif;box-sizing:border-box;color:var(--wsm-text)}
.wsm-header *,.wsm-footer *{box-sizing:border-box}.wsm-header{position:relative;z-index:100;background:var(--wsm-header-bg);box-shadow:0 2px 20px rgba(25,32,50,.025)}
.wsm-header-inner{max-width:var(--wsm-max);height:93px;margin:auto;padding:0 20px;display:flex;gap:22px;align-items:center;justify-content:space-between;position:relative}
.wsm-brand{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none;color:var(--wsm-text);font-size:22px;font-weight:700}.wsm-brand img{height:50px;width:auto;max-width:220px;object-fit:contain}
.wsm-nav{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;border-radius:100px;padding:5px 12px;box-shadow:0 5px 35px rgba(29,37,54,.09);max-width:calc(100% - 270px);background:#fff}
.wsm-nav a.wsm-menu-link{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:7px 16px;border-radius:100px;color:#242424;text-decoration:none;font-size:15px;font-weight:700;white-space:nowrap;line-height:1.3}
.wsm-nav a.wsm-menu-link:hover,.wsm-nav a.wsm-menu-link:focus-visible{background:var(--wsm-nav-hover-bg);color:var(--wsm-accent)}
.wsm-nav a.wsm-menu-link.is-active{background:var(--wsm-accent);color:#fff}
.wsm-menu-toggle,.wsm-backdrop,.wsm-mobile-top,.wsm-social-mobile,.wsm-mobile-banner{display:none}
.wsm-social{align-items:center;gap:12px}.wsm-social-desktop{display:flex}.wsm-social-link{display:inline-flex;align-items:center;justify-content:center;color:var(--wsm-text);text-decoration:none;gap:10px}.wsm-social-link svg{height:20px;width:20px}
.wsm-footer{background:var(--wsm-footer-bg);padding-top:70px}.wsm-footer-inner{max-width:var(--wsm-max);padding:0 20px 55px;margin:auto;display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:36px}
.wsm-footer-brand p{color:#4f5663;line-height:1.65;font-size:14px;max-width:265px}.wsm-footer-brand .wsm-social{margin-top:18px}
.wsm-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.wsm-footer-col h2{font-size:18px;font-weight:500;margin:0 0 12px}.wsm-footer-col a,.wsm-footer-bottom a{font-size:14px;color:var(--wsm-text);text-decoration:none}.wsm-footer-col a:hover,.wsm-footer-bottom a:hover{color:var(--wsm-accent)}
.wsm-footer-bottom{max-width:var(--wsm-max);margin:auto;padding:20px;display:flex;justify-content:space-between;gap:25px;font-size:12px;color:#5f6673}.wsm-footer-bottom nav{display:flex;flex-wrap:wrap;gap:20px}.wsm-footer-bottom a{font-size:12px}
.wsm-menu-toggle svg,.wsm-menu-close svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:1050px){
.wsm-header-inner{height:76px}.wsm-header .wsm-brand img{height:44px}.wsm-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;border:0;border-radius:5px;padding:8px;background:transparent;color:#111;cursor:pointer}
.wsm-backdrop{display:block;position:fixed;inset:0;width:100vw;height:100vh;padding:0;margin:0;border:0;border-radius:0;background:rgba(0,0,0,.78);opacity:0;visibility:hidden;pointer-events:none;z-index:100001;transition:opacity .25s,visibility .25s}
.wsm-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
.wsm-nav{display:flex;position:fixed;top:0;right:0;left:auto;bottom:0;transform:translateX(105%);width:min(335px,88vw);max-width:none;height:100vh;height:100dvh;overflow:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;border-radius:22px 0 0 0;background:var(--wsm-panel-bg);padding:0 18px 32px;z-index:100002;visibility:hidden;transition:transform .25s,visibility .25s}
.wsm-nav.is-open{transform:translateX(0);visibility:visible}
.wsm-mobile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:25px 0 30px}.wsm-mobile-top .wsm-brand img{max-width:160px;height:38px}
.wsm-menu-close{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#777;padding:8px;cursor:pointer}
.wsm-nav a.wsm-menu-link{display:flex;width:100%;min-height:55px;padding:14px 12px;border-radius:0;border-bottom:1px solid #f0f0f0;text-align:center;white-space:normal;font-size:14px;font-weight:500;flex-shrink:0}
.wsm-nav a.wsm-menu-link.is-active{background:var(--wsm-mobile-active-bg);color:var(--wsm-mobile-active-text)}.wsm-header-inner>.wsm-social-desktop{display:none}
.wsm-social-mobile{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;margin-top:25px}.wsm-social-mobile .wsm-social-link{font-size:13px}
.wsm-mobile-banner{display:block;margin-top:20px}.wsm-mobile-banner img{display:block;max-width:100%;height:auto;border-radius:10px;margin:auto}
body.wsm-menu-open{overflow:hidden}
}
@media(max-width:780px){.wsm-header-inner{height:65px}.wsm-footer{padding-top:50px}.wsm-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.wsm-footer-bottom{flex-direction:column;gap:12px}}
@media(max-width:460px){.wsm-footer-brand{grid-column:1/-1}.wsm-footer-inner{gap:25px 16px}.wsm-footer-col h2{font-size:16px}.wsm-footer-col a{font-size:13px}}

/* Integración con Hello Elementor: solo reemplaza elementos del tema, nunca el contenido. */
body.wsm-replace-theme-header header#site-header,
body.wsm-replace-theme-header .site-header:not(.wsm-header),
body.wsm-replace-theme-footer footer#site-footer,
body.wsm-replace-theme-footer .site-footer:not(.wsm-footer){display:none!important}
/* El tema puede aplicar borde/outline/fondo a los botones y anchors genéricos. */
.wsm-header .wsm-menu-toggle,.wsm-header .wsm-menu-close,.wsm-header .wsm-backdrop{
 appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important;outline-offset:3px;
 border:0!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important;
}
.wsm-header .wsm-menu-toggle:hover,.wsm-header .wsm-menu-toggle:active,.wsm-header .wsm-menu-toggle:focus{
 background:var(--wsm-burger-bg)!important;color:var(--wsm-burger-text)!important;border:0!important;
}
.wsm-header .wsm-menu-toggle{background:var(--wsm-burger-bg)!important;color:var(--wsm-burger-text)!important;border-radius:5px!important}
.wsm-header .wsm-menu-close,.wsm-header .wsm-menu-close:hover,.wsm-header .wsm-menu-close:focus{
 background:transparent!important;color:var(--wsm-text)!important;border:0!important;
}
.wsm-header .wsm-backdrop,.wsm-header .wsm-backdrop:hover,.wsm-header .wsm-backdrop:focus{background:rgba(0,0,0,.65)!important}
.wsm-header .wsm-nav a.wsm-menu-link{border:0!important;box-shadow:none!important;outline-offset:3px;text-decoration:none!important}
.wsm-header .wsm-nav a.wsm-menu-link.is-active{background:var(--wsm-accent)!important;color:#fff!important}
.wsm-header .wsm-nav a.wsm-menu-link:not(.is-active):hover{background:var(--wsm-nav-hover-bg)!important;color:var(--wsm-accent)!important}
.wsm-header .wsm-brand,.wsm-header .wsm-brand:hover{border:0!important;text-decoration:none!important}
.wsm-footer a:not(.wsm-brand){color:var(--wsm-footer-link)}
.wsm-footer a:not(.wsm-brand):hover{color:var(--wsm-accent)}
/* Enlaces exclusivamente dentro del contenido, sin alterar nav/footer/controles del tema. */
body .entry-content a:not(.elementor-button),
body .page-content a:not(.elementor-button),
body .site-main .post-content a:not(.elementor-button){color:var(--wsm-link)}
body .entry-content a:not(.elementor-button):hover,
body .page-content a:not(.elementor-button):hover,
body .site-main .post-content a:not(.elementor-button):hover{color:var(--wsm-link-hover)}
@media(max-width:1050px){
.wsm-header .wsm-nav a.wsm-menu-link{border-bottom:1px solid #eee!important}
.wsm-header .wsm-nav a.wsm-menu-link.is-active{background:var(--wsm-mobile-active-bg)!important;color:var(--wsm-mobile-active-text)!important}
.wsm-header .wsm-menu-toggle{display:inline-flex!important}
}
@media(min-width:1051px){.wsm-header .wsm-menu-toggle{display:none!important}}

/* Portada: bloque superior editable desde la propia página de WordPress */
.wsm-home-hero{background:#f4f4ff;text-align:center;padding:72px 20px 66px;font-family:"WSM Roboto",Arial,sans-serif}.wsm-home-hero-inner{max-width:850px;margin:auto}.wsm-home-hero h1{font-size:clamp(27px,3vw,40px);line-height:1.17;font-weight:700;color:var(--wsm-text);margin:0 0 26px}.wsm-home-hero p{margin:0 auto;max-width:570px;font-size:15px;line-height:1.7;color:#7e8592}.wsm-footer-countries{max-width:var(--wsm-max);padding:6px 20px 25px;margin:auto}.wsm-footer-countries strong{font-size:14px;font-weight:600;display:block;margin-bottom:13px}.wsm-footer-countries nav{display:flex;flex-wrap:wrap;gap:10px 20px}.wsm-footer-countries a{font-size:13px;color:var(--wsm-footer-link);text-decoration:none}.wsm-footer-countries a:hover{color:var(--wsm-accent)}
/* Dropdown independiente, evita estilos de botón heredados de Hello Elementor */
.wsm-header .wsm-dropdown{position:relative;display:flex;align-items:center;border-radius:30px;padding-right:7px}.wsm-header .wsm-dropdown-main{font-size:15px;font-weight:700;color:var(--wsm-text);text-decoration:none;padding:10px 4px 10px 16px;white-space:nowrap}.wsm-header .wsm-dropdown.is-current{background:var(--wsm-nav-hover-bg)}.wsm-header .wsm-dropdown-toggle,.wsm-header .wsm-dropdown-toggle:hover,.wsm-header .wsm-dropdown-toggle:focus{display:inline-flex;align-items:center;justify-content:center;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--wsm-text)!important;padding:6px!important;border-radius:50%;cursor:pointer}.wsm-header .wsm-dropdown-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.wsm-header .wsm-dropdown-items{display:none;position:absolute;z-index:10001;top:100%;left:0;width:245px;padding:9px;background:var(--wsm-header-bg);border-radius:12px;box-shadow:0 12px 35px rgba(10,20,45,.13)}.wsm-header .wsm-dropdown.is-expanded .wsm-dropdown-items,.wsm-header .wsm-dropdown:hover .wsm-dropdown-items,.wsm-header .wsm-dropdown:focus-within .wsm-dropdown-items{display:flex;flex-direction:column}.wsm-header .wsm-dropdown-item{display:block;padding:10px 12px;font-size:13px;line-height:1.35;text-decoration:none!important;color:var(--wsm-text)!important;border-radius:6px}.wsm-header .wsm-dropdown-item:hover{background:var(--wsm-nav-hover-bg);color:var(--wsm-accent)!important}
@media(max-width:1050px){.wsm-header .wsm-dropdown{width:100%;display:grid;grid-template-columns:1fr 48px;border-bottom:1px solid #eee;border-radius:0;padding:0}.wsm-header .wsm-dropdown-main{padding:17px 12px;text-align:center;font-size:14px;font-weight:500}.wsm-header .wsm-dropdown-toggle{width:44px;height:48px}.wsm-header .wsm-dropdown-items{position:static;box-shadow:none!important;width:100%;grid-column:1/-1;border-radius:0;background:var(--wsm-panel-bg);padding:0 0 8px}.wsm-header .wsm-dropdown:hover .wsm-dropdown-items,.wsm-header .wsm-dropdown:focus-within .wsm-dropdown-items{display:none}.wsm-header .wsm-dropdown.is-expanded .wsm-dropdown-items{display:flex}.wsm-header .wsm-dropdown-item{font-size:13px;padding:12px 16px;text-align:center}.wsm-home-hero{padding:45px 18px}}

/* v0.4.0 — Footer de cuatro bloques, referencia Bolsa de Predicciones */
.wsm-footer-col h2{font-family:"WSM Roboto",Arial,sans-serif!important;font-size:20px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:normal!important;color:var(--wsm-text)!important;margin:0 0 11px!important}
.wsm-footer-col a{font-family:"WSM Roboto",Arial,sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:1.65!important;letter-spacing:normal!important;text-decoration:none!important}
.wsm-footer-inner{grid-template-columns:1.4fr repeat(3,minmax(0,1fr));column-gap:52px;padding-bottom:60px}
.wsm-footer-col{gap:12px}.wsm-footer-brand p{font-size:15px;line-height:1.5;max-width:300px;margin:18px 0}
.wsm-footer-bottom{justify-content:center;text-align:center;padding:25px 20px 20px}.wsm-footer-bottom nav{justify-content:center}
/* Ajuste vertical del hero: sin subtítulo no deja márgenes ni altura reservada */
.wsm-home-hero h1{margin-bottom:0}.wsm-home-hero h1:has(+ .wsm-hero-subtitle){margin-bottom:26px}
.wsm-home-hero .wsm-hero-subtitle{margin:0 auto}
@media(max-width:780px){.wsm-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.wsm-footer-col h2{font-size:20px!important}.wsm-footer-col a{font-size:15px!important}}
@media(max-width:460px){.wsm-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}.wsm-footer-col h2{font-size:20px!important}.wsm-footer-col a{font-size:15px!important}}

/* v0.5.0 – espacio contenido sin afectar la cabecera */
body.wsm-has-page-hero .site-main{padding-top:35px!important}
body.wsm-has-page-hero .site-main > article:first-child{margin-top:0}
body.wsm-has-page-hero .site-main .entry-title,body.wsm-has-page-hero .site-main .page-header,body.wsm-has-page-hero .site-main article.page > .entry-header{display:none!important}
@media(max-width:767px){body.wsm-has-page-hero .site-main{padding-top:24px!important}}

/* v0.7: títulos semánticos no jerárquicos de footer */
.wsm-footer-col .wsm-footer-heading{font-family:"WSM Roboto",Arial,sans-serif!important;font-size:20px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:normal!important;color:var(--wsm-text)!important;margin:0 0 11px!important}
/* v0.10.2: estado activo exacto dentro del desplegable */
.wsm-header .wsm-dropdown-item.is-active{background:var(--wsm-nav-hover-bg);color:var(--wsm-accent)!important;font-weight:600}
