/* Lane e-content: the posts list (blog, categories, topics, search), posts, the 404 page, and three plain pages.
   .blog-archive and .blog-single are the theme's wrappers for these templates and appear nowhere else. */

/* ---------- Posts list ---------- */

/* Page titles start 30 px under the header, the theme's own page spacing, as on every other page. */
.blog .gl-blog-head { padding-top: 0; }
/* 30 px from the title to the first post, the same gap as under the title of every other page. The first post adds 6 px. */
.blog .gl-blog-head h1 { margin: 0 0 24px; }

/* Archive titles: what kind of list in small type, then its name. */
.blog-archive .archive-page-header { padding: 0 0 24px; }
.blog-archive .archive-page-header .col { text-align: left !important; padding-bottom: 0; }
.blog-archive .archive-page-header h1.page-title {
  margin: 0;
  font-family: var(--gl-sans) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none !important;
  color: var(--gl-muted);
}
.blog-archive .archive-page-header h1.page-title > span {
  display: block;
  margin-top: 4px;
  font-family: var(--gl-serif);
  font-size: var(--gl-h1);
  line-height: 1.15;
  color: var(--gl-navy);
}
.blog-archive .taxonomy-description { max-width: 38em; margin: 10px 0 0; text-align: left; color: var(--gl-ink); }

/* One post per row: words on the left, a small photo on the right, and a thin rule between posts. */
/* The site's extra CSS also drew a #e5e7eb rule under each post, so two rules sat between posts. */
.blog-archive #post-list > article { margin: 0; padding: 28px 0; border-top: 1px solid var(--gl-rule); border-bottom: 0; }
article.post { border-bottom-color: var(--gl-rule); }
.blog-archive #post-list > article:first-child { padding-top: 6px; border-top: 0; }
.blog-archive #post-list .article-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-template-rows: auto auto auto 1fr;
  column-gap: 32px;
}
.blog-archive #post-list .article-inner > .entry-header { display: contents; }
.blog-archive #post-list .entry-image { grid-column: 2; grid-row: 1 / -1; margin: 6px 0 0; }
.blog-archive #post-list .entry-image a { display: block; }
/* The site's extra CSS sets these photos to width: auto !important, so a photo still waiting for the lazy-load plugin
   took its 1 px placeholder's width, and the posts under it moved down as it loaded. With the full width and the shape
   that e-content.php writes on each photo, the box is right from the start. A tall photo that meets the extra CSS's
   500 px limit shows whole. */
.blog-archive #post-list .entry-image img { display: block; width: 100% !important; height: auto; object-fit: contain; border-radius: var(--gl-radius); background-color: var(--gl-wash); }
/* The date already shows under the title. */
.blog-archive #post-list .entry-image .badge { display: none; }
.blog-archive #post-list .entry-header-text { grid-column: 1; grid-row: 1; padding: 0 !important; }
.blog-archive #post-list .entry-content { grid-column: 1; grid-row: 2; padding: 0; }
.blog-archive #post-list footer.entry-meta { grid-column: 1; grid-row: 3; }

.blog-archive #post-list .entry-category {
  margin: 0 0 6px;
  font-family: var(--gl-sans) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gl-muted);
  opacity: 1;
}
.blog-archive #post-list .entry-category a { color: var(--gl-muted); }
.blog-archive #post-list .entry-category a:hover { color: var(--gl-navy); text-decoration: underline; text-underline-offset: 3px; }
/* "Uncategorized" tells a reader nothing. */
.blog-archive #post-list .entry-category:has(> a[href*="/category/uncategorized/"]:only-of-type),
.blog-archive #post-list .entry-category:empty { display: none; }

.blog-archive #post-list .entry-title { margin: 0 0 8px; font-size: 1.6rem; line-height: 1.2; }
/* Padding on the inline link makes each line a 44 px tap area without changing the line height. */
.blog-archive #post-list .entry-title a { padding-block: 9px; color: var(--gl-navy); }
.blog-archive #post-list .entry-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.blog-archive #post-list .entry-header .entry-meta,
.blog-single .entry-header .entry-meta { color: var(--gl-muted); letter-spacing: 0; text-transform: none; }
.blog-archive #post-list .entry-header .entry-meta { margin: 0 0 12px; font-size: 15px; }
.blog-archive #post-list .entry-meta a,
.blog-single .entry-header .entry-meta a { color: var(--gl-navy); text-decoration: underline; text-decoration-color: var(--gl-field); text-underline-offset: 3px; }

.blog-archive #post-list .entry-summary > p { max-width: 38em; margin: 0 0 6px; font-size: 17px; line-height: 1.6; color: var(--gl-ink); }
.blog-archive #post-list .entry-summary .text-left { margin: 0; }
/* A plain link, because a solid button under every post outweighed the titles. */
.blog-archive #post-list .more-link.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--gl-navy) !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.blog-archive #post-list .more-link.button:hover { text-decoration-thickness: 2px; }
.blog-archive #post-list .more-link .meta-nav { display: none; }

/* The category already shows above the title, so the footer keeps only the topics. */
.blog-archive #post-list footer.entry-meta { margin: 4px 0 0; padding: 0; border: 0; font-size: 15px; line-height: 1.5; color: var(--gl-muted); }
.blog-archive #post-list footer.entry-meta .cat-links,
.blog-archive #post-list footer.entry-meta .sep { display: none; }
.blog-archive #post-list footer.entry-meta a { color: var(--gl-muted); }
/* Taller tap areas for the small links, without moving the text. */
.blog-archive #post-list :is(.entry-category, .entry-header .entry-meta) a,
.blog-single .entry-header .entry-meta a { padding: 13px 0; }
.blog-archive #post-list footer.entry-meta a { padding: 13px 0; }
/* The list shows each post's title, date, summary, and photo, and nothing else. Nearly every post sits in "Blog", so
   the category label repeated the page's own name, and the tags were a second row of small links under each post.
   The title is the link to the post, so "Continue reading" repeated it. The rules above stay, so the labels come back
   by deleting this one. */
.blog-archive #post-list :is(.entry-category, footer.entry-meta, .entry-summary > .text-left:has(> .more-link)) { display: none; }

.blog-archive .nav-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin: 4px 0 8px; padding: 24px 0 0; border-top: 1px solid var(--gl-rule); }
.blog-archive .nav-pagination > li { margin: 0; }
.blog-archive .nav-pagination > li > .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  background: #fff;
  color: var(--gl-navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: background-color var(--gl-fast), border-color var(--gl-fast);
}
.blog-archive .nav-pagination > li > a.page-number:hover { background: var(--gl-wash); border-color: var(--gl-navy); }
.blog-archive .nav-pagination > li > .page-number.current { background: var(--gl-navy); border-color: var(--gl-navy); color: #fff; }
.blog-archive .nav-pagination > li > .page-number.dots { border-color: transparent; }

/* ---------- Search results (e-content.php) ---------- */

/* The count sits under the title, and the results start 28 px under it. */
.search .blog-archive .archive-page-header { padding-bottom: 0; }
.search .gl-e-count-row > .col { padding-bottom: 0; }
.gl-e-count { margin: 6px 0 28px; color: var(--gl-muted); font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; }
.gl-e-results { display: grid; gap: 52px; }
.gl-e-results .gl-e-group-title { margin: 0 0 16px; font-size: 1.45rem; line-height: 1.25; }
.gl-e-group-more { margin: 10px 0 0; }

/* Listing cards: the listing page's card, as many across as fit at 200 px or more. */
.gl-e-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.gl-e-cards > li { min-width: 0; margin: 0; padding: 0; }
.gl-e-cards .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); }
.gl-e-cards a.gl-card:is(:hover, :focus) { color: var(--gl-ink); text-decoration: none; }
.gl-e-cards a.gl-card:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gl-e-cards .gl-card:hover .gl-card-photo img { transform: scale(1.03); }
}

/* People: the listing page's agent card, two or three across. */
.gl-e-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gl-e-people > li { min-width: 0; margin: 0; padding: 0; }
.gl-e-agent { display: flex; flex-direction: column; height: 100%; padding: 16px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff; }
.gl-e-agent .gl-agent-who { align-items: flex-start; margin-bottom: 14px; }
.gl-e-agent .gl-agent-photo { width: 56px; height: 56px; object-position: 50% 20%; }
.gl-e-agent .gl-agent-text { gap: 2px; }
.gl-e-agent .gl-agent-line { line-height: 1.4; }
.gl-e-agent .gl-e-agent-h { margin: 0; font-size: 16px; line-height: 1.35; }
.gl-e-agent .gl-agent-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: auto; }
.gl-e-agent .gl-btn { padding: 0 14px; }
.gl-e-agent .gl-btn .gl-i { width: 18px; height: 18px; }

