/* The listing page in layout A: the tab strip, the sections under it, and the related listings (Nov 21, 2026).
   listing-a/early.js and tabs.js run the tabs. The first screen and the wash band are in zza-listing.css.
   Adam, of the first version: "its just too big ... needs to be clean and tight but still sectioned off nicely". So the
   spacing is on a 4 px scale: 8 px inside a group, 16 px between groups, and 20 to 24 px at a card's edge. Headings are
   20/26 px, sub-headings 16/22 px, text 16/24 px, and nothing is under 14 px. Corners come from --gl-radius.
   This file loads for a screen of 1,100 px or wider (growthland-restyle.php puts that in the link's media attribute).
   gl-la-tabbed is on the listing only while its tabs work. Without it, every section shows as a card of its own, and
   the strip's links go to them. */

/* ---------- The strip ---------- */

body .gl-lp.gl-lp--a .gl-jump {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 24px;
  margin: 0; padding: 12px 0 0; border: 0; background: none;
}
/* The wash reaches both edges of the window, so nothing shows beside the strip while the page scrolls under it. A border
   image paints past its box and never makes the page wider. */
body .gl-lp.gl-lp--a .gl-jump::before {
  content: ""; position: absolute; inset: 0; z-index: -1; width: auto; opacity: 1; background: none; pointer-events: none;
  border-image: conic-gradient(var(--la-wash, var(--gl-wash)) 0 0) fill 0 // 0 100vw;
}
/* The rule under the strip. The tabs sit on it, and the open one covers it. */
body .gl-lp.gl-lp--a .gl-jump::after {
  content: ""; position: absolute; inset: auto 0 0; z-index: 0; width: auto; height: 1px; opacity: 1;
  background: var(--la-edge, rgb(185, 191, 204)); pointer-events: none;
}
body .gl-lp.gl-lp--a .gl-jump > .gl-jump-scroll { display: none; }

body .gl-lp.gl-lp--a .gl-jump > .gl-la-tabs {
  position: relative; z-index: 1; grid-template-columns: repeat(var(--la-tabs, 1), minmax(min-content, 1fr)); gap: 6px;
  flex: 1 1 0; min-width: 0; max-width: calc(var(--la-tabs, 1) * 152px);
}
body .gl-lp.gl-lp--a .gl-jump .gl-la-tab {
  position: relative; box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 4px 8px; border: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius) var(--gl-radius) 0 0; background: var(--la-tab, #e3e6ee);
  color: var(--gl-ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; text-wrap: balance;
  transition: none;
}
body .gl-lp.gl-lp--a .gl-jump .gl-la-tab[aria-selected="true"] {
  border-top-color: var(--gl-navy); border-bottom-color: #fff; background: #fff; box-shadow: inset 0 2px 0 var(--gl-navy); color: var(--gl-navy);
}
@media (hover: hover) {
  body .gl-lp.gl-lp--a .gl-jump .gl-la-tab:not([aria-selected="true"]):hover { background: var(--la-tab-hover, #eceef4); color: var(--gl-navy); }
}
body .gl-lp.gl-lp--a .gl-jump .gl-la-tab:focus-visible { z-index: 1; }
@media (forced-colors: active) {
  body .gl-lp.gl-lp--a .gl-jump .gl-la-tab[aria-selected="true"] { border-top: 3px solid Highlight; border-bottom-color: Canvas; }
}

/* ---------- The contact part ---------- */

body .gl-lp.gl-lp--a .gl-jump > .gl-la-act {
  position: relative; z-index: 1; flex: none; align-items: center; column-gap: 16px; margin-left: auto; padding-bottom: 2px;
  white-space: nowrap;
}
body .gl-lp.gl-lp--a .gl-la-act > .gl-la-who { color: var(--gl-muted); font-size: 14px; line-height: 1.4; }
body .gl-lp.gl-lp--a .gl-la-act > a {
  display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0; color: var(--gl-navy);
  font-size: 15px; font-weight: 600; line-height: 1.25; text-decoration: none;
}
body .gl-lp.gl-lp--a .gl-la-act > a .gl-i { flex: none; width: 18px; height: 18px; margin: 0; }
body .gl-lp.gl-lp--a .gl-la-act > a.gl-la-show { padding: 0 14px; border-radius: var(--gl-radius); background: var(--gl-navy); color: #fff; }
@media (hover: hover) {
  body .gl-lp.gl-lp--a .gl-la-act > a:not(.gl-la-show):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  body .gl-lp.gl-lp--a .gl-la-act > a.gl-la-show:hover { background: var(--gl-navy-hover, var(--gl-navy)); color: #fff; }
}
/* A finger needs 44 px. */
@media (pointer: coarse) { body .gl-lp.gl-lp--a .gl-jump .gl-la-tab, body .gl-lp.gl-lp--a .gl-la-act > a { min-height: 44px; } }

/* Too little room (early.js measures it): the name leaves, then the phone number, then the tabs wrap, and at a very large
   text size the contact part takes the row above the tabs. */
body .gl-lp.gl-lp--a .gl-jump.gl-la-fit1 .gl-la-who, body .gl-lp.gl-lp--a .gl-jump.gl-la-fit2 .gl-la-act > a.gl-la-call { display: none; }
body .gl-lp.gl-lp--a .gl-jump.gl-la-fit3 > .gl-la-tabs { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--la-col, 120px)), 1fr)); }
body .gl-lp.gl-lp--a .gl-jump.gl-la-fit4 > .gl-la-tabs { flex-basis: 100%; max-width: none; }
body .gl-lp.gl-lp--a .gl-jump.gl-la-fit4 > .gl-la-act { flex-wrap: wrap; order: -1; padding-bottom: 8px; }
/* A tab as narrow as its words allow, for as long as early.js measures it. */
body .gl-lp.gl-lp--a .gl-jump.gl-la-measure .gl-la-tab { justify-self: start; width: min-content; }

/* ---------- The sections: white cards ---------- */

/* With reduced motion on, restyle.css gives every element a transition of a hundredth of a millisecond, and a section that
   closed then kept its height for one more frame, so none of its properties may move. */
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[data-gl-tab] {
  box-sizing: border-box; display: flow-root; margin: 24px 0 0; padding: 20px 24px 24px;
  border: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius); background: #fff;
  scroll-margin-top: calc(var(--gl-head) + var(--gl-jump-h, 52px) - 80px); transition-property: none !important;
}
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[data-gl-tab]:first-child,
body .gl-lp.gl-lp--a.gl-la-tabbed .gl-lp-secs > .gl-sec[data-gl-tab] { margin-top: 0; border-top: 0; border-radius: 0 0 var(--gl-radius) var(--gl-radius); }
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[role="tabpanel"]:focus-visible { outline-offset: -3px; }
body .gl-lp.gl-lp--a:not(.gl-la-keys) .gl-lp-secs > .gl-sec[role="tabpanel"]:focus-visible { outline: none !important; }
/* The same holds for what is in a section: its words kept an older size for a frame after its tab opened. */
@media (prefers-reduced-motion: reduce) { body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[data-gl-tab] * { transition-property: none !important; } }
/* Two sections of one tab ("Before you buy" goes with Overview) are one card. */
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec.gl-sec--about[data-gl-tab]:has(+ .gl-sec--buy) { padding-bottom: 0; border-bottom: 0; border-radius: 0; }
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec.gl-sec--about[data-gl-tab] + .gl-sec.gl-sec--buy { margin-top: 0; border-top: 0; border-radius: 0 0 var(--gl-radius) var(--gl-radius); }

