/* Lane zza-listing: layout A of the listing page, on screens 1,100 px and wider (Adam, Nov 21, 2026). Top to bottom: the
   breadcrumb row, one strip with the title and the offer, a wide photo beside a rail (the farm's figures over the
   agents), and a wash band with the tabs and the related listings. zza-listing.php adds the classes, the attributes, and
   the wide-only copies, the tabs' look is in zzc-listing-tabs.css, and
   wordpress/restyle/mockups/listing-page-a/CONTRACT.md has the whole markup.

   The link's media attribute (gl_part_media() in growthland-restyle.php) loads this file for a screen of 1,100 px or
   wider, so no rule here reaches a phone, a tablet, or paper. listing-a/base.css has the rules for those. Grid and
   display: contents place today's markup, so the first frame is already this layout and nothing moves after it.
   Many older rules are strong (body.single-rem_property .gl-lp ...), so the rules here start at
   body.gl-la .gl-lp.gl-lp--a, and repeat a class where an older rule still weighs more. */

/* ---------- The wide-only copies ---------- */

/* listing-a/base.css, in the page's head, hides each one everywhere, with !important, so each one comes back by name. */
body.gl-la .gl-lp.gl-lp--a :is(.gl-la-farms, .gl-la-docline).gl-la-only { display: block !important; }
body.gl-la .gl-lp.gl-lp--a .gl-la-act.gl-la-only { display: flex !important; }
body.gl-la .gl-lp.gl-lp--a :is(.gl-la-tabs, .gl-term).gl-la-only { display: grid !important; }
body.gl-la .gl-lp.gl-lp--a .gl-la-bidform.gl-la-only { display: inline-block !important; }
/* Save needs its script and storage, as the side card's Save does (h-extras.css). */
html.gl-js:not(.gl-x-nostore) body.gl-la .gl-lp.gl-lp--a .gl-la-save.gl-la-only { display: inline-flex !important; }

/* ---------- The page's width ---------- */

/* 1,280 px, with at least 48 px at each side. The header's, the footer's, and the bottom bar's columns have 15 px of
   padding, so theirs is 1,310 px with 33 px at each side. Percentages leave out the scroll bar; vw does not.
   A page that the late filter left alone has no gl-lp--a, and keeps the older page's width. */
body.gl-la:has(.gl-lp--a) #property-content { width: auto !important; max-width: min(1280px, calc(100% - 96px)) !important; padding: 0 !important; }
body.gl-la:has(.gl-lp--a) #header :is(#top-bar, #masthead) > .container,
body.gl-la:has(.gl-lp--a) #header .header-wrapper .container:has(> .top-divider),
body.gl-la:has(.gl-lp--a) #footer .footer > .row,
body.gl-la:has(.gl-lp--a) #footer .absolute-footer > .container { max-width: min(1310px, calc(100% - 66px)) !important; }
/* The footer's five columns need 995 px or more. The page is 989 px wide in a window of 1,100 px, so their gaps give way. */
body.gl-la:has(.gl-lp--a) .footer-2 > .row { column-gap: clamp(16px, (100vw - 1012px) / 4, 28px); }
/* The wash band runs to the footer, so nothing under it may leave a white gap. */
body.gl-la:has(.gl-lp--a) #property-content > div > .row,
body.gl-la:has(.gl-lp--a) #property-content > div > .row > .rem_property { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* The "Listing alerts" tab at the right edge is 48 px, as wide as the page's margin here, so it touched the cards. */
html.gl-js body.gl-la:has(.gl-lp--a) .gl-e-tab { width: 40px; }
html.gl-js body.gl-la:has(.gl-lp--a) .gl-e-tab .gl-e-tab-mark { width: 28px; height: 28px; }

/* ---------- The grid ---------- */

/* One grid holds the first screen, so the title, the photo, the price, the figures, and the agents are its items, and
   none of them moves in the page. Columns: the photo's width (1), what the offer takes of it (2), the gap (3), and the
   rail (4 and 5). The offer is columns 2 to 5, so 404 px, and up to 520 px when a price needs the room: the price lies
   on 2 to 4, and what goes with it on 5. Rows: the strip (1 to 5), the gap (6), the rail's pieces (7 to 13), what
   the photo needs beyond them (14), and the tabs with everything under them (15). */
