/* Growthland design layer. It loads after the theme and plugins, and only changes how existing pages look. */

/* Static weights, not the variable font: Safari and other WebKit browsers painted every weight of the variable file
   at its default, the thinnest. Each file is one weight, cut from the same font with fontTools. */
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/libre-franklin-400.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/libre-franklin-600.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/libre-franklin-700.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/libre-franklin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/libre-franklin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/libre-franklin-700-italic.woff2") format("woff2"); }

:root {
  --gl-ink: #1f2430;
  --gl-navy: #182a61;
  --gl-navy-deep: #101d45;
  --gl-navy-hover: #233a82;
  --gl-muted: #525a68;
  /* Rules, field edges, and the wash, darkened 11/3: at #d8dbe3, #aeb4c0, and #f4f5f8 they vanished on Adam's
     screens, and field edges measured 2.1:1, under the 3:1 a control needs. */
  --gl-rule: #b9bfcc;
  --gl-field: #7a8394;
  --gl-wash: #eef0f5;
  --gl-radius: 4px;
  /* One family, Libre Franklin, chosen by Adam on 2026-10-31. The heading token keeps its old name, so the parts don't change. */
  --gl-sans: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gl-serif: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gl-fast: 160ms cubic-bezier(.23, 1, .32, 1);
  /* One size for every page title, so plain pages, listings, people, posts, and archives match. */
  --gl-h1: clamp(2rem, 1.4rem + 1.6vw, 2.6rem);
  --gl-pending: #7f6212;
  --gl-sold: #3f4656;
  /* One rhythm for full-width bands: 88 px on wide screens, 56 px on phones and tablets (raised 11/3 from 64 and 44:
     Adam, "the site needs better spacing as it feels kinda cramped"). */
  --gl-band: 88px;

  --fs-color-base: var(--gl-ink);
  --fs-color-primary: var(--gl-navy);
  --fs-color-secondary: var(--gl-navy);
  --primary-color: var(--gl-navy);
  --fs-experimental-link-color: var(--gl-navy);
  --fs-experimental-link-color-hover: var(--gl-navy-hover);
}

/* ---------- Type ---------- */

html { background-image: none !important; background-color: var(--gl-navy-deep) !important; }

body {
  font-family: var(--gl-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gl-ink);
  -webkit-font-smoothing: antialiased;
}

input, select, textarea, button, .button, .nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-family: var(--gl-sans);
}

/* Bootstrap, the real estate plugin, and inline styles set their own fonts. Icon fonts have to keep theirs. */
.ich-settings-main-wrap *:not(i):not(h1, h2, h3, h4):not(h1 *, h2 *, h3 *, h4 *):not(.fa):not([class*="fa-"]):not([class*="icon-"]),
.rem-property-box *:not(i):not(.fa):not([class*="fa-"]):not([class*="icon-"]),
.rem-search-form-wrap *:not(i):not(.fa):not([class*="fa-"]):not([class*="icon-"]),
#main [style*="font-family"]:not(i):not(h1, h2, h3, h4):not(h1 *, h2 *, h3 *, h4 *),
#footer [style*="font-family"]:not(i),
.gl-strip, .gl-strip * {
  font-family: var(--gl-sans) !important;
}

