/* Blog y noticias de newfront (Digital Hype Pro, 2026-11-09). Lo carga inc/ul-blog.php. */
.ulb {
	--ulb-azul: #006D83;
	--ulb-azul-medio: #1F9AB8;
	--ulb-azul-claro: #80D3E4;
	--ulb-noche: #003D4D;
	--ulb-verde: #004131;
	--ulb-naranja: #F99051;
	--ulb-naranja-hover: #E87D3C;
	--ulb-texto: #334155;
	--ulb-suave: #64748B;
	--ulb-linea: #E2E8F0;
	--ulb-fondo: #F6F9FA;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ulb-texto);
}
.ulb *, .ulb *::before, .ulb *::after { box-sizing: border-box; }
.ulb a { text-decoration: none; }
.ulb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Piezas comunes */
.ulb-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .72rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--ulb-azul-claro); }
.ulb-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--ulb-naranja); border-radius: 2px; }
.ulb-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #E6F2F4; color: var(--ulb-azul); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.ulb-chip--light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.ulb-chip--float { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.ulb-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: .8rem; font-weight: 500; color: var(--ulb-suave); }
.ulb-meta span::before { content: '·'; margin-right: 14px; }
.ulb-meta--light { color: rgba(255,255,255,.82); }
.ulb-more { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--ulb-azul) !important; }
.ulb-more:hover { color: var(--ulb-naranja-hover) !important; }
.ulb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--ulb-azul); color: #fff !important; font-weight: 700; font-size: .92rem; transition: background .25s, transform .25s; }
.ulb-btn:hover { background: var(--ulb-noche); transform: translateY(-1px); }
.ulb-btn--orange { background: var(--ulb-naranja); }
.ulb-btn--orange:hover { background: var(--ulb-naranja-hover); }
.ulb-btn--ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); }
.ulb-btn--ghost:hover { background: rgba(255,255,255,.12); }
.ulb-noimg { display: block; width: 100%; height: 100%; min-height: 180px; background: linear-gradient(135deg, var(--ulb-noche), var(--ulb-azul) 60%, var(--ulb-azul-medio)); }

