/* Lane b-services: the service pages, Contact Us, Learn More, Services, and the forms on them.
   The gl-b-* body classes come from parts/b-services.php, so these rules only reach those pages. */

/* ---------- Service pages: text column and sidebar ---------- */

/* Lists sat flush with the text, so their bullets hung outside the column and past the phone's edge. */
.gl-b-service #content .page-inner :is(ul, ol):not(.wpcf7 *),
.page-id-23663 #content .col-inner > ul {
  margin: 0 0 22px;
  padding-left: 1.4em;
}
.gl-b-service #content .page-inner li:not(.wpcf7 *) { margin-bottom: 6px; padding-left: 2px; }
.gl-b-service #content .page-inner li::marker { color: var(--gl-navy); }

.gl-b-service #content .page-inner > p:empty { display: none; }
.gl-b-service #content hr.wp-block-separator {
  height: 0;
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--gl-rule);
  background: none;
  opacity: 1;
}

/* The "Learn more about our team" band: a grey box with a centered heading. A rule and a short heading do the same job. */
.gl-b-service #content .section {
  margin: 8px 0 0;
  padding: 24px 0 4px !important;
  border-top: 1px solid var(--gl-rule);
  background: none !important;
}
.gl-b-service #content .section .section-bg { display: none; }
/* The band brings its own rule, so a separator just above it made two. */
.gl-b-service #content hr:is(:has(+ .section), :has(+ p:empty + .section)) { display: none; }
.gl-b-service #content .section .row { margin: 0 !important; max-width: none !important; width: auto !important; }
.gl-b-service #content .section .col { padding: 0 !important; }
.gl-b-service #content .section :is(h3, p) { margin: 0 0 8px !important; text-align: left !important; }
.gl-b-service #content .section h3 { font-size: 1.35rem; }
.gl-b-service #content .section a { margin: 0 !important; }

@media (min-width: 850px) {
  /* A wider sidebar fits the contact card, and the shorter lines in the text column read more easily. */
  .gl-b-service .page-right-sidebar > .row > #content.large-9 { flex-basis: 70%; max-width: 70%; }
  .gl-b-service .page-right-sidebar > .row > .large-3 { flex-basis: 30%; max-width: 30%; }
  /* Only the contact card stays in view, 16 px under the 70 px header. The whole column (650 px with the list of
     services) slid under the header near the page's end and cut off the card's heading and Call button. The column
     fills the row's height, so the card can stay in view down the whole page. */
  .gl-b-service .page-right-sidebar > .row > .large-3 { display: flex; flex-direction: column; }
  .gl-b-service #secondary { flex: 1 0 auto; }
}
/* From 850 to 1023 px (the Fold's inner screen), 30% left the card 182 px inside, and the buttons, which don't wrap,
   ran 36 px past its right edge. The side column takes 36% there, and the buttons' grid track can shrink, so a button
   wraps its words instead of spilling out. */
@media (min-width: 850px) and (max-width: 1023px) {
  .gl-b-service .page-right-sidebar > .row > #content.large-9 { flex-basis: 64%; max-width: 64%; }
  .gl-b-service .page-right-sidebar > .row > .large-3 { flex-basis: 36%; max-width: 36%; }
}
body .gl-b-card .gl-agent-actions { grid-template-columns: minmax(0, 1fr); }
body .gl-b-card .gl-agent-actions > .gl-btn { min-width: 0; white-space: normal; text-align: center; }
@media (min-width: 850px) and (min-height: 560px) {
  .gl-b-service #secondary .gl-b-card,
  .gl-bs-private .gl-bs-side .gl-b-card { position: sticky; top: 86px; z-index: 2; }
}
@media (max-width: 849px) {
  /* Below the text, the card keeps a readable width instead of stretching across a tablet. */
  .gl-b-service #secondary { max-width: 520px; padding-top: 8px; }
}

/* The contact card and the list of services, in place of the site-wide widgets. */
body .gl-b-card .gl-agent-actions { margin-bottom: 14px; }
body .gl-b-card .gl-btn i, body .gl-b-aside .gl-btn i { font-size: 17px; }
body .gl-b-card .gl-btn .gl-i { width: 18px; height: 18px; }
body .gl-b-mail span { overflow-wrap: anywhere; }
body .gl-b-links, body .gl-b-nav ul { margin: 0; padding: 0; list-style: none; }
body .gl-b-links li, body .gl-b-nav li { margin: 0; border-top: 1px solid var(--gl-rule); }
body .gl-b-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gl-navy);
  text-decoration: none;
}
body .gl-b-links a:hover, body .gl-b-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
body .gl-b-links i { flex: none; font-size: 14px; }
body .gl-b-links .gl-i { width: 16px; height: 16px; }
body .gl-b-nav { margin-top: 22px; }
/* An H2, so at least the H3 size, like the contact card's heading above it. */
body .gl-b-nav-title { margin: 0 0 12px; font-size: 1.45rem; }
body .gl-b-nav li > * {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.3;
}
body .gl-b-nav a { color: var(--gl-navy); text-decoration: none; }
body .gl-b-nav [aria-current="page"] { font-weight: 600; color: var(--gl-ink); }

/* ---------- Real Estate ---------- */

/* Three photos as one even strip. On phones the third one filled the whole screen. */
.page-id-128 #content .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 28px;
}
.page-id-128 #content .wp-block-gallery > figure { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--gl-radius); }
.page-id-128 #content .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; }

.page-id-128 #content p > a[href*="all-listings-page"] {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--gl-radius);
  background: var(--gl-navy);
  color: #fff;
  text-decoration: none !important;
  transition: background-color var(--gl-fast);
}
.page-id-128 #content p > a[href*="all-listings-page"]:hover { background: var(--gl-navy-hover); }

/* The line in front of each form reads as its heading. b-services.php marks that line gl-h-before-form. The anchor is
   a div, so in :is() only the class can match a paragraph, and the ID keeps the weight of the :has() this replaced. */
.gl-b-land #content :is(p, h2):has(+ #gl-b-form) { margin-bottom: 12px; }
.page-id-128 #content p:is(.gl-h-before-form, #gl-b-form) strong { font-family: var(--gl-serif); font-size: 1.45rem; font-weight: 600; color: var(--gl-navy); }

/* ---------- Farm Property Management ---------- */