body.gl-la .gl-lp.gl-lp--a {
  --la-edge: rgb(185, 191, 204);
  --la-tab: #e3e6ee;
  --la-tab-hover: #eceef4;
  --la-wash: var(--gl-wash);
  --la-pad: 20px;
  --la-on-navy: rgba(255, 255, 255, .86);
  --gl-measure: 680px;
  padding-bottom: 0;
}
body.gl-la .gl-lp--a .gl-lp-body {
  position: relative;
  grid-template-columns: minmax(0, 1fr) fit-content(116px) 24px 60px 320px;
  grid-template-rows: auto min-content min-content min-content auto 16px auto auto auto auto var(--la-agents-row, 1fr) auto auto var(--la-rest-row, auto) auto;
  column-gap: 0;
}
body.gl-la .gl-lp.gl-lp--a :is(.gl-side, .gl-summary, .gl-lp-price) { display: contents; }
/* The photo comes before the rail in the HTML. On a slow line the browser can draw the page between the two, with the
   photo in a row that isn't as tall yet. So the photo and the rail wait until the part after them has arrived. */
body.gl-la .gl-lp.gl-lp--a .gl-lp-body:not(:has(> .gl-lp-main)) > :is(.gl-lp-lead, .gl-lp-media, .gl-side),
body.gl-la .gl-lp.gl-lp--a .gl-lp-body:not(:has(> .gl-lp-main))::before { visibility: hidden; }

/* ---------- The breadcrumb row ---------- */

body.gl-la .gl-lp.gl-lp--a > .gl-lp-top { margin: 6px 0 8px; }
/* The status ends the breadcrumb. The page prints it once, in the summary, so here it comes from the nav's attribute, and
   a screen reader reads the one in the summary. The dates follow it the same way. */
