/* Lane h-extras: the listing page's previous and next links, dates, CSR2 explainer, photo captions, Save button, and
   "Recently viewed" row. Markup from h-extras.php, behavior from h-extras.js. */

/* ---------- Previous and next ---------- */

/* Two text links. On a computer they sit in the breadcrumb row, before Print and Share. On a phone or tablet they end
   the page, one on each side. */
body .gl-lp .gl-x-pn { display: flex; gap: 24px; min-width: 0; }
body .gl-lp .gl-x-pn[hidden], body .gl-lp .gl-x-pn-link[hidden] { display: none; }
body .gl-lp .gl-x-pn-link { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 2px 0; color: var(--gl-navy); text-decoration: none; }
body .gl-lp .gl-x-pn-link .gl-i { width: 18px; height: 18px; }
/* Each link reads "Previous listing", the name, and the acres when the name has no figure. In the breadcrumb row the
   acres share the label's line, so the name alone shortens. */
body .gl-lp .gl-x-pn-text { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; line-height: 1.3; }
body .gl-lp .gl-x-pn-label, body .gl-lp .gl-x-pn-size { font-size: 14px; color: var(--gl-muted); }
body .gl-lp .gl-x-pn-size:empty { display: none; }
body .gl-lp .gl-x-pn-name { overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
body .gl-lp .gl-x-pn-next { text-align: right; }
@media (hover: hover) {
  body .gl-lp .gl-x-pn-link:hover .gl-x-pn-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}
/* The row's own Print and Share keep the far right. */
/* The pager takes the free space in the row and never wraps it: a long name shortens with an ellipsis, and the acres
   after it stay whole. */
/* It grows four times as fast as a sold listing's "This property has sold." beside it. */
body .gl-lp-top > .gl-x-pn--top { flex: 4 1 0; justify-content: flex-end; margin-left: 24px; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-label { white-space: nowrap; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-link { flex: 0 1 auto; min-width: auto; max-width: 360px; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-text { grid-template-columns: auto minmax(0, 1fr); min-width: auto; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-name { grid-column: 1 / -1; grid-row: 2; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-label { grid-row: 1; grid-column: 1; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-size { grid-row: 1; grid-column: 2; white-space: nowrap; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-size::before { content: "\00a0\00b7\0020"; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-next .gl-x-pn-text { grid-template-columns: minmax(0, 1fr) auto; }
body .gl-lp-top > .gl-x-pn--top .gl-x-pn-next .gl-x-pn-label { justify-self: end; }
body .gl-lp-top > .gl-x-pn--top + .gl-tools { margin-left: 24px; }
/* At the end of the page the two links share a row when each gets 260 px, and stack on a phone, so a long name has
   the full width for its two lines. Next keeps the right edge either way. h-extras.js shortens a name that needs more
   than two lines by whole words; without the script, the browser's line clamp does it. */
body .gl-lp-main > .gl-x-pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px 24px; margin: var(--gl-part, 72px) 0 0; }
body .gl-lp-main > .gl-x-pn .gl-x-pn-next { justify-content: flex-end; }
body .gl-lp-main > .gl-x-pn .gl-x-pn-name { display: block; white-space: normal; overflow-wrap: normal; }
html:not(.gl-js) body .gl-lp-main > .gl-x-pn .gl-x-pn-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (min-width: 1024px) {
  body .gl-lp-main > .gl-x-pn { display: none; }
}
@media (max-width: 1023px) {
  body .gl-lp-top > .gl-x-pn--top { display: none; }
}

/* ---------- Dates ---------- */

body .gl-lp .gl-x-dates { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--gl-muted); font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Save ---------- */

/* The Save button ends the status line. Its negative margins keep the line as tall as the status alone. */
body .gl-lp .gl-x-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 21px; }
body .gl-lp .gl-x-save { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; min-height: 44px; margin: -12px -12px -12px auto; 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); }
body .gl-lp .gl-x-save .gl-i { width: 20px; height: 20px; transition: fill var(--gl-fast); }
body .gl-lp .gl-x-save-on { display: none; }
.gl-x-saved body .gl-lp .gl-x-save .gl-i { fill: currentColor; }
.gl-x-saved body .gl-lp .gl-x-save-on { display: inline; }
.gl-x-saved body .gl-lp .gl-x-save-off { display: none; }
@media (hover: hover) { body .gl-lp .gl-x-save:hover { background: var(--gl-wash); } }
/* Without its script, or without storage, the button can't keep anything, so it doesn't show. */
html:not(.gl-js) body .gl-lp .gl-x-save, .gl-x-nostore body .gl-lp .gl-x-save, .gl-x-nostore body .gl-lp .gl-x-recent { display: none !important; }

/* ---------- CSR2 ---------- */

/* A 20 px info icon in a 44 px button. Negative margins keep the label's line height. */
body .gl-lp .gl-x-info { display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -12px -10px -12px -8px; padding: 0;
  border: 0; border-radius: var(--gl-radius); background: none; color: var(--gl-navy); vertical-align: middle; box-shadow: none; cursor: pointer; }
.gl-js body .gl-lp .gl-x-info { display: inline-flex; }
body .gl-lp .gl-x-info .gl-i { width: 18px; height: 18px; }
@media (hover: hover) { body .gl-lp .gl-x-info:hover { background: var(--gl-wash); } }
body .gl-lp .gl-x-info[aria-expanded="true"] { background: var(--gl-wash); }
body .gl-lp dt.gl-x-csr2 { overflow: visible; }
body .gl-lp .gl-facts--grid .gl-fact dt.gl-x-csr2 { align-items: center; }

/* The popover: one short paragraph under the button, like an open menu, so it has the menus' shadow. */
.gl-x-pop { position: fixed; z-index: 1000; box-sizing: border-box; padding: 12px 16px; border: 1px solid var(--gl-rule); border-radius: var(--gl-radius); background: #fff;
  box-shadow: 0 6px 24px rgba(16, 29, 69, .16); color: var(--gl-ink); font-size: 15px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; text-transform: none; letter-spacing: 0; }
.gl-x-pop[hidden] { display: none; }
.gl-x-pop p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--gl-ink); }
/* The popover takes focus so a screen reader reads it. It isn't a control, so focus shows as a navy edge, not a ring. */
.gl-x-pop:focus { outline: none; }
.gl-x-pop:focus-visible { border-color: var(--gl-navy); }

/* ---------- Photo captions ---------- */

/* Above d-listings.css's "Photo 3 of 19", at the foot of the viewer. A deep navy backing keeps it readable where a
   tall photo reaches it. */
body .imgs-grid-modal .gl-x-cap { position: absolute; left: 50%; bottom: 48px; z-index: 2; box-sizing: border-box; width: max-content; max-width: min(760px, calc(100% - 32px)); margin: 0;
  padding: 4px 8px; border-radius: var(--gl-radius); background: rgba(16, 29, 69, .88); color: #fff; font-size: 16px; line-height: 1.45; text-align: center; transform: translateX(-50%); }
body .imgs-grid-modal .gl-x-cap[hidden] { display: none; }

/* ---------- Recently viewed ---------- */

body .gl-lp .gl-x-recent[hidden] { display: none; }
/* Placeholders the size of a card, while the cards load. */
body .gl-lp .gl-x-wait { display: grid; gap: 8px; }
body .gl-lp .gl-x-wait-photo { display: block; aspect-ratio: 16 / 10; margin-bottom: 4px; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-lp .gl-x-wait-line { display: block; height: 18px; border-radius: var(--gl-radius); background: var(--gl-wash); }
body .gl-lp .gl-x-wait-line--short { width: 60%; }

/* ---------- Printing ---------- */

/* A printed listing keeps the dates and drops the controls and the browsing aids. */
@media print {
  body .gl-x-pn, body .gl-x-save, body .gl-x-save-said, body .gl-x-info, body .gl-x-pop, body .gl-x-recent { display: none !important; }
  body .gl-lp .gl-x-dates { margin-top: 2pt; font-size: 10pt; color: #000; }
}

/* ===== Listing page side card, 11/3 (Adam: agent pictures bigger and nicer; the brochure should stand out and the
   other files look nicer). Edges are navy, not pale gray, which vanished on his screen. ===== */
@media screen {
  body.single-rem_property .gl-crumbs a .gl-i { width: 18px; height: 18px; margin: 0 4px 0 -2px; }

  /* Agents: a 96 px photo beside the name and titles, then Call and Email side by side at one height. */
  body.single-rem_property .gl-lp .gl-agent-who { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 14px; }
  body.single-rem_property .gl-lp .gl-agent-photo, body.single-rem_property .gl-lp .gl-agent-who img {
    width: 96px; height: 96px; border-radius: var(--gl-radius); object-fit: cover; object-position: 50% 20%;
  }
  body.single-rem_property .gl-lp .gl-agent-name { font-size: 19px; line-height: 1.25; font-weight: 600; color: var(--gl-navy); }
  body.single-rem_property .gl-lp .gl-agent-line { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.35; color: var(--gl-ink); }
  body.single-rem_property .gl-lp .gl-agent-line--muted { color: var(--gl-muted); }
  body.single-rem_property .gl-lp .gl-agent .gl-agent-actions { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; }
  body.single-rem_property .gl-lp .gl-agent-actions .gl-btn { min-height: 46px; justify-content: center; }
  body.single-rem_property .gl-lp .gl-agent-actions .gl-btn--mail { border: 1px solid var(--gl-navy); border-radius: var(--gl-radius); color: var(--gl-navy); background: #fff; }
  @media (hover: hover) { body.single-rem_property .gl-lp .gl-agent-actions .gl-btn--mail:hover { background: var(--gl-navy); color: #fff; } }
  body.single-rem_property .gl-lp .gl-agent + .gl-agent { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(24, 42, 97, .25); }

  /* The brochure: a ruled row like the map-page rows under it (11/4 /ui review: a bordered box inside the bordered
     card read as a card in a card). The file icon, the name in navy with its size under it, and an arrow; a navy rule
     above and below, a wash and an underline on hover. It keeps the larger name, so it's still the first thing read. */
  body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 12px; align-items: center; min-height: 56px; padding: 8px 4px;
    border: 0; border-top: 1px solid rgba(24, 42, 97, .3); border-bottom: 1px solid rgba(24, 42, 97, .3); border-radius: 0;
    background: #fff; text-decoration: none; transition: background-color var(--gl-fast);
  }
  body.single-rem_property .gl-lp .gl-side-brochure .gl-doc-icon { align-self: start; width: 22px; height: 22px; margin-top: 1px; border-radius: 0; background: none; color: var(--gl-navy); }
  body.single-rem_property .gl-lp .gl-side-brochure .gl-doc-icon .gl-i { width: 22px; height: 22px; }
  body.single-rem_property .gl-lp .gl-side-brochure .gl-doc-name { color: var(--gl-navy); font-size: 17px; font-weight: 600; text-decoration: none; }
  body.single-rem_property .gl-lp .gl-side-brochure .gl-doc-note { color: var(--gl-ink); font-size: 14px; }
  body.single-rem_property .gl-lp .gl-side-brochure::after {
    content: ""; width: 20px; height: 20px; background: var(--gl-navy);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--gl-fast);
  }
  /* The map-page rows follow on the brochure's lower rule, so the list starts with no gap and no doubled line. */
  body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure + ul.gl-side-pages { margin-top: 0; }
  body.single-rem_property .gl-lp .gl-side-docs .gl-side-brochure + .gl-side-brochure { margin-top: 0; border-top: 0; }
  @media (hover: hover) {
    body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure:hover { background: var(--gl-wash); }
    body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure:hover .gl-doc-name { text-decoration: underline; text-underline-offset: 3px; }
    body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure:hover::after { transform: translateX(3px); }
  }
  /* The brochure's map pages and the other files: ruled rows under it, each a full-width link with a map icon and
     its name and page. */
  body.single-rem_property .gl-lp ul.gl-side-pages { display: block; margin: 10px 0 0; padding: 0; list-style: none; }
  body.single-rem_property .gl-lp ul.gl-side-pages li { margin: 0; border-bottom: 1px solid rgba(24, 42, 97, .2); }
  body.single-rem_property .gl-lp ul.gl-side-pages a.gl-g-page {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; color: var(--gl-navy);
    font-size: 15.5px; font-weight: 500; text-decoration: none;
  }
  body.single-rem_property .gl-lp ul.gl-side-pages a.gl-g-page::before {
    content: ""; flex: none; width: 18px; height: 18px; background: var(--gl-navy);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z'/%3E%3Cpath d='M15 5.764v15'/%3E%3Cpath d='M9 3.236v15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z'/%3E%3Cpath d='M15 5.764v15'/%3E%3Cpath d='M9 3.236v15'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  @media (hover: hover) { body.single-rem_property .gl-lp ul.gl-side-pages a.gl-g-page:hover { background: var(--gl-wash); text-decoration: underline; text-underline-offset: 3px; } }
  body.single-rem_property .gl-lp .gl-side-docs > a:not(.gl-side-brochure) {
    display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; padding: 0 4px; color: var(--gl-navy);
    font-size: 15.5px; font-weight: 600;
  }
  @media (prefers-reduced-motion: reduce) {
    body.single-rem_property .gl-lp .gl-side-docs a.gl-side-brochure, body.single-rem_property .gl-lp .gl-side-brochure::after { transition: none; }
  }
}

/* Room between the breadcrumb row and the title (Adam, 11/3). */
@media screen {
  body.single-rem_property .gl-lp .gl-lp-top { margin-bottom: 28px; }
}
@media screen and (max-width: 849px) {
  body.single-rem_property .gl-lp .gl-lp-top { margin-bottom: 18px; }
}

/* "Request a showing" is the side card's main action (11/4 CTA review): a filled navy button at the top of the agent's
   buttons, full width, with the agent's Call and Email under it as navy outline buttons (h-extras.php moves the link).
   Outlines get a navy edge, not the pale field gray, which vanished on Adam's screen. Phones and tablets hide the side
   card's agents; the bottom bar carries the button there (w-listing.js). */
@media screen {
  body.single-rem_property .gl-side .gl-agent-actions > a.gl-link.gl-showing { grid-column: 1 / -1; justify-self: stretch; }
  body.single-rem_property .gl-side .gl-x-show-top { margin: 0 0 14px; }
  body.single-rem_property #main .gl-side a.gl-link.gl-showing {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 48px; margin: 0; padding: 0 14px;
    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; text-decoration: none; transition: background-color var(--gl-fast);
  }
  body.single-rem_property .gl-side a.gl-link.gl-showing .gl-i { flex: none; width: 20px; height: 20px; margin: 0; }
  @media (hover: hover) {
    body.single-rem_property #main .gl-side a.gl-link.gl-showing:hover { background: var(--gl-navy-hover); color: #fff !important; text-decoration: none; }
  }
  body.single-rem_property #main .gl-side a.gl-link.gl-showing:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
  body.single-rem_property .gl-side .gl-agent-actions .gl-btn.gl-btn--call { background: #fff; color: var(--gl-navy) !important; }
  body.single-rem_property .gl-side .gl-agent-actions .gl-btn { border-color: var(--gl-navy); }
  @media (hover: hover) {
    body.single-rem_property .gl-side .gl-agent-actions .gl-btn:hover { background: var(--gl-wash); border-color: var(--gl-navy); }
  }
  body.single-rem_property .gl-side-actions { display: block; margin-top: 16px; }
  @media (prefers-reduced-motion: reduce) { body.single-rem_property #main .gl-side a.gl-link.gl-showing { transition: none; } }
}

/* Phones: the folded number groups show only their heading button (h-extras.js); Documents leaves out the map-page
   links that "Maps from the brochure" already shows as pictures. */
@media (max-width: 699px) {
  body .gl-lp .gl-x-fold.is-folded > :not(.gl-sub) { display: none; }
  body .gl-lp .gl-x-fold > .gl-sub { margin: 24px 0 0 !important; padding: 0 !important; border-top: 1px solid rgba(24, 42, 97, .2); border-bottom: 0 !important; }
  body .gl-lp .gl-x-fold > .gl-sub + * { margin-top: 12px; }
}
body .gl-lp .gl-sec--docs.gl-x-maps-shown .gl-g-pagebox { display: none; }

/* "Acres and buyer math" folds at every width (h-extras.js); on wider screens its button takes the phone look too. */
body .gl-lp .gl-x-fold.is-folded > :not(.gl-sub) { display: none; }
body .gl-lp .gl-x-fold > .gl-sub { margin: 24px 0 0 !important; padding: 0 !important; border-top: 1px solid rgba(24, 42, 97, .2); border-bottom: 0 !important; }
body .gl-lp .gl-x-fold .gl-i-bench-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-lp .gl-x-fold .gl-i-bench-toggle .gl-i { flex: none; color: var(--gl-navy); transition: transform var(--gl-fast); }
body .gl-lp .gl-x-fold .gl-i-bench-toggle[aria-expanded="true"] .gl-i { transform: rotate(180deg); }
/* Every fold's heading button (these and i-insights.js's comparison on phones): the chevron sat at the far right edge,
   away from the words, so the heading didn't read as something to press (11/4 sweep). The chevron follows the heading,
   with a small "Show" or "Hide" before it. The button's aria-expanded already tells screen readers the state, so the
   word is left out of what they read. */
body .gl-lp .gl-i-bench-toggle, body .gl-lp .gl-x-fold .gl-i-bench-toggle { justify-content: flex-start; gap: 10px; }
body .gl-lp .gl-i-bench-toggle > span { flex: 0 1 auto; min-width: 0; }
body .gl-lp .gl-i-bench-toggle::after {
  content: "Show"; content: "Show" / ""; order: 1; flex: none; color: var(--gl-navy); font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body .gl-lp .gl-i-bench-toggle[aria-expanded="true"]::after { content: "Hide"; content: "Hide" / ""; }
body .gl-lp .gl-i-bench-toggle > .gl-i { order: 2; margin-left: -6px; }
/* Every "Show" sits right after its heading's last word, the comparison group's included (11/4 /ui review). As a flex
   row, a heading long enough to wrap took the whole width and pushed "Show" to the far right. The button is a block,
   so the words wrap as text and "Show" and the chevron follow the last word; they never part, because the button
   doesn't wrap between its own children. */
body .gl-lp .gl-i-bench-toggle, body .gl-lp .gl-x-fold .gl-i-bench-toggle { display: block; padding: 13px 0; line-height: 1.4; text-align: left; white-space: nowrap; }
body .gl-lp .gl-i-bench-toggle > span { white-space: normal; }
body .gl-lp .gl-i-bench-toggle::after { content: none; }
body .gl-lp .gl-i-bench-toggle > span::after {
  content: "Show"; content: "Show" / ""; display: inline-block; margin-left: 10px; color: var(--gl-navy); font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; vertical-align: 1px;
}
body .gl-lp .gl-i-bench-toggle[aria-expanded="true"] > span::after { content: "Hide"; content: "Hide" / ""; }
body .gl-lp .gl-i-bench-toggle > .gl-i { display: inline-block; margin: 0 0 0 4px; vertical-align: -3px; }

/* From 700 px the block before the fold already ends at a rule, so the fold adds no second one. */
@media (min-width: 700px) { body .gl-lp .gl-x-fold > .gl-sub { margin-top: 8px !important; border-top: 0; } }

/* The slideshow's Pause and Play button (h-extras.js), on the photo's lower left, across from the photo count. */
body .gl-gal .gl-x-play {
  position: absolute; left: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: var(--gl-radius); background: rgba(255, 255, 255, .92);
  color: var(--gl-navy); cursor: pointer; box-shadow: none;
}
body .gl-gal .gl-x-play .gl-i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
body .gl-gal .gl-x-play:hover { background: #fff; }
body .gl-gal .gl-x-play:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
@media print { body .gl-gal .gl-x-play { display: none; } }

/* Listing page tidy-ups (11/4): the CSR2 point price under the CSR2 figure; from 900 px, where the side card shows the
   brochure, a Documents section that only repeats it is left out, with its tab. */
body .gl-lp .gl-summary .gl-x-csrpt { display: block; margin: 2px 0 0; padding: 0; color: var(--gl-ink); font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; }
@media (min-width: 900px) {
  html.gl-x-docs-dup body .gl-lp .gl-jump-link[href="#gl-docs"] { display: none; }
  /* The section stays in the page as an unseen 1 px strip at the top of the next part, instead of display: none. The
     section bar (enhance.js) marks the last part whose top has passed under it, and a hidden part's top reads as 0,
     so Documents counted as passed from the top of the page and no other tab lit until Terms (11/4 sweep). With its
     top level with the next part's, the next part wins, and the space between parts stays as it was. */
  html.gl-x-docs-dup body .gl-lp #gl-docs {
    display: block; height: 1px; margin: var(--gl-part) 0 calc(-1px - var(--gl-part)); padding: 0; overflow: hidden; visibility: hidden;
  }
}
