/* Lane j-county: Iowa State University county averages in a land listing's Farm facts, after "Acres and buyer math".
   Markup from j-county.php, the popover from j-county.js. The rows follow the Farm facts table: a label column as wide
   as the table's, hairlines between rows, labels at 14 px muted, and figures in navy like the buyer math's. The
   values here repeat i-insights.css's and restyle.css's, so this group keeps its look when those parts change. */

body .gl-lp .gl-j-county { margin: 24px 0 0; }
body .gl-lp .gl-sec--facts .gl-j-county > .gl-sub { margin: 0 !important; }

/* Flatsome sets every dl in capitals at .85em and at 90% opacity, so this one is set back. */
body .gl-lp .gl-j-rows { margin: 0; padding: 0; font-size: 16px; text-align: left; text-transform: none; letter-spacing: 0; opacity: 1; }
/* The label column is as wide as Farm facts' label column (five parts of 24, after its four 16 px gaps), so the
   values start where the table's values start. */
body .gl-lp .gl-j-row { display: grid; grid-template-columns: calc((100% - 64px) * 5 / 24) minmax(0, 1fr); column-gap: 16px; align-items: baseline; min-width: 0;
  padding: 12px 0; border-bottom: 1px solid var(--gl-rule); }
body .gl-lp .gl-j-row dt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.45;
  color: var(--gl-muted); text-transform: none; letter-spacing: 0; }
body .gl-lp .gl-j-row dd { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--gl-ink);
  overflow-wrap: break-word; font-variant-numeric: tabular-nums lining-nums; }
body .gl-lp .gl-j-nb { white-space: nowrap; }
body .gl-lp .gl-j-fig { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--gl-navy); }
body .gl-lp .gl-j-src { font-size: 14px; line-height: 1.4; color: var(--gl-muted); }

/* The note under the rows, with a link to each survey. restyle.css sets notes in Farm facts at 15 px, so the
   selector carries the section to win. */
body .gl-lp .gl-sec--facts .gl-j-county > p.gl-j-note { margin: 12px 0 0; font-size: 14px !important; line-height: 1.5; color: var(--gl-muted) !important; }
body .gl-lp .gl-j-note a { color: var(--gl-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
body .gl-lp .gl-j-note a .gl-i { width: 14px; height: 14px; margin-left: 3px; vertical-align: -2px; }
@media (hover: hover) { body .gl-lp .gl-j-note a:hover { text-decoration-thickness: 2px; } }

/* "How it's figured": a text button with an info icon, 44 px tall, as i-insights.css draws "What is this?". On a
   computer it sits under the label; on a phone, at the end of the label's line. Without the script it doesn't show,
   and the popover's text shows as a note instead. */
body .gl-lp .gl-j-what { display: none; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 -10px -8px; padding: 0 8px; border: 0; border-radius: var(--gl-radius);
  background: none; color: var(--gl-navy); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; box-shadow: none;
  cursor: pointer; }
.gl-js body .gl-lp .gl-j-what { display: inline-flex; }
body .gl-lp .gl-j-what .gl-i { width: 18px; height: 18px; }
@media (hover: hover) { body .gl-lp .gl-j-what:hover { background: var(--gl-wash); } }
body .gl-lp .gl-j-what[aria-expanded="true"] { background: var(--gl-wash); }

/* The popover has the CSR2 and base acres popovers' look (h-extras.css, i-insights.css). */
.gl-j-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; overflow-y: auto; overscroll-behavior: contain; }
.gl-j-pop[hidden] { display: none; }
.gl-j-pop p, body .gl-lp .gl-sec--facts .gl-j-pop p { margin: 0 !important; font-size: 15px !important; font-weight: 400; line-height: 1.5; color: var(--gl-ink) !important; }
.gl-j-pop p + p, body .gl-lp .gl-sec--facts .gl-j-pop p + p { margin-top: 8px !important; }
.gl-j-pop:focus { outline: none; }
.gl-j-pop:focus-visible { outline: 3px solid #5b7bd5; outline-offset: 2px; }
html:not(.gl-js) body .gl-lp .gl-j-pop[hidden] { display: block; position: static; margin: 12px 0 0; padding: 0; border: 0; box-shadow: none; }
html:not(.gl-js) body .gl-lp .gl-j-pop p { font-size: 14px !important; color: var(--gl-muted) !important; }

/* Phones: the label above the value, as Farm facts' rows go, and the button at the end of the label's line. */
@media (max-width: 699px) {
  body .gl-lp .gl-j-row { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding: 10px 0; }
  body .gl-lp .gl-j-row dt { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 12px; }
  body .gl-lp .gl-j-row dt .gl-j-what { margin: -12px -8px -12px 0; }
  body .gl-lp .gl-j-fig { font-size: 18px; }
}
/* At 320 px and under, the figures step down once more, as the buyer math's do. */
@media (max-width: 359px) {
  body .gl-lp .gl-j-fig { font-size: 17px; }
}

@media print {
  body .gl-j-what, body .gl-j-pop { display: none !important; }
  body .gl-lp .gl-j-county { margin-top: 8pt; break-inside: avoid; }
  body .gl-lp .gl-j-row { padding: 2pt 0; }
  body .gl-lp .gl-j-row dt, body .gl-lp .gl-j-row dd, body .gl-lp .gl-j-src { font-size: 9pt; line-height: 1.35; }
  body .gl-lp .gl-j-fig { font-size: 10.5pt; color: #000; }
  body .gl-lp .gl-sec--facts .gl-j-county > p.gl-j-note { font-size: 8.5pt !important; }
  body .gl-lp .gl-j-note a .gl-i { display: none; }
}
