.editorial.routebook {
  --atlas-ink:#173934;
  --atlas-paper:#f2ebdc;
  --line:rgb(43 59 49 / 23%);
  display:grid; grid-template-columns:54% minmax(0,1fr); position:relative; isolation:isolate;
  max-width:none; margin:0; padding:0; overflow:clip; border:0; background:var(--atlas-paper);
}
.island-map {
  display:grid; grid-template:100% / 100%; place-items:center; margin:0; position:relative;
  container-type:size; color:var(--atlas-ink);
}
.island-map > * { --chart-width:clamp(78cqh,100cqw,125cqh); }
/* The original viewport lies 70% in from the left and 38% down into the extended map.
   Size the map and position its live labels from the same projected rectangle. */
.atlas-sheet { width:var(--chart-width); aspect-ratio:21/16; position:relative; container-type:inline-size; }
.atlas-art { position:absolute; inset:0 -24% 0 0; overflow:hidden; pointer-events:none;
  mask-image:linear-gradient(to right,#000 38%,rgb(0 0 0 / .99) 48%,rgb(0 0 0 / .92) 57%,rgb(0 0 0 / .73) 68%,rgb(0 0 0 / .44) 78%,rgb(0 0 0 / .16) 88%,rgb(0 0 0 / .025) 96%,transparent);
}
.atlas-base {
  position:absolute; max-width:none; height:auto; width:calc(var(--chart-width) * 2.25);
  left:calc(50cqw - var(--chart-width) * 1.2); top:calc(50cqh - var(--chart-width) * .67047619);
}
.atlas-copy { position:relative; padding:clamp(38px,3.8vw,70px) max(var(--edge),calc((100vw - 1628px)/2)) clamp(38px,3.8vw,70px) 0; }
.atlas-copy h2 { max-width:none; margin:0 0 clamp(22px,2vw,35px); }

.atlas-copy > .action.atlas-guide {
  min-height:44px; margin-top:18px; padding:6px 16px; gap:9px;
  background:transparent; color:var(--atlas-ink); border:1px solid #63746a;
  font-size:15px; font-weight:500;
}
.atlas-copy > .action.atlas-guide:hover, .atlas-copy > .action.atlas-guide:active {
  background:rgb(23 57 52 / 8%); border-color:var(--atlas-ink); box-shadow:none;
}
.atlas-guide .action-icon { width:18px; height:18px; color:inherit; background:transparent; }
.atlas-sea,.atlas-river,.atlas-place,.atlas-north,.atlas-scale { position:absolute; pointer-events:none; }
.atlas-sea { left:4.5%; top:44%; color:#426668; font:italic clamp(21px,2.5vw,41px)/1 var(--serif); letter-spacing:-.045em; }
.atlas-river { color:#3d6665; font:italic clamp(14px,1.22vw,20px)/1 var(--serif); text-shadow:0 0 4px #eeeddb; }
.river-mandovi { left:53%; top:21.4%; transform:rotate(-10deg); }
.river-zuari { left:73%; top:57.5%; transform:rotate(10deg); }
.atlas-place { font-size:clamp(13px,1.02vw,16px); padding:2px 0 0 7px; text-shadow:0 1px 3px #fff; }
.atlas-place::before { content:""; position:absolute; left:-2px; top:-2px; width:5px; height:5px; border-radius:100%; background:#4b5651; }
.atlas-north { top:5%;left:5%; text-align:center; font-size:13px; font-weight:600; line-height:1; }
.atlas-north::after { content:""; display:block; margin:4px auto 0; width:9px; height:18px; background:var(--atlas-ink); clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%); }
.atlas-scale { bottom:4.5%;left:4.5%;width:calc(var(--chart-width) * .1387); padding-bottom:4px; border-bottom:2px solid currentColor; font-size:13px; line-height:1; }
.atlas-scale::before,.atlas-scale::after { content:""; position:absolute; bottom:0; width:1px; height:5px; background:currentColor; }
.atlas-scale::before {left:0}.atlas-scale::after {right:0}
.atlas-pin { position:absolute; z-index:1; height:44px; display:flex; align-items:center; transform:translate(-7px,-50%); padding-right:2px; color:#18312f; }
.atlas-pin::before { content:""; flex:none; width:11px; height:11px; border:2px solid #fff; border-radius:100%; background:#244842; box-shadow:0 0 0 1px #476e64; }
.pin-type { margin-left:5px; font-family:var(--serif); font-weight:600; font-size:clamp(17px,1.36vw,23px); line-height:1.15; white-space:nowrap; text-shadow:0 0 3px #fffdf0,0 0 6px #fffdf0,0 1px 2px #fffdf0; }
.atlas-pin:hover .pin-type,.atlas-pin:focus-visible .pin-type { text-decoration:underline; text-underline-offset:3px; }
.atlas-credit { position:absolute; top:2px; right:2px; z-index:2; font:13px/1.35 var(--sans); }
.atlas-credit summary { display:grid; place-items:center; width:44px; height:44px; list-style:none; }
.atlas-credit summary::-webkit-details-marker { display:none; }
.atlas-credit summary span { display:grid; place-items:center; width:20px; height:20px; border:1px solid #557069;
  border-radius:50%; color:#25423c; background:#f4f1e5; font:bold 14px/1 Georgia,serif; }
.atlas-sources { position:absolute; top:100%; right:5px; display:grid; min-width:144px; padding:0 12px;
  background:#fffdf6; color:#263c35; border:1px solid #b6c2b7; }
.atlas-credit:not([open]) .atlas-sources { display:none; }
.atlas-sources a { display:flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:2px; }
.atlas-sources span[aria-hidden] { display:none; }
.island-index { display:grid; align-content:start; }
.island-row { border-top:1px solid var(--line); }
.island-row:last-child { border-bottom:1px solid var(--line); }
.island-guide { display:grid; grid-template-columns:clamp(96px,8.5vw,150px) minmax(0,1fr) auto; align-items:start; gap:clamp(12px,1.4vw,22px); padding:clamp(17px,1.5vw,24px) 0; }
.island-photo { display:block; width:100%; height:auto; aspect-ratio:1.17; object-fit:cover; }
.island-facts { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 .45em; color:#4a5754; font-size:14px; line-height:1.38; }
.island-facts span+span::before { content:"·"; color:#707773; margin-right:.45em; }
.island-details h3 { margin:5px 0 7px; font-size:clamp(30px,2.6vw,45px); line-height:1; }
.island-details p { max-width:49ch; color:#39443e; font-size:clamp(16px,1.08vw,18px); line-height:1.46; }
.island-arrow {
  align-self:center; display:grid; place-items:center;
  width:var(--control-size); height:var(--control-size); border-radius:50%;
  border:1px solid var(--atlas-ink); color:var(--atlas-ink); background:#fffaf0;
}
.island-arrow::after {
  content:""; display:block; width:18px; height:18px; background:currentColor;
  -webkit-mask:var(--action-out) center / contain no-repeat; mask:var(--action-out) center / contain no-repeat;
}
.island-guide:is(:hover,:focus-visible,:active) .island-arrow { background:var(--cta-yellow); color:var(--ink); }
.island-guide:hover h3,.island-guide:focus-visible h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.14em; }
.routebook:has(.row-divar :is(:hover,:focus-visible)) .pin-divar::before,
.routebook:has(.row-jacinto :is(:hover,:focus-visible)) .pin-jacinto::before,
.routebook:has(.row-grand :is(:hover,:focus-visible)) .pin-grand::before { background:#ffd12e; box-shadow:0 0 0 2px var(--atlas-ink); }
.routebook :focus-visible { outline:2px solid #256453; outline-offset:3px; }

@media(min-width:901px) and (max-width:1140px) {
 .pin-divar { flex-direction:row-reverse; padding:0; transform:translate(calc(-100% + 7px),-50%); }
 .pin-divar .pin-type { margin-left:0; margin-right:5px; }
 .island-guide { grid-template-columns:76px minmax(0,1fr) auto; gap:12px; padding-block:15px; }
}
@media(max-width:900px) {
 .editorial.routebook { display:block; --atlas-paper:#dde3ce; }
 .island-map { width:100%; height:min(81vw,580px); }
 .atlas-art { inset:0 0 -30% 0;
   mask-image:linear-gradient(to bottom,#000 34%,rgb(0 0 0 / .99) 46%,rgb(0 0 0 / .90) 58%,rgb(0 0 0 / .68) 70%,rgb(0 0 0 / .38) 80%,rgb(0 0 0 / .14) 89%,rgb(0 0 0 / .025) 96%,transparent);
 }
 .atlas-copy { padding:10px var(--edge) 36px; }
 .atlas-copy h2 { margin-bottom:18px; }
 .atlas-copy h2 br { display:none; }
 .atlas-sea { font-size:clamp(19px,5.2vw,32px); }
 .pin-type { font-size:clamp(15px,3.8vw,22px); margin-left:4px; }
 .atlas-river { font-size:clamp(13px,2vw,17px); }
 .island-guide { grid-template-columns:clamp(75px,23vw,140px) minmax(0,1fr) auto; gap:15px; padding:17px 0; }
 .island-details h3 { margin:5px 0; font-size:clamp(30px,4vw,37px); }
 .island-details p { font-size:16px; }
}
@media(max-width:480px) {
 .island-photo { aspect-ratio:4/5; }
 .island-guide {
   grid-template-columns:clamp(68px,21vw,96px) minmax(0,1fr) var(--control-size);
   grid-template-areas:"photo facts arrow" "photo title arrow" "photo description description";
   gap:0 10px;
 }
 .island-details { display:contents; }
 .island-photo { grid-area:photo; }
 .island-facts { grid-area:facts; }
 .island-details h3 { grid-area:title; margin:5px 0 7px; }
 .island-details p { grid-area:description; }
 .island-arrow { grid-area:arrow; }
}
@container (max-width:424px) {
 .pin-divar,.pin-jacinto { flex-direction:row-reverse; padding:0; transform:translate(calc(-100% + 7px),-50%); }
 .pin-divar .pin-type,.pin-jacinto .pin-type { margin-left:0; margin-right:5px; }
 .river-mandovi { left:56%; top:23%; transform:none; }
 .river-zuari { left:75%; top:59%; }
}
