/*
Theme Name: Rumbo Informativo
Theme URI: https://rumboinformativo.com
Author: Rumbo Informativo
Description: Portal editorial adaptable con cabecera centrada, noticias sobre degradado azul y espacios publicitarios editables.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rumbo-informativo
Tags: news, custom-logo, custom-menu, featured-images, two-columns
*/
:root{--navy:#061e41;--blue:#0563e8;--cyan:#2cd5f3;--ink:#0b2345;--muted:#60718a;--line:#dfe6ef;--paper:#fff;--soft:#f2f5f9;--max:1280px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:white;font:16px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#005bc7}img{max-width:100%;height:auto;vertical-align:middle}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(2rem,4.5vw,3.6rem)}h2{font-size:1.8rem}p{margin-bottom:1.2em}.wrap{max-width:var(--max);margin-inline:auto;padding-inline:28px}.sr-only,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;color:var(--navy);padding:12px}.skip-link:focus{top:12px}.site-header{background:linear-gradient(115deg,#073669,var(--navy) 70%);color:white}.topbar{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff20;font-size:11px;letter-spacing:.04em}.social{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;font-weight:700}.social a:hover{color:var(--cyan)}.masthead{position:relative;min-height:140px;display:flex;align-items:center;justify-content:center}.brand-group{display:flex;align-items:center;gap:30px}.brand{display:inline-flex;align-items:center;gap:15px;color:white!important;line-height:.9;white-space:nowrap}.brand strong{display:block;font-weight:900;font-size:60px;letter-spacing:-.065em}.brand b{display:block;letter-spacing:.22em;font-size:19px;margin-top:10px}.compass{width:75px;height:75px;color:var(--cyan)}.brand-tagline{border-left:1px solid #29b8f2;margin:0;padding-left:25px;max-width:185px;font-size:12px;letter-spacing:.13em;text-transform:uppercase;line-height:1.6}.custom-logo-link img{max-width:360px;max-height:100px;object-fit:contain}.search-toggle{position:absolute;right:28px;top:50%;transform:translateY(-50%);color:white}.menu-toggle{display:none;color:white;background:none;border:0;font-size:25px}.navigation{background:var(--blue)}.navigation .menu{list-style:none;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0;padding:0}.navigation .menu>li>a{display:block;padding:15px 17px;font-size:13px;font-weight:700;border-bottom:3px solid transparent}.navigation a:hover,.navigation .current-menu-item>a{color:white;background:#ffffff0c;border-bottom-color:var(--cyan)!important}.navigation .sub-menu{display:none;position:absolute;background:var(--navy);list-style:none;padding:14px;z-index:20}.navigation li:hover>.sub-menu,.navigation li:focus-within>.sub-menu{display:block}.search-panel{display:none;padding-block:22px;background:var(--soft)}.search-panel:target{display:block}.search-form{display:flex;gap:8px;max-width:700px}.search-form label{flex:1;min-width:0}.search-form input{width:100%;padding:14px;border:1px solid var(--line);background:white;color:var(--ink)}.search-form button{border:0;background:var(--blue);color:white;padding:10px 24px;font-weight:700}.ad-slot{margin-block:22px;text-align:center;max-width:100%;overflow:hidden}.ad-disclosure{display:block;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#67758b;margin-bottom:4px}.ad-placeholder{background:repeating-linear-gradient(135deg,#eff2f6,#eff2f6 10px,#e9edf3 10px,#e9edf3 11px);border:1px solid #dde3ec;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#65738a}.ad-placeholder>span{font-size:12px;letter-spacing:.23em}.ad-placeholder small{font-size:10px}.ad-slot img{display:block;margin:auto;max-width:100%;height:auto}.ad-side .ad-placeholder{min-height:250px}.ad-widget>*{max-width:100%}.ad-widget iframe{max-width:100%}.ad-slot:not(:has(.ad-placeholder,.ad-widget,img)){display:none}.latest-bar{display:flex;align-items:center;gap:16px;border-block:1px solid var(--line);font-size:12px;margin:22px 0 18px;padding:10px 0}.latest-bar strong{color:var(--blue);letter-spacing:.1em}.latest-bar a{margin-left:auto;font-size:11px}.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;grid-template-rows:1fr 1fr;margin-bottom:28px}.news-card{min-width:0;background:var(--navy);position:relative;isolation:isolate}.card-link{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:285px;overflow:hidden;color:white!important;height:100%;aspect-ratio:4/3}.card-photo{position:absolute!important;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}.card-link:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(2,17,38,.02) 15%,rgba(3,20,45,.15) 35%,rgba(3,22,50,.9) 75%,#041b3d 100%)}.card-link:hover .card-photo{transform:scale(1.035)}.card-link:hover h2{color:var(--cyan)}.card-copy{padding:24px;max-width:100%}.category{display:inline-block;background:var(--blue);padding:5px 8px;letter-spacing:.07em;font-size:9px;font-weight:800;line-height:1;text-transform:uppercase;color:white;margin-bottom:10px}.card-copy h2{font-size:24px;line-height:1.12;margin:0 0 10px;font-weight:900;text-wrap:balance;overflow-wrap:break-word;color:white;transition:color .15s}.card-meta{font-size:10px;color:#d4e3f9;letter-spacing:.01em}.lead{grid-row:1/3}.lead .card-link{min-height:520px;aspect-ratio:auto}.lead .card-copy{padding:32px}.lead h2{font-size:clamp(30px,3vw,43px);max-width:95%;line-height:1.06}.lead .category{font-size:11px}.secondary .card-link{min-height:252px;aspect-ratio:auto}.secondary .card-copy{padding:20px}.secondary h2{font-size:23px}.secondary .card-meta{font-size:9px}.no-photo{background:radial-gradient(ellipse at 70% 25%,#1162a5,#05182e)}.body-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px;margin-top:35px;margin-bottom:55px}.section-heading{background:linear-gradient(90deg,var(--blue),#0756b6);color:white;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;margin-bottom:18px;border-bottom:3px solid var(--cyan)}.section-heading h2{font-size:20px;letter-spacing:-.02em;margin:0}.section-heading>a,.section-heading>span{font-size:10px;letter-spacing:.03em}.section-heading a:hover{color:var(--cyan)}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.news-grid .card-link{min-height:330px}.news-grid h2{font-size:25px}.category-section{margin-top:40px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact .card-link{min-height:280px}.compact h2{font-size:22px}.sidebar{min-width:0}.sidebar>.ad-slot{margin-top:0}.editor-picks{border:1px solid var(--line);margin-top:28px}.editor-picks .section-heading{margin-bottom:0}.eyebrow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--blue)}.editor-picks>.eyebrow{padding:16px 20px 0;margin-bottom:5px}.editor-picks ol{counter-reset:radar;list-style:none;margin:0;padding:0 18px}.editor-picks li{counter-increment:radar;display:flex;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.4;font-weight:700}.editor-picks li:before{content:counter(radar,decimal-leading-zero);font-size:25px;font-weight:400;line-height:1;color:var(--blue)}.editor-picks li:last-child{border:0}.follow-box{background:var(--navy);color:white;padding:25px;margin-top:25px}.follow-box h2{font-size:24px}.follow-box p{font-size:13px;color:#c1d1e7}.site-footer{background:var(--navy);color:white;border-top:5px solid var(--blue);margin-top:60px}.footer-top{padding-block:45px;display:flex;justify-content:space-between;gap:40px}.footer-top .brand strong{font-size:38px}.footer-top .brand b{font-size:12px}.footer-top .compass{width:50px;height:50px}.footer-top p{font-size:14px;color:#ccdaeb}.footer-bottom{border-top:1px solid #ffffff22;padding-block:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#becde1}.footer-bottom .menu{display:flex;flex-wrap:wrap;gap:18px;list-style:none;padding:0;margin:0}.archive-heading{padding:28px 0}.archive-heading h1{font-size:42px;margin-bottom:15px}.pagination{padding-block:30px}.page-numbers{display:inline-block;padding:9px 14px;background:var(--soft);margin:3px}.page-numbers.current{background:var(--blue);color:white}.empty-state{padding-block:75px;max-width:850px;min-height:40vh}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:44px;margin-top:40px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:20px}.article-header h1{font-size:clamp(32px,4vw,51px);line-height:1.05;margin-bottom:24px}.article-excerpt{font-size:20px;line-height:1.5;color:#536782}.byline{font-size:12px;color:var(--muted);border-block:1px solid var(--line);padding-block:16px}.article-figure{margin:26px 0}.article-figure img{width:100%;height:auto;max-height:600px;object-fit:cover}.article-figure figcaption{font-size:11px;color:var(--muted);padding:9px 0}.entry-content{font-size:19px;line-height:1.8;color:#263b54;overflow-wrap:anywhere}.entry-content h2{font-size:29px;margin-top:35px}.entry-content a,.source-box a{color:#005ccf;text-decoration:underline;text-underline-offset:3px}.entry-content iframe{max-width:100%}.entry-content .wp-block-image{margin-inline:0}.entry-content .alignwide{max-width:100%}.entry-content .aligncenter{display:block;margin-inline:auto}.entry-content .alignleft{float:left;margin:0 20px 20px 0}.entry-content .alignright{float:right;margin:0 0 20px 20px}.entry-content:after{content:'';display:block;clear:both}.wp-caption{max-width:100%}.wp-caption-text{font-size:12px;color:var(--muted)}.sticky,.bypostauthor{outline-offset:0}.share-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0 28px;font-size:11px}.share-links strong{margin-right:8px}.share-links a,.share-links button{background:#edf3fb;border:1px solid var(--line);color:var(--ink);padding:9px 12px;font-size:11px}.source-box{border-left:4px solid var(--blue);background:var(--soft);padding:22px;margin:35px 0;font-size:13px}.source-box p{margin:10px 0}.article-nav{display:flex;justify-content:space-between;gap:25px;font-size:13px;padding:25px 0 40px}.article-nav a{max-width:48%}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-grid h2{font-size:21px}.related-grid .card-link{min-height:280px}.page-content{max-width:900px;padding-block:55px;min-height:50vh}
@media(min-width:1450px){.wrap{max-width:1380px}.hero-grid{gap:20px}.lead .card-link{min-height:560px}}
@media(min-width:761px) and (max-width:1024px){.brand strong{font-size:50px}.hero-grid{grid-template-columns:1.5fr 1fr}.lead .card-link{min-height:510px}.lead h2{font-size:32px}.secondary h2{font-size:20px}.body-grid,.article-layout{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-grid h2{font-size:21px}.card-copy{padding:18px}.navigation .menu>li>a{padding-inline:9px;font-size:12px}.brand-tagline{max-width:150px;font-size:10px}.ad-side .ad-placeholder{min-height:230px}}
@media(max-width:760px){.wrap{padding-inline:16px}.topbar{display:none}.masthead{min-height:88px;justify-content:center;padding-inline:55px}.brand-group{gap:0}.brand{gap:9px}.brand strong{font-size:34px}.brand b{font-size:11px;letter-spacing:.19em;margin-top:6px}.compass{width:43px;height:43px}.brand-tagline{display:none}.custom-logo-link img{max-height:60px;max-width:230px}.menu-toggle{display:block;position:absolute;left:12px;top:50%;transform:translateY(-50%);padding:8px}.search-toggle{right:17px}.navigation{display:none}.navigation.is-open{display:block}.navigation .menu{align-items:stretch;display:flex;flex-direction:column;gap:0;padding-block:8px}.navigation .menu>li>a{padding:12px;border-bottom:1px solid #ffffff22}.navigation .sub-menu{position:static;display:block;background:transparent;padding-block:0}.ad-slot{margin-block:16px}.ad-placeholder{min-height:65px}.ad-placeholder>span{font-size:10px;letter-spacing:.15em}.latest-bar{margin-top:16px;font-size:11px;gap:10px}.hero-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:18px}.lead{grid-row:auto}.lead .card-link,.secondary .card-link{aspect-ratio:9/16;min-height:0}.lead .card-copy,.secondary .card-copy{padding:25px 22px}.lead h2,.secondary h2{font-size:clamp(30px,8.2vw,45px);line-height:1.08;max-width:100%;margin-bottom:15px}.lead .category,.secondary .category{font-size:11px;margin-bottom:15px}.lead .card-meta,.secondary .card-meta{font-size:11px}.card-link:after{background:linear-gradient(180deg,rgba(2,17,38,.01) 10%,rgba(3,20,45,.05) 30%,rgba(3,22,50,.90) 65%,#041b3d 100%)}.body-grid,.article-layout{grid-template-columns:1fr;gap:30px;margin-top:25px}.news-grid,.category-grid,.related-grid{grid-template-columns:1fr;gap:18px}.news-grid .card-link,.compact .card-link{aspect-ratio:9/16;min-height:0}.news-grid .card-copy{padding:25px 22px}.news-grid h2,.compact h2,.related-grid h2{font-size:clamp(29px,8vw,42px);line-height:1.1}.card-meta{font-size:11px}.section-heading h2{font-size:19px}.section-heading>span{display:none}.sidebar .ad-side .ad-placeholder{min-height:250px}.sidebar{margin-top:10px}.editor-picks li{font-size:16px}.footer-top{flex-direction:column;padding-block:30px;gap:25px}.footer-bottom{align-items:flex-start;flex-direction:column;font-size:11px}.site-footer{margin-top:35px}.article-layout{margin-top:25px}.article-header h1{font-size:34px}.article-excerpt{font-size:18px}.entry-content{font-size:18px;line-height:1.8}.article-figure{margin-top:20px}.article-nav{font-size:12px}.archive-heading h1{font-size:33px}.page-content{padding-block:35px}.search-form button{padding-inline:15px}.share-links{gap:7px}.category-section{margin-top:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

.card-copy h2 em{font-style:normal;color:var(--cyan)}.photo-note{position:absolute;top:12px;left:12px;background:#041b3dbb;color:#fff;padding:4px 7px;font-size:9px;letter-spacing:.025em;z-index:2}
/* 1.1: mobile cards and consistent centered containers. */
html{width:100%;min-width:0;background:#fff!important}
html body{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;color:var(--ink)!important;font-family:Arial,Helvetica,sans-serif;text-transform:none}
body .site-header,body .site-footer,body .navigation{width:100%;max-width:none;margin-inline:0}
body .wrap{box-sizing:border-box;width:100%;max-width:var(--max);margin-left:auto!important;margin-right:auto!important;float:none!important}
body .archive-heading,body .archive-heading h1{color:var(--ink)}
body .editor-picks{background:#fff;color:var(--ink)}
body .editor-picks li a{color:var(--ink)}
body .page-content{max-width:900px}
body .empty-state{max-width:850px}
@media(min-width:1450px){body .wrap{max-width:1380px}body .page-content{max-width:900px}body .empty-state{max-width:850px}}
@media(max-width:760px){
 body .masthead{min-height:76px}
 body .ad-top{margin-block:12px}
 body .ad-top .ad-placeholder{min-height:50px}
 body .latest-bar{margin:12px 0;padding:8px 0}
 body .hero-grid{gap:12px;margin-bottom:20px}
 body .hero-grid .card-link,body .news-grid .card-link{aspect-ratio:16/10;min-height:230px;height:100%}
 body .hero-grid .card-copy,body .news-grid .card-copy{padding:18px 16px}
 body .hero-grid .card-copy h2,body .news-grid .card-copy h2{font-size:24px;line-height:1.1;margin-bottom:8px;max-width:100%;text-wrap:pretty}
 body .hero-grid .category,body .news-grid .category{font-size:9px;margin-bottom:8px;padding:4px 7px}
 body .hero-grid .card-meta,body .news-grid .card-meta{font-size:10px}
 body .card-link:after{background:linear-gradient(180deg,rgba(3,20,45,.03) 0%,rgba(3,20,45,.18) 20%,rgba(3,22,50,.9) 55%,#041b3d 100%)}
 body .news-grid,body .category-grid,body .related-grid{gap:14px}
 body .photo-note{top:8px;left:8px;font-size:8px;padding:3px 5px}
}
@media(max-width:360px){body .hero-grid .card-copy h2,body .news-grid .card-copy h2{font-size:22px}}
/* 1.2: clear photos, sticky masthead and banner, RSS headlines. */
.sticky-shell{position:sticky;top:var(--rumbo-admin-top,0px);z-index:999;background:#fff;box-shadow:0 2px 10px #061e4118;max-height:90dvh;overflow-y:auto}
.sticky-shell .topbar{display:none}.sticky-shell .masthead{min-height:86px}.sticky-shell .brand strong{font-size:42px}.sticky-shell .brand b{font-size:14px;margin-top:7px}.sticky-shell .compass{width:56px;height:56px}.sticky-shell .navigation .menu>li>a{padding-block:10px}
.sticky-shell .ad-top{margin-block:7px}.sticky-shell .ad-top .ad-placeholder{min-height:60px}.sticky-shell .ad-top img{max-height:75px;width:auto;object-fit:contain}.sticky-shell .ad-widget{max-height:90px;overflow:auto}
.breaking-bar{display:flex;align-items:stretch;min-width:0;background:#fff5f5;border-block:1px solid #f0c9cc;min-height:38px;overflow:hidden;color:#152b48}
.breaking-label{background:#c7192b;color:#fff;display:flex;align-items:center;gap:7px;padding:8px 15px;flex-shrink:0;font-size:11px;letter-spacing:.04em}.breaking-label svg{width:21px;height:21px;flex-shrink:0}
.breaking-window{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center}.breaking-track{display:flex;gap:32px;width:max-content;animation:rumbo-ticker 60s linear infinite;padding-left:15px}.breaking-track>a{white-space:nowrap;font-size:12px;display:flex;align-items:center;gap:9px}.breaking-track small{font-size:10px;color:#60718a}.breaking-track a:hover{color:#b51226}.breaking-pause{flex-shrink:0;border:0;background:#ffe4e7;color:#9c1526;padding:6px 13px;font-weight:bold}.breaking-bar:hover .breaking-track,.breaking-bar:focus-within .breaking-track,.breaking-bar.is-paused .breaking-track{animation-play-state:paused}
@keyframes rumbo-ticker{from{transform:translateX(0)}to{transform:translateX(-85%)}}
html{scroll-padding-top:var(--rumbo-sticky-height,200px)}
@media(max-width:760px){
 .sticky-shell .masthead{min-height:58px}.sticky-shell .brand strong{font-size:29px}.sticky-shell .brand b{font-size:9px;margin-top:5px}.sticky-shell .compass{width:36px;height:36px}.sticky-shell .custom-logo-link img{max-height:43px;max-width:210px}.sticky-shell .sticky-ad{padding-inline:12px}.sticky-shell .ad-top{margin-block:5px}.sticky-shell .ad-top .ad-placeholder{min-height:45px}.sticky-shell .ad-disclosure{font-size:8px;margin-bottom:1px}.sticky-shell .ad-top img{max-height:55px}.sticky-shell .ad-widget{max-height:60px}
 .breaking-bar{min-height:34px}.breaking-label{font-size:9px;padding:6px 9px;gap:4px}.breaking-label svg{width:17px;height:17px}.breaking-track>a{font-size:11px}.breaking-track small{font-size:9px}.breaking-pause{padding-inline:10px}
 body .latest-bar{display:none}
 body .hero-grid{margin-top:14px}
 body .hero-grid .card-link,body .news-grid .card-link{display:flex;flex-direction:column;justify-content:flex-start;aspect-ratio:auto;min-height:0;height:100%;overflow:visible;background:var(--navy)}
 body .hero-grid .card-photo,body .news-grid .card-photo{position:static!important;inset:auto;width:100%;height:165px;object-fit:cover;flex-shrink:0;z-index:auto;transform:none!important}
 body .hero-grid .card-link:after,body .news-grid .card-link:after{display:none}
 body .hero-grid .card-copy,body .news-grid .card-copy{position:relative;padding:12px 14px 14px;background:linear-gradient(110deg,#082d58,#061e41);flex:1}
 body .hero-grid .card-copy h2,body .news-grid .card-copy h2{font-size:21px;line-height:1.12;margin:0 0 7px;text-wrap:pretty}
 body .hero-grid .category,body .news-grid .category{font-size:8px;margin-bottom:6px}
 body .hero-grid .card-meta,body .news-grid .card-meta{font-size:9px}
 body .photo-note{background:#061e4199;top:8px;font-size:8px}
 .home-main .ad-middle{margin-block:18px}
}
@media(prefers-reduced-motion:reduce){.breaking-track{animation:none}.breaking-window{overflow-x:auto}}

/* 1.3: institutional links and social icons. */
.social svg{width:21px;height:21px;display:block}.social a{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:30px}.institutional-links{display:flex;flex-wrap:wrap;gap:16px 25px;font-size:13px;padding:20px 0}.footer-institutional{border-top:1px solid #ffffff22}.institutional-links a:hover{color:var(--cyan)}.sticky-shell .masthead .social{position:absolute;left:28px;max-width:210px;gap:8px}.masthead-social{display:flex}.footer-top .social{margin-top:15px}@media(max-width:760px){.sticky-shell .masthead .social{display:none}.institutional-links{font-size:12px;gap:14px 20px}}

@media(min-width:761px) and (max-width:1024px){.sticky-shell .masthead .masthead-social{display:none}}
