/*
Theme Name: Todo al Día TECH 2.2
Theme URI: https://todoaldia.gftrackapk.site/
Author: Diseño Editorial
Description: Tema tecnológico 100% editable para WordPress: tecnología, soluciones móviles, noticias y tutoriales. Incluye patrones, imágenes locales, editor completo del sitio y ajustes avanzados del logo móvil.
Version: 2.3.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: todoaldia-tech-v2
Tags: block-patterns, full-site-editing, custom-logo, featured-images, editor-style, wide-blocks
*/
:root{--td-navy:#10224a;--td-ink:#142344;--td-muted:#69768e;--td-turquoise:#00b8a8;--td-cream:#f6f8fc;--td-border:#e6ebf2;--td-content:1190px;--td-logo-desktop:170px;--td-logo-mobile:128px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--td-cream);color:var(--td-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--td-turquoise)}button,input{font:inherit}img{max-width:100%;height:auto}h1,h2,h3,h4,p{overflow-wrap:break-word}h1,h2,h3{letter-spacing:-.035em}h1{line-height:1.09}h2{line-height:1.15}p{line-height:1.65}.has-global-padding{padding-right:clamp(18px,4vw,44px)!important;padding-left:clamp(18px,4vw,44px)!important}.wp-site-blocks{overflow:hidden}
.td-topline{background:#0d1b3c;color:#d8e7ff;padding:8px 0;font-size:12px;font-weight:650}.td-topline .wp-block-group{max-width:var(--td-content);margin:auto;display:flex;justify-content:space-between;gap:20px}.td-topline p{margin:0}.td-header-shell{background:#fff;border-bottom:1px solid #e9edf3;position:relative;z-index:8}.td-header-shell>.wp-block-group{max-width:var(--td-content);margin:auto;min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:28px}.td-brand .wp-block-site-title{font-weight:900;letter-spacing:-.06em;font-size:28px;line-height:1;margin:0}.td-brand .wp-block-site-title a{color:#10234a}.td-brand .wp-block-site-logo{margin:0;width:var(--td-logo-desktop);max-width:var(--td-logo-desktop)}.td-brand .wp-block-site-logo img{width:var(--td-logo-desktop)!important;max-width:var(--td-logo-desktop)!important;height:auto}.td-brandline{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#8996aa;margin:5px 0 0}.td-header-shell .wp-block-navigation{font-size:13px;font-weight:750;gap:24px}.td-header-shell .wp-block-navigation a:hover{color:var(--td-turquoise)}.td-header-tools{border-left:1px solid var(--td-border);padding-left:20px}.td-header-tools .wp-block-search{max-width:180px}.td-header-tools .wp-block-search__inside-wrapper{border:1px solid #dfe6f0;border-radius:13px;background:#f7f9fc;overflow:hidden}.td-header-tools .wp-block-search__input{width:130px;min-width:0;border:0!important;background:transparent;padding:9px 10px}.td-header-tools .wp-block-search__button{padding:8px 10px;background:transparent;color:var(--td-navy);border:0}.td-header-shell .wp-block-navigation__responsive-container.is-menu-open{background:#fff;color:var(--td-ink);padding:24px}
.td-hero{max-width:var(--td-content);margin:31px auto 0;border-radius:25px;background:radial-gradient(circle at 85% 13%,#244478 0,#0e2350 42%,#0b1735 100%);color:#fff;min-height:460px;overflow:hidden;position:relative;box-shadow:0 24px 60px rgba(10,30,73,.13)}.td-hero:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.075);border-radius:50%;right:-70px;bottom:-240px;pointer-events:none}.td-hero>.wp-block-columns{min-height:460px;margin:0;align-items:center;padding:20px 26px 10px 57px;gap:0;position:relative}.td-hero .td-hero-content{position:relative;z-index:2;flex-basis:58%}.td-hero .td-hero-art{align-self:end;flex-basis:42%;height:450px;position:relative;z-index:1;display:flex;align-items:end;justify-content:end}.td-hero .td-hero-art figure{margin:0;width:110%;max-width:570px;margin-right:-20px}.td-hero .td-hero-art img{display:block;width:100%;height:445px;object-fit:contain;object-position:center bottom}.td-eyebrow{font-size:11px!important;letter-spacing:.15em;font-weight:850!important;color:#4ae2ce!important;text-transform:uppercase;margin:0 0 19px!important}.td-hero h1{font-size:clamp(39px,4.6vw,63px)!important;color:#fff!important;font-weight:900;max-width:650px;line-height:1.08;letter-spacing:-.06em;margin:0 0 19px}.td-hero h1 em{color:#5fe8d8;font-style:normal}.td-hero-lead{max-width:470px;color:#d5dfef;font-size:15px;line-height:1.75;margin:0 0 24px}.td-hero .wp-block-search{max-width:475px}.td-hero .wp-block-search__inside-wrapper{background:#fff;border:0;border-radius:12px;padding:6px;box-shadow:0 14px 24px rgba(0,0,0,.09);display:flex;align-items:center}.td-hero .wp-block-search__input{border:0!important;flex:1;min-width:0;border-radius:8px;padding:13px 15px!important;background:#fff;color:#152548;font-size:13px}.td-hero .wp-block-search__button{background:var(--td-turquoise);border:0;color:#fff;font-weight:800;border-radius:8px;padding:13px 21px;margin:0}.td-hero-small{display:flex;gap:20px;flex-wrap:wrap;color:#c8d9ed;font-size:12px;font-weight:650;margin:18px 0 0}.td-hero-small b{color:#5ce2c7}
.td-main-section{max-width:var(--td-content);margin:0 auto}.td-section-intro{margin:49px 0 23px;display:flex;justify-content:space-between;align-items:end;gap:24px}.td-kicker{font-size:11px!important;font-weight:850!important;letter-spacing:.14em;text-transform:uppercase;color:var(--td-turquoise)!important;margin:0 0 8px!important}.td-section-intro h2,.td-title-section h2{font-size:clamp(25px,2.6vw,35px)!important;margin:0!important;font-weight:850!important;color:var(--td-ink);line-height:1.17}.td-section-desc{font-size:13px;color:#7a869c;margin:7px 0 0}.td-all-link a{color:#1267b0;font-weight:800;font-size:13px}.td-all-link a:hover{color:var(--td-turquoise)}
.td-categories{gap:16px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));margin:0!important}.td-category{min-width:0;display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:0!important;background:#fff;border:1px solid #e9edf5;border-radius:18px;overflow:hidden;box-shadow:0 7px 23px rgba(27,46,92,.035);transition:transform .2s,box-shadow .2s}.td-category:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(31,47,93,.10)}.td-category .td-category-copy{flex:1;padding:24px 14px 20px 23px;min-width:0;align-self:center}.td-category h3{font-size:16px;font-weight:820;letter-spacing:-.028em;margin:0 0 8px}.td-category p{font-size:12px;line-height:1.55;color:#6c7993;margin:0}.td-category .wp-block-image{margin:0!important;flex:0 0 39%;min-width:0}.td-category img{height:155px;width:100%;object-fit:cover;display:block}.td-category h3 a{color:var(--td-navy)}
.td-feature-grid .wp-block-post-template{display:grid!important;grid-template-columns:1.18fr 1fr 1fr;gap:20px!important;margin:0!important;list-style:none;padding:0}.td-post-card{background:#fff;border:1px solid var(--td-border);border-radius:19px;overflow:hidden;height:100%;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.td-post-card:hover{box-shadow:0 18px 38px rgba(20,40,78,.10);transform:translateY(-3px)}.td-post-card .wp-block-post-featured-image{margin:0;line-height:0}.td-post-card .wp-block-post-featured-image img{aspect-ratio:1.54;object-fit:cover;width:100%;display:block}.td-card-content{padding:21px 22px 24px;flex:1;display:flex;flex-direction:column}.td-card-content>.wp-block-post-terms{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;color:var(--td-turquoise);margin-bottom:10px}.td-card-content>.wp-block-post-terms a{color:var(--td-turquoise)}.td-post-card .wp-block-post-title{font-size:19px;line-height:1.33;letter-spacing:-.03em;font-weight:850;margin:0 0 10px}.td-post-card .wp-block-post-excerpt{font-size:13px;color:#748097;line-height:1.6;margin:0 0 14px}.td-post-card .wp-block-post-excerpt__excerpt{margin:0}.td-post-card .wp-block-post-date{font-size:11px;color:#929daf;font-weight:650;margin-top:auto}.td-post-card a{transition:color .2s}.td-post-card a:hover{color:var(--td-turquoise)}.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image img{aspect-ratio:1.23}.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-title{font-size:22px}
.td-editorial{max-width:var(--td-content);margin:48px auto;background:#e6f6f5;border-radius:21px;padding:32px 40px;overflow:hidden}.td-editorial .wp-block-columns{align-items:center!important;gap:24px;margin:0}.td-editorial h2{font-size:clamp(26px,3vw,37px);font-weight:900;margin:10px 0}.td-editorial p:not(.td-kicker){font-size:14px;color:#536980;line-height:1.75;max-width:480px}.td-editorial .wp-block-image{max-width:310px;margin:auto}.td-editorial .wp-block-button__link{background:var(--td-navy);color:#fff;border-radius:9px;font-size:13px;font-weight:800;padding:14px 24px}.td-editorial .wp-block-button__link:hover{background:var(--td-turquoise)}
.td-latest-grid .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;list-style:none;padding:0}.td-latest-grid .td-post-card .wp-block-post-title{font-size:17px}.td-latest-grid .wp-block-post-featured-image img{aspect-ratio:1.76}.td-latest-grid .td-card-content{padding:18px 19px 22px}.td-latest-grid .wp-block-post-excerpt{font-size:12px}.td-latest-grid .wp-block-query-pagination{justify-content:center;gap:12px;margin:30px 0 18px}.td-latest-grid .wp-block-query-pagination a,.td-latest-grid .page-numbers{padding:9px 14px;border:1px solid #dce4ef;border-radius:8px;background:#fff;font-size:12px}
.td-newsletter{max-width:var(--td-content);margin:49px auto 55px;border-radius:22px;background:#11234b;color:#fff;padding:33px 41px}.td-newsletter .wp-block-columns{align-items:center!important;gap:32px;margin:0}.td-newsletter h2{font-size:clamp(24px,2.8vw,35px);color:#fff;margin:7px 0 9px}.td-newsletter p:not(.td-kicker){font-size:13px;line-height:1.7;color:#c8d6e9}.td-newsletter .wp-block-image{margin:0 auto;max-width:170px}.td-newsletter .wp-block-button__link{background:#fff;color:var(--td-navy);font-weight:850;border-radius:9px;font-size:12px;padding:13px 21px}
.td-footer{background:#0b1731;color:#d7e1f0;padding:45px 0 23px}.td-footer>.wp-block-group{max-width:var(--td-content);margin:auto}.td-footer-grid{display:grid!important;grid-template-columns:2fr 1fr 1fr;gap:45px!important}.td-footer h3{color:#fff;margin:0 0 16px;font-size:15px;letter-spacing:-.01em}.td-footer .wp-block-site-title{color:#fff;font-size:24px;font-weight:900;margin:0 0 10px}.td-footer p,.td-footer li{font-size:12px;line-height:1.85;color:#9baec9}.td-footer li{margin:0 0 6px}.td-footer a{color:#d0dded}.td-footer a:hover{color:#59e8d8}.td-footer .wp-block-list{padding-left:18px}.td-footer-bottom{border-top:1px solid #273653;margin-top:33px;padding-top:17px;display:flex;justify-content:space-between;gap:20px}.td-footer-bottom p{font-size:11px;margin:0}
.td-archive-wrap,.td-single-wrap,.td-page-wrap{max-width:var(--td-content);margin:40px auto 64px}.td-archive-hero{background:#fff;border-radius:22px;padding:42px 43px;margin:0 0 30px;border:1px solid var(--td-border)}.td-archive-hero h1{font-size:clamp(32px,4.5vw,50px);margin:5px 0 11px}.td-archive-hero p{font-size:14px;color:#77859a;margin:0}.td-single-wrap{max-width:950px}.td-single-head{text-align:center;max-width:850px;margin:0 auto 28px}.td-single-head .wp-block-post-terms{color:var(--td-turquoise);font-weight:850;text-transform:uppercase;font-size:11px;letter-spacing:.09em}.td-single-head h1{font-size:clamp(33px,5.5vw,58px)!important;line-height:1.1;letter-spacing:-.055em;margin:15px auto 19px;font-weight:900}.td-single-head .wp-block-post-date,.td-single-head .wp-block-post-author-name{font-size:12px;color:#8290a4}.td-single-cover img{max-height:430px;width:100%;object-fit:cover;border-radius:18px}.td-single-body{max-width:750px;margin:35px auto;padding:0 2px}.td-single-body p{font-size:17px;line-height:1.9;color:#30425e;margin:0 0 21px}.td-single-body h2{margin:37px 0 18px;font-size:27px;font-weight:900}.td-single-body h3{font-size:21px;margin:31px 0 14px}.td-single-body li{font-size:16px;line-height:1.8;margin-bottom:8px}.td-single-body a{color:#007db5;text-decoration:underline;text-underline-offset:3px}.td-single-body .wp-block-table{overflow-x:auto}.td-single-body table{width:100%;border-collapse:collapse;font-size:14px}.td-single-body td,.td-single-body th{padding:11px;border:1px solid #dce3ee}.td-single-body img{height:auto;border-radius:12px}.td-single-body .wp-block-quote{border-left:4px solid var(--td-turquoise);background:#eaf8f7;padding:14px 21px;margin:25px 0}.td-single-body .wp-block-buttons{margin:25px 0}.td-single-body .wp-block-button__link{background:var(--td-turquoise);border-radius:9px}.td-related{max-width:950px;margin:45px auto 0;border-top:1px solid var(--td-border);padding-top:25px}.td-related h2{font-size:28px;margin:0 0 20px}.td-related .wp-block-post-template{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.td-related .wp-block-post-title{font-size:16px}.td-page-wrap .wp-block-post-title{font-size:44px;letter-spacing:-.04em}.td-page-wrap .wp-block-post-content{max-width:790px;margin:auto;background:#fff;border:1px solid var(--td-border);border-radius:17px;padding:24px 30px}.td-not-found{min-height:400px;text-align:center;display:grid;place-content:center}.td-not-found h1{font-size:52px}.td-not-found p{color:#76849b}
@media(min-width:1100px){.td-header-shell .wp-block-navigation__responsive-container-open{display:none}.td-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open){display:flex!important}}
@media(max-width:1080px){.td-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.td-header-tools{display:none!important}.td-header-shell .wp-block-navigation{font-size:12px;gap:13px}.td-hero>.wp-block-columns{padding-left:35px}.td-hero h1{font-size:49px!important}}
@media(max-width:780px){.td-topline .wp-block-group{justify-content:center}.td-topline .wp-block-group p:last-child{display:none}.td-header-shell>.wp-block-group{min-height:67px}.td-brand .wp-block-site-logo{width:var(--td-logo-mobile)!important;max-width:var(--td-logo-mobile)!important}.td-brand .wp-block-site-logo img{width:var(--td-logo-mobile)!important;max-width:var(--td-logo-mobile)!important}.td-brand .wp-block-site-title{font-size:23px}.td-brandline{font-size:9px}.td-header-shell .wp-block-navigation__responsive-container-open{display:flex!important}.td-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.td-hero{margin-top:17px;border-radius:18px;min-height:0}.td-hero>.wp-block-columns{padding:36px 24px 0;display:block!important}.td-hero .td-hero-content{width:100%}.td-hero h1{font-size:clamp(34px,8.5vw,48px)!important;max-width:550px}.td-hero-lead{font-size:13px}.td-hero .td-hero-art{height:265px;justify-content:center}.td-hero .td-hero-art figure{width:100%;margin:0}.td-hero .td-hero-art img{height:280px;margin:auto}.td-hero-small{margin-bottom:4px}.td-main-section{margin-right:auto;margin-left:auto}.td-section-intro{margin-top:35px}.td-categories{gap:12px!important}.td-category .td-category-copy{padding:19px 10px 17px 17px}.td-category h3{font-size:14px}.td-category img{height:134px}.td-feature-grid .wp-block-post-template,.td-latest-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.td-feature-grid .wp-block-post:first-child{grid-column:span 2}.td-feature-grid .wp-block-post:first-child .td-post-card{display:grid;grid-template-columns:1fr 1fr}.td-feature-grid .wp-block-post:first-child .wp-block-post-featured-image img{aspect-ratio:1.4;height:100%}.td-editorial{margin-top:34px;padding:26px}.td-editorial .wp-block-columns{display:flex!important;flex-direction:row!important}.td-editorial .wp-block-column:first-child{flex-basis:64%!important}.td-editorial .wp-block-column:last-child{flex-basis:36%!important}.td-newsletter{padding:24px}.td-footer-grid{grid-template-columns:1.6fr 1fr 1fr;gap:20px!important}.td-single-body p{font-size:16px}.td-related .wp-block-post-template{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.has-global-padding{padding-left:17px!important;padding-right:17px!important}.td-topline{font-size:10px;padding:7px}.td-header-shell>.wp-block-group{gap:14px}.td-hero>.wp-block-columns{padding:31px 21px 0}.td-hero h1{font-size:37px!important}.td-eyebrow{font-size:10px!important;margin-bottom:12px!important}.td-hero-lead{margin-bottom:19px}.td-hero .wp-block-search__inside-wrapper{padding:4px}.td-hero .wp-block-search__input{padding:12px!important;font-size:12px}.td-hero .wp-block-search__button{padding:11px 12px;font-size:12px}.td-hero-small{gap:12px;font-size:10px}.td-hero .td-hero-art{height:245px}.td-hero .td-hero-art img{height:265px}.td-section-intro{margin:31px 0 15px;gap:9px}.td-section-intro h2{font-size:24px!important}.td-section-desc{font-size:12px}.td-all-link{display:none}.td-categories{grid-template-columns:1fr;gap:10px!important}.td-category img{height:117px}.td-category .wp-block-image{flex-basis:34%}.td-category .td-category-copy{padding:14px 8px 14px 17px}.td-category h3{font-size:16px;margin-bottom:5px}.td-category p{font-size:11px}.td-feature-grid .wp-block-post-template,.td-latest-grid .wp-block-post-template{grid-template-columns:1fr;gap:13px!important}.td-feature-grid .wp-block-post:first-child{grid-column:auto}.td-feature-grid .wp-block-post:first-child .td-post-card{display:flex}.td-feature-grid .wp-block-post:first-child .wp-block-post-featured-image img{aspect-ratio:1.6}.td-post-card .wp-block-post-featured-image img,.td-latest-grid .wp-block-post-featured-image img{aspect-ratio:1.85}.td-card-content,.td-latest-grid .td-card-content{padding:18px 19px 20px}.td-post-card .wp-block-post-title{font-size:18px!important}.td-post-card .wp-block-post-excerpt{font-size:12px}.td-editorial{padding:22px;margin:30px auto 0}.td-editorial .wp-block-columns{display:block!important}.td-editorial .wp-block-column{width:100%;flex-basis:100%!important}.td-editorial h2{font-size:27px}.td-editorial .wp-block-image{max-width:155px;margin-top:12px}.td-newsletter{margin:36px auto 30px;padding:24px}.td-newsletter .wp-block-columns{display:block!important}.td-newsletter .wp-block-image{display:none}.td-footer{padding:29px 0 20px}.td-footer-grid{grid-template-columns:1fr 1fr;gap:12px!important}.td-footer-grid>.wp-block-group:first-child{grid-column:span 2}.td-footer-bottom{display:block}.td-footer-bottom p+p{margin-top:6px}.td-archive-wrap,.td-single-wrap,.td-page-wrap{margin:18px auto 35px}.td-archive-hero{padding:24px;border-radius:15px;margin-bottom:17px}.td-archive-hero h1{font-size:32px}.td-single-head h1{font-size:32px!important}.td-single-cover img{max-height:290px;border-radius:12px}.td-single-body{margin:26px auto}.td-single-body p{font-size:15px;line-height:1.83}.td-single-body h2{font-size:24px}.td-single-body h3{font-size:19px}.td-related .wp-block-post-template{grid-template-columns:1fr}.td-page-wrap .wp-block-post-content{padding:20px 17px}.td-page-wrap .wp-block-post-title{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ========================================================================
   TODO AL DÍA TECH 2.0 - DISEÑO TECNOLÓGICO INTEGRADO
   Variables globales editables desde Estilos. Esta hoja incluye CSS base y
   todos los ajustes responsive: no necesita pegar parches manuales.
   ======================================================================== */
:root{--td-navy:#08142b;--td-ink:#edf5ff;--td-muted:#8fa6c7;--td-turquoise:#32cfff;--td-cream:#071122;--td-border:#233a5e;--td-content:1190px}
html{background:#071122}body{background:#071122;color:#eaf4ff}body:before{content:"";position:fixed;pointer-events:none;inset:0;background-image:linear-gradient(rgba(59,116,202,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(59,116,202,.025) 1px,transparent 1px);background-size:48px 48px;z-index:-1}a:hover{color:#6ef4ff}img{max-width:100%;height:auto}
.td-topline{background:#041021;color:#92b7e5;border-bottom:1px solid #183053;padding:7px 0;font-size:10px;letter-spacing:.08em}.td-topline p:first-child{color:#4adffb}.td-header-shell{background:#08172e;border-bottom:1px solid rgba(45,166,248,.27);box-shadow:0 10px 28px #030a1b40}.td-header-shell>.wp-block-group{min-height:84px}.td-brand{gap:12px!important}.td-brand:before{content:"⌁";display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border:1px solid #1fb7f7;border-radius:12px;background:linear-gradient(155deg,#09385e,#0a1b43);color:#44dfff;font-size:32px;font-weight:800;box-shadow:inset 0 0 18px #0787ef29,0 0 19px #038ae725}.td-brand:has(.wp-block-site-logo img):before{display:none}.td-brand .wp-block-site-title{font-size:28px;font-weight:950;letter-spacing:-.07em}.td-brand .wp-block-site-title a{color:#f5fbff!important}.td-brandline{color:var(--td-turquoise);font-weight:750;font-size:8px;letter-spacing:.18em}.td-header-shell .wp-block-navigation{font-weight:720;font-size:12px;gap:22px;color:#b9d4ef}.td-header-shell .wp-block-navigation a{color:#c4d7ee}.td-header-shell .wp-block-navigation a:hover{color:#4cdbff}.td-header-shell .wp-block-navigation__responsive-container.is-menu-open{background:#08172e;color:white}.td-header-shell .wp-block-navigation__responsive-container.is-menu-open a{color:white}.td-header-shell .wp-block-navigation__responsive-container-open{color:#5ce8ff}
.td-hero{background:#071127;margin-top:26px;border:1px solid #184570;border-radius:22px;min-height:493px;isolation:isolate;box-shadow:0 24px 78px #0008268a,0 0 0 1px #1682ca12}.td-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061126 0%,#061126 13%,rgba(6,17,38,.98) 25%,rgba(6,17,38,.89) 40%,rgba(6,17,38,.40) 65%,rgba(6,17,38,.03) 100%);z-index:1;border:0;border-radius:0;width:auto;height:auto}.td-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,#07112659,transparent 38%),repeating-linear-gradient(0deg,transparent 0 71px,#4ee3ff0a 72px)}.td-hero>.wp-block-columns{min-height:493px;padding:44px 60px;align-items:center;position:relative;margin:0!important;display:flex!important}.td-hero .td-hero-content{z-index:3;flex-basis:57%;max-width:650px;padding:4px 0}.td-hero .td-hero-art{position:absolute;inset:0!important;width:100%;height:100%!important;max-width:none;z-index:0;display:block;overflow:hidden}.td-hero .td-hero-art figure{margin:0!important;width:100%;height:100%;max-width:none}.td-hero .td-hero-art img{width:100%;height:100%!important;display:block;object-fit:cover;object-position:50% 52%}.td-hero .td-eyebrow{display:inline-flex;font-weight:800!important;font-size:10px!important;letter-spacing:.12em;color:var(--td-turquoise)!important;background:#12adff20;border:1px solid #49cdf54f;border-radius:24px;padding:8px 13px!important;margin:0 0 22px!important}.td-hero h1{max-width:600px;font-size:clamp(42px,5.3vw,65px)!important;line-height:1.04;letter-spacing:-.064em;margin:0 0 24px;color:white!important;text-shadow:0 2px 10px #0005}.td-hero h1 em{font-style:normal;color:#62e3fa;background:linear-gradient(90deg,#42e9ff,#a3a6ff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.td-hero-lead{max-width:510px;color:#d1e1f5;font-size:14px;line-height:1.8;margin:0 0 26px}.td-hero .wp-block-search{max-width:500px}.td-hero .wp-block-search__inside-wrapper{background:#ffffff;box-shadow:0 4px 31px #00aeff28;border-radius:10px}.td-hero .wp-block-search__button{background:linear-gradient(120deg,#0c9bfb,#1774f8)!important;border-radius:7px;font-weight:800}.td-hero .wp-block-search__button:hover{filter:brightness(1.14)}.td-hero-small{color:#b5cde4;font-size:11px;gap:17px;margin:18px 0 0}.td-hero-small strong{color:#43ebd8}
.td-quick-strip{max-width:var(--td-content);margin:18px auto 0!important;padding-top:18px!important;padding-bottom:18px!important;border:1px solid #193657;border-radius:16px;background:linear-gradient(115deg,#0d2040,#081a31)}.td-quick-strip>.wp-block-group{max-width:none}.td-quick-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:11px;gap:8px}.td-quick-top p{font-size:11px;color:#91a9c7;margin:0}.td-quick-top p:first-child{font-weight:850;color:#62e3ff;letter-spacing:.1em}.td-quick-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}.td-quick-buttons .wp-block-button{width:100%}.td-quick-buttons .wp-block-button__link{display:flex;align-items:center;justify-content:space-between;width:100%;background:#112b4d!important;color:#eaf6ff!important;border:1px solid #27547e;border-radius:9px;font-size:12px;font-weight:750;text-align:left;padding:13px 14px;transition:background .2s,transform .2s}.td-quick-buttons .wp-block-button__link:hover{background:#174675!important;transform:translateY(-2px)}.td-quick-buttons span{color:#42d6ff;font-weight:900}
.td-main-section{max-width:var(--td-content)}.td-section-intro{margin:48px 0 22px}.td-kicker{font-size:10px!important;letter-spacing:.14em;color:var(--td-turquoise)!important;font-weight:900!important}.td-section-intro h2,.td-title-section h2{font-size:clamp(25px,3vw,35px)!important;color:#f4f9ff!important;font-weight:900!important;letter-spacing:-.048em}.td-section-desc{color:#94aac9;font-size:13px;margin-top:9px}.td-all-link a{color:#72e9ff}
.td-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important}.td-category{height:185px;position:relative;display:flex!important;align-items:end!important;border:1px solid #245078;border-radius:15px;box-shadow:0 14px 40px #00041f48;background:#0d1f3c;overflow:hidden}.td-category:hover{border-color:#3bc8ff;box-shadow:0 15px 38px #018cff23;transform:translateY(-3px)}.td-category:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061833 0%,#071a33f5 38%,#071a33bb 58%,#071a3300 100%);pointer-events:none}.td-category .wp-block-image{position:absolute;inset:0;width:100%;height:100%;flex:auto!important;margin:0!important;z-index:0}.td-category .wp-block-image a{display:block;width:100%;height:100%}.td-category img{height:100%!important;width:100%;object-fit:cover;object-position:60% 52%}.td-category .td-category-copy{position:relative;align-self:end;z-index:2;flex:auto;width:65%;padding:21px 15px 22px 22px}.td-category h3{font-size:18px;font-weight:850;margin:0 0 7px;line-height:1.14;color:#fff}.td-category h3 a{color:#fff}.td-category p{color:#bdd0e9;font-size:11px;line-height:1.45;margin:0}
.td-post-card{background:#0c1c36;border:1px solid #214064;border-radius:17px;box-shadow:0 8px 32px #00071d48;overflow:hidden}.td-post-card:hover{border-color:#339cdd;box-shadow:0 18px 46px #007ff31f}.td-post-card .wp-block-post-featured-image{background:#0a2245;min-height:140px}.td-post-card .wp-block-post-featured-image img{width:100%;aspect-ratio:1.65;object-fit:cover;display:block}.td-feature-grid .wp-block-post-template{grid-template-columns:1.18fr 1fr 1fr;gap:17px!important}.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image img{aspect-ratio:1.37}.td-card-content{padding:19px 19px 23px}.td-card-content>.wp-block-post-terms,.td-card-content>.wp-block-post-terms a{color:#65dcff;font-size:10px;font-weight:800}.td-post-card .wp-block-post-title{color:#f3f9ff;font-size:18px!important;font-weight:780;line-height:1.39}.td-post-card .wp-block-post-title a{color:#f6fbff}.td-post-card .wp-block-post-title a:hover{color:#52d9ff}.td-post-card .wp-block-post-excerpt{color:#99afce}.td-post-card .wp-block-post-date{color:#91aac8}.td-latest-grid .wp-block-post-template{gap:17px!important}.td-latest-grid .td-card-content{padding:19px 20px 24px}
.td-editorial{position:relative;background:linear-gradient(117deg,#122a55,#102254 70%,#1a2370);border:1px solid #2955a2;border-radius:20px;margin-top:45px;box-shadow:0 16px 55px #00071d40}.td-editorial:before{content:"";position:absolute;right:0;top:0;width:50%;height:100%;background:radial-gradient(ellipse at 62% 55%,#4e66ff3b,transparent 64%);pointer-events:none}.td-editorial h2{color:#fff;font-size:34px!important;line-height:1.1}.td-editorial p{color:#b7cae5}.td-editorial .wp-block-button__link{background:#17a5f8!important;color:white!important}.td-editorial .wp-block-image{border-radius:15px;overflow:hidden;max-width:340px;margin-left:auto}.td-editorial .wp-block-image img{width:100%;height:230px;object-fit:cover;border-radius:13px}.td-newsletter{background:linear-gradient(120deg,#0b2040,#102749);border:1px solid #24486c;border-radius:20px;margin-top:46px}.td-newsletter h2{color:#fff}.td-newsletter .wp-block-button__link{color:#06172a;background:#54deff}.td-newsletter .wp-block-image img{height:130px;object-fit:cover;border-radius:12px}
.td-footer{background:#041020;color:#b0c4df;border-top:1px solid #18375b}.td-footer h3,.td-footer .wp-block-site-title{color:#fff}.td-footer p,.td-footer li{color:#829cbb}.td-footer a{color:#b0cce7}.td-footer-bottom{border-color:#20385c}
/* Templates: readability stays high for long articles. */
.td-archive-hero{background:#0d203e;border-color:#24557c}.td-archive-hero h1{color:#fff}.td-archive-hero p{color:#99b3ce}.td-single-head h1,.td-page-wrap>.wp-block-post-title{color:#f5f9ff!important}.td-single-head .wp-block-post-date{color:#91a6c5}.td-single-wrap .td-single-body,.td-page-wrap .wp-block-post-content{background:#fff;color:#1b2d46;padding:36px 45px;border-radius:17px;border:1px solid #d7e1ec;box-shadow:0 12px 38px #0004}.td-single-body p{color:#314662}.td-single-body h2,.td-single-body h3,.td-single-body h4{color:#112744}.td-single-body a{color:#0069ab}.td-single-body ul,.td-single-body ol{color:#314662}.td-single-body .wp-block-quote{background:#ebf9ff;border-left-color:#20afff}.td-related{border-color:#28466b}.td-related h2{color:#fff}.td-not-found h1{color:#fff}
/* Image safety: prevent broken blank slots and layout jumps. */
.td-category figure,.td-hero .td-hero-art figure,.td-post-card .wp-block-post-featured-image{overflow:hidden}.td-post-card .wp-block-post-featured-image img{min-height:145px;background:#102a4a}.td-category img{background:#102c4f}.td-hero .td-hero-art img{background:#04142a}
@media(max-width:1080px){.td-hero>.wp-block-columns{padding:35px 38px}.td-hero h1{font-size:51px!important}.td-quick-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.td-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.td-feature-grid .wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.td-header-shell>.wp-block-group{min-height:72px}.td-brand:before{height:36px;width:36px;flex-basis:36px;font-size:27px}.td-brand .wp-block-site-title{font-size:23px}.td-topline .wp-block-group{justify-content:center}.td-topline .wp-block-group p:last-child{display:none}.td-header-shell .wp-block-navigation__responsive-container-open{display:flex!important}.td-hero{margin-top:17px;min-height:645px}.td-hero>.wp-block-columns{min-height:645px;display:flex!important;flex-direction:column;align-items:stretch;padding:38px 27px 0!important}.td-hero .td-hero-content{flex:auto;max-width:650px;width:100%;z-index:3}.td-hero h1{font-size:45px!important;max-width:590px}.td-hero .td-hero-art{position:absolute;top:auto!important;bottom:0;left:0;right:0;width:100%;height:335px!important;z-index:0;display:block!important}.td-hero .td-hero-art img{height:100%!important;object-fit:cover;object-position:78% 54%}.td-hero:before{background:linear-gradient(180deg,#061126 0%,#061126 28%,#061126f2 41%,#0611268c 59%,transparent 77%)}.td-hero:after{background:linear-gradient(0deg,#06112600 0,#06112610 40%,transparent)}.td-hero-lead{max-width:520px}.td-quick-strip{margin-top:14px!important}.td-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.td-category{height:172px}.td-category h3{font-size:17px}.td-category .td-category-copy{padding:18px}.td-feature-grid .wp-block-post-template,.td-latest-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.td-feature-grid .wp-block-post:first-child{grid-column:span 2}.td-feature-grid .wp-block-post:first-child .td-post-card{display:flex;flex-direction:row}.td-feature-grid .wp-block-post:first-child .wp-block-post-featured-image{flex:0 0 45%;height:auto}.td-feature-grid .wp-block-post:first-child .wp-block-post-featured-image img{aspect-ratio:auto;height:100%}.td-footer-grid{grid-template-columns:1.3fr 1fr 1fr}.td-single-wrap .td-single-body,.td-page-wrap .wp-block-post-content{padding:29px 28px}}
@media(max-width:540px){.has-global-padding{padding-left:16px!important;padding-right:16px!important}.td-topline{font-size:8px;padding:7px 0}.td-header-shell>.wp-block-group{min-height:65px}.td-brand:before{height:33px;width:33px;flex-basis:33px;font-size:25px;border-radius:10px}.td-brand .wp-block-site-title{font-size:20px}.td-brandline{font-size:7px;letter-spacing:.08em}.td-hero{border-radius:17px;min-height:637px;margin-top:13px}.td-hero>.wp-block-columns{padding:26px 22px 0!important;min-height:637px}.td-hero .td-eyebrow{font-size:8px!important;padding:7px 9px!important;margin:0 0 17px!important}.td-hero h1{font-size:37px!important;letter-spacing:-.05em;margin-bottom:16px;line-height:1.08}.td-hero-lead{font-size:12px;line-height:1.65;margin-bottom:19px;max-width:360px}.td-hero .wp-block-search__inside-wrapper{padding:4px;min-height:45px}.td-hero .wp-block-search__input{padding:10px 9px!important;font-size:12px}.td-hero .wp-block-search__button{font-size:11px;padding:10px!important}.td-hero-small{margin-top:14px;font-size:9px;gap:9px}.td-hero .td-hero-art{height:318px!important;top:auto!important}.td-hero .td-hero-art img{object-position:78% 48%;height:100%!important}.td-hero:before{background:linear-gradient(180deg,#061126 0%,#061126 25%,#061126 35%,#061126ed 46%,#0611263d 67%,transparent 85%)}.td-quick-strip{border-radius:12px;padding-top:15px!important;padding-bottom:15px!important}.td-quick-top{display:block}.td-quick-top p:first-child{font-size:9px}.td-quick-top p:last-child{font-size:10px;margin-top:4px}.td-quick-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.td-quick-buttons .wp-block-button__link{font-size:10px;padding:11px 10px;min-height:43px}.td-section-intro{margin:33px 0 17px}.td-section-intro h2{font-size:25px!important}.td-section-desc{font-size:11px}.td-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.td-category{height:143px;border-radius:12px}.td-category .td-category-copy{width:100%;padding:12px 10px 13px 13px}.td-category:after{background:linear-gradient(0deg,#07172fee 0%,#07172fa1 39%,#07172f00 100%)}.td-category img{object-position:69% 45%}.td-category h3{font-size:13px;margin:0 0 4px;line-height:1.16}.td-category p{font-size:9px;max-width:145px;line-height:1.26}.td-feature-grid .wp-block-post-template,.td-latest-grid .wp-block-post-template{grid-template-columns:1fr;gap:13px!important}.td-feature-grid .wp-block-post:first-child{grid-column:auto}.td-feature-grid .wp-block-post:first-child .td-post-card{display:flex;flex-direction:column}.td-feature-grid .wp-block-post:first-child .wp-block-post-featured-image img,.td-post-card .wp-block-post-featured-image img{aspect-ratio:1.76;height:auto}.td-card-content,.td-latest-grid .td-card-content{padding:17px 17px 20px}.td-post-card .wp-block-post-title{font-size:17px!important}.td-editorial{margin:32px auto 0;padding:24px;border-radius:15px}.td-editorial h2{font-size:28px!important}.td-editorial .wp-block-columns{display:block!important}.td-editorial .wp-block-image{max-width:none;margin:17px auto 0}.td-editorial .wp-block-image img{height:165px}.td-newsletter{padding:25px;margin:37px auto 25px}.td-newsletter .wp-block-image{display:none}.td-footer-grid{grid-template-columns:1fr 1fr}.td-footer-grid>.wp-block-group:first-child{grid-column:span 2}.td-single-wrap .td-single-body,.td-page-wrap .wp-block-post-content{padding:23px 17px}.td-single-head h1{font-size:31px!important}.td-single-body p{font-size:15px}}
@media(max-width:380px){.td-hero h1{font-size:33px!important}.td-hero-lead{font-size:11px}.td-hero .wp-block-search__input{font-size:11px}.td-category{height:142px}.td-category h3{font-size:12px}.td-quick-buttons .wp-block-button__link{font-size:9px;padding:10px 7px}}
@media(prefers-reduced-motion:reduce){.td-category,.td-post-card,.td-quick-buttons .wp-block-button__link{transition:none!important}}

/* Stronger image contrast in visible category cards */
.td-category:after{background:linear-gradient(90deg,#061833 0%,#071a33f0 23%,#071a3380 43%,transparent 66%)}
@media(max-width:540px){.td-category:after{background:linear-gradient(0deg,#07172ff5 0%,#07172fa0 33%,transparent 70%)}}


/* ===== CORRECCIONES V2.1 ===== */
.td-latest-grid .wp-block-query-pagination,
.td-latest-grid .wp-block-query-pagination-numbers{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}
.td-latest-grid .wp-block-query-pagination a,
.td-latest-grid .wp-block-query-pagination span,
.td-latest-grid .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;
  padding:10px 15px;border-radius:10px;border:1px solid #1f4f7d;background:#0f2441!important;
  color:#dff2ff!important;font-size:12px;font-weight:800;box-shadow:none
}
.td-latest-grid .wp-block-query-pagination a:hover,
.td-latest-grid .page-numbers:hover{background:#16345c!important;border-color:#3bb7ff;color:#fff!important}
.td-latest-grid .page-numbers.current,
.td-latest-grid .wp-block-query-pagination-numbers .current{background:linear-gradient(135deg,#19bfff,#1160d8)!important;color:#fff!important;border-color:#40cbff}
.td-latest-grid .wp-block-query-pagination-previous,
.td-latest-grid .wp-block-query-pagination-next{padding-left:16px;padding-right:16px}

.td-header-shell .wp-block-navigation{row-gap:12px}
.td-header-shell .wp-block-navigation-item__label{white-space:nowrap}
.td-header-shell .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle{color:#9bcfff}
.td-header-shell .wp-block-navigation-submenu__content{background:#0b1a34;border:1px solid #1f446d;border-radius:12px;padding:10px;min-width:235px;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.td-header-shell .wp-block-navigation-submenu__content a{color:#d5e7fb!important;padding:10px 12px;border-radius:8px;display:block}
.td-header-shell .wp-block-navigation-submenu__content a:hover{background:#11294e;color:#fff!important}

.td-footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.1fr!important;gap:34px!important}
.td-footer .wp-block-list{list-style:none;padding-left:0;margin:0}
.td-footer .wp-block-list li{margin:0 0 9px}
.td-footer .wp-block-list a{display:inline-block}
.td-footer-bottom{align-items:center}

.td-post-card .wp-block-post-featured-image,
.td-latest-grid .wp-block-post-featured-image,
.td-related .wp-block-post-featured-image{position:relative;overflow:hidden;background:#081b34}
.td-post-card .wp-block-post-featured-image a,
.td-latest-grid .wp-block-post-featured-image a,
.td-related .wp-block-post-featured-image a{display:block}
.td-post-card .wp-block-post-featured-image img,
.td-latest-grid .wp-block-post-featured-image img,
.td-related .wp-block-post-featured-image img{
  width:100%!important;height:220px!important;max-height:220px!important;min-height:220px!important;
  object-fit:cover!important;object-position:center center!important;display:block
}
.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image img{height:260px!important;min-height:260px!important;max-height:260px!important}
.td-single-cover img{width:100%;height:auto;max-height:430px;object-fit:cover;object-position:center center}

@media(max-width:900px){
  .td-footer-grid{grid-template-columns:1fr 1fr!important;gap:24px!important}
  .td-footer-grid>.wp-block-group:first-child{grid-column:1 / -1}
}
@media(max-width:780px){
  .td-header-shell .wp-block-navigation__responsive-container-content{align-items:flex-start}
  .td-header-shell .wp-block-navigation__responsive-container-content .wp-block-navigation{width:100%;display:flex!important;flex-direction:column;gap:8px}
  .td-header-shell .wp-block-navigation__responsive-container-content .wp-block-navigation-item{width:100%}
  .td-header-shell .wp-block-navigation__responsive-container-content .wp-block-navigation-item a{display:block;padding:10px 0;border-bottom:1px solid rgba(100,170,230,.14)}
  .td-post-card .wp-block-post-featured-image img,
  .td-latest-grid .wp-block-post-featured-image img,
  .td-related .wp-block-post-featured-image img{height:195px!important;min-height:195px!important;max-height:195px!important}
}
@media(max-width:540px){
  .td-footer-grid{grid-template-columns:1fr!important}
  .td-post-card .wp-block-post-featured-image img,
  .td-latest-grid .wp-block-post-featured-image img,
  .td-related .wp-block-post-featured-image img{height:210px!important;min-height:210px!important;max-height:210px!important}
  .td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image img{height:210px!important;min-height:210px!important;max-height:210px!important}
}


/* ============================================================
   Todo al Día TECH 2.2 · REVISIÓN ESTRUCTURAL DE TARJETAS
   La imagen deja de imponer el ancho intrínseco a la tarjeta.
   ============================================================ */
:root {--td-card-ratio:16/9;--td-card-spacing:18px}
.td-feature-grid,.td-latest-grid,.td-related {width:100%;max-width:100%;min-width:0}
.td-feature-grid .wp-block-post-template,
.td-latest-grid .wp-block-post-template,
.td-related .wp-block-post-template{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:18px!important;align-items:stretch!important;width:100%!important;
 max-width:none!important;padding:0!important;margin:0!important
}
.td-feature-grid .wp-block-post-template>.wp-block-post,
.td-latest-grid .wp-block-post-template>.wp-block-post,
.td-related .wp-block-post-template>.wp-block-post{
 min-width:0!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:0!important;align-self:stretch
}
/* Gutenberg's constrained/group layout must not shrink around the image. */
.td-feature-grid .td-post-card,
.td-latest-grid .td-post-card,
.td-related .td-post-card{
 display:flex!important;flex-direction:column!important;min-width:0!important;
 width:100%!important;max-width:none!important;height:100%!important;
 margin:0!important;gap:0!important;padding:0!important
}
.td-feature-grid .td-post-card>.wp-block-post-featured-image,
.td-latest-grid .td-post-card>.wp-block-post-featured-image,
.td-related .td-post-card>.wp-block-post-featured-image{
 display:block!important;position:relative!important;flex:none!important;
 width:100%!important;max-width:none!important;min-width:0!important;
 aspect-ratio:var(--td-card-ratio)!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
 background:linear-gradient(140deg,#07172f,#15325a)!important
}
.td-feature-grid .td-post-card>.wp-block-post-featured-image>a,
.td-latest-grid .td-post-card>.wp-block-post-featured-image>a,
.td-related .td-post-card>.wp-block-post-featured-image>a{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;margin:0!important;padding:0!important
}
.td-feature-grid .td-post-card>.wp-block-post-featured-image img,
.td-latest-grid .td-post-card>.wp-block-post-featured-image img,
.td-related .td-post-card>.wp-block-post-featured-image img,
.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image img{
 position:absolute!important;inset:0!important;width:100%!important;
 height:100%!important;min-height:0!important;max-height:none!important;
 max-width:100%!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center center!important;
 border-radius:0!important;margin:0!important;padding:0!important
}
.td-feature-grid .td-card-content,.td-latest-grid .td-card-content,.td-related .td-card-content{
 flex:1 1 auto!important;width:100%!important;max-width:none!important;
 min-width:0!important;margin:0!important;padding:18px 20px 22px!important;
 display:flex!important;flex-direction:column!important;gap:0!important
}
.td-post-card .td-card-content>*{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.td-post-card .wp-block-post-title{
 font-size:clamp(16px,1.4vw,19px)!important;line-height:1.34!important;
 letter-spacing:-.025em!important;margin:0 0 11px!important;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 overflow:hidden;overflow-wrap:anywhere
}
.td-post-card .wp-block-post-excerpt,.td-post-card .wp-block-post-excerpt__excerpt{
 color:#9bb3d0!important;font-size:12.5px!important;line-height:1.6!important;
 margin:0 0 14px!important;overflow-wrap:anywhere
}
.td-post-card .wp-block-post-excerpt__excerpt{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.td-post-card .wp-block-post-date{margin-top:auto!important;color:#95b3d7!important}
.td-feature-grid .wp-block-post:first-child{grid-column:auto!important}
.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-title{font-size:clamp(16px,1.4vw,19px)!important}
.td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image{
 flex:none!important;aspect-ratio:var(--td-card-ratio)!important;height:auto!important
}
/* Category banners: text and artwork occupy separate columns. */
.td-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.td-category{
 display:grid!important;grid-template-columns:minmax(0,calc(100% - var(--td-category-image-width,34%))) minmax(0,var(--td-category-image-width,34%))!important;
 align-items:stretch!important;position:relative!important;width:100%!important;
 min-width:0!important;max-width:none!important;height:158px!important;
 gap:0!important;padding:0!important;overflow:hidden!important;border-radius:15px
}
.td-category:after{display:none!important}
.td-category .td-category-copy{
 grid-row:1!important;grid-column:1!important;position:relative!important;
 z-index:2!important;width:100%!important;min-width:0!important;
 max-width:none!important;margin:0!important;align-self:center!important;
 padding:16px 8px 16px 17px!important
}
.td-category .wp-block-image{
 grid-row:1!important;grid-column:2!important;display:block!important;
 position:relative!important;inset:auto!important;width:100%!important;
 height:100%!important;min-width:0!important;max-width:none!important;
 margin:0!important;align-self:stretch!important;overflow:hidden!important
}
.td-category .wp-block-image a{display:block!important;width:100%!important;height:100%!important}
.td-category .wp-block-image img{
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;object-fit:cover!important;object-position:72% center!important
}
.td-category h3{font-size:clamp(14px,1.24vw,17px)!important;line-height:1.2!important;margin:0 0 7px!important;overflow-wrap:break-word}
.td-category p{font-size:11px!important;line-height:1.42!important;color:#b9d2ed!important;max-width:none!important}
/* Full article hero: never let an oversized source image fill the viewport. */
.td-single-cover{
 display:block!important;width:100%!important;max-width:850px!important;
 margin:0 auto!important;overflow:hidden!important;border-radius:17px
}
.td-single-cover img{display:block!important;max-width:100%!important;width:100%!important;
 height:auto!important;max-height:420px!important;object-fit:contain!important;
 object-position:center!important;margin:auto!important;background:#0c1e39}
.td-single-body .wp-block-post-content img{
 max-width:100%!important;height:auto!important;max-height:560px!important;
 object-fit:contain!important;display:block
}
/* Respect user-defined wide/full images without stretching. */
.td-single-body .wp-block-post-content figure{max-width:100%;height:auto}
/* Responsive behavior: cards remain the FULL available width. */
@media(max-width:950px){
 .td-feature-grid .wp-block-post-template,
 .td-latest-grid .wp-block-post-template,
 .td-related .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .td-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .td-feature-grid .wp-block-post-template,
 .td-latest-grid .wp-block-post-template,
 .td-related .wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
 .td-feature-grid .wp-block-post:first-child .td-post-card{display:flex!important;flex-direction:column!important}
 .td-feature-grid .wp-block-post:first-child .td-post-card .wp-block-post-featured-image{flex:none!important;width:100%!important}
 .td-post-card .td-card-content{padding:16px 17px 19px!important}
 .td-post-card .wp-block-post-title{font-size:18px!important;-webkit-line-clamp:3}
 .td-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .td-category{
  display:flex!important;flex-direction:column-reverse!important;
  height:187px!important;min-height:187px!important;justify-content:flex-start!important
 }
 .td-category .wp-block-image{
  position:relative!important;inset:auto!important;flex:0 0 91px!important;
  width:100%!important;height:91px!important;max-height:91px!important;
  overflow:hidden!important;align-self:stretch!important
 }
 .td-category .wp-block-image img{width:100%!important;height:91px!important;
  object-fit:cover!important;object-position:73% center!important}
 .td-category .td-category-copy{
  flex:1 1 auto!important;align-self:stretch!important;width:100%!important;
  padding:10px 12px 12px!important;text-align:left!important
 }
 .td-category h3{font-size:13px!important;line-height:1.2!important;margin:0 0 5px!important}
 .td-category p{font-size:10px!important;line-height:1.35!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .td-single-cover{max-width:100%!important}
 .td-single-cover img{max-height:265px!important}
 .td-single-body .wp-block-post-content img{max-height:420px!important}
}
@media(max-width:360px){
 .td-category{height:184px!important;min-height:184px!important}
 .td-category h3{font-size:12px!important}
 .td-category p{font-size:9px!important}
}

/* ===== V2.3: NAVEGACIÓN REAL DEL SITIO Y PIE DE PÁGINA ===== */
.td-header-shell .wp-block-navigation{gap:clamp(8px,1.15vw,16px)!important;flex-wrap:nowrap!important;font-size:clamp(10px,.93vw,12px)!important}
.td-header-shell .wp-block-navigation .wp-block-navigation-item__content{padding-block:9px}
.td-header-shell .wp-block-navigation .wp-block-navigation-item__label{white-space:nowrap}
.td-header-shell .wp-block-navigation a:focus-visible,.td-footer a:focus-visible{outline:2px solid #40d4ff;outline-offset:4px}
.td-footer-grid{grid-template-columns:1.45fr 1fr 1fr 1.25fr!important}
.td-footer li{overflow-wrap:anywhere}
.td-footer a{text-underline-offset:4px}
@media (max-width:1160px){
 .td-header-shell .wp-block-navigation__responsive-container-open{display:flex!important;background:rgba(48,175,240,.09);border:1px solid #276085;border-radius:9px;padding:9px;color:#77dcff!important}
 .td-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open{display:flex!important;overflow-y:auto;padding:23px;z-index:9999;background:#07172f!important}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:stretch!important}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{width:100%;flex-direction:column;align-items:stretch!important;gap:2px!important}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:block;width:100%;padding:13px 9px!important;border-bottom:1px solid #203f68}
 .td-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label{white-space:normal!important;font-size:15px}
}
@media (max-width:900px){.td-footer-grid{grid-template-columns:1fr 1fr!important}}
@media (max-width:540px){
 .td-footer-grid{grid-template-columns:1fr!important}
 .td-footer-grid>.wp-block-group:first-child{grid-column:1!important}
 .td-footer{padding-top:28px;padding-bottom:18px}
 .td-footer-bottom{flex-direction:column;align-items:flex-start;gap:4px}
}
