/* Devengado · paleta 2: azul tinta y perla.
   Se carga después de site-theme.css. El azul más oscuro se usa para texto
   pequeño sobre perla; los colores de suba/baja de mercados no se modifican. */
:root {
  --bg: #f3f4f2;
  --surface: #ffffff;
  --surface-2: #eaf0f2;
  --text: #162d48;
  --text-muted: #496171;
  --text-faint: #607583;
  --gold: #4e7185;
  --gold-brand: #51758a;
  --blue: #4e7185;
  --rule: #d9e1e3;
  --community-ink: #162d48;
  --community-gold: #4e7185;
  --community-line: #d9e1e3;
  --community-paper: #f3f4f2;
  --r-ink: #162d48;
  --r-mid: #496171;
  --r-muted: #607583;
  --r-gold: #4e7185;
  --r-gold-bright: #4e7185;
  --r-paper: #f3f4f2;
  --r-line: #d9e1e3;
}

html:not([data-theme="dark"]) body {
  background-color: var(--bg);
  color: var(--text);
}
html:not([data-theme="dark"]) .site-theme-toggle:focus-visible,
html:not([data-theme="dark"]) :focus-visible {
  outline-color: #4e7185;
}

/* La topbar común lleva un fondo fotográfico y dorados propios: neutralizarlos
   sin alterar las fotos editoriales ni la nueva imagen de la cabecera. */
html:not([data-theme="dark"]) body .devengado-topbar {
  --text: #162d48;
  --text-muted: #496171;
  --gold: #4e7185;
  background: #dce4e7 !important;
  color: #162d48 !important;
  border-bottom-color: #c9d6dc !important;
}
html:not([data-theme="dark"]) body .devengado-topbar :is(.site-topbar-place,.site-topbar-datetime,.site-topbar-weather,.site-topbar-tagline,.reader-counter,.social-proof,.social-proof-label,.social-proof-suffix) {
  color: #162d48 !important;
}
html:not([data-theme="dark"]) body .devengado-topbar :is(.reader-counter strong,.social-proof strong,.site-topbar-cta) {
  color: #4e7185 !important;
}
html:not([data-theme="dark"]) body .devengado-topbar .reader-counter-icon {
  fill: #4e7185 !important;
}
html:not([data-theme="dark"]) body .devengado-topbar .site-topbar-cta {
  border-color: #51758a !important;
}
html:not([data-theme="dark"]) body .devengado-topbar .topbar-sep {
  background: #aebfc8 !important;
}
html:not([data-theme="dark"]) :is(.site-nav-bar,.article-masthead,.article-nav-main,.article-mobile-nav) {
  background-color: #ffffff;
  border-color: var(--rule);
}
html:not([data-theme="dark"]) :is(.site-nav-bar a.active,.article-primary-nav a.active,.article-mobile-nav a.active) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .article-wordmark .mhw-a {
  color: #162d48;
}
html:not([data-theme="dark"]) .article-wordmark .mhw-b {
  color: #51758a;
}
html:not([data-theme="dark"]) footer:not(.rigi-footer) {
  --bg: #162d48;
  --surface: #213a53;
  --text: #edf4f8;
  --text-muted: #c3d3dc;
  --text-faint: #a9c0cd;
  --rule: #416077;
  --gold: #9fc6d5;
  background-color: #162d48;
  color: #edf4f8;
  border-color: #416077;
}

/* Portada: conservar intacta la foto de Buenos Aires; solo recolorear el
   marco, la marca y los módulos que aún tenían dorado fijo. */