/* Pages and posts: the type and date, the title, and the words around the match, with the photo small beside them. */
.gl-e-hits { margin: 0; padding: 0; list-style: none; }
.gl-e-hits > .gl-e-hit { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; margin: 0; padding: 20px 0; border-top: 1px solid var(--gl-rule); }
.gl-e-hits > .gl-e-hit:first-child { padding-top: 0; border-top: 0; }
.gl-e-hits > .gl-e-hit--photo { grid-template-columns: minmax(0, 1fr) 160px; grid-template-rows: auto auto 1fr; }
.gl-e-hit-kind { grid-column: 1; margin: 0 0 2px; color: var(--gl-muted); font-size: 14px; font-weight: 600; line-height: 1.4; }
.gl-e-hit-kind time { font-weight: 400; }
.gl-e-results .gl-e-hit-title { grid-column: 1; margin: 0 0 4px; font-size: 1.25rem; line-height: 1.3; }
/* Padding on the inline link makes each line a 44 px tap area without moving the text. */
.gl-e-hit-title a { padding-block: 11px; color: var(--gl-navy); }
@media (hover: hover) { .gl-e-hit-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }
.gl-e-hit-sum { grid-column: 1; max-width: 40em; margin: 0; color: var(--gl-ink); font-size: 16px; line-height: 1.55; }
.gl-e-hit-sum mark { padding: 0; background: none; color: inherit; font-weight: 600; }
/* The photo's box is the wash until the photo arrives, with no spinner. */
.gl-e-hit-photo { grid-column: 2; grid-row: 1 / -1; align-self: start; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--gl-radius); background: var(--gl-wash); }
.gl-e-hit-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Nothing matched: what to try next, a search box, and the listing pages. The sidebar's own search box, which would
   repeat it, is left out on that page (e-content.php marks the body). */
.gl-e-results.gl-e-none { display: block; }
.gl-e-none-text { max-width: 36em; margin: 0 0 16px; font-size: 17px; line-height: 1.55; }
.gl-e-none-form { display: flex; gap: 8px; max-width: 520px; margin: 0 0 24px; }
.gl-e-none-form > input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; padding: 0 12px; border: 1px solid var(--gl-field); border-radius: var(--gl-radius); font-size: 17px; box-shadow: none; }
.gl-e-none-form > .gl-btn { flex: none; min-height: 48px; margin: 0; padding: 0 18px; cursor: pointer; }
.gl-e-search-none .post-sidebar .widget_search { display: none; }

/* The two listing pages and a call, as buttons, on the 404 page and an empty search. */
.gl-e-404-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.gl-e-404-go .gl-btn { min-height: 48px; padding: 0 18px; }

@media (max-width: 549px) {
  /* On phones each card is a row: a 120 px photo beside its name and figures. */
  .gl-e-cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gl-e-cards > li + li { border-top: 1px solid var(--gl-rule); }
  .gl-e-cards .gl-card { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 0; }
  .gl-e-cards > li:first-child .gl-card { padding-top: 0; }
  .gl-e-cards .gl-card-photo { flex: none; width: 120px; aspect-ratio: 4 / 3; }
  .gl-e-cards .gl-card-flag { top: 4px; left: 4px; padding: 0 6px; }
  .gl-e-cards .gl-card-body { flex: 1 1 auto; min-width: 0; }
  /* A 96 px photo beside the type and title; the words under both. */
  .gl-e-hits > .gl-e-hit--photo { grid-template-columns: minmax(0, 1fr) 96px; grid-template-rows: none; column-gap: 14px; }
  .gl-e-hit--photo .gl-e-hit-photo { grid-row: 1 / span 2; }
  .gl-e-hit--photo .gl-e-hit-sum { grid-column: 1 / -1; margin-top: 4px; }
  .gl-e-results .gl-e-hit-title { font-size: 1.15rem; }
  .gl-e-404-go { flex-direction: column; }
  .gl-e-404-go .gl-btn { width: 100%; }
  .gl-e-results { gap: 40px; }
}

/* ---------- Sidebar beside the posts ---------- */

.blog-wrapper .post-sidebar .widget { margin-bottom: 28px; }
/* A little more room for the sidebar, so its five social buttons fit on one row at full size. */
@media (min-width: 850px) {
  .blog-wrapper > .row > .large-9.col { flex-basis: 72%; max-width: 72%; }
  .blog-wrapper > .row > .post-sidebar.large-3 { flex-basis: 28%; max-width: 28%; }
}
.blog-wrapper .post-sidebar .button-container-1 { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
.blog-wrapper .post-sidebar .social-button-2 { flex: none; width: 44px !important; min-width: 44px; margin: 0 !important; }
.blog-wrapper .post-sidebar .searchform .button.icon { width: 46px; min-width: 46px; height: 46px; margin: 0; }
/* An old Constant Contact form that no longer loads left an empty gap. */
.blog-wrapper .post-sidebar .widget:has(.ctct-inline-form:empty) { display: none; }

/* A post without a photo had an empty 240 px column beside its words. Its words take the whole width. */
.blog-archive #post-list > article:not(.has-post-thumbnail) .article-inner { grid-template-columns: minmax(0, 1fr); }

/* The theme held the sidebar in view 30 px from the top, under the 70 px site header, which hid Search's heading, and
   held it even when it ran taller than the screen, so its foot stayed out of reach. It holds it now only when it fits
   (e-content.js sets gl-e-fits), 24 px under the header. On phones and tablets the sidebar follows the posts. */
@media (min-width: 850px) {
  .blog-wrapper .post-sidebar .is-sticky-column { position: static !important; }
  .blog-wrapper .post-sidebar.gl-e-fits .is-sticky-column { position: sticky !important; top: 94px !important; }
}

/* The parts under Search (e-content.php): topics, recent posts, the newest listings, and the offices. Rows ruled like
   a plat book's table, no boxes. */
.blog-wrapper .post-sidebar .gl-e-side { margin-bottom: 32px; }
.blog-wrapper .post-sidebar .gl-e-side .widget-title { display: block; margin: 0 0 10px; font-size: 1.15rem; line-height: 1.3; }
.gl-e-side :is(.gl-e-topics, .gl-e-posts, .gl-e-lists, .gl-e-offices) { margin: 0; padding: 0; list-style: none; }
.gl-e-side :is(.gl-e-topics, .gl-e-posts, .gl-e-lists) > li { margin: 0; border-top: 1px solid var(--gl-rule); }
.gl-e-side :is(.gl-e-topics, .gl-e-posts, .gl-e-lists) > li:first-child { border-top: 0; }

.gl-e-topics a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: var(--gl-navy); font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.gl-e-topics .gl-e-n { flex: none; color: var(--gl-muted); font-weight: 400; font-variant-numeric: tabular-nums lining-nums; }

/* Each post is one link, the title and its date, at least 44 px tall. */
.gl-e-posts a { display: block; padding: 10px 0; color: var(--gl-ink); text-decoration: none; }
.gl-e-posts > li:first-child > a { padding-top: 2px; }
.gl-e-post-title { display: block; color: var(--gl-navy); font-size: 16px; font-weight: 600; line-height: 1.35; }
.gl-e-posts time { display: block; margin-top: 3px; color: var(--gl-muted); font-size: 14px; line-height: 1.4; }

.gl-e-list { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; color: var(--gl-ink); text-decoration: none; }
.gl-e-lists > li:first-child > .gl-e-list { padding-top: 2px; }
.gl-e-list-photo { flex: none; width: 96px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--gl-radius); background: var(--gl-wash); }
.gl-e-list-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gl-e-list-text { display: grid; gap: 4px; min-width: 0; }
/* The cards' short name, whole: the server already cuts a long one at a word, as on the cards, so no name stops at a
   line limit while the others wrap. */
.gl-e-side .gl-e-list .gl-card-name { display: block; overflow: visible; -webkit-line-clamp: none; font-size: 16px; }
.gl-e-list-figs { color: var(--gl-ink); font-size: 15px; line-height: 1.35; font-variant-numeric: tabular-nums lining-nums; }
@media (hover: hover) {
  :is(.gl-e-topics a, .gl-e-more):hover span:first-child,
  .gl-e-posts a:hover .gl-e-post-title, .gl-e-list:hover .gl-card-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}
/* The sidebar is about 210 px wide from 850 to 1100 px, so the photos come down a size. */
@media (min-width: 850px) and (max-width: 1099px) {
  .gl-e-list-photo { width: 72px; }
}

.gl-e-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--gl-navy); font-size: 16px; font-weight: 600; text-decoration: none; }
.gl-e-more .gl-i { width: 18px; height: 18px; }
.blog-wrapper .post-sidebar .gl-e-side-alerts { width: 100%; margin: 8px 0 0; }
.blog-wrapper .post-sidebar .gl-e-side--alerts .gl-e-side-alerts { margin: 0; }
/* Under 850 px the sidebar follows the posts, and the footer's sign-up band follows right after it, so the sidebar's
   button would repeat it within a screen. restyle.css shows every .gl-btn with !important. */
@media (max-width: 849px) {
  .blog-wrapper .post-sidebar .gl-e-side-alerts, .blog-wrapper .post-sidebar .gl-e-side--alerts { display: none !important; }
}

