/* gta-6-map.org category pages (/map/<slug>/, owner 11-22). Loaded after style.css and guide.css on category pages only:
   the layout is the guide template's (title band, the map that enlarges in place, rows), these are the few pieces of
   their own. No title picture: the band is the page's question, the paragraph that answers it and the data's date.
   The build appends the pin positions of each page's map picture below. */

/* title band without a picture (the guide band leaves room for one) */
.cp .cp-hero { padding-top: 20px; gap: 10px; }
.cp-hero h1 { text-shadow: none; }
.cp-intro { margin: 0; font-size: 15px; line-height: 1.55; color: #d6d8dc; }
.cp-intro strong, .cp-intro b { color: var(--text); font-weight: 600; }
.cp .cp-intro a, .cp .cp-text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cp-date { margin: 0; font-size: 12px; line-height: 1.4; color: var(--faint); }

/* the map sits right under the paragraph on phones */
.cp .g2-map { height: 260px; margin-top: 14px; }

/* rows: the name, where it is, its figures; the distance from Jason's house on the right */
.cp-list { padding-top: 24px; }
.cp-row .g2-open { align-items: flex-start; padding: 4px 0; }
/* a plain row: the name, the distance and the way to the full map on the first line, where it is and its figures below
   on the full width */
.cp-row a.g2-open { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 10px; row-gap: 1px; }
.cp-row a.g2-open .g2-rt { display: contents; }
.cp-row a.g2-open .g2-rt b { grid-area: 1 / 1; }
.cp-row a.g2-open .g2-rt small { grid-area: 2 / 1 / 3 / -1; }
.cp-row a.g2-open .cp-facts { grid-area: 3 / 1 / 4 / -1; }
.cp-row a.g2-open .g2-dist { grid-area: 1 / 2; }
.cp-row a.g2-open .cp-go { grid-area: 1 / 3; }
.cp .cp-row .g2-rt b { font-size: 15px; }
.cp-row .g2-rt small { font-size: 13px; line-height: 1.4; }
.cp-facts { margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--text); }
.cp-facts::first-letter { text-transform: uppercase; }
.cp-row .g2-dist { padding-top: 2px; }
.cp-go { display: flex; align-items: center; gap: 4px; flex: none; height: 28px; margin-top: -3px; padding: 0 9px 0 7px; border: 1px solid var(--line); border-radius: 14px; font: 600 12px/1 "Inter", sans-serif; color: var(--text); }
.cp-go .i { width: 13px; height: 13px; color: var(--muted); }
a.g2-open:hover .cp-go { border-color: #6a7280; }
/* a place that is in the game but has no pin on our map: the same row, no link, and it says so */
.cp-row.is-nopin .g2-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 1px; cursor: default; }
.cp-row.is-nopin .g2-rt { display: contents; }
.cp-row.is-nopin .g2-rt b { grid-area: 1 / 1; }
.cp-row.is-nopin .g2-rt small { grid-area: 2 / 1 / 3 / -1; }
.cp-row.is-nopin .cp-facts { grid-area: 3 / 1 / 4 / -1; }
.cp-nopin { grid-area: 1 / 2; font: 500 12px/1.3 "Inter", sans-serif; color: var(--faint); white-space: nowrap; padding-top: 3px; }
.cp-row .g2-chk { margin-top: -6px; }
.cp-gsub { padding: 8px 0 2px; }
.cp .g2-gh { padding-top: 22px; }
.cp-list > .g2-sub + .g2-gh { padding-top: 16px; }
a.g2-open:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* straight to the sections: a row of chips on top of the list */
.cp-jump { order: 4; display: flex; gap: 8px; margin: 16px -16px 0 0; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
.cp-jump::-webkit-scrollbar { display: none; }
.cp .cp-jump .g2-chip { height: 40px; text-decoration: none; }
.cp-jump + .cp-list { padding-top: 22px; }

/* a list to tick off: its heading comes before the progress bar */
.cp-listhead { order: 1; padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.cp.g2-list-page .g2-listprog { order: 2; margin-top: 14px; }
.cp.g2-list-page .g2-map { order: 0; }
.cp.g2-list-page .g2-filter { order: 3; margin-top: 14px; }
.cp.g2-list-page .g2-listbody { order: 4; }
/* the jump links stay on top of the list's heading, clear of the state chips under the progress bar */
.cp.g2-list-page .cp-jump { order: 1; }
/* …and look like links there, so they are not taken for a second row of filters */
.cp.g2-list-page .cp-jump .g2-chip { height: 32px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cp.g2-list-page .cp-jump { gap: 18px; }

/* sections: the question is the heading, the answer is plain text */
.cp-sec { gap: 8px; }
.cp-text { font-size: 15px; line-height: 1.6; color: #c9ccd2; }
.cp-text p { margin: 0 0 10px; }
.cp-text > :last-child { margin-bottom: 0; }
.cp-text strong { color: var(--text); font-weight: 600; }
.cp-text ol, .cp-text ul { margin: 0 0 10px; padding-left: 20px; }
.cp-text li { margin-bottom: 5px; }
.cp-text .src { font-size: 13px; color: var(--faint); }
.cp-text .sources { font-size: 14px; padding-left: 18px; }
.cp-src { margin-top: 4px; border-top: 1px solid var(--line); }
.cp-src > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; font-size: 14px; color: var(--muted); }
.cp-src > summary::-webkit-details-marker { display: none; }
.cp-src > summary .g2-down { margin-top: 0; }
.cp-src .sources { margin: 0 0 6px; }
.cp-whole { margin-top: 14px; }

/* Phones: at this distance the live map draws its icons as dots, so the picture with its full-size pins stays until the
   map is enlarged (design review 11-22). A list to tick off keeps the live map when the phone is held sideways, where an
   open row moves it to its spot. */
@media (max-width: 900px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
  .cp .g2-map:not(.is-x) .gmap-live { opacity: 0; pointer-events: none; }
  .cp .g2-map.is-live:not(.is-x) .mk { display: block; }
  .cp-intro { font-size: 14px; line-height: 1.5; }
  /* a lower map, so the jump links and the top of the list show under it on the first screen; smaller pins, so a
     cluster reads as several places */
  .cp .g2-map { height: 200px; }
  .cp.g2-list-page .g2-map { height: 200px; }
  .cp .gmap .mk .pin { width: 21px; height: 24px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .cp.g2-single .g2-map:not(.is-x) .gmap-live { opacity: 0; pointer-events: none; }
  .cp.g2-single .g2-map.is-live:not(.is-x) .mk { display: block; }
}

@media (min-width: 901px) and (min-height: 501px), (min-width: 701px) and (orientation: landscape) and (min-height: 501px) {
  .cp .cp-hero { padding: 26px 0 6px; min-height: 0; gap: 0; }
  .cp .cp-hero > * { max-width: 780px; }
  .cp-hero h1 { font-size: 28px; }
  .cp-intro { margin-top: 14px; font-size: 16px; }
  .cp-date { margin-top: 10px; font-size: 13px; }
  .cp .g2-map { height: clamp(280px, calc(100vh - var(--head) - 132px), 520px); margin-top: 0; }
  .cp.g2-list-page .g2-map { height: 320px; }
  .cp-list { padding-top: 0; }
  .cp-jump { margin: 0 0 18px; padding-right: 0; flex-wrap: wrap; overflow: visible; }
  .cp-jump + .cp-list { padding-top: 0; }
  .cp-row:hover { background: var(--surface-2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; border-bottom-color: transparent; }
  .cp-listhead { padding-top: 0; margin-bottom: 14px; }
  .cp-text { max-width: 640px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .cp .cp-hero { padding: 14px 16px 0; gap: 6px; }
  .cp-hero h1 { font-size: 18px; }
  .cp-intro { font-size: 13px; line-height: 1.5; }
  .cp .g2-map, .cp.g2-list-page .g2-map { height: auto; margin-top: 0; }
  .cp-list { padding-top: 16px; }
  .cp-jump { margin-top: 12px; }
  .cp-jump + .cp-list { padding-top: 14px; }
  .cp-listhead { padding-top: 14px; }
}

/* generated: pin positions on the category maps */
.gm-map-banks-0{left:58.66%;top:52.24%}
.gm-map-banks-1{left:68.44%;top:49.99%}
.gm-map-banks-2{left:58.05%;top:51.34%}
.gm-map-banks-3{left:53.66%;top:53.38%}
.gm-map-banks-4{left:68.94%;top:42.69%}
.gm-map-banks-5{left:68.59%;top:49.86%}
.gm-map-banks-6{left:67.38%;top:47.88%}
.gm-map-banks-7{left:57.09%;top:57.42%}
.gm-map-banks-8{left:59.69%;top:39.62%}
.gm-map-banks-9{left:68.86%;top:41.58%}
.gm-map-banks-10{left:55.13%;top:31.82%}
.gm-map-banks-11{left:67.79%;top:38.32%}
.gm-map-banks-12{left:30.91%;top:48.41%}
.gm-map-banks-13{left:49.46%;top:90.48%}
.gm-map-banks-14{left:55.68%;top:61.30%}
.gm-map-banks-15{left:55.46%;top:62.00%}
.gm-map-banks-16{left:55.29%;top:44.94%}
.gm-map-banks-17{left:39.10%;top:71.64%}
.gm-map-banks-18{left:57.89%;top:51.68%}
.gm-map-banks-19{left:69.09%;top:46.86%}
.gm-map-banks-20{left:68.29%;top:48.67%}
.gm-map-banks-21{left:49.14%;top:21.52%}
.gm-map-garages-0{left:30.29%;top:27.67%}
.gm-map-garages-1{left:55.06%;top:37.24%}
.gm-map-garages-2{left:57.07%;top:70.31%}
.gm-map-garages-3{left:47.04%;top:21.52%}
.gm-map-garages-4{left:48.62%;top:23.35%}
.gm-map-garages-5{left:21.09%;top:63.22%}
.gm-map-garages-6{left:76.39%;top:43.01%}
.gm-map-garages-7{left:78.47%;top:53.25%}
.gm-map-garages-8{left:22.48%;top:27.10%}
.gm-map-garages-9{left:77.35%;top:58.98%}
.gm-map-garages-10{left:64.11%;top:46.42%}
.gm-map-garages-11{left:66.37%;top:73.33%}
.gm-map-garages-12{left:39.58%;top:90.48%}
.gm-map-garages-13{left:78.91%;top:57.43%}
.gm-map-gun-stores-0{left:50.79%;top:75.22%}
.gm-map-gun-stores-1{left:49.91%;top:50.46%}
.gm-map-gun-stores-2{left:57.89%;top:48.02%}
.gm-map-gun-stores-3{left:52.61%;top:70.41%}
.gm-map-gun-stores-4{left:64.59%;top:50.45%}
.gm-map-gun-stores-5{left:35.41%;top:58.12%}
.gm-map-gun-stores-6{left:36.59%;top:90.48%}
.gm-map-gun-stores-7{left:47.40%;top:35.58%}
.gm-map-gun-stores-8{left:35.47%;top:36.66%}
.gm-map-gun-stores-9{left:52.88%;top:55.41%}
.gm-map-gun-stores-10{left:56.52%;top:56.47%}
.gm-map-gun-stores-11{left:39.56%;top:65.08%}
.gm-map-gun-stores-12{left:51.83%;top:43.02%}
.gm-map-gun-stores-13{left:54.72%;top:63.78%}
.gm-map-gun-stores-14{left:54.10%;top:60.67%}
.gm-map-gun-stores-15{left:51.41%;top:86.27%}
.gm-map-gun-stores-16{left:42.08%;top:75.07%}
.gm-map-gun-stores-17{left:47.88%;top:21.52%}
.gm-map-gun-stores-18{left:54.46%;top:54.24%}
.gm-map-gun-stores-19{left:49.90%;top:73.39%}
.gm-map-gun-stores-20{left:54.61%;top:56.91%}
.gm-map-gun-stores-21{left:36.87%;top:40.14%}
.gm-map-gun-stores-22{left:56.19%;top:54.20%}
.gm-map-gun-stores-23{left:54.91%;top:50.75%}
.gm-map-jewelry-stores-0{left:46.87%;top:90.48%}
.gm-map-jewelry-stores-1{left:48.41%;top:43.02%}
.gm-map-jewelry-stores-2{left:48.56%;top:42.75%}
.gm-map-jewelry-stores-3{left:55.30%;top:58.68%}
.gm-map-jewelry-stores-4{left:57.84%;top:48.79%}
.gm-map-jewelry-stores-5{left:67.24%;top:46.15%}
.gm-map-jewelry-stores-6{left:68.10%;top:43.40%}
.gm-map-jewelry-stores-7{left:67.62%;top:39.00%}
.gm-map-jewelry-stores-8{left:59.27%;top:33.29%}
.gm-map-jewelry-stores-9{left:59.07%;top:33.15%}
.gm-map-jewelry-stores-10{left:59.19%;top:32.81%}
.gm-map-jewelry-stores-11{left:59.94%;top:22.13%}
.gm-map-jewelry-stores-12{left:59.64%;top:21.52%}
.gm-map-jewelry-stores-13{left:56.58%;top:54.32%}
.gm-map-jewelry-stores-14{left:59.21%;top:47.04%}
.gm-map-jewelry-stores-15{left:59.21%;top:46.54%}
.gm-map-jewelry-stores-16{left:68.91%;top:39.01%}
.gm-map-jewelry-stores-17{left:55.26%;top:29.00%}
.gm-map-jewelry-stores-18{left:31.09%;top:46.16%}
.gm-map-jewelry-stores-19{left:57.58%;top:48.28%}
.gm-map-pawn-shops-0{left:73.02%;top:51.41%}
.gm-map-pawn-shops-1{left:56.52%;top:50.67%}
.gm-map-pawn-shops-2{left:48.74%;top:90.48%}
.gm-map-pawn-shops-3{left:53.15%;top:78.62%}
.gm-map-pawn-shops-4{left:53.71%;top:77.51%}
.gm-map-pawn-shops-5{left:56.35%;top:54.06%}
.gm-map-pawn-shops-6{left:59.29%;top:50.15%}
.gm-map-pawn-shops-7{left:59.53%;top:46.04%}
.gm-map-pawn-shops-8{left:47.36%;top:21.52%}
.gm-map-pawn-shops-9{left:54.90%;top:65.01%}
.gm-map-pawn-shops-10{left:56.37%;top:58.09%}
.gm-map-pawn-shops-11{left:58.72%;top:52.40%}
.gm-map-pawn-shops-12{left:26.98%;top:34.21%}
.gm-map-pawn-shops-13{left:27.28%;top:27.62%}
.gm-map-barber-shops-0{left:49.75%;top:70.88%}
.gm-map-barber-shops-1{left:56.10%;top:47.70%}
.gm-map-barber-shops-2{left:57.88%;top:41.19%}
.gm-map-barber-shops-3{left:59.28%;top:37.34%}
.gm-map-barber-shops-4{left:47.12%;top:90.48%}
.gm-map-barber-shops-5{left:39.83%;top:69.66%}
.gm-map-barber-shops-6{left:55.49%;top:59.60%}
.gm-map-barber-shops-7{left:48.78%;top:43.93%}
.gm-map-barber-shops-8{left:34.10%;top:28.07%}
.gm-map-barber-shops-9{left:48.92%;top:21.52%}
.gm-map-barber-shops-10{left:49.84%;top:70.01%}
.gm-map-barber-shops-11{left:55.06%;top:43.55%}
.gm-map-barber-shops-12{left:55.45%;top:41.58%}
.gm-map-barber-shops-13{left:31.55%;top:47.53%}
.gm-map-barber-shops-14{left:68.21%;top:44.90%}
.gm-map-barber-shops-15{left:59.83%;top:34.96%}
.gm-map-barber-shops-16{left:68.45%;top:38.51%}
.gm-map-barber-shops-17{left:55.36%;top:30.52%}
.gm-map-pay-n-spray-0{left:49.62%;top:89.22%}
.gm-map-pay-n-spray-1{left:47.92%;top:75.34%}
.gm-map-pay-n-spray-2{left:40.73%;top:75.35%}
.gm-map-pay-n-spray-3{left:35.56%;top:90.48%}
.gm-map-pay-n-spray-4{left:36.01%;top:60.52%}
.gm-map-pay-n-spray-5{left:52.86%;top:65.67%}
.gm-map-pay-n-spray-6{left:56.22%;top:58.32%}
.gm-map-pay-n-spray-7{left:43.49%;top:58.36%}
.gm-map-pay-n-spray-8{left:51.96%;top:55.06%}
.gm-map-pay-n-spray-9{left:58.93%;top:55.41%}
.gm-map-pay-n-spray-10{left:54.43%;top:50.51%}
.gm-map-pay-n-spray-11{left:56.88%;top:47.64%}
.gm-map-pay-n-spray-12{left:64.98%;top:52.08%}
.gm-map-pay-n-spray-13{left:63.75%;top:45.50%}
.gm-map-pay-n-spray-14{left:48.83%;top:35.53%}
.gm-map-pay-n-spray-15{left:59.59%;top:36.91%}
.gm-map-pay-n-spray-16{left:35.02%;top:36.10%}
.gm-map-pay-n-spray-17{left:54.60%;top:22.15%}
.gm-map-pay-n-spray-18{left:38.00%;top:21.52%}
.gm-map-fishing-spots-0{left:45.09%;top:86.56%}
.gm-map-fishing-spots-1{left:49.07%;top:76.16%}
.gm-map-fishing-spots-2{left:64.94%;top:45.76%}
.gm-map-fishing-spots-3{left:42.21%;top:69.84%}
.gm-map-fishing-spots-4{left:52.30%;top:90.48%}
.gm-map-fishing-spots-5{left:40.66%;top:38.52%}
.gm-map-fishing-spots-6{left:45.18%;top:24.03%}
.gm-map-fishing-spots-7{left:47.97%;top:87.44%}
.gm-map-fishing-spots-8{left:38.36%;top:75.89%}
.gm-map-fishing-spots-9{left:45.23%;top:59.26%}
.gm-map-fishing-spots-10{left:52.80%;top:38.94%}
.gm-map-fishing-spots-11{left:47.76%;top:50.89%}
.gm-map-fishing-spots-12{left:65.86%;top:51.64%}
.gm-map-fishing-spots-13{left:49.09%;top:68.68%}
.gm-map-fishing-spots-14{left:53.79%;top:82.04%}
.gm-map-fishing-spots-15{left:65.32%;top:66.34%}
.gm-map-fishing-spots-16{left:57.44%;top:27.63%}
.gm-map-fishing-spots-17{left:55.28%;top:79.67%}
.gm-map-fishing-spots-18{left:53.89%;top:28.65%}
.gm-map-fishing-spots-19{left:59.62%;top:54.71%}
.gm-map-fishing-spots-20{left:47.10%;top:72.36%}
.gm-map-fishing-spots-21{left:35.65%;top:51.15%}
.gm-map-fishing-spots-22{left:39.06%;top:64.05%}
.gm-map-fishing-spots-23{left:36.28%;top:84.82%}
.gm-map-fishing-spots-24{left:59.84%;top:66.91%}
.gm-map-fishing-spots-25{left:39.29%;top:74.06%}
.gm-map-fishing-spots-26{left:46.68%;top:47.10%}
.gm-map-fishing-spots-27{left:49.40%;top:55.22%}
.gm-map-fishing-spots-28{left:52.41%;top:38.58%}
.gm-map-fishing-spots-29{left:51.65%;top:84.41%}
.gm-map-fishing-spots-30{left:61.37%;top:34.78%}
.gm-map-fishing-spots-31{left:48.10%;top:80.43%}
.gm-map-fishing-spots-32{left:52.99%;top:21.52%}
.gm-map-fishing-spots-33{left:34.14%;top:39.37%}
.gm-map-fishing-spots-34{left:35.55%;top:62.63%}