/* Underlined words that aren't a link look like one. */
.page-id-132 #content h2 span[style*="underline"] { text-decoration: none !important; }
.page-id-132 #content h2:has(span.gl-s-underline) { font-size: 1.45rem; }

/* ---------- Appraisals ---------- */

.gl-b-land #content .gl-b-doc { margin: 0 0 18px; }
.gl-b-land #content .gl-b-doc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--gl-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gl-b-land #content .gl-b-doc-note {
  padding: 1px 7px;
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  font-size: 14px;
  color: var(--gl-muted);
  text-decoration: none;
  display: inline-block;
}
.gl-b-land #content .gl-b-doc i { display: inline-block; font-size: 14px; }

/* ---------- Forms on these pages (Contact Form 7) ---------- */

.gl-b-forms #content .wpcf7 { max-width: 760px; color: var(--gl-ink); }

/* The script in parts/b-services.js adds .gl-b-form once it has paired the short fields. */
.gl-b-forms #content .wpcf7-form.gl-b-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 20px;
}
.gl-b-forms #content .wpcf7-form.gl-b-form > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
.gl-b-forms #content .wpcf7-form.gl-b-form > .gl-b-half { grid-column: auto; }
.gl-b-forms #content .wpcf7-form > :is(br, .hidden-fields-container) { display: none; }
.gl-b-forms #content .wpcf7-form:not(.gl-b-form) > p { margin-bottom: 18px; }

/* Group headings sat in list items outside any list, so each one showed a stray bullet. */
.gl-b-forms #content .wpcf7-form > li { margin: 0; list-style: none; }
.gl-b-forms #content .wpcf7-form > :is(li, .gl-b-legend, .gl-b-choices) p { margin: 0; }
/* b-services.php marks a list item that another list item follows (gl-h-li-next). :where() adds no weight, and the form
   tag stands in for the li inside the :has(+ li) this replaced, so the rule above still sets the margin. */
.gl-b-forms #content .gl-b-legend, .gl-b-forms #content form.wpcf7-form > li:where(.gl-h-li-next) p {
  margin: 0 0 -12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gl-ink);
}
/* b-services.js moves each group heading into its choices. The 44 px rows of choices center their boxes, so the box
   sits about 9 px under the heading, as each field sits under its label. */
.gl-b-forms #content .gl-b-choices > .gl-b-legend { margin: 0 0 -6px; }

.gl-b-forms #content .wpcf7 label { font-size: 16px; font-weight: 600; color: var(--gl-ink); }
.gl-b-forms #content .wpcf7 .wpcf7-form-control-wrap { margin-top: 6px; }
.gl-b-forms #content .gl-b-req { margin-left: 4px; font-weight: 400; color: var(--gl-muted); }
.gl-b-forms #content .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea) { width: 100%; margin: 0; background: #fff; }

/* Checkboxes and radio buttons were 13 px squares. */
.gl-b-forms #content .wpcf7 .wpcf7-list-item { display: inline-block; margin: 0 22px 0 0; }
.gl-b-forms #content .wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-height: 44px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
}
.gl-b-forms #content .wpcf7 .wpcf7-list-item input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--gl-navy); }
.gl-b-forms #content .wpcf7 .vertical-checkboxes .wpcf7-list-item { display: block; }

.gl-b-forms #content .wpcf7 .wpcf7-submit {
  min-height: 48px;
  margin: 6px 0 0 !important;
  padding: 0 32px !important;
  font-size: 17px !important;
  line-height: 46px;
}
.gl-b-forms #content .wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* Errors: the theme showed a faded grey bubble and colored the person's own typing. The theme's alert red reads at 7:1 on white. */
.gl-b-forms #content .wpcf7 .wpcf7-not-valid { border-color: var(--fs-color-alert, #b20000) !important; color: var(--gl-ink); }
.gl-b-forms #content .wpcf7 .wpcf7-not-valid:focus { outline-color: var(--fs-color-alert, #b20000); }
.gl-b-forms #content .wpcf7 .wpcf7-not-valid-tip {
  position: static;
  display: block;
  margin: 6px 0 0;
  padding: 0;
  border-radius: 0;
  background: none;
  opacity: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fs-color-alert, #b20000);
}
.gl-b-forms #content .wpcf7 .wpcf7-not-valid-tip::after { display: none; }
.gl-b-forms #content .wpcf7 form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  font-size: 16px;
  line-height: 1.45;
  color: var(--gl-ink);
}
.gl-b-forms #content .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output {
  border-color: var(--fs-color-alert, #b20000);
}
.gl-b-forms #content .wpcf7 form.sent .wpcf7-response-output { border-color: var(--gl-navy); background: var(--gl-wash); }

@media (max-width: 599px) {
  .gl-b-forms #content .wpcf7-form.gl-b-form { grid-template-columns: minmax(0, 1fr); }
  .gl-b-forms #content .wpcf7-form.gl-b-form > .gl-b-half { grid-column: 1 / -1; }
  .gl-b-forms #content .wpcf7 .wpcf7-submit { width: 100%; }
  /* The spinner wrapped onto its own line under a full-width button and left a gap. It shows inside the button instead. */
  .gl-b-forms #content .wpcf7-form p:has(> .wpcf7-submit) { position: relative; }
  .gl-b-forms #content .wpcf7 .wpcf7-spinner { position: absolute; top: 18px; right: 14px; margin: 0; }
  /* Contact Form 7 draws a dark grey spinner, which nearly vanished on the navy button. */
  .gl-b-forms #content .wpcf7 .wpcf7-spinner { background-color: #fff; opacity: 1; }
  .gl-b-forms #content .wpcf7 .wpcf7-spinner::before { background-color: var(--gl-navy); }
}

/* ---------- Private Transactions: a record of closed deals ---------- */

/* The introduction was centered and grey across the full page width, about 170 characters a line. */
.page-id-23663 #content .col-inner > div[style*="max-width"] { max-width: 66ch !important; margin: 0 0 30px !important; text-align: left !important; }
.page-id-23663 #content .col-inner > div[style*="max-width"] p { margin: 0; font-size: 19px !important; line-height: 1.6 !important; color: var(--gl-ink) !important; text-align: left; }