.blog-wrapper .post-sidebar .gl-e-call { width: 100%; font-size: 17px; }
.gl-e-offices-label { margin: 16px 0 2px; color: var(--gl-ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.gl-e-offices-label--main { margin: 0 0 6px; }
/* "Call" leaves the button where the sidebar is narrowest, so the number keeps one line. */
@media (min-width: 850px) and (max-width: 1099px) { .gl-e-call-word { display: none; } }
/* Three offices, two to a row, left Ottumwa alone on the last. One office to a row instead, the name beside its number;
   three to a row on a tablet, where the sidebar runs the page's width; and the name over its number from 850 to
   1099 px, where the sidebar is about 210 px wide. */
.gl-e-side .gl-e-offices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
.gl-e-offices > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 0; border-top: 1px solid var(--gl-rule); }
@media (min-width: 550px) and (max-width: 849px) { .gl-e-side .gl-e-offices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 550px) and (max-width: 1099px) { .gl-e-offices > li { grid-template-columns: none; gap: 0; padding: 8px 0 0; } }
.gl-e-office { color: var(--gl-ink); font-size: 15px; line-height: 1.3; }
.gl-e-offices a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gl-navy); font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.gl-e-side--contact .gl-e-more { margin-top: 4px; }

/* ---------- Listing alerts ---------- */

/* The footer's band in place of the sign-up strip (e-content.php): the mail mark in a navy square, the strip's heading,
   one line on what to choose, and a Sign up button that opens the form. The review buttons and the licensing line
   under it keep a-global.css's look, a little closer. */
body .footer-1 .gl-e-foot { padding: 32px 0 28px; color: var(--gl-ink); }
body .footer-1 .gl-e-signup {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  padding: 20px 20px 20px 24px;
  border-radius: var(--gl-radius);
  background: var(--gl-wash);
}
body .footer-1 .gl-e-signup-mark,
body .gl-e-alerts-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--gl-radius);
  background: var(--gl-navy);
  color: #fff;
}
body .footer-1 .gl-e-signup-mark .gl-i, body .gl-e-alerts-mark .gl-i { width: 24px; height: 24px; }
body .footer-1 .gl-e-signup-copy { min-width: 0; }
body .footer-1 .gl-e-signup-text { margin: 0; color: var(--gl-navy); font-size: 20px; font-weight: 600; line-height: 1.3; }
body .footer-1 .gl-e-signup-line { margin: 2px 0 0; color: var(--gl-muted); font-size: 16px; line-height: 1.45; }
body .footer-1 .gl-e-signup .gl-btn {
  gap: 10px;
  min-width: 148px;
  min-height: 48px;
  margin: 0;
  padding: 0 20px 0 24px;
  font-size: 17px;
  transition: background-color var(--gl-fast), border-color var(--gl-fast), color var(--gl-fast), transform var(--gl-fast);
}
body .footer-1 .gl-e-signup .gl-btn .gl-i { transition: transform var(--gl-fast); }
body .footer-1 .gl-e-signup .gl-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  body .footer-1 .gl-e-signup .gl-btn:hover .gl-i { transform: translateX(3px); }
}
body .footer-1 .gl-e-foot .gl-review { margin-top: 28px; padding-top: 20px; }
@media (max-width: 549px) {
  body .footer-1 .gl-e-foot { padding: 24px 0 20px; }
  body .footer-1 .gl-e-signup { grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; }
  body .footer-1 .gl-e-signup-mark { width: 40px; height: 40px; }
  body .footer-1 .gl-e-signup-mark .gl-i { width: 22px; height: 22px; }
  body .footer-1 .gl-e-signup-text { font-size: 18px; }
  body .footer-1 .gl-e-signup .gl-btn { grid-column: 1 / -1; width: 100%; min-width: 0; }
  body .footer-1 .gl-e-foot .gl-review { margin-top: 20px; padding-top: 16px; }
}

/* The tab at the right edge, in the footer band's look: the wash, a hairline, and the mail mark in its navy square.
   It shows from 1200 px, where the page's 1080 px column leaves a margin of 60 px or more on each side, so the 48 px
   tab covers no text. Under that the margin is 15 px, and the footer band and the links open the form. e-content.js
   slides it out while something wider than the column, such as the home page slider's arrow, passes under it. */
body .gl-e-tab { display: none; }
@media (min-width: 1200px) {
  html.gl-js body .gl-e-tab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 88;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 48px;
    margin: 0;
    padding: 7px 0 18px;
    border: 1px solid var(--gl-rule);
    border-right: 0;
    border-radius: var(--gl-radius) 0 0 var(--gl-radius);
    background: var(--gl-wash);
    color: var(--gl-navy);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    transition: transform var(--gl-fast), background-color var(--gl-fast), border-color var(--gl-fast), visibility 0s;
  }
  html.gl-js body .gl-e-tab .gl-e-tab-mark { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--gl-radius); background: var(--gl-navy); color: #fff; }
  html.gl-js body .gl-e-tab .gl-i { width: 20px; height: 20px; }
  html.gl-js body .gl-e-tab.is-off { visibility: hidden; transform: translate(100%, -50%); transition: transform var(--gl-fast), visibility 0s linear 160ms; }
  html.gl-js body .gl-e-tab:hover { border-color: var(--gl-navy); background: #fff; color: var(--gl-navy); text-decoration: none; }
}

/* The dialog's openers. Focus comes back to the opener when the dialog closes. The real estate plugin's Bootstrap
   draws a ring on any focused link inside its pages, even after a tap, 2 px inside the link, through its words. These
   take the site's ring, for keyboard focus only, 3 px clear of the opener. */
body :is(a.gl-e-open, a[href$="#gl-alerts"]):focus:not(:focus-visible) { outline: none !important; }
body :is(a.gl-e-open, a[href$="#gl-alerts"]):focus-visible { outline: 3px solid #5b7bd5 !important; outline-offset: 3px !important; }
body .dark :is(a.gl-e-open, a[href$="#gl-alerts"]):focus-visible { outline-color: #fff !important; }
/* The tab touches the screen's right edge, so its ring sits inside it. */
html.gl-js body a.gl-e-tab:focus-visible { outline-offset: -5px !important; }

/* The dialog: a modal in the middle of the screen on tablets and computers, and a sheet from the foot of the screen
   on phones. The dialog element covers the screen and holds the dimmed layer and the panel (e-content.php). The page
   behind it doesn't scroll while it's open, and keeps its scroll bar's space so it doesn't shift sideways. */
html.gl-e-lock { overflow: hidden; scrollbar-gutter: stable; }
/* Browsers without <dialog> (Safari before 15.4, Firefox before 98) don't hide a closed one, and fixed over the screen
   it would catch every tap. Hidden, the openers fall back to their links to the sign-up page. */
body dialog.gl-e-alerts:not([open]) { display: none; }
body dialog.gl-e-alerts {
  --gl-e-ease: cubic-bezier(.23, 1, .32, 1);
  --gl-e-in: 240ms;
  --gl-e-out: 160ms;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  /* Clip, not hidden: a box that hides its overflow can still scroll, and the dialog's first focus scrolled it to
     reach the sheet while it was still below the screen, so the sheet seemed to skip its slide. */
  overflow: hidden;
  overflow: clip;
  border: 0;
  background: transparent;
  color: var(--gl-ink);
}
body dialog.gl-e-alerts::backdrop { background: transparent; }
body dialog.gl-e-alerts[open] { display: grid; place-items: center; }
body dialog.gl-e-alerts .gl-e-alerts-scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 29, 69, .55);
  opacity: 0;
  transition: opacity var(--gl-e-out) var(--gl-e-ease);
}
body dialog.gl-e-alerts .gl-e-alerts-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(600px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: var(--gl-radius);
  background: #fff;
  box-shadow: 0 24px 64px rgba(16, 29, 69, .28), 0 2px 8px rgba(16, 29, 69, .12);
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity var(--gl-e-out) var(--gl-e-ease), transform var(--gl-e-out) var(--gl-e-ease);
}
/* In: a fade with a short rise from 96 percent. Out: the same path, faster. Each state's own duration applies as the
   dialog moves into it. */
body dialog.gl-e-alerts.is-in .gl-e-alerts-scrim { opacity: 1; transition-duration: var(--gl-e-in); }
body dialog.gl-e-alerts.is-in .gl-e-alerts-panel { opacity: 1; transform: none; transition-duration: var(--gl-e-in); }

