/* /land-data only. Everything else comes from permit-leads.css. Versioned:
   bump ?v= when this changes. */
.ld-plans > .pl-card { display: flex; flex-direction: column; }
.pl-card .ld-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1rem; margin-bottom: 0.9rem; }
.ld-tags b { font-size: 0.82rem; color: var(--gray-700); }
/* The inset ring takes no room, so both plan names sit on one line. */
.pl-card--pro .pl-tier { background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-300); }
.pl-card .ld-plus { margin-top: 1rem; color: var(--navy); }
.pl-card .ld-plus + .pl-list { margin-top: 0.25rem; }
.pl-card .ld-foot { margin-top: auto; padding-top: 1rem; font-size: 0.9rem; }
.ld-plans .pl-list { margin-bottom: 1.25rem; }
.pl-hero .pl-hero-sub { text-wrap: balance; }
.pl-card [data-oc-note] { margin: 0 0 1.25rem; }
/* Both dividers on one line, so the shorter card has no big hole. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 941px) {
    .ld-plans { grid-template-rows: 1fr auto; row-gap: 0; }
    .ld-plans > .pl-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
    .ld-plans > .pl-card > .ld-foot { margin-top: 0; }
  }
}
.ld-foot { border-top: 1px solid var(--gray-300); }
.ld-foot b { display: block; margin-top: 0.4rem; color: var(--navy); }
/* Short facts in pairs: acres and value, owner and last sale. */
.pl-facts > div:nth-child(4), .pl-facts > div:nth-child(5) { grid-column: auto; }
.pl-facts:first-child { margin-top: 0; }
.pl-hero .ld-for { font-size: 0.95rem; max-width: none; }
.ld-signals > div { display: flex; flex-direction: column; padding: 1.75rem; }
.ld-signals > div b { margin-top: auto; padding-top: 1rem; font-family: var(--font-heading); color: var(--navy); }
.pl-facts dd small { display: block; font-size: 0.8rem; color: var(--gray-600); }
/* Five region cards: the row that is not full sits in the middle. Half-column
   tracks keep every card the width it has on /permit-leads. */
/* Whole rows, so an open card moves the row under it as one. Beats the row
   spans js/permit-leads.js sets inline. */
@media (min-width: 701px) {
  .ld-regions.is-stacked { grid-auto-rows: auto; row-gap: 1rem; }
  .ld-regions.is-stacked > .pl-region { grid-row-end: auto !important; }
}
@media (min-width: 981px) {
  .ld-regions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ld-regions > :nth-child(1), .ld-regions.is-stacked > :nth-child(1) { grid-column: 1 / span 2; }
  .ld-regions > :nth-child(2), .ld-regions.is-stacked > :nth-child(2) { grid-column: 3 / span 2; }
  .ld-regions > :nth-child(3), .ld-regions.is-stacked > :nth-child(3) { grid-column: 5 / span 2; }
  .ld-regions > :nth-child(4), .ld-regions.is-stacked > :nth-child(4) { grid-column: 2 / span 2; }
  .ld-regions > :nth-child(5), .ld-regions.is-stacked > :nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .ld-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ld-regions > :nth-child(odd), .ld-regions.is-stacked > :nth-child(odd) { grid-column: 1 / span 2; }
  .ld-regions > :nth-child(even), .ld-regions.is-stacked > :nth-child(even) { grid-column: 3 / span 2; }
  .ld-regions > :nth-child(5), .ld-regions.is-stacked > :nth-child(5) { grid-column: 2 / span 2; }
}
.oc-plan-price:last-child { margin-bottom: 0; }
/* Below this the region note no longer fits beside the Land Pro tag. */
@media (max-width: 940px) {
  .pl-grid.ld-plans { grid-template-columns: minmax(0, 1fr); }
}
/* Three signals never split two and one. */
@media (max-width: 980px) {
  .pl-sheet--3.ld-signals { grid-template-columns: minmax(0, 1fr); }
  .pl-sheet--3.ld-signals > :nth-child(n) { box-shadow: 0 1px 0 var(--r); }
}
@media (max-width: 460px) {
  .ld-foot b span { display: block; }
  .ld-foot b .ld-dot { display: none; }
}