/* One deal per row, with the year and the type first, the way a sales record reads. */
.page-id-23663 #main .pbt-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; max-width: none; margin: 0 0 40px !important; }
.page-id-23663 #main .pbt-card-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-areas: "meta title" "meta desc";
  column-gap: 32px;
  padding: 22px 0 24px !important;
}
.page-id-23663 #main .pbt-card-title { grid-area: title; margin: 0 0 8px !important; }
.page-id-23663 #main .pbt-card-desc { grid-area: desc; margin: 0; max-width: 68ch; }
.page-id-23663 #main .pbt-card-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  margin: 0;
  line-height: 1.35;
}
.page-id-23663 #main .pbt-card-meta .gl-b-year { font-family: var(--gl-serif); font-size: 1.15rem; font-weight: 600; color: var(--gl-navy); font-variant-numeric: lining-nums; }
.page-id-23663 #main .pbt-card-meta .gl-b-type { font-size: 15px; font-weight: 600; color: var(--gl-ink); }
.page-id-23663 #main .pbt-card-meta .gl-b-where { font-size: 15px; color: var(--gl-muted); }

@media (min-width: 850px) {
  .page-id-23663:not(.gl-bs-private) #content .col-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 56px; align-items: start; }
  .page-id-23663:not(.gl-bs-private) #content .col-inner > * { grid-column: 1; }
  .page-id-23663:not(.gl-bs-private) #content .col-inner > .entry-header { grid-column: 1 / -1; }
  .page-id-23663:not(.gl-bs-private) #content .col-inner > .gl-b-aside { grid-column: 2; grid-row: 2 / span 3; position: sticky; top: 96px; }
}
@media (max-width: 849px) {
  .page-id-23663 #main .pbt-card-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "meta" "title" "desc"; }
  .page-id-23663 #main .pbt-card-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 6px; }
  .page-id-23663 #content .gl-b-aside { margin: 0 0 32px; }
}
@media (max-width: 599px) {
  /* The region dropped to a second line by itself on phones. It always takes its own line there. */
  .page-id-23663 #main .pbt-card-meta .gl-b-where { flex-basis: 100%; }
}

/* ---------- Services: an index of the four services ---------- */

.page-id-138 .gl-b-index { max-width: 760px; margin-bottom: 40px; }
.page-id-138 .gl-b-index-list { margin: 8px 0 24px; padding: 0; list-style: none; }
.page-id-138 .gl-b-index-list li { margin: 0; padding: 20px 0 22px; border-top: 1px solid var(--gl-rule); }
.page-id-138 .gl-b-index-list li:last-child { border-bottom: 1px solid var(--gl-rule); }
.page-id-138 .gl-b-index-list h2 { margin: 0 0 8px; font-size: 1.45rem; }
/* Padding on the inline link gives a 44 px tap area without changing the line height. */
.page-id-138 .gl-b-index-list h2 a { padding-block: 9px; color: var(--gl-navy); text-decoration: none; }
.page-id-138 .gl-b-index-list h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-id-138 .gl-b-index-list p { margin: 0; color: var(--gl-ink); }
.page-id-138 .gl-b-index-help { font-size: 17px; }

/* ---------- Service pages: one layout for the four bodies (gl-bs, from b-services.php) ----------
   The lead, then on phones the Call, Email, and form buttons, one photo, the text in sections that space separates
   (72 px, 44 px on phones) instead of rules, the form under its heading, what clients say, and the closing links.
   Headings: 26 px for each section, 20 px inside one. */

body .gl-bs { color: var(--gl-ink); }
/* Bold words take the 600 weight the headings use (DESIGN.md: 400 and 600 for text), so no third weight loads. */
body .gl-bs :is(strong, b) { font-weight: 600; }
/* Lines ran to about 95 characters in the 731 px column. Text keeps to about 75, and the last line of a paragraph keeps
   more than one word. Photos, the form, and the tables still take the full column. Libre Franklin's figures are wide, so the
   measure is in em, not ch (68ch came to 795 px). */
body .gl-bs :is(.gl-bs-lead, .gl-bs-sec) > :is(p, ul, ol),
body .gl-bs .gl-bs-quotes .wp-block-columns { max-width: 36em; }
body .gl-bs :is(p, li, blockquote), .gl-b-forms #content .gl-b-legend { text-wrap: pretty; }
body .gl-bs .gl-bs-lead > *:last-child, body .gl-bs .gl-bs-sec > *:last-child { margin-bottom: 0; }
body .gl-bs .gl-bs-sec > *:first-child { margin-top: 0; }
body .gl-bs .gl-bs-sec { margin-top: 72px; }
body .gl-bs :is(.gl-bs-lead, .gl-bs-sec) > h2,
body .gl-bs h2.gl-bs-h2 { margin: 0 0 12px; font-size: 1.625rem; text-align: left !important; }
body .gl-bs .gl-bs-sec > h3 { margin: 28px 0 8px; font-size: 1.25rem; }
/* The quotes' heading carried the page's inline navy and centering. */
body .gl-bs h2.gl-bs-h2 { color: var(--gl-navy) !important; }

/* One photo, the full width of the text column, cropped to 16:9 so the three pages match. */
body .gl-bs-photo { margin: 32px 0 0; }
body .gl-bs-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--gl-radius); }

/* A section's own photos (gl_b_photo_plan): two side by side at 4:3, or one at 2:1, under the section's heading or
   after its text. They take the full column, as the lead photo does. */
body .gl-bs .gl-bs-photos { display: grid; gap: 16px; max-width: none; }
body .gl-bs .gl-bs-photos--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .gl-bs .gl-bs-photos--top { margin: 4px 0 24px; }
body .gl-bs .gl-bs-photos--end { margin: 32px 0 0; }
body .gl-bs .gl-bs-photos .gl-bs-photo { margin: 0; }
body .gl-bs .gl-bs-photos--two .gl-bs-photo img { aspect-ratio: 4 / 3; }
body .gl-bs .gl-bs-photos--one .gl-bs-photo img { aspect-ratio: 2 / 1; }

/* Phones and tablets: the side card falls below the text, so Call, Email, and the form come right after the lead. */
body .gl-bs-reach { display: none; }

/* The form's heading clears the 70 px header when "Fill out the form" scrolls to it (80 px of scroll padding plus this). */
body .gl-bs .gl-bs-form { scroll-margin-top: 16px; }
body .gl-bs .gl-bs-form > h2 + p { margin: 0 0 20px; }
body .gl-bs .gl-bs-form > h2 + .wpcf7 { margin-top: 20px; }

