/* Service discovery first, with the map visible at the same level on wide screens. */
.rd-home-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 28px; align-items: start; }
.rd-home-primary, .rd-home-map { min-width: 0; }
.rd-home-layout .rd-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rd-home-map { margin: 28px 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: sticky; top: 100px; }
.rd-home-map h2 { font-size: 22px; }
.rd-home-map .rd-home-section-head { gap: 10px; }
.rd-home-map .rd-home-section-head > a { font-size: 12px; }
.rd-home-map .cm-explorer { margin-top: 0; }
.rd-home-map .cm-explorer .zmap { border: 0; border-radius: 6px; }
/* small box: zoom buttons in a row along the bottom edge, not over the land */
.rd-home-map .cm-explorer .zctl { top: auto; bottom: 6px; right: 6px; flex-direction: row; gap: 4px; }
.rd-home-map .cm-explorer .zctl button { min-width: 30px; height: 30px; font-size: 14px; }
.rd-home-map .cm-explorer .zctl .zall { font-size: 11px; }
.rd-home-map .cm-name-world { display: none; }
.rd-home-map .map-detail .cm-country-name { display: block; }
.rd-home-map > .sub, .rd-map-tools p { font-size: 13px; line-height: 1.6; }
.rd-map-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.rd-map-shortcuts > a, .rd-map-tools > a { min-height: 36px; display: inline-flex; align-items: center; }
.rd-map-tools { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.rd-map-tools h3 { margin: 0; font-size: 16px; }
.rd-map-tools p { margin: 8px 0; color: var(--muted); }
.rd-map-tools > a { font-size: 13px; display: flex; }
.rd-overview-freshness { display: block; margin: -6px 0 10px; font-size: 11px; }
.rd-home .rd-finder-intro { padding-bottom: 20px; }
.rd-home .rd-finder-intro h1 { margin-bottom: 8px; }
.rd-home .rd-home-jumps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; }
.rd-home-jumps a { display: inline-flex; min-height: 32px; align-items: center; }
.rd-home-map, #country-connectivity { scroll-margin-top: 95px; }
@media (max-width: 1100px) {
  .rd-home-layout { grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr); gap: 20px; }
  .rd-home-map { padding: 16px; }
  .rd-home-layout .rd-overview-card { padding: 13px; }
}
@media (max-width: 900px) {
  .rd-home-layout { display: block; }
  .rd-home-map { position: static; margin-top: 10px; }
  .rd-home-map .cm-name-world { display: block; }
}
@media (max-width: 560px) {
  .rd-home-layout .rd-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-home-map .cm-name-world { display: none; }
  .rd-home-map .map-detail .cm-country-name { display: block; }
}