html:not([data-theme="dark"]) .home-renewed .masthead-band {
  background-color: #e8edf0;
}
html:not([data-theme="dark"]) .home-renewed .masthead-hero-wordmark .mhw-a,
html:not([data-theme="dark"]) .home-renewed .masthead-hero-tagline,
html:not([data-theme="dark"]) .home-renewed .masthead-hero-tagline .mht-light {
  color: #162d48;
}
html:not([data-theme="dark"]) .home-renewed .masthead-hero-wordmark .mhw-b {
  color: #51758a;
}
html:not([data-theme="dark"]) .home-renewed .masthead-hero-tagline .mht-gold,
html:not([data-theme="dark"]) .home-agenda strong,
html:not([data-theme="dark"]) .home-recent .kicker,
html:not([data-theme="dark"]) .home-recent > a,
html:not([data-theme="dark"]) .home-five small,
html:not([data-theme="dark"]) .home-important .kicker,
html:not([data-theme="dark"]) .home-sections-links a:hover,
html:not([data-theme="dark"]) .home-now-head > a,
html:not([data-theme="dark"]) .home-now-kicker,
html:not([data-theme="dark"]) .home-archive-item-kicker,
html:not([data-theme="dark"]) .home-archive-item:hover .home-archive-item-title {
  color: #4e7185;
}
html:not([data-theme="dark"]) .home-recent {
  border-top-color: #51758a;
}
html:not([data-theme="dark"]) .home-archive-more {
  border-color: #51758a;
  color: #4e7185;
}
html:not([data-theme="dark"]) .home-archive-more:hover {
  background: #51758a;
  color: #ffffff;
}
html:not([data-theme="dark"]) body.home-renewed .home-explore-v2 {
  background: var(--bg);
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.explore-heading h2,.explore-all,.explore-promise h3,.home-support h2) {
  color: var(--text);
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.explore-all:hover,.explore-all:focus-visible,.explore-promise h3 em,.home-support h2 em,.home-support-title > small) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .home-explore-v2 .explore-promise {
  border-color: var(--rule);
  background: linear-gradient(90deg,#f3f4f2 0%,#f3f4f2ed 22%,#f3f4f200 37%,#f3f4f200 47%,#f3f4f2f2 57%,#f3f4f2 74%),url('/home-globo-argentina-v1.png') center 53%/cover no-repeat;
  color: var(--text);
}
html:not([data-theme="dark"]) .home-explore-v2 .explore-promise-label svg {
  stroke: #51758a;
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.explore-promise a:hover,.explore-promise-action a:hover) {
  background: #51758a;
  color: #ffffff;
}
html:not([data-theme="dark"]) .home-explore-v2 .home-support {
  background: radial-gradient(circle at 93% 23%,#f8fafb,#e8eef0 65%);
  border-color: var(--rule);
}
html:not([data-theme="dark"]) .home-explore-v2 .home-support-title {
  border-color: #bbcbd2;
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.home-support-action a,.explore-newsletter-action a) {
  background: #51758a;
  color: #ffffff;
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.home-support-action a:hover,.explore-newsletter-action a:hover) {
  background: #355b70;
  color: #ffffff;
}
html:not([data-theme="dark"]) .home-explore-v2 .explore-newsletter {
  background: #ffffff;
  border-color: var(--rule);
  color: var(--text);
}
html:not([data-theme="dark"]) .home-explore-v2 :is(.explore-newsletter-kicker,.explore-newsletter h3 em) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .home-explore-v2 .explore-newsletter-kicker span {
  border-color: #91aeba;
}
html:not([data-theme="dark"]) .home-explore-v2 .explore-newsletter-visual::after {
  background: linear-gradient(90deg,#ffffff,transparent 40%);
}

/* Secciones: el cuerpo y las superficies siguen la misma tinta y perla.
   Se dejan intactas las fotos de héroes y los colores semánticos de cotizaciones. */
html:not([data-theme="dark"]) body:is(.agro-page,.economy-renewed,.empresas-renewed,.tech-renewed,.sports-editorial,.markets-mixed,.crypto-page,.newsletter-page,.rigi-atlas-page) {
  background-color: var(--bg);
  color: var(--text);
}
html:not([data-theme="dark"]) body.agro-page {
  --agro: #4e7185;
}
html:not([data-theme="dark"]) body.agro-page .agro-editorial-header,
html:not([data-theme="dark"]) body.agro-page .agro-page-header {
  background-color: #ffffff;
  border-color: var(--rule);
}
html:not([data-theme="dark"]) body.agro-page .agro-editorial-brand,
html:not([data-theme="dark"]) body.agro-page .agro-main-feature h2 {
  color: var(--text);
}
html:not([data-theme="dark"]) body.agro-page .agro-editorial-brand span {
  color: #51758a;
}
html:not([data-theme="dark"]) body.economy-renewed {
  --economy-accent: #4e7185;
}
html:not([data-theme="dark"]) body.bcra-page {
  --gold: #4e7185;
  --ink: #162d48;
}
html:not([data-theme="dark"]) body.indec-page {
  --indec-gold: #4e7185;
  --indec-ink: #162d48;
}
html:not([data-theme="dark"]) body:is(.empresas-renewed,.tech-renewed,.sports-editorial) :is(.article-topbar,.article-nav-main),
html:not([data-theme="dark"]) body.sports-editorial .es-mast {
  background-color: var(--bg);
  color: var(--text);
}
html:not([data-theme="dark"]) body.indec-page footer {
  background-color: #162d48;
  color: #edf4f8;
}
html:not([data-theme="dark"]) body.indec-page footer :is(.footer-name,.footer-tagline,.footer-support-msg) {
  color: #edf4f8;
}

/* Atlas RIGI: superficies editoriales azules; mapa, fotos y estados de
   aprobación conservan su significado. */
html:not([data-theme="dark"]) body.rigi-atlas-page {
  background-color: var(--r-paper);
  color: var(--r-ink);
}
html:not([data-theme="dark"]) .atlas-site-masthead,
html:not([data-theme="dark"]) .rigi-projects-section {
  background-color: var(--r-paper);
}
html:not([data-theme="dark"]) .atlas-site-nav,
html:not([data-theme="dark"]) .rigi-table th {
  background-color: #ffffff;
  border-color: var(--r-line);
  color: var(--r-ink);
}
html:not([data-theme="dark"]) .atlas-site-nav a.active,
html:not([data-theme="dark"]) .atlas-site-nav a:hover,
html:not([data-theme="dark"]) .rigi-section-head .rigi-kicker,
html:not([data-theme="dark"]) .atlas-index-intro > .rigi-kicker,
html:not([data-theme="dark"]) .atlas-index-section-head .rigi-kicker {
  color: #4e7185;
}
html:not([data-theme="dark"]) .rigi-table tbody tr:hover {
  background-color: #edf4f6;
}
html:not([data-theme="dark"]) .rigi-site-header,
html:not([data-theme="dark"]) .rigi-footer {
  background-color: #162d48;
}
html:not([data-theme="dark"]) :is(.rigi-site-header,.rigi-hero,.rigi-footer,.atlas-project-map-card) {
  --r-gold-bright: #9fc6d5;
}
html:not([data-theme="dark"]) .rigi-hero {
  background: radial-gradient(ellipse at 78% 39%,#304e69 0%,#162d48 43%,#0e1a29 80%);
}
html:not([data-theme="dark"]) .rigi-hero-trust b,
html:not([data-theme="dark"]) .rigi-hero-vertical,
html:not([data-theme="dark"]) .atlas-project-map-card .rigi-kicker {
  color: #9fc6d5;
}

/* Invitaciones al newsletter: azul de marca, sin modificar errores ni éxitos. */
.dv-newsletter-modal {
  background-color: #162d48;
  border-color: #7da3b5;
}
.dv-newsletter-close {
  background-color: #162d48b3;
}
.dv-newsletter-close:hover {
  background-color: #0e1a29;
}
.dv-newsletter-brand span,
.dv-newsletter-kicker,
.dv-newsletter-modal h2 em,
.dv-newsletter-topics span::before,
.dv-newsletter-consent a {
  color: #9fc6d5;
}
.dv-newsletter-rule {
  background: #9fc6d5;
}
.dv-newsletter-fields input {
  border-color: #9fc6d5;
}
.dv-newsletter-consent input {
  accent-color: #51758a;
}
.dv-newsletter-fields button {
  background: #51758a;
  border-color: #51758a;
  color: #ffffff;
}
.dv-newsletter-fields button:hover {
  background: #355b70;
}
.dv-newsletter-topics {
  border-bottom-color: #7192a3;
}

/* Modo oscuro de la misma familia, con azul claro legible sobre tinta. */
html[data-theme="dark"] {
  --bg: #0e1a29;
  --surface: #182a3d;
  --surface-2: #21374d;
  --text: #edf4f8;
  --text-muted: #c3d3dc;
  --text-faint: #b0c3cf;
  --gold: #9fc6d5;
  --gold-brand: #9fc6d5;
  --blue: #9fc6d5;
  --rule: #354c61;
  --community-ink: #edf4f8;
  --community-gold: #9fc6d5;
  --community-line: #354c61;
  --community-paper: #0e1a29;
  --r-ink: #edf4f8;
  --r-mid: #c3d3dc;
  --r-muted: #b0c3cf;
  --r-gold: #9fc6d5;
  --r-gold-bright: #9fc6d5;
  --r-paper: #0e1a29;
  --r-line: #354c61;
}
html[data-theme="dark"] body .devengado-topbar {
  --gold: #9fc6d5;
  background: #12263a !important;
  color: #edf4f8 !important;
  border-bottom-color: #354c61 !important;
}
html[data-theme="dark"] body .devengado-topbar :is(.site-topbar-place,.site-topbar-datetime,.site-topbar-weather,.site-topbar-tagline,.reader-counter,.social-proof,.social-proof-label,.social-proof-suffix) {
  color: #d5e2e8 !important;
}
html[data-theme="dark"] body .devengado-topbar :is(.reader-counter strong,.social-proof strong,.site-topbar-cta) {
  color: #9fc6d5 !important;
}
html[data-theme="dark"] body .devengado-topbar .reader-counter-icon {
  fill: #9fc6d5 !important;
}
html[data-theme="dark"] body .devengado-topbar .site-topbar-cta {
  border-color: #9fc6d5 !important;
}
html[data-theme="dark"] footer:not(.rigi-footer) {
  --bg: #0b1522;
  --surface: #172a3d;
  --text: #edf4f8;
  --text-muted: #c3d3dc;
  --text-faint: #a9c0cd;
  --rule: #354c61;
  --gold: #9fc6d5;
  background-color: #0b1522;
  color: #edf4f8;
  border-color: #354c61;
}
html[data-theme="dark"] .home-renewed .masthead-band {
  background-color: #0e1a29;
}
html[data-theme="dark"] .home-renewed .masthead-hero-wordmark .mhw-a,
html[data-theme="dark"] .home-renewed .masthead-hero-tagline .mht-light {
  color: #edf4f8;
}
html[data-theme="dark"] .home-renewed .masthead-hero-tagline .mht-gold,
html[data-theme="dark"] .home-recent .kicker,
html[data-theme="dark"] .home-important .kicker,
html[data-theme="dark"] .home-archive-item-kicker {
  color: #9fc6d5;
}
html[data-theme="dark"] .home-recent {
  border-top-color: #7192a3;
}
html[data-theme="dark"] body.home-renewed .home-explore-v2 {
  background: var(--bg);
}
html[data-theme="dark"] .home-explore-v2 .home-support {
  background: #182a3d;
  border-color: var(--rule);
}
html[data-theme="dark"] .home-explore-v2 :is(.explore-promise h3 em,.home-support h2 em,.explore-newsletter h3 em,.home-support-title > small) {
  color: #9fc6d5;
}
html[data-theme="dark"] .home-explore-v2 :is(.home-support-action a,.explore-newsletter-action a) {
  background: #9fc6d5;
  color: #0e1a29;
}
html[data-theme="dark"] .home-explore-v2 :is(.home-support-action a:hover,.explore-newsletter-action a:hover) {
  background: #bedce6;
  color: #0e1a29;
}
html[data-theme="dark"] body:is(.agro-page,.economy-renewed,.empresas-renewed,.tech-renewed,.sports-editorial,.markets-mixed,.crypto-page,.newsletter-page,.rigi-atlas-page) {
  background-color: var(--bg);
  color: var(--text);
}
html[data-theme="dark"] body.agro-page {
  --agro: #9fc6d5;
}
html[data-theme="dark"] body.economy-renewed {
  --economy-accent: #9fc6d5;
}
html[data-theme="dark"] body.bcra-page {
  --gold: #9fc6d5;
  --ink: #edf4f8;
}
html[data-theme="dark"] body.indec-page {
  --indec-gold: #9fc6d5;
  --indec-ink: #edf4f8;
}
html[data-theme="dark"] .rigi-site-header,
html[data-theme="dark"] .rigi-footer,
html[data-theme="dark"] .rigi-hero {
  background-color: #0e1a29;
}
html[data-theme="dark"] .rigi-hero-trust b,
html[data-theme="dark"] .rigi-hero-vertical {
  color: #9fc6d5;
}

@media (max-width: 760px) {
  html:not([data-theme="dark"]) .home-explore-v2 .explore-promise {
    background: linear-gradient(180deg,#f3f4f2f2 0%,#f3f4f2df 37%,#f3f4f2df 65%,#f3f4f2f5 100%),url('/home-globo-argentina-v1.png') center/cover no-repeat;
  }
}

/* Atlas: los estados legales conservan sus colores; el oro decorativo pasa a acero. */
html:not([data-theme="dark"]) .rigi-hero::before,
html:not([data-theme="dark"]) .rigi-map-panel::before,
html:not([data-theme="dark"]) .atlas-map-main::before {
  background-image: linear-gradient(#9fc6d514 1px,transparent 1px),linear-gradient(90deg,#9fc6d514 1px,transparent 1px);
}
html:not([data-theme="dark"]) .rigi-hero::after {
  border-color: #9fc6d540;
  box-shadow: 0 0 0 70px #9fc6d507,0 0 0 140px #9fc6d505;
}
html:not([data-theme="dark"]) .rigi-hero-aside,
html:not([data-theme="dark"]) .rigi-hero-stats div,
html:not([data-theme="dark"]) .rigi-hero-aside p,
html:not([data-theme="dark"]) .atlas-detail-facts div {
  border-color: #9fc6d56a;
}
html:not([data-theme="dark"]) .rigi-primary-button,
html:not([data-theme="dark"]) .atlas-map-views button[aria-pressed="true"] {
  background: #9fc6d5;
  color: #0e1a29;
}
html:not([data-theme="dark"]) .rigi-primary-button:hover {
  background: #bedce6;
  color: #0e1a29;
}
html:not([data-theme="dark"]) .rigi-secondary-button:hover,
html:not([data-theme="dark"]) .rigi-hero-trust b {
  border-color: #9fc6d5;
}
html:not([data-theme="dark"]) .rigi-scope,
html:not([data-theme="dark"]) .rigi-watchlist,
html:not([data-theme="dark"]) .atlas-history-related {
  background: #e6ecef;
  border-color: #c6d5dc;
}
html:not([data-theme="dark"]) .rigi-scope-indicator,
html:not([data-theme="dark"]) .atlas-entity-history li::before {
  background: #51758a;
}
html:not([data-theme="dark"]) :is(.rigi-map-sidebar-title>span,.rigi-watchlist span,.rigi-result-count,.rigi-coverage .rigi-section-head a,.rigi-story>div:last-child>span,.rigi-story a,.atlas-history-teaser .rigi-section-head>a,.atlas-history-grid time,.atlas-history-list-item time,.atlas-history-all,.atlas-history-project-link,.atlas-history-related a,.atlas-history-sources a,.atlas-guide-trigger,.atlas-mode-tabs button:hover,.atlas-province-strip strong,.atlas-map-credit a,.atlas-bar-row strong,.atlas-search-results small,.atlas-timeline .rigi-section-head>strong,.atlas-event time,.atlas-index-grid small,.atlas-crumbs a,.atlas-entity-page .rigi-kicker,.atlas-entity-history time,.atlas-entity-cards span,.atlas-project-tags span,.atlas-project-quickfacts dt,.atlas-project-sources .rigi-kicker,.atlas-project-sources li>span,.rigi-dialog-eyebrow) {
  color: #4e7185 !important;
}
html:not([data-theme="dark"]) :is(.rigi-controls button,.rigi-open,.rigi-dialog,.atlas-guide,.atlas-search-results,.atlas-entity-links a,.atlas-project-tags span) {
  border-color: #8eacba;
}
html:not([data-theme="dark"]) :is(.rigi-controls button:hover,.rigi-open:hover,.atlas-province-strip a:hover,.atlas-province-strip a.is-selected,.atlas-search-results a:hover,.atlas-search-results a.is-active) {
  background: #e5eef1;
  border-color: #8eacba;
}
html:not([data-theme="dark"]) :is(.rigi-story,.atlas-history-grid article,.atlas-index-grid>div) {
  border-top-color: #51758a;
}
html:not([data-theme="dark"]) .rigi-story-placeholder,
html:not([data-theme="dark"]) .atlas-detail-label,
html:not([data-theme="dark"]) .atlas-detail-facts strong,
html:not([data-theme="dark"]) .atlas-map-detail>a,
html:not([data-theme="dark"]) .atlas-entity-map a {
  color: #9fc6d5;
}
html:not([data-theme="dark"]) .rigi-province.has-projects,
html:not([data-theme="dark"]) .atlas-map-fallback .rigi-province.has-projects {
  fill: #486c7e;
  stroke: #9fc6d5;
}
/* El mapa ilustrado es un SVG externo con oro incrustado: teñir solo ese SVG. */
html:not([data-theme="dark"]) .rigi-hero-map img {
  filter: grayscale(1) sepia(1) saturate(1.5) hue-rotate(160deg) drop-shadow(0 20px 26px #020b14b8);
}
html:not([data-theme="dark"]) .rigi-map-marker circle,
html:not([data-theme="dark"]) .atlas-project-map-marker circle:first-child {
  fill: #9fc6d5;
  stroke: #dff0f5;
  filter: drop-shadow(0 0 7px #9fc6d5);
}
html:not([data-theme="dark"]) .atlas-project-map-land path.selected {
  fill: #51758a;
  stroke: #b9d9e4;
}
html:not([data-theme="dark"]) .atlas-project-map-marker circle:last-child {
  fill: #e2f1f5;
  stroke: #51758a;
}
html:not([data-theme="dark"]) .atlas-marker,
html:not([data-theme="dark"]) .atlas-legend-dot {
  background: #9fc6d5;
  border-color: #e2f1f5;
  box-shadow: 0 2px 11px #04121aba,0 0 0 5px #9fc6d535;
}
html:not([data-theme="dark"]) .atlas-marker:is(:hover,.is-selected) {
  background: #ffffff;
}
html:not([data-theme="dark"]) .atlas-map-main .maplibregl-ctrl-attrib a {
  color: #9fc6d5;
}
html:not([data-theme="dark"]) .atlas-bar-track i {
  background: linear-gradient(90deg,#365a68,#9fc6d5);
}
html:not([data-theme="dark"]) .atlas-site-nav a.active {
  box-shadow: inset 0 -2px #51758a;
}
html:not([data-theme="dark"]) .atlas-mode-tabs button[aria-pressed="true"] {
  border-bottom-color: #51758a;
  background: #e5eef1;
}
html:not([data-theme="dark"]) .atlas-project-tags span:first-child {
  background: #51758a;
  border-color: #51758a;
  color: #ffffff !important;
}
html:not([data-theme="dark"]) .atlas-project-map-card>a,
html:not([data-theme="dark"]) .atlas-detail-projects a:is(:hover,:focus-visible) {
  border-color: #9fc6d5;
}
html:not([data-theme="dark"]) .atlas-project-map-card>a:hover {
  background: #9fc6d5;
  color: #0e1a29;
}
html:not([data-theme="dark"]) :is(.atlas-entity-history,.atlas-entity-caveat,.rigi-dialog-note) {
  border-color: #51758a;
}
html:not([data-theme="dark"]) :is(.atlas-entity-facts,.atlas-entity-caveat,.rigi-dialog-note) {
  background: #eaf0f2;
}

/* Acentos editoriales de Agro, Deportes y Newsletter; precios y estados no cambian. */
html:not([data-theme="dark"]) body.agro-page :is(.agro-editorial-actions>a:hover,.agro-main-nav a:hover,.agro-quotes-eyebrow,.agro-quote-link,.agro-quote-note a,.agro-main-feature .kicker,.agro-heading a,.agro-card .kicker,.agro-live-head a,.agro-side-head>a,.agro-market-source a,.agro-mostread-list b,.agro-load-more) {
  color: #4e7185;
}
html:not([data-theme="dark"]) body.agro-page .agro-editorial-actions .agro-support {
  background: #51758a;
  color: #ffffff;
}
html:not([data-theme="dark"]) body.agro-page .agro-editorial-actions .agro-support:hover {
  background: #355b70;
}
html:not([data-theme="dark"]) body.agro-page .agro-main-nav>a[aria-current="page"]::after,
html:not([data-theme="dark"]) body.agro-page .agro-heading::after {
  background: #51758a;
}
html:not([data-theme="dark"]) body.agro-page .agro-quotes {
  background: #eaf0f2;
  border-color: #ccd9de;
}
html:not([data-theme="dark"]) body.agro-page :is(.agro-quote-weather,.agro-topics [aria-current="true"],a.agro-quote:hover) {
  background: #eaf0f2;
  border-color: #9db7c3;
}
html:not([data-theme="dark"]) body.agro-page .agro-topics svg {
  stroke: #51758a;
}
html:not([data-theme="dark"]) body.agro-page :is(.agro-load-more,a.agro-quote:hover) {
  border-color: #51758a;
}
html:not([data-theme="dark"]) body.agro-page .agro-load-more:hover {
  background: #eaf0f2;
}
html:not([data-theme="dark"]) body.agro-page :is(.agro-atlas-card .agro-side-head a,.agro-atlas-stats strong,.agro-atlas-card p a) {
  color: #9fc6d5;
}
html:not([data-theme="dark"]) .sports-editorial :is(.es-brand span,.es-brand em) {
  color: #9fc6d5;
}
html:not([data-theme="dark"]) .sports-editorial :is(.es-main-nav a[href='/deportes'],.es-arena-label .kicker,.sports-lead .es-feature .kicker,.sports-section-line span,.sports-section-line a,.sports-tools-heading>span,.hub-tabs button[aria-current="page"],.sd-nav a[aria-current="page"],.sd-nav a:hover,.sports-more-news summary) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .sports-editorial .es-main-nav a[href='/deportes']::after {
  background: #51758a;
}
html:not([data-theme="dark"]) .sports-editorial :is(.sports-section-line,.hub-editorial .es-latest-head) {
  border-top-color: #51758a;
}
html:not([data-theme="dark"]) .sports-editorial :is(.hub-tabs button[aria-current="page"],.sd-nav a[aria-current="page"]) {
  border-bottom-color: #51758a;
}
html:not([data-theme="dark"]) .sports-editorial .sports-more-news summary {
  border-color: #8eacba;
}
html:not([data-theme="dark"]) .sports-editorial .sports-more-news summary:hover {
  background: #eaf0f2;
}
html:not([data-theme="dark"]) .newsletter-page :is(.hero-copy .eyebrow,.hero-copy h1 em,.delivery-icon,.subscriber-note strong) {
  color: #9fc6d5;
}
html:not([data-theme="dark"]) .newsletter-page .hero-copy .eyebrow-rule,
html:not([data-theme="dark"]) .newsletter-page .signup-card::before {
  background: #9fc6d5;
}
html:not([data-theme="dark"]) .newsletter-page :is(.card-kicker,.inside-kicker,.item-number,.inside-link,.how-inner li span,.data-copy a,.consent-row a) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .newsletter-page :is(#newsletter-submit,#confirm-button) {
  background: #51758a;
  border-color: #51758a;
  color: #ffffff;
}
html:not([data-theme="dark"]) .newsletter-page :is(#newsletter-submit:hover:not(:disabled),#confirm-button:hover:not(:disabled)) {
  background: #355b70;
}
html:not([data-theme="dark"]) .newsletter-page .inside-card:hover {
  border-color: #51758a;
}

/* Otras secciones con oro fijo en títulos, navegación y separadores. */
html:not([data-theme="dark"]) .tech-renewed {
  --tech-gold: #4e7185;
  --tech-ink: #162d48;
  --tech-paper: #f3f4f2;
}
html:not([data-theme="dark"]) .tech-renewed .tech-reading {
  background: #eaf0f2;
}
html:not([data-theme="dark"]) .tech-renewed .tech-watch-number {
  color: #4e7185;
}
html:not([data-theme="dark"]) .empresas-renewed :is(.biz-brand span,.biz-brand-tagline span,.biz-filters button[aria-pressed="true"],.biz-filter-state,.biz-kicker,.biz-read,.biz-agenda small,.biz-company-row span,.biz-reset,.article-primary-nav a.active) {
  color: #4e7185 !important;
}
html:not([data-theme="dark"]) .empresas-renewed .biz-filters button[aria-pressed="true"] {
  border-bottom-color: #51758a;
}
html:not([data-theme="dark"]) .empresas-renewed :is(.biz-filters button:hover,.biz-card a:hover) {
  border-color: #51758a;
  text-decoration-color: #51758a;
}
html:not([data-theme="dark"]) .empresas-renewed :is(.biz-company-row>a:hover,.biz-company-row a[aria-current="page"]) {
  background: #eaf0f2;
}
html:not([data-theme="dark"]) .empresas-renewed .biz-heading {
  border-bottom-color: #8eacba;
}
html:not([data-theme="dark"]) .crypto-page :is(.masthead-hero-wordmark .mhw-b,.masthead-hero-tagline .mht-gold,.crypto-title-row h1,.crypto-prices-title h2,.crypto-lead small,.crypto-side-story small,.crypto-mostread-num,.crypto-mostread-copy small,.crypto-quick-nav span,.crypto-section-head>a,.crypto-section-head>span,.crypto-latest time) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .crypto-page :is(.crypto-lead:hover h2,.crypto-mostread-item:hover strong,.crypto-latest-story:hover strong,.crypto-topic a:hover h3,.crypto-side-story:hover h3) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .crypto-page :is(.crypto-topic,.crypto-mostread,.crypto-latest) {
  border-top-color: #51758a;
}
html:not([data-theme="dark"]) .crypto-page .crypto-quick-nav a:is(:hover,:focus-visible) {
  background: #eaf0f2;
}
html:not([data-theme="dark"]) .indec-page :is(.es-brand span,.es-brand em,.indec-kicker,.indec-calendar-row b,.indec-calendar-row time,.indec-box>a,.indec-method a,.indec-footer a,.indec-subnav a[aria-current],.indec-subnav a:hover) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .indec-page :is(.indec-card,.indec-subnav a[aria-current],.indec-subnav a:hover) {
  border-color: #51758a;
}
html:not([data-theme="dark"]) .bcra-page :is(.es-brand span,.es-brand em) {
  color: #4e7185;
}
html:not([data-theme="dark"]) .bcra-page :is(.bcra-kpi,.bcra-jumps,.bcra-news-list) {
  border-color: #8eacba;
}
html:not([data-theme="dark"]) .markets-mixed .es-main-nav [aria-current] {
  color: #4e7185;
  border-bottom-color: #51758a;
}

/* Los mismos acentos en modo oscuro, con contraste sobre tinta. */
html[data-theme="dark"] .rigi-hero::before,
html[data-theme="dark"] .rigi-map-panel::before,
html[data-theme="dark"] .atlas-map-main::before {
  background-image: linear-gradient(#9fc6d514 1px,transparent 1px),linear-gradient(90deg,#9fc6d514 1px,transparent 1px);
}
html[data-theme="dark"] .rigi-hero-map img {
  filter: grayscale(1) sepia(1) saturate(1.5) hue-rotate(160deg) drop-shadow(0 20px 26px #020b14b8);
}
html[data-theme="dark"] :is(.rigi-hero-vertical,.rigi-hero-trust b,.rigi-map-panel-head strong,.rigi-map-sidebar-title>span,.rigi-result-count,.rigi-story-placeholder,.atlas-detail-label,.atlas-detail-facts strong,.atlas-map-detail>a,.atlas-entity-map a,.atlas-project-map-card .rigi-kicker,.atlas-project-map-card>a,.atlas-project-sources .rigi-kicker) {
  color: #9fc6d5 !important;
}
html[data-theme="dark"] :is(.rigi-primary-button,.atlas-map-views button[aria-pressed="true"]) {
  background: #9fc6d5;
  color: #0e1a29;
}
html[data-theme="dark"] .rigi-primary-button:hover {
  background: #bedce6;
}
html[data-theme="dark"] .rigi-province.has-projects,
html[data-theme="dark"] .atlas-map-fallback .rigi-province.has-projects {
  fill: #486c7e;
  stroke: #9fc6d5;
}
html[data-theme="dark"] .rigi-map-marker circle,
html[data-theme="dark"] .atlas-project-map-marker circle:first-child {
  fill: #9fc6d5;
  stroke: #dff0f5;
}
html[data-theme="dark"] .atlas-project-map-land path.selected {
  fill: #51758a;
  stroke: #b9d9e4;
}
html[data-theme="dark"] .atlas-marker,
html[data-theme="dark"] .atlas-legend-dot {
  background: #9fc6d5;
  border-color: #e2f1f5;
}
html[data-theme="dark"] .agro-page :is(.agro-atlas-card .agro-side-head a,.agro-atlas-stats strong,.agro-atlas-card p a),
html[data-theme="dark"] .sports-editorial :is(.es-brand span,.es-brand em),
html[data-theme="dark"] .newsletter-page :is(.hero-copy .eyebrow,.hero-copy h1 em,.delivery-icon,.subscriber-note strong) {
  color: #9fc6d5;
}
html[data-theme="dark"] .newsletter-page :is(#newsletter-submit,#confirm-button) {
  background: #9fc6d5;
  border-color: #9fc6d5;
  color: #0e1a29;
}
html[data-theme="dark"] .tech-renewed {
  --tech-gold: #9fc6d5;
}