/* The form in a dialog (gl_b_pop_pages, b-services.js): under the heading, one filled button, 52 px tall and as wide
   as its words, the whole width on phones. The theme styles <button> in spaced capitals with a margin, so this button
   sets its own. */
body .gl-bs .gl-bs-pop-open { margin: 20px 0 0; }
body .gl-bs .gl-bs-form > h2 + p + .gl-bs-pop-open { margin-top: 0; }
body .gl-bs .gl-bs-pop-open[hidden] { display: none; }
body .gl-bs .gl-bs-pop-open button.gl-btn {
  display: inline-flex !important;
  width: auto;
  min-height: 52px;
  margin: 0;
  padding: 0 28px;
  box-shadow: none;
  font-family: var(--gl-sans);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
body .gl-bs .gl-bs-pop-open button.gl-btn .gl-i { width: 20px; height: 20px; }
body .gl-bs .gl-bs-pop-open button.gl-btn:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
@media (max-width: 599px) {
  body .gl-bs .gl-bs-pop-open button.gl-btn { width: 100%; padding: 0 16px; }
}
/* From 1024 px the form is a modal, 720 px wide for the forms' two-field rows. m-message.css loads after this file, so
   the width takes a third class to outweigh its 600 px. Under 1024 px it's a sheet the screen's width. */
@media (min-width: 1024px) {
  body dialog.gl-z.gl-bs-dlg .gl-z-panel { width: min(720px, 100%); }
}
body dialog.gl-bs-dlg .gl-z-body > p { max-width: 36em; margin: 0 0 20px; font-size: 17px; line-height: 1.5; }
body dialog.gl-bs-dlg .gl-z-body .wpcf7 { max-width: none; margin: 0; }
body dialog.gl-bs-dlg .gl-z-body .wpcf7-form.gl-f { max-width: none; }
body dialog.gl-bs-dlg .gl-z-body .gl-f-done { max-width: none; }
body dialog.gl-bs-dlg .gl-z-body p a[href$=".pdf"] { padding-block: 12px; color: var(--gl-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* The sheet keeps "Close" in words beside its icon, as the modal does. */
body dialog.gl-bs-dlg button.gl-z-close { width: auto; padding: 0 10px; }
body dialog.gl-bs-dlg button.gl-z-close span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: nowrap; }
@media (min-width: 600px) and (max-width: 1023px) {
  /* On a tablet the sheet runs the screen's width; the form keeps its 720 px measure in the middle. */
  body dialog.gl-bs-dlg .gl-z-body { box-sizing: border-box; max-width: 768px; margin: 0 auto; }
}

/* The closing links take the full column, so their rules end where the appraisers' grid and the form do. Running text
   keeps its 36 em measure, and the acres table its 520 px, since it is a data table. */
body .gl-bs .gl-bs-end .gl-b-links { max-width: none; margin: 0 0 24px; border-bottom: 1px solid var(--gl-rule); }
/* The service pages' list rule indents lists and their items, with a heavier selector. */
.gl-b-service #content .page-inner .gl-bs ul.gl-b-links { padding-left: 0; }
.gl-b-service #content .page-inner .gl-bs ul.gl-b-links > li { margin: 0; padding-left: 0; }
body .gl-bs .gl-bs-end p { margin: 0 0 12px; }

/* Appraisals: the 2022 and 2023 acres chart as a ruled table, its figures in navy. The theme sets table headings in
   spaced capitals, so the cells set their own case, size, and spacing. */
body .gl-bs .gl-bs-figs { max-width: 520px; margin: 24px 0 0; }
body .gl-bs .gl-bs-figs figcaption { margin: 0 0 6px; font-size: 15px; line-height: 1.4; color: var(--gl-muted); }
body .gl-bs .gl-bs-figs table { width: 100%; margin: 0; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
body .gl-bs .gl-bs-figs :is(th, td) { padding: 10px 0 10px 16px; border: 0; border-bottom: 1px solid var(--gl-rule); font-size: 17px; line-height: 1.4; letter-spacing: 0; text-align: right; text-transform: none; }
body .gl-bs .gl-bs-figs thead th { padding-top: 0; font-size: 15px; font-weight: 600; color: var(--gl-muted); }
body .gl-bs .gl-bs-figs tbody th { padding-left: 0; font-weight: 400; color: var(--gl-ink); text-align: left; }
body .gl-bs .gl-bs-figs td { font-weight: 600; color: var(--gl-navy); }
body .gl-bs .gl-bs-figs .gl-bs-figs-total :is(th, td) { border-bottom: 0; font-weight: 600; }

/* Private Transactions: the deals grouped by year, like the timeline on Our History. The year sits in a rail in
   tabular figures, and a hairline joins a small square at each year. The newest year's square is filled. */
body .gl-bp { --gl-bp-rail: 4.25rem; --gl-bp-line: calc(var(--gl-bp-rail) + 22px); }
body .gl-bp .gl-bp-yr { position: relative; display: grid; grid-template-columns: var(--gl-bp-rail) minmax(0, 1fr); column-gap: 44px; padding: 0 0 48px; }
body .gl-bp .gl-bp-yr:last-child { padding-bottom: 0; }
body .gl-bp .gl-bp-yr::before { content: ""; position: absolute; top: 14px; bottom: -14px; left: var(--gl-bp-line); width: 1px; background: var(--gl-rule); }
body .gl-bp .gl-bp-yr:last-child::before { content: none; }
body .gl-bp .gl-bp-yr::after { content: ""; position: absolute; top: 9px; left: calc(var(--gl-bp-line) - 5px); box-sizing: border-box; width: 11px; height: 11px; border: 2px solid var(--gl-navy); border-radius: 1px; background: #fff; }
body .gl-bp .gl-bp-yr:first-child::after { background: var(--gl-navy); }
body .gl-bp h2.gl-bp-year { margin: 0; font-size: 1.375rem; line-height: 28px; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
body .gl-bp .gl-bp-deal + .gl-bp-deal { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--gl-rule); }
body .gl-bp h3.gl-bp-title { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.3; }
/* The deal's kind, type, and place: one muted 14 px line in one weight, "Facility Sale · Swine Facilities · Southwest
   Iowa" (11/4 /ui review: three spaced words in two weights read as tags). Each part draws its "·" before it and stays
   whole; the line starts .5 em left of the text, where the clip hides the dot of whichever part starts a line, so no
   line starts with one (the listing cards' figure line does the same). Screen readers and copying skip the dot. */
body .gl-bp .gl-bp-meta { display: block; margin: 0 0 8px -.5em; clip-path: inset(0 0 0 .5em); color: var(--gl-muted); font-size: 14px; font-weight: 400; line-height: 1.45; }
body .gl-bp .gl-bp-meta > span { display: inline-block; margin-left: 0; color: var(--gl-muted); font-weight: 400; }
body .gl-bp .gl-bp-meta > span::before { content: "\B7"; content: "\B7" / ""; display: inline-block; width: .2em; margin-right: .3em; text-align: center; }
body .gl-bp .gl-bp-desc { max-width: 36em; margin: 0; }

/* The closing block: the main office's number and email as the figures Contact Us shows, then the team. */
body .gl-bs .gl-bs-cta .gl-bc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 24px; padding: 0; }
body .gl-bs .gl-bs-cta .gl-bc-quick > li { margin: 0; }
body .gl-bs .gl-bs-cta .gl-b-links { max-width: 520px; border-bottom: 1px solid var(--gl-rule); }

@media (min-width: 850px) {
  /* Private Transactions is a full-width page, so its side column is built in: the same widths, rule, and card as the
     other three, from the title down. */
  .gl-bs-private #content .col-inner { display: grid; grid-template-columns: minmax(0, 1fr) calc(30% - 5px); grid-template-rows: auto 1fr; column-gap: 30px; }
  .gl-bs-private #content .col-inner > * { grid-column: 1; }
  .gl-bs-private #content .col-inner > .entry-header { grid-row: 1; }
  .gl-bs-private #content .col-inner > .gl-bs { grid-row: 2; }
  .gl-bs-private #content .col-inner > .gl-bs-side { grid-column: 2; grid-row: 1 / span 2; padding-left: 30px; border-left: 1px solid #ececec; }
}
@media (max-width: 849px) {
  body .gl-bs .gl-bs-sec { margin-top: 44px; }
  body .gl-bs-photo { margin-top: 24px; }
  body .gl-bs .gl-bs-photos { gap: 12px; }
  body .gl-bs .gl-bs-photos--end { margin-top: 24px; }
  /* Email and the form share a row only where both labels fit on one line. */
  body .gl-bs-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; max-width: 520px; margin: 24px 0 0; }
  body .gl-bs-reach .gl-btn { min-height: 48px; padding: 0 14px; }
  body .gl-bs-reach .gl-btn--solid { grid-column: 1 / -1; }
  body .gl-bs-reach .gl-i { width: 18px; height: 18px; }
  /* Private Transactions ends with its own Call and Email, so only the list of services follows it. */
  .gl-bs-private .gl-bs-side { margin-top: 44px; }
  .gl-bs-private .gl-bs-side .gl-b-card { display: none; }
  .gl-bs-private .gl-bs-side .gl-b-nav { margin-top: 0; }
}
@media (max-width: 899px) {
  body .gl-bs .gl-bs-cta .gl-bc-quick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 549px) {
  /* Phones: the year becomes a label over its deals, and the line runs down the left edge. */
  body .gl-bp { --gl-bp-line: 5px; }
  body .gl-bp .gl-bp-yr { grid-template-columns: minmax(0, 1fr); padding: 0 0 36px 28px; }
  body .gl-bp .gl-bp-yr:last-child { padding-bottom: 0; }
  body .gl-bp h2.gl-bp-year { margin-bottom: 8px; font-size: 1.25rem; text-align: left; }
}

/* ---------- Contact Us ---------- */

/* The navy box under the title repeated it as "Get In Touch". Its sentence becomes the page's lead.
   The gl-h-38px, gl-h-f8f9fa, and gl-h-9ca3af section markers come from growthland-restyle.php. These rules beat each
   other by weight, so each keeps the weight of the :has() it replaced: a section tag, or a doubled class. */
.page-id-140 #content .section { padding-left: 0 !important; padding-right: 0 !important; }
.page-id-140 #content section.section.gl-h-38px { padding: 0 !important; background: none !important; }
.page-id-140 #content section.section.gl-h-38px .section-bg { display: none; }
.page-id-140 #content .section h2[style*="38px"] { display: none; }
.page-id-140 #content p[style*="#c0c8d8" i] { max-width: 62ch !important; margin: 0 !important; font-size: 19px !important; line-height: 1.55 !important; color: var(--gl-ink) !important; }
.page-id-140 #content div[style*="text-align: center"] { text-align: left !important; }
.page-id-140 #content .section.gl-h-f8f9fa.gl-h-f8f9fa { padding: 0 !important; }
/* One rhythm between the lead, the office cards, the email section, and the map: half the band token from
   restyle.css, so 32 px on wide screens and 22 px on phones. Columns drop their own bottom padding here. */
.page-id-140 #content section.section.gl-h-38px .col,
.page-id-140 #content section.section.gl-h-9ca3af .col { padding-bottom: 0 !important; }
.page-id-140 #content section.section.gl-h-38px { padding-bottom: calc(var(--gl-band) / 2) !important; }
.page-id-140 #content .section.gl-h-f8f9fa.gl-h-f8f9fa .col { padding-bottom: calc(var(--gl-band) / 2) !important; }

/* Office cards: the address and links read down one left edge. */
.page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] { height: 100%; padding: 20px !important; }
/* "Email Us" and "Directions" are words, not a number, so they need an underline to read as links. Inline styles
   set "Email Us" in regular weight with no underline. */
.page-id-140 #content a[href^="mailto:"][style*="font-size: 14px"] { font-size: 16px !important; font-weight: 600 !important; }
.page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] a[href^="mailto:"],
.page-id-140 #content .gl-b-dir {
  color: var(--gl-navy) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}
