/* Listing page sections (owner 2026-11-11; rewritten for the divider rule of the owner handoffs of 2026-11-19, docs/IP-Reference.md section CG, registry L30).
   Loaded by the listing page only, after web.css, so nothing else is touched.

   THE LEFT COLUMN IS A FLOW OF SECTIONS. The template builds ONE ordered list of the sections that exist (description, offers, map, hours band, gallery)
   and prints a divider (<hr class="listing-flow__divider">) between two neighbours - never before the first, never after the last, never doubled, and the
   category tags below the flow have none. The sections draw no divider and no padding of their own: that was the old pattern (every .listing-section
   carried a border-top, so a section missing above left a divider hanging and the first section needed a modifier to hide it). The 1px line and the
   32px above and below it belong to the divider, the numbers are the page's own pattern unchanged (the boards draw 28px between sections - the live
   32px is kept, the owner's rule of 2026-11-19). The right column's sections (Social links) still use .listing-section from web.css. */

.listing-flow {
  padding-bottom: var(--space-6, 32px); /* what the last section's own bottom padding was: the tags keep the 48px they had under the last section */
}

/* The first section sits a little under the title block: the description never had a divider above it, only 16px of air (owner 2026-11-11, "just make it
   simple") - the same air for whatever section comes first, the map included. The title block is the first thing of this column again (owner 2026-11-20,
   docs section CH), and the claim card sits at the top of the right column, so no section needs to line up with the card. */
.listing-flow__item:first-child {
  padding-top: var(--space-4, 16px);
}

.listing-flow__divider {
  height: 0;
  margin: var(--space-6, 32px) 0;
  border: 0;
  border-top: 1px solid var(--border, #dedede);
}

/* Other locations (owner request 2026-10-04) end the LEFT column, under the tags (owner 2026-11-20: "other locations should be also only in the left
   column"). The section is the old .listing-section pattern from web.css (a 1px divider above it, 32px above and below the content): when it was a grid item
   of its own the grid's 32px row gap sat above that divider, so the tags it now follows keep the same 32px. With no tags above it, the flow's own 32px
   of padding is the space. */
ul.ulist + .listing-locations {
  margin-top: var(--space-6, 32px);
}

/* Offers banner (owner handoff 2026-12-05, docs section DP): one responsive picture, no heading; the corners and no shadow of the gallery's photos. */
.listing-offers__img {
  display: block;
  width: 100%;
  height: auto;
}

/* The categories as one plain line above Similar businesses (owner handoff 2026-12-05): links in the page's link colour, not underlined, no buttons. */
.listing-categories {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
.listing-categories a {
  text-decoration: none;
}
