:root{
  --kd-atlas-green:#0f7540;
  --kd-atlas-green-2:#176d38;
  --kd-atlas-green-3:#388e3c;
  --kd-atlas-lime:#76c900;
  --kd-atlas-ink:#263238;
  --kd-atlas-muted:#657269;
  --kd-atlas-page:#f7faf7;
  --kd-atlas-card:#ffffff;
  --kd-atlas-soft:#edf5ee;
  --kd-atlas-line:#dfe8e0;
  --kd-atlas-gold:#d7a728;
  --kd-atlas-ocean:#071d2d;
}
html,body.kd-standalone-atlas-template{margin:0;background:var(--kd-atlas-page);color:var(--kd-atlas-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.kd-atlas-page main.kd-atlas-template-main,body.kd-standalone-atlas-template main.kd-atlas-template-main{min-height:calc(100vh - 80px)!important;width:100%!important;box-sizing:border-box;background:linear-gradient(180deg,#f4f9f4 0,#fbfdfb 46%,#f7faf7 100%)!important;color:var(--kd-atlas-ink)!important;padding:22px 24px 34px!important}
.kd-atlas-app{max-width:1540px;margin:0 auto}
.kd-atlas-header{display:flex;align-items:center;justify-content:space-between;gap:26px;background:linear-gradient(135deg,#ffffff 0%,#f4faf4 100%);border:1px solid var(--kd-atlas-line);border-radius:22px;padding:20px 22px;box-shadow:0 10px 30px rgba(31,74,41,.055);margin-bottom:14px}
.kd-atlas-title-block{min-width:0}.kd-atlas-kicker{display:inline-flex;align-items:center;gap:7px;font-size:10px;line-height:1;letter-spacing:.14em;color:var(--kd-atlas-green);font-weight:900;text-transform:uppercase}.kd-atlas-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--kd-atlas-lime);box-shadow:0 0 0 4px rgba(118,201,0,.12)}
.kd-atlas-title-row{display:flex;align-items:center;gap:10px;margin-top:7px}.kd-atlas-orbit-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--kd-atlas-green);color:#fff;font-size:26px;box-shadow:0 7px 18px rgba(15,117,64,.17)}.kd-atlas-header h1{margin:0;font-size:clamp(34px,4.2vw,58px);letter-spacing:-.055em;line-height:.95;color:#263238}.kd-atlas-header p{margin:9px 0 0;max-width:800px;color:var(--kd-atlas-muted);font-size:14px;line-height:1.55}
.kd-atlas-header-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.kd-atlas-header-actions a,.kd-atlas-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #cfe0d2;border-radius:12px;color:#155c33;text-decoration:none;background:#fff;font-weight:900;font-size:13px;letter-spacing:-.01em;box-shadow:0 3px 10px rgba(31,74,41,.045)}.kd-atlas-header-actions a:hover,.kd-atlas-btn:hover{background:#edf6ef;border-color:#8fb59a;color:#114d2a}.kd-atlas-header-actions a:visited,.kd-atlas-btn:visited{color:#155c33}.kd-atlas-header-actions .kd-atlas-action-primary,.kd-atlas-header-actions .kd-atlas-action-primary:visited{background:#0d6f3a;border-color:#0d6f3a;color:#fff!important;box-shadow:0 8px 20px rgba(13,111,58,.18)}.kd-atlas-header-actions .kd-atlas-action-primary:hover{background:#09592d;border-color:#09592d;color:#fff!important}
.kd-atlas-toolbar{display:grid;grid-template-columns:minmax(250px,1.65fr) repeat(4,minmax(135px,.68fr)) auto;gap:10px;background:#fff;border:1px solid var(--kd-atlas-line);padding:12px;border-radius:17px;box-shadow:0 7px 22px rgba(31,74,41,.04)}.kd-atlas-toolbar label{display:grid;gap:6px}.kd-atlas-toolbar label>span{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:#36543d;font-weight:900}.kd-atlas-toolbar input,.kd-atlas-toolbar select,.kd-atlas-toolbar button{min-height:44px;border-radius:11px;border:1px solid #cfdcd1;background:#fbfdfb;color:#1e2f25;padding:0 12px;box-sizing:border-box;outline:none;font-size:14px;font-weight:600}.kd-atlas-toolbar input::placeholder{color:#6d8273;opacity:1}.kd-atlas-toolbar input:focus,.kd-atlas-toolbar select:focus{border-color:#63a576;box-shadow:0 0 0 3px rgba(15,117,64,.1)}.kd-atlas-toolbar button{cursor:pointer;font-weight:900;background:#edf6ef;color:#13592f;border-color:#bfd7c4}.kd-atlas-toolbar button:hover{background:#e3f1e6}
.kd-atlas-layers{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 14px}.kd-atlas-layers label{display:flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #d2e1d4;background:#fff;border-radius:999px;font-size:12.5px;color:#284031;font-weight:900;cursor:pointer;box-shadow:0 2px 7px rgba(31,74,41,.03)}.kd-atlas-layers label:hover{border-color:#97bb9f;background:#f4faf5}.kd-atlas-layers input{accent-color:var(--kd-atlas-green)}
.kd-atlas-stage{display:grid;grid-template-columns:1fr;gap:14px;min-height:0}
.kd-atlas-globe-wrap{position:relative;isolation:isolate;min-height:640px;border:1px solid #224c38;background:radial-gradient(circle at 50% 43%,#123d31 0,#0b241e 35%,#06150f 68%,#04100b 100%);border-radius:22px;overflow:hidden;touch-action:none;box-shadow:0 18px 45px rgba(15,55,34,.15)}.kd-atlas-space-glow{position:absolute;z-index:0;left:50%;top:50%;width:min(75%,760px);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(90,181,110,.18) 0,rgba(52,127,74,.09) 38%,transparent 68%);filter:blur(14px);pointer-events:none}
#kd-atlas-globe{position:absolute;z-index:1;inset:0;width:100%;height:100%;display:block}.kd-atlas-flat-earth{position:absolute;inset:8%;width:84%;height:84%;object-fit:contain;border-radius:50%;z-index:1}.kd-atlas-map-fallback-note{position:absolute;z-index:8;left:50%;bottom:52px;transform:translateX(-50%);max-width:80%;padding:9px 13px;border-radius:12px;background:rgba(4,18,11,.82);color:#fff;font-size:12px;font-weight:800;text-align:center}.kd-atlas-globe-wrap .maplibregl-map,.kd-atlas-globe-wrap .maplibregl-canvas-container,.kd-atlas-globe-wrap .maplibregl-canvas{width:100%;height:100%}.kd-atlas-globe-wrap .maplibregl-canvas{outline:none}.kd-atlas-globe-wrap .maplibregl-ctrl-top-right{top:52px;right:10px}.kd-atlas-globe-wrap .maplibregl-ctrl-group{overflow:hidden;border-radius:11px;box-shadow:0 5px 16px rgba(0,0,0,.25)}.kd-atlas-globe-wrap .maplibregl-ctrl-group button{width:34px;height:34px}.kd-atlas-globe-wrap .maplibregl-ctrl-scale{margin-left:14px;margin-bottom:13px;background:rgba(255,255,255,.88);border-color:#244b36;color:#173f24;font-weight:800}.kd-atlas-globe-wrap .maplibregl-ctrl-attrib{font-size:9px;background:rgba(255,255,255,.84)}
.kd-atlas-marker-layer{position:absolute;z-index:4;inset:0;pointer-events:none}.kd-atlas-marker{--kd-marker-color:#2f8d46;position:absolute;width:22px;height:22px;padding:0;border:0;background:transparent;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 4px 8px rgba(0,0,0,.45));transition:filter .15s ease}.kd-atlas-marker:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:50%}.kd-atlas-marker:hover,.kd-atlas-marker.is-selected{filter:drop-shadow(0 5px 11px rgba(0,0,0,.55))}.kd-atlas-marker-core{position:absolute;inset:3px;border-radius:50%;background:var(--kd-marker-color);border:2px solid #fff;box-shadow:0 0 0 4px rgba(255,255,255,.18),0 0 16px var(--kd-marker-color)}.kd-atlas-marker.is-selected .kd-atlas-marker-core{box-shadow:0 0 0 5px rgba(255,255,255,.30),0 0 19px var(--kd-marker-color)}.kd-atlas-marker-count{position:absolute;right:-8px;top:-8px;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#fff;color:#22402e;border:1px solid #dce8de;font:900 9px/15px system-ui;text-align:center;box-shadow:0 3px 9px rgba(0,0,0,.28)}
.kd-atlas-globe-help{position:absolute;z-index:6;left:14px;bottom:13px;color:#eef8f1;font-size:11px;background:rgba(4,18,11,.78);border:1px solid rgba(214,236,220,.22);padding:8px 12px;border-radius:999px;font-weight:700;backdrop-filter:blur(8px);pointer-events:none}.kd-atlas-counter{position:absolute;z-index:6;right:14px;top:13px;background:rgba(4,18,11,.78);color:#ffffff;border:1px solid rgba(214,236,220,.24);padding:8px 12px;border-radius:999px;font-size:11px;font-weight:900;backdrop-filter:blur(8px);pointer-events:none}
.kd-atlas-panel{border:1px solid var(--kd-atlas-line);background:linear-gradient(180deg,#ffffff 0%,#fbfdfb 100%);border-radius:22px;padding:20px;overflow:visible;box-shadow:0 12px 34px rgba(31,74,41,.055)}.kd-atlas-panel-empty{min-height:150px;display:grid;place-content:center;text-align:center;color:#4d6355;padding:24px}.kd-atlas-panel-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:16px;background:#edf6ee;color:var(--kd-atlas-green);font-size:27px}.kd-atlas-panel-empty strong{color:#213229;font-size:24px;line-height:1.2}.kd-atlas-panel-empty p{font-size:14px;line-height:1.65;margin:9px auto 0;max-width:280px;color:#5c7264}.kd-atlas-panel-kicker{font-size:10px;letter-spacing:.12em;color:#246940;font-weight:900}.kd-atlas-panel h2{margin:6px 0 4px;font-size:29px;letter-spacing:-.03em;color:#213229}.kd-atlas-place-meta{font-size:12px;color:#5f7165;margin-bottom:14px}.kd-atlas-rel{padding:14px 0;border-top:1px solid #e4ece5}.kd-atlas-rel:first-of-type{border-top:0}.kd-atlas-rel-head{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.kd-atlas-chip{font-size:10px;letter-spacing:.08em;font-weight:900;padding:5px 8px;border-radius:999px}.kd-atlas-chip-neutral{background:#edf1ed;color:#526057}.kd-atlas-chip-origenes{background:#fff4d2;color:#8a6b00}.kd-atlas-chip-cepas{background:#e8f5eb;color:#176d38}.kd-atlas-chip-bancos{background:#e8f2f8;color:#356f97}.kd-atlas-chip-documentos{background:#f2ebf7;color:#744c94}.kd-atlas-chip-hitos{background:#f8ece7;color:#ad5031}.kd-atlas-rel h3{font-size:15px;margin:8px 0 4px;color:#213229}.kd-atlas-rel p{font-size:13px;color:#55685b;line-height:1.6;margin:4px 0}.kd-atlas-rel-period{font-weight:900;color:#274734!important}.kd-atlas-rel a{color:#0f7540;font-weight:900;text-decoration:none}.kd-atlas-rel a:hover{text-decoration:underline}
.kd-atlas-method{margin-top:12px;padding:12px 14px;border-left:4px solid var(--kd-atlas-green);background:#f0f7f1;color:#50695b;font-size:12px;line-height:1.6;border-radius:0 11px 11px 0}.kd-atlas-method strong{color:#234f2d}.kd-atlas-empty{max-width:800px;margin:15vh auto;background:#fff;border:1px solid var(--kd-atlas-line);border-radius:22px;padding:31px;color:#263238!important;box-shadow:0 18px 55px rgba(31,74,41,.08)}.kd-atlas-empty h1{font-size:50px;margin:0 0 10px}.kd-atlas-empty p{color:#657269!important;font-size:14px;line-height:1.6}
/* El acceso privado a ATLAS clona la entrada de Genealogías para conservar exactamente la estética del menú. */
.kd-atlas-sidebar-link a{color:inherit}.kd-atlas-sidebar-link a[href*="/atlas/"]{font-weight:700}

.kd-atlas-toolbar select{font-weight:700}.kd-atlas-sidebar-link,.kd-atlas-sidebar-link a{font-weight:700} .kd-atlas-sidebar-link .count,.kd-atlas-sidebar-link .beta{font-weight:800}
@media(max-width:1100px){.kd-atlas-panel{min-height:180px;max-height:none}.kd-atlas-globe-wrap{min-height:62vh}.kd-atlas-toolbar{grid-template-columns:1fr 1fr}.kd-atlas-search{grid-column:1/-1}.kd-atlas-rel-grid{grid-template-columns:1fr}}
@media(max-width:720px){body.kd-atlas-page main.kd-atlas-template-main,body.kd-standalone-atlas-template main.kd-atlas-template-main{padding:12px!important}.kd-atlas-header{align-items:flex-start;flex-direction:column;padding:16px;border-radius:17px}.kd-atlas-header-actions{width:100%}.kd-atlas-header-actions a{flex:1}.kd-atlas-toolbar{grid-template-columns:1fr}.kd-atlas-search{grid-column:auto}.kd-atlas-layers{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.kd-atlas-layers label{flex:0 0 auto}.kd-atlas-globe-wrap{min-height:58vh;border-radius:18px}.kd-atlas-panel{border-radius:18px;max-height:none;padding:15px}.kd-atlas-globe-help{max-width:67%;white-space:normal;border-radius:10px;line-height:1.35}.kd-atlas-title-row{align-items:center}.kd-atlas-orbit-icon{width:34px;height:34px;font-size:22px}.kd-atlas-header h1{font-size:39px}.kd-atlas-stage{gap:10px}.kd-atlas-rel-meta{grid-template-columns:1fr}}

/* v1.40.1064: MapLibre gestiona proyección, zoom y clustering; se retira el overlay manual que causaba deformación y solapes. */
.kd-atlas-marker-layer{display:none!important}

/* v1.40.1068: detalle debajo del mapa; el mapa conserva siempre el ancho completo. */
.kd-atlas-panel-place{padding-bottom:14px;border-bottom:1px solid #e2ebe4}.kd-atlas-panel-place h2{font-size:30px;margin:5px 0 3px}.kd-atlas-rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.kd-atlas-rel-grid .kd-atlas-rel{border:1px solid #e1ebe3;border-radius:16px;padding:16px;background:#fff;min-width:0}.kd-atlas-rel-grid .kd-atlas-rel:first-of-type{border-top:1px solid #e1ebe3}.kd-atlas-source-summary{font-size:14px!important;line-height:1.65!important;color:#334a3b!important}.kd-atlas-rel-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 0}.kd-atlas-rel-meta div{padding:9px 10px;background:#f3f8f4;border:1px solid #e0eae2;border-radius:10px}.kd-atlas-rel-meta dt{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#587061}.kd-atlas-rel-meta dd{margin:3px 0 0;font-size:12px;line-height:1.45;color:#273b2f;font-weight:700}.kd-atlas-source-link{margin-top:12px!important}.kd-atlas-source-link a{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:10px;background:#edf7ef;border:1px solid #cde1d1}.kd-atlas-source-link a:hover{background:#e2f2e5;text-decoration:none}.kd-atlas-globe-wrap{min-height:690px}

/* v1.40.1068 · detalle inferior y legibilidad reforzada */
.kd-atlas-globe-wrap{width:100%;box-shadow:0 16px 42px rgba(12,50,27,.16)}.kd-atlas-panel{width:100%;box-sizing:border-box}.kd-atlas-source-summary{max-width:92ch}.kd-atlas-rel h3{font-size:16px}.kd-atlas-place-meta{font-weight:650}.kd-atlas-method{font-size:12.5px}.maplibregl-canvas{outline:none}

/* v1.40.1068 · interacción MapLibre restaurada y blindada */
#kd-atlas-globe,#kd-atlas-globe.maplibregl-map,#kd-atlas-globe .maplibregl-canvas-container,#kd-atlas-globe .maplibregl-canvas{pointer-events:auto!important;touch-action:none!important}
#kd-atlas-globe .maplibregl-canvas-container{cursor:grab}
#kd-atlas-globe .maplibregl-canvas-container:active{cursor:grabbing}
#kd-atlas-globe .maplibregl-control-container,#kd-atlas-globe .maplibregl-ctrl,#kd-atlas-globe .maplibregl-ctrl button{pointer-events:auto!important}

/* v1.40.1068 · texto limpio, navegación punto → ficha y mapa con mayor presencia cromática */
.kd-atlas-panel{scroll-margin-top:205px}
.kd-atlas-panel-place{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.kd-atlas-back-map{flex:0 0 auto;border:1px solid #bfd8c4;background:#eef8f0;color:#145c32;border-radius:11px;padding:10px 13px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 3px 10px rgba(18,79,43,.08)}
.kd-atlas-back-map:hover,.kd-atlas-back-map:focus-visible{background:#def1e2;border-color:#8fc49b;outline:none}
.kd-atlas-globe-wrap{border-color:#1c6840;box-shadow:0 18px 48px rgba(10,66,38,.20)}
.kd-atlas-counter{background:rgba(4,36,19,.88);border-color:rgba(222,247,229,.32)}
.kd-atlas-globe-help{background:rgba(4,36,19,.86);border-color:rgba(222,247,229,.30)}
@media(max-width:720px){.kd-atlas-panel-place{flex-direction:column}.kd-atlas-back-map{width:100%;justify-content:center}}

/* v1.40.1070 · cada marcador representa una relación ATLAS concreta. */
.kd-atlas-rel-grid-single{grid-template-columns:minmax(0,1fr)!important}
.kd-atlas-rel-grid-single .kd-atlas-rel-single{width:100%;max-width:none}

/* v1.40.1088 · FASE 1 · ATLAS como puerta geográfica al bloque CONOCIMIENTO. */
.kd-atlas-app{--kd-atlas-ink:#173226;--kd-atlas-deep:#0b2b1a;--kd-atlas-green:#13733f;--kd-atlas-lime:#d7f24f;--kd-atlas-gold:#d6ab49;--kd-atlas-soft:#f3f8f3;--kd-atlas-cream:#fbf6e8}
.kd-atlas-world .kd-atlas-header h1,.kd-atlas-country-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
.kd-atlas-world .kd-atlas-header p,.kd-atlas-country-hero p{color:#e5f2e9!important;-webkit-text-fill-color:#e5f2e9!important}
.kd-atlas-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.kd-atlas-entry-grid button{appearance:none;border:1px solid #cfe0d2;background:linear-gradient(145deg,#fff 0%,#f4f9f4 100%);border-radius:16px;padding:17px 18px;text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(25,73,42,.06);transition:.18s ease;color:var(--kd-atlas-ink)}
.kd-atlas-entry-grid button:hover,.kd-atlas-entry-grid button:focus-visible{transform:translateY(-2px);border-color:#93c39d;box-shadow:0 12px 28px rgba(25,73,42,.11);outline:none}
.kd-atlas-entry-grid strong{display:block;font-size:16px;margin-bottom:4px;color:#164c2e}.kd-atlas-entry-grid span{display:block;font-size:12.5px;line-height:1.45;color:#607366}
.kd-atlas-country-directory{margin-top:18px;padding:22px;border:1px solid #d8e5da;background:linear-gradient(180deg,#fff 0%,#f7faf7 100%);border-radius:22px;box-shadow:0 12px 34px rgba(31,74,41,.05);scroll-margin-top:135px}
.kd-atlas-section-heading{margin-bottom:15px}.kd-atlas-section-heading>span{display:block;color:#1a7442;font-size:10px;letter-spacing:.12em;font-weight:900;margin-bottom:5px}.kd-atlas-section-heading h2{margin:0;color:#183024;font-size:26px;line-height:1.15;letter-spacing:-.025em}.kd-atlas-section-heading p{margin:7px 0 0;color:#617267;font-size:13.5px;line-height:1.6;max-width:920px}
.kd-atlas-country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kd-atlas-country-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid #dfe9e1;background:#fff;border-radius:14px;color:#20382a;text-decoration:none!important;transition:.16s ease}.kd-atlas-country-card:hover{border-color:#9fcaa7;box-shadow:0 7px 20px rgba(25,76,43,.08);transform:translateY(-1px)}.kd-atlas-country-card strong{display:block;font-size:14px;color:#173b27}.kd-atlas-country-card span{display:block;margin-top:3px;font-size:11.5px;color:#718176}.kd-atlas-country-card b{display:grid;place-items:center;min-width:34px;height:34px;padding:0 6px;border-radius:999px;background:#e8f4ea;color:#17643a;font-size:11px}
.kd-atlas-world .kd-atlas-globe-wrap{min-height:650px}.kd-atlas-world .kd-atlas-panel{min-height:150px}
.kd-atlas-breadcrumb{display:flex;align-items:center;gap:8px;margin:2px 0 12px;font-size:12px;color:#6b7e71}.kd-atlas-breadcrumb a{color:#17683b;font-weight:900;text-decoration:none}.kd-atlas-breadcrumb strong{color:#24392d}
.kd-atlas-country-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:28px;align-items:center;padding:28px;border-radius:22px;background:linear-gradient(112deg,rgba(5,38,20,.98),rgba(14,86,46,.94)),radial-gradient(circle at 80% 25%,rgba(215,242,79,.16),transparent 35%);box-shadow:0 18px 48px rgba(10,66,38,.20);overflow:hidden}
.kd-atlas-country-hero h1{margin:7px 0 9px;font-size:46px;line-height:1;letter-spacing:-.04em}.kd-atlas-country-hero p{margin:0;max-width:760px;font-size:14px;line-height:1.7}.kd-atlas-country-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kd-atlas-country-stats div{padding:14px;border:1px solid rgba(233,255,238,.16);background:rgba(0,0,0,.16);border-radius:14px}.kd-atlas-country-stats b{display:block;color:var(--kd-atlas-lime);-webkit-text-fill-color:var(--kd-atlas-lime);font-size:25px;line-height:1}.kd-atlas-country-stats span{display:block;margin-top:5px;color:#ecf7ef;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.kd-atlas-country-tabs{display:flex;gap:7px;overflow:auto;margin:14px 0;padding:7px;border:1px solid #dbe6dd;background:#fff;border-radius:15px;box-shadow:0 8px 22px rgba(31,74,41,.05)}.kd-atlas-country-tabs button{appearance:none;border:0;background:transparent;color:#4f6557;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.kd-atlas-country-tabs button span{margin-left:5px;padding:2px 6px;border-radius:999px;background:#edf3ee;font-size:10px}.kd-atlas-country-tabs button.is-active{background:#126f3e;color:#fff;-webkit-text-fill-color:#fff}.kd-atlas-country-tabs button.is-active span{background:rgba(255,255,255,.18);color:#fff}
.kd-atlas-tab-panel{display:none;padding:22px;border:1px solid #dce7de;background:#fff;border-radius:20px;box-shadow:0 12px 34px rgba(31,74,41,.05)}.kd-atlas-tab-panel.is-active{display:block}.kd-atlas-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.kd-atlas-summary-grid article{padding:18px;border-radius:16px;background:linear-gradient(145deg,#eff7f0,#fff);border:1px solid #dce8de}.kd-atlas-summary-grid span{font-size:9px;font-weight:900;letter-spacing:.13em;color:#247044}.kd-atlas-summary-grid strong{display:block;font-size:30px;color:#153d27;margin:4px 0}.kd-atlas-summary-grid p{margin:0;color:#65796b;font-size:12.5px}
.kd-atlas-place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kd-atlas-place-grid article{display:grid;gap:5px;padding:14px;border:1px solid #e0e9e2;border-radius:14px;background:#fbfdfb}.kd-atlas-place-grid article>span{font-size:8.5px;letter-spacing:.1em;font-weight:900;color:#7c8f81}.kd-atlas-place-grid strong{font-size:14px;color:#203d2b}.kd-atlas-place-grid small{font-size:11px;color:#6d8173;min-height:16px}.kd-atlas-place-grid b{font-size:10.5px;color:#126d3d}
.kd-atlas-country-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kd-atlas-country-item{padding:16px;border:1px solid #dde8df;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdfb)}.kd-atlas-country-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.kd-atlas-country-item-place{font-size:10px;color:#6e8174;font-weight:800}.kd-atlas-country-item h3{margin:9px 0 5px;color:#1d3828;font-size:16px}.kd-atlas-country-item p{margin:5px 0;color:#52675a;font-size:12.5px;line-height:1.6}.kd-atlas-country-item .kd-atlas-country-item-meta{color:#274934;font-weight:800;font-size:11px}.kd-atlas-country-item a{display:inline-flex;margin-top:7px;color:#0f7540;font-size:11.5px;font-weight:900;text-decoration:none}.kd-atlas-country-empty{padding:28px;border:1px dashed #cfded2;border-radius:14px;background:#f8fbf8;color:#66796c;text-align:center;font-size:13px}
.kd-atlas-country-map-tab .kd-atlas-globe-wrap{min-height:620px;margin-top:14px}.kd-atlas-country-map-tab .kd-atlas-panel{margin-top:12px}.kd-atlas-cluster-summary{padding:3px 0 16px;border-bottom:1px solid #e1e9e3}.kd-atlas-cluster-summary h2{margin:5px 0;font-size:27px;color:#1b3828}.kd-atlas-cluster-summary p{margin:0;color:#65786b;font-size:12px}.kd-atlas-cluster-counts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.kd-atlas-cluster-counts span{padding:7px 9px;border-radius:999px;background:#edf5ee;color:#496052;font-size:10.5px;font-weight:800}.kd-atlas-cluster-counts b{color:#145e35;margin-left:4px}.kd-atlas-zoom-cluster{margin-top:12px;border:1px solid #b9d4bf;background:#eef7ef;color:#155c33;border-radius:10px;padding:9px 11px;font-weight:900;font-size:11px;cursor:pointer}.kd-atlas-cluster-more{margin:12px 0 0;color:#718176;font-size:11px;font-weight:700}
.kd-atlas-country-view .kd-atlas-method{margin-top:14px}
@media(max-width:1100px){.kd-atlas-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kd-atlas-country-grid,.kd-atlas-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kd-atlas-country-hero{grid-template-columns:1fr}.kd-atlas-country-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.kd-atlas-country-list{grid-template-columns:1fr}}
@media(max-width:720px){.kd-atlas-entry-grid,.kd-atlas-country-grid,.kd-atlas-place-grid,.kd-atlas-summary-grid{grid-template-columns:1fr}.kd-atlas-country-directory,.kd-atlas-tab-panel{padding:15px;border-radius:17px}.kd-atlas-country-hero{padding:20px;border-radius:17px}.kd-atlas-country-hero h1{font-size:37px}.kd-atlas-country-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.kd-atlas-country-tabs{margin:10px 0}.kd-atlas-country-map-tab .kd-atlas-globe-wrap{min-height:56vh}.kd-atlas-world .kd-atlas-globe-wrap{min-height:58vh}.kd-atlas-section-heading h2{font-size:22px}}

/* v1.40.1089 · FASE 2 · rutas genéticas + reparación profesional del banner Atlas. */
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v2{
  position:relative;isolation:isolate;min-height:270px;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,.7fr);align-items:center;gap:34px;
  padding:32px 34px;margin-bottom:16px;border:1px solid rgba(176,222,185,.32);border-radius:24px;
  background-image:linear-gradient(100deg,rgba(4,37,20,.97) 0%,rgba(7,67,35,.91) 49%,rgba(5,48,28,.72) 100%),url('../images/atlas/atlas-earth-real-v1401070.webp');
  background-size:cover;background-position:center 48%;box-shadow:0 20px 52px rgba(7,57,31,.22);
}
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v2:after{content:"";position:absolute;z-index:-1;inset:auto -7% -62% 37%;height:270px;border:1px solid rgba(215,242,79,.12);border-radius:50%;box-shadow:0 0 0 44px rgba(215,242,79,.035),0 0 0 88px rgba(215,242,79,.02)}
.kd-atlas-hero-v2 .kd-atlas-title-block{max-width:820px}.kd-atlas-hero-v2 .kd-atlas-kicker{color:#d9f65d!important;-webkit-text-fill-color:#d9f65d!important;font-size:10.5px;letter-spacing:.15em}.kd-atlas-hero-v2 .kd-atlas-kicker:before{background:#d9f65d;box-shadow:0 0 0 5px rgba(217,246,93,.12)}
.kd-atlas-hero-v2 .kd-atlas-title-row{margin-top:12px;gap:14px}.kd-atlas-hero-v2 .kd-atlas-orbit-icon{width:62px;height:62px;border:1px solid rgba(224,255,230,.35);border-radius:18px;background:rgba(4,42,23,.66);color:#d9f65d!important;-webkit-text-fill-color:#d9f65d!important;font-size:40px;box-shadow:0 12px 30px rgba(0,0,0,.18),inset 0 0 28px rgba(215,242,79,.08)}
.kd-atlas-hero-v2 h1{font-size:clamp(48px,6vw,72px)!important;line-height:.92!important;letter-spacing:-.055em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 3px 22px rgba(0,0,0,.22)}
.kd-atlas-hero-v2 p{margin-top:14px!important;max-width:790px!important;color:#edf8ef!important;-webkit-text-fill-color:#edf8ef!important;font-size:15px!important;line-height:1.62!important;font-weight:560}
.kd-atlas-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.kd-atlas-hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;border:1px solid rgba(255,255,255,.25);background:rgba(3,38,20,.38);color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;box-shadow:0 6px 18px rgba(0,0,0,.12)}.kd-atlas-hero-actions a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.45)}.kd-atlas-hero-actions .kd-atlas-action-primary{background:#fff;color:#12683a!important;-webkit-text-fill-color:#12683a!important;border-color:#fff}.kd-atlas-hero-actions .kd-atlas-action-primary:hover{background:#eaf6ed;color:#0b562e!important;-webkit-text-fill-color:#0b562e!important}
.kd-atlas-hero-stats{display:grid;gap:9px;padding:13px;border-radius:18px;border:1px solid rgba(225,255,230,.26);background:rgba(2,29,16,.58);box-shadow:0 14px 32px rgba(0,0,0,.15);backdrop-filter:blur(4px)}.kd-atlas-hero-stats div{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border-bottom:1px solid rgba(235,255,239,.12)}.kd-atlas-hero-stats div:last-child{border-bottom:0}.kd-atlas-hero-stats b{font-size:28px;line-height:1;color:#d9f65d!important;-webkit-text-fill-color:#d9f65d!important;letter-spacing:-.03em}.kd-atlas-hero-stats span{color:#f5fbf6!important;-webkit-text-fill-color:#f5fbf6!important;font-size:11.5px;font-weight:800;line-height:1.3}
.kd-atlas-world .kd-atlas-entry-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.kd-atlas-entry-grid button[data-atlas-explore="routes"]{background:linear-gradient(145deg,#fff9e8 0%,#f6f0d7 100%);border-color:#ead79c}.kd-atlas-entry-grid button[data-atlas-explore="routes"] strong{color:#72571a}.kd-atlas-entry-grid button[data-atlas-explore="routes"]:hover{border-color:#d3b85e;box-shadow:0 12px 28px rgba(105,78,21,.11)}

.kd-atlas-routes-section{margin-top:18px;padding:24px;border:1px solid #d9e4da;background:linear-gradient(150deg,#fff 0%,#fbf8ec 100%);border-radius:22px;box-shadow:0 12px 34px rgba(31,74,41,.055);scroll-margin-top:135px}
.kd-atlas-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.kd-atlas-route-grid.is-compact{grid-template-columns:1fr}
.kd-atlas-route-card{position:relative;overflow:hidden;padding:19px;border:1px solid #e2dfcb;border-radius:18px;background:linear-gradient(145deg,#fffdf7 0%,#fff 55%,#f4f9f4 100%);box-shadow:0 8px 22px rgba(52,65,43,.05);transition:.18s ease}.kd-atlas-route-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#d4a83e,#8da930)}.kd-atlas-route-card:hover,.kd-atlas-route-card.is-active{border-color:#d2ba6c;box-shadow:0 12px 30px rgba(75,65,33,.10);transform:translateY(-1px)}.kd-atlas-route-card.is-active{background:linear-gradient(145deg,#fff9e7,#fff 62%,#eef7ef)}
.kd-atlas-route-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.kd-atlas-route-family{display:inline-flex;padding:5px 8px;border-radius:999px;background:#143f27;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.kd-atlas-route-count{color:#826820;font-size:10px;font-weight:900}.kd-atlas-route-card h3{margin:0;color:#20372a;font-size:19px;line-height:1.22;letter-spacing:-.025em}.kd-atlas-route-card>p{margin:8px 0 13px;color:#607064;font-size:12.5px;line-height:1.58}.kd-atlas-route-stops-mini{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.kd-atlas-route-stops-mini span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;border:1px solid #dce6dd;background:#fff;color:#425749;font-size:10.5px;font-weight:800}.kd-atlas-route-stops-mini b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#17683c;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:9px}.kd-atlas-route-open{appearance:none;border:1px solid #b9d0bd;background:#edf6ef;color:#145d34;border-radius:10px;padding:9px 11px;font-size:11px;font-weight:900;cursor:pointer}.kd-atlas-route-open:hover,.kd-atlas-route-open:focus-visible{background:#176d3e;border-color:#176d3e;color:#fff;outline:none}

.kd-atlas-route-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #e2e8e3;padding-bottom:15px}.kd-atlas-route-panel-head h2{margin:5px 0 6px;color:#1c3828;font-size:27px;line-height:1.15;letter-spacing:-.03em}.kd-atlas-route-panel-head p{margin:0;color:#607165;font-size:12.5px;line-height:1.55;max-width:760px}.kd-atlas-route-clear{appearance:none;border:1px solid #cedbd0;background:#fff;color:#53685a;border-radius:9px;padding:8px 10px;font-size:10.5px;font-weight:900;cursor:pointer}.kd-atlas-route-clear:hover{border-color:#9dbfa4;color:#155e35;background:#f1f7f2}
.kd-atlas-route-timeline{list-style:none!important;margin:17px 0 0!important;padding:0!important;display:grid;gap:0}.kd-atlas-route-timeline li{position:relative;display:grid;grid-template-columns:36px 1fr;gap:12px;padding:0 0 17px}.kd-atlas-route-timeline li:not(:last-child):before{content:"";position:absolute;left:17px;top:34px;bottom:0;width:2px;background:linear-gradient(#b4cf7b,#d9e5da)}.kd-atlas-route-timeline li>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0f6638;color:#fff!important;-webkit-text-fill-color:#fff!important;border:3px solid #eaf4eb;box-shadow:0 0 0 1px #95b89d;font-size:11px;z-index:1}.kd-atlas-route-timeline li>div{padding:2px 0 0}.kd-atlas-route-period{display:block;color:#95721e;font-size:9.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.kd-atlas-route-timeline strong{display:block;margin:3px 0;color:#1f3929;font-size:15px}.kd-atlas-route-timeline p{margin:3px 0;color:#596d5f;font-size:12px;line-height:1.5}.kd-atlas-route-certainty{display:inline-block;margin-top:5px;padding:4px 7px;border-radius:7px;background:#f7f1dc;color:#765f28;font-size:9.5px;font-weight:800}.kd-atlas-route-timeline a{display:inline-flex;margin:7px 0 0;color:#14703f;text-decoration:none;font-size:10.5px;font-weight:900}.kd-atlas-route-disclaimer{margin-top:8px;padding:11px 13px;border-left:3px solid #caa139;border-radius:8px;background:#fbf6e6;color:#66592f;font-size:10.5px;line-height:1.55}.kd-atlas-route-disclaimer strong{color:#59491e}

/* La ruta debe quedar por encima de clusters/puntos para ser legible. */
#kd-atlas-globe .maplibregl-canvas{outline:none}

@media(max-width:1180px){.kd-atlas-world .kd-atlas-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v2{grid-template-columns:1fr;gap:20px}.kd-atlas-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.kd-atlas-hero-stats div{grid-template-columns:1fr;gap:4px;text-align:center}.kd-atlas-route-grid{grid-template-columns:1fr}}
@media(max-width:720px){.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v2{min-height:0;padding:22px 18px;border-radius:18px;background-position:58% center}.kd-atlas-hero-v2 .kd-atlas-orbit-icon{width:48px;height:48px;font-size:31px;border-radius:14px}.kd-atlas-hero-v2 h1{font-size:46px!important}.kd-atlas-hero-v2 p{font-size:13.5px!important}.kd-atlas-hero-stats{grid-template-columns:1fr;padding:8px}.kd-atlas-hero-stats div{grid-template-columns:64px 1fr;text-align:left;min-height:48px}.kd-atlas-hero-stats b{font-size:23px}.kd-atlas-world .kd-atlas-entry-grid{grid-template-columns:1fr 1fr}.kd-atlas-routes-section{padding:15px;border-radius:17px}.kd-atlas-route-panel-head{flex-direction:column}.kd-atlas-route-clear{width:100%}}
@media(max-width:470px){.kd-atlas-world .kd-atlas-entry-grid{grid-template-columns:1fr}.kd-atlas-hero-actions{display:grid;grid-template-columns:1fr}.kd-atlas-hero-actions a{width:100%}}

/* v1.40.1091 · HERO ATLAS / PAÍS rehecho para heredar de verdad el estilo visual de Genealogías. */
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3,
.kd-atlas-country-hero.kd-atlas-country-hero-v3{
  position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;
  border:1px solid #36764a!important;border-radius:24px!important;
  background:
    linear-gradient(90deg,rgba(0,24,14,.84) 0%,rgba(2,38,22,.70) 37%,rgba(2,38,22,.26) 68%,rgba(2,27,17,.62) 100%),
    url('../images/kd-genealogy-family-bg-v1401012.webp') center center/cover no-repeat!important;
  box-shadow:0 12px 30px rgba(8,63,24,.10)!important;
  color:#fff!important;container-type:inline-size;
}
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3:before,
.kd-atlas-country-hero.kd-atlas-country-hero-v3:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,28,20,.50),transparent 78%)!important;pointer-events:none}
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3:after,
.kd-atlas-country-hero.kd-atlas-country-hero-v3:after{display:none!important}
.kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3{grid-template-columns:118px minmax(0,1fr) 330px;gap:24px;min-height:248px;padding:24px 30px 28px!important;margin-bottom:14px}
.kd-atlas-country-hero.kd-atlas-country-hero-v3{grid-template-columns:104px minmax(0,1fr) 330px;gap:24px;min-height:236px;padding:24px 28px 26px!important}
.kd-atlas-hero-emblem,.kd-atlas-country-emblem{
  align-self:start;display:grid;place-items:center;box-sizing:border-box;overflow:hidden;
  width:104px;height:112px;border:4px solid #fffdef!important;border-radius:23px!important;
  background:linear-gradient(145deg,rgba(6,40,23,.95),rgba(7,52,28,.92))!important;
  box-shadow:0 10px 26px rgba(0,0,0,.24)!important;
}
.kd-atlas-hero-emblem span,.kd-atlas-country-emblem span{
  display:grid;place-items:center;width:62px;height:62px;border:2px solid #d8f55f;border-radius:20px;
  color:#e0f768!important;-webkit-text-fill-color:#e0f768!important;font-size:40px;font-weight:800;line-height:1;
  text-shadow:0 0 20px rgba(210,247,93,.32);background:rgba(10,53,28,.42)
}
.kd-atlas-country-emblem{width:96px;height:104px}.kd-atlas-country-emblem span{width:58px;height:58px;font-size:34px}
.kd-atlas-hero-v3 .kd-atlas-title-block,.kd-atlas-country-copy{position:relative;z-index:2;min-width:0;padding:2px 0}
.kd-atlas-hero-v3 .kd-atlas-kicker,.kd-atlas-country-hero-v3 .kd-atlas-kicker{display:block;margin:0 0 10px;color:#b8e85f!important;-webkit-text-fill-color:#b8e85f!important;font-size:11px!important;font-weight:950!important;letter-spacing:.15em!important;text-transform:uppercase!important}
.kd-atlas-hero-v3 .kd-atlas-kicker:before,.kd-atlas-country-hero-v3 .kd-atlas-kicker:before{display:none!important}
.kd-atlas-world .kd-atlas-hero-v3 h1,.kd-atlas-country-hero-v3 h1{
  display:block!important;margin:10px 0 12px!important;color:#fffdf0!important;-webkit-text-fill-color:#fffdf0!important;
  font-family:Georgia,"Times New Roman",serif!important;font-weight:700!important;letter-spacing:-.035em!important;
  text-shadow:0 2px 8px rgba(0,25,8,.40)!important
}
.kd-atlas-world .kd-atlas-hero-v3 h1{font-size:clamp(52px,5.2vw,78px)!important;line-height:1!important}
.kd-atlas-country-hero-v3 h1{font-size:clamp(44px,4.6vw,66px)!important;line-height:1!important}
.kd-atlas-world .kd-atlas-hero-v3 p,.kd-atlas-country-hero-v3 p{
  max-width:720px;margin:0!important;color:#f3f7f2!important;-webkit-text-fill-color:#f3f7f2!important;
  font-size:18px!important;line-height:1.4!important;font-weight:500;text-shadow:0 1px 5px rgba(0,26,13,.85)!important
}
.kd-atlas-private-badge{
  display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:9px 14px!important;
  border:1px solid #dfc95d!important;border-radius:17px!important;background:rgba(52,75,35,.72)!important;
  color:#ffe37a!important;-webkit-text-fill-color:#ffe37a!important;font-size:12px!important;font-weight:800!important;
  letter-spacing:.035em!important;text-transform:uppercase!important;box-shadow:none!important
}
.kd-atlas-private-badge:before{content:'◔';font-size:18px;line-height:1;color:#ffe37a!important}
.kd-atlas-hero-v3 .kd-atlas-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.kd-atlas-hero-v3 .kd-atlas-hero-actions a,.kd-atlas-country-back{
  display:inline-flex!important;align-items:center;justify-content:center;gap:10px;min-height:50px;
  box-sizing:border-box;padding:12px 16px!important;border:1px solid #b8e49b!important;border-radius:16px!important;
  background:linear-gradient(#147c36,#004720)!important;box-shadow:inset 0 1px 5px rgba(178,255,168,.30)!important;
  color:#fff9e6!important;-webkit-text-fill-color:#fff9e6!important;font:700 17px/1.2 Georgia,serif!important;text-decoration:none!important;
}
.kd-atlas-hero-v3 .kd-atlas-hero-actions a:hover,.kd-atlas-country-back:hover{filter:brightness(1.12)}
.kd-atlas-hero-v3 .kd-atlas-hero-actions .kd-atlas-action-primary{
  background:linear-gradient(#1a8c3f,#065427)!important;color:#fff9e6!important;-webkit-text-fill-color:#fff9e6!important;
}
.kd-atlas-country-back{width:max-content;margin-top:18px!important;min-height:44px;font-size:15px!important;opacity:1!important}
.kd-atlas-hero-stats-v3,.kd-atlas-country-stats-v3{
  position:relative;z-index:2;display:grid;gap:0;padding:16px!important;border:1px solid #5d8854!important;border-radius:22px!important;
  background:rgba(3,43,28,.92)!important;box-shadow:0 8px 20px rgba(0,19,8,.26)!important;backdrop-filter:none
}
.kd-atlas-hero-stats-v3 div,.kd-atlas-country-stats-v3 div{
  display:grid;grid-template-columns:40px 1fr;align-items:center;column-gap:14px;row-gap:4px;min-height:74px;
  padding:2px 2px 14px;border-bottom:1px solid rgba(160,190,164,.37)!important
}
.kd-atlas-hero-stats-v3 div:last-child,.kd-atlas-country-stats-v3 div:last-child{border-bottom:0!important;padding-bottom:2px}
.kd-atlas-hero-stats-v3 i,.kd-atlas-country-stats-v3 i{
  display:grid;grid-row:1 / span 2;place-items:center;width:32px;height:32px;color:#80df8f!important;-webkit-text-fill-color:#80df8f!important;
  font-style:normal;font-size:24px;font-weight:900;background:none!important;border:0!important
}
.kd-atlas-hero-stats-v3 b,.kd-atlas-country-stats-v3 b{
  display:block;color:#fff5d5!important;-webkit-text-fill-color:#fff5d5!important;font:700 40px/.95 Georgia,serif!important;
  letter-spacing:-.03em!important
}
.kd-atlas-hero-stats-v3 span,.kd-atlas-country-stats-v3 span{
  display:block;color:#eff6ec!important;-webkit-text-fill-color:#eff6ec!important;font:500 14px/1.2 Arial,sans-serif!important
}
.kd-atlas-country-stats-v3{grid-template-columns:1fr;gap:12px}
.kd-atlas-country-stats-v3 div{min-height:58px;padding-bottom:12px}
.kd-atlas-country-stats-v3 b{font-size:32px!important}
.kd-atlas-country-stats-v3 i{font-size:22px}
@container(max-width:1150px){
  .kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3{grid-template-columns:90px minmax(0,1fr) 280px!important;gap:20px!important;padding:20px 24px 24px!important}
  .kd-atlas-country-hero.kd-atlas-country-hero-v3{grid-template-columns:82px minmax(0,1fr) 260px!important;gap:18px!important;padding:20px 22px 24px!important}
  .kd-atlas-hero-emblem{width:90px;height:98px}.kd-atlas-hero-emblem span{width:54px;height:54px;font-size:34px}
  .kd-atlas-country-emblem{width:78px;height:86px}.kd-atlas-country-emblem span{width:48px;height:48px;font-size:30px}
  .kd-atlas-world .kd-atlas-hero-v3 p,.kd-atlas-country-hero-v3 p{font-size:16px!important}
  .kd-atlas-hero-stats-v3 b{font-size:34px!important}.kd-atlas-country-stats-v3 b{font-size:28px!important}
}
@container(max-width:850px){
  .kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3,.kd-atlas-country-hero.kd-atlas-country-hero-v3{grid-template-columns:100px minmax(0,1fr)!important;min-height:0!important}
  .kd-atlas-hero-stats-v3,.kd-atlas-country-stats-v3{grid-column:1 / -1}
  .kd-atlas-hero-stats-v3{grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important}
  .kd-atlas-country-stats-v3{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px!important}
  .kd-atlas-hero-stats-v3 div,.kd-atlas-country-stats-v3 div{grid-template-columns:32px 1fr;min-height:58px;border-right:1px solid rgba(160,190,164,.30)!important;border-bottom:0!important;padding-right:12px}
  .kd-atlas-hero-stats-v3 div:last-child,.kd-atlas-country-stats-v3 div:last-child{border-right:0!important}
}
@container(max-width:520px){
  .kd-atlas-world .kd-atlas-header.kd-atlas-hero-v3,.kd-atlas-country-hero.kd-atlas-country-hero-v3{grid-template-columns:1fr!important;padding:16px!important;gap:16px!important;border-radius:18px!important}
  .kd-atlas-hero-emblem,.kd-atlas-country-emblem{width:80px;height:80px;border-radius:18px!important}.kd-atlas-hero-emblem span,.kd-atlas-country-emblem span{width:42px;height:42px;font-size:26px}
  .kd-atlas-world .kd-atlas-hero-v3 h1{font-size:42px!important}.kd-atlas-country-hero-v3 h1{font-size:38px!important}
  .kd-atlas-world .kd-atlas-hero-v3 p,.kd-atlas-country-hero-v3 p{font-size:15px!important}
  .kd-atlas-private-badge{font-size:10px!important;padding:8px 12px!important}
  .kd-atlas-hero-v3 .kd-atlas-hero-actions{display:grid;grid-template-columns:1fr!important}
  .kd-atlas-hero-v3 .kd-atlas-hero-actions a,.kd-atlas-country-back{width:100%}
  .kd-atlas-hero-stats-v3,.kd-atlas-country-stats-v3{grid-template-columns:1fr!important}
  .kd-atlas-hero-stats-v3 div,.kd-atlas-country-stats-v3 div{border-right:0!important;border-bottom:1px solid rgba(160,190,164,.30)!important;padding-right:2px}
  .kd-atlas-hero-stats-v3 div:last-child,.kd-atlas-country-stats-v3 div:last-child{border-bottom:0!important}
  .kd-atlas-hero-stats-v3 b{font-size:30px!important}.kd-atlas-country-stats-v3 b{font-size:28px!important}
}

/* v1.40.1094 · Botón Volver al Atlas: contraste definitivo y cache-bust. */
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094,
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094:link,
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  min-width:142px!important;
  min-height:44px!important;
  margin:18px 0 0 10px!important;
  padding:10px 17px!important;
  box-sizing:border-box!important;
  border:1px solid #a9dc83!important;
  border-radius:16px!important;
  background-color:#07532b!important;
  background-image:linear-gradient(180deg,#11743b 0%,#07532b 100%)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:0 1px 2px rgba(0,0,0,.35)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 7px 18px rgba(0,25,12,.22)!important;
  opacity:1!important;
  filter:none!important;
}
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094:hover,
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094:focus-visible{
  background-color:#0a6634!important;
  background-image:linear-gradient(180deg,#168447 0%,#0a6634 100%)!important;
  border-color:#d3ef79!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 9px 22px rgba(0,25,12,.28),0 0 0 3px rgba(211,239,121,.16)!important;
  transform:translateY(-1px)!important;
  outline:0!important;
}
.kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094:active{
  background:#064924!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  transform:translateY(0)!important;
}
@container(max-width:520px){
  .kd-atlas-country-hero.kd-atlas-country-hero-v3 .kd-atlas-country-copy > a.kd-atlas-country-back.kd-atlas-country-back-v1094{
    width:100%!important;
    margin:10px 0 0!important;
  }
}