body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] > .gl-sec-title,
body.gl-la .gl-lp.gl-lp--a .gl-sec--buy[data-gl-tab] > .gl-k-buy > .gl-sec-title { margin: 0 0 12px !important; font-size: 20px !important; line-height: 26px; }
body .gl-lp.gl-lp--a .gl-sec[data-gl-tab] > .gl-sec-title + * { margin-top: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-sub { font-size: 16px !important; line-height: 22px; }
/* The page's 80 px of scroll padding (restyle.css) adds to this, for an address that names a part of a section. */
body .gl-lp.gl-lp--a .gl-sec[data-gl-tab] :is(h2, h3, h4, [id]) { scroll-margin-top: calc(var(--gl-head) + var(--gl-jump-h, 52px) + 16px - 80px); }

/* h-extras.css leaves out a Documents section that repeats the brochure. Here it has its own tab. */
html.gl-x-docs-dup body .gl-lp.gl-lp--a .gl-lp-secs > #gl-docs.gl-sec[data-gl-tab] {
  display: flow-root; height: auto; margin: 24px 0 0; padding: 20px 24px 24px; overflow: visible; visibility: visible;
}
html.gl-x-docs-dup body .gl-lp.gl-lp--a .gl-lp-secs > #gl-docs.gl-sec[data-gl-tab]:first-child,
html.gl-x-docs-dup body .gl-lp.gl-lp--a.gl-la-tabbed .gl-lp-secs > #gl-docs.gl-sec[data-gl-tab] { margin-top: 0; }

/* ---------- Overview, terms, and what to know before buying ---------- */

