/* Lane r-paths: the sections r-paths.php adds to Appraisals and Real Estate. Every rule hangs off .gl-bs .gl-r-*,
   which exists only inside those pages' service layout. */

/* The review copy's note on wording Growthland hasn't approved. */
body .gl-bs .gl-draft-note {
  margin: 0 0 20px; padding: 8px 12px; max-width: 36em;
  border: 1px dashed var(--gl-field); border-radius: var(--gl-radius); background: var(--gl-wash);
  color: var(--gl-muted); font-size: 14px; line-height: 1.45;
}

body .gl-bs .gl-r-sec > h2.gl-bs-h2 { margin-bottom: 12px; }
body .gl-bs .gl-r-lead { margin: 0 0 20px; max-width: 36em; }

/* Ruled rows: an icon, a group heading, and its text. The icon is white in a navy square, as on the home page's Our
   Services: the old wash square with a gray edge vanished on Adam's screen (11/4 sweep). The service pages' list rule indents lists with a heavier
   selector, so these match its weight. */
.gl-b-service #content .page-inner .gl-bs ul.gl-r-rows,
.gl-b-service #content .page-inner .gl-bs ul.gl-r-people { margin: 0; padding: 0; list-style: none; }
.gl-b-service #content .page-inner .gl-bs ul.gl-r-rows > li,
.gl-b-service #content .page-inner .gl-bs ul.gl-r-people > li { margin: 0; padding-left: 0; }
.gl-b-service #content .page-inner .gl-bs ul:is(.gl-r-rows, .gl-r-people) > li::marker { content: none; }

body .gl-bs .gl-r-rows { max-width: 42em; border-bottom: 1px solid var(--gl-rule); }
body .gl-bs .gl-r-rows > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--gl-rule); }
body .gl-bs .gl-r-ic {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; box-sizing: border-box;
  border: 0; border-radius: var(--gl-radius); background: var(--gl-navy); color: #fff;
}
body .gl-bs .gl-r-ic .gl-i { width: 22px; height: 22px; }
body .gl-bs h3.gl-r-h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--gl-navy); text-transform: none; letter-spacing: 0; }
body .gl-bs .gl-r-row-text p { margin: 0; font-size: 17px; line-height: 1.6; }

/* How it works and who it suits: label above text. The labels were 14 px muted gray, which washed out on Adam's
   screen (11/4 sweep), so they are ink at 15 px and 600, and the text under them stays 400. */
body .gl-bs .gl-r-dl { margin: 0; }
body .gl-bs .gl-r-dl dt { margin: 10px 0 2px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--gl-ink); text-transform: none; letter-spacing: 0; }
body .gl-bs .gl-r-dl dt:first-child { margin-top: 0; }
body .gl-bs .gl-r-dl dd { margin: 0; font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--gl-ink); text-transform: none; letter-spacing: 0; }

body .gl-bs .gl-r-types { margin: 20px 0 0; max-width: 36em; font-size: 17px; line-height: 1.6; }
body .gl-bs .gl-r-k { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--gl-ink); }
body .gl-bs .gl-r-act { margin: 24px 0 0; }
body .gl-bs .gl-r-act .gl-btn { display: inline-flex !important; min-height: 48px; padding: 0 18px; }
body .gl-bs .gl-r-act .gl-i, body .gl-bs .gl-r-acts .gl-i { width: 18px; height: 18px; }

/* Our appraisers: ruled rows two across, each with the photo, who, and the office, then Call and Email under them at
   the foot, so the buttons of two people side by side line up. */
body .gl-bs .gl-r-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 1px solid var(--gl-rule); }
body .gl-bs .gl-r-person { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 12px 16px; padding: 20px 0; border-top: 1px solid var(--gl-rule); }
/* The last row of two loses its own top rule's partner, so an odd last person spans the row. */
body .gl-bs .gl-r-person:last-child:nth-child(odd) { grid-column: 1 / -1; }
body .gl-bs .gl-r-photo { grid-row: 1; width: 72px; height: 72px; border-radius: var(--gl-radius); object-fit: cover; background: var(--gl-wash); }
body .gl-bs .gl-r-photo--none { display: flex; align-items: center; justify-content: center; color: var(--gl-navy); font-weight: 600; font-size: 20px; border: 1px solid var(--gl-rule); box-sizing: border-box; }
body .gl-bs .gl-r-who p { margin: 0; }
body .gl-bs .gl-r-name { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--gl-navy); }
body .gl-bs .gl-r-name a { color: var(--gl-navy); text-decoration: none; }
@media (hover: hover) { body .gl-bs .gl-r-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
body .gl-bs .gl-r-title { margin-top: 2px !important; font-size: 15px; line-height: 1.4; color: var(--gl-ink); }
body .gl-bs .gl-r-office { display: flex; align-items: center; gap: 6px; margin-top: 4px !important; font-size: 14px; line-height: 1.4; color: var(--gl-muted); }
body .gl-bs .gl-r-office .gl-i { width: 16px; height: 16px; color: var(--gl-navy); }
body .gl-bs .gl-r-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
body .gl-bs .gl-r-acts .gl-btn { display: inline-flex !important; min-height: 44px; padding: 0 12px; font-size: 15px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
body .gl-bs .gl-r-acts .gl-btn:not(.gl-btn--solid) { border-color: var(--gl-field); }
@media (hover: hover) { body .gl-bs .gl-r-acts .gl-btn:not(.gl-btn--solid):hover { border-color: var(--gl-navy); } }

/* A narrow main column: one person to a row. */
@media (max-width: 1099px) {
  body .gl-bs .gl-r-people { grid-template-columns: minmax(0, 1fr); }
  body .gl-bs .gl-r-person:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 549px) {
  body .gl-bs .gl-r-person { grid-template-columns: 64px minmax(0, 1fr); }
  body .gl-bs .gl-r-photo { width: 64px; height: 64px; }
  body .gl-bs .gl-r-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .gl-bs .gl-r-acts .gl-btn { min-height: 48px; justify-content: center; }
  body .gl-bs .gl-r-act .gl-btn { display: flex !important; width: 100%; justify-content: center; }
  body .gl-bs .gl-r-rows > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
  body .gl-bs .gl-r-ic { width: 36px; height: 36px; }
  body .gl-bs .gl-r-ic .gl-i { width: 20px; height: 20px; }
  body .gl-bs h3.gl-r-h3 { margin-top: 6px; }
}

/* The name links to the person's profile. Padding that the negative margin takes back makes it a 44 px target
   without moving the lines around it. */
body .gl-bs .gl-r-name a.gl-r-name-a { display: inline-block; padding: 11px 0; margin: -11px 0; }

/* A theme rule set the labels inline, so "Who it suits" ran into its answer (desktop sweep, 11/3). */
body .gl-bs .gl-r-dl dt, body .gl-bs .gl-r-dl dd { display: block; }
