/* Editorial layout approved 28 September. All rules scoped to Mercados. */
@media(max-width:600px){.markets-mixed .es-brand>a{font-size:clamp(25px,8vw,31px)!important}}
.markets-mixed .es-brand p{margin:9px auto 0!important;background:none!important}
.editorial-market .quote-tile .quote-unit{display:block!important}
.editorial-market .quote-tile strong{margin:4px 0!important}
.editorial-market .quote-tile small{line-height:1.3!important}
.editorial-market .editorial-focus .driver-link strong{-webkit-line-clamp:3}
.editorial-market .editorial-column h3 a{-webkit-line-clamp:2}
.editorial-market .editorial-column .column-dek{-webkit-line-clamp:2}
.markets-mixed{--bg:#061c27;--surface:#0b2330;--surface-2:#09212d;--text:#eef3f4;--text-muted:#afc0ca;--text-faint:#9db5c3;--rule:#294350;--gold:#e6bc57;background:var(--bg);color:var(--text)}
.markets-mixed .wrap{max-width:1540px!important;width:calc(100% - 64px)}
.markets-mixed .article-topbar{display:none}.markets-mixed .es-arena{height:88px;background:transparent;border:0}.markets-mixed .es-brand{padding-top:12px}.markets-mixed .es-brand>a{font-size:46px;line-height:1}.markets-mixed .es-brand p{font-size:9px;margin:9px 0 0;letter-spacing:.28em}.markets-mixed .es-main-nav{padding:10px 24px 12px;font-size:13px;gap:24px}.markets-mixed .es-mast{background:radial-gradient(ellipse at 50% 50%,#0a2737,#061c27 65%)}
.editorial-market{padding:16px 0 0;background:radial-gradient(ellipse at 45% 15%,#0c2b3b55,transparent 55%),#061c27}
.editorial-shell{display:grid;grid-template-columns:minmax(0,3.13fr) minmax(275px,1fr);gap:22px;align-items:start}.editorial-main{min-width:0}.editorial-title{display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--rule);padding:0 0 10px}.editorial-title h1{font:600 clamp(40px,4vw,60px)/1 var(--serif);margin:0;letter-spacing:-.035em}.editorial-title p{font:400 21px/1.3 var(--serif);margin:0;padding-left:20px;border-left:1px solid var(--rule);color:#d3dfe5}
.editorial-market .terminal-ticker{gap:0;padding:12px 0 5px;border-bottom:1px solid var(--rule)}.editorial-market .quote-tile{padding:0 12px;border:0;border-right:1px solid var(--rule);border-radius:0;background:none}.editorial-market .quote-tile:first-child{padding-left:0}.editorial-market .quote-tile:last-child{border-right:0}.editorial-market .quote-tile strong{font:500 20px/1.15 var(--serif);margin:6px 0}.editorial-market .quote-tile .quote-name{font:500 12px/1.2 var(--serif);text-transform:none;letter-spacing:0;color:white}.editorial-market .quote-tile small{font-size:9px;line-height:1.45}.editorial-market .quote-unit{display:inline}.editorial-market .quote-spark,.editorial-market .spark-source{display:none}.editorial-main>.terminal-note{font-size:9px;margin:5px 0;color:#98aebb}.editorial-market .terminal-filters{padding:0 0 7px;margin:9px 0 13px;border:0;border-bottom:1px solid var(--rule);border-radius:0;gap:5px}.editorial-market .terminal-filters button{flex:1 0 auto;min-height:34px;padding:6px 8px;font-size:11px;background:transparent}.editorial-market .terminal-filters button[aria-pressed=true]{background:var(--gold);color:#071722}
.editorial-news{display:grid;grid-template-columns:minmax(0,3.5fr) minmax(175px,1fr);gap:17px}.editorial-stories{min-width:0}.markets-mixed .editorial-market .mercados-hero-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start;padding:0 0 16px;margin:0;border-bottom:1px solid var(--rule)}.markets-mixed .editorial-market .mercados-hero-media img{width:100%;height:270px;object-fit:cover;border-radius:3px}.markets-mixed .editorial-market .mercados-hero-main h2{font:600 clamp(26px,2.45vw,38px)/1.05 var(--serif);letter-spacing:-.015em;margin:9px 0 12px;color:#f6f3ef}.editorial-market .mercados-hero-kicker{font:600 10px/1.4 Arial,sans-serif;color:var(--gold)}.markets-mixed .editorial-market .mercados-hero-main .dek{font:400 17px/1.3 var(--serif);color:#d9e1e6;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.editorial-market .mercados-hero-cta{display:none}.editorial-meta{font:10px/1.5 Arial,sans-serif;color:#9ec2d5;margin-top:13px;letter-spacing:.025em}.editorial-market a:not(.text-action):not(.mercados-hero-cta){color:inherit}.editorial-market a:hover{color:var(--gold)}
.editorial-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;gap:15px}.editorial-column{min-width:0;border-right:1px solid var(--rule);padding-right:15px}.editorial-column:last-child{border:0;padding-right:0}.editorial-column h2{font:600 19px/1.2 var(--serif);margin:0 0 12px}.editorial-column img{width:100%;height:140px;object-fit:cover;border-radius:3px;display:block}.editorial-column h3{font:600 19px/1.15 var(--serif);margin:9px 0 6px}.editorial-column .column-dek{font:12px/1.45 Arial,sans-serif;color:#c5d3da;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.editorial-column .editorial-meta{margin:7px 0 0;font-size:9px}.column-story{border-top:1px solid var(--rule);padding-top:11px;margin-top:13px}.column-story h3{font:600 15px/1.25 var(--serif);margin:0}.editorial-column h3 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.editorial-focus{border-left:1px solid var(--rule);padding-left:16px;min-width:0}.editorial-focus h2{font:600 26px/1.1 var(--serif);margin:0 0 11px}.editorial-focus .driver-link{display:block;padding:13px 0;border-top:1px solid var(--rule)}.editorial-focus .driver-link>span{display:none}.editorial-focus .driver-link strong{font:600 18px/1.23 var(--serif);-webkit-line-clamp:4}.editorial-focus .driver-link small{font-size:9px;line-height:1.4;color:#96bbce;margin-top:9px}
.editorial-rail{border:1px solid var(--rule);border-radius:6px;padding:17px;background:linear-gradient(135deg,#092332aa,#051a25aa);min-width:0}.rail-search{display:block;margin:0 0 14px}.rail-search input{width:100%;height:40px;background:transparent;padding:10px 12px}.editorial-rail .terminal-panel{background:none;border:0;border-top:1px solid var(--rule);border-radius:0;padding:17px 0 0;margin:0}.editorial-rail h2{font:600 25px/1.15 var(--serif)}.editorial-rail .panel-heading{margin-bottom:10px}.editorial-rail #radar .panel-heading>a{display:none}.editorial-rail .radar-row{padding:7px 0;gap:8px;font-size:11px;grid-template-columns:24px 1fr auto}.editorial-rail .radar-row small{font-size:9px}.editorial-rail .radar-row .star{font-size:23px;min-height:28px;min-width:24px}.editorial-rail #radar-status{font-size:10px;line-height:1.5;margin:10px 0 0}.rail-pulse{border-top:1px solid var(--rule);margin-top:18px;padding-top:17px}.rail-pulse .panel-heading{flex-wrap:wrap;gap:8px}.rail-pulse h2{font-size:23px}.rail-pulse .periods{gap:1px}.rail-pulse .periods button{border:0;border-radius:0;background:transparent;min-height:27px;padding:3px 5px;font-size:10px}.rail-pulse .periods button[aria-pressed=true]{color:var(--gold);border-bottom:1px solid var(--gold)}.rail-pulse .terminal-note{margin:3px 0 8px;font-size:10px}.mini-series svg{width:100%;height:auto;display:block}.mini-series svg text{display:none}.mini-series .chart-range{font-size:9px;margin-bottom:8px}.mini-series .mini-price{font:600 20px var(--serif);margin:5px 0}.mini-source{font-size:9px;color:#9bb4c2;line-height:1.5}.terminal .text-action{border:0;background:transparent;color:var(--gold);padding:7px 0;min-height:35px;text-align:left;font-size:12px}.editorial-rail .market-map{margin-top:17px}.editorial-rail .market-map>label{display:block;font-size:10px}.editorial-rail #map-universe{min-height:28px;font-size:10px;padding:5px}.editorial-rail #heatmap{margin-top:10px;gap:6px}.editorial-rail .heat-cell{padding:8px;min-height:60px;background:#104333}.editorial-rail .heat-cell.negative{background:#4a2630}.editorial-rail .heat-cell strong{font-size:12px;margin-bottom:2px}.editorial-rail .heat-cell span{font-size:14px}.editorial-rail .heat-cell small{display:none}.editorial-rail .movers-heading{display:none}.editorial-rail .mover-tabs{margin-top:12px}.editorial-rail .mover-tabs button{font-size:10px;padding:4px 8px;min-height:28px}.editorial-rail .mover-row{font-size:11px;padding:8px 0}.editorial-rail #map-note{font-size:9px;line-height:1.5;margin:10px 0 0}.editorial-rail .empty-state{font-size:11px;min-height:50px!important;padding:10px 0}
.editorial-market .terminal-agenda{border-block:1px solid var(--rule);margin-top:22px;background:#0a2230;padding:22px 0}.editorial-market .markets-agenda{display:grid;grid-template-columns:230px 1fr;gap:4px 20px}.editorial-market .markets-agenda h2{grid-column:1;font-size:29px;margin:0}.editorial-market .markets-agenda>p:first-of-type{grid-column:1;font-size:11px}.editorial-market .agenda-events{grid-column:2;grid-row:1/span 3;grid-template-columns:repeat(3,1fr);margin:0;gap:10px}.editorial-market .agenda-events li{border:1px solid var(--rule);border-radius:4px;padding:12px}.editorial-market .agenda-events li:nth-child(n+4){display:none}.editorial-market .agenda-events a{font-size:12px;padding-bottom:0}.editorial-market .agenda-events time{font-size:11px}.editorial-market .agenda-source{grid-column:1/-1;margin-top:10px;font-size:10px!important}.editorial-market .markets-agenda>a{grid-column:1;font-size:11px;padding:0;color:var(--gold)}
.editorial-data{padding:28px 0!important}.editorial-data .quotes-panel{background:transparent}.editorial-data .asset-search{max-width:450px}.editorial-data .terminal-table-scroll{max-height:460px}.editorial-data .terminal-method{padding-bottom:15px}.editorial-market .mercados-latest-section{padding:12px 0 28px!important;border:0}.editorial-market .mercados-latest-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.editorial-market .article-card{background:transparent}.editorial-market .article-card .card-thumb{border-radius:3px}.editorial-market .article-card h3{font:600 22px/1.2 var(--serif)}.editorial-market .markets-learn{padding-bottom:30px}.editorial-market .markets-learn details{background:#0b2330;border-color:var(--rule)}.editorial-market .markets-learn summary{font-size:21px}.markets-mixed footer{background:#061822;border-color:var(--rule)}.markets-mixed footer .footer-name{color:#f0f4f4}
#chart-dialog{width:min(950px,calc(100% - 32px));max-height:92vh;overflow:auto;background:#071e2b;color:#e9eff2;border:1px solid #476170;border-radius:8px;padding:20px;box-shadow:0 25px 100px #000a}#chart-dialog::backdrop{background:#020b13d9;backdrop-filter:blur(4px)}#chart-dialog .terminal-panel{border:0;padding:12px 0 0}#chart-dialog .dialog-toolbar{display:flex;justify-content:space-between;align-items:center;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:.1em}#chart-dialog .terminal-chart{min-height:0}#chart-dialog .terminal-chart svg{max-height:330px}#chart-dialog .dialog-toolbar button{font-size:12px}.editorial-market .latest-toggle{display:block;margin:22px auto 0}.markets-mixed [hidden]{display:none!important}.markets-mixed{scrollbar-color:#49606c #071e29}.markets-mixed .es-main-nav,.terminal-table-scroll,.terminal-filters{scrollbar-width:thin;scrollbar-color:#49606c #071e29}
@media(min-width:1600px){.markets-mixed .editorial-market .mercados-hero-media img{height:295px}.editorial-column img{height:165px}}
@media(max-width:1200px){.editorial-shell{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.editorial-news{grid-template-columns:minmax(0,1fr) 175px;gap:13px}.markets-mixed .editorial-market .mercados-hero-main{grid-template-columns:1fr}.markets-mixed .editorial-market .mercados-hero-media img{height:220px}.markets-mixed .editorial-market .mercados-hero-main h2{font-size:30px}.editorial-title{align-items:start}.editorial-title p{font-size:18px}.editorial-market .terminal-ticker{grid-template-columns:repeat(3,1fr);gap:12px 0}.editorial-market .quote-tile:nth-child(3){border:0}.editorial-market .quote-tile:nth-child(4){padding-left:0}.editorial-column{padding-right:10px}.editorial-columns{gap:10px}.editorial-column img{height:100px}.editorial-column h3{font-size:17px}.editorial-focus .driver-link strong{font-size:17px}.editorial-market .markets-agenda{grid-template-columns:170px 1fr}}
@media(max-width:900px){.editorial-shell{grid-template-columns:1fr}.editorial-news{grid-template-columns:minmax(0,3fr) minmax(165px,1fr)}.markets-mixed .editorial-market .mercados-hero-main{grid-template-columns:1.1fr 1fr}.markets-mixed .editorial-market .mercados-hero-media img{height:250px}.editorial-rail{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editorial-rail .rail-search{grid-column:1/-1;margin:0}.editorial-rail #radar{grid-row:2/span 2}.rail-pulse{margin-top:0}.editorial-rail .market-map{margin-top:0;grid-column:2}.editorial-title p{font-size:21px}.editorial-market .terminal-ticker{grid-template-columns:repeat(6,1fr)}.editorial-market .quote-tile:nth-child(3){border-right:1px solid var(--rule)}.editorial-market .quote-tile:nth-child(4){padding-left:12px}.editorial-column img{height:125px}.editorial-market .mercados-latest-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.markets-mixed .wrap{width:calc(100% - 32px)}.markets-mixed .es-arena{height:77px}.markets-mixed .es-brand>a{font-size:31px}.markets-mixed .es-brand p{font-size:8px;letter-spacing:.22em}.markets-mixed .es-main-nav{font-size:12px;gap:20px;padding:8px 16px 10px}.editorial-market{padding-top:16px}.editorial-title{display:block}.editorial-title h1{font-size:43px}.editorial-title p{border:0;padding:0;margin-top:8px;font-size:17px}.editorial-market .terminal-ticker{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0;gap:15px 0}.editorial-market .quote-tile{padding:0 8px}.editorial-market .quote-tile:nth-child(3){border-right:0}.editorial-market .quote-tile:nth-child(4){padding-left:0}.editorial-market .quote-tile strong{font-size:18px}.editorial-market .quote-tile small{font-size:8px}.editorial-market .quote-tile .quote-name{font-size:12px}.editorial-market .terminal-filters button{padding:6px 13px}.editorial-news{grid-template-columns:1fr}.markets-mixed .editorial-market .mercados-hero-main{grid-template-columns:1fr;gap:14px}.markets-mixed .editorial-market .mercados-hero-media img{height:auto;aspect-ratio:1.7}.markets-mixed .editorial-market .mercados-hero-main h2{font-size:33px;line-height:1.05;margin:9px 0}.markets-mixed .editorial-market .mercados-hero-main .dek{font-size:18px;-webkit-line-clamp:4}.editorial-meta{margin-top:9px}.editorial-columns{grid-template-columns:1fr;gap:22px;margin-top:20px}.editorial-column{border-right:0;border-bottom:1px solid var(--rule);padding:0 0 18px}.editorial-column img{height:auto;aspect-ratio:1.9}.editorial-column h2{font-size:23px}.editorial-column h3{font-size:23px}.editorial-column .column-dek{font-size:13px}.column-story h3{font-size:19px}.editorial-focus{padding:0;border:0;margin-top:8px}.editorial-focus .driver-link strong{font-size:21px}.editorial-focus .driver-link{padding:14px 0}.editorial-rail{display:block;padding:16px}.editorial-rail .rail-search{margin-bottom:16px}.editorial-rail .radar-row{padding:12px 0}.rail-pulse{margin-top:20px}.editorial-rail .market-map{margin-top:20px}.editorial-market .markets-agenda{display:block}.editorial-market .markets-agenda h2{font-size:28px}.editorial-market .agenda-events{display:grid;grid-template-columns:1fr;margin:16px 0}.editorial-market .agenda-events li{display:block}.editorial-market .agenda-events li:nth-child(n+4){display:none}.editorial-market .mercados-latest-grid{grid-template-columns:1fr 1fr;gap:20px 15px}.editorial-market .article-card h3{font-size:20px}#chart-dialog{padding:14px}.editorial-market .quotes-panel{padding:15px}.editorial-market .terminal-table-scroll table{min-width:510px}}

/* Approved photographic masthead and article thumbnails — Mercados only. */
.markets-mixed .es-mast .es-arena{height:205px;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,rgba(6,28,39,.10) 0%,rgba(6,28,39,.18) 35%,rgba(6,28,39,.72) 80%,#061c27 100%),url('/mercados-cabecera-bolsa-v1.jpg') center 43%/cover no-repeat}
.markets-mixed .es-mast .es-brand{padding:0 12px 13px;width:100%;text-shadow:0 2px 12px #001018}
.markets-mixed .es-mast .es-main-nav{background:#061c27}
.editorial-market .editorial-focus .driver-link .focus-thumb{display:block;width:100%;height:auto;aspect-ratio:20/9;object-fit:cover;border-radius:3px;margin:0 0 9px;background:#0b2330}
@media(max-width:600px){.markets-mixed .es-mast .es-arena{height:160px;background-position:61% 43%}.markets-mixed .es-mast .es-brand{padding-bottom:15px}.editorial-market .editorial-focus .driver-link .focus-thumb{aspect-ratio:20/9;margin-bottom:10px}}

/* Same topbar markup, links and data hooks as the home page. */
.markets-mixed .es-mast .site-topbar{--text:#111820;--text-muted:#5f6872;--gold:#876c1a;color:var(--text-muted);padding:7px 0;font-size:11px;background:linear-gradient(#f3f8fcd9,#f3f8fcd9),url('/header-masthead-bg.jpg') center top/cover}
.markets-mixed .es-mast .site-topbar-inner{gap:10px}
.markets-mixed .es-mast .site-topbar-right{flex-wrap:wrap}
@media(max-width:1250px){.markets-mixed .site-topbar-tagline{display:none}}
@media(max-width:640px){.markets-mixed .es-mast .site-topbar{background:#edf3f7}.markets-mixed .es-mast .site-topbar-inner{justify-content:center}.markets-mixed .es-mast .site-topbar-right{justify-content:center;gap:6px 10px}.markets-mixed .site-topbar .reader-counter{flex-basis:100%;justify-content:center}.markets-mixed .site-topbar .reader-counter+.topbar-sep{display:none}.markets-mixed .site-topbar .social-proof-label{display:inline}.markets-mixed .site-topbar .site-topbar-cta{padding:6px 10px}}

/* Five stories per column, each with its own article image. */
.editorial-market .editorial-column .column-story img{height:auto;aspect-ratio:20/9;object-fit:cover;margin-bottom:9px}
.markets-mixed .site-topbar .nav-cta-label{display:inline}

/* Section title belongs inside the photographic masthead, like Economia. */
.markets-mixed .es-mast .es-arena{height:230px;position:relative;display:block}
.markets-mixed .es-mast .es-brand{padding:20px 12px 0}
.markets-mixed .es-arena-label{position:absolute;bottom:20px;left:max(32px,calc((100% - 1540px)/2));right:32px;color:#eef3f4;text-shadow:0 2px 12px #001018}
.markets-mixed .es-arena-label h1{font:700 38px/1 var(--serif);letter-spacing:-.035em;margin:0 0 8px}
.markets-mixed .es-arena-label p{font:400 14px/1.4 var(--sans,Arial,sans-serif);margin:0}
@media(max-width:600px){.markets-mixed .es-mast .es-arena{height:215px}.markets-mixed .es-mast .es-brand{padding-top:20px}.markets-mixed .es-arena-label{left:16px;right:16px}.markets-mixed .es-arena-label h1{font-size:32px}.markets-mixed .es-arena-label p{font-size:12px}}
