/* Atlas. Los controles comparten los colores de la cartografía y las fichas del catálogo. */
.atlas-explorer {
  --atlas-ink:#173e32;
  --atlas-rule:#b8c7ba;
  --atlas-surface:#f0f3e9;
  --atlas-water:#d7e9eb;
  --atlas-coast:#527c69;
  --atlas-accent:#884422;
  color:var(--ink);
}
.atlas-explorer :is(button,select,input,a,summary):focus-visible,
.atlas-explorer [data-reading-place]:focus-visible {
  outline:3px solid #985321;
  outline-offset:3px;
}
.atlas-explorer [hidden] {display:none!important}
.atlas-explorer .atlas-explore-tools {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem}
.atlas-explorer .atlas-free-explore {
  display:inline-flex;align-items:center;min-height:44px;padding:0 .15rem;
  font-weight:600;color:var(--atlas-ink);
}
.atlas-explorer .jump-list {display:inline-flex;align-items:center;min-height:44px;margin:0 0 .4rem}
.atlas-explorer .atlas-filter-tools {
  padding:0 1rem;background:#f2f4eb;border:1px solid var(--atlas-rule);border-radius:.3rem;
}
.atlas-explorer .atlas-filter-tools>summary {
  line-height:1.4;min-height:44px;padding:.7rem 0;cursor:pointer;font-weight:600;color:var(--atlas-ink);
}
.atlas-explorer .filter-row {margin-block:.35rem 1.15rem}
.atlas-explorer :is(select,input[type="search"]) {
  max-width:100%;min-width:0;min-height:44px;padding:.52rem .72rem;
  background:#fffef9;border:1px solid #859b8b;border-radius:.28rem;
  color:var(--atlas-ink);font:inherit;
}
.atlas-explorer .atlas-journeys {
  padding:1rem 0 1.2rem;border-block:1px solid var(--atlas-rule);margin-block:1.1rem;
}
.atlas-explorer .atlas-journeys h2 {font-size:clamp(1.45rem,2.25vw,2.05rem)}
.atlas-explorer .atlas-journey-list {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;
  list-style:none;margin:.75rem 0 0;padding:0;
}
.atlas-explorer .atlas-journey-list>li {min-width:0}
.atlas-explorer .atlas-journey-start {
  display:grid;align-content:start;gap:.2rem;height:100%;min-height:44px;padding:.7rem .9rem;
  border:1px solid #adc0af;border-left:3px solid #668b70;border-radius:.2rem;
  background:#edf2e9;color:var(--atlas-ink);text-decoration:none;
}
.atlas-explorer:not([data-enhanced]) .atlas-journey-start {height:auto}
.atlas-explorer .atlas-journey-start strong {font:400 clamp(1.15rem,1.7vw,1.45rem)/1.18 var(--serif)}
.atlas-explorer .atlas-journey-start span {font-size:.86rem;line-height:1.4}
.atlas-explorer .atlas-journey-stops {padding-left:1.35rem;margin:.35rem 0 0}
.atlas-explorer .atlas-journey-stops a {display:inline-flex;align-items:center;min-height:44px}
.atlas-explorer[data-enhanced] .atlas-journey-stops {display:none}
.atlas-explorer .atlas-journey-start:is(:hover,:focus-visible) {border-color:var(--atlas-ink);text-decoration:underline}
.atlas-explorer .atlas-journey-start:is([aria-current="true"],[aria-pressed="true"]) {
  border-color:var(--atlas-ink);background:var(--atlas-ink);color:white;
}
.atlas-explorer .atlas-view-switch {display:none}
.atlas-explorer .atlas-workbench {
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(19rem,1fr);
  align-items:start;gap:clamp(1.15rem,2.8vw,2.6rem);margin-block:1.2rem 2.6rem;
}
.atlas-explorer :is(.atlas-map-side,.atlas-reading-panel,.atlas-place-card) {min-width:0}
.atlas-explorer .atlas-map-side {color:var(--atlas-ink)}
.atlas-explorer .atlas-region-picker {
  display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .75rem;margin-bottom:.7rem;font-weight:600;
}
.atlas-explorer .atlas-region-picker select {font-weight:400;flex:1 1 14rem;max-width:23rem}
.atlas-explorer .atlas-overview-back {min-height:44px;padding:0 .2rem;margin-bottom:.4rem;background:transparent;color:var(--atlas-ink);font-weight:600;text-decoration:underline;text-underline-offset:.2em;border:0;cursor:pointer}
.atlas-explorer .carto {margin:0}
.atlas-explorer .carto-overview {
  overflow:hidden;border:1px solid var(--atlas-rule);border-radius:.45rem;background:var(--atlas-water);
}
.atlas-explorer .carto-overview-plot {display:block;width:100%;height:auto;max-height:30rem;margin:auto}
.atlas-explorer .carto-water {fill:var(--atlas-water)}
.atlas-explorer .carto-grid {stroke:#9cbcbf;stroke-width:.55;fill:none}
.atlas-explorer .carto-country {fill:#a3c3a5;stroke:var(--atlas-coast)}
.atlas-explorer .carto-neighbor {fill:#e2e3d2;stroke:#a0a999}
.atlas-explorer .carto-context {
  fill:#455e5e;font:500 11px var(--sans);paint-order:stroke;stroke:#e9efeb;stroke-width:2px;
}
.atlas-explorer .carto-north {color:#274a47;fill:currentColor}
.atlas-explorer .carto-region {cursor:pointer}
.atlas-explorer .carto-region-hit {fill:transparent;stroke:none}
.atlas-explorer .carto-region-leader {stroke:var(--atlas-ink);stroke-width:1;fill:none}
.atlas-explorer .carto-region-dot {fill:var(--atlas-ink);stroke:#fffdf3;stroke-width:2}
.atlas-explorer .carto-region-label {
  fill:#16382f;font:700 13px var(--sans);paint-order:stroke;stroke:#f4f5ec;stroke-width:3px;stroke-linejoin:round;
}
.atlas-explorer .carto-region:is(:focus-visible,:hover,[aria-current="true"]) .carto-region-dot,
.atlas-explorer .carto-pin:is(:focus-visible,:hover,.atlas-reading-selected) :is(.carto-badge,.carto-dot) {
  fill:var(--atlas-accent);stroke:#fffae9;stroke-width:2.5;
}
.atlas-explorer .carto-region:is(:focus-visible,:hover,[aria-current="true"]) .carto-region-label {
  fill:#733514;text-decoration:underline;
}
.atlas-explorer .carto-region:focus-visible .carto-region-hit {stroke:#8e4b19;stroke-width:2}
.atlas-explorer .carto-panels {grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.85rem}
.atlas-explorer[data-enhanced] .carto-panels {display:block}
.atlas-explorer .carto-panel {border-color:var(--atlas-rule);border-radius:.4rem;background:#f7f8f1}
.atlas-explorer .carto-panel h3 {color:var(--atlas-ink);font:600 1.07rem/1.35 var(--sans)}
.atlas-explorer .carto-plot {background:var(--atlas-water)}
.atlas-explorer[data-enhanced] .carto-panel {
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;
}
.atlas-explorer[data-enhanced] .carto-panel h3 {grid-column:1/-1;border-bottom:1px solid var(--atlas-rule)}
.atlas-explorer[data-enhanced] .carto-key {display:grid;gap:0;padding:.3rem .7rem;align-content:start}
.atlas-explorer .carto-key a {line-height:1.3;overflow-wrap:anywhere}
.atlas-explorer .carto-key a span {flex:none}
.atlas-explorer .carto-key .atlas-reading-selected span {background:var(--atlas-accent);color:white}
.atlas-explorer .carto-key .atlas-reading-selected a {text-decoration:underline}
.atlas-explorer .carto figcaption {font-size:.83rem;color:#475f54;line-height:1.5}

.atlas-explorer .carto-sources summary {cursor:pointer;font-weight:600;min-height:44px;padding:.7rem 0}
.atlas-explorer .carto-sources p {margin:0 0 .6rem}

.atlas-explorer .atlas-reading-panel {
  margin:0;padding:0 clamp(1rem,2vw,1.6rem) 0;border:1px solid var(--atlas-rule);border-top:3px solid var(--forest);
  border-radius:.4rem;background:#f7f7ef;color:var(--atlas-ink);overflow-wrap:break-word;
}
.atlas-explorer .atlas-reading-panel>summary {
  min-height:48px;padding:.85rem 0;cursor:pointer;font:400 clamp(1.3rem,2.2vw,1.8rem)/1.25 var(--serif);
}
.atlas-explorer .atlas-reading-content {padding-bottom:1.2rem}
.atlas-explorer .atlas-reading-picker {display:grid;gap:.3rem;margin:.25rem 0 .85rem;font-size:.94rem;font-weight:600}
.atlas-explorer .atlas-reading-picker select {width:100%;font-weight:400}
.atlas-explorer .atlas-place-card {padding-top:.9rem;border-top:1px solid var(--atlas-rule)}
.atlas-explorer .atlas-place-card+.atlas-place-card {margin-top:1.65rem}
.atlas-explorer[data-enhanced] .atlas-place-card+.atlas-place-card {margin-top:0}
.atlas-explorer .atlas-place-card h3 {font-size:clamp(1.75rem,2.6vw,2.65rem);line-height:1.12;margin:.35rem 0 .65rem}
.atlas-explorer .atlas-place-type {font-size:.86rem;font-weight:600;color:#4c6152;margin:.45rem 0 .15rem}
.atlas-explorer .atlas-selection-summary {color:#374b40;line-height:1.55;margin:.55rem 0 .85rem}
.atlas-explorer .atlas-selection-photo {margin:.3rem 0 1rem}
.atlas-explorer .atlas-selection-photo img {width:100%;height:auto;max-height:17.5rem;aspect-ratio:1.85;object-fit:cover;border-radius:.25rem}
.atlas-explorer .atlas-selection-photo figcaption {font-size:.79rem;line-height:1.45;color:var(--mid);margin-top:.4rem}
.atlas-explorer .atlas-point-scope {font-size:.87rem;line-height:1.45;color:#516659}
.atlas-explorer .atlas-place-card h4 {
  margin:1.1rem 0 .3rem;color:var(--atlas-ink);font:600 1.03rem/1.4 var(--sans);
}
.atlas-explorer .atlas-reading-links {list-style:none;margin:.35rem 0;padding:0}
.atlas-explorer .atlas-reading-links li {border-bottom:1px solid #d6ded2}
.atlas-explorer .atlas-reading-links a,.atlas-explorer .atlas-reading-more summary,
.atlas-explorer .atlas-reading-place-link,.atlas-explorer .atlas-read-action {
  display:inline-flex;align-items:center;min-height:44px;line-height:1.35;color:var(--atlas-ink);font-weight:600;
}
.atlas-explorer .atlas-reading-more summary {display:list-item;line-height:44px;cursor:pointer}
.atlas-explorer .atlas-place-actions {display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:.9rem 0 .25rem}
.atlas-explorer .atlas-place-actions :is(button,a) {min-height:44px;white-space:normal}
.atlas-explorer .atlas-selection-alerts {
  border-left:3px solid #a97837;padding:.6rem .85rem;margin:.9rem 0;color:#50452f;background:#f4edde;
}
.atlas-explorer .atlas-selection-alerts p {line-height:1.45}
.atlas-explorer .atlas-journey-progress {
  padding:.7rem .9rem;margin:.4rem 0 .9rem;border-radius:.2rem;background:#e5ecdf;color:var(--atlas-ink);
}
.atlas-explorer [data-atlas-journey-status] {font-weight:700;margin-bottom:.2rem}
.atlas-explorer [data-atlas-journey-prompt] {font-size:.93rem;line-height:1.45}
.atlas-explorer [data-atlas-journey-reading] {display:inline-flex;align-items:center;min-height:44px}
.atlas-explorer .atlas-journey-controls {display:flex;flex-wrap:wrap;gap:.4rem}
.atlas-explorer .atlas-journey-controls button,.atlas-explorer [data-atlas-return] {
  min-height:44px;padding:.36rem .68rem;border:1px solid #879f89;border-radius:.25rem;background:#f8faf4;
  color:var(--atlas-ink);font-weight:600;font-size:.9rem;
}
.atlas-explorer [data-atlas-return] {margin-top:.45rem}
.atlas-explorer .atlas-journey-controls [data-atlas-journey-next] {background:var(--atlas-ink);color:white}
.atlas-explorer .atlas-place-actions [data-atlas-plan] {
  display:inline-flex;align-items:center;border:1px solid #839a89;border-radius:.25rem;
  padding:.35rem .65rem;font-weight:600;color:var(--atlas-ink);
}
.atlas-explorer .atlas-read-action {font-size:.94rem}
.atlas-explorer .atlas-read-action.atlas-reading-selected {text-decoration-thickness:2px}
.atlas-explorer .atlas-list {border-top:1px solid var(--atlas-rule);padding-top:1.1rem}
.atlas-explorer .atlas-list h2 {margin:.35rem 0 1.2rem}


.atlas-intro {padding:1rem 0 1.2rem}
.atlas-intro .crumb {margin-bottom:.5rem}
.atlas-intro h1 {margin:.25rem 0;font-size:clamp(2rem,4.4vw,3.4rem)}
.atlas-intro .deck {margin:.35rem 0 0}
.atlas-explorer {padding-top:.8rem}
.atlas-explorer .atlas-explore-tools {margin-bottom:.4rem}
.atlas-explorer[data-enhanced] .jump-list {display:none}
.atlas-explorer[data-enhanced] .atlas-view-switch {
  display:flex;width:fit-content;max-width:100%;border:1px solid #839b88;border-radius:.3rem;
  background:#f8f9f2;padding:2px;gap:2px;margin:0;
}
.atlas-explorer .atlas-view-switch button {
  min-height:44px;min-width:5rem;padding:.42rem .85rem;border:0;border-radius:.18rem;
  color:var(--atlas-ink);background:transparent;font-weight:600;
}
.atlas-explorer .atlas-view-switch button[aria-pressed="true"] {background:var(--atlas-ink);color:white}
.atlas-explorer[data-enhanced][data-view="mapa"] .atlas-list,
.atlas-explorer[data-enhanced][data-view="lista"] .atlas-map-side {display:none}
@media(max-width:959px) {
  .atlas-explorer .atlas-workbench {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px) {
  .atlas-intro {padding:.75rem 0 .9rem}
  .atlas-intro .crumb {margin-bottom:.45rem}
  .atlas-intro h1 {font-size:clamp(1.9rem,7vw,2.75rem);margin:.25rem 0}
  .atlas-intro .deck {margin:.35rem 0 0}
  .atlas-explorer {padding-top:.6rem}
  .atlas-explorer .atlas-journeys {margin-block:.85rem;padding-block:.8rem}
  .atlas-explorer .atlas-workbench {gap:1rem;margin-block:.7rem 1.65rem}
  .atlas-explorer[data-enhanced] .atlas-view-switch button {min-width:4rem}
  .atlas-explorer .atlas-free-explore {font-size:.92rem}
  .atlas-explorer .carto-overview-plot {max-height:25rem}
  .atlas-explorer .carto-panels {grid-template-columns:minmax(0,1fr)}
  .atlas-explorer .atlas-selection-photo img {max-height:15.2rem}
}
@media(max-width:520px) {
  .atlas-explorer .carto-region-label {font-size:16px}
  .atlas-explorer .carto-context {font-size:13px}
  .atlas-explorer .atlas-journey-list {grid-template-columns:minmax(0,1fr);gap:.35rem}
  .atlas-explorer .atlas-journey-start {padding:.45rem .65rem;gap:.1rem}
  .atlas-explorer .atlas-journey-start strong {font-size:1.14rem}
  .atlas-explorer .atlas-region-picker select {max-width:none}
  .atlas-explorer[data-enhanced] .carto-panel {display:block}
  .atlas-explorer .carto-plot {max-height:15rem}
  .atlas-explorer[data-enhanced] .carto-key {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .55rem}
  .atlas-explorer .carto-key a {font-size:.85rem}
  .atlas-explorer .atlas-selection-photo img {max-height:12.5rem}
}