.page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] a[href^="mailto:"]:hover,
.page-id-140 #content .gl-b-dir:hover { text-decoration-thickness: 2px !important; }
.page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] p:has(> a) { margin-top: 6px !important; }
.page-id-140 #content .gl-b-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--gl-navy); }
.page-id-140 #content .gl-b-dir i { font-size: 14px; }

/* The email section: a rule above it instead of a grey box that stopped short of the map below. */
.page-id-140 #content section.section.gl-h-9ca3af { padding: calc(var(--gl-band) / 2) 0 !important; border-top: 1px solid var(--gl-rule); background: none !important; }
.page-id-140 #content section.section.gl-h-9ca3af .col.large-8 { margin-inline: 0 !important; }
.page-id-140 #content section.section.gl-h-9ca3af .section-bg { display: none; }
/* The last line's own margin added 21 px to the gap above the map. */
.page-id-140 #content section.section.gl-h-9ca3af p:last-child { margin-bottom: 0 !important; }
.page-id-140 #content section.section.gl-h-9ca3af h2 + p { margin-left: 0 !important; color: var(--gl-ink) !important; font-size: 17px !important; }
.page-id-140 #content section.section.gl-h-9ca3af a[href^="mailto:"][style*="padding"] { min-height: 48px; padding: 0 30px !important; display: inline-flex !important; align-items: center; letter-spacing: 0 !important; font-size: 17px !important; }
.page-id-140 #content p[style*="#9CA3AF" i] { color: var(--gl-ink) !important; }
.page-id-140:not(.gl-bc-page) #content .col:has(> .col-inner #growthland-map) { padding: 0 15px calc(var(--gl-band) / 2) !important; }
/* The map's credit line was 12 px. */
.page-id-140 #content .leaflet-control-attribution, .page-id-140 #content .leaflet-control-attribution a { font-size: 14px; }
/* Map controls were too small to tap on a phone: 30 px zoom buttons and office pins, a 24 px popup close, and a 17 px
   phone link. Each takes a 44 px tap area. */