body .gl-e-alerts-head {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 28px 20px 0 32px;
}
body .gl-e-alerts-grip { display: none; }
body .gl-e-alerts-head h2 { margin: 0 !important; color: var(--gl-navy); font-size: 1.5rem !important; line-height: 1.25; text-wrap: balance; }
body .gl-e-alerts button.gl-e-alerts-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  align-self: start;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 2px 0 0;
  padding: 0 10px;
  border: 0;
  border-radius: var(--gl-radius);
  background: none;
  box-shadow: none;
  color: var(--gl-navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
@media (hover: hover) { body .gl-e-alerts button.gl-e-alerts-close:hover { background: var(--gl-wash); } }
body .gl-e-alerts-in { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* The strip's own style block, in its widget, sets footer padding, a flex row, and small centered print. */
body .gl-e-alerts .gl-strip { padding: 10px 32px 28px; color: var(--gl-ink); }
body .gl-e-alerts .gl-news { display: block; }
body .gl-e-alerts :is(.gl-news-copy, .gl-news-form) { max-width: none; padding: 0; }
/* The form's own intro line (a-global.js), under the title. */
body .gl-e-alerts .gl-news-lead { max-width: none; margin: 0 0 24px; padding-left: 64px; color: var(--gl-muted); font-size: 17px; line-height: 1.5; }

/* The form. MailerLite's rules carry the form's ID and !important, so these carry :not(#_):not(#_) and the dialog's
   class to outrank both them and the footer strip's layout in a-global.css. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-block-form { gap: 20px; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-formContent { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) label.gl-e-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: var(--gl-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .gl-e-label-note { color: var(--gl-muted); font-size: 15px; font-weight: 400; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) input.form-control {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  background: #fff !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  transition: border-color var(--gl-fast);
}
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) input.form-control:focus { border-color: var(--gl-navy) !important; }
/* MailerLite marks a field it refuses with ml-error. The field's border and a line under it (e-content.js) say so in
   the site's alert red, 7:1 on white. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-error input.form-control { border-color: var(--fs-color-alert, #b20000) !important; box-shadow: inset 0 0 0 1px var(--fs-color-alert, #b20000) !important; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) p.gl-e-field-error { margin: 6px 0 0 !important; color: var(--fs-color-alert, #b20000) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.35 !important; }
body .gl-e-alerts .gl-e-field-error:empty { display: none; }

/* The interests: a-global.js names the group "Interests" and adds the line that shows when none is chosen. */
body .gl-e-alerts .gl-strip .gl-news-groups-label { display: block; margin: 4px 0 -8px; color: var(--gl-ink); font-size: 16px; font-weight: 600; line-height: 1.3; }
body .gl-e-alerts .gl-e-hint { margin-left: 8px; color: var(--gl-muted); font-size: 15px; font-weight: 400; }
body .gl-e-alerts .gl-strip .ml-form-embedContainer:not(#_):not(#_) .gl-news-groups-toggle { display: none !important; }
body .gl-e-alerts .gl-strip .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRow,
body .gl-e-alerts .gl-strip.gl-news-folds .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRow:not(.gl-open) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  animation: none;
}
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox { display: flex; min-width: 0; margin: 0 !important; padding: 0 !important; }
/* An odd last tile, such as Recreational, sat alone in its row's first column. It takes the whole row. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Each interest is a tile: the label holds the real check box, stretched over the tile and invisible, so a tap
   anywhere on it ticks the box and screen readers find a check box there. The frame behind draws the border and the
   chosen state, and the focus ring when the box has keyboard focus. Chosen: a 2 px navy border, the wash, and the
   icon turning into a check mark in a navy square, so the state reads without color. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label.gl-e-tile {
  position: relative;
  isolation: isolate;
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 56px;
  margin: 0 !important;
  padding: 8px 12px 8px 8px !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 160ms var(--gl-e-ease);
}
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label.gl-e-tile:active { transform: scale(.97); }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox .gl-e-tile input[type="checkbox"] {
  position: absolute !important;
  inset: 0;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
}
body .gl-e-alerts .gl-e-tile-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--gl-field);
  border-radius: var(--gl-radius);
  background: #fff;
  transition: border-color var(--gl-fast), background-color var(--gl-fast);
}
body .gl-e-alerts .gl-e-tile-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--gl-radius);
  background: var(--gl-wash);
  color: var(--gl-navy);
  transition: background-color var(--gl-fast), color var(--gl-fast);
}
body .gl-e-alerts .gl-e-tile-mark .gl-i { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity var(--gl-fast), transform var(--gl-fast); }
body .gl-e-alerts .gl-e-tile-mark .gl-e-tile-check { stroke-width: 2.5; opacity: 0; transform: scale(.6); }
/* A box with words the icons don't know shows an empty square until it's chosen. */
body .gl-e-alerts .gl-e-tile-mark--plain { width: 24px; height: 24px; margin: 0 8px; border: 1.5px solid var(--gl-field); background: #fff; }
body .gl-e-alerts .gl-e-tile-mark--plain .gl-i { width: 16px; height: 16px; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .gl-e-tile .label-description {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--gl-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
body .gl-e-alerts .gl-e-tile input:checked ~ .gl-e-tile-frame { border: 2px solid var(--gl-navy); background: var(--gl-wash); }
body .gl-e-alerts .gl-e-tile input:checked ~ .gl-e-tile-mark { border-color: var(--gl-navy); background: var(--gl-navy); color: #fff; }
body .gl-e-alerts .gl-e-tile input:checked ~ .gl-e-tile-mark .gl-e-tile-icon { opacity: 0; transform: scale(.6); }
body .gl-e-alerts .gl-e-tile input:checked ~ .gl-e-tile-mark .gl-e-tile-check { opacity: 1; transform: none; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .gl-e-tile input:focus-visible { outline: none !important; }
body .gl-e-alerts .gl-e-tile input:focus-visible ~ .gl-e-tile-frame { outline: 3px solid #5b7bd5; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  body .gl-e-alerts .gl-e-tile:hover .gl-e-tile-frame { border-color: var(--gl-navy); }
}
/* With no interest chosen, MailerLite marks the group, and the empty tiles take the alert red. */
body .gl-e-alerts .ml-form-interestGroupsRow.ml-error .gl-e-tile input:not(:checked) ~ .gl-e-tile-frame { border-color: var(--fs-color-alert, #b20000); }

/* Subscribe, the whole width. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-embedSubmit { justify-self: stretch; width: 100% !important; margin: 4px 0 0 !important; }
/* No display here: MailerLite swaps Subscribe for its loading button by setting each one's display inline. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-embedSubmit button {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: var(--gl-radius) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: background-color var(--gl-fast), transform var(--gl-fast);
}
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-embedSubmit button[type="submit"]:active { transform: scale(.98); }

/* The quiet line under it: what every email carries, and the privacy policy. */
body .gl-e-alerts .gl-form-note { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; margin: 10px 0 0; color: var(--gl-muted); text-align: left; font-size: 15px; line-height: 1.4; }
body .gl-e-alerts .gl-form-note .gl-i { width: 18px; height: 18px; }
body .gl-e-alerts .gl-form-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gl-navy); }

/* After a sign-up MailerLite swaps the form for its thank-you note, here beside a check mark in the navy square. */
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-successBody { padding: 4px 0 8px !important; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-successContent { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 2px 16px; text-align: left; }
body .gl-e-alerts .gl-e-success-mark { display: flex; grid-row: 1 / span 2; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--gl-radius); background: var(--gl-navy); color: #fff; }
body .gl-e-alerts .gl-e-success-mark .gl-i { width: 26px; height: 26px; stroke-width: 2.25; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-successContent h4 { margin: 0 !important; color: var(--gl-navy) !important; font-size: 1.375rem !important; line-height: 1.25 !important; text-align: left !important; }
body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-successContent p { grid-column: 2; margin: 0 !important; color: var(--gl-ink) !important; font-size: 17px !important; line-height: 1.45 !important; text-align: left !important; }

/* Phones: a sheet from the foot of the screen, the whole width, with a grip at the top. Its head is the handle
   (e-content.js), so it doesn't scroll the page under a finger. */
@media (max-width: 599px) {
  body dialog.gl-e-alerts {
    --gl-e-ease: cubic-bezier(.32, .72, 0, 1);
    --gl-e-in: 280ms;
    --gl-e-out: 200ms;
    padding: 0;
  }
  body dialog.gl-e-alerts[open] { place-items: end stretch; }
  body dialog.gl-e-alerts .gl-e-alerts-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: var(--gl-radius) var(--gl-radius) 0 0;
    box-shadow: 0 -8px 28px rgba(16, 29, 69, .18);
    opacity: 1;
    transform: translateY(100%);
  }
  body .gl-e-alerts-head {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 22px max(8px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    touch-action: none;
    /* A selected title would start the browser's own drag of its words instead of the sheet's. */
    -webkit-user-select: none;
    user-select: none;
  }
  body .gl-e-alerts-grip { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: var(--gl-radius); background: var(--gl-field); }
  body .gl-e-alerts-mark { width: 40px; height: 40px; }
  body .gl-e-alerts-mark .gl-i { width: 22px; height: 22px; }
  /* One size that steps down with the screen: 20 px from 376 px, where the title fits one line beside the mark and
     the X, down to 17 px, so it keeps one line to about 340 px. 11.8 is the title's width in ems, with a little room. */
  body .gl-e-alerts-head h2 { font-size: clamp(17px, calc((100vw - 136px) / 11.8), 20px) !important; }
  /* The X alone, named "Close" for screen readers, so the title keeps the width. */
  body .gl-e-alerts button.gl-e-alerts-close { width: 44px; margin: 0; padding: 0; }
  body .gl-e-alerts button.gl-e-alerts-close span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body .gl-e-alerts .gl-strip { padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  body .gl-e-alerts .gl-news-lead { margin-bottom: 20px; padding-left: 0; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-formContent { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-block-form { gap: 18px; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label.gl-e-tile { gap: 10px; min-height: 52px; padding: 6px 10px 6px 6px !important; }
  body .gl-e-alerts .gl-e-tile-mark { width: 36px; height: 36px; }
  body .gl-e-alerts .gl-e-tile-mark .gl-i { width: 20px; height: 20px; }
}
/* Too narrow for two tiles side by side without breaking a word. One tile to a row takes more height, so the sheet's
   spacing tightens a little and Subscribe still shows on a 344 by 746 px screen. */
@media (max-width: 359px) {
  body .gl-e-alerts .gl-strip .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRow,
  body .gl-e-alerts .gl-strip.gl-news-folds .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRow:not(.gl-open) { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  body .gl-e-alerts-head { padding-top: 20px; }
  body .gl-e-alerts .gl-news-lead { margin-bottom: 14px; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-block-form { gap: 14px; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-formContent { gap: 10px; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label.gl-e-tile { min-height: 46px; padding: 4px 10px 4px 5px !important; }
  body .gl-e-alerts .gl-e-tile-mark { width: 34px; height: 34px; }
}

/* With the phone's keyboard up, e-content.js fits the dialog to the part of the screen above it (the visual
   viewport) and sets --gl-e-vvh to that height, so the sheet's foot sits on the keyboard and its form scrolls. */
@media (max-width: 599px) {
  body dialog.gl-e-alerts.gl-e-kbd .gl-e-alerts-panel { max-height: calc(var(--gl-e-vvh, 100dvh) - 8px); }
}

/* Reduced motion: a plain fade, a little quicker, with nothing moving. restyle.css cuts every transition to almost
   nothing there, with !important, so the dialog's two fades say their durations the same way. */
@media (prefers-reduced-motion: reduce) {
  body dialog.gl-e-alerts { --gl-e-in: 160ms; --gl-e-out: 120ms; }
  body dialog.gl-e-alerts .gl-e-alerts-scrim, body dialog.gl-e-alerts .gl-e-alerts-panel { transition-duration: var(--gl-e-out) !important; }
  body dialog.gl-e-alerts.is-in .gl-e-alerts-scrim, body dialog.gl-e-alerts.is-in .gl-e-alerts-panel { transition-duration: var(--gl-e-in) !important; }
  body dialog.gl-e-alerts .gl-e-alerts-panel,
  body dialog.gl-e-alerts.is-in .gl-e-alerts-panel { transform: none; }
  body dialog.gl-e-alerts .gl-e-alerts-panel { opacity: 0; }
  body dialog.gl-e-alerts.is-in .gl-e-alerts-panel { opacity: 1; }
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label.gl-e-tile:active,
  body .gl-e-alerts .ml-form-embedContainer:not(#_):not(#_) .ml-form-embedSubmit button[type="submit"]:active,
  body .footer-1 .gl-e-signup .gl-btn:active { transform: none; }
  body .gl-e-alerts .gl-e-tile-mark .gl-i, body .gl-e-alerts .gl-e-tile input:checked ~ .gl-e-tile-mark .gl-e-tile-icon { transform: none; }
  html.gl-js body .gl-e-tab, html.gl-js body .gl-e-tab.is-off { transition: none; }
}

/* ---------- A post ---------- */

.blog-single .entry-header-text { padding: 0 !important; }
.blog-single .entry-header .entry-title { max-width: 24em; margin: 0 0 12px; font-size: var(--gl-h1); line-height: 1.15; }
.blog-single .entry-header .entry-meta { margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid var(--gl-rule); font-size: 16px; }

.blog-single .entry-content { padding-top: 0; font-size: 17px; line-height: 1.65; color: var(--gl-ink); }
/* One width for the whole post: the title and its rule, the text, photos, videos, the share row, and the links to
   other posts. At 680 px a line holds about 80 characters, and the text kept 545 px while the rest ran 761 px. */
.blog-single { --gl-e-col: 680px; }
.blog-single .entry-header-text,
.blog-single .entry-content > *,
.blog-single .entry-content :is(p, ul, ol, dl, h2, h3, h4, h5, h6, blockquote),
.blog-single .navigation-post { max-width: var(--gl-e-col); }
/* Boxes typed wider than the column, such as a video's 720 px frame centered inside it, take its width, so every video
   is as wide as the text and its caption sits under its middle. */
.blog-single .entry-content :is([style*="max-width:720px"], [style*="max-width: 720px"], [style*="max-width:800px"], [style*="max-width: 800px"],
  [style*="max-width:1000px"], [style*="max-width: 1000px"], [style*="max-width:1100px"], [style*="max-width: 1100px"]) { max-width: min(100%, var(--gl-e-col)) !important; }
.blog-single .entry-content :is(figcaption, .wp-element-caption) { text-align: center; }
/* The post's closing contact block as an agent card (e-content.php). */
.blog-single .entry-content .gl-e-contact { max-width: min(100%, 460px); margin: 28px 0; }
.blog-single .entry-content .gl-e-contact .gl-e-agent { padding: 20px; }
/* The article's own rule and padding left an empty band and a second rule under the links to other posts. */
.blog-single article.post { padding-bottom: 0; border-bottom: 0; }
.blog-single .entry-content :is(p, h2, h3, h4)[class*="has-text-align-center"],
.blog-single .entry-content :is(p, h2, h3, h4)[style*="text-align:center"],
.blog-single .entry-content :is(p, h2, h3, h4)[style*="text-align: center"] { margin-left: auto; margin-right: auto; }
.blog-single .entry-content > :first-child { margin-top: 0; }

.blog-single .entry-content h2 { margin: 1.8em 0 12px; padding: 0; border: 0; font-size: 1.6rem; line-height: 1.25; color: var(--gl-navy); }
.blog-single .entry-content h3 { margin: 1.6em 0 .45em; font-size: 1.3rem; line-height: 1.3; color: var(--gl-navy); }
.blog-single .entry-content h4 { margin: 1.4em 0 .4em; font-size: 1.1rem; line-height: 1.35; color: var(--gl-navy); }
.blog-single .entry-content :is(ul, ol) { margin: 0 0 1.2em; padding-left: 1.4em; }
.blog-single .entry-content :is(ul, ol) li { margin: 0 0 .45em; }
.blog-single .entry-content :is(ul, ol) ul { margin: .45em 0 0; }

/* Links in running text get an underline, because navy beside near-black text is too close to tell apart. */
.blog-single .entry-content :is(p, li, td, dd, figcaption) a:not(.button):not([style*="background"]):not(:has(img)) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.blog-single .entry-content :is(p, li, td, dd, figcaption) a:not(.button):not([style*="background"]):not(:has(img)):hover { text-decoration-thickness: 2px; }

.blog-single .entry-content img { max-width: 100%; height: auto; }
/* The lazy-load plugin draws its waiting image at least 150 px wide, so a 130 px headshot, or a photo that
   e-content.php gave its shape, came in 150 px wide and shrank when it loaded, moving the text around it. */
.blog-single .entry-content img.lazy-hidden:is(.gl-e-sized, [style*="height"]) { min-width: 0; }
.blog-single .entry-content figure { margin-top: 28px; margin-bottom: 28px; }
.blog-single .entry-content figure img { border-radius: var(--gl-radius); }
/* Video embeds in a 16:9 frame. WordPress's own ratio rules need a theme setting this site doesn't turn on, so a
   YouTube block kept its 1020 by 574 attributes and drew 680 by 574 with bars above and below. The lazy-load plugin
   sets each video's address as it scrolls into view; the deep navy fill shows where the video goes until it draws.
   An embed that a post wraps in its own 56.25% box keeps that box, with the site's 4 px corners. */
.blog-single .entry-content .wp-block-embed.is-type-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #101d45; }
.blog-single .entry-content div[style*="padding-bottom:56.25%"]:has(> iframe) { border-radius: var(--gl-radius) !important; }
.blog-single .entry-content div[style*="padding-bottom:56.25%"] > iframe { background: #101d45; }
.blog-single .entry-content :is(figcaption, .wp-element-caption) { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--gl-muted); }
.blog-single .entry-content blockquote {
  margin: 28px 0 !important;
  padding: 16px 0 !important;
  border-top: 1px solid var(--gl-rule);
  border-bottom: 1px solid var(--gl-rule);
  font-family: var(--gl-serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--gl-navy);
}
.blog-single .entry-content blockquote p:last-child { margin-bottom: 0; }
.blog-single .entry-content :is(.wp-block-table, .tablepress-table-wrap) { overflow-x: auto; }
.blog-single .entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.blog-single .entry-content :is(th, td) { padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--gl-rule); text-align: left; vertical-align: top; }
.blog-single .entry-content th { font-weight: 600; color: var(--gl-ink); border-bottom-color: var(--gl-field); }

/* Posts written as HTML carry their own boxes, shadows, side padding, and fonts. */
.blog-single .entry-content div[style*="max-width:1100px"] { margin-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.blog-single .entry-content > section[style*="padding"]:first-child { padding-top: 0 !important; }
.blog-single .entry-content div[style*="border-radius"] { border-radius: var(--gl-radius) !important; }
.blog-single .entry-content [style*="box-shadow"] { box-shadow: none !important; }
.blog-single .entry-content a[style*="background"] { border-radius: var(--gl-radius) !important; background-color: var(--gl-navy) !important; color: #fff !important; text-decoration: none !important; }
.blog-single .entry-content .gl-post { font-family: inherit; color: inherit; }
.blog-single .entry-content .gl-post p { color: var(--gl-ink); }
.blog-single .entry-content .gl-post .gl-faq-item { margin: 0; padding: 22px 0 6px; border: 0; border-top: 1px solid var(--gl-rule); border-radius: 0; background: none; }
.blog-single .entry-content .gl-post .gl-q { margin: 0 0 10px; font-family: var(--gl-serif) !important; font-size: 1.3rem; font-weight: 600; line-height: 1.3; color: var(--gl-navy); }
.blog-single .entry-content .gl-post .gl-subhead { margin: 16px 0 6px; font-family: var(--gl-sans) !important; font-size: 17px; font-weight: 600; color: var(--gl-ink); }
.blog-single .entry-content .gl-post .gl-cta { margin-top: 28px; padding: 24px 0 0; border-top: 1px solid var(--gl-rule); border-radius: 0; background: none; text-align: left !important; }

/* One Share button, as on a listing page (e-content.php). The theme's row of share icons stays styled for any page
   that still prints it. */
.blog-single .blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--gl-rule); text-align: left !important; }
.blog-single .blog-share > .is-divider { display: none; }
/* The theme centers any box inside .text-center with auto margins. The button starts the row, as the text does. */
.blog-single .blog-share > .gl-e-share { display: flex; align-items: center; margin: 0; }
.blog-single .gl-e-share-btn { padding: 0 18px; cursor: pointer; }
/* The site's extra CSS sizes every photo in a post by its width alone (height: auto !important), which stretched the
   agent card's square to the photo's own shape. */
.blog-single .entry-content .gl-e-agent img.gl-agent-photo { width: 56px; max-width: none !important; height: 56px !important; object-fit: cover; }
.blog-single .gl-e-share-btn .gl-i { width: 18px; height: 18px; }
.blog-single .blog-share .gl-e-share-label { margin: 0; font-size: 16px; font-weight: 600; color: var(--gl-ink); }
.blog-single .blog-share .share-icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.blog-single .blog-share .share-icons a.icon.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border: 1px solid var(--gl-field) !important;
  border-radius: var(--gl-radius) !important;
  background: #fff !important;
  color: var(--gl-navy) !important;
  font-size: 18px;
  line-height: 1;
  opacity: 1;
  transition: background-color var(--gl-fast), border-color var(--gl-fast);
}
.blog-single .blog-share .share-icons a.icon.button:hover { background: var(--gl-wash) !important; border-color: var(--gl-navy) !important; }

/* Previous and next posts, each with a label that says which way it goes. */
.blog-single .navigation-post { margin-top: 28px; }
.blog-single .navigation-post .next-prev-nav { align-items: stretch; gap: 0 28px; padding: 0; border-top: 1px solid var(--gl-rule); border-bottom: 1px solid var(--gl-rule); }
.blog-single .navigation-post .flex-col { flex: 1 1 0; min-width: 0; padding: 0; border: 0 !important; }
.blog-single .navigation-post :is(.nav-previous, .nav-next) a {
  display: block;
  padding: 16px 0;
  font-family: var(--gl-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gl-navy);
}
.blog-single .navigation-post :is(.nav-previous, .nav-next) a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.blog-single .navigation-post .gl-e-adj { display: block; margin-bottom: 4px; font-family: var(--gl-sans); font-size: 15px; font-weight: 600; color: var(--gl-muted); }
.blog-single .navigation-post .hide-for-small { display: none; }

/* .gl-e-print-only, the print source line, is defined in restyle.css, because listing pages use it too. */

/* ---------- The 404 page ---------- */

.error404 .error-404 .col.medium-3 { display: none; }
.error404 .error-404 .col.medium-9 { flex-basis: 100%; max-width: 46em; }
.error404 .error-404 { margin-top: 0; }
.error404 .error-404 h1.page-title { margin-bottom: 30px; font-size: var(--gl-h1); line-height: 1.15; text-transform: none; }
.error404 .error-404 .page-content p { max-width: 36em; font-size: 17px; }
.error404 .error-404 .searchform { max-width: 520px; }
.error404 .error-404 .searchform .button.icon { width: 46px; min-width: 46px; height: 46px; margin: 0; }
/* The search box sits 24 px over the buttons under it, not 70. */
.error404 .error-404.mb { margin-bottom: 24px; }
.error404 .error-404 .col { padding-bottom: 0; }
.error404 .error-404 .page-content p { margin-bottom: 18px; }
.error404 .error-404 .searchform { margin-bottom: 0; }
.error404 .error-404 .searchform :is(input, button) { margin-bottom: 0; }
/* Three cards across a third of the page each, not three narrow ones at the left of five columns. */
@media (min-width: 700px) {
  .error404 .gl-e-404-new .gl-e-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
}
/* Under the search: the listing pages and a call, the newest listings, and the menu's pages (e-content.php). */
.error404 .gl-e-404 { margin-bottom: 56px; }
.error404 .gl-e-404-new { margin: 44px 0 0; }
.error404 .gl-e-404-new h2 { margin: 0 0 16px; font-size: 1.45rem; }
.error404 .gl-e-404-links { margin: 44px 0 0; }
.error404 .gl-e-404-links h2 { margin: 0 0 12px; font-size: 1.45rem; }
.error404 .gl-e-404-links ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.error404 .gl-e-404-links li { margin: 0; border-top: 1px solid var(--gl-rule); }
.error404 .gl-e-404-links a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 600; color: var(--gl-navy); }
.error404 .gl-e-404-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Careers (page 20905, laid out by e-content.php as Our History is) ---------- */

.gl-e-car { margin: 4px 0 32px; }
.gl-e-car-sec + .gl-e-car-sec { margin-top: 64px; }
.gl-e-car .gl-e-car-head h2 { margin: 0 0 14px; font-size: 1.625rem; line-height: 1.25; color: var(--gl-navy); }
.gl-e-car-body > :first-child { margin-top: 0; }
.gl-e-car-body > :last-child { margin-bottom: 0; }
.gl-e-car-body p { max-width: 40em; margin: 0 0 18px; color: var(--gl-ink); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
/* The opening paragraph reads a size up. */
.gl-e-car-sec--open .gl-e-car-body > p { font-size: 18px; }
.gl-e-car-body p a { padding-block: 12px; }
/* Wide screens: each heading in a rail beside its text, on the listing page's 4 and 8 grid. */
@media (min-width: 1000px) {
  .gl-e-car-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .gl-e-car-body { grid-column: 2; }
  .gl-e-car .gl-e-car-head h2 { max-width: 13em; margin: 0; }
}
@media (max-width: 849px) {
  .gl-e-car-sec + .gl-e-car-sec { margin-top: 44px; }
  .gl-e-car .gl-e-car-head h2 { font-size: 1.5rem; }
}
/* How to apply: the page's one box, around the one thing to do. */
.gl-e-apply { max-width: 40em; margin: 24px 0 28px; padding: 20px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff; }
.gl-e-car .gl-e-apply-title { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.3; color: var(--gl-navy); }
.gl-e-car .gl-e-apply p { margin: 0 0 16px; }
.gl-e-apply-go { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-e-apply-go .gl-btn { min-height: 48px; padding: 0 18px; }
.gl-e-car .gl-e-apply .gl-e-apply-more { margin: 8px 0 0; }
.gl-e-car .gl-e-apply-more a { padding-block: 0; }
.gl-e-apply-more .gl-i { width: 18px; height: 18px; }
@media (max-width: 549px) {
  .gl-e-apply { padding: 16px; }
  .gl-e-apply-go { flex-direction: column; }
  .gl-e-apply-go .gl-btn { width: 100%; }
}

/* ---------- Privacy policy, newsletter, and email list pages ---------- */

.page-id-26514 #content .col-inner > :is(p, ul, ol, h2, h3, h4) { max-width: 38em; }
.page-id-26514 #content .col-inner > h2 { margin: 1.6em 0 12px; font-size: 1.6rem; }
.page-id-26514 #content .col-inner > h3 { margin: 1.3em 0 .4em; font-size: 1.25rem; }
.page-id-26514 #content .col-inner > p:first-of-type em { font-style: normal; color: var(--gl-muted); }
.page-id-26514 #content .col-inner :is(p, li) a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-id-26514 #content .col-inner :is(ul, ol) li { margin-bottom: .45em; }

.page-id-473 #content .col-inner > p { max-width: 38em; }
.page-id-473 .gl-e-signup { margin: 18px 0 8px; }
.page-id-473 .gl-e-signup .button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 22px; font-size: 17px; line-height: 1.2; }

.page-id-20953 #content .entry-header { text-align: left; }
/* Subscribe: the form's interest boxes are drawn by .label-description::before over a hidden 13 px checkbox, so
   keyboard focus showed nothing, and each row was a 24 px tap target. The drawn box takes the focus ring, and each
   row is 44 px tall. The box is placed from the description, so it stays beside its words. MailerLite's own rules
   carry the form's ID, so the :not(#_) pair outranks them, as in a-global.css. */
.page-id-20953 #content .ml-form-embedContainer:not(#_):not(#_) .ml-form-interestGroupsRowCheckbox label { display: flex !important; align-items: center; min-height: 44px; margin: 0 !important; }
.page-id-20953 #content .ml-form-interestGroupsRowCheckbox input:focus-visible + .label-description::before { outline: 3px solid #5b7bd5; outline-offset: 2px; }

/* A link alone in its paragraph, such as "Learn More about Ben", was a 20 px tap target. e-content.js marks the
   paragraph (p.gl-e-solo) on posts, Real Estate Services, and Farm Property Management only, because on Contact Us
   the taller links stretched each office card. */
:is(.single-post, .page-id-128, .page-id-132) p.gl-e-solo > a { display: inline-block; padding-block: 12px; }
/* The category link above each post, such as "Blog", was 33 px wide. Padding makes the tap area 44 px each way, and
   the same negative margin keeps the words and their commas where they were. A min-width left a gap before the comma.
   The repeated class outranks the shared tap-area rule above, which pads only top and bottom. */
.blog-archive #post-list p.entry-category.entry-category > a { display: inline-block; margin: -13px -6px; padding: 13px 6px; }
/* The two buttons in the Brokerage in 2025 post were 40 px tall. Their size and padding are set inline. */
.blog-single .entry-content a.gl-s-bg { min-height: 44px; padding-top: 12px !important; padding-bottom: 12px !important; }
/* An email address in a post's text: restyle.css makes it a 38 px block on phones. Inline, with padding, it is a 44 px
   tap area and the lines keep their spacing. */
#main .blog-single .entry-content :is(p, li) a[href^="mailto:"] { display: inline; padding-block: 8px; }
/* A <small> in the Swine Team post printed at 13.6 px. */
.entry-content small { font-size: .875rem; }

/* The site-wide underline for links in running text is in a-global.css. */

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

@media (max-width: 849px) {
  .blog-archive #post-list .article-inner { grid-template-columns: minmax(0, 1fr) 200px; column-gap: 24px; }
}

@media (max-width: 549px) {
  .blog-archive #post-list > article { padding: 24px 0; }
  .blog-archive #post-list .article-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .blog-archive #post-list .entry-image { grid-column: 1; grid-row: 1; margin: 0 0 14px; }
  .blog-archive #post-list .entry-header-text { grid-row: 2; }
  .blog-archive #post-list .entry-content { grid-row: 3; }
  .blog-archive #post-list footer.entry-meta { grid-row: 4; }
  .blog-archive #post-list .entry-title { font-size: 1.4rem; }
  /* Seven 44 px page buttons don't fit under 360 px, and the arrow wrapped alone. On phones the arrows are labeled
     buttons that fill the rest of their row, so a wrapped arrow reads as its own row on purpose. */
  .blog-archive .nav-pagination > li:has(> .next, > .prev) { flex: 1 1 auto; }
  .blog-archive .nav-pagination > li > :is(.next, .prev).page-number { width: 100%; gap: 8px; }
  .blog-archive .nav-pagination > li > .next.page-number::before { content: "Next page"; }
  .blog-archive .nav-pagination > li > .prev.page-number::after { content: "Previous page"; }
  /* The theme sets these links in its icon font, whose spaces are wide. The words take the text font; the arrow
     keeps its own icon class. */
  .blog-archive .nav-pagination > li > .next.page-number::before,
  .blog-archive .nav-pagination > li > .prev.page-number::after { font-family: var(--gl-sans) !important; font-weight: 600; letter-spacing: 0; }
  .blog-single .entry-content h2 { font-size: 1.45rem; }
  .blog-single .entry-content figure { margin-top: 22px; margin-bottom: 22px; }
  .blog-single .navigation-post .next-prev-nav { flex-direction: column; gap: 0; }
  /* The theme gives the column and the link box inside it the same class, so only the column draws the rule. */
  .blog-single .navigation-post .flex-col.nav-next { border-top: 1px solid var(--gl-rule) !important; text-align: left !important; }
}

/* ---------- Printing a post or a service page ---------- */

@media print {
  .gl-e-tab, dialog.gl-e-alerts { display: none !important; }
  .blog-single { --gl-e-col: none; }
  .blog-single .large-9, .blog-single .row > .col:first-child { flex-basis: 100% !important; max-width: 100% !important; padding: 0 !important; border: 0 !important; }
  .blog-single .blog-share, .blog-single .navigation-post, .blog-single iframe, .blog-single .wpcf7,
  .blog-single div[style*="padding-bottom"]:has(> iframe), .blog-single .wp-block-embed__wrapper { display: none !important; }
  .blog-single .entry-header-text { padding-top: 0 !important; }
  .blog-single .entry-header .entry-title { font-size: 22pt; max-width: none; }
  .blog-single .entry-header .entry-meta { margin-bottom: 14pt; padding-bottom: 8pt; border-bottom: 1pt solid #999; font-size: 10.5pt; color: #333 !important; }
  .blog-single .gl-e-print-source { margin: -6pt 0 12pt; }
  .blog-single .entry-content { font-size: 11.5pt; line-height: 1.5; }
  .blog-single .entry-content :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: none; }
  .blog-single .entry-content h2 { font-size: 15pt; margin-top: 14pt; }
  .blog-single .entry-content h3 { font-size: 13pt; }
  .blog-single .entry-content img { max-height: 3.4in; object-fit: contain; }
  /* Small headshots keep their size. The site-wide print rule sets every image to its natural width. */
  .blog-single .entry-content figure.is-resized img { max-height: 1.35in; }
  .blog-single .entry-content a[style*="background"] { display: none !important; }
  /* Addresses for links that leave the site, so a printed copy still points somewhere. */
  .blog-single .entry-content :is(p, li) a[href^="http"]:not([href*="growthland.com"]):not(:has(img))::after { content: " (" attr(href) ")"; font-size: 9pt; color: #333; word-break: break-all; }
  .blog-single .entry-content .wp-block-columns { display: flex !important; flex-wrap: wrap; gap: 8pt; }
  .blog-single .entry-content .wp-block-column { flex: 1 1 30% !important; break-inside: avoid; }
  .blog-single .entry-content .gl-post .gl-faq-item { break-inside: avoid; }

  /* Service pages: the words and contacts, without photo banners, forms, or the sidebar. */
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) :is(.section-bg, .banner-bg, .ux-shape-divider, .slider-wrapper, video, iframe, .button, .wpcf7, a[style*="background"]) { display: none !important; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) :is(.section, .banner, .col-inner, .box, .icon-box) { background: none !important; color: #000 !important; min-height: 0 !important; padding-top: 6pt !important; padding-bottom: 6pt !important; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) .dark :is(h1, h2, h3, h4, p, li, span, a) { color: #000 !important; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content :is(.large-9, .col.large-9) { flex-basis: 100% !important; max-width: 100% !important; border: 0 !important; padding: 0 !important; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content :is(p, li) { font-size: 11.5pt; line-height: 1.5; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content img { max-height: 3in; width: auto !important; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content :is(h2, h3, h4) { break-after: avoid; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content a[href^="tel:"]::after { content: ""; }
  :is(.page-id-128, .page-id-132, .page-id-135, .page-id-23663, .page-id-17758, .page-id-17760, .page-id-17762, .page-id-17766) #content :is(p, li) > a { padding: 0 !important; border: 0 !important; background: none !important; color: #000 !important; }
}

/* Footer sign-up band and review row, redone 11/3 (Adam: "make this look nicer"). On his screen the wash band, the
   pale rules, and the gray button edges all vanished, so nothing here depends on a near-white gray: the band is solid
   navy with a white button, and the review buttons carry a navy edge. */
body .footer-1 .gl-e-signup {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px 24px;
  padding: 28px 28px 28px 32px;
  background: var(--gl-navy);
  color: #fff;
}
body .footer-1 .gl-e-signup-mark { width: 56px; height: 56px; background: #fff; color: var(--gl-navy); }
body .footer-1 .gl-e-signup-mark .gl-i { width: 28px; height: 28px; }
body .footer-1 .gl-e-signup-text { color: #fff; font-size: 24px; line-height: 1.25; }
body .footer-1 .gl-e-signup-line { margin-top: 4px; color: rgba(255, 255, 255, .86); font-size: 17px; }
body .footer-1 .gl-e-signup .gl-btn,
body .footer-1 .gl-e-signup .gl-btn:visited { min-height: 52px; background: #fff; border-color: #fff; color: var(--gl-navy) !important; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  body .footer-1 .gl-e-signup .gl-btn:hover { background: var(--gl-wash); border-color: #fff; color: var(--gl-navy) !important; }
}
body .footer-1 .gl-e-signup .gl-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body .footer-1 .gl-review { border-top: 2px solid var(--gl-navy); }
body .footer-1 .gl-review .gl-review-lead { color: var(--gl-navy); font-size: 17px; }
body .footer-1 .gl-review a { border: 1px solid var(--gl-navy); color: var(--gl-navy); }
@media (hover: hover) and (pointer: fine) {
  body .footer-1 .gl-review a:hover { background: var(--gl-navy); border-color: var(--gl-navy); color: #fff; }
}
@media (max-width: 849px) {
  body .footer-1 .gl-e-signup { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 20px; }
  body .footer-1 .gl-e-signup-mark { width: 48px; height: 48px; }
  body .footer-1 .gl-e-signup-text { font-size: 20px; }
}

/* Above the footer, option 1 of the 11/3 mockups (Adam picked it): the sign-up on the left; on the right a navy-edged
   box, "Worked with us? Leave a Google review:", with the four offices two by two; the licensing line under both.
   The three are siblings in .gl-e-foot, so the grid places them without new markup. */
@media (min-width: 1024px) {
  body .footer-1 .gl-e-foot { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 24px; align-items: stretch; }
  body .footer-1 .gl-e-foot > .gl-e-signup { grid-column: 1; grid-row: 1; grid-template-columns: 56px minmax(0, 1fr); align-content: center; }
  body .footer-1 .gl-e-foot > .gl-e-signup .gl-btn { grid-column: 2; justify-self: start; }
  body .footer-1 .gl-e-foot > .gl-review {
    grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 8px;
    margin: 0; padding: 24px 26px; border: 1px solid var(--gl-navy); border-top: 1px solid var(--gl-navy); border-radius: var(--gl-radius);
  }
  body .footer-1 .gl-e-foot > .gl-review .gl-review-lead { grid-column: 1 / -1; margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
  body .footer-1 .gl-e-foot > .gl-review a { justify-content: center; }
  body .footer-1 .gl-e-foot > .gl-foot-legal { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}
@media (max-width: 1023px) {
  body .footer-1 .gl-e-foot > .gl-review { margin-top: 20px; padding: 20px 18px; border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); }
}

@media (min-width: 850px) and (max-width: 1023px) {
  body .footer-1 .gl-e-foot > .gl-review { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  body .footer-1 .gl-e-foot > .gl-review .gl-review-lead { grid-column: 1 / -1; }
  body .footer-1 .gl-e-foot > .gl-review a { justify-content: center; }
}

/* The strip above the footer holds only the sign-up band now (the reviews moved into the footer), so the band runs
   the full width at every size. */
body .footer-1 .gl-e-foot { display: block; }
body .footer-1 .gl-e-foot > .gl-foot-legal { margin: 16px 0 0; }

/* The footer's "Leave a Google review" menu, under the social buttons: a white-outlined button on the navy, and the
   four offices opening above it, since it sits near the page's foot. */
body #footer details.gl-e-rev { position: relative; display: inline-block; margin-top: 4px; }
body #footer summary.gl-e-rev-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--gl-radius); color: #fff; font: 600 15px/1.2 var(--gl-sans); list-style: none; cursor: pointer;
  transition: background-color var(--gl-fast);
}
body #footer summary.gl-e-rev-btn::-webkit-details-marker { display: none; }
body #footer .gl-e-rev-star { color: #f2c94c; font-size: 15px; line-height: 1; }
body #footer .gl-e-rev-chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--gl-fast); }
body #footer details.gl-e-rev[open] .gl-e-rev-chev { transform: rotate(180deg); }
@media (hover: hover) { body #footer summary.gl-e-rev-btn:hover { background: rgba(255, 255, 255, .12); } }
body #footer summary.gl-e-rev-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body #footer .gl-e-rev-pop {
  position: absolute; z-index: 30; left: 0; bottom: calc(100% + 6px); width: 240px; padding: 10px 0 6px; box-sizing: border-box;
  border-radius: var(--gl-radius); background: #fff; box-shadow: 0 10px 28px rgba(16, 29, 69, .35); text-align: left;
}
body #footer .gl-e-rev-lead { margin: 0; padding: 0 16px 6px; color: var(--gl-ink); font-size: 14px; line-height: 1.4; }
body #footer ul.gl-e-rev-menu { margin: 0; padding: 0; list-style: none; }
body #footer ul.gl-e-rev-menu li { margin: 0; border: 0; }
body #footer ul.gl-e-rev-menu a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; color: var(--gl-navy) !important; font-size: 16px; font-weight: 600; text-decoration: none !important; }
@media (hover: hover) { body #footer ul.gl-e-rev-menu a:hover { background: var(--gl-wash); } }
body #footer ul.gl-e-rev-menu a:focus-visible { outline: 3px solid #5b7bd5; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { body #footer summary.gl-e-rev-btn, body #footer .gl-e-rev-chev { transition: none; } }
/* Full width again, so the Sign up button returns to the right of the text from 850 px. */
@media (min-width: 850px) {
  body .footer-1 .gl-e-foot > .gl-e-signup { grid-template-columns: 56px minmax(0, 1fr) auto; }
  body .footer-1 .gl-e-foot > .gl-e-signup .gl-btn { grid-column: auto; justify-self: end; }
}

/* The licensing line in the footer's bottom bar, after the copyright and Privacy Policy, set off by a thin rule. */
body .absolute-footer .gl-foot-legal-bar { display: inline-block; margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 849px) {
  body .absolute-footer .gl-foot-legal-bar { display: block; margin: 8px 0 0; padding: 0; border: 0; }
}

/* Follow us: the social buttons spread across the width of "Leave a Google review", so the two read as one block
   (Adam, 11/4). The column's content takes the wider of the two, and the row of icons spaces out to fill it. */
body #footer #custom_html-29 .textwidget { display: grid; width: max-content; max-width: 100%; }
body #footer #custom_html-29 .button-container-1 { display: flex !important; justify-content: space-between !important; gap: 8px !important; margin: 0 0 10px !important; }
body #footer #custom_html-29 details.gl-e-rev { display: block; margin-top: 0; }
body #footer #custom_html-29 summary.gl-e-rev-btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }

/* The sign-up is the footer's first row (Adam, 11/4: the navy box in a white strip "kinda looks weird"): the strip takes
   the footer's navy, the band loses its box, and a thin rule sets it off from the columns below. Every page. */
body .footer-1 { background: var(--gl-navy) !important; }
body .footer-1 .gl-e-foot { padding: 36px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
body .footer-1 .gl-e-foot > .gl-e-signup { padding: 0; border-radius: 0; background: transparent; }
body .footer-1 .gl-e-signup-mark { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
body .footer-2 { padding-top: 40px; }
@media (max-width: 849px) { body .footer-1 .gl-e-foot { padding: 28px 0 24px; } }

/* A post's old typed buttons (e-content.php) as the site's solid button, with its arrow icon instead of a typed one. */
/* restyle.css sets every .gl-btn to display: flex !important, which stretched it across the column. */
.blog-single .entry-content a.gl-e-postbtn { display: inline-flex !important; gap: 10px; min-height: 48px; padding: 0 20px; font-size: 17px; text-decoration: none !important; }
.blog-single .entry-content a.gl-e-postbtn .gl-i { flex: none; width: 18px; height: 18px; transition: transform var(--gl-fast); }
@media (hover: hover) { .blog-single .entry-content a.gl-e-postbtn:hover .gl-i { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .blog-single .entry-content a.gl-e-postbtn .gl-i { transition: none; } }
.blog-single .entry-content blockquote.gl-e-quote p { margin: 0 0 14px; }
/* The button's box had its own pale rule on top, which sat right under the quote's rule as a double line. */
.blog-single .entry-content div[style*="border-top"]:has(> a.gl-e-postbtn) { padding-top: 4px !important; border-top: 0 !important; }

/* ---------- People without a photo, on every page ---------- */

/* Until a person has a photo, a plain navy silhouette on white with a 2 px navy edge stands in: on Our Team and its
   popup, profile pages, office pages, the service pages' people lists, and the message and showing forms' agent lists.
   A solid navy square was the loudest thing in the team grid, and initials read as a broken image. Some of those boxes
   still print letters from other parts, so the letters hide here. The edge is navy, not a pale rule, so it shows on
   every screen. */
:is(.gl-c-nophoto, .gl-v-initials, .gl-r-photo--none, .gl-z-agent-initials) {
  box-sizing: border-box !important;
  border: 2px solid var(--gl-navy) !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23182a61'%3E%3Ccircle cx='12' cy='8.6' r='4.4'/%3E%3Cpath d='M3.6 21.6a8.4 8.4 0 0 1 16.8 0z'/%3E%3C/svg%3E") 50% 55% / 62% no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
}

/* The closing "Sell your hog barn" button on the contract hog barn post (e-content.php): space above it to set it off
   from the video, and its own width, not the column's. */
body.single-post .gl-e-close { display: flex; margin: 32px 0 8px; }
