/* Rescue Listings: city pet help pages (/resources/<state>/<city>/), built by tools/build_cities.py.
   Loaded after resources.css on those pages only. Colors and sizes are the ones shell.css, content.css
   and resources.css already use. */

/* "On this page": the site's need bar, with links in place of the radio pills */
.rl-city-jump { margin-top: 26px; }
.rl-city-jump a.rl-need { text-decoration: none; }

/* The pets strip: the site's pet grid with one short row; the results bar sits on top as on /adopt/ */
.rl-city .rl-results-bar { margin-top: 22px; }
.rl-city-pets { margin-top: 16px; }
.rl-city-pets:empty { display: none; }
.rl-city-pets__msg { margin-top: 12px; }
.rl-city-pets__msg:empty { display: none; }
/* Phones: the first three cards (dog, cat, dog), then the link to the full search */
@media (max-width: 700px) { .rl-city-pets > li:nth-child(n+4) { display: none; } }

.rl-city-after { margin-top: 18px; max-width: 800px; }
.rl-city .rl-section > .rl-res-group:first-of-type { margin-top: 30px; }
/* A section with no checked listing for the city yet: the look of the state pages' "none" note, always shown */
.rl-city-none { max-width: 70ch; margin-top: 22px; padding: 14px 16px; background: var(--white); border: 1px dashed #b9c6b6; border-radius: var(--radius-sm); }

/* Statewide programs: a disclosure, open on wide screens (city.js), closed on phones */
.rl-city-state { margin-top: 28px; background: #fff; border: 1px solid #dce4dd; border-radius: 8px; color: #203d35; }
.rl-city-state > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--forest); }
.rl-city-state[open] > summary { border-bottom: 1px solid #e4eae5; }
.rl-city-state > .rl-orgs { margin: 0; padding: 18px 20px 20px; }
@media (max-width: 700px) {
  .rl-city-state > summary, .rl-city-state > .rl-orgs { padding-left: 14px; padding-right: 14px; }
}

/* Local pet rules: the site's fact grid inside a plain card, one row per topic, each fact with its source
   link and the month it was checked under it */
.rl-city-rules { margin-top: 22px; padding: 10px 24px 22px; }
.rl-city-rule + .rl-city-rule { margin-top: 10px; }
.rl-city-rule__src { display: block; margin-top: 2px; }
.rl-city-rule__src a { color: inherit; font-weight: 500; }
.rl-city-rules__note { margin-top: 16px; font-size: .79rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 700px) { .rl-city-rules .rl-facts { grid-template-columns: minmax(0, 1fr); } .rl-city-rules { padding: 6px 18px 18px; } }

/* No arrows on the link rows of these pages */
.rl-city .rl-link-rows a::after { content: none; }