.page-id-140 #growthland-map .leaflet-bar a { width: 44px; height: 44px; font-size: 24px; line-height: 44px; }
/* The zoom buttons sit side by side. Stacked at that size, they reached over the Humboldt pin in the map's opening
   view at 412 px. Side by side, the control ends 58 px from the map's top, above every pin's tap area. */
.page-id-140 #growthland-map .leaflet-control-zoom { display: flex; }
.page-id-140 #growthland-map .leaflet-control-zoom a { border-bottom: 0; border-radius: 0; }
.page-id-140 #growthland-map .leaflet-control-zoom a + a { border-left: 1px solid #ccc; }
.page-id-140 #growthland-map .leaflet-control-zoom a:first-child { border-radius: 2px 0 0 2px; }
.page-id-140 #growthland-map .leaflet-control-zoom a:last-child { border-radius: 0 2px 2px 0; }
/* A pin keeps its drawn size. An invisible box 7 px out on each side takes its taps. */
.page-id-140 #growthland-map .leaflet-marker-icon::after { content: ""; position: absolute; inset: -7px; }
/* The close button grows 10 px up and to the right, past the popup's corner, so the X stays where Leaflet draws it.
   A tap there that misses the button lands on the map, which closes the popup too. The text keeps clear of the
   button's 34 px inside the popup. The page's script set the text 180 px wide at least, which at 280 px left no room
   for the wider margin, so the popup takes the width of its text. b-services.php keeps popups 14 px from the map's
   edges, so the map never cuts off the button. */
.page-id-140 #growthland-map .leaflet-popup-content { margin: 13px 36px 6px 20px; }
.page-id-140 #growthland-map .leaflet-popup-content > div { min-width: 0 !important; }
.page-id-140 #growthland-map a.leaflet-popup-close-button { top: -10px; right: -10px; width: 44px; height: 44px; font-size: 20px; line-height: 44px; }
.page-id-140 #growthland-map .leaflet-popup-content a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 550px) and (max-width: 849px) {
  /* Four cards in one row left about 170 px each on tablets, and the office names broke in two. */
  .page-id-140 #content .row > .col:has(> .col-inner.gl-s-f8f9fa) { flex-basis: 50% !important; max-width: 50% !important; }
}
@media (max-width: 549px) {
  .page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] a { display: inline-flex; align-items: center; min-height: 44px; }
  .page-id-140 #content .col-inner[style*="background-color:#f8f9fa"] p:has(> a) { margin-top: 0 !important; }
  .page-id-140 #content section.section.gl-h-9ca3af a[href^="mailto:"][style*="padding"] { width: 100%; justify-content: center; }
  .page-id-140 #content p[style*="#9CA3AF" i] a { display: inline-block; padding-block: 10px; }
}

/* ---------- Contact Us, rebuilt (gl-bc-page, from b-services.php) ----------
   The rules above style the page as typed, which prints when its content changes shape. These style the rebuilt page:
   a ruled row with the main number, email, and form; the offices beside a map; then the form. No boxes: rules and
   space do the grouping, as on the listing pages. Links carry #main because restyle.css sets every #main mailto link
   to inline-block on phones. */

body .gl-bc { margin: 0 0 var(--gl-band); color: var(--gl-ink); }
body .gl-bc-lead { max-width: 62ch; margin: 0 0 28px; font-size: 19px; line-height: 1.55; color: var(--gl-ink); }
body .gl-bc-h2 { margin: 0 0 12px; font-size: 1.625rem; }

