/* The visual atlas and original illustrated resources. All assets are local. */
.visual-page-hero {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 55px;
  padding-bottom: 20px;
}
.visual-page-hero h1 {
  font-size: clamp(54px, 6vw, 80px);
}
.visual-hero-art {
  width: 100%;
  height: auto;
  border-radius: 100px 100px 5px 5px;
  border: 1px solid #cbd0bc;
  transform: rotate(3deg);
}
.visual-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 25px;
  margin-top: 20px;
  font-size: 13px;
}
.visual-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.atlas h2,
.visual-pathways h2 {
  font-size: clamp(43px, 4.6vw, 65px);
  line-height: 1.03;
  letter-spacing: -1.3px;
}
.atlas-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.atlas-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.atlas-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #bdc8b6;
  border-radius: 25px;
  background: transparent;
  padding: 10px 17px;
  font-size: 13px;
  min-height: 44px;
}
.atlas-filters button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.atlas-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.atlas-count {
  font-size: 12px;
  max-width: 290px;
  color: var(--muted);
  text-align: right;
}
.atlas.is-interactive .atlas-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.atlas-map-column {
  min-width: 0;
  border: 1px solid #bdcbbb;
  border-radius: 7px;
  overflow: hidden;
  background: #eff1e5;
}
.map-scroll {
  max-width: 100%;
  overflow: auto;
  scrollbar-color: #9bb5a6 #dfede5;
  scrollbar-width: thin;
}
.map-canvas {
  position: relative;
  min-width: 660px;
}
.panama-map {
  width: 100%;
  height: auto;
}
.map-neighbor {
  fill: #dadcc5;
  stroke: #a1b499;
  stroke-width: 1.2;
  fill-rule: evenodd;
}
.map-panama {
  fill: #adc69b;
  stroke: #6e936e;
  stroke-width: 1.5;
  stroke-linejoin: round;
  fill-rule: evenodd;
}
.map-leader {
  stroke: #668b75;
  stroke-width: 1.5;
  fill: none;
}
.map-dot {
  fill: #497059;
  stroke: #f7f5ed;
  stroke-width: 2;
}
.is-selected .map-leader {
  stroke: #9d563b;
  stroke-width: 2.5;
}
.is-selected .map-dot {
  fill: #a85d3e;
  r: 7;
}
.map-ocean {
  font-family: var(--serif);
  font-size: 27px;
  font-style: italic;
  fill: #54796d;
  letter-spacing: 0.5px;
}
.map-country {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  fill: #526d55;
}
.map-country-panama {
  font-size: 13px;
  fill: #365d49;
  transform: rotate(25deg);
  transform-origin: 730px 235px;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid #b2c5b1;
  border-radius: 30px;
  color: #284c3e;
  background: #fffdf3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 10px #244b3510;
}
.map-pin span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10px;
  color: var(--cream);
  background: #4a7057;
  flex-shrink: 0;
}
.map-pin strong {
  font-size: 11px;
  font-weight: 500;
}
.map-pin[aria-current] {
  border-color: #9b563b;
  box-shadow: 0 0 0 3px #d6a57955;
}
.map-pin[aria-current] span {
  background: #994e32;
}
.map-pin:hover {
  background: #eee7cb;
  z-index: 2;
}
.map-pin:focus-visible {
  z-index: 3;
}
.map-pan-hint {
  display: none;
}
.map-place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px;
  border-top: 1px solid #c1cfb9;
}
.map-place-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 7px 11px;
  min-height: 44px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.map-place-list a span {
  font-size: 10px;
  color: #435c3b;
}
.map-place-list a[aria-current] {
  border-color: #bcc8ac;
  background: #e2e7ce;
}
.region-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.is-interactive .region-panels {
  display: block;
  margin-top: 0;
}
.region-panel {
  overflow: hidden;
  border: 1px solid #c5ccb6;
  border-radius: 7px;
  background: #fffdf5;
}
.region-panel > img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-bottom: 1px solid #cbd1bc;
}
.region-panel-copy {
  padding: 24px;
}
.region-panel-copy .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.region-panel h3 {
  font-size: 38px;
  line-height: 1.06;
  letter-spacing: -0.7px;
  margin-bottom: 9px;
}
.region-caption {
  color: #52634e;
  font-size: 14px;
  margin: 0 0 17px;
}
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 17px;
}
.region-tags span {
  background: #e9eddb;
  font-size: 10px;
  border-radius: 15px;
  padding: 5px 8px;
}
.region-description {
  font-size: 13px;
  color: #4a5c4d;
  line-height: 1.75;
  margin-bottom: 21px;
}
.region-panel .button {
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
  font-size: 12px;
}
.region-care-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  margin-top: 8px;
}
.map-footnote {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 14px;
  font-size: 11px;
  color: #52624e;
}
.map-footnote > p {
  margin: 11px 0;
}
.map-footnote details {
  max-width: 360px;
}
.map-footnote summary {
  min-height: 44px;
  padding-block: 11px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.map-footnote details p {
  line-height: 1.8;
}
.visual-pathways {
  border-top: 1px solid var(--rule);
}
.pathway-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.pathway-controls button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid #bdc8b2;
  border-radius: 5px;
  padding: 15px 22px;
  font-size: 14px;
  min-height: 52px;
}
.pathway-controls button[aria-pressed="true"] {
  background: #e1e8c6;
  border-color: #859c68;
}
.pathway-controls svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pathway-fallback-title {
  font-size: 30px;
  margin: 30px 0 20px;
}
.is-interactive .pathway-fallback-title {
  display: none;
}
.pathway-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.pathway-steps li {
  min-width: 0;
  position: relative;
}
.pathway-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -28px;
  top: 36%;
  font-size: 23px;
  color: #7c8b65;
}
.pathway-steps a {
  display: block;
  text-decoration: none;
}
.pathway-art {
  position: relative;
  border: 1px solid #c8cfba;
  border-radius: 6px;
  overflow: hidden;
}
.pathway-art img {
  width: 100%;
  height: auto;
}
.pathway-step {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff9e6;
  border: 1px solid #b4c0a0;
  border-radius: 50%;
  font-size: 11px;
}
.pathway-copy {
  padding: 20px 28px 0 0;
  position: relative;
}
.pathway-copy > span:first-child {
  font-size: 11px;
  color: #8f4c32;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.pathway-copy h4 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.12;
  font-weight: 400;
  margin: 9px 0 0;
}
.pathway-arrow {
  position: absolute;
  right: 0;
  top: 39px;
  font-size: 24px;
}
.pathway-steps a:hover .pathway-art {
  border-color: #6e855a;
}
.guide-card {
  padding: 0 23px 21px;
  background: #fcfaf0;
  border-color: #c8cfba;
}
.guide-card:nth-child(3n + 2),
.guide-card:nth-child(3n + 3) {
  background: #fcfaf0;
  border-color: #c8cfba;
}
.guide-cover {
  position: relative;
  margin: 0 -23px 22px;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #c8cfba;
}
.guide-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 6;
  object-fit: cover;
}
.cover-number {
  position: absolute;
  top: 12px;
  left: 13px;
  background: #fff9e9e8;
  border: 1px solid #bbc4a7;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.guide-card-meta {
  margin-bottom: 14px;
  gap: 5px;
  font-size: 10px;
}
.guide-card h3 {
  font-size: 31px;
  padding-right: 20px;
}
.guide-card h3 a > span {
  top: auto;
  right: 23px;
  bottom: 18px;
  font-size: 21px;
}
.guide-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 23px;
}
.guide-status {
  font-size: 10px;
  padding-right: 22px;
}
.article-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 45px;
  align-items: center;
}
.article-title-row h1 {
  font-size: clamp(44px, 5.2vw, 70px);
}
.article-cover {
  width: 100%;
  height: auto;
  border-radius: 65px 65px 4px 4px;
  border: 1px solid #c5ccb6;
}
.article-visual-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 30px;
}
.article-visual-overview a {
  display: block;
  min-width: 0;
  border: 1px solid #c9cfba;
  border-radius: 4px;
  overflow: hidden;
  font-size: 12px;
  text-decoration: none;
  background: #fdfbf2;
}
.article-visual-overview img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
.article-visual-overview a > span {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 14px;
}
@media (max-width: 1100px) {
  .atlas.is-interactive .atlas-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .is-interactive .region-panel {
    display: grid;
    grid-template-columns: 42% 1fr;
  }
  .is-interactive .region-panel > img {
    height: 100%;
    object-fit: cover;
    border: 0;
    border-right: 1px solid #c5ccb6;
  }
  .region-panel h3 {
    font-size: 37px;
  }
  .region-panel .button {
    width: auto;
    gap: 30px;
  }
  .region-care-link {
    margin-left: 15px;
  }
  .article-title-row {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .visual-page-hero {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 25px;
  }
  .atlas-toolbar {
    display: block;
  }
  .atlas-count {
    display: block;
    text-align: left;
    margin-top: 14px;
    max-width: none;
  }
  .atlas-filters button {
    font-size: 12px;
    padding-inline: 12px;
  }
  .map-pan-hint {
    display: block;
    padding: 12px 15px;
    margin: 0;
    background: #e9edda;
    color: #465e4b;
    font-size: 12px;
  }
  .map-footnote {
    display: block;
  }
  .map-footnote details {
    max-width: none;
  }
  .region-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pathway-steps {
    gap: 22px;
  }
  .pathway-steps li:not(:last-child)::after {
    font-size: 17px;
    right: -19px;
  }
  .pathway-copy h4 {
    font-size: 25px;
  }
  .pathway-controls button {
    font-size: 12px;
    padding: 12px;
    gap: 7px;
  }
  .article-title-row {
    grid-template-columns: minmax(0, 1fr) 170px;
  }
  .article-title-row h1 {
    font-size: 46px;
  }
  .article-cover {
    border-radius: 35px 35px 4px 4px;
  }
}
@media (max-width: 540px) {
  .visual-page-hero {
    grid-template-columns: 1fr;
  }
  .visual-hero-art {
    display: none;
  }
  .visual-page-hero h1 {
    font-size: 59px;
  }
  .visual-page-hero .breadcrumbs {
    margin-bottom: 25px;
  }
  .visual-jump-links {
    gap: 2px 18px;
    font-size: 12px;
  }
  .atlas-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .map-place-list {
    padding: 11px;
    gap: 3px;
  }
  .map-place-list a {
    font-size: 11px;
    padding-inline: 7px;
  }
  .is-interactive .region-panel {
    display: block;
  }
  .is-interactive .region-panel > img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-right: 0;
    border-bottom: 1px solid #c5ccb6;
  }
  .region-panel-copy {
    padding: 21px;
  }
  .region-care-link {
    margin-left: 0;
    display: flex;
  }
  .region-panels {
    grid-template-columns: 1fr;
  }
  .pathway-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .pathway-controls button {
    font-size: 14px;
    padding: 12px 16px;
  }
  .pathway-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pathway-steps a {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 18px;
    align-items: center;
  }
  .pathway-art {
    height: 125px;
  }
  .pathway-art img {
    height: 100%;
    object-fit: cover;
  }
  .pathway-step {
    width: 24px;
    height: 24px;
    font-size: 9px;
    top: 6px;
    left: 6px;
  }
  .pathway-copy {
    padding: 0 15px 0 0;
  }
  .pathway-copy > span:first-child {
    font-size: 9px;
  }
  .pathway-copy h4 {
    font-size: 25px;
    margin-top: 7px;
  }
  .pathway-arrow {
    top: auto;
    bottom: 0;
    font-size: 17px;
  }
  .pathway-steps li:not(:last-child)::after {
    content: "↓";
    top: auto;
    bottom: -24px;
    right: auto;
    left: 18%;
  }
  .article-title-row {
    grid-template-columns: 1fr;
  }
  .article-title-row h1 {
    font-size: 46px;
  }
  .article-cover {
    height: 155px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
  }
  .article-visual-overview {
    gap: 7px;
  }
  .article-visual-overview a {
    font-size: 10px;
  }
  .article-visual-overview a > span {
    padding: 9px;
    gap: 5px;
  }
  .article-visual-overview a > span > span {
    display: none;
  }
}
@media print {
  .atlas-toolbar,
  .map-place-list,
  .map-pan-hint,
  .pathway-controls,
  .article-cover,
  .article-visual-overview {
    display: none !important;
  }
  .article-title-row {
    display: block;
  }
  .article-title-row h1 {
    font-size: 34pt;
  }
  .atlas.is-interactive .atlas-workspace {
    display: block;
  }
  .map-scroll {
    overflow: visible;
  }
  .map-canvas {
    min-width: 0;
  }
}

/* Generated by scripts/visuals.mjs: map pin positions. */
.map-pin[data-region="city"] {
  left: 65%;
  top: 22.4%;
}
.map-pin[data-region="coronado"] {
  left: 65.8%;
  top: 59.2%;
}
.map-pin[data-region="boquete"] {
  left: 9.9%;
  top: 36.2%;
}
.map-pin[data-region="david"] {
  left: 14%;
  top: 66.8%;
}
.map-pin[data-region="azuero"] {
  left: 45%;
  top: 83%;
}
.map-pin[data-region="valley"] {
  left: 43.3%;
  top: 28.2%;
}
.map-pin[data-region="bocas"] {
  left: 24.5%;
  top: 12.8%;
}