h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2,
.ich-settings-main-wrap h1, .ich-settings-main-wrap h2, .ich-settings-main-wrap h3, .ich-settings-main-wrap h4 {
  font-family: var(--gl-serif) !important;
  font-weight: 600;
  color: var(--gl-navy);
  letter-spacing: -0.005em;
  line-height: 1.2;
  /* Lines of even length, so a heading such as "Other Farms Offered in This Sale" doesn't leave one word alone. */
  text-wrap: balance;
}
h1 { font-size: var(--gl-h1); }
h2 { font-size: 1.9rem; }
/* Two H2 spacings site-wide: 12 px under a heading that opens a section, and 8 px under the title of one item, such as a card. */
h2 { margin-bottom: 12px; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: #fff; }

a { transition: color var(--gl-fast); }
.price, .price .amount { color: var(--gl-navy); }
.alt-font { font-family: var(--gl-serif); }

.entry-title, h1.entry-title, .page-title h1, .uppercase, h1.uppercase, h2.uppercase, h3.uppercase, h4.uppercase, h5.uppercase, h6.uppercase {
  letter-spacing: 0;
  line-height: 1.2;
}
.entry-title, h1.entry-title { text-transform: none; color: var(--gl-navy); font-size: var(--gl-h1); }
.page-title.dark h1, .featured-title h1 { color: #fff; text-transform: none; }

.section-title, .section-title-main {
  font-family: var(--gl-serif) !important;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gl-navy);
}
/* The theme forces capitals on these titles. Listing titles have to stay exactly as they're typed. */
.section-title:not(.line-style), .section-title-main { text-transform: capitalize !important; }
.section-title.line-style, .section-title.line-style .title { text-transform: none !important; }
.section-title { font-size: 1.9rem; }
.section-title b { background-color: var(--gl-rule); opacity: 1; height: 1px; }
.section-title-main i { display: none; }
.dark .section-title, .dark .section-title-main { color: #fff; }

/* The theme's short bar under each heading is a template habit. Spacing does the same job. */
.is-divider { display: none !important; }
.box-image[style*="border-radius"] { border-radius: var(--gl-radius) !important; }

.widget-title, span.widget-title, .widgettitle {
  font-family: var(--gl-serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gl-navy);
}

/* ---------- Header ---------- */

.header-bg-color,
.header-wrapper.stuck .header-bg-color {
  background-color: #fff !important;
}
.header-shadow .header-wrapper, .header-wrapper.stuck {
  box-shadow: 0 1px 0 var(--gl-rule);
}
.header-main .nav > li > a {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gl-ink);
}
.header-main .nav > li > a:hover,
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li.current-menu-ancestor > a {
  color: var(--gl-navy);
}
.header-top, .header-top .nav > li > a, .header-top .html { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.header-top strong, .header-top b { font-weight: 600; }

.nav-dropdown {
  border: 1px solid var(--gl-rule);
  border-radius: var(--gl-radius);
  box-shadow: 0 8px 24px rgba(16, 29, 69, .12);
  font-family: var(--gl-sans);
}
.nav-dropdown > li > a, .nav-dropdown .menu-item > a {
  font-size: 16px;
  color: var(--gl-ink);
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown > li > a:hover { color: var(--gl-navy); background-color: var(--gl-wash); }

/* The phone menu. The theme gives it its own font rule, which fell back to the device's system font. */
.off-canvas-center .nav-sidebar.nav-vertical > li > a, .nav-sidebar > li > a {
  font-family: var(--gl-serif) !important;
  font-weight: 600;
  color: var(--gl-navy);
  letter-spacing: 0;
}
.nav-sidebar .sub-menu a, .nav-sidebar .children a { font-family: var(--gl-sans) !important; color: var(--gl-ink); }

/* ---------- Buttons and forms ---------- */

.button, button, input[type="submit"], input[type="button"], .woocommerce .button {
  border-radius: var(--gl-radius) !important;
  font-family: var(--gl-sans);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none !important;
  transition: background-color var(--gl-fast), border-color var(--gl-fast), color var(--gl-fast);
}
.button.primary, input[type="submit"], input[type="submit"].button {
  background-color: var(--gl-navy) !important;
  background-image: none !important;
  border-color: var(--gl-navy) !important;
  color: #fff !important;
}
.button.primary:hover, input[type="submit"]:hover {
  background-color: var(--gl-navy-hover) !important;
  border-color: var(--gl-navy-hover) !important;
}
.button.white { background-image: none !important; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .button:focus-visible {
  outline: 3px solid #5b7bd5;
  outline-offset: 2px;
}
/* The plugin's Bootstrap draws a thin browser ring inside its wrapper, with a longer selector. The site ring wins.
   Rings that sit on navy, or inside a row that clips, set their own color or offset with a longer selector still. */
.ich-settings-main-wrap :is(a, button, input, select, textarea, .btn, [tabindex]):focus-visible { outline: 3px solid #5b7bd5 !important; outline-offset: 2px; }
/* Bootstrap pulls a button's ring 2 px inside, onto the navy. */
.ich-settings-main-wrap .btn.btn:focus-visible { outline-offset: 2px !important; }
/* Text fields: the theme's focus style was a 1 px border and a light glow, hard to see. */
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea, .form-control):focus-visible {
  outline: 3px solid #5b7bd5 !important;
  outline-offset: 1px;
  box-shadow: none !important;
}

/* Focus never lands under the sticky header, or under the call bar on a phone listing page. */
html { scroll-padding-top: 80px; }
@media (max-width: 767px) {
  html:has(.gl-has-bar) { scroll-padding-bottom: 84px; }
}

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], input[type="password"], select, textarea, .form-control {
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  box-shadow: none;
  color: var(--gl-ink);
  font-size: 17px;
  min-height: 46px;
}
textarea { min-height: 120px !important; }
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--gl-navy);
  box-shadow: none;
}
label { font-weight: 600; color: var(--gl-ink); font-size: 16px; }
::placeholder { color: var(--gl-muted); opacity: 1; }

/* The MailerLite embed styles itself with IDs and !important, so these rules need ID-level weight. */
.ml-form-embedContainer:not(#_):not(#_) *:not(i) { font-family: var(--gl-sans) !important; }
.ml-form-embedContainer:not(#_):not(#_) .ml-form-embedWrapper { background-color: var(--gl-wash) !important; border-radius: var(--gl-radius) !important; }
.ml-form-embedContainer:not(#_):not(#_) h4 { font-family: var(--gl-serif) !important; font-weight: 600 !important; color: var(--gl-navy) !important; font-size: 1.45rem !important; }
.ml-form-embedContainer:not(#_):not(#_) input.form-control {
  min-height: 46px !important;
  height: 46px !important;
  font-size: 17px !important;
  color: var(--gl-ink) !important;
  border: 1px solid var(--gl-field) !important;
  border-radius: var(--gl-radius) !important;
}
.ml-form-embedContainer:not(#_):not(#_) p,
.ml-form-embedContainer:not(#_):not(#_) label,
.ml-form-embedContainer:not(#_):not(#_) label p,
.ml-form-embedContainer:not(#_):not(#_) .label-description {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: var(--gl-ink) !important;
}
.ml-form-embedContainer:not(#_):not(#_) button[type="submit"] {
  min-height: 46px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  background-color: var(--gl-navy) !important;
  border-radius: var(--gl-radius) !important;
}
.ml-form-embedContainer:not(#_):not(#_) button[type="submit"]:hover { background-color: var(--gl-navy-hover) !important; }

/* ---------- Home page ---------- */

.home .banner { padding-top: clamp(460px, 40vw, 600px) !important; }
.home .banner .overlay {
  background: linear-gradient(90deg, rgba(16, 29, 69, .82) 0%, rgba(16, 29, 69, .58) 48%, rgba(16, 29, 69, .12) 100%) !important;
}
.home .banner [data-animate] { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
.home .banner .text-box-content {
  background: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
}
.home .banner .text-inner { text-align: left !important; padding: 0 15px !important; }
.home .banner .text-inner .text { text-align: left !important; }
.home .banner .text-inner .text p:empty { display: none; }
.home .banner .text-inner h1 {
  color: #fff !important;
  font-size: clamp(2.1rem, 4vw, 3.4rem) !important;
  line-height: 1.12;
  max-width: 13.5em;
  margin: 0 0 14px;
}
.home .banner .gl-hero-tagline { color: #fff; font-size: 1.25rem; line-height: 1.4; margin: 0 0 26px; text-align: left; }

/* The buttons sit in nested grid rows. These rules lay them out as one left-aligned row. */
.home .banner .text-inner .row { display: flex !important; flex-wrap: wrap; gap: 12px; margin: 0 !important; max-width: none !important; width: auto !important; justify-content: flex-start !important; }
.home .banner .text-inner .col { flex: 0 0 auto !important; width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.home .banner .text-inner .col-inner { padding: 0 !important; text-align: left !important; }
.home .banner .text-inner .button {
  margin: 0 !important;
  min-height: 46px;
  line-height: 44px !important;
  padding: 0 22px !important;
  font-size: 17px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.home .banner .text-inner .button.primary { background-color: #fff !important; border-color: #fff !important; color: var(--gl-navy) !important; }
.home .banner .text-inner .button.primary:hover { background-color: var(--gl-wash) !important; }
.home .banner .text-inner .button.white { background-color: transparent !important; border: 1px solid #fff !important; color: #fff !important; }
.home .banner .text-inner .button.white:hover { background-color: rgba(255, 255, 255, .14) !important; }

.ux-shape-divider { display: none !important; }

.home .icon-box .icon-inner { border-color: var(--gl-rule) !important; }
.home .icon-box-text h5, .home .icon-box-text h4, .home .icon-box-text h3 {
  font-family: var(--gl-serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gl-navy);
  margin-bottom: 10px;
}

/* The listings band: nearly solid navy, with a hint of the field photo. */
.home .section.gl-h-listings .section-bg-overlay { background-color: rgba(16, 29, 69, .92) !important; }
.home .section.gl-h-listings .section-title,
.home .section.gl-h-listings .section-title-main { color: #fff !important; }
.home .section.gl-h-listings .section-title b { background-color: rgba(255, 255, 255, .3); }

/* Testimonials: one treatment on the home page, the Testimonials page, and the service pages. Upright sans at
   body size, because long italic text is hard to read, and the client's name in navy under the quote. */
#main p[style*="italic" i], #main blockquote, #main blockquote * { font-style: normal !important; }
#main p[style*="italic" i] { font-family: var(--gl-sans); font-size: 17px !important; line-height: 1.55 !important; color: var(--gl-ink) !important; }
#main p[style*="1B3A6B" i] { color: var(--gl-navy) !important; font-weight: 600 !important; }
#main p[style*="italic" i] + p[style*="1B3A6B" i] { margin: 12px 0 0 !important; font-size: 16px !important; }
.gl-b-service #content .wp-block-quote { margin: 0 !important; padding: 0 !important; border: 0 !important; font-family: var(--gl-sans) !important; font-size: 17px; line-height: 1.55; color: var(--gl-ink); }
.gl-b-service #content .wp-block-quote p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--gl-ink); }
.gl-b-service #content .wp-block-quote cite { display: block; margin: 12px 0 0; font-size: 16px; line-height: 1.4; color: var(--gl-navy); }
.gl-b-service #content .wp-block-quote cite strong { font-weight: 600; }
.gl-b-service #content :is(h2, h3):has(+ .wp-block-columns .wp-block-quote) { text-align: left !important; }

/* Keep each move of the carousel short. With reduced motion, the reset at the end of this file stops it. */
@media (prefers-reduced-motion: no-preference) {
  .home .slick-track { transition-duration: 400ms !important; }
}
.home .section.gl-h-listings a.button.white { color: var(--gl-navy) !important; font-size: 17px !important; }
/* The theme sizes buttons at 2.5em, which came to 43 px. The hero buttons set their own height. */
.home #content a.button { min-height: 44px; line-height: 42px; }

/* The sentence near the end of the home page sits outside the page grid. */
.home .content-area > p.wp-block-paragraph {
  max-width: 1110px;
  margin: 28px auto;
  padding: 0 15px;
}

/* ---------- Listing cards ---------- */

.rem-property-box {
  border-radius: var(--gl-radius);
  box-shadow: none !important;
}
.rem-property-box a { text-decoration: none; }
.rem-property-box .property-title {
  font-weight: 600 !important;
  font-size: 19px !important;
  line-height: 1.3 !important;
  color: var(--gl-navy) !important;
  letter-spacing: 0;
  margin: 0 0 8px !important;
}
.rem-property-box a:hover .property-title { text-decoration: underline; text-underline-offset: 3px; }
.rem-property-box .property-excerpt {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--gl-muted) !important;
  margin: 0;
}
.rem-property-box .property-price, .rem-property-box .detail { display: none; }
.rem-property-box .property-type,
.rem-property-box .address-text,
.rem-property-box .images-text {
  border-radius: var(--gl-radius) !important;
  background-color: var(--gl-navy) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 0 !important;
}
.rem-property-box .img-container { border-radius: var(--gl-radius); overflow: hidden; }
/* The plugin drew a grey 1 px frame and a 5 px corner on each photo. The container clips the corners. */
body .rem-property-box .img-container img { border: 0 !important; border-radius: 0 !important; }
/* A one-line title link was 33 px tall. The padding makes a 44 px tap area, and the negative margin keeps the layout. */
.rem-property-box .content-container > a { position: relative; z-index: 1; padding-block: 6px; margin-block: -6px; }

/* Home page carousel: cards as tall as their content, all the same height. */
.home .slick-track { display: flex !important; height: auto !important; }
.home .slick-slide { height: auto !important; }
.home .slick-slide > div, .home .slick-slide .m-item { height: 100%; }
.rem-style-2.rem-property-box { background: #fff; border: 0 !important; overflow: hidden; height: 100% !important; }
.rem-style-2 .content-container { height: auto !important; min-height: 0 !important; padding: 16px !important; }
.rem-style-2 .content-footer { display: none !important; }

/* Listing pages: photo first, then the words, separated by a thin rule. */
.rem-style-1.rem-property-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: 0 !important;
  border-bottom: 1px solid var(--gl-rule) !important;
  border-radius: 0;
  padding: 0 0 24px !important;
  margin: 0 0 24px !important;
  height: auto !important;
  background: none;
}
.rem-style-1 .img-container { order: -1; float: none !important; flex: 0 0 38%; width: auto !important; }
.rem-style-1 .content-container { float: none !important; flex: 1 1 auto; width: auto !important; padding: 2px 0 0 !important; min-width: 0; }
.rem-style-1 .property-title { font-size: 21px !important; }
.rem-style-1 .content-footer { display: none !important; }

/* A card's words sit inside its frame, and a hovered card lifts a little. The plugin's own hover moved cards up 5 px
   under a wide blue glow, with the title flush against the edge. Only transform and shadow change, so the card keeps
   its size and nothing around it moves. */
/* The body tag outweighs the card grid's rules further down, which set no border and no padding. */
body.page .rem-style-1.rem-property-box { border: 1px solid var(--gl-rule) !important; border-radius: var(--gl-radius) !important; background: #fff; overflow: hidden; }
body.page .rem-style-1.rem-property-box .img-container { border-radius: 0; }
body.page .rem-style-1 .content-container { padding: 4px 16px 18px !important; }
body .rem-property-box.rem-style-1, body .rem-property-box.rem-style-2 { transition: transform 220ms cubic-bezier(.23, 1, .32, 1), box-shadow 220ms cubic-bezier(.23, 1, .32, 1), border-color 220ms cubic-bezier(.23, 1, .32, 1) !important; }
body .rem-property-box.rem-style-1:hover, body .rem-property-box.rem-style-2:hover { transform: none; box-shadow: none !important; }
@media (hover: hover) {
  body.page .rem-property-box.rem-style-1:hover, body .rem-property-box.rem-style-2:hover {
    transform: translateY(-3px);
    border-color: var(--gl-field) !important;
    box-shadow: 0 1px 2px rgba(16, 29, 69, .06), 0 10px 24px rgba(16, 29, 69, .10) !important;
  }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  body.page .rem-property-box.rem-style-1:hover, body .rem-property-box.rem-style-2:hover { transform: none; }
}

/* Status labels, with the Sale Pending color darkened for contrast. */
span.featured-text.purpose-badge.sold, span.sold { background: var(--gl-navy) !important; -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: 0 !important; font-size: 14px !important; text-transform: none !important; }
.featured-text.purpose-badge.sale-pending, .featured-text.purpose-badge[class*="sale"] { background: #7f6212 !important; -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: 0 !important; font-size: 14px !important; text-transform: none !important; }

/* ---------- Search box on the listing pages ---------- */

.ich-settings-main-wrap .search-box-page, .rem-search-form-wrap, .rem-search-form-wrap .search-container {
  box-shadow: none !important;
  border-radius: var(--gl-radius);
}
.rem-search-form-wrap .search-options { box-shadow: none !important; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); }
.rem-search-form-wrap .form-control {
  border: 1px solid var(--gl-field) !important;
  border-radius: var(--gl-radius) !important;
  min-height: 46px;
  font-size: 17px !important;
  color: var(--gl-ink) !important;
}
.rem-search-form-wrap .dropdown {
  border: 1px solid var(--gl-field) !important;
  border-radius: var(--gl-radius) !important;
  box-shadow: none !important;
  background: #fff !important;
  min-height: 46px;
}
.rem-search-form-wrap .dropdown .selected, .rem-search-form-wrap .dropdown li { font-size: 17px !important; color: var(--gl-ink) !important; }
.rem-search-form-wrap .dropdown .selected { height: 44px !important; line-height: 44px !important; padding: 0 44px 0 13px !important; }
.rem-search-form-wrap .dropdown .carat { border-top-color: var(--gl-navy) !important; height: 46px !important; }
.form-control::placeholder { color: var(--gl-muted) !important; }
.rem-search-form-wrap .btn { font-size: 17px !important; }
.ich-settings-main-wrap .btn, .rem-search-form-wrap .btn, .rem-search-form-wrap button[type="submit"], .rem-search-form-wrap input[type="submit"] {
  background: var(--gl-navy) !important;
  border-color: var(--gl-navy) !important;
  color: #fff !important;
  border-radius: var(--gl-radius) !important;
  font-weight: 600;
  min-height: 46px;
}
.ich-settings-main-wrap .btn:hover, .rem-search-form-wrap .btn:hover { background: var(--gl-navy-hover) !important; }

/* ---------- Listing detail pages ---------- */

.section-title.line-style.property-title .title,
.ich-settings-main-wrap .section-title.line-style .title {
  font-family: var(--gl-serif) !important;
  font-weight: 600;
  color: var(--gl-navy) !important;
  border-color: var(--gl-navy) !important;
}
/* The plugin pins these titles to the bottom of a one-line box, so a longer title ran up over the photos. */
.ich-settings-main-wrap .section-title.line-style, .section-title.line-style.property-title {
  height: auto !important;
  line-height: 1.2;
  margin-top: 24px;
  border-color: var(--gl-rule) !important;
}
.ich-settings-main-wrap .section-title.line-style .title, .section-title.line-style.property-title .title {
  position: static !important;
  display: block;
  padding-bottom: 10px;
  line-height: 1.2;
}
.section-title.line-style { border-bottom-width: 1px !important; }
.section-title.line-style .title { border-bottom: 0 !important; }
.section-title.line-style.property-title .title { font-size: 1.9rem; }
.ich-settings-main-wrap .section-title.line-style:not(.property-title) .title { font-size: 1.45rem; }

/* The details table and agent card in the write-ups are set at 12 to 13.5 px. */
.rem_property td, .rem_property th, .rem_property td strong { font-size: 16px !important; line-height: 1.45; }
.rem_property div[style*="font-size: 12px"], .rem_property div[style*="font-size:12px"],
.rem_property div[style*="font-size: 13px"], .rem_property div[style*="font-size:13px"] { font-size: 15px !important; }
.rem_property .description { text-align: left !important; }

/* The listing write-ups carry their own inline boxes and colors. */
.rem_property div[style*="box-shadow"], .rem_property div[style*="border-radius"] {
  box-shadow: none !important;
  border-radius: var(--gl-radius) !important;
  border-color: var(--gl-rule) !important;
}
.rem_property img[style*="border-radius"] { border-radius: var(--gl-radius) !important; }
.rem_property h2[style] {
  font-family: var(--gl-serif) !important;
  font-weight: 600 !important;
  font-size: 1.65rem !important;
  color: var(--gl-navy) !important;
  letter-spacing: 0;
}
.rem_property h2[style] a { color: var(--gl-navy) !important; }

/* ---------- Leftover inline colors ---------- */

a[style*="#446084" i] { background-color: var(--gl-navy) !important; border-radius: var(--gl-radius) !important; font-weight: 600; }
a[style*="#446084" i]:hover { background-color: var(--gl-navy-hover) !important; }
p[style*="#9CA3AF" i], p[style*="#6B7280" i] { color: var(--gl-muted) !important; font-size: 16px !important; }
#main :is(h2, h3)[style*="#2c3e50" i], #main :is(h2, h3)[style*="#446084" i] { color: var(--gl-navy) !important; }
/* Three near-navies and a near-black typed into pages. Text color only: each selector matches "color" at the start of
   the style or after a semicolon, so a background-color with the same value doesn't turn its text the same color. */
#main :is([style^="color:#1B3A6B" i], [style^="color: #1B3A6B" i], [style*=";color:#1B3A6B" i], [style*="; color:#1B3A6B" i], [style*=";color: #1B3A6B" i], [style*="; color: #1B3A6B" i],
  [style^="color:#1B2D5B" i], [style^="color: #1B2D5B" i], [style*=";color:#1B2D5B" i], [style*="; color:#1B2D5B" i], [style*=";color: #1B2D5B" i], [style*="; color: #1B2D5B" i],
  [style^="color:#132452" i], [style^="color: #132452" i], [style*=";color:#132452" i], [style*="; color: #132452" i]) { color: var(--gl-navy) !important; }
#main :is([style^="color:#1F2937" i], [style^="color: #1F2937" i], [style*=";color:#1F2937" i], [style*="; color:#1F2937" i], [style*=";color: #1F2937" i], [style*="; color: #1F2937" i]) { color: var(--gl-ink) !important; }
#main :is([style*="background:#1B3A6B" i], [style*="background: #1B3A6B" i], [style*="background-color:#1B3A6B" i], [style*="background-color: #1B3A6B" i],
  [style*="background:#1B2D5B" i], [style*="background: #1B2D5B" i], [style*="background-color:#1B2D5B" i], [style*="background-color: #1B2D5B" i]) { background-color: var(--gl-navy) !important; }
#main :is([fill="#1B2D5B" i], [fill="#1B3A6B" i]) { fill: var(--gl-navy); }
#main [style*="border-color:#1B2D5B" i], #main [style*="border-color: #1B2D5B" i] { border-color: var(--gl-navy) !important; }
#main :is([style*="background:#E4E4E4" i], [style*="background: #E4E4E4" i], [style*="background-color:#E4E4E4" i], [style*="background-color: #E4E4E4" i]) { background-color: var(--gl-wash) !important; }
#main :is([style*="background:#F5F5F5" i], [style*="background: #F5F5F5" i], [style*="background-color:#F5F5F5" i], [style*="background-color: #F5F5F5" i]) { background-color: var(--gl-wash) !important; }
#main :is([style*="#ECECEC" i], [style*="#E5E7EB" i])[style*="border" i] { border-color: var(--gl-rule) !important; }
/* The theme's table rules and Bootstrap's blue focus glow. */
td, th { border-color: var(--gl-rule); }
.ich-settings-main-wrap .form-control:focus, .rem-search-form-wrap .form-control:focus { border-color: var(--gl-navy) !important; box-shadow: none !important; }
.ich-settings-main-wrap .form-control:focus-visible, .rem-search-form-wrap .form-control:focus-visible { outline: 3px solid #5b7bd5 !important; outline-offset: 2px; }

/* Text set too small inside pages and tables. */
#main td, #main th { font-size: max(15px, 1em); }
.wp-block-table td, .wp-block-table th { color: var(--gl-ink); }
#main .is-small, #main .is-xsmall, #main .is-smaller { font-size: 15px; }
.absolute-footer, .absolute-footer * { font-size: 15px; }

.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--gl-rule); padding: 10px 12px; }
.wp-block-button__link { border-radius: var(--gl-radius) !important; }
.wp-block-buttons { margin-bottom: 28px; }

/* Sidebars: plain, with no floating boxes. */
.post-sidebar *, #secondary * { box-shadow: none !important; }
.rem-widget-list h2, .rem-widget-list h3, .rem-widget-list h4, .rem-widget-list h5, .rem-widget-list a {
  font-family: var(--gl-sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
  overflow: hidden;
}
.rem-widget-list img { height: auto !important; }

/* ---------- Blog ---------- */

.entry-meta, .entry-meta a, .entry-category, .entry-category a, .posted-on, .cat-links, .tags-links, .meta-author a, .entry-date {
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
}
.more-link.button { font-size: 15px !important; min-height: 44px; line-height: 42px; }

/* ---------- Team page ---------- */

.eats-tabs-tabsCategory { opacity: 1 !important; min-height: 44px; }
.eats-tabs-tabsCategoryText { opacity: 1 !important; color: var(--gl-ink) !important; }

/* Show the whole job title. The extra details stay hidden until someone points at the card. */
.eats-member-card-info-component > div {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.3;
}
.eats-member-card-info-name { font-family: var(--gl-serif) !important; font-weight: 600 !important; font-size: 19px !important; margin-bottom: 2px; }
.eats-grid-item .eats-member-card-gallery-infoContainer {
  top: auto !important;
  bottom: 0 !important;
  height: auto !important;
  padding: 48px 20px 16px !important;
  background: linear-gradient(180deg, rgba(16, 29, 69, 0) 0%, rgba(16, 29, 69, .9) 44%) !important;
}
.eats-member-card-info-component > :nth-child(n+3), .eats-member-card-see-more-component { display: none !important; }
.eats-grid-item:hover .eats-member-card-info-component > :nth-child(n+3),
.eats-grid-item:focus-within .eats-member-card-info-component > :nth-child(n+3) { display: block !important; }
.eats-grid-item:hover .eats-member-card-see-more-component,
.eats-grid-item:focus-within .eats-member-card-see-more-component { display: flex !important; margin-top: 10px; color: #fff; }

/* ---------- Footer ---------- */

body .footer-1 .gl-strip .gl-news-copy h3 { font-family: var(--gl-serif) !important; font-weight: 600; color: var(--gl-navy); }
body .gl-strip, body .gl-review, body .gl-review a { color: var(--gl-ink); }
body .gl-form-note { color: var(--gl-muted); font-size: 15px; }
.gl-review a, .gl-form-note a { color: var(--gl-navy) !important; }

.footer-2 { background-color: var(--gl-navy) !important; }
.absolute-footer { background-color: var(--gl-navy-deep) !important; color: #dfe3ee; font-size: 15px; }
.absolute-footer a, .absolute-footer strong { color: #fff; }
.footer-2 .widget-title, .footer-2 span.widget-title, .footer-2 .widgettitle, .footer-2 h3, .footer-2 h4 { color: #fff; }
.footer-2 .is-divider { background-color: rgba(255, 255, 255, .35); }
.footer-2 .nav > li > a { font-size: 16px; font-weight: 400; text-transform: none; letter-spacing: 0; min-height: 44px; display: flex; align-items: center; }

/* One treatment for the social buttons, with the theme's own icons in place of five brand colors. */
body .social-button-2 {
  background-color: transparent !important;
  border: 1px solid var(--gl-rule);
  border-radius: var(--gl-radius);
  box-shadow: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color var(--gl-fast), border-color var(--gl-fast);
}
/* The image stays in the page, hidden from view, because its alt text is the link's only name. */
body .social-button-2 { position: relative; }
body .social-button-2 img { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; }
body .social-button-2::before { font-family: "fl-icons"; font-size: 20px; line-height: 1; font-weight: 400; color: var(--gl-navy); }
body .social-button-2[href*="facebook" i]::before { content: "\e002"; }
body .social-button-2[href*="instagram" i]::before { content: "\e00e"; }
body .social-button-2[href*="linkedin" i]::before { content: "\e016"; }
body .social-button-2[href*="youtube" i]::before { content: "\e018"; }
body .social-button-2[href*="tiktok" i]::before { content: "\e90b"; }
body .social-button-2:hover { transform: none; opacity: 1; background-color: var(--gl-wash) !important; border-color: var(--gl-navy); }
body .footer-2 .social-button-2 { border-color: rgba(255, 255, 255, .55); }
body .footer-2 .social-button-2::before { color: #fff; }
body .footer-2 .social-button-2:hover { background-color: rgba(255, 255, 255, .14) !important; border-color: #fff; }
body .footer-2 a[href^="mailto:"][style] {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: var(--gl-radius) !important;
  color: #fff !important;
  font-weight: 600;
}

/* ---------- Listing facts ---------- */

.rem-property-box .content-container { display: flex; flex-direction: column; }
.rem-property-box .content-container > a { order: 0; }
.rem-property-box .content-container > .gl-facts { order: 1; }
.rem-property-box .content-container > .property-excerpt { order: 2; margin-top: 10px; }
/* The facts already say what these auto-made excerpts repeat. */
.rem-property-box .content-container.gl-h-rich-facts > .property-excerpt { display: none; }
/* A sold listing's excerpt still offers it for sale, because it comes from the write-up. The marker is doubled to keep the
   weight of the :has(.purpose-badge.sold) it replaced. */
.rem-property-box.gl-h-sold.gl-h-sold .property-excerpt { display: none !important; }

body .gl-facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 8px 0 0; padding: 0; }
body .gl-fact { display: flex; flex-direction: column-reverse; min-width: 0; }
body .gl-fact dt { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--gl-muted); text-transform: none; letter-spacing: 0; }
body .gl-fact dd { margin: 0; font-family: var(--gl-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: var(--gl-navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.rem-style-2 .gl-facts { gap: 6px 16px; }
.rem-style-2 .gl-fact dd { font-size: 1.1rem; }

/* A narrow card wrapped its last figure onto a line of its own. Under 380 px of card width the facts sit two by two. */
.rem-property-box .content-container { container-type: inline-size; }
@container (max-width: 380px) {
  .rem-property-box .content-container > .gl-facts.gl-facts--card { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; }
}

body .gl-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 10px;
  border-radius: var(--gl-radius);
  background: #fff;
  color: var(--gl-navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Listing page layout ---------- */

/* parts/d-listings.php prints the listing page in the order of lanes/listing-research/SPEC.md, and DESIGN.md sets its
   look: a survey plat sheet. One quiet grid, figures set like a surveyor's table, hairlines only under a group heading
   or between table rows, and space between the parts in place of rules. The agent card is the one bordered object.
   The plugin's two columns become one block, and its sidebar of search and sign-up widgets goes. */
.single-rem_property #property-content > div > .row { display: block !important; margin: 0 !important; max-width: none; }
.single-rem_property #property-content > div > .row::before, .single-rem_property #property-content > div > .row::after { display: none; }
.single-rem_property #property-content > div > .row > .col-md-9.rem_property { width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; }
.single-rem_property #property-content > div > .row > .col-md-3:not(.rem_property) { display: none !important; }
/* The plugin's wrapper pads the top by 30 px. The breadcrumb row sets its own space. */
.single-rem_property #property-content { padding-top: 0 !important; }

/* One spacing scale: 72 px between parts on wide screens and 44 px on phones, 24 px between groups, 12 to 16 px inside
   a group. Running text stops short of 80 characters a line. The site header is 70 px tall once the page scrolls. */
body .gl-lp { --gl-head: 70px; --gl-head-full: 70px; --gl-part: 88px; --gl-gutter: 56px; --gl-measure: 580px; padding-bottom: 24px; color: var(--gl-ink); text-align: left; }
body .gl-lp :is(h1, h2, h3, h4, dt, dd) { text-align: left; }
body .gl-lp .gl-sec, body .gl-lp .gl-agents-slot, body .gl-lp #gl-nearby { scroll-margin-top: calc(var(--gl-head) + 64px); }

/* The icons: one line set, 20 px, in the color of the text around them. The symbols they use take no space. */
body .gl-i { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; overflow: visible; }
body .gl-i-set { position: absolute; width: 0; height: 0; overflow: hidden; }

/* The breadcrumb row: All listings, the type, and the status, with Print and Share as text buttons at the right. */
body .gl-lp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; min-height: 44px; margin: 8px 0 12px; }
body .gl-lp-top .gl-crumbs { margin: 0; }
body .gl-lp-top .gl-sold-note { flex: 1 1 12em; margin: 0; line-height: 1.3; }
/* The tools end at the content edge, as the summary card under them does. */
body .gl-tools { display: flex; gap: 4px; margin-left: auto; margin-right: 0; }
body .gl-tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 12px; border: 0; border-radius: var(--gl-radius); background: none; color: var(--gl-navy); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; transition: background-color var(--gl-fast); }
@media (hover: hover) { body .gl-tool:hover { background: var(--gl-wash); } }
/* Print and Share work only with the script. */
html:not(.gl-js) body .gl-tools { display: none; }

body .gl-crumbs { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; margin: 2px 0 10px; font-size: 15px; color: var(--gl-muted); }
body .gl-crumbs > span { margin: 0; }
body .gl-crumbs a { color: var(--gl-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* A 44 px tap area. The negative margin keeps the line as tall as the text. */
body .gl-crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
body .gl-sold-note { margin: 0; font-size: 16px; font-weight: 600; color: var(--gl-ink); }
body .gl-status, body .gl-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--gl-radius); background: var(--gl-navy); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
body .gl-chip { margin: 0; }
body .gl-status--sale-pending, body .gl-chip--sale-pending, body .gl-chip--pending { background: var(--gl-pending); }
body .gl-status--sold, body .gl-chip--sold { background: var(--gl-sold); }
/* For Sale is the breadcrumb's last step, in plain text. */
body .gl-status.gl-status--plain { margin: 0; padding: 0; background: none; color: var(--gl-muted); font-weight: 400; font-size: 15px; }

/* The photos: one large photo, as wide as the main column and 3:2, with a strip of thumbnails under it (d-listings.php
   draws them, and d-listings.js switches them). A photo covers its frame. A map, a plat, or a tall photo shows whole on
   the wash. The stage holds its shape before any photo loads, so nothing under it moves. The plugin's grid stays in
   the page, hidden, for its full-screen viewer. */
body .gl-lp-media { min-width: 0; }
body .gl-gal { margin: 24px 0 0; }
body .gl-gal-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-gal-track { position: absolute; inset: 0; }
body .gl-gal-slide { position: absolute; inset: 0; display: none; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: zoom-in; }
body .gl-gal-slide.is-current, body .gl-gal-slide.is-leaving { display: block; }
body .gl-gal-slide.is-current { z-index: 1; }
body .gl-gal-slide--whole { background: var(--gl-wash); }
body .gl-lp .gl-gal-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
body .gl-lp .gl-gal-slide--whole img { object-fit: contain; }
/* A short crossfade when the photo changes: the new photo fades in over the old one, which goes once it's covered. */
@keyframes gl-gal-in { from { opacity: 0; } }
body .gl-gal.is-moving .gl-gal-slide.is-current { animation: gl-gal-in 200ms cubic-bezier(.23, 1, .32, 1); }
/* The stage clips its edges, so the focus ring sits inside it, on a layer over the photo. */
.ich-settings-main-wrap .gl-gal :is(.gl-gal-slide, .gl-gal-thumb):focus-visible { outline: none !important; }
body .gl-gal :is(.gl-gal-slide, .gl-gal-thumb):focus-visible::before { content: ""; position: absolute; inset: 0; z-index: 3; border: 3px solid #5b7bd5; border-radius: var(--gl-radius); pointer-events: none; }
body .gl-gal .gl-flag { z-index: 2; }
body .gl-gal-step { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: -22px 0 0; padding: 0; border: 1px solid rgba(16, 29, 69, .14); border-radius: var(--gl-radius); background: #fff; color: var(--gl-navy); box-shadow: none; cursor: pointer; transition: background-color var(--gl-fast); }
body .gl-gal-step--prev { left: 12px; }
body .gl-gal-step--next { right: 12px; }
@media (hover: hover) { body .gl-gal-step:hover { background: var(--gl-wash); } }
body .gl-gal-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 2px 8px; border-radius: var(--gl-radius); background: #fff; color: var(--gl-navy); font-size: 14px; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; pointer-events: none; }
/* The thumbnails scroll inside their row, with a fade at an edge where more wait (enhance.js). The current one has a
   navy frame. */
body .gl-gal-thumbs { display: flex; gap: 8px; margin: 8px 0 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
body .gl-gal-thumbs::-webkit-scrollbar { display: none; }
body .gl-gal-thumb { position: relative; flex: none; width: 96px; height: 64px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: var(--gl-radius); overflow: hidden; background: var(--gl-wash); box-shadow: none; cursor: pointer; }
body .gl-lp .gl-gal-thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
body .gl-gal-thumb::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: var(--gl-radius); transition: border-color var(--gl-fast); }
body .gl-gal-thumb.is-current::after { border-color: var(--gl-navy); }
html:not(.gl-js) body :is(.gl-gal-thumbs, .gl-gal-step) { display: none; }

/* The main column and the summary card: eight columns and four of the 1080 px page, 48 px apart. The title and the
   photos come first in the page, then the card, then the rest, so Tab follows the screen: the card spans every row
   beside them, from the title down. */
body .gl-lp-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--gl-gutter); align-items: start; }
body .gl-lp-lead { grid-column: 1; grid-row: 1; min-width: 0; }
body .gl-lp-media { grid-column: 1; grid-row: 2; }
body .gl-lp-main { grid-column: 1; grid-row: 3; min-width: 0; }

/* The headline: the name and where it is. */
body .gl-lp-head { margin: 0; }
body .gl-lp .gl-lp-h1 { margin: 0; font-size: 40px; line-height: 46px; font-weight: 600; color: var(--gl-navy); letter-spacing: -.012em; text-wrap: balance; }
body .gl-lp-where { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 17px; line-height: 1.45; color: var(--gl-muted); }
body .gl-lp-where .gl-i { margin-top: 2px; color: var(--gl-navy); }

/* The summary at the top of the card: the status, the price with the price per acre, per space, or per month, and its
   note. */
body .gl-sum-status { margin: 0 0 4px; font-size: 15px; line-height: 1.4; }
body .gl-sum-status .gl-status { margin: 0; }
body .gl-lp-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 0; margin: 0; }
body .gl-lp-amount { font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--gl-navy); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
/* The price per acre takes its own line, so the summary keeps its height whatever the font's widths are while it loads. */
body .gl-lp-per { flex-basis: 100%; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--gl-ink); font-variant-numeric: tabular-nums lining-nums; }
/* "$750 per month": the unit sits right after the figure, at the per-acre figure's size. */
body .gl-lp-unit { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--gl-ink); }
body .gl-lp-sold { flex-basis: 100%; font-size: 15px; font-weight: 600; color: var(--gl-sold); }
body .gl-lp-note { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--gl-muted); }

/* The key facts, two by two like a small survey table: hairlines between the rows and between the columns. A fact
   left alone in its row takes the whole row. Each figure sits over its icon and label. */
body .gl-lp .gl-facts.gl-facts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 16px 0 0; padding: 0; border: 0; border-top: 1px solid var(--gl-rule); }
body .gl-lp .gl-facts--grid .gl-fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 0 12px 14px; border-bottom: 1px solid var(--gl-rule); border-left: 1px solid var(--gl-rule); }
body .gl-lp .gl-facts--grid .gl-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
body .gl-lp .gl-facts--grid.gl-facts--n1 .gl-fact, body .gl-lp .gl-facts--grid.gl-facts--n3 .gl-fact:last-child { grid-column: 1 / -1; }
body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-value { order: -1; margin: 0; font-size: 22px; font-weight: 600; line-height: 1.15; color: var(--gl-navy); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .gl-lp .gl-facts--grid .gl-fact dt { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--gl-muted); }
body .gl-lp .gl-facts--grid .gl-fact dt .gl-i { width: 18px; height: 18px; color: var(--gl-navy); }
/* Flatsome sets dl to 90% opacity, which faded the facts and made popovers inside them see-through. */
body .gl-lp dl { opacity: 1; }
body .gl-lp .gl-facts--grid.gl-facts--words .gl-fact dd.gl-fact-value { font-size: 18px; line-height: 1.25; white-space: normal; text-wrap: balance; }
body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-note { margin: -2px 0 0; font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--gl-ink); white-space: normal; font-variant-numeric: tabular-nums lining-nums; }
body .gl-lp-more { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--gl-muted); }

/* Buttons on the listing page: 44 px tall, 15 px labels, and a gray outline on the secondary ones, so the agents'
   Call buttons are the only solid blocks. */
body .gl-lp .gl-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
body .gl-lp .gl-btn .gl-i { width: 18px; height: 18px; }
body .gl-lp .gl-btn:not(.gl-btn--solid) { border-color: var(--gl-field); }
@media (hover: hover) { body .gl-lp .gl-btn:not(.gl-btn--solid):hover { border-color: var(--gl-navy); background: #fff; } }
body .gl-lp .gl-btn.gl-btn--inline { display: inline-flex !important; color: #fff !important; text-decoration: none; }
body .gl-lp .gl-btn--apply { width: 100%; }
/* A rule between the summary and the agents. When the key facts end the summary, the rule under the facts does it. */
body .gl-lp .gl-side > .gl-summary + * { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gl-rule); }
@media screen { body .gl-lp .gl-side > .gl-summary:has(> .gl-facts:last-child) + * { margin-top: 0; border-top: 0; } }

/* The section bar stays under the site header while the page scrolls, and enhance.js marks the part in view with a
   2 px navy line. The bar is solid white and doesn't scroll. On a phone its links scroll inside it, and a white fade
   over an edge says more links wait there. */
body .gl-lp .gl-jump { position: sticky; top: var(--gl-head); z-index: 20; transition: top var(--gl-fast); margin: 48px 0 0; padding: 0; border-bottom: 1px solid var(--gl-rule); background: #fff; }
body .gl-lp .gl-jump-scroll { display: flex; flex-wrap: nowrap; gap: 0 clamp(20px, 2.6vw, 36px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
body .gl-lp .gl-jump-scroll::-webkit-scrollbar { display: none; }
body .gl-lp .gl-jump::before, body .gl-lp .gl-jump::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 48px; pointer-events: none; opacity: 0; transition: opacity var(--gl-fast); }
body .gl-lp .gl-jump::before { left: 0; background: linear-gradient(to right, #fff 40%, rgba(255, 255, 255, 0)); }
body .gl-lp .gl-jump::after { right: 0; background: linear-gradient(to left, #fff 40%, rgba(255, 255, 255, 0)); }
/* Phones get shorter labels (d-listings.php prints both). */
body .gl-jump-short { display: none; }
body .gl-lp .gl-jump.gl-fade-start::before, body .gl-lp .gl-jump.gl-fade-end::after { opacity: 1; }
/* Short labels such as "Map" still get a 44 px wide target, centered on the word. */
body .gl-lp .gl-jump-link { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 52px; scroll-snap-align: start; font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--gl-muted); text-decoration: none; transition: color var(--gl-fast); }
body .gl-lp .gl-jump-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gl-navy); transform: scaleX(0); transform-origin: left; transition: transform var(--gl-fast); }
body .gl-lp .gl-jump-link.is-here { color: var(--gl-navy); }
@media (hover: hover) { body .gl-lp .gl-jump-link:hover { color: var(--gl-navy); } }
body .gl-lp .gl-jump-link.is-here::after { transform: scaleX(1); }
body .gl-lp .gl-jump .gl-jump-link:focus-visible { outline-offset: -3px; }
body .gl-jump:empty { display: none; }
/* enhance.js marks a sideways-scrolling row or table where more of it waits past an edge. A fade there reads as
   "more", where a hard edge cut a link mid-word. */
body .gl-more-end { -webkit-mask-image: linear-gradient(to left, transparent, #000 56px); mask-image: linear-gradient(to left, transparent, #000 56px); }
body .gl-more-start { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
body .gl-more-start.gl-more-end {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}

/* The parts: one heading style and the same space above each, with no rule between them. */
body .gl-lp-secs { text-align: left; }
body .gl-lp .gl-sec, body .gl-lp .gl-agents-slot { margin: var(--gl-part) 0 0; padding: 0; border: 0; }
body .gl-lp-secs > :first-child { margin-top: 48px; }
body .gl-lp .gl-sec-title { margin: 0 0 24px !important; font-size: 26px !important; font-weight: 600; line-height: 1.2; color: var(--gl-navy) !important; letter-spacing: -.005em; }
/* Group headings: 18 px, with a hairline under them in Farm facts and the legal description. */
body .gl-lp .gl-sub { margin: 36px 0 14px !important; font-size: 18px !important; font-weight: 600; line-height: 1.3; color: var(--gl-ink) !important; }
body .gl-lp .gl-sec > .gl-sub:first-child, body .gl-lp .gl-about-body > .gl-sub:first-child { margin-top: 0 !important; }
body .gl-lp .gl-sec--facts .gl-sub { margin: 0 !important; padding: 0 0 10px; border-bottom: 1px solid var(--gl-rule); }
body .gl-lp .gl-sec--facts :is(.gl-ff, .gl-ff-group, .gl-legal, p, ul, table) + .gl-sub { margin-top: 24px !important; }

/* About: the write-up, at a reading width. */
/* A picture that staff floated left or right stays inside the write-up, so the next part keeps its space above. */
body .gl-about-body { display: flow-root; max-width: var(--gl-measure); font-size: 17px; line-height: 28px; }
body .gl-about-body > :first-child { margin-top: 0 !important; }
body .gl-about-body > :last-child { margin-bottom: 0 !important; }
body .gl-about-body p { margin: 0 0 16px !important; }
body .gl-about-body ul, body .gl-about-body ol { margin: 0 0 16px !important; padding-left: 22px !important; }
body .gl-about-body li { margin: 0 0 6px; }
body .gl-about-body h3, body .gl-about-body h4 { margin: 28px 0 8px !important; font-size: 18px !important; line-height: 1.3; color: var(--gl-ink) !important; text-align: left !important; }
body .gl-more-btn { display: none; }
/* Tables and pictures that staff put in the write-up: thin rules in place of boxes. */
.single-rem_property .description table { width: 100%; border-collapse: collapse; }
.single-rem_property .description tr { border-bottom: 1px solid var(--gl-rule) !important; }
.single-rem_property .description td { padding: 10px 12px 10px 0 !important; vertical-align: top; color: var(--gl-ink) !important; }
.single-rem_property .description td:first-child, .single-rem_property .description td:first-child strong { color: var(--gl-muted) !important; font-weight: 400; }
/* TablePress stripes every other row of a write-up's table. Rules between rows do that job here. */
.single-rem_property .description .tablepress :is(tr, td, th) { background: none !important; }
/* Since Nov 21, 2026 the TablePress plugin is off, and each of its 18 tables is plain HTML in its listing's write-up,
   with the classes "tablepress gl-wtable". These rules stand in for the parts of TablePress's stylesheet that the
   rules above built on: no cell borders from the theme, a thin rule above each row after the first, and a bold heading
   row. */
.single-rem_property .description .gl-wtable { margin: 0 auto 1rem; border: none; border-spacing: 0; clear: both; table-layout: auto; }
.single-rem_property .description .gl-wtable > * > * > * { border: none; box-sizing: border-box; float: none !important; text-align: left; }
.single-rem_property .description .gl-wtable > * > * > th { padding: 0.5rem; vertical-align: top; }
.single-rem_property .description .gl-wtable > thead + tbody > * > *,
.single-rem_property .description .gl-wtable > tbody > * ~ * > * { border-top: 1px solid #ddd; }
.single-rem_property .description .gl-wtable > thead > tr > * { font-weight: 700; vertical-align: middle; word-break: normal; }
.single-rem_property .description img { max-width: 100%; height: auto; border-radius: var(--gl-radius); }
.single-rem_property .description .gl-moved { display: none; }
/* Cards that staff drew around a block of the write-up: whitespace in their place, so no box sits inside a part. */
.single-rem_property .gl-lp-secs div[style*="box-shadow"]:not([style*="linear-gradient"]) { padding: 0 !important; border: 0 !important; background: none !important; }

/* Farm facts: a specification table. Every row sits on one grid of four columns (two label and value pairs, 32 px
   apart), so each label and each value starts at the same place, and a long value runs on across the second pair's
   columns from where every value starts. Rows that share a line share its height, so their hairlines meet.
   The theme sets every dl in capitals at .85em. */
body .gl-lp .gl-ff { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 0 minmax(0, 5fr) minmax(0, 7fr); column-gap: 16px; margin: 0; padding: 0; font-size: 16px; text-align: left; text-transform: none; letter-spacing: 0; }
body .gl-lp .gl-ff-row { display: grid; grid-template-columns: subgrid; align-items: baseline; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--gl-rule); }
body .gl-lp .gl-ff-row--l { grid-column: 1 / 3; }
body .gl-lp .gl-ff-row--r { grid-column: 4 / 6; }
body .gl-lp .gl-ff-row--w { grid-column: 1 / -1; }
body .gl-lp .gl-ff-row--w dd { grid-column: 2 / -1; }
@supports not (grid-template-columns: subgrid) {
  body .gl-lp .gl-ff-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 16px; }
  body .gl-lp .gl-ff-row--w { grid-template-columns: calc((100% - 32px) * 5 / 24) minmax(0, 1fr); }
  body .gl-lp .gl-ff-row--w dd { grid-column: 2; }
}
body .gl-lp .gl-ff-row dt { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--gl-muted); text-transform: none; letter-spacing: 0; }
body .gl-lp .gl-ff-row dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--gl-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums lining-nums; }
body .gl-lp .gl-ff-row--w dd { font-weight: 400; }
body .gl-lp .gl-ff-group + .gl-ff-group { margin-top: 24px; }
body .gl-sec--facts > p, body .gl-sec--facts > div:not(.gl-legal):not(.gl-ff-group) > p { margin: 16px 0 0; font-size: 15px !important; line-height: 1.5; color: var(--gl-muted) !important; }
body .gl-sec--facts > table { margin: 16px 0 0; }
body .gl-sec--facts > ul { margin: 16px 0 0; padding-left: 22px; }

/* The legal description: a wash panel, the text in tabular figures, and a small Copy button at its top right. The
   parcel numbers follow as a row of links to the county's records, with one Copy all button. The footer's brokerage
   line took the class gl-foot-legal (a-global.php), so gl-legal belongs to this block alone. */
body .gl-lp .gl-legal { margin: 32px 0 0; }
body .gl-lp .gl-legal:first-child { margin-top: 0; }
body .gl-lp .gl-legal-body { display: grid; gap: 20px; padding: 16px 0 0; }
body .gl-legal-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; padding: 16px 20px; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-legal-panel > .gl-copy { grid-column: 2; grid-row: 1; margin: -10px -12px -10px 0; }
body .gl-legal-panel > .gl-legal-text { grid-column: 1; grid-row: 1; }
body .gl-legal-panel > .gl-legal-label ~ .gl-legal-text { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
body .gl-lp .gl-legal-label { grid-column: 1; grid-row: 1; align-self: center; width: auto; margin: 0 !important; font-size: 14px !important; font-weight: 400; line-height: 1.4; color: var(--gl-muted) !important; }
body .gl-legal-text { margin: 0 !important; font-size: 16px; line-height: 1.6; color: var(--gl-ink); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
body .gl-parcels { display: grid; gap: 8px; }
body .gl-parcels-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 0; }
body .gl-parcels-bar:empty { display: none; }
body .gl-parcels-bar > .gl-copy { margin: -10px -12px -6px auto; }
body .gl-parcel-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body .gl-parcel-list li { margin: 0; padding: 0; }
body .gl-parcel-num { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-variant-numeric: tabular-nums lining-nums; }

/* Location: the plat locator drawn as a survey sheet, and beside it when there's room, the directions and the map
   links. Iowa's counties in hairlines inside a heavier state line, with the county filled, and the township's 36
   sections in thin lines inside a heavier township line, each named under its drawing. */
body .gl-where { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px var(--gl-gutter); }
body .gl-where.gl-where--text { display: block; }
body .gl-locator { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 40px; margin: 0; padding: 0; }
body .gl-locator figure { display: grid; gap: 12px; margin: 0; }
body .gl-loc-county { width: 340px; max-width: 100%; }
body .gl-locator--both .gl-loc-county { width: 300px; }
body .gl-locator figcaption { display: grid; gap: 2px; line-height: 1.35; }
body .gl-loc-name { font-size: 16px; font-weight: 600; color: var(--gl-ink); }
body .gl-loc-sub { font-size: 14px; color: var(--gl-muted); font-variant-numeric: tabular-nums lining-nums; }
body .gl-ia { display: block; width: 100%; height: auto; aspect-ratio: 1012 / 659; }
body .gl-ia-fill { fill: #fff; stroke: #c9ced9; stroke-width: 2.4; stroke-linejoin: round; }
body .gl-ia-edge { fill: none; stroke: var(--gl-navy); stroke-width: 8; stroke-linejoin: round; }
body .gl-ia .is-now { fill: var(--gl-navy); stroke: var(--gl-navy); }
body .gl-township { display: block; width: 170px; height: 170px; overflow: visible; }
body .gl-township rect.is-on { fill: var(--gl-navy); }
body .gl-twp-lines { fill: none; stroke: #c9ced9; stroke-width: 1; }
body .gl-twp-edge { fill: none; stroke: var(--gl-navy); stroke-width: 1.5; }
body .gl-township text { font: 400 14px var(--gl-sans); fill: var(--gl-muted); text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
body .gl-township text.is-on { fill: #fff; font-weight: 600; }
body .gl-where-info { flex: 1 1 260px; min-width: 0; }
/* With no directions, the map links line up with the foot of the drawings' captions, like a title block. */
body .gl-where-info:not(:has(p)) { flex: 0 1 auto; align-self: flex-end; }
body .gl-where-info > :first-child { margin-top: 0; }
body .gl-where-text, body .gl-where-info > p { max-width: var(--gl-measure); margin: 0 0 16px; font-size: 17px; line-height: 28px; }
body .gl-where-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
body .gl-where-links .gl-btn { padding: 0 18px; }
body .gl-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--gl-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body .gl-link .gl-i { width: 18px; height: 18px; }
@media (hover: hover) { body .gl-link:hover { color: var(--gl-navy-hover); text-decoration-thickness: 2px; } }
/* The plugin's map on older listings, under the locator. */
body .gl-where-map { margin: 24px 0 0; }
body .gl-where-map .rem-section-box { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body .gl-where-map .map-container { height: 320px; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-where-map .rem-directions-btn { margin-top: 12px; }

/* Documents: rows divided by hairlines, each with its file icon in a 40 px wash square, its name, and its type and
   size. The brochure's map pages follow its row, lined up with its name. */
body .gl-docs { display: grid; margin: 0; padding: 0; list-style: none; }
body .gl-doc-item { margin: 0; padding: 14px 0; }
body .gl-doc-item:first-child { padding-top: 0; }
body .gl-doc-item + .gl-doc-item { border-top: 1px solid var(--gl-rule); }
body .gl-doc { display: flex; align-items: center; gap: 16px; min-height: 44px; color: inherit; text-decoration: none; }
body .gl-doc-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--gl-radius); background: var(--gl-wash); color: var(--gl-navy); }
body .gl-doc-text { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; line-height: 1.35; }
body .gl-doc-name { font-size: 17px; font-weight: 600; color: var(--gl-navy); }
body .gl-doc-note { font-size: 14px; color: var(--gl-muted); font-variant-numeric: tabular-nums lining-nums; }
@media (hover: hover) { body .gl-doc:hover .gl-doc-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }

/* The summary card: the page's one bordered object. It starts beside the title and stays in view under the site header
   while it fits the screen. A card taller than the space under the header scrolls with the page, and its lower part
   (the agents, the showing link, and the documents) then stays in view under the header (enhance.js sets is-tall and
   the top). It stops at the end of the listing, above the sign-up band. */
body .gl-side { grid-column: 2; grid-row: 1 / 4; position: sticky; top: calc(var(--gl-head) + 24px); display: grid; gap: 0; padding: 20px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff; }
body .gl-lp .gl-side-title { margin: 0 0 10px !important; font-size: 16px !important; font-weight: 600; line-height: 1.3; color: var(--gl-ink) !important; }
body .gl-side-auction { margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--gl-rule); }
body .gl-side-auction p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
body .gl-side > .gl-agents { margin: 16px 0 0; padding: 0; }
/* Compact agent rows in the card. */
body .gl-side .gl-agent + .gl-agent { margin-top: 12px; padding-top: 12px; }
body .gl-side .gl-agent-who { gap: 10px; margin-bottom: 10px; }
body .gl-side .gl-agent-photo, body .gl-side .gl-agent-who img { width: 44px; height: 44px; }
body .gl-side .gl-agent-line { line-height: 1.3; }
body .gl-side-actions { display: grid; gap: 4px; margin: 12px 0 0; }
body .gl-side-actions .gl-btn--apply { margin: 4px 0 0; }
body .gl-showing { justify-self: start; }
/* The site's phone rule for small email links (Small links that are hard to tap) would make this link a block and
   close the gap after its icon. It's already 44px tall. */
body #main a.gl-showing { display: inline-flex; padding-block: 0; }
/* Maps and documents: the brochure as a document row, and its map pages as links on a computer. */
body .gl-side-docs { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--gl-rule); }
body .gl-lp .gl-side-docs .gl-side-brochure + .gl-side-brochure { margin-top: 8px; }
body .gl-side-pages { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0 0 0 56px; padding: 0; list-style: none; }
body .gl-side-pages li { margin: 0; padding: 0; }
body .gl-side-all { margin-top: 4px; }
@media (pointer: coarse) { body .gl-side-pages { display: none; } }
body .gl-side-docs.gl-g-no-pages .gl-side-pages { display: none; }

/* The agents: compact rows in the card, and after Documents on phones and tablets. Each agent has a navy Call button
   with the number and an outlined Email button. */
body .gl-agent + .gl-agent { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gl-rule); }
body .gl-agent-who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
body .gl-agent-photo, body .gl-agent-who img { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-agent-text { display: grid; min-width: 0; line-height: 1.35; }
body .gl-agent-name { font-size: 16px; font-weight: 600; color: var(--gl-navy); text-decoration: none; }
/* The name link reaches 44 px into the space around it, without moving the lines under it. */
body a.gl-agent-name { position: relative; z-index: 1; display: flex; align-items: center; min-height: 44px; margin-block: -12px; }
@media (hover: hover) { a.gl-agent-name:hover { text-decoration: underline; text-underline-offset: 3px; } }
body .gl-agent-line { font-size: 14px; color: var(--gl-ink); }
body .gl-agent-line--muted { color: var(--gl-muted); }
body .gl-lp .gl-agent .gl-agent-actions { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
body .gl-lp .gl-agents > .gl-agent-actions { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
body .gl-agent-actions .gl-btn { white-space: nowrap; }

/* Terms: plain rows, each with an icon, divided by hairlines. */
body .gl-terms { margin: 0; padding: 0; list-style: none; }
body .gl-term { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 16px; margin: 0; padding: 16px 0; }
body .gl-term:first-child { padding-top: 0; }
body .gl-term + .gl-term { border-top: 1px solid var(--gl-rule); }
body .gl-term-icon { margin-top: 4px; color: var(--gl-navy); }
body .gl-term-body { display: flow-root; max-width: var(--gl-measure); min-width: 0; font-size: 17px; line-height: 28px; }
body .gl-term-body p, body .gl-term-body ul { margin: 0 0 10px !important; }
body .gl-term-body > :last-child, body .gl-term-body > :last-child > :last-child { margin-bottom: 0 !important; }
body .gl-term-body ul { padding-left: 22px; }
body .gl-lp .gl-term-head { margin: 0 0 6px !important; font-size: 17px !important; font-weight: 600; line-height: 28px; color: var(--gl-ink) !important; }
body .gl-term-body h3:not(.gl-term-head), body .gl-term-body h4 { margin: 14px 0 6px !important; font-size: 17px !important; color: var(--gl-ink) !important; }
body .gl-term-lead { font-weight: 600; color: var(--gl-ink); }
body .gl-term-body div[style*="text-align: center"] { text-align: left !important; }

/* Other farms in this sale, and more listings: one card. A photo, the short name, the size and the price, and the
   price per acre or per space in small type. A white flag on the photo names any status other than For Sale. */
body .gl-sec--sale > p { max-width: var(--gl-measure); margin: 0 0 24px; font-size: 17px; line-height: 28px; }
body .gl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
body .gl-cards li { margin: 0; padding: 0; min-width: 0; }
body .gl-card { display: flex; flex-direction: column; gap: 12px; height: 100%; color: var(--gl-ink); text-decoration: none; }
/* The photo box keeps 16:10 whatever the photo's shape. */
body .gl-card-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-lp .gl-card-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
body .gl-card-flag { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 2px 8px; border-radius: var(--gl-radius); background: #fff; color: var(--gl-navy); font-size: 14px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
body .gl-card-flag--sale-pending { color: var(--gl-pending); }
body .gl-card-flag--sold { color: var(--gl-sold); }
body .gl-card-body { display: grid; gap: 4px; }
body .gl-card-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--gl-navy); }
body .gl-card-fig { white-space: nowrap; }
body .gl-card-facts { font-size: 15px; line-height: 1.4; color: var(--gl-ink); font-variant-numeric: tabular-nums lining-nums; }
body .gl-card-more { font-size: 14px; line-height: 1.4; color: var(--gl-muted); font-variant-numeric: tabular-nums lining-nums; }
/* A listing without a photo: the same words, with its status under the name. */
body .gl-card--text .gl-card-flag { position: static; justify-self: start; padding: 0; background: none; }
@media (hover: hover) {
  body .gl-card:hover .gl-card-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body .gl-lp .gl-card:hover .gl-card-photo img { transform: scale(1.03); }
}
body .gl-related-sold { margin: 24px 0 0; }
/* The plugin's Bootstrap colors and underlines every link on hover and focus, and a touch screen keeps that state after
   a tap. There the page's links keep their own color and underline. The hover styles above are for a mouse. */
@media (hover: none) {
  .single-rem_property .gl-lp :is(a.gl-g-parcel, a.gl-g-page, a.gl-link, a.gl-agent-name, .gl-crumbs a):is(:hover, :focus) { color: var(--gl-navy); }
  .single-rem_property .gl-lp :is(.gl-parcel-list a.gl-g-parcel, a.gl-agent-name):is(:hover, :focus) { text-decoration: none; }
  .single-rem_property .gl-lp :is(a.gl-doc, a.gl-card):is(:hover, :focus) { color: var(--gl-ink); text-decoration: none; }
  .single-rem_property :is(.gl-lp, .gl-call-sheet, .gl-contact-bar) a:is(.gl-btn, .gl-contact-btn):is(:hover, :focus) { text-decoration: none; }
}
/* When the sale's row already shows the county's listings, only the link to its sold ones stays. */
body .gl-lp .gl-related.gl-related--link { margin-top: 24px; }
body .gl-related--link .gl-related-sold { margin: 0; }

/* Nearby listings in a person's page (parts/c-people.php) keep the list of small rows. */
body .gl-related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
body .gl-related-list .gl-item:nth-child(2) { border-top: 0; }

/* The agent rail and buttons, which the service pages use too (parts/b-services.php). */
body .gl-rail { display: grid; gap: 14px; }
body .gl-rail-card { padding: 16px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff; }
/* Sidebar headings are H2s, so they match the H3 size at least, and never read smaller than the H3s beside them. */
body .gl-rail-title { margin: 0 0 12px !important; font-size: 1.45rem !important; }
body .gl-agent-actions { display: grid; gap: 8px; }
body .gl-agents > .gl-agent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .gl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); background: #fff; color: var(--gl-navy) !important; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color var(--gl-fast), border-color var(--gl-fast), color var(--gl-fast); }
@media (hover: hover) { body .gl-btn:hover { background: var(--gl-wash); } }
body .gl-btn i, body .gl-contact-btn i, body .gl-tool i, body .gl-filter-toggle i { flex: none; font-size: 17px; line-height: 1; }
body .gl-btn--solid { background: var(--gl-navy); color: #fff !important; font-variant-numeric: tabular-nums lining-nums; }
@media (hover: hover) { body .gl-btn--solid:hover { background: var(--gl-navy-hover); } }
body .gl-doc-note { font-size: 14px; color: var(--gl-muted); }

body .gl-contact-bar { display: none; }
body .gl-call-sheet { display: none; }

/* ---------- Listing page: tablets and phones ---------- */

@media (min-width: 900px) {
  body .gl-agents-slot { display: none; }
}
@media (max-width: 1023px) {
  body .gl-lp .gl-lp-h1 { font-size: 36px; line-height: 42px; }
}
@media (max-width: 899px) {
  /* One column: the photos, the title, and the summary without the card's box. The agents follow Documents, where
     the brochure also is, and the call bar keeps a call one tap away. */
  body .gl-lp-body { display: flex; flex-direction: column; align-items: stretch; }
  body .gl-lp-body > * { min-width: 0; }
  body .gl-lp-media { order: -1; }
  body .gl-gal { margin: 0 0 24px; }
  body .gl-side { position: static; display: block; margin: 24px 0 0; padding: 0; border: 0; border-radius: 0; }
  body .gl-side > .gl-agents, body .gl-side-docs { display: none; }
  body .gl-lp .gl-side > .gl-summary + .gl-side-actions { margin-top: 12px; padding-top: 0; border-top: 0; }
  body .gl-side-actions { max-width: 480px; }
  body .gl-lp .gl-facts.gl-facts--grid { max-width: 480px; }
  body .gl-lp .gl-agents-slot { max-width: 480px; padding: 20px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); }
}
@media (max-width: 699px) {
  body .gl-lp { --gl-part: 56px; }

  /* Photos swipe one at a time, from edge to edge, with the count in the corner. Each is 16:9, 219 px tall on a 390 px
     screen, and a map or a tall photo shows whole there too. */
  body .gl-gal { margin: 0 -15px 20px; }
  body .gl-gal-stage { aspect-ratio: 16 / 9; border-radius: 0; }
  body .gl-gal-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body .gl-gal-track::-webkit-scrollbar { display: none; }
  body .gl-gal-slide { position: relative; inset: auto; display: block; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  body .gl-gal.is-moving .gl-gal-slide.is-current { animation: none; }
  body .gl-gal-step, body .gl-gal-thumbs { display: none; }
  body .gl-lp-top { margin: 0 0 8px; }
  /* Share stays at the end of the first line. A sold listing's note takes its own line. */
  body .gl-lp:not(.gl-lp--sold) .gl-lp-top { flex-wrap: nowrap; align-items: flex-start; }
  body .gl-lp:not(.gl-lp--sold) .gl-lp-top .gl-crumbs { flex: 1 1 auto; min-width: 0; padding-top: 10px; }
  body .gl-lp-top .gl-tools { flex: none; }
  body .gl-lp--sold .gl-lp-top .gl-tools { order: 1; }
  body .gl-lp--sold .gl-lp-top .gl-sold-note { order: 2; flex-basis: 100%; padding-bottom: 4px; }

  body .gl-lp .gl-lp-h1 { font-size: 28px; line-height: 34px; letter-spacing: -.008em; }
  body .gl-lp-where { margin-top: 10px; font-size: 16px; }
  body .gl-side { margin-top: 16px; }
  body .gl-lp .gl-facts.gl-facts--grid { margin-top: 16px; }

  /* The site header slides away while the reader scrolls down, and the section bar takes the top of the screen
     (enhance.js). A scroll up brings the header back. */
  .single-rem_property #header .header-wrapper.stuck { transition: transform var(--gl-fast); }
  .single-rem_property.gl-head-away #header .header-wrapper.stuck { transform: translateY(-100%); }
  body.gl-head-away .gl-lp { --gl-head: 0px; }
  /* The back-to-top button (a-global.css) sits in the header's corner on a phone, so it goes with the header. */
  .single-rem_property.gl-head-away .gl-totop.is-on { visibility: hidden; opacity: 0; transform: translateY(-6px); }
  /* Short labels and tighter gaps, so six labels fit from 360 px. Under that the row scrolls inside its strip, with a
     fade over the edge where more labels wait. */
  body .gl-lp .gl-jump { margin-top: 28px; margin-inline: -15px; }
  body .gl-lp .gl-jump-scroll { gap: 0 20px; padding-inline: 15px; scroll-padding-inline: 15px; }
  body .gl-lp .gl-jump-link { min-height: 46px; font-size: 15px; }
  body .gl-jump-long { display: none; }
  body .gl-jump-short { display: inline; }
  body .gl-lp-secs > :first-child { margin-top: 32px; }
  body .gl-lp .gl-sec-title { margin-bottom: 16px !important; font-size: 24px !important; }

  /* The write-up shows its first lines, cut at the end of a whole line, and a Read more button (d-listings.js sets
     the height). The last line fades. Until the script has measured it, the write-up holds about that height, so the
     page below doesn't move when the cut lands. */
  .gl-js body .gl-about-body:not(.is-measured) { max-height: 196px; overflow: hidden; }
  .gl-js body .gl-about-body.is-clamped { overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
  .gl-js body .gl-more-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 4px 0 0; padding: 0; border: 0; background: none; color: var(--gl-navy); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; box-shadow: none; cursor: pointer; }
  .gl-js body .gl-more-btn[hidden] { display: none; }
  .gl-js body .gl-more-btn .gl-i { width: 18px; height: 18px; transition: transform var(--gl-fast); }
  .gl-js body .gl-more-btn[aria-expanded="true"] .gl-i { transform: rotate(180deg); }

  /* Farm facts: one column, each label over its value. */
  body .gl-lp .gl-ff { grid-template-columns: minmax(0, 1fr); }
  body .gl-lp .gl-ff-row, body .gl-lp .gl-ff-row--l, body .gl-lp .gl-ff-row--r, body .gl-lp .gl-ff-row--w { grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
  body .gl-lp .gl-ff-row--w dd { grid-column: 1; }
  /* On a phone, the legal description and parcel numbers wait behind their heading (d-listings.js). */
  .gl-js body .gl-lp .gl-legal.is-folded .gl-legal-body { display: none; }
  body .gl-lp .gl-sec--facts .gl-legal-head:has(.gl-legal-toggle) { padding: 0; }
  body .gl-legal-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 0; border: 0; background: none; color: var(--gl-ink); font: inherit; font-size: 18px; font-weight: 600; text-align: left; letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; }
  body .gl-legal-toggle .gl-i { color: var(--gl-navy); transition: transform var(--gl-fast); }
  body .gl-legal-toggle[aria-expanded="true"] .gl-i { transform: rotate(180deg); }
  body .gl-legal-panel { padding: 14px 16px; }

  /* Location: Iowa and the township grid side by side over the directions. The grid draws at 146 px, and its numbers
     are set larger in the drawing's own units, so they still read at 14 px. */
  body .gl-where { gap: 20px; }
  body .gl-locator { flex-wrap: nowrap; align-items: flex-end; gap: 16px; width: 100%; }
  body .gl-locator figure { gap: 8px; }
  body .gl-loc-county, body .gl-locator--both .gl-loc-county { flex: 1 1 0; width: auto; min-width: 0; max-width: 300px; }
  body .gl-loc-section { flex: none; }
  body .gl-township { width: 146px; height: 146px; }
  body .gl-township text { font-size: 16.4px; }
  body .gl-where-info { flex-basis: 100%; }
  body .gl-where-links { gap: 4px 20px; }

  /* Cards scroll sideways in one row, with the next card showing at the edge. */
  body .gl-cards { display: flex; gap: 16px; margin-inline: -15px; padding: 2px 15px 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 15px; scrollbar-width: none; }
  body .gl-cards::-webkit-scrollbar { display: none; }
  body .gl-cards li { flex: 0 0 240px; scroll-snap-align: start; }
  body .gl-doc-name { font-size: 16px; }
  body .gl-term { column-gap: 12px; }
  body .gl-term-body { font-size: 16px; line-height: 26px; }
  body .gl-about-body { font-size: 17px; line-height: 28px; }
}
@media (max-width: 374px) {
  /* A long title wraps to three lines on a narrow phone. A smaller title keeps the first row of key facts above the
     call bar. */
  body .gl-lp .gl-lp-h1 { font-size: 26px; line-height: 32px; }
  body .gl-lp-where { margin-top: 6px; }
  body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-value { font-size: 22px; }
}
@media (max-width: 399px) {
  body .gl-lp .gl-jump-scroll { gap: 0 15px; }
}
@media (max-width: 359px) {
  body .gl-lp .gl-jump-scroll { gap: 0 11px; }
  body .gl-lp .gl-jump-link { font-size: 14px; }
  /* The breadcrumb row needs 311 px with Share's label. Under 360 px Share keeps its icon and its name for screen readers. */
  body .gl-tools .gl-tool[data-gl-tool="share"] { width: 44px; padding: 0; }
  body .gl-tools .gl-tool[data-gl-tool="share"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body .gl-lp-top { column-gap: 10px; }
  body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-value { font-size: 21px; }
  body .gl-lp .gl-facts--grid .gl-fact dt { gap: 4px; }
}

/* ---------- Listing index pages ---------- */

/* These pages gave a quarter of their width to a follow-us box. The listings get all of it, as a grid of cards. */
.page-template-page-right-sidebar.gl-h-listings .post-sidebar { display: none; }
.page-template-page-right-sidebar.gl-h-listings #content .col.large-9,
.page-template-page-right-sidebar.gl-h-listings .row > .large-9 { flex-basis: 100%; max-width: 100%; border-right: 0; padding-right: 15px; }

/* Keep attribute tests on `class` out of :has(). With one there, Chrome rechecks the page on every class change anywhere,
   and the plugin's checkbox and carousel scripts make hundreds of class changes: 21 ms each, 10+ s of a phone's load. */
.page .row:has(> * > .rem-style-1) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 0 !important; max-width: none; }
.page .row:has(> * > .rem-style-1)::before, .page .row:has(> * > .rem-style-1)::after { display: none; }
.page [class*="col-"]:has(> .rem-style-1) { width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.page .rem-style-1.rem-property-box { flex-direction: column; gap: 12px; border-bottom: 0 !important; padding: 0 !important; margin: 0 !important; height: 100% !important; }
.page .rem-style-1 .img-container { flex: none; width: 100% !important; aspect-ratio: 3 / 2; height: auto !important; }
.page .rem-style-1 .img-container a { display: block; height: 100%; }
.page .rem-style-1 .img-container img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.page .rem-style-1 .content-container { width: 100% !important; padding: 0 !important; }
.page .rem-style-1 .property-title { font-size: 19px !important; }
.page .rem-style-1 .gl-fact dd { font-size: 1.15rem; }
.page .rem-style-1 .gl-facts { gap: 6px 18px; }

/* The title already names the county, and a photo count isn't what people choose on. */
.rem-property-box .address-text, .rem-property-box .images-text { display: none !important; }

/* On the home page, one long title would stretch every card. */
.rem-style-2 .property-excerpt { display: none !important; }
.rem-style-2 .property-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.rem-style-2 .gl-fact dd { font-size: 1.05rem; }

/* Listings by Map: the status tabs. */
.filter-container .filter, span.filter { border-radius: var(--gl-radius); font-weight: 600; }
.p-filters span.filter { display: inline-flex; align-items: center; min-height: 44px; }
/* The page loads every listing, then the script switches to For Sale. Until it has, only the For Sale cards show,
   so the page doesn't draw 154 cards and then collapse. enhance.js adds gl-map-filtered once the filter has run.
   Without the script, every card shows. */
.gl-js .page-id-19556:not(.gl-map-filtered) .properties-wrap > .property-filter:not(.for-sale) { display: none !important; }

/* The filter as one row. */
.rem-search-form-wrap.search-property-page .searcher > .row { display: grid !important; grid-template-columns: 2fr 1fr 1fr 1fr 150px; gap: 10px; margin: 0 !important; }
.rem-search-form-wrap.search-property-page .searcher > .row::before, .rem-search-form-wrap.search-property-page .searcher > .row::after { display: none; }
.rem-search-form-wrap.search-property-page .searcher > .row > [class*="col-"] { width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; margin: 0 !important; height: auto !important; }
.rem-search-form-wrap.search-property-page .search-options { padding: 14px !important; }
.rem-search-form-wrap.search-property-page .btn, .rem-search-form-wrap.search-property-page button[type="submit"] { width: 100%; height: 46px; }

/* ---------- Numbers strip ---------- */

body .gl-stats { border-bottom: 1px solid var(--gl-rule); background: #fff; }
body .gl-stats-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1110px; margin: 0 auto; padding: 22px 15px; }
body .gl-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 0 18px; border-left: 1px solid var(--gl-rule); }
body .gl-stat:first-child { padding-left: 0; border-left: 0; }
body .gl-stat dd { margin: 0; font-family: var(--gl-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; color: var(--gl-navy); font-variant-numeric: lining-nums; }
body .gl-stat dt { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--gl-muted); text-transform: none; letter-spacing: 0; }

/* ---------- County map ---------- */

body .gl-map-band { background: var(--gl-wash); border-top: 1px solid var(--gl-rule); border-bottom: 1px solid var(--gl-rule); padding: var(--gl-band) 0; }
.page:not(.home) .gl-map-band { margin-bottom: 32px; padding: 0 0 24px; border: 0; background: none; }
body .gl-map-inner { max-width: 1110px; margin: 0 auto; padding: 0 15px; }
.page:not(.home) .gl-map-inner { padding: 0; }
body .gl-map-intro h2 { margin: 0 0 12px; }
body .gl-map-summary { margin: 0 0 20px; max-width: 62ch; color: var(--gl-muted); }
body .gl-map-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
body .gl-map-svg svg { display: block; width: 100%; height: auto; }
/* The map draws as the reader nears it. Its shape (iowa-counties.json is 1000 by 647) holds its place until then, so
   a fast scroll doesn't catch the content below jumping down. */
.gl-js body .gl-map-svg { aspect-ratio: 1000 / 647; }
body .gl-c { fill: #fff; stroke: #9aa3b5; stroke-width: 1; transition: fill var(--gl-fast); }
body .gl-map-svg .gl-c.is-sold { fill: #8a9dcd; stroke: #fff; cursor: pointer; }
body .gl-map-svg .gl-c.is-now { fill: var(--gl-navy); stroke: #fff; cursor: pointer; }
body .gl-map-svg .gl-c.is-sold:hover, body .gl-map-svg .gl-c.is-sold:focus-visible { fill: #6c84c2; }
body .gl-map-svg .gl-c.is-now:hover, body .gl-map-svg .gl-c.is-now:focus-visible { fill: var(--gl-navy-hover); }
body .gl-map-svg .gl-c.is-selected { stroke: #e0a11b; stroke-width: 3; paint-order: stroke; }
body .gl-map-svg .gl-c:focus { outline: none; }
body .gl-map-svg .gl-c:focus-visible { stroke: var(--gl-navy-deep); stroke-width: 3; }
/* enhance.js draws the selected and focused counties' outlines again on top, so neighbors don't cover them. The focus
   ring is dark navy over a white halo: the navy stands out at 6:1 or more on white and on the light blue of sold
   counties, and the white at 10:1 or more on the navy of counties with listings. The old blue ring was 2.2:1 on light blue. */
body .gl-map-svg .gl-c-ring { fill: none; pointer-events: none; stroke-linejoin: round; }
body .gl-map-svg .gl-c-ring--selected { stroke: #e0a11b; stroke-width: 3.5; }
body .gl-map-svg .gl-c-ring--halo { stroke: #fff; stroke-width: 7; }
body .gl-map-svg .gl-c-ring--focus { stroke: var(--gl-navy-deep); stroke-width: 3.5; }
body .gl-map-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; min-height: 28px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--gl-ink); }
body .gl-map-legend li { display: flex; align-items: center; gap: 7px; margin: 0; }
body .gl-swatch { width: 15px; height: 15px; border-radius: 2px; }
body .gl-swatch.is-now { background: var(--gl-navy); }
body .gl-swatch.is-sold { background: #8a9dcd; }
/* The county name line keeps its height when empty. When it collapsed, a tap on "Show all available" moved the button before the click landed. */
body .gl-map-legend li.gl-map-hover { flex: 1 0 100%; min-height: 1.5em; line-height: 1.5; font-weight: 600; color: var(--gl-navy); }
body .gl-map-panel { min-width: 0; padding: 14px 16px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff; }
body .gl-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
body .gl-panel-title { margin: 0; font-size: 1.25rem; }
body .gl-panel-reset { min-height: 44px; margin: 0; padding: 0 2px; border: 0; background: none; color: var(--gl-navy); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; cursor: pointer; }
body .gl-panel-list { display: grid; max-height: 460px; overflow-y: auto; overscroll-behavior: contain; }
body .gl-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--gl-rule); color: inherit; text-decoration: none; }
body .gl-item:first-child { border-top: 0; }
body .gl-item img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-item-text { display: grid; gap: 2px; min-width: 0; }
body .gl-item-name { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--gl-navy); }
body .gl-item:hover .gl-item-name { text-decoration: underline; text-underline-offset: 3px; }
body .gl-item-facts { font-size: 15px; line-height: 1.35; color: var(--gl-ink); font-variant-numeric: tabular-nums lining-nums; }
/* Each status in its own color, matching the labels on cards and beside a listing's breadcrumb. */
body .gl-item-status { font-size: 14px; font-weight: 600; color: var(--gl-ink); }
body .gl-item-status--sale-pending { color: var(--gl-pending); }
body .gl-item-status--sold { color: var(--gl-sold); }
body .gl-item-status--for-lease { color: var(--gl-navy); }
body .gl-panel-note, body .gl-panel-empty, body .gl-map-loading { margin: 10px 0 0; font-size: 15px; color: var(--gl-muted); }
/* The map draws only with its script. Without it, the panel links to the listings instead. */
body .gl-map-wait { display: none; }
body .gl-map-fallback { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--gl-navy); text-decoration: underline; text-underline-offset: 3px; }
.gl-js body .gl-map-wait { display: inline; }
.gl-js body .gl-map-fallback { display: none; }
html:not(.gl-js) body :is(.gl-map-left, .gl-map-summary) { display: none; }
html:not(.gl-js) body .gl-map-grid { grid-template-columns: minmax(0, 1fr); }

/* ---------- Listing pages: the filter comes first ---------- */

/* This photo banner repeats the page title and pushed the listings a whole screen down on phones. The marker means the
   page's content also holds the listing search, and the div keeps the weight of the body:has() it replaced. */
div.page-header-wrapper.gl-h-search-page:has(.featured-title) { display: none; }
.filter.mixitup-control-active { background-color: var(--gl-navy) !important; color: #fff !important; }

.home .section.gl-h-listings .section-bg-overlay { background-color: rgba(16, 29, 69, .95) !important; }

/* ---------- Jump links, index toolbar, and the phone filter toggle ---------- */

body .gl-index-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 20px; }
body .gl-index-count { margin: 0; font-size: 17px; font-weight: 600; color: var(--gl-ink); }
body .gl-sort { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; margin: 0 !important; font-size: 15px; font-weight: 600; color: var(--gl-muted); }
body .gl-sort span { display: inline !important; white-space: nowrap; }
body .gl-sort select { display: inline-block !important; width: auto !important; min-height: 44px; margin: 0 !important; padding: 0 34px 0 12px; font-size: 16px; }
body .gl-index-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
body .gl-index-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--gl-navy) !important; text-decoration: none; }
/* The link sets the 44 px tap height. The icon keeps its own line box, so it centers on the label. */
body .gl-index-link i { flex: none; font-size: 16px; line-height: 1; color: var(--gl-navy); }
body .gl-index-link:hover { text-decoration: underline; text-underline-offset: 3px; }
body .gl-filter-toggle { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 0 0 16px; border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); background: #fff; color: var(--gl-navy); font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; }
body .gl-filter-toggle[aria-expanded="true"] { background: var(--gl-wash); }
/* The server prints inert stand-ins for the toolbar and the phone filter button (growthland-restyle.php), and
   enhance.js swaps the working ones in, so the cards don't move when the toolbar arrives. The stand-ins show only
   while the script is expected to run. On a phone, the filter waits behind its button's stand-in, the way the
   script leaves it. */
body .gl-index-bar--shell, body .gl-filter-toggle.gl-filter-toggle--shell { display: none !important; }
.gl-js body .gl-index-bar--shell { display: flex !important; }
@media (max-width: 767px) {
  .gl-js body .gl-filter-toggle.gl-filter-toggle--shell { display: flex !important; }
  .gl-js body .gl-filter-toggle--shell + .rem-search-form-wrap { display: none !important; }
}
/* Long lists show 24 cards at a time. The count and the sort still cover every listing. */
body .gl-index-later { display: none !important; }
body .gl-index-more { display: grid; justify-items: center; gap: 10px; margin: 32px 0 8px; }
body .gl-index-more p { margin: 0; font-size: 16px; color: var(--gl-muted); }
body .gl-index-more .gl-btn { min-width: min(100%, 320px); padding: 0 24px; cursor: pointer; }
@media (max-width: 549px) {
  /* The sort menu ran past the edge on narrow phones. It takes its own row, and the menu fills it. */
  body .gl-sort { flex: 1 1 100%; min-width: 0; }
  body .gl-sort select { flex: 1 1 auto; min-width: 0; }
}

/* ---------- Site-wide cleanup from the /ui review ---------- */

body .gl-stat dd, body .gl-fact dd, body .gl-stat dt, body .gl-fact dt { text-transform: none; }
body .gl-moved { display: none !important; }
body .gl-btn, body .gl-tool, body .gl-contact-btn, body .gl-doc { display: flex !important; }
/* A button the script hides, such as Share where the browser can't share, stays hidden. */
body .gl-btn[hidden], body .gl-tool[hidden], body .gl-contact-btn[hidden] { display: none !important; }
@media (max-width: 699px) {
  /* Print is for a computer. A phone keeps Share. */
  body .gl-tools .gl-tool[data-gl-tool="print"] { display: none !important; }
}

/* Boxes and shadows that the brief rules out. Staff-built page blocks carry these inline. */
#main [class*="box-shadow-"], #main [class*="box-shadow-"]:hover { box-shadow: none !important; transform: none !important; }
#main iframe { border-radius: var(--gl-radius) !important; }
#main h1 em, #main h2 em, #main h3 em, #main h4 em { font-style: normal; }
#main h1 strong, #main h2 strong, #main h3 strong, #main h4 strong { font-weight: inherit; }

/* Bars beside quotes and under headings. Whitespace and the serif headings do this job. */
#main blockquote { border-left: 0 !important; padding-left: 0 !important; margin-left: 0 !important; }
#main div[style*="height:3px"][style*="width:60px"], #main div[style*="height: 3px"][style*="width: 60px"] { display: none; }
.post-sidebar blockquote p, #secondary blockquote p { font-family: var(--gl-serif); font-size: 1.1rem; line-height: 1.4; color: var(--gl-navy); }

/* Contact page */
.page-id-140 .is-border { display: none !important; }
.page-id-140 div[style*="width: 45px"][style*="border-radius: 50%"] { display: none !important; }
#main :is(h1, h2, h3, h4, h5, h6).uppercase, #main .uppercase :is(h1, h2, h3, h4) { text-transform: none !important; }
.page-id-140 p[style*="font-size: 14px"] { font-size: 16px !important; color: var(--gl-ink) !important; line-height: 1.5 !important; }
.page-id-140 :is(h2, h4)[style*="font-size: 17px"] { font-size: 1.25rem !important; }
.page-id-140 .col-inner[style*="background-color:#f8f9fa"] { background-color: #fff !important; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); }
.page-id-140 .col.large-8:only-child { margin-inline: auto; }
/* "Get in Touch" appears twice, and the footer already has this same subscribe form. */
.page-id-140 h2[style*="font-size: 28px"] { display: none; }
.page-id-140 .section:has(.ml-embedded) { display: none; }

/* Private Transactions: a plain record of deals. The cards repeated the same stock photos, which said nothing about each deal. */
#main .pbt-grid { gap: 0 44px !important; }
#main .pbt-card { border-radius: 0 !important; box-shadow: none !important; background: none !important; overflow: visible; border-top: 1px solid var(--gl-rule); }
#main .pbt-card:hover { transform: none !important; box-shadow: none !important; }
#main .pbt-card-image { display: none !important; }
#main .pbt-card-body { padding: 18px 0 26px !important; }
#main .pbt-card-title { font-family: var(--gl-serif); font-size: 1.25rem !important; font-weight: 600 !important; color: var(--gl-navy) !important; }
#main .pbt-card-desc { display: block !important; font-size: 16px !important; line-height: 1.55 !important; color: var(--gl-ink) !important; overflow: visible !important; -webkit-line-clamp: unset !important; }
#main .pbt-card-meta { font-size: 15px !important; color: var(--gl-muted) !important; border-top: 0 !important; padding-top: 0 !important; gap: 12px; flex-wrap: wrap; }

/* ---------- Tablets and phones ---------- */

@media (max-width: 849px) {
  :root { --gl-band: 56px; }
  h2, .section-title { font-size: 1.65rem; }

  /* Phones and tablets use their own hero section. The desktop banner also showed on tablets. */
  .home .slider-wrapper:has(.banner) { display: none !important; }
  body .gl-phone-hero { padding: var(--gl-band) 0 !important; }
  body .gl-phone-hero .section-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 29, 69, .76);
  }
  body .gl-phone-hero .col-inner[style*="background-color"] {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  body .gl-phone-hero h1.gl-hero-title { color: #fff !important; font-size: 2.1rem; line-height: 1.12; text-align: left; margin: 0 0 12px; }
  body .gl-phone-hero .gl-hero-tagline { color: #fff; font-size: 1.15rem; line-height: 1.4; text-align: left; margin: 0 0 22px; }
  body .gl-phone-hero .button {
    width: 100%;
    min-height: 48px;
    line-height: 46px !important;
    margin: 0 0 12px !important;
    font-size: 17px !important;
  }
  body .gl-phone-hero .button.primary { background-color: #fff !important; border-color: #fff !important; color: var(--gl-navy) !important; }
  body .gl-phone-hero .button.white { background-color: transparent !important; border: 1px solid #fff !important; color: #fff !important; }

  /* The listings band's heading was hidden on phones and tablets. */
  .home .section.gl-h-listings .col.hide-for-medium { display: block !important; order: -1; }

  /* The phone menu: a solid page behind it, and a larger button to open it. */
  a[data-open="#main-menu"] {
    width: 44px !important;
    height: 44px !important;
    line-height: 42px !important;
    color: var(--gl-navy) !important;
    border-color: var(--gl-field) !important;
  }
  a[data-open="#main-menu"] i { color: var(--gl-navy) !important; }
  /* Flatsome fills the button navy on hover, and a phone keeps that after a tap, which hid the navy icon. */
  a[data-open="#main-menu"]:hover, a[data-open="#main-menu"]:focus, a[data-open="#main-menu"]:active { background-color: transparent !important; }
  .mfp-bg.main-menu-overlay.mfp-ready { opacity: 1 !important; }
  .nav-sidebar.nav-uppercase > li > a { text-transform: none !important; }
}

@media (max-width: 1000px) {
  .page .row:has(> * > .rem-style-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rem-search-form-wrap.search-property-page .searcher > .row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 849px) {
  body .gl-index-links { margin-left: 0; }
  body .gl-related-list { grid-template-columns: minmax(0, 1fr); }
  body .gl-related-list .gl-item:nth-child(2) { border-top: 1px solid var(--gl-rule); }

  body .gl-stats-list { grid-template-columns: minmax(0, 1fr); padding: 6px 15px; }
  body .gl-stat, body .gl-stat:first-child { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; padding: 10px 0; border-left: 0; border-top: 1px solid var(--gl-rule); }
  body .gl-stat:first-child { border-top: 0; }
  body .gl-stat dd { flex: none; min-width: 7.2rem; font-size: 1.4rem; }
  body .gl-map-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body .gl-panel-list { max-height: 420px; }
}

@media (max-width: 899px) {
  /* The call bar on a listing page in one column: Call and Email, one tap away. With two agents, both buttons open one
     list of the agents, each with a Call and an Email button (enhance.js). */
  body .gl-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 10px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--gl-rule);
    background: #fff;
    transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
  }
  /* While the agents' own Call and Email buttons are on screen, the bar slides away (enhance.js). It moves by transform
     only, and the page keeps its bottom padding, so nothing else moves. */
  body .gl-contact-bar.is-away { transform: translateY(calc(100% + 1px)); }
  body .gl-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--gl-navy);
    border-radius: var(--gl-radius);
    background: var(--gl-navy);
    color: #fff !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
  }
  body .gl-contact-btn + .gl-contact-btn { background: #fff; color: var(--gl-navy) !important; }
  /* The same phone and envelope icons as the agents' buttons, a size up from the label as there: 18 px beside 17 px text. */
  body .gl-contact-btn i { flex: none; width: 18px; font-size: 18px; line-height: 1; text-align: center; }
  body .gl-contact-btn .gl-i { width: 20px; height: 20px; }
  /* The bar is 61 px tall: 44 px buttons in 8 px of padding, under a hairline. */
  body.gl-has-bar { padding-bottom: 64px; }
  body.gl-has-bar #gl-preview-chip { bottom: 72px !important; }

  /* The agents' list is a dialog that rises from the bottom over a dark backdrop, above the site header (z-index 1001). A
     tap on the backdrop closes it, so no tap reaches the page or the header under it. */
  body .gl-call-backdrop { position: fixed; inset: 0; z-index: 1100; display: block; background: rgba(16, 29, 69, .45); opacity: 1; touch-action: none; transition: opacity 240ms cubic-bezier(.23, 1, .32, 1), visibility 0s; }
  body .gl-call-backdrop[hidden] { display: block !important; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 200ms cubic-bezier(.23, 1, .32, 1), visibility 0s 200ms; }
  body .gl-call-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1101;
    display: block;
    max-height: calc(100vh - 72px);
    margin: 0;
    padding: 4px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: var(--gl-radius) var(--gl-radius) 0 0;
    background: #fff;
    box-shadow: 0 -8px 28px rgba(16, 29, 69, .18);
    transform: translateY(0);
    transition: transform 280ms cubic-bezier(.23, 1, .32, 1), visibility 0s;
  }
  body .gl-call-sheet[hidden] { display: block !important; visibility: hidden; transform: translateY(100%); transition: transform 220ms cubic-bezier(.23, 1, .32, 1), visibility 0s 220ms; }
  body .gl-call-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
  body .gl-call-sheet .gl-call-title { margin: 0 !important; font-size: 18px !important; font-weight: 600; line-height: 1.25; color: var(--gl-ink) !important; }
  body .gl-call-close { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-width: 44px; height: 44px; margin: 0 -10px 0 0; padding: 0 10px; border: 0; border-radius: var(--gl-radius); background: none; color: var(--gl-navy); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; }
  @media (hover: hover) { body .gl-call-close:hover { background: var(--gl-wash); } }
  body .gl-call-agent { padding: 12px 0 0; border-top: 1px solid var(--gl-rule); }
  body .gl-call-agent + .gl-call-agent { margin-top: 12px; }
  body .gl-call-name { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--gl-navy); }
  body .gl-call-sheet .gl-agent-actions { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  body .gl-call-sheet .gl-btn:not(.gl-btn--solid) { border-color: var(--gl-field); }
  /* The icon font's wrapper class also brings Bootstrap's blue, underlined links on hover and focus. */
  body .gl-contact-bar .gl-contact-btn:is(:hover, :focus), body .gl-call-sheet .gl-btn:is(:hover, :focus) { text-decoration: none; }
}

@media (max-width: 767px) {
  .rem_property td:first-child { width: 38% !important; }

  .rem-style-1.rem-property-box { flex-direction: column; gap: 14px; }
  .rem-style-1 .img-container { flex: none; width: 100% !important; }
  .rem-style-1 .content-container { width: 100% !important; }
  .page .row:has(> * > .rem-style-1) { grid-template-columns: minmax(0, 1fr); }
  .rem-search-form-wrap.search-property-page .searcher > .row { grid-template-columns: minmax(0, 1fr); }

  /* Listing detail pages ran past the right edge of the screen, and the text was cut off. */
  .ich-settings-main-wrap .row { margin-left: 0 !important; margin-right: 0 !important; }
  .ich-settings-main-wrap .row > [class*="col-"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ich-settings-main-wrap img, .rem_property table, .rem_property iframe { max-width: 100% !important; }
  .ich-settings-main-wrap .dropdown, .rem-search-form-wrap .dropdown { width: 100% !important; }
}

@media (max-width: 549px) {
  /* Office phone numbers broke across two lines on the contact page. */
  .col.small-6:has(a[href^="tel:"]) { flex-basis: 100% !important; max-width: 100% !important; }
  .header-top .nav { flex-wrap: nowrap !important; justify-content: center; }
  .header-top .nav > li { margin: 0 7px !important; }
  .header-top .nav > li > a, .header-top .html { font-size: 13px !important; white-space: nowrap; }
  .header-top .header-divider { display: none !important; }
}

@media (max-width: 549px) {
  /* Small links that are hard to tap. */
  .gl-form-note a, #main a[href^="mailto:"], .footer-2 .flatsome_recent_posts a { display: inline-block; padding-block: 5px; }
}

@media (max-width: 319px) {
  .header-top .nav { flex-wrap: wrap !important; }
}

/* ---------- Printing a listing ---------- */

@media print {
  html, body { background: #fff !important; color: #000 !important; font-size: 11.5pt; }
  #header, #footer, .header-wrapper, .gl-strip, .post-sidebar, #secondary, .sidebar, .widget-area, .gl-tools, .gl-contact-bar, .gl-call-sheet, .gl-crumbs,
  body .gl-flag, #gl-preview-chip, .ml-embedded, .ml-form-embedContainer, form, .back-to-top, .grecaptcha-badge, .rem-sidebar,
  .pum, .wpcf7, .simple-lightbox, .gl-related, .gl-agent-actions .gl-btn:not(.gl-btn--solid), .gl-docs, .gl-rail-card:has(.gl-docs), .view-all,
  .gl-jump, .gl-agents-slot, .gl-side-docs, .gl-side-actions, .gl-more-btn, .gl-gal-thumbs, .gl-gal-step, .gl-gal-count, .gl-gal-viewer, .gl-sec--docs, .gl-sec--sale, .gl-legal-toggle,
  .gl-agent-photo, .gl-where-links, .gl-copy, .gl-i {
    display: none !important;
  }
  /* The site-wide rule that shows every .gl-btn and .gl-doc as flex outweighs the list above. */
  body .gl-side .gl-side-brochure, body .gl-lp .gl-copy { display: none !important; }
  /* A fact sheet: the first photo, the headline and key facts, the write-up, Farm facts, the locator, terms, and the agents. */
  body .gl-lp-body { display: block !important; }
  body .gl-side { position: static !important; display: block !important; margin-top: 8pt; padding: 5pt 8pt; border: 1pt solid #999; break-inside: avoid; }
  body .gl-lp .gl-side > .gl-summary + * { margin-top: 6pt; padding-top: 6pt; }
  /* Paper is as narrow as a tablet, where the agents move down the page. On paper they stay in the card. */
  body .gl-side > .gl-agents { display: block !important; }
  body .gl-side .gl-agent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12pt; }
  body .gl-side .gl-agent-who { margin: 0; }
  body .gl-side .gl-agent + .gl-agent { margin-top: 6pt; padding-top: 6pt; }
  body .gl-side .gl-agent .gl-agent-actions { display: block; }
  body .gl-lp .gl-side-title { margin-bottom: 4pt !important; font-size: 11pt !important; }
  body .gl-side .gl-agent-line { font-size: 9pt; }
  body .gl-about-body { max-height: none !important; -webkit-mask-image: none !important; mask-image: none !important; max-width: none; }
  body .gl-lp .gl-legal .gl-legal-body { display: block !important; padding-top: 4pt; }
  body .gl-legal-panel { display: block; padding: 0; background: none; }
  body .gl-parcels { margin-top: 4pt; }
  body .gl-parcel-list { gap: 0 10pt; }
  body .gl-g-parcel, body .gl-parcel-num { min-height: 0 !important; padding: 0 !important; background: none !important; font-size: 9.5pt; }
  body .gl-legal-text { font-size: 9.5pt; line-height: 1.4; }
  body .gl-lp .gl-sec { margin-top: 8pt; padding-top: 5pt; break-inside: auto; }
  body .gl-lp .gl-sec-title { margin-bottom: 4pt !important; font-size: 12.5pt !important; break-after: avoid; }
  body .gl-lp .gl-sub, body .gl-lp .gl-sec--facts .gl-sub, body .gl-lp .gl-legal-head { margin: 6pt 0 2pt !important; padding-bottom: 2pt; font-size: 11pt !important; }
  /* The key facts print in one row of four, as a line of figures under the price. */
  body .gl-lp .gl-facts.gl-facts--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6pt; border-top: 0; break-inside: avoid; }
  body .gl-lp .gl-facts--grid .gl-fact, body .gl-lp .gl-facts--grid .gl-fact:nth-child(odd) { grid-column: auto !important; padding: 2pt 10pt; gap: 2pt; border-bottom: 0; border-left: 1pt solid #ccc; }
  body .gl-lp .gl-facts--grid .gl-fact:first-child { padding-left: 0; border-left: 0; }
  body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-value { font-size: 15pt; color: #000; }
  body .gl-lp .gl-facts--grid .gl-fact dt, body .gl-lp .gl-facts--grid .gl-fact dd.gl-fact-note { font-size: 9pt; }
  body .gl-lp-amount { font-size: 18pt; }
  body .gl-lp .gl-lp-h1 { font-size: 20pt; line-height: 1.2; color: #000; }
  body .gl-terms { padding: 0; }
  body .gl-term { display: block; padding: 3pt 0; }
  body .gl-term-body { max-width: none; }
  /* Sizes that keep a long listing to two pages of Letter paper. */
  body .gl-lp { font-size: 10pt; }
  body .gl-lp-secs :is(li, td, th, h3, h4, h5, h6, strong, span) { font-size: 10pt !important; line-height: 1.4 !important; }
  body .gl-lp-secs li { margin-bottom: 1pt; }
  body .gl-about-body img { max-height: 1.1in !important; width: auto !important; }
  body .gl-about-body p, body .gl-about-body ul, body .gl-about-body ol { margin-bottom: 6pt !important; }
  /* A short part prints whole, so a heading never ends a page alone. */
  body .gl-sec--facts, body .gl-sec--where, body .gl-sec--terms { break-inside: avoid; }
  /* A finished sale's terms, a map that can't print, and a Location part left with nothing to print stay off paper. */
  body .gl-lp--sold .gl-sec--terms, body .gl-where-map { display: none !important; }
  body .gl-sec--where:not(:has(.gl-locator, .gl-where-text)) { display: none !important; }
  body .gl-about-body, body .gl-about-body p, body .gl-term-body, body .gl-term p, body .gl-where-info > p { font-size: 10pt !important; line-height: 1.45; }
  body .gl-lp .gl-ff { margin-bottom: 4pt; }
  body .gl-lp .gl-ff-row { padding: 2pt 0; }
  body .gl-lp .gl-ff-row dt, body .gl-lp .gl-ff-row dd { font-size: 9.5pt; line-height: 1.35; }
  body .gl-sec--facts > p { margin: 4pt 0 0; font-size: 9pt !important; }
  body .gl-lp .gl-legal { margin-top: 6pt; }
  body .gl-where { gap: 8pt 18pt; }
  body .gl-locator { gap: 8pt 18pt; }
  body .gl-loc-county, body .gl-locator--both .gl-loc-county { width: 150px; }
  body .gl-township { width: 112px; height: 112px; }
  body .gl-locator figure { gap: 3pt; }
  body .gl-loc-name, body .gl-loc-sub { font-size: 9pt; }
  body .gl-lp-head { margin-bottom: 0; }
  body .gl-lp-where, body .gl-lp-note, body .gl-lp-more { font-size: 10pt; }
  body .gl-lp-where { margin-top: 3pt; }
  body .gl-lp-price { margin-top: 4pt; }
  body .gl-lp-more { margin-top: 4pt; }
  /* The first photo only, at its own shape. */
  body .gl-gal { margin: 6pt 0 8pt; }
  body .gl-gal-stage { aspect-ratio: auto; background: none; }
  body .gl-gal-track { position: static; }
  body .gl-gal-slide { display: none !important; }
  body .gl-gal-slide:first-child { position: static; display: block !important; height: auto; background: none; }
  body .gl-lp .gl-gal-slide img { width: auto; height: auto; max-height: 2in; }
  body .gl-btn--solid { border: 0 !important; background: none !important; color: #000 !important; justify-content: flex-start; padding: 0 !important; min-height: 0 !important; }
  body .gl-rail-card { border: 1pt solid #999; }
  #wrapper, #main, .page-wrapper, .row, .container, .ich-settings-main-wrap { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .ich-settings-main-wrap [class*="col-"] { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; }
  body .gl-has-bar { padding-bottom: 0 !important; }
  a { color: inherit !important; text-decoration: none !important; }
  h1, h2, h3, .section-title .title { color: #000 !important; break-after: avoid; }
  body .gl-fact dd, body .gl-locator figcaption { color: #000 !important; }
  table, tr, img, .gl-locator, .gl-facts, figure { break-inside: avoid; }
  img { max-height: 3.6in; width: auto !important; }
  .wrap-slider img { max-height: 2in; }
  .rem_property div[style] { background: none !important; border-color: #999 !important; color: #000 !important; }
  .rem_property div[style] * { color: #000 !important; }
  body .gl-township rect.is-on, body .gl-ia .is-now, body .gl-ia-edge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body .gl-locator { background: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body .gl-township text.is-on { fill: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Bootstrap prints each link's address after it, as in "(tel:5158901697)". The source line names the site instead. */
  .ich-settings-main-wrap a[href]::after, .ich-settings-main-wrap abbr[title]::after { content: none; }
  .gl-e-print-only { display: block !important; font-size: 10pt; color: #333 !important; }
  .single-rem_property .gl-e-print-source { margin: 4pt 0 8pt; }
}

/* The print source line under a listing's or a post's title. It shows only on paper. */
.gl-e-print-only { display: none; }

/* Form hints in Contact Form 7 were set at 80 percent of the text. */
.wpcf7 small { font-size: 15px; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Forms, 11/3 Pixel sweep: checkboxes and radios in navy rather than the browser's black, typed text at the normal
   weight, and a 1 px field edge in the darker field color. */
input[type="checkbox"], input[type="radio"] { accent-color: var(--gl-navy); }
#main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], textarea, select) {
  font-weight: 400;
}
#main .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select) {
  border: 1px solid var(--gl-field);
}

/* Every link and control shows where keyboard focus is (desktop sweep, 11/3: several had none). The parts' own focus
   rules are more specific and still win. */
:where(a, button, summary, [role="button"], [tabindex]):focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