/* The three ways to reach the main office, as figures with labels, the way the listing pages set their key facts. */
body .gl-bc-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 var(--gl-band);
  padding: 0;
  border-top: 1px solid var(--gl-rule);
  border-bottom: 1px solid var(--gl-rule);
  list-style: none;
}
body .gl-bc .gl-bc-quick > li { min-width: 0; margin: 0; }
body .gl-bc-quick li + li { border-left: 1px solid var(--gl-rule); }
#main .gl-bc-quick a.gl-bc-q {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px 24px 20px;
  color: var(--gl-navy);
  text-decoration: none;
}
#main .gl-bc-quick li:first-child a.gl-bc-q { padding-left: 0; }
body .gl-bc-q-label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--gl-muted); }
body .gl-bc-q-label .gl-i { width: 18px; height: 18px; color: var(--gl-navy); }
body .gl-bc-q-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--gl-navy);
  font-variant-numeric: tabular-nums lining-nums;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gl-field);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
  transition: text-decoration-color var(--gl-fast);
}
body .gl-bc-q-value .gl-i { width: 20px; height: 20px; }
@media (hover: hover) { #main .gl-bc-quick a.gl-bc-q:hover .gl-bc-q-value { text-decoration-color: currentColor; } }

/* The offices: one ruled row each. */
body .gl-bc-offices { margin: 0 0 var(--gl-band); }
body .gl-bc-list { margin: 0; padding: 0; list-style: none; }
/* The theme indents list items inside a column by 1.3em, with a heavier selector. */
body .gl-bc .gl-bc-list > li.gl-bc-office { min-width: 0; margin: 0; padding: 20px 0 16px; border-top: 1px solid var(--gl-rule); }
body .gl-bc-name { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; margin: 0 0 6px; font-size: 1.25rem; }
body .gl-bc-main { font-family: var(--gl-sans); font-size: 15px; font-weight: 400; color: var(--gl-muted); }
body .gl-bc-addr { margin: 0 0 12px; font-size: 17px; line-height: 1.5; color: var(--gl-ink); }
/* Five actions (Call, Email, Directions, Office page, People) need about 700 px, and the list column is 553 to 619 px.
   They wrapped as they fit, which left "Office page" alone on a second line. The call button takes the first line and
   the four links share the second, the same in every office. */
body .gl-bc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
body .gl-bc .gl-bc-acts > li { margin: 0; }
body .gl-bc .gl-bc-acts > li.gl-bc-act-call { flex: 0 0 100%; margin-bottom: 4px; }
#main .gl-bc a.gl-bc-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  background: #fff;
  color: var(--gl-navy);
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color var(--gl-fast), background-color var(--gl-fast);
}
@media (hover: hover) { #main .gl-bc a.gl-bc-tel:hover { border-color: var(--gl-navy); background: var(--gl-wash); } }
#main .gl-bc a.gl-bc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--gl-navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gl-field);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--gl-fast);
}
@media (hover: hover) { #main .gl-bc a.gl-bc-link:hover { text-decoration-color: currentColor; } }
body .gl-bc :is(.gl-bc-tel, .gl-bc-link) .gl-i { width: 18px; height: 18px; }

/* The map. Its box keeps its size before Leaflet loads, so nothing moves when it draws. z-index 0 keeps Leaflet's
   own layers (up to 1000) under the sticky header. Without scripts there is no map, so the box goes. */
body .gl-bc-mapwrap { margin-top: 12px; }
html:not(.gl-js) body .gl-bc-mapwrap { display: none; }
.gl-bc-page #growthland-map.gl-bc-map {
  position: relative;
  z-index: 0;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--gl-rule);
  border-radius: var(--gl-radius);
  background: var(--gl-wash);
  font-family: var(--gl-sans);
}
.gl-bc-page #growthland-map.gl-bc-map--failed { display: flex; align-items: center; justify-content: center; padding: 24px; font-size: 16px; color: var(--gl-muted); text-align: center; }
.gl-bc-page #growthland-map:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
/* Grey streets under navy squares, so the offices stand out the way towns do on a plat map. */
.gl-bc-page #growthland-map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
/* The map zooms in half steps to fit Iowa, and at a half step Chrome left hairline gaps between tiles. Each tile
   reaches one pixel into the next. Leaflet's own fix adds overlapping pixels together (plus-lighter), which turned
   that overlap into white lines, so the tiles blend normally. */
