/* IAEstudiantil V20 — Geografía interactiva. No requiere servidores externos. */
.geo-body{margin:0;background:#071b2d;color:#eaf6ff;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.geo-body *, .geo-body *:before,.geo-body *:after{box-sizing:border-box}
.geo-layout{max-width:1200px;margin:auto;padding:24px 20px 75px}
.geo-hero{background:radial-gradient(ellipse at 90% 0%,#2b6680 0%,transparent 40%),linear-gradient(125deg,#123454,#123f53 70%,#143b43);border:1px solid #39728a;border-radius:26px;padding:42px 36px;margin-bottom:16px;box-shadow:0 20px 55px #03102155}
.geo-hero-history{background:linear-gradient(120deg,#183249,#32515a 70%,#2a463f)}
.geo-eyebrow{color:#9ee5d1;letter-spacing:.1em;text-transform:uppercase;font-weight:850;font-size:.77rem}
.geo-hero h1{font-size:clamp(2.1rem,4.8vw,3.55rem);margin:12px 0 18px;line-height:1.1;max-width:850px;color:#fff}
.geo-hero p{font-size:1.12rem;line-height:1.7;max-width:790px;color:#deeff9;margin:0}
.geo-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.geo-meta span{border:1px solid #6398ac;background:#10354a;padding:8px 12px;border-radius:30px;color:#eaf9ff;font-size:.83rem;font-weight:650}
.geo-crumb{display:flex;gap:10px;align-items:center;padding:9px 2px 22px;color:#bcd6e4;font-size:.9rem}
.geo-crumb a{color:#b8f2e3;text-underline-offset:3px}
.geo-workspace,.geo-study-section,.geo-story-section,.geo-history-module,.geo-seo-content{margin:22px 0 30px}
.geo-workspace{border:1px solid #36647c;background:#0e2940;border-radius:25px;padding:23px}
.geo-workspace-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}
.geo-workspace-heading h2,.geo-section-title h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:7px 0 8px;color:#fff;line-height:1.2}
.geo-workspace-heading p,.geo-section-title p{max-width:760px;color:#cddfea;line-height:1.6;margin:0}
.geo-view-switch{display:flex;flex-wrap:wrap;gap:5px;border:1px solid #416e85;background:#082338;border-radius:14px;padding:5px;flex-shrink:0}
.geo-view-switch button{padding:10px 15px;background:transparent;color:#dbecfa;border:0;border-radius:10px;font-weight:800;cursor:pointer;font:700 .94rem system-ui}
.geo-view-switch button.is-active{color:#102f3b;background:#b8f5e7}
.geo-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px;align-items:flex-end}
.geo-field{display:grid;gap:7px;font-size:.79rem;color:#b7d9e8;font-weight:750;min-width:160px}
.geo-field:first-child{flex:1 1 230px}
.geo-field span{letter-spacing:.015em}
.geo-field input,.geo-field select{background:#f4faff;border:2px solid transparent;border-radius:11px;padding:11px 12px;min-height:46px;color:#132c42;font-size:1rem;min-width:0;width:100%}
.geo-field input:focus,.geo-field select:focus{outline:3px solid #80e5d0;outline-offset:1px}
.geo-control,.geo-primary{cursor:pointer;min-height:44px;border-radius:11px;padding:10px 15px;font-weight:800;border:1px solid #5396b2;background:#183f59;color:#fff;font-size:.95rem}
.geo-control:hover{background:#2b6079}
.geo-primary{border-color:#9be9d3;background:#0c795f;color:#fff}
.geo-primary:hover{background:#0a624e}
.geo-visual-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,1fr);gap:17px;align-items:stretch}
.geo-map-pane{background:#071b2c;border:1px solid #355d77;border-radius:19px;padding:12px;min-width:0}
.geo-canvas-wrap{background:#073553;border-radius:13px;position:relative;overflow:hidden;min-height:230px;text-align:center}
.geo-canvas-wrap canvas{width:100%;height:auto;display:block;cursor:crosshair;touch-action:none;outline:0}
.geo-canvas-wrap canvas[hidden]{display:none!important}
.geo-canvas-wrap canvas#geo-globe-canvas{max-width:720px;margin:auto;cursor:grab}
.geo-canvas-wrap canvas#geo-globe-canvas:active{cursor:grabbing}
.geo-canvas-hint{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);pointer-events:none;background:rgba(6,22,39,.85);color:#d9f6ff;border:1px solid #6294b0;border-radius:50px;padding:7px 14px;font-size:.76rem;font-weight:750;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}
.geo-map-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0 7px}
.geo-map-controls #geo-zoom-label{min-width:65px;text-align:center;color:#deeffa;font-size:.9rem;font-variant-numeric:tabular-nums}
.geo-map-controls .geo-zoom{min-width:45px;font-size:1.3rem;padding:5px 12px}
.geo-small{font-size:.8rem;color:#9fc2d4;line-height:1.55;margin:10px 0 0}
.geo-country-card{background:linear-gradient(160deg,#183e54,#122f43);border:1px solid #49738b;border-radius:19px;padding:24px;min-height:360px}
.geo-country-empty{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;gap:7px}
.geo-country-illustration{font-size:4rem}
.geo-country-card h3{font-size:1.72rem;margin:10px 0 4px;color:#fff}
.geo-country-card p{line-height:1.68;color:#d8ebf7;margin:7px 0}
.geo-country-card .geo-capital{font-size:1.13rem;color:#fff}
.geo-country-card .geo-capital strong{color:#aae4d5}
.geo-country-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.geo-country-tags span{color:#ebf7ff;background:#234f68;border:1px solid #55859e;border-radius:20px;padding:6px 11px;font-size:.83rem}
.geo-info-note{padding:13px 14px;border-left:3px solid #a3e9d5;background:#21485b;border-radius:9px}
.geo-country-card h4{color:#fff;margin:20px 0 8px;font-size:1rem}
.geo-country-card a,.geo-foot-link a{color:#b8f2e3;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.geo-country-card a:hover,.geo-foot-link a:hover{color:#fff}
.geo-example-link{display:inline;background:none;color:#a6f2db;font-weight:800;border:none;padding:0;cursor:pointer;text-decoration:underline;font-size:inherit}
.geo-status{margin-top:12px;color:#b6d3e2;font-size:.86rem;min-height:1.4em}
.geo-section-title{margin-bottom:20px}
.geo-quiz-shell{border:1px solid #47718a;background:#0d2b43;border-radius:23px;padding:23px}
.geo-quiz-top{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}
.geo-quiz-top .geo-field{flex:1 1 175px}
.geo-quiz-content{margin-top:17px;background:#163b54;border:1px solid #3c6883;border-radius:17px;padding:20px;min-height:115px}
.geo-quiz-content h3{font-size:1.25rem;margin:2px 0 14px;color:#fff}
.geo-quiz-content p{line-height:1.6;color:#d5e7f4}
.geo-quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}
.geo-answer{background:#f5fbff;border:2px solid #a8c6d9;color:#17364e;cursor:pointer;padding:14px 15px;border-radius:13px;font-weight:800;text-align:left;font-size:1rem;min-height:53px}
.geo-answer:hover:not(:disabled){background:#c6f3e6;border-color:#5bb7a6}
.geo-answer:disabled{opacity:.8;cursor:default}
.geo-answer.correct{background:#c6f4df;border-color:#0c9767;color:#08543b;opacity:1}
.geo-answer.wrong{background:#ffe1df;border-color:#df5d62;color:#7d1d26;opacity:1}
.geo-feedback{padding:12px 14px;background:#18475a;border:1px solid #5b8ba1;border-radius:12px;color:#edfbff;font-weight:700;line-height:1.5;margin:13px 0}
.geo-quiz-progress{margin-top:15px;color:#bee3e5;font-weight:750;font-size:.9rem}
.geo-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.geo-story-grid a{display:flex;flex-direction:column;justify-content:center;gap:8px;text-decoration:none;background:#123550;border:1px solid #3c7291;border-radius:17px;padding:20px;color:#f2faff;min-height:106px}
.geo-story-grid a:hover{background:#1f5067;border-color:#8adbc8}
.geo-story-grid strong{font-size:1.06rem;color:#fff}
.geo-story-grid span{font-size:.9rem;color:#c9dfed;line-height:1.4}
.geo-foot-link{margin:20px 0}
.geo-seo-content{padding:27px;background:#112e43;border:1px solid #3c6178;border-radius:24px}
.geo-seo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.geo-seo-grid article{padding:18px;background:#173b50;border-radius:17px;border:1px solid #365c73}
.geo-seo-grid h3{font-size:1.12rem;color:#fff;margin:0 0 8px}
.geo-seo-grid p{margin:0;color:#d5e8f5;line-height:1.72}
.geo-faq{margin-top:22px}
.geo-faq h3{font-size:1.3rem;color:#fff}
.geo-faq details{margin:9px 0;border:1px solid #47738b;background:#163a50;border-radius:12px;padding:13px 16px}
.geo-faq summary{cursor:pointer;font-weight:800;color:#fff}
.geo-faq p{color:#dbeef5;line-height:1.6}
.geo-source{border-top:1px solid #426b7e;margin-top:24px;padding-top:15px;color:#a9cddd;font-size:.85rem;line-height:1.6}
.geo-source a{color:#b8f2e3}
.geo-history-country-list{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 19px}
.geo-history-country-list button{border:1px solid #58849a;background:#183c54;color:white;cursor:pointer;border-radius:11px;padding:12px 15px;font-weight:800}
.geo-history-country-list button[aria-pressed=true]{background:#b5f3e0;color:#143f42}
.geo-history-detail{background:#11334b;border:1px solid #44708b;border-radius:22px;padding:25px}
.geo-history-detail h2{color:#fff;margin:5px 0}
.geo-history-detail p{color:#dceef8;line-height:1.65}
.geo-timeline{list-style:none;padding:0;margin:24px 0 5px;border-left:3px solid #60bcae}
.geo-timeline li{padding:0 0 25px 24px;position:relative}
.geo-timeline li:before{content:"";position:absolute;left:-9px;top:4px;width:15px;height:15px;background:#b4eedb;border-radius:50%;border:2px solid #0f3e4a}
.geo-timeline time{color:#a8efdb;font-weight:850;font-size:.95rem}
.geo-timeline h3{color:#fff;font-size:1.1rem;margin:6px 0}
.geo-timeline p{margin:0}
@media(max-width:1050px){.geo-visual-grid{grid-template-columns:minmax(0,1fr)}.geo-country-card{min-height:220px}.geo-country-empty{min-height:200px}.geo-story-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.geo-layout{padding:14px 11px 50px}.geo-hero{padding:28px 21px;border-radius:20px}.geo-meta{gap:6px}.geo-meta span{font-size:.74rem}.geo-workspace{padding:13px}.geo-workspace-heading{flex-direction:column}.geo-view-switch{width:100%}.geo-view-switch button{flex:1}.geo-toolbar{gap:10px}.geo-toolbar .geo-field{flex:1 1 100%}.geo-toolbar .geo-region{flex:1 1 100%}.geo-toolbar #geo-find{width:100%}.geo-map-pane{padding:6px}.geo-canvas-wrap{min-height:140px}.geo-canvas-hint{font-size:.67rem}.geo-country-card{padding:17px}.geo-quiz-shell{padding:15px}.geo-quiz-answers{grid-template-columns:1fr}.geo-story-grid{grid-template-columns:1fr 1fr;gap:9px}.geo-story-grid a{padding:13px;min-height:100px}.geo-seo-content{padding:17px}.geo-seo-grid{grid-template-columns:1fr}}
@media(max-width:380px){.geo-story-grid{grid-template-columns:1fr}}

/* V21 - buscador y capas */
.geo-search-results{width:100%;max-height:235px;overflow:auto;background:#082b41;border:1px solid #82bbcc;border-radius:12px;padding:5px;box-shadow:0 12px 22px #0006;z-index:5}.geo-search-results[hidden]{display:none!important}
.geo-search-results button{display:flex;flex-direction:column;gap:2px;text-align:left;width:100%;margin:2px 0;padding:9px 11px;background:#103b52;color:white;border:1px solid transparent;border-radius:7px;cursor:pointer;font:inherit}.geo-search-results button:hover,.geo-search-results button:focus-visible{background:#245e70;border-color:#a7f5e5}.geo-search-results small{color:#cceaf3;font-size:.76rem}.geo-search-results p{margin:3px;color:#fff;padding:10px}.geo-toolbar .geo-layer-field{flex:0 1 195px;min-width:165px}.geo-extra-seo{margin-top:18px}
/* V21 - Historia: fechas a lo ancho, arrastre y fichas */
.hist-filters{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.hist-filters .geo-field{min-width:0}
.hist-intro{padding:17px 20px;border:1px solid #557c90;border-radius:14px;background:#173c50;color:#ecfaff;line-height:1.6}.hist-intro strong{font-size:1.2rem}.hist-intro p{margin:4px 0;color:#dceef8}
.hist-timeline-shell{border:1px solid #507f94;background:#0c2a40;border-radius:18px;padding:17px 12px;margin:22px 0}.hist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:11px;flex-wrap:wrap;padding:4px 7px 14px}.hist-toolbar strong{color:white;font-size:1.1rem}.hist-toolbar #hist-count{color:#b9dce5;font-size:.85rem}.hist-steps{display:flex;gap:7px;flex-wrap:wrap}.hist-steps button{font-size:.85rem;min-height:38px}
.hist-timeline-viewport{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-color:#6aa7b5 #0a283c;touch-action:pan-x;outline-offset:3px;padding:12px 4px 25px;cursor:grab}.hist-timeline-viewport.is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}.hist-timeline-track{display:flex;min-width:max-content;position:relative;padding:0 10px}.hist-timeline-track:before{content:"";position:absolute;left:24px;right:0;top:47px;height:3px;background:#6cbcaf;pointer-events:none}
.hist-event{position:relative;flex:0 0 205px;width:205px;min-height:165px;border:none;background:transparent;color:#f2faff;padding:0 10px;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;text-align:left;font:inherit;scroll-snap-align:center}.hist-event-year{font-weight:850;color:#baf5e4;line-height:1.2;min-height:31px;font-size:.92rem}.hist-event-pin{width:17px;height:17px;background:#a9f1d6;border:3px solid #123b4c;border-radius:50%;margin:8px 0 16px;z-index:1}.hist-event-title{font-weight:800;font-size:1.02rem;color:#fff;line-height:1.35;margin-bottom:8px}.hist-event-era{font-size:.77rem;color:#b9d9e5}.hist-event:hover .hist-event-title{color:#b9f4e4}.hist-event.is-active .hist-event-pin{background:#ffd88d;box-shadow:0 0 0 5px #ffc85a44}.hist-event.is-active .hist-event-title{color:#ffe1a2}.hist-event:focus-visible{outline:2px solid #eafff7;border-radius:10px}
.hist-event-detail{border:1px solid #5a8c9d;border-radius:20px;padding:25px;background:linear-gradient(135deg,#1a4656,#123249)}.hist-event-detail h2{color:white;font-size:clamp(1.35rem,3vw,2rem);margin:9px 0}.hist-event-detail h3{color:#b9f0de;font-size:1.03rem;margin:23px 0 7px}.hist-detail-year{color:#ffe2a5;font-weight:850;margin:8px 0 12px}.hist-event-detail p{color:#e6f4fa;line-height:1.75}.hist-context{background:#0f3046;padding:12px 16px;border:1px solid #4a7185;border-radius:13px}.hist-context p{margin:4px 0;font-size:.92rem}.hist-no-events{padding:12px;color:#eaf6ff;white-space:normal}
@media(max-width:700px){.geo-toolbar .geo-layer-field{flex:1 1 100%}.hist-filters{grid-template-columns:1fr}.hist-timeline-shell{padding:12px 7px}.hist-steps{width:100%}.hist-steps button{flex:1}.hist-event{flex-basis:165px;width:165px;min-height:185px}.hist-event-detail{padding:19px 16px}}

/* V22 — El atlas solo ofrece globo terráqueo. */
.geo-view-caption{display:inline-flex;align-items:center;align-self:center;white-space:nowrap;color:#d1fbec;background:#103e50;border:1px solid #68a8a4;border-radius:30px;padding:10px 15px;font-size:.9rem;font-weight:800}
.geo-geology-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.geo-geology-cards a{display:flex;flex-direction:column;gap:9px;padding:21px;border-radius:19px;border:1px solid #437b92;background:#123a50;color:#e3f2fb;text-decoration:none;min-height:210px;transition:background .17s,transform .17s}
.geo-geology-cards a:hover{background:#194f64;transform:translateY(-2px)}
.geo-geology-cards strong{font-size:1.19rem;color:#fff}
.geo-geology-cards span:not(.geo-topic-icon){line-height:1.56;font-size:.9rem}
.geo-geology-cards em{font-style:normal;font-weight:800;color:#a1ecd8;margin-top:auto}
.geo-topic-icon{font-size:2rem}
@media(max-width:800px){.geo-geology-cards{grid-template-columns:1fr}.geo-geology-cards a{min-height:0}.geo-view-caption{white-space:normal}}

/* V27 Historia Argentina: lecciones y accesibilidad */
.hist-search-field{display:block;max-width:720px;margin:4px 0 20px}
.hist-search-field>span{display:block;color:#dbedf5;font-weight:700;margin-bottom:8px}
.hist-search-field input{display:block;box-sizing:border-box;min-width:0;width:100%;padding:15px 17px;border-radius:13px;border:1px solid #81acbd;background:#f2f9fb;color:#142939;font:inherit;font-size:1rem}
.hist-search-field input:focus-visible{outline:3px solid #ffe29a;outline-offset:2px}
.hist-event-lesson-mark{display:inline-block;margin-top:8px;font-size:.73rem;color:#b6f5df;border:1px solid #65b39a;border-radius:999px;padding:3px 7px;line-height:1.2}
.hist-read-more,.hist-lesson-back{display:inline-block;max-width:100%;box-sizing:border-box;padding:12px 17px;background:#087e68;border:1px solid #93ebd8;border-radius:12px;color:#fff!important;text-decoration:none!important;font-weight:800;line-height:1.45;margin:15px 0;overflow-wrap:anywhere}
.hist-read-more:hover,.hist-lesson-back:hover{background:#0a6659;color:#fff!important}
.hist-read-more:focus-visible,.hist-lesson-back:focus-visible,.hist-lesson-next a:focus-visible{outline:3px solid #ffe4a1;outline-offset:3px}
.hist-quick-test{background:#133d4b;border:1px solid #76bbae;border-radius:15px;padding:15px 18px;margin:20px 0}
.hist-quick-test h3{margin-top:0}.hist-quick-test details{margin-top:12px}.hist-quick-test summary{cursor:pointer;color:#aaf4db;font-weight:800}.hist-quick-test summary:hover{text-decoration:underline}
.hist-lessons-index{margin:46px 0}.hist-lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.hist-lesson-card{display:flex;flex-direction:column;gap:11px;background:linear-gradient(145deg,#19445c,#0d293f);border:1px solid #5488a0;padding:22px;border-radius:19px;color:#e8f8fa!important;text-decoration:none!important;min-width:0;box-sizing:border-box}
.hist-lesson-card:hover{border-color:#b1f7e6;transform:translateY(-2px)}.hist-lesson-card:focus-visible{outline:3px solid #ffe49b;outline-offset:3px}
.hist-lesson-card strong{font-size:1.15rem;line-height:1.3;color:#fff;overflow-wrap:anywhere}.hist-lesson-card>span:not(.hist-lesson-card-year):not(.hist-card-link){color:#cde7f0;line-height:1.55;font-size:.93rem}
.hist-lesson-card-year{font-weight:850;color:#ffe6ad;font-size:.91rem}.hist-card-link{color:#a7f8df;font-weight:800;margin-top:auto}
.hist-lesson-hero{background:linear-gradient(120deg,#173c55,#0a3247);padding:clamp(22px,4vw,47px);border:1px solid #538ba0;border-radius:23px}
.hist-lesson-date{color:#ffe1a0;font-size:1.07rem;font-weight:850}.hist-lesson-hero h1{color:white;font-size:clamp(1.9rem,4vw,3.3rem);line-height:1.13;margin:12px 0;overflow-wrap:anywhere}
.hist-lesson-lead{font-size:clamp(1.08rem,2vw,1.3rem);line-height:1.75;color:#e5f7f7;max-width:850px}
.hist-lesson-content{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(220px,.95fr);gap:24px;align-items:start;margin:25px 0}
.hist-lesson-main,.hist-lesson-side{min-width:0}.hist-lesson-section,.hist-lesson-recap,.hist-lesson-quiz,.hist-lesson-sources,.hist-lesson-side,.hist-lesson-footer{padding:24px;border:1px solid #538498;border-radius:20px;background:#123047;margin-bottom:20px}
.hist-lesson-section h2,.hist-lesson-recap h2,.hist-lesson-quiz h2,.hist-lesson-sources h2,.hist-lesson-side h2,.hist-lesson-footer h2{color:#fff;font-size:clamp(1.2rem,3vw,1.6rem);line-height:1.35;margin:0 0 15px}
.hist-lesson-section p,.hist-lesson-quiz p,.hist-lesson-sources p,.hist-lesson-side p,.hist-lesson-footer p{color:#e5f2f6;line-height:1.8;margin:12px 0;font-size:1rem}
.hist-lesson-recap ul,.hist-lesson-sources ul{padding-left:24px;color:#e8f6f9;line-height:1.8}
.hist-lesson-quiz details{background:#1b4c55;padding:14px 16px;border-radius:12px;border:1px solid #7abcb1}
.hist-lesson-quiz summary{color:#b3ffe3;cursor:pointer;font-weight:800}
.hist-lesson-quiz details p{margin-bottom:0}.hist-lesson-side{position:sticky;top:16px}
.hist-lesson-side hr{border:0;border-top:1px solid #547688;margin:18px 0}
.hist-lesson-sources a,.hist-lesson-footer a{color:#aaffdf!important;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.hist-lesson-next{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0;flex-wrap:wrap}
.hist-lesson-next a{display:inline-flex;padding:12px 16px;border:1px solid #80b8b9;border-radius:10px;color:#bdf9e2!important;text-decoration:none;font-weight:700}
@media(max-width:900px){.hist-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hist-lesson-content{grid-template-columns:1fr}.hist-lesson-side{position:static}}
@media(max-width:570px){.hist-lesson-grid{grid-template-columns:1fr}.hist-lesson-card{padding:18px}.hist-lesson-section,.hist-lesson-recap,.hist-lesson-quiz,.hist-lesson-sources,.hist-lesson-side,.hist-lesson-footer{padding:18px}.hist-timeline-shell{min-width:0}.hist-event-detail{overflow-wrap:anywhere}}

/* V28: lecciones disponibles solo en el país elegido */
.hist-lessons-index[hidden]{display:none!important}

/* V37: ruta escolar de Historia conectada entre países */
.hist-cross-country{margin:28px 0 44px;padding:24px;border-radius:18px;background:linear-gradient(145deg,rgba(10,75,100,.09),rgba(23,121,132,.035));border:1px solid rgba(28,114,135,.25)}
.hist-cross-country h2{margin:0 0 8px;font-size:clamp(1.15rem,2.5vw,1.6rem);line-height:1.3}
.hist-cross-country>p{max-width:72ch;margin:0 0 16px;line-height:1.55}
.hist-cross-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.hist-cross-grid a{background:var(--surface,#fff);display:flex;gap:7px;flex-direction:column;min-width:0;border:1px solid rgba(40,120,140,.22);border-radius:13px;padding:15px;color:inherit;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.hist-cross-grid a:hover,.hist-cross-grid a:focus-visible{border-color:#168797;box-shadow:0 3px 14px rgba(12,105,125,.13)}
.hist-cross-grid strong{font-size:.95rem}.hist-cross-grid span{font-size:.84rem;line-height:1.45}
.hist-cross-detail{font-weight:750;text-decoration:underline;text-underline-offset:3px}
.cuba-connection-inline a{overflow-wrap:anywhere}
@media(max-width:800px){.hist-cross-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.hist-cross-country{padding:16px}.hist-cross-grid{gap:9px}.hist-cross-grid a{padding:11px}.hist-cross-grid strong{font-size:.87rem}}