/* Listado: encabezado */
.ulb-lhero { position: relative; overflow: hidden; padding: 72px 0 88px; background: radial-gradient(circle at 85% 20%, rgba(128,211,228,.22), transparent 45%), linear-gradient(135deg, var(--ulb-noche) 0%, var(--ulb-azul) 70%, #0B819A 100%); color: #fff; }
.ulb-lhero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.ulb-lhero .ulb-wrap { position: relative; z-index: 1; }
.ulb-lhero__t { margin: 0 0 12px; color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ulb-lhero__p { max-width: 620px; margin: 0 0 28px; color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.6; }
.ulb-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.ulb-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; color: #fff !important; font-weight: 700; font-size: .88rem; }
.ulb-tabs a.is-on { background: #fff; color: var(--ulb-azul) !important; }
.ulb-tabs a:not(.is-on):hover { background: rgba(255,255,255,.14); }

/* Listado: destacado y rejilla */
.ulb-list { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 72px; }
.ulb-feat { display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; margin-bottom: 40px; border-radius: 22px; background: #fff; border: 1px solid var(--ulb-linea); box-shadow: 0 18px 50px rgba(0,61,77,.12); }
.ulb-feat__media { position: relative; display: block; min-height: 360px; overflow: hidden; }
.ulb-feat__media img, .ulb-feat__media .ulb-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ulb-feat:hover .ulb-feat__media img { transform: scale(1.04); }
.ulb-feat__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px 40px 36px; }
.ulb-new { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ulb-naranja-hover); }
.ulb-feat__body .ulb-chip + .ulb-new { margin-top: -6px; }
.ulb-feat__t { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
.ulb-feat__t a { color: #0F172A !important; }
.ulb-feat__t a:hover { color: var(--ulb-azul) !important; }
.ulb-feat__x { margin: 0; color: var(--ulb-texto); font-size: .98rem; line-height: 1.65; }
.ulb-feat .ulb-btn { margin-top: 6px; }

.ulb-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.ulb-grid > .ulb-card { grid-column: span 2; }
/* Filas completas: con 2, 5, 8… tarjetas las dos primeras van a media fila; con 4, 7… las cuatro primeras */
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+2),
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+2) + .ulb-card,
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+4),
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+4) + .ulb-card,
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+4) + .ulb-card + .ulb-card,
.ulb-grid > .ulb-card:first-child:nth-last-child(3n+4) + .ulb-card + .ulb-card + .ulb-card { grid-column: span 3; }
.ulb-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--ulb-linea); box-shadow: 0 6px 22px rgba(0,61,77,.06); transition: transform .3s ease, box-shadow .3s ease; }
.ulb-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,61,77,.13); }
.ulb-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ulb-fondo); }
.ulb-card__media img, .ulb-card__media .ulb-noimg { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .6s ease; }
.ulb-card:hover .ulb-card__media img { transform: scale(1.05); }
.ulb-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.ulb-card__t { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ulb-card__t a { color: #0F172A !important; }
.ulb-card__t a:hover { color: var(--ulb-azul) !important; }
.ulb-card__x { flex: 1; margin: 0; color: var(--ulb-suave); font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ulb-pag { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.ulb-pag a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ulb-linea); background: #fff; color: var(--ulb-azul) !important; font-weight: 700; }
.ulb-pag a.is-on { background: var(--ulb-azul); border-color: var(--ulb-azul); color: #fff !important; }
.ulb-empty { padding: 48px 0; text-align: center; color: var(--ulb-suave); }

/* Entrada: encabezado */
.ulb-hero { position: relative; overflow: hidden; padding: 56px 24px 64px; background: radial-gradient(circle at 88% 10%, rgba(128,211,228,.25), transparent 42%), linear-gradient(135deg, var(--ulb-noche) 0%, var(--ulb-azul) 75%, #0B819A 100%); color: #fff; }
.ulb-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.ulb-hero.has-cover { padding-bottom: 150px; }
.ulb-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 900px; margin: 0 auto; }
.ulb-bc { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7); }
.ulb-bc a { color: rgba(255,255,255,.85) !important; }
.ulb-bc a:hover { color: #fff !important; }
.ulb-hero__t { margin: 0; color: #fff; font-size: clamp(1.75rem, 4.2vw, 2.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.ulb-cover { position: relative; z-index: 2; max-width: 980px; margin: -110px auto 0; padding: 0 24px; }
.ulb-cover img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,61,77,.25); }

/* Entrada: cuerpo (las secciones de Elementor entre el header y el footer) */
body.ulb-single .elementor-section > .elementor-container { max-width: 780px !important; margin: 0 auto; padding: 0 24px; }
body.ulb-single .elementor-section { padding: 0; }
body.ulb-single .elementor-section:first-of-type { padding-top: 48px; }
body.ulb-single .elementor-section .elementor-widget { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #334155; font-size: 1.07rem; line-height: 1.8; }
body.ulb-single .elementor-section .elementor-widget p { margin: 0 0 1.25em; }
body.ulb-single .elementor-section .elementor-widget :is(h1, h2) { margin: 1.9em 0 .6em; color: #003D4D; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
body.ulb-single .elementor-section .elementor-widget h3 { margin: 1.6em 0 .5em; color: #006D83; font-size: clamp(1.15rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.35; }
body.ulb-single .elementor-section .elementor-widget h4 { margin: 1.4em 0 .4em; color: #003D4D; font-size: 1.08rem; font-weight: 700; }
body.ulb-single .elementor-section .elementor-widget :is(ul, ol) { margin: 0 0 1.3em; padding-left: 1.3em; }
body.ulb-single .elementor-section .elementor-widget li { margin: 0 0 .5em; }
body.ulb-single .elementor-section .elementor-widget li::marker { color: #F99051; }
body.ulb-single .elementor-section .elementor-widget a:not(.ulb-btn) { color: #006D83; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0,109,131,.35); text-underline-offset: 3px; }
body.ulb-single .elementor-section .elementor-widget a:not(.ulb-btn):hover { color: #E87D3C; }
body.ulb-single .elementor-section .elementor-widget img { max-width: 100%; height: auto; border-radius: 16px; }
body.ulb-single .elementor-section .elementor-widget figure { margin: 1.8em 0; }
body.ulb-single .elementor-section .elementor-widget figcaption { margin-top: 8px; font-size: .85rem; color: #64748B; text-align: center; }
body.ulb-single .elementor-section .elementor-widget blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid #F99051; border-radius: 0 14px 14px 0; background: #F6F9FA; font-style: italic; }
body.ulb-single .elementor-section .elementor-widget table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: .95rem; }
body.ulb-single .elementor-section .elementor-widget :is(th, td) { padding: 10px 12px; border: 1px solid #E2E8F0; }
body.ulb-single .elementor-section .elementor-widget article > header { display: contents; }
body.ulb-single .elementor-widget-video { margin: 8px 0 32px; border-radius: 16px; overflow: hidden; }
.ulb-cta { margin: 2.2em 0 0; padding: 28px 30px; border-radius: 18px; background: #F2F8F9; border-left: 5px solid #F99051; }
.ulb-cta p:last-of-type { margin-bottom: 18px !important; }
body.ulb-single .elementor-widget .ulb-cta a.ulb-btn { text-decoration: none; background: #F99051; color: #fff !important; font-weight: 700; }
body.ulb-single .elementor-widget .ulb-cta a.ulb-btn:hover { background: #E87D3C; }

/* Entrada: cierre */
.ulb-art-end { margin-top: 24px; }
.ulb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 780px; margin: 0 auto 56px; padding: 22px 24px 0; border-top: 1px solid var(--ulb-linea); }
.ulb-share span { margin-right: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ulb-suave); }
.ulb-share a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ulb-linea); background: #fff; color: var(--ulb-azul) !important; font-size: .82rem; font-weight: 700; transition: border-color .2s, background .2s; }
.ulb-share a:hover { border-color: var(--ulb-azul); background: #E6F2F4; }
.ulb-related { padding: 56px 0 64px; background: var(--ulb-fondo); }
.ulb-related__hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; }
.ulb-related__hd h2 { margin: 0; color: #0F172A; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; }
.ulb-band { padding: 56px 0; background: linear-gradient(120deg, var(--ulb-verde) 0%, var(--ulb-noche) 45%, var(--ulb-azul) 100%); color: #fff; }
.ulb-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.ulb-band h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.2; }
.ulb-band p:not(.ulb-eyebrow) { max-width: 600px; margin: 0; color: rgba(255,255,255,.85); line-height: 1.6; }
.ulb-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1024px) {
	.ulb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.ulb-grid > .ulb-card { grid-column: auto !important; }
	.ulb-feat { grid-template-columns: 1fr; }
	.ulb-feat__media { min-height: 0; aspect-ratio: 16 / 9; }
	.ulb-feat__body { padding: 28px 28px 30px; }
}
@media (max-width: 640px) {
	.ulb-wrap { padding: 0 16px; }
	.ulb-lhero { padding: 48px 0 72px; }
	.ulb-tabs { display: flex; width: 100%; }
	.ulb-tabs a { flex: 1; justify-content: center; padding: 0 10px; }
	.ulb-grid { grid-template-columns: 1fr; }
	.ulb-feat { margin-bottom: 28px; border-radius: 18px; }
	.ulb-feat__body { padding: 22px 20px 24px; }
	.ulb-hero { padding: 40px 16px 48px; }
	.ulb-hero.has-cover { padding-bottom: 96px; }
	.ulb-cover { margin-top: -72px; padding: 0 16px; }
	.ulb-cover img { border-radius: 16px; }
	body.ulb-single .elementor-section > .elementor-container { padding: 0 16px; }
	body.ulb-single .elementor-section:first-of-type { padding-top: 32px; }
	body.ulb-single .elementor-section .elementor-widget { font-size: 1.02rem; }
	.ulb-share { padding: 20px 16px 0; margin-bottom: 40px; }
	.ulb-cta { padding: 22px 20px; }
	.ulb-band__btns, .ulb-band__btns .ulb-btn { width: 100%; }
	.ulb-cta .ulb-btn { display: flex; width: 100%; text-align: center; }
}