body.gl-la .gl-lp--a .gl-crumbs[data-gl-la-status]::before { content: "\B7"; content: "\B7" / ""; order: 1; }
body.gl-la .gl-lp--a .gl-crumbs[data-gl-la-status]::after { content: attr(data-gl-la-status); content: attr(data-gl-la-status) / ""; order: 2; color: var(--gl-ink); font-weight: 600; }
body.gl-la .gl-lp--a .gl-crumbs[data-gl-la-kind="sale-pending"]::after { color: var(--gl-pending); }
body.gl-la .gl-lp--a .gl-crumbs[data-gl-la-kind="sold"]::after { color: var(--gl-sold); }
body.gl-la .gl-lp--a > .gl-lp-top[data-gl-la-dates]::before { content: attr(data-gl-la-dates); content: attr(data-gl-la-dates) / ""; order: 1; margin-left: -4px; padding-left: 12px; border-left: 1px solid var(--gl-rule); color: var(--gl-muted); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
body.gl-la .gl-lp--a > .gl-lp-top > .gl-tools { order: 2; margin-right: -12px; }
body.gl-la .gl-lp--a .gl-summary > :is(.gl-sum-status, .gl-x-dates) { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-sum-status > .gl-x-save { display: none; }
/* The status says it. */
body.gl-la .gl-lp--a .gl-lp-top > .gl-sold-note { display: none; }
/* Save is one of the page tools here, at their size. */
body.gl-la .gl-lp--a .gl-la-save [data-gl-la-w]::before { content: attr(data-gl-la-w); }
body.gl-la .gl-lp--a .gl-tools .gl-la-save { gap: 8px; min-width: 0; margin: 0; padding: 0 12px; }

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

/* Its left part is the title's own box, and its right part is the navy box that the page's grid draws under the offer. */
body.gl-la .gl-lp--a .gl-lp-lead {
  grid-area: 1 / 1 / 6 / 2;
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 10px 8px 12px var(--la-pad);
  border: 1px solid var(--la-edge);
  border-right: 0;
  border-radius: var(--gl-radius) 0 0 var(--gl-radius);
  background: #fff;
}
body.gl-la .gl-lp--a .gl-lp-body::before { content: ""; grid-area: 1 / 2 / 6 / 6; align-self: stretch; border-radius: 0 var(--gl-radius) var(--gl-radius) 0; background: var(--gl-navy); }
body.gl-la .gl-lp--a.gl-la-offer-none .gl-lp-lead { grid-column: 1 / 6; border-right: 1px solid var(--la-edge); border-radius: var(--gl-radius); }
body.gl-la .gl-lp--a.gl-la-offer-none .gl-lp-body::before { content: none; }

/* Where the farm is and what is good to know share one row under the title. */
body.gl-la .gl-lp--a .gl-lp-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 16px; min-width: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-head > .gl-lp-h1 { flex: 0 0 100%; font-size: 28px; line-height: 32px; letter-spacing: -.01em; }
body.gl-la .gl-lp--a .gl-lp-head > :is(.gl-lp-where, .gl-i-chips) { margin: 0; }
body.gl-la .gl-lp--a .gl-lp-head > .gl-lp-where,
body.gl-la .gl-lp.gl-lp--a .gl-lp-head .gl-i-chip { gap: 6px; font-size: 15px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-head > .gl-i-chips { gap: 4px 16px; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-head :is(.gl-lp-where, .gl-i-chip) > .gl-i { flex: none; width: 16px; height: 16px; margin-top: 2px; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-head .gl-i-chip { align-items: flex-start; }
/* The map link of a listing with no Location section follows the place's name on the same line. */
body.gl-la .gl-lp--a .gl-lp-where > .gl-lp-where-links { flex-basis: auto; margin: -12px 0 -12px 12px; }
body.gl-la .gl-lp--a .gl-lp-where--links > .gl-lp-where-links { margin-left: 0; }
body.gl-la .gl-lp.gl-lp--a a.gl-lp-where-link { font-size: 15px; }

/* ---------- The offer ---------- */

/* A price: its label and the figure at the left, and what goes with it at the right, one row each. */
body.gl-la .gl-lp--a .gl-lp-price[data-gl-la-kicker]::before { content: attr(data-gl-la-kicker); }
body.gl-la .gl-lp.gl-lp--a .gl-lp-price::before,
body.gl-la .gl-lp.gl-lp--a .gl-lp-price > .gl-lp-sold { grid-area: 2 / 2 / 3 / 5; align-self: end; padding: 12px 0 0 var(--la-pad); color: var(--la-on-navy); font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-price > .gl-lp-amount { grid-area: 3 / 2 / 5 / 5; align-self: start; padding: 0 0 12px var(--la-pad); color: #fff; font-size: 30px; line-height: 34px; white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-price .gl-lp-unit { color: #fff; font-size: 16px; }
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-side) .gl-lp-price::before,
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-side) .gl-lp-price > :is(.gl-lp-sold, .gl-lp-amount) { grid-column: 2 / 6; padding-right: var(--la-pad); }
body.gl-la .gl-lp.gl-lp--a .gl-lp-price > .gl-lp-per { grid-area: 2 / 5 / 3 / 6; align-self: end; padding: 14px var(--la-pad) 0 0; color: #fff; font-size: 16px; line-height: 22px; text-align: right; }
body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-t-cmp { grid-area: 3 / 5 / 4 / 6; align-self: start; margin: 2px 0 0; padding: 0 var(--la-pad) 0 0; color: var(--la-on-navy); font-size: 14px; line-height: 20px; text-align: right; text-wrap: balance; }
/* A price per acre with nothing under it stands beside the figure. */
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-cmp):not(.gl-la-note) .gl-lp-price > .gl-lp-per { grid-row: 3 / 5; align-self: start; padding-top: 0; line-height: 34px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-lp-note { grid-area: 4 / 5 / 5 / 6; align-self: start; margin: 0; padding: 0 var(--la-pad) 12px 0; color: var(--la-on-navy); font-size: 14px; line-height: 20px; text-align: right; }
/* The note takes the comparison's row when there is none, so no gap stays over it. */
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-cmp) .gl-summary > .gl-lp-price + .gl-lp-note { grid-row: 3; }
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-per):not(.gl-la-cmp) .gl-summary > .gl-lp-price + .gl-lp-note { align-self: center; line-height: 34px; }
body.gl-la .gl-lp.gl-lp--a .gl-t-cmp .gl-t-what { margin: -12px -14px -12px -8px; color: #fff; }
body.gl-la .gl-lp.gl-lp--a .gl-t-cmp .gl-t-what .gl-i { width: 16px; height: 16px; }
@media (hover: hover) { body.gl-la .gl-lp.gl-lp--a .gl-t-cmp .gl-t-what:hover { background-color: rgba(255, 255, 255, .16); } }
body.gl-la .gl-lp.gl-lp--a .gl-t-cmp .gl-t-what[aria-expanded="true"] { background-color: rgba(255, 255, 255, .16); }
/* Without scripts the comparison's explanation shows in the rail, where its words can be read. */
body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-t-pop { grid-area: 10 / 4 / 11 / 6; }
html:not(.gl-js) body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-t-pop { padding: 0 var(--la-pad) 12px; }

/* A listing with no price: "Available for bid" with the write-up's date, or the status. The words are the summary's
   attributes, because the page has them elsewhere: the flag on the photo, the write-up's first line, the status. */
body.gl-la .gl-lp--a:is(.gl-la-offer-bid, .gl-la-offer-status) .gl-summary[data-gl-la-kicker]::before { content: attr(data-gl-la-kicker); content: attr(data-gl-la-kicker) / ""; }
body.gl-la .gl-lp--a:is(.gl-la-offer-bid, .gl-la-offer-status) .gl-summary[data-gl-la-offer]::after { content: attr(data-gl-la-offer); content: attr(data-gl-la-offer) / ""; }
body.gl-la .gl-lp--a .gl-summary::before { grid-area: 2 / 2 / 3 / 6; align-self: end; padding: 12px var(--la-pad) 0; color: var(--la-on-navy); font-size: 14px; line-height: 20px; }
body.gl-la .gl-lp--a .gl-summary::after { grid-area: 3 / 2 / 4 / 6; align-self: start; padding: 0 var(--la-pad) 12px; color: #fff; font-size: 20px; font-weight: 600; line-height: 26px; font-variant-numeric: tabular-nums lining-nums; text-wrap: balance; }
body.gl-la .gl-lp--a .gl-summary:not([data-gl-la-kicker])::after { padding-top: 12px; }
body.gl-la .gl-lp--a.gl-la-note .gl-summary::after { padding-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-offer-price) .gl-summary > .gl-lp-note { grid-column: 2 / 6; padding-left: var(--la-pad); text-align: left; }
/* A page from a cache can outlive its sale. early.js marks the root, and the status takes the place of the date. */
body.gl-la .gl-lp--a.gl-la-ended:is(.gl-la-offer-bid, .gl-la-offer-sale) .gl-summary[data-gl-la-now]::before { content: "Status"; content: "Status" / ""; }
body.gl-la .gl-lp--a.gl-la-ended:is(.gl-la-offer-bid, .gl-la-offer-sale) .gl-summary[data-gl-la-now]::after { content: attr(data-gl-la-now); content: attr(data-gl-la-now) / ""; padding-top: 0; }

/* A sealed-bid sale or an auction: its name, its date, and the button. */
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-side-auction {
  grid-area: 1 / 2 / 5 / 6;
  align-self: center;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto auto 1fr;
  align-items: center;
  column-gap: 24px;
  margin: 0;
  padding: 12px var(--la-pad);
  border: 0;
}
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-side-auction.gl-la-over { display: none; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > :nth-child(n) { grid-column: 1; margin: 0 !important; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > .gl-side-title { grid-row: 2; color: var(--la-on-navy) !important; font-size: 14px !important; font-weight: 400; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > p { grid-row: 3; color: #fff; font-size: 16px; line-height: 22px; text-wrap: pretty; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > .gl-side-date { color: #fff; font-size: 20px; font-weight: 600; line-height: 26px; font-variant-numeric: tabular-nums lining-nums; text-wrap: balance; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > a.gl-btn { grid-area: 1 / 2 / -1 / 3; align-self: center; min-height: 40px; padding: 0 14px; border-color: #fff; background: #fff; color: var(--gl-navy) !important; font-size: 15px; line-height: 20px; white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > a.gl-btn .gl-i { width: 18px; height: 18px; }
@media (hover: hover) { body.gl-la .gl-lp.gl-lp--a .gl-side-auction > a.gl-btn:hover { border-color: var(--gl-wash); background: var(--gl-wash); } }
@media (pointer: coarse) { body.gl-la .gl-lp.gl-lp--a .gl-side-auction > a.gl-btn { min-height: 44px; } }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction > .gl-la-bidform { grid-row: 4; justify-self: start; padding-block: 2px; font-size: 15px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-side-auction .gl-la-bidform-link { color: #fff; text-decoration: none; }
@media (pointer: coarse) { body.gl-la .gl-lp.gl-lp--a .gl-side-auction .gl-la-bidform-link { display: inline-flex; align-items: center; min-height: 44px; } }
@media (hover: hover) { body.gl-la .gl-lp.gl-lp--a .gl-side-auction .gl-la-bidform-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
/* The block takes the strip's height, and a buyer's premium has the row under it. */
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-sale:not(.gl-la-note) .gl-side.gl-side > .gl-side-auction { grid-row: 1 / 6; }
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-sale.gl-la-note:not(.gl-la-ended) .gl-side.gl-side > .gl-side-auction { align-self: end; padding-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-sale.gl-la-note:not(.gl-la-ended) .gl-summary > .gl-lp-note { grid-row: 5; }
/* A date that starts with the sale's name. A screen reader still reads the heading. */
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-side-auction > .gl-side-title[data-gl-la-same] { width: 1px; height: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* A sale that has an asking price too opens the rail, and the price keeps the strip. */
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-price .gl-side.gl-side > .gl-side-auction { grid-area: 7 / 4 / 8 / 6; align-self: start; margin: 1px 1px 0; padding: 12px 19px; border-bottom: 1px solid var(--la-edge); border-radius: calc(var(--gl-radius) - 1px) calc(var(--gl-radius) - 1px) 0 0; background: var(--gl-wash); }
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-price .gl-side-auction :is(p, .gl-side-date, .gl-la-bidform-link) { color: var(--gl-navy); }
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-price .gl-side-auction > .gl-side-title { color: var(--gl-ink) !important; }
body.gl-la .gl-lp.gl-lp--a.gl-la-offer-price .gl-side-auction > a.gl-btn { border-color: var(--gl-navy); }
/* A sale that is over shows no way to bid: no bid form's row in Documents, and no picture that leads to one. early.js marks
   the cell when a saved page outlives its sale. */
body.gl-la .gl-lp.gl-lp--a:is(.gl-la-ended, :has(.gl-side-auction.gl-la-over)) :is(.gl-doc-item:has(> a.gl-doc[data-gl-la-bid]), a[data-gl-la-bid], .gl-term:has(.gl-la-bidform)) { display: none !important; }

/* ---------- The photo ---------- */

body.gl-la .gl-lp--a .gl-lp-media { grid-area: 7 / 1 / 15 / 3; align-self: start; }
body.gl-la .gl-lp--a .gl-gal { margin: 0; }
body.gl-la .gl-lp--a .gl-gal-stage { aspect-ratio: 16 / 9; }
body.gl-la .gl-lp.gl-lp--a .gl-lp-main { grid-area: 15 / 1 / 16 / 6; }

/* ---------- The rail ---------- */

/* Its frame, under its pieces. It ends at the photo's foot or at its own, whichever is lower, so the two columns of the
   first screen end together in a wide window. What is left over goes between the agents and the buttons, and the buttons
   stand at the foot of the card. A rail with too little to fill that height (zza-listing.php marks it) ends at its
   own foot. */
body.gl-la .gl-lp.gl-lp--a.gl-la-short { --la-agents-row: auto; --la-rest-row: 1fr; }
body.gl-la .gl-lp.gl-lp--a .gl-side::before { content: ""; grid-area: 7 / 4 / 14 / 6; align-self: stretch; border: 1px solid var(--la-edge); border-radius: var(--gl-radius); background: #fff; }

/* The farm's figures. A figure and its label share a line, and a drawing stands under it. */
body.gl-la .gl-lp.gl-lp--a .gl-summary > dl.gl-facts.gl-facts--grid {
  grid-area: 8 / 4 / 9 / 6;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  box-sizing: border-box;
  margin: 1px 1px 0;
  padding: 14px 19px 12px;
  border: 0;
  border-bottom: 1px solid var(--la-edge);
}
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact:nth-child(n) { flex: 0 0 100%; flex-flow: row wrap; align-items: baseline; gap: 0 8px; padding: 0; border: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact:is([data-gl-la-fig="main"], [data-gl-la-fig="acres"], [data-gl-la-fig="csr2"]) ~ .gl-fact:is([data-gl-la-fig="main"], [data-gl-la-fig="csr2"]) { margin-top: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact dd.gl-fact-value { overflow: visible; font-size: var(--la-fig, 24px); line-height: calc(var(--la-fig, 24px) + 4px); letter-spacing: 0; white-space: normal; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact dt { align-items: center; gap: 4px; font-size: 15px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact dt > .gl-i { display: none; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact dd.gl-fact-note { margin: 0; line-height: 20px; }
/* The label follows its figure, so it starts with a small letter: "145 acres M/L". */
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-low] dt > span { display: inline-block; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-low] dt > span::first-letter { text-transform: lowercase; }
/* A figure in words, such as "Feeder to finish". */
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid.gl-facts--words .gl-fact[data-gl-la-fig="main"] dd.gl-fact-value { font-size: 22px; line-height: 26px; }
/* A home's four figures stand two by two. */
body.gl-la .gl-lp.gl-lp--a.gl-lp--home .gl-summary > dl.gl-facts.gl-facts--grid { row-gap: 8px; }
body.gl-la .gl-lp.gl-lp--a.gl-lp--home .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig="main"]:nth-child(n) { flex: 0 0 calc(50% - 10px); margin-top: 0; }
/* "1 bath", where the page's label is "Baths". */
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-one] dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-one]::after { content: attr(data-gl-la-one); content: attr(data-gl-la-one) / ""; color: var(--gl-ink); font-size: 15px; line-height: 20px; letter-spacing: 0; text-transform: none; }

/* Cropland: its share of the acres as a bar, and its words as the bar's caption. */
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-fig="crop"] { color: var(--gl-muted); font-size: 14px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig="crop"]:nth-child(n) { column-gap: 4px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig="crop"] :is(dt, dd.gl-fact-value) { color: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-share]::before { content: ""; order: -2; flex: 0 0 100%; height: 6px; margin: 2px 0 6px; border-radius: calc(var(--gl-radius) / 2); background: linear-gradient(90deg, var(--gl-navy) calc(var(--la-share) * 1%), var(--la-edge) 0); }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-share]::after { content: attr(data-gl-la-share); margin-left: -4px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-share] dd.gl-fact-value::before { content: ""; display: inline-block; width: 12px; height: 10px; margin-right: 8px; border-radius: calc(var(--gl-radius) / 4); background: var(--gl-navy); }

/* CSR2 on a scale of 100: a dot at the farm's, and a tick at the county's average. */
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-scale]::before {
  content: "";
  order: 3;
  flex: 0 0 100%;
  height: 16px;
  margin-top: 2px;
  background:
    radial-gradient(circle at calc(var(--la-csr2) * 1%) 50%, var(--gl-navy) 4.5px, #fff 5px 6.5px, var(--gl-navy) 7px 7.5px, transparent 8px),
    linear-gradient(90deg, transparent calc(var(--la-avg, -9) * 1% - 1px), #6b7386 0 calc(var(--la-avg, -9) * 1% + 1px), transparent 0),
    linear-gradient(var(--la-edge), var(--la-edge)) 50% 50% / 100% 2px no-repeat;
}
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-avg]::after { content: attr(data-gl-la-avg); order: 4; flex: 0 0 100%; margin-top: 2px; padding-left: 20px; background: linear-gradient(#6b7386, #6b7386) 5px 50% / 2px 14px no-repeat; box-sizing: border-box; color: var(--gl-muted); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; text-transform: none; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact dd.gl-x-csrpt,
body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-lp-more[data-gl-la-moved] { display: none; }

/* The small facts are plain lines under a hairline: "Property taxes: $2,872 ($23.54 per acre)". */
body.gl-la .gl-lp.gl-lp--a.gl-la-small .gl-summary dl.gl-facts::before { content: ""; order: 1; flex: 0 0 100%; height: 1px; margin: 4px 0; background: var(--gl-rule); }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig="small"]:nth-child(n) { order: 2; display: block; flex: 0 1 auto; color: var(--gl-ink); font-size: 14px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig="small"] :is(dt, dd.gl-fact-value, dd.gl-fact-note) { display: inline; margin: 0; color: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-fig="small"] dt::after { content: ": "; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-fig="small"] dd.gl-fact-note::before { content: " ("; }
body.gl-la .gl-lp.gl-lp--a .gl-summary .gl-fact[data-gl-la-fig="small"] dd.gl-fact-note::after { content: ")"; }
body.gl-la .gl-lp.gl-lp--a .gl-summary dl.gl-facts[data-gl-la-point]::after { content: attr(data-gl-la-point); order: 3; flex: 0 1 auto; color: var(--gl-ink); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; text-transform: none; }

/* The listing's own notes close the figures' part. */
body.gl-la .gl-lp.gl-lp--a .gl-summary > .gl-lp-more { grid-area: 9 / 4 / 10 / 6; margin: 0 1px; padding: 0 19px 12px; border-bottom: 1px solid var(--la-edge); color: var(--gl-muted); font-size: 14px; line-height: 20px; text-wrap: pretty; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nofigs .gl-summary > .gl-lp-more { padding-top: 12px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-more .gl-summary > dl.gl-facts.gl-facts--grid { padding-bottom: 8px; border-bottom: 0; }

/* The agents, one per row: the photo, the name with the role and the license under it, and the phone number and Email as
   plain links. */
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-agents { grid-area: 11 / 4 / 12 / 6; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; margin: 0; padding: 14px var(--la-pad) 0; border: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-agents > .gl-side-title { position: absolute; width: 1px; height: 1px; margin: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agents > .gl-agent.gl-agent { margin: 0; padding: 0; border: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-who { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-side :is(.gl-agent-who img, img.gl-agent-photo) { width: 44px; height: 44px; border-radius: var(--gl-radius); }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-name { font-size: 16px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-line { margin-top: 0; font-size: 14px; line-height: 18px; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions.gl-agent-actions { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0 0; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions a.gl-btn.gl-btn { justify-content: flex-start; gap: 8px; width: auto; min-height: 24px; padding: 0; border: 0; background: none; color: var(--gl-navy) !important; font-size: 15px; font-weight: 600; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions .gl-btn .gl-i { flex: none; width: 16px; height: 16px; }
@media (hover: hover) { body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions a.gl-btn.gl-btn:hover { background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
@media (pointer: coarse) { body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions a.gl-btn.gl-btn { min-height: 44px; } }

/* "Talk to Growthland", over the office's number on a listing with no agent. */
body.gl-la .gl-lp.gl-lp--a.gl-la-noagent .gl-agents > .gl-side-title { position: static; width: auto; height: auto; clip-path: none; }
body.gl-la .gl-lp.gl-lp--a.gl-la-noagent.gl-la-noagent .gl-side.gl-side > .gl-agents { gap: 4px; }

/* The buttons stand last and come first in the page, so a browser that can moves the Tab key in the order of the picture. */
body.gl-la .gl-lp.gl-lp--a .gl-side :is(.gl-agents, .gl-agent-actions) { reading-flow: flex-visual; }

/* What a buyer does next: two buttons of one width at the foot of the rail. */
body.gl-la .gl-lp.gl-lp--a .gl-agents > .gl-x-show-top { order: 9; margin: 0; padding-top: 2px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-solo .gl-agents > :last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
body.gl-la .gl-lp.gl-lp--a.gl-la-solo .gl-side .gl-agent-actions.gl-agent-actions { flex: 1 1 auto; align-content: space-between; flex-direction: row; }
body.gl-la .gl-lp.gl-lp--a .gl-side .gl-agent-actions > a.gl-link.gl-showing { order: 9; flex: 0 0 100%; align-self: flex-end; margin-top: 14px !important; }
body.gl-la .gl-lp.gl-lp--a #main .gl-side a.gl-link.gl-showing, body.gl-la #main .gl-lp.gl-lp--a .gl-side a.gl-link.gl-showing,
body.gl-la .gl-lp.gl-lp--a .gl-side-actions .gl-btn { min-height: 42px; font-size: 16px; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-side a.gl-link.gl-showing .gl-i { width: 18px; height: 18px; }
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-side-actions { grid-area: 12 / 4 / 13 / 6; margin: 0; padding: 8px var(--la-pad) 0; border: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > .gl-side-docs { grid-area: 13 / 4 / 14 / 6; margin: 0; padding: 8px var(--la-pad) 16px; border: 0; }
body.gl-la .gl-lp.gl-lp--a .gl-side.gl-side > :is(.gl-agents, .gl-side-actions):last-child,
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-btn) .gl-side.gl-side > .gl-agents:nth-last-child(2),
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-btn) .gl-side.gl-side > .gl-side-actions { padding-bottom: 16px; }
/* Of the documents, the rail keeps the brochure. Documents and Location have the rest. */
body.gl-la .gl-lp.gl-lp--a:not(.gl-la-btn) .gl-side-docs,
body.gl-la .gl-lp.gl-lp--a .gl-side-docs > :not([data-gl-la-btn]) { display: none !important; }
body.gl-la .gl-lp.gl-lp--a .gl-side-docs > a.gl-doc.gl-side-brochure[data-gl-la-btn] { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 42px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); background: #fff; }
body.gl-la .gl-lp.gl-lp--a .gl-side-brochure[data-gl-la-btn]::after { content: none; }
body.gl-la .gl-lp.gl-lp--a .gl-side-brochure[data-gl-la-btn] .gl-doc-icon, body.gl-la .gl-lp.gl-lp--a .gl-side-brochure[data-gl-la-btn] .gl-doc-icon .gl-i { align-self: center; width: 18px; height: 18px; margin: 0; }
/* Two words and the size fit the button. A screen reader reads the row's own words. */
body.gl-la .gl-lp.gl-lp--a .gl-side-brochure[data-gl-la-btn] .gl-doc-text { display: flex; flex: 0 1 auto; align-items: baseline; gap: 8px; }
body.gl-la .gl-lp.gl-lp--a .gl-side-brochure[data-gl-la-btn] .gl-doc-text > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gl-la .gl-lp.gl-lp--a .gl-doc-text[data-gl-la-name]::before { content: attr(data-gl-la-name); content: attr(data-gl-la-name) / ""; color: var(--gl-navy); font-size: 16px; font-weight: 600; line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a .gl-doc-text[data-gl-la-size]::after { content: attr(data-gl-la-size); content: attr(data-gl-la-size) / ""; color: var(--gl-muted); font-size: 14px; line-height: 20px; white-space: nowrap; }
@media (hover: hover) { body.gl-la .gl-lp.gl-lp--a .gl-side-docs > a.gl-side-brochure[data-gl-la-btn]:hover { background: var(--gl-wash); } }
@media (pointer: coarse) { body.gl-la .gl-lp.gl-lp--a .gl-side a:is(.gl-showing, .gl-side-brochure[data-gl-la-btn]) { min-height: 44px; } }

/* A rail with few pieces (zza-listing.php marks it) takes more room for each, so that less is left over. */
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-summary > dl.gl-facts.gl-facts--grid { padding-top: 18px; padding-bottom: 16px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy.gl-la-more .gl-summary > dl.gl-facts.gl-facts--grid { padding-bottom: 8px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-summary > .gl-lp-more { padding-bottom: 16px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-summary .gl-facts--grid .gl-fact[data-gl-la-fig] dd.gl-fact-value { --la-fig: 28px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-summary .gl-fact:is([data-gl-la-fig="main"], [data-gl-la-fig="acres"], [data-gl-la-fig="csr2"]) ~ .gl-fact:is([data-gl-la-fig="main"], [data-gl-la-fig="csr2"]) { margin-top: 12px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side.gl-side > .gl-agents { gap: 20px; padding-top: 18px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side .gl-agent-line { line-height: 20px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side .gl-agent-actions.gl-agent-actions { margin-top: 8px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side .gl-agent-actions a.gl-btn.gl-btn { min-height: 28px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side a:is(.gl-link.gl-showing, .gl-side-brochure[data-gl-la-btn]) { min-height: 44px !important; }
body.gl-la .gl-lp.gl-lp--a.gl-la-roomy .gl-side.gl-side > .gl-side-docs { padding-bottom: 20px; }

/* A listing with no photo: the card runs the page, its figures at the left and its agents at the right, so no hole stays
   where the photo would be. With no figures, the agents take the whole width. */
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto .gl-side::before { grid-column: 1 / 6; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto .gl-summary > :is(dl.gl-facts.gl-facts--grid, .gl-lp-more, .gl-t-pop) { grid-column: 1 / 4; border-bottom: 0; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto .gl-summary > dl.gl-facts.gl-facts--grid { max-width: 400px; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto .gl-side.gl-side.gl-side > .gl-agents { grid-row: 7 / 12; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto.gl-la-nofigs:not(.gl-la-more) .gl-side.gl-side.gl-side > :is(.gl-agents, .gl-side-actions, .gl-side-docs) { grid-column: 1 / 6; }
body.gl-la .gl-lp.gl-lp--a.gl-la-nophoto.gl-la-nofigs:not(.gl-la-more) .gl-side :is(.gl-x-show-top, .gl-showing, .gl-side-brochure) { max-width: 380px; }

/* ---------- The wash band ---------- */

/* It runs the width of the window from the strip to the footer. A border image draws outside its box without adding
   to the page's width, and unlike a clip-path it cuts off no popover. */
body.gl-la .gl-lp--a .gl-lp-main { margin-top: 24px; padding-bottom: 40px; background: var(--la-wash); border-image: linear-gradient(var(--la-wash), var(--la-wash)) fill 0 / 0 / 0 100vmax; }

/* A listing with no tabs: today's bar would hold only its link to the related listings. */
body.gl-la .gl-lp.gl-lp--a.gl-la-notabs .gl-lp-main > .gl-jump { display: none; }