.gl-bc-page #growthland-map img.leaflet-tile { width: 257px !important; height: 257px !important; mix-blend-mode: normal; }
.gl-bc-page #growthland-map .gl-bc-pin { display: flex; align-items: center; justify-content: center; border-radius: var(--gl-radius); }
.gl-bc-page #growthland-map .gl-bc-pin::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 2px;
  background: var(--gl-navy);
  outline: 1px solid var(--gl-navy);
}
.gl-bc-page #growthland-map .gl-bc-pin:focus-visible { outline: 3px solid #5b7bd5; outline-offset: -4px; }
.gl-bc-page #growthland-map .leaflet-tooltip.gl-bc-tip {
  padding: 1px 7px;
  border: 1px solid var(--gl-navy);
  border-radius: var(--gl-radius);
  background: #fff;
  box-shadow: none;
  color: var(--gl-navy);
  font-family: var(--gl-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.gl-bc-page #growthland-map .leaflet-tooltip.gl-bc-tip::before { display: none; }
/* Popups: the page's script set the address in 13 px text. These use the page's sizes, with a hairline in place of
   Leaflet's shadow. */
.gl-bc-page #growthland-map .leaflet-popup-content-wrapper { border: 1px solid var(--gl-field); border-radius: var(--gl-radius); box-shadow: none; }
.gl-bc-page #growthland-map .leaflet-popup-tip { box-shadow: none; border: 1px solid var(--gl-field); }
.gl-bc-page #growthland-map .leaflet-popup-content { margin: 14px 40px 10px 18px; font-family: var(--gl-sans); font-size: 16px; line-height: 1.45; color: var(--gl-ink); }
.gl-bc-page #growthland-map .gl-bc-pop p { margin: 0; }
.gl-bc-page #growthland-map .gl-bc-pop-name { font-size: 17px; font-weight: 600; color: var(--gl-navy); }
.gl-bc-page #growthland-map .gl-bc-pop-addr { margin: 2px 0 8px; font-size: 16px; color: var(--gl-ink); }
.gl-bc-page #growthland-map .gl-bc-pop-link + .gl-bc-pop-link { margin-top: 4px; }
.gl-bc-page #growthland-map .gl-bc-pop a { color: var(--gl-navy); }
.gl-bc-page #growthland-map .gl-bc-pop a.gl-bc-tel { display: inline-flex; min-height: 44px; }
/* Leaflet's own controls in the site's look, on Contact Us and the office pages alike: navy + and - on white inside a
   navy edge with 4 px corners, in place of Leaflet's grey shadowed box. They sit side by side at 44 px, as Contact Us
   set them, so the control ends above every pin's tap area in the opening view. */
.gl-bc-page #growthland-map .leaflet-bar { display: flex; border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); background: #fff; box-shadow: none; overflow: hidden; }
.gl-bc-page #growthland-map .leaflet-bar a {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--gl-navy);
  font-family: var(--gl-sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 44px;
  text-indent: 0;
  transition: background-color var(--gl-fast);
}
.gl-bc-page #growthland-map .leaflet-bar a + a { border-left: 1px solid var(--gl-navy); }
.gl-bc-page #growthland-map .leaflet-bar a:focus-visible { outline: 3px solid #5b7bd5; outline-offset: -3px; }
.gl-bc-page #growthland-map .leaflet-bar a.leaflet-disabled { background: #fff; color: var(--gl-muted); cursor: default; }
@media (hover: hover) { .gl-bc-page #growthland-map .leaflet-bar a:not(.leaflet-disabled):hover { background: var(--gl-wash); color: var(--gl-navy); } }
@media (prefers-reduced-motion: reduce) { .gl-bc-page #growthland-map .leaflet-bar a { transition: none; } }
/* The credit line at a readable size, its links in navy like every other link on the page. */
.gl-bc-page #growthland-map .leaflet-control-attribution { padding: 1px 6px; background: rgba(255, 255, 255, .92); color: var(--gl-ink); font-family: var(--gl-sans); font-size: 14px; line-height: 1.5; }
.gl-bc-page #growthland-map .leaflet-control-attribution a { color: var(--gl-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* The form, under the page's own line about email. The anchor clears the sticky header. */
body .gl-bc-message { scroll-margin-top: 24px; }
body .gl-bc-note { max-width: 62ch; margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--gl-ink); }
body .gl-bc-mailbtn { display: inline-flex !important; min-height: 48px; padding: 0 24px; }

@media (min-width: 1000px) {
  /* The list and the map side by side. The map stays in view beside the list while it fits the screen. */
  body .gl-bc-offices--map .gl-bc-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 48px; align-items: start; }
  body .gl-bc-offices--map .gl-bc-list > li.gl-bc-office:last-child { border-bottom: 1px solid var(--gl-rule); }
  body .gl-bc-mapwrap { position: sticky; top: 104px; margin-top: 0; }
  .gl-bc-page #growthland-map.gl-bc-map { height: min(480px, calc(100vh - 136px)); min-height: 400px; }
  html:not(.gl-js) body .gl-bc-offices--map .gl-bc-grid { display: block; }
}
@media (max-width: 899px) {
  /* Three figures across left about 190 px each on a tablet. Each takes its own ruled line, label left and figure right. */
  body .gl-bc-quick { grid-template-columns: minmax(0, 1fr); }
  body .gl-bc-quick li + li { border-left: 0; border-top: 1px solid var(--gl-rule); }
  #main .gl-bc-quick a.gl-bc-q,
  #main .gl-bc-quick li:first-child a.gl-bc-q { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; min-height: 56px; padding: 8px 0; }
  body .gl-bc-q-value { font-size: 20px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  /* Two offices to a row on tablets, with the map across the full width under them. */
  body .gl-bc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 999px) {
  /* On phones and in the tablets' half-width columns the four links don't fit one line. A two-column grid sets the
     call button across the top, Email and Directions side by side, and a last link without a partner across the full
     width, the same way in every office. */
  body .gl-bc-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; align-items: center; }
  body .gl-bc-act-call, body .gl-bc-acts > li:last-child:nth-child(even) { grid-column: 1 / -1; }
  body .gl-bc .gl-bc-acts > li.gl-bc-act-call { margin-bottom: 0; }
}
@media (max-width: 599px) {
  body .gl-bc-lead { font-size: 18px; margin-bottom: 22px; }
  #main .gl-bc a.gl-bc-tel { width: 100%; min-height: 48px; }
  .gl-bc-page #growthland-map.gl-bc-map { height: 340px; }
}

/* ---------- Learn More ---------- */

/* The social links and the newsletter form repeat the footer. People filling out the form get the office numbers instead. */
.page-id-21546 #content .gl-b-right > :not(.gl-b-offices) { display: none !important; }
.page-id-21546 #content .gl-b-offices { margin: 0 0 32px; }
.page-id-21546 #content .gl-b-offices ul { margin: 0 0 10px; padding: 0; list-style: none; }
/* The number moves under the town when the column is too narrow for both, as at 280 and 768 px. */
.page-id-21546 #content .gl-b-offices li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 12px; min-height: 44px; margin: 0; border-top: 1px solid var(--gl-rule); }
.page-id-21546 #content .gl-b-offices li:first-child { border-top: 0; }
.page-id-21546 #content .gl-b-offices li span { font-weight: 600; color: var(--gl-ink); }
.page-id-21546 #content .gl-b-offices li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--gl-navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; text-decoration: none; }
.page-id-21546 #content .gl-b-offices li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-id-21546 #content .gl-b-offices p { margin: 0; padding-top: 10px; border-top: 1px solid var(--gl-rule); }
.page-id-21546 #content .gl-b-offices p a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--gl-navy); }
.page-id-21546 #content .large-8 > .col-inner > p:first-child { margin-bottom: 18px; }

/* When the screen is tall enough for the whole right column (the contact card and the Services list, up to about 680 px
   under the 86 px header line), the column stays in view as one piece, so the list no longer scrolls up under the
   card (Adam, 11/4: "services in right column not sticky"). Shorter screens keep the card alone in view, as above. */
@media (min-width: 850px) and (min-height: 770px) {
  .gl-b-service .page-right-sidebar > .row > .large-3 { display: block; }
  .gl-b-service #secondary { position: sticky; top: 86px; flex: none; }
  .gl-b-service #secondary .gl-b-card { position: static; }
  .gl-bs-private .gl-bs-side { position: sticky; top: 86px; align-self: start; }
  .gl-bs-private .gl-bs-side .gl-b-card { position: static; }
}

/* Private Transactions' title on phones (11/4 /ui review): at 32 px "Mergers" sat alone on the middle line, which read
   as a forced break. The size steps down with the screen so the title takes two balanced lines, "Private
   Transactions &" over "Mergers and Acquisitions", from 24 px on a 320 px phone to 29 px on a 390 px one. */
@media (max-width: 699px) {
  body.page-id-23663 h1.entry-title { font-size: min(32px, calc((100vw - 30px) / 12.4)); text-wrap: balance; }
}

/* What Our Clients Say: the quotes share the column's full width in equal columns, 40 px apart (11/4 /ui review: two
   quotes in a 36 em box left a third of the column empty beside them). Under 782 px WordPress stacks them. */
@media (min-width: 782px) {
  body .gl-bs .gl-bs-quotes .wp-block-columns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 40px; max-width: none; }
  body .gl-bs .gl-bs-quotes .wp-block-column { flex-basis: auto !important; min-width: 0; margin: 0; }
}

/* "Print the request form (PDF)" in the appraisal form's opening line was a 20 px tall link. The padding makes it a
   44 px tap without moving the lines (CTA review, 11/4). */
body .gl-bs-form p a[href$=".pdf"] { padding-block: 12px; }