/* Text keeps a line length that is easy to read (--gl-measure), whatever the card's width. */
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] :is(.gl-about-body, .gl-term-body),
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] :is(.gl-about-body, .gl-term-body) :is(p, li) { font-size: 16px; line-height: 24px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body :is(p, ul, ol) { margin-bottom: 12px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body li { margin-bottom: 4px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body :is(h3, h4) { margin: 20px 0 4px !important; font-size: 16px !important; line-height: 22px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body > img { margin-bottom: 12px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body > :first-child { margin-top: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec[data-gl-tab] .gl-about-body > :last-child { margin-bottom: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-term { column-gap: 12px; padding: 12px 0; }
body.gl-la .gl-lp.gl-lp--a .gl-term:first-child { padding-top: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-term:last-child { padding-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-term-icon { margin-top: 2px; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body :is(h3, h4, .gl-term-head) { font-size: 16px !important; line-height: 24px; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body :is(p, ul) { margin-bottom: 8px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body li { margin-bottom: 4px; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body li > p, body.gl-la .gl-lp.gl-lp--a .gl-term-body > :last-child, body.gl-la .gl-lp.gl-lp--a .gl-term-body > :last-child > :last-child { margin-bottom: 0 !important; }
/* Terms in three or more short parts run in two columns, under their own heading. */
body.gl-la .gl-lp.gl-lp--a .gl-term-body:has(h3:not(.gl-term-head) ~ h3 ~ h3, h4 ~ h4 ~ h4) { max-width: none; columns: 2 400px; column-gap: clamp(28px, 2.6vw, 40px); }
body.gl-la .gl-lp.gl-lp--a .gl-term-body > .gl-term-head { column-span: all; margin-bottom: 8px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body > .gl-term-head + :is(h3, h4) { margin-top: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body :is(h3, h4) { break-after: avoid; }
body.gl-la .gl-lp.gl-lp--a .gl-term-body :is(li, p, tr, table) { break-inside: avoid; }
body.gl-la .gl-lp.gl-lp--a .gl-sec .gl-k-quote { font-size: 16px !important; line-height: 24px; }

/* ---------- Farm facts ---------- */

/* The facts table and the county's figures side by side, and the rest under them at full width. The county's block comes
   later in the page, so the grid gives it the second column, beside every row that the facts can fill. The last of those
   rows takes the rest of its height, so it never spreads the facts apart. No row gap, because unused rows would add it. */
body.gl-la .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec--facts[data-gl-tab]:not([hidden]) {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 2.6vw, 40px); align-items: start;
}
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts[data-gl-tab] > * { grid-column: 1 / -1; min-width: 0; margin-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec--facts[data-gl-tab]:not([hidden]):has(> .gl-j-county):has(> :not(.gl-sec-title, .gl-x-fold, .gl-i-block, .gl-j-county, .gl-la-farms, .gl-legal, .gl-x-pop)) { grid-template-rows: repeat(11, auto) 1fr; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts[data-gl-tab]:has(> .gl-j-county) > :not(.gl-sec-title, .gl-x-fold, .gl-i-block, .gl-j-county, .gl-la-farms, .gl-legal) { grid-column: 1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts[data-gl-tab]:has(> :not(.gl-sec-title, .gl-x-fold, .gl-i-block, .gl-j-county, .gl-la-farms, .gl-legal, .gl-x-pop)) > .gl-j-county { grid-area: 2 / 2 / 13 / 3; margin-top: 0; }

/* The facts: every group's labels have one width, so that the values line up, and one fact to a row. With no county beside
   them, the facts keep their two columns, and two groups stand side by side. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-ff { grid-template-columns: 144px minmax(0, 1fr) 0 144px minmax(0, 1fr); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-ff-row { padding: 8px 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts :is(.gl-ff-row, .gl-j-row) dt { line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts :is(.gl-ff-row, .gl-j-row) dd { line-height: 24px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county) .gl-ff, body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-ff-group > .gl-ff { grid-template-columns: 144px minmax(0, 1fr); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county) .gl-ff-row.gl-ff-row, body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-ff-group .gl-ff-row.gl-ff-row { grid-column: 1 / -1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county) .gl-ff-row.gl-ff-row dd, body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-ff-group .gl-ff-row.gl-ff-row dd { grid-column: 2; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:not(:has(> .gl-j-county)) > .gl-ff-group:has(+ .gl-ff-group),
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:not(:has(> .gl-j-county)) > .gl-ff-group + .gl-ff-group { grid-column: auto; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-ff-group + .gl-ff-group { margin-top: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:not(:has(> .gl-j-county)) > .gl-sec-title + .gl-ff-group + .gl-ff-group { margin-top: 0; }
/* A fact with no second fact beside it takes the whole row, so its hairline doesn't stop halfway. */
body.gl-la .gl-lp.gl-lp--a .gl-ff-row--l:not(:has(+ .gl-ff-row--r)) { grid-column: 1 / -1; }
body.gl-la .gl-lp.gl-lp--a .gl-ff-row--l:not(:has(+ .gl-ff-row--r)) dd { grid-column: 2 / -1; }
/* A first group with a long text fills its side of the row by itself, so the next group runs the card's width under it. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county):has(> .gl-sec-title + .gl-ff-group .gl-ff-row--w) > .gl-ff-group.gl-ff-group + .gl-ff-group { grid-column: 1 / -1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county):has(> .gl-sec-title + .gl-ff-group .gl-ff-row--w) > .gl-ff-group + .gl-ff-group > .gl-ff { grid-template-columns: 144px minmax(0, 1fr) 0 144px minmax(0, 1fr); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county):has(> .gl-sec-title + .gl-ff-group .gl-ff-row--w) > .gl-ff-group + .gl-ff-group .gl-ff-row--l:has(+ .gl-ff-row--r) { grid-column: 1 / 3; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county):has(> .gl-sec-title + .gl-ff-group .gl-ff-row--w) > .gl-ff-group + .gl-ff-group .gl-ff-row--r { grid-column: 4 / 6; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county):has(> .gl-sec-title + .gl-ff-group .gl-ff-row--w) > .gl-ff-group + .gl-ff-group .gl-ff-row:is(.gl-ff-row--w, .gl-ff-row--l:not(:has(+ .gl-ff-row--r))) dd { grid-column: 2 / -1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-ff-row.gl-i-base-row:last-child { padding-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts table.gl-i-base { overflow-wrap: normal; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:has(> .gl-j-county) .gl-ff-row table.gl-i-base.gl-d-stack:not(#gl-i-none) :is(th, td):not(:last-child) { padding-right: 16px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-sub { padding-bottom: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-ff, .gl-ff-group, p, ul, table) + .gl-sub { margin-top: 20px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-k-buy + * { margin-top: 12px !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(table, :has(> table)):not(.gl-la-farms) :is(tbody, tfoot):last-child > tr:last-child, body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(table, :has(> table)):not(.gl-la-farms) :is(tbody, tfoot):last-child > tr:last-child > :is(th, td) { border-bottom: 0 !important; }
/* A line of small print that staff put under the facts. Its style attribute sets a margin of 0. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-ff, .gl-ff + .gl-i-pop) + p[style] { margin-top: 8px !important; }

/* The county's figures. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-j-row { grid-template-columns: 144px minmax(0, 1fr); padding: 8px 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-j-county > p.gl-j-note { margin-top: 8px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts:not(:has(> :not(.gl-sec-title, .gl-x-fold, .gl-i-block, .gl-j-county, .gl-la-farms, .gl-legal, .gl-x-pop))) > .gl-j-county { max-width: 860px; margin: 16px 0 20px; }

/* Under the two: a hairline over each block that runs the card's width. It ends the facts, so their last row has none. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-ff > :is(.gl-ff-row:last-child, .gl-ff-row--l:has(+ .gl-ff-row--r:last-child)) { border-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-x-fold, .gl-i-block, .gl-la-farms, .gl-legal):not(.gl-j-county) { margin: 0; border-top: 1px solid var(--gl-rule); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-ff, .gl-ff-group, .gl-i-pop, p, ul, table) + :is(.gl-x-fold, .gl-i-block, .gl-la-farms, .gl-legal):not(.gl-j-county) { margin-top: 16px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-x-fold, .gl-i-block):not(.gl-j-county) > .gl-sub { margin: 0 !important; padding: 10px 0 !important; border: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-x-fold, .gl-i-block):not(.gl-j-county) > .gl-sub:has(.gl-i-bench-toggle) { padding: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts .gl-i-bench-toggle { min-height: 44px; padding: 11px 0; font-size: 16px; line-height: 22px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-x-fold, .gl-i-block):not(.gl-j-county, .is-folded) { padding-bottom: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-x-fold, .gl-i-block):not(.gl-j-county) > .gl-sub + * { margin-top: 4px; }
/* An open fold said "Hide" twice: after its words, and after its chevron (an older rule of h-extras.css weighs more). */
body.gl-la .gl-lp.gl-lp--a .gl-i-bench-toggle[aria-expanded="true"]::after { content: none; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-la-farms, .gl-legal) { padding-top: 16px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > :is(.gl-la-farms, .gl-legal) > .gl-sub { padding-bottom: 0; border-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--facts > .gl-la-farms { padding-bottom: 12px; }
/* The acre bar's key starts where the bar does. */
body.gl-la .gl-lp.gl-lp--a .gl-i-ac-row { grid-template-columns: 160px minmax(0, 1fr) 6em; }
body.gl-la .gl-lp.gl-lp--a .gl-i-ac-key { margin-left: 176px; }
body.gl-la .gl-lp.gl-lp--a .gl-legal-body { gap: 16px; padding-top: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-legal-panel { padding: 12px 16px; }
body.gl-la .gl-lp.gl-lp--a .gl-legal-text { max-width: 900px; line-height: 24px; }

/* ---------- Location ---------- */

/* Where the farm is at the left, and the brochure's maps at the right, four across. A boundary map leads, at full width. */
body.gl-la .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec--where[data-gl-tab]:not([hidden]):has(> .gl-g-maps):has(> :is(.gl-where, .gl-where-map)) {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(28px, 2.6vw, 40px); align-items: start;
}
body.gl-la .gl-lp.gl-lp--a .gl-sec--where[data-gl-tab] > :is(.gl-sec-title, .gl-lb) { grid-column: 1 / -1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--where:has(> .gl-g-maps) > .gl-where { grid-area: 3 / 1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--where:has(> .gl-g-maps) > .gl-where-map { grid-area: 4 / 1; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--where:has(> :is(.gl-where, .gl-where-map)) > .gl-g-maps { grid-area: 3 / 2 / 5 / 3; margin-top: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--where > .gl-lb ~ * { margin-top: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-where { gap: 16px 32px; }
body.gl-la .gl-lp.gl-lp--a .gl-locator { gap: 16px 32px; }
body.gl-la .gl-lp.gl-lp--a .gl-locator figure { gap: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-locator .gl-loc-county { width: clamp(200px, 18.4vw, 280px); }
body.gl-la .gl-lp.gl-lp--a .gl-locator--both .gl-loc-county { width: clamp(240px, 22vw, 280px); }
body.gl-la .gl-lp.gl-lp--a .gl-where-info:has(p) { flex-basis: 220px; }
body.gl-la .gl-lp.gl-lp--a .gl-where :is(.gl-where-text, .gl-where-info > p) { margin-bottom: 12px; font-size: 16px; line-height: 24px; }
/* A map button with no words of its own sits beside the drawings, at their foot, and not on a row of its own. */
body.gl-la .gl-lp.gl-lp--a .gl-where > .gl-where-info:not(:has(p)) { flex: 0 1 auto; align-self: flex-end; }
/* A Location section with nothing but Iowa and a map button: the drawing is a little larger. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--where:not(:has(> .gl-g-maps)) .gl-where:not(:has(.gl-where-info p)) .gl-locator:not(.gl-locator--both) .gl-loc-county { width: 340px; }

/* The maps. Alone (Documents leads with them on a listing that has no Location), they keep a thumbnail's size. */
body.gl-la .gl-lp.gl-lp--a .gl-g-maps { margin-top: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-g-maps .gl-g-maps-head.gl-g-maps-head { margin: 0 0 12px !important; padding: 0 0 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-g-maps .gl-g-maps-list { grid-template-columns: repeat(auto-fill, 168px); gap: 16px 12px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--where:has(> :is(.gl-where, .gl-where-map)) > .gl-g-maps .gl-g-maps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.gl-la .gl-lp.gl-lp--a .gl-g-maps .gl-g-map-link { gap: 6px; }
body.gl-la .gl-lp.gl-lp--a .gl-g-map-label { line-height: 20px; }

/* ---------- Documents ---------- */

/* Two columns of rows, and one when there is one row. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--docs > ul.gl-docs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); column-gap: clamp(28px, 2.6vw, 40px); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--docs .gl-doc-item.gl-doc-item { padding: 10px 0; border-top: 1px solid var(--gl-rule); }
body.gl-la .gl-lp.gl-lp--a .gl-sec--docs > ul.gl-docs { margin-bottom: -8px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--docs .gl-doc-name { font-size: 16px; line-height: 22px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--docs .gl-g-maps { margin: 0 0 20px !important; }

/* ---------- The related listings ---------- */

/* Compact rows, three across: a small card with its photo at the left. */
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) { margin-top: 28px; }
body.gl-la .gl-lp.gl-lp--a .gl-related.gl-related--link { margin-top: 20px; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) > .gl-sec-title { margin: 0 0 8px !important; font-size: 20px !important; line-height: 26px; }
body.gl-la .gl-lp.gl-lp--a .gl-sec--sale > p { margin: 0 0 12px; font-size: 16px; line-height: 24px; }
body.gl-la .gl-lp.gl-lp--a .gl-related > .gl-related-sold { margin-top: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-related--link > .gl-related-sold { margin-top: 0; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) ul.gl-cards { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card { flex-direction: row; align-items: stretch; gap: 0; overflow: hidden; border: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius); background: #fff; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card .gl-card-photo { flex: none; width: 136px; min-height: 104px; aspect-ratio: auto; border-radius: 0; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card .gl-card-body { flex: 1 1 auto; align-content: center; gap: 2px; min-width: 0; padding: 10px 14px; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card .gl-card-name { line-height: 22px; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card :is(.gl-card-facts, .gl-card-more, .gl-card-note) { font-size: 14px; line-height: 20px; }
/* A flag stays inside the photo, over two lines if its words need them. */
body.gl-la .gl-lp.gl-lp--a :is(.gl-related, .gl-sec--sale) a.gl-card .gl-card-photo .gl-card-flag { top: 6px; left: 6px; max-width: calc(100% - 12px) !important; padding: 2px 6px; line-height: 18px; white-space: normal; }
/* The placeholders of "Recently viewed" take the cards' shape, so nothing moves when the cards arrive. */
body.gl-la .gl-lp.gl-lp--a .gl-x-wait { grid-template-columns: 136px minmax(0, 1fr); grid-template-rows: repeat(2, auto); align-content: center; column-gap: 14px; }
body.gl-la .gl-lp.gl-lp--a .gl-x-wait-photo { grid-row: 1 / 3; width: auto; height: 130px; aspect-ratio: auto; margin: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-x-wait-line { align-self: end; }
body.gl-la .gl-lp.gl-lp--a .gl-x-wait-line--short { align-self: start; }
/* Staff set this link's blue in the write-up. */
body.gl-la .gl-lp.gl-lp--a .gl-sec--sale > p a { color: var(--gl-navy) !important; font-weight: 600 !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* A fact that may break over two lines, such as "Bids due December 15th, 2026 at 10 AM": the card cuts off the dot that
   starts a line (d-listings.css), and it cut the second line's first letter too. */
body.gl-la .gl-lp.gl-lp--a .gl-card .gl-card-fig--wrap { display: inline-block; max-width: 100%; padding-left: .42em; text-indent: -.42em; vertical-align: top; }

/* ---------- The tabs at work ---------- */

/* A tab opens at once: y-motion.js's fade, for a section that a reader scrolls to, doesn't run inside the tabs. */
body .gl-lp.gl-lp--a.gl-la-tabbed .gl-lp-secs > .gl-sec[data-gl-tab] .gl-y-rv { opacity: 1 !important; transform: none !important; transition: none !important; }

/* A closed section keeps its place in the page with no size, so that find in page reaches its words, and scripts that
   measure the page still find its parts. listing-a/base.css shows every closed section, for paper and narrow windows,
   and the plugin's copy of Bootstrap hides every [hidden] element, so these rules outweigh both. */
body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[data-gl-tab][hidden] { display: none !important; }
@supports (content-visibility: hidden) {
  body .gl-lp.gl-lp--a .gl-lp-secs > .gl-sec[data-gl-tab][hidden] {
    display: block !important; content-visibility: hidden !important; height: 0 !important; min-height: 0 !important; margin: 0 !important;
    padding: 0 24px !important; border: 0 !important; overflow: hidden;
  }
}

/* ---------- Every section showing ---------- */

/* gl-la-all is on the listing when its sections all show (gl_la_sections() in zza-listing.php; Adam, Nov 22, 2026: "i'd
   rather have it all show just cleaned up nicely and sectioned nicely"). The strip's links then go to the sections, so
   they read as links and not as folder tabs: plain words on the wash, and a navy line under the one whose section is on
   screen, as the narrow page's bar marks it. listing-a/sections.js sets aria-current.
   The strip keeps the tabs' own height and room on top: its links and buttons then start 82 px or more from the top of
   the window while it is stuck. The page's scroll padding is 80 px, and the browser scrolls the page for a focused
   element that starts inside it. In a strip with no room on top, each press of the Tab key moved the page 10 px. */
body .gl-lp.gl-lp--a.gl-la-all .gl-jump > .gl-la-tabs {
  grid-template-columns: repeat(var(--la-tabs, 1), max-content); gap: 0 4px; flex: 0 1 auto; max-width: none; margin-left: -12px;
}
body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab {
  padding: 0 12px; border: 0; border-radius: 0; background: none; color: var(--gl-muted); white-space: nowrap;
  transition: color var(--gl-fast);
}
body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab::after {
  content: ""; position: absolute; inset: auto 12px 0; height: 3px; background: var(--gl-navy); transform: scaleX(0); transform-origin: left;
  transition: transform var(--gl-fast);
}
body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab[aria-current] { color: var(--gl-navy); }
body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) {
  body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab:hover { background: none; color: var(--gl-navy); }
}
@media (forced-colors: active) {
  body .gl-lp.gl-lp--a.gl-la-all .gl-jump .gl-la-tab::after { background: Highlight; }
}
/* Too little room (early.js measures it): the links take equal columns that wrap, as the tabs do, and at a very large
   text size they take a row of their own under the contact part. The rule for the links' row is as heavy as the tabs'
   rules for this and comes later, so these say it again. */
body .gl-lp.gl-lp--a.gl-la-all .gl-jump.gl-la-fit3 > .gl-la-tabs {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--la-col, 120px)), 1fr)); flex: 1 1 0; min-width: 0; margin-left: 0;
}
body .gl-lp.gl-lp--a.gl-la-all .gl-jump.gl-la-fit4 > .gl-la-tabs { flex: 1 1 100%; }
body .gl-lp.gl-lp--a.gl-la-all .gl-jump.gl-la-fit3 .gl-la-tab::after { inset: auto 0 0; }

/* Each section is a card of its own, 16 px under the strip and under the card before it. A link to a section lands it
   that far under the strip too. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec[data-gl-tab] {
  margin-top: 16px; border-top: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius);
  scroll-margin-top: calc(var(--gl-head) + var(--gl-jump-h, 52px) + 16px - 80px);
}
html.gl-x-docs-dup body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > #gl-docs.gl-sec[data-gl-tab] { margin-top: 16px; }
/* Overview and "Before you buy" stay one card when they share a column. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec.gl-sec--about[data-gl-tab]:has(+ .gl-sec--buy) { border-radius: var(--gl-radius) var(--gl-radius) 0 0; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec.gl-sec--about[data-gl-tab] + .gl-sec.gl-sec--buy { margin-top: 0; border-top: 0; border-radius: 0 0 var(--gl-radius) var(--gl-radius); }

/* The cards share two columns, 7 to 5, so that a short section doesn't lie across the window half empty. The write-up
   and the facts keep a width that reads well, and the short sections stand beside them or beside each other. Every
   listing has an Overview, 42 of 157 have Facts, and Location, Documents, and Terms are short on nearly all (Nov 22, 2026).
   A browser without :has() shows one card under another. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 16px; align-items: start; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > * { grid-column: 1 / -1; min-width: 0; }

/* Overview always shares its row (Adam, Nov 22, 2026, of the first build: "about the property is only filling
   half"). The write-up keeps a width that reads well, so a card of its own across the window was half empty. What stands
   beside it depends on Location. The long write-up with no Facts has its own arrangement, after this one.
   - A small Location (the county's drawing and the map button, and nothing else): Location stands beside Overview.
     Documents stands beside Terms on a later row, or, when the listing has one of the two, that one stands under
     Location.
   - A larger Location (the brochure's maps, a boundary map, an embedded map, the township's drawing, or words about
     where the farm is), or no Location: Documents and Terms stand beside Overview, and Location keeps the full width,
     where its parts have room. In the narrow column, Lee County's Location (two drawings and a paragraph) was 721 px
     tall beside a write-up of 264 px.
   Facts runs the full width under the first row. "Before you buy" stays joined under Overview. Cards that share a row
   have one top and one foot. The sections keep their order in the page's code, so the strip's links keep theirs. */

/* A small Location. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--about[data-gl-tab] { grid-column: 1; grid-row: 1; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--buy[data-gl-tab] { grid-column: 1; grid-row: 2; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--where[data-gl-tab] { grid-column: 2; grid-row: 1; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):has(> .gl-sec--buy[data-gl-tab]) > .gl-sec--where[data-gl-tab] { grid-row: 1 / span 2; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--docs[data-gl-tab]:has(~ .gl-sec--terms[data-gl-tab]) { grid-column: 1; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--docs[data-gl-tab] ~ .gl-sec--terms[data-gl-tab] { grid-column: 2; align-self: stretch; }
/* One of Documents and Terms: it stands under Location, and Overview runs beside both. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--docs[data-gl-tab], body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--docs[data-gl-tab])) > .gl-sec--terms[data-gl-tab] { grid-column: 2; grid-row: 2; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--buy[data-gl-tab])):has(> .gl-sec--docs[data-gl-tab]):not(:has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--about[data-gl-tab], body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--buy[data-gl-tab])):has(> .gl-sec--terms[data-gl-tab]):not(:has(> .gl-sec--docs[data-gl-tab])) > .gl-sec--about[data-gl-tab] { grid-row: 1 / span 2; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):has(> .gl-sec--buy[data-gl-tab]):has(> .gl-sec--docs[data-gl-tab]):not(:has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--where[data-gl-tab], body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):has(> .gl-sec--buy[data-gl-tab]):has(> .gl-sec--terms[data-gl-tab]):not(:has(> .gl-sec--docs[data-gl-tab])) > .gl-sec--where[data-gl-tab] { grid-row: 1; }
/* In the narrow column, the county's drawing leaves room for the map button beside it. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:has(> .gl-sec--where[data-gl-tab]):not(:has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--where[data-gl-tab] .gl-locator:not(.gl-locator--both) .gl-loc-county { width: 240px; }

/* A large Location, or none. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):is(:has(> .gl-sec--docs[data-gl-tab]), :has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--about[data-gl-tab] { grid-column: 1; grid-row: 1; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):is(:has(> .gl-sec--docs[data-gl-tab]), :has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--buy[data-gl-tab] { grid-column: 1; grid-row: 2; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--docs[data-gl-tab] { grid-column: 2; grid-row: 1; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))) > .gl-sec--terms[data-gl-tab] { grid-column: 2; grid-row: 2; align-self: stretch; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--docs[data-gl-tab])) > .gl-sec--terms[data-gl-tab] { grid-row: 1; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):not(:has(> .gl-sec--buy[data-gl-tab])):has(> .gl-sec--docs[data-gl-tab]):has(> .gl-sec--terms[data-gl-tab]) > .gl-sec--about[data-gl-tab] { grid-row: 1 / span 2; }
/* With "Before you buy" and one of the two, that one runs beside both of the left column's cards. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):has(> .gl-sec--buy[data-gl-tab]):not(:has(> .gl-sec--terms[data-gl-tab])) > .gl-sec--docs[data-gl-tab], body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs:is(:not(:has(> .gl-sec--where[data-gl-tab])), :has(> .gl-sec--where[data-gl-tab] > :is(.gl-g-maps, .gl-lb), > .gl-sec--where[data-gl-tab] :is(.gl-where-map, .gl-locator--both, .gl-where-info p, .gl-where-text))):has(> .gl-sec--buy[data-gl-tab]):not(:has(> .gl-sec--docs[data-gl-tab])) > .gl-sec--terms[data-gl-tab] { grid-row: 1 / span 2; }

/* A listing with no Facts and a long write-up (gl-la-long, from gl_la_about_long() in zza-listing.php), or one whose
   Location an embedded map makes tall: the write-up at the left, and the other sections in a column at the right, each at
   its own height. Rows 1 to 4 are the right column's cards. The Overview spans them and a fifth row that takes the rest of
   its height, so a long write-up never spreads the cards apart. "Before you buy" leads the right column as a card of its
   own. A short write-up keeps the full width, with Location beside Documents and Terms under it.
   A Location with the brochure's maps goes to the right column too, with the maps under the county's drawing: on the
   live site nearly every listing that has a brochure has them, and at full width they pushed the long write-ups back to
   a card with an empty right half. Only a boundary map, which needs the width, keeps a listing out of this. */
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]):has(> :is(.gl-sec--buy, .gl-sec--where, .gl-sec--docs, .gl-sec--terms)[data-gl-tab]) { grid-template-rows: repeat(4, auto) 1fr; }
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> :is(.gl-sec--buy, .gl-sec--where, .gl-sec--docs, .gl-sec--terms)[data-gl-tab]) > .gl-sec.gl-sec--about[data-gl-tab][data-gl-tab][data-gl-tab][data-gl-tab] {
  grid-column: 1; grid-row: 1 / span 5; align-self: start; padding-bottom: 24px; border-bottom: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius);
}
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--about[data-gl-tab] + .gl-sec.gl-sec--buy[data-gl-tab][data-gl-tab][data-gl-tab] {
  grid-column: 2; grid-row: 1; align-self: start; margin-top: 16px; border-top: 1px solid var(--la-edge, rgb(185, 191, 204)); border-radius: var(--gl-radius);
}
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--where[data-gl-tab][data-gl-tab][data-gl-tab] { grid-column: 2; grid-row: 2; align-self: start; }
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--docs[data-gl-tab][data-gl-tab][data-gl-tab] { grid-column: 2; grid-row: 3; align-self: start; }
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--terms[data-gl-tab][data-gl-tab][data-gl-tab] { grid-column: 2; grid-row: 4; align-self: start; }

/* In the narrow column, the brochure's maps stand under where the farm is, in small pictures of 104 px or more. The
   Location card's own two columns (zzc, "Location") are for its full width. */
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--where[data-gl-tab][data-gl-tab][data-gl-tab]:has(> .gl-g-maps) { display: flow-root; }
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--where[data-gl-tab][data-gl-tab][data-gl-tab] > .gl-g-maps { margin-top: 20px; }
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec.gl-sec--where[data-gl-tab][data-gl-tab][data-gl-tab] > .gl-g-maps .gl-g-maps-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }

/* In the narrow column, the county's drawing leaves room for the map button beside it. */
body .gl-lp.gl-lp--a.gl-la-all:is(.gl-la-long, :has(.gl-lp-secs > .gl-sec--where[data-gl-tab] .gl-where-map)) .gl-lp-secs:not(:has(> .gl-sec--facts[data-gl-tab], > .gl-sec--where[data-gl-tab] > .gl-lb)):has(> .gl-sec--about[data-gl-tab]) > .gl-sec--where[data-gl-tab] .gl-locator:not(.gl-locator--both) .gl-loc-county { width: 240px; }

/* A table that staff wrote into the terms or the write-up can carry a width of its own (Floyd's auction terms: 420 px at
   least), and a card in the narrow column can be narrower than that. The table takes the card's width, and one that
   still can't fit scrolls inside its own text and never runs past the card. */
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec[data-gl-tab] :is(.gl-term-body, .gl-about-body) table { min-width: 0 !important; max-width: 100%; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec[data-gl-tab] .gl-term-body { min-width: 0; }
body .gl-lp.gl-lp--a.gl-la-all .gl-lp-secs > .gl-sec[data-gl-tab] .gl-term-body:has(> table) { overflow-x: auto; }
