.farm-feature,
.speedway-feature {
  padding-block: clamp(1.7rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.farm-feature h2,
.speedway-feature h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  letter-spacing: -.055em;
  line-height: 1.05;
  text-wrap: balance;
}

.farm-feature .farm-intro,
.speedway-story p,
.farm-notes dd {
  color: var(--copy);
  font-size: 1.02rem;
  line-height: 1.55;
}

.farm-feature .farm-intro {
  max-width: 70ch;
  margin: .9rem 0 1.5rem;
}

.farm-layout,
.speedway-feature {
  display: grid;
  align-items: start;
  gap: clamp(1.3rem, 3.3vw, 3rem);
}

.farm-layout { grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 1fr); }
.farm-plate { min-width: 0; margin: 0; }

.farm-sheet {
  position: relative;
  overflow: hidden;
  background: #ede6d3;
  border: 1px solid #b5aa90;
  border-radius: 3px;
}

.farm-sheet img { display: block; width: 100%; height: auto; }

.farm-pin,
.farm-modern,
.farm-road {
  position: absolute;
  color: #fffef3;
  background: #204739;
  border-radius: 3px;
  padding: .16em .43em;
  font: 700 clamp(.75rem, 1.2vw, .92rem)/1.2 var(--body);
  white-space: nowrap;
  box-shadow: 0 0 0 1px #fff9e6;
}

.farm-pin { transform: translate(-50%, calc(-100% - 7px)); }
.farm-pin::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: calc(50% - 5px);
  width: 0;
  height: 0;
  border: solid transparent;
  border-width: 7px 5px 0;
  border-top-color: #204739;
}

.farm-pin-kirk { left: 15.1%; top: 26.7%; }
.farm-pin-foul { left: 52%; top: 23.8%; }
.farm-pin-cowden { left: 54.9%; top: 36.9%; }
.farm-modern {
  /* Atlas pitch centre, 56.10889 N, 3.34713 W, projected onto the cropped first-edition map. */
  left: 58.135%;
  top: 53.702%;
  transform: translate(calc(-100% - 7px), -50%);
  color: #103e64;
  background: #f3faff;
  box-shadow: 0 0 0 1px #336182;
}
.farm-modern::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 3px solid #215b8b;
  border-radius: 50%;
  background: #f3faff;
}
.farm-road {
  left: 80%;
  top: 82%;
  transform: translate(-100%, -100%);
  background: #783e27;
}
.farm-road::after { content: " ↘"; }

.farm-plate figcaption {
  margin-top: .65rem;
  color: var(--copy);
  font-size: .86rem;
  line-height: 1.5;
}

.farm-feature a,
.speedway-feature a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.farm-feature a:hover,
.speedway-feature a:hover { color: var(--orange); }

.farm-notes dl { margin: 0; }
.farm-notes dt {
  font: 700 1.18rem/1.2 var(--display);
  letter-spacing: -.025em;
}
.farm-notes dd { margin: .2rem 0 1rem; }
.farm-sources {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.05rem;
  font-size: .94rem;
  line-height: 1.45;
}

.speedway-feature {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .85fr);
  align-items: center;
}
.speedway-story p { margin: .85rem 0 0; max-width: 61ch; }
.speedway-story .farm-sources { margin-top: 1.15rem; }
.lions-results {
  width: 100%;
  color: var(--ink);
  border: 1px solid #b8b39e;
  border-collapse: collapse;
  background: #fffcf3;
  font-size: 1rem;
  line-height: 1.35;
}
.lions-results caption {
  padding: .8rem 1rem;
  background: var(--ink);
  color: #fff9e5;
  text-align: left;
  font: 700 1.25rem/1.25 var(--display);
}
.lions-results caption span {
  float: right;
  padding-top: .15em;
  font: 700 .9rem/1.4 var(--body);
}
.lions-results :is(th, td) {
  padding: .65rem .85rem;
  border-bottom: 1px solid #d1cbb8;
  text-align: left;
  vertical-align: middle;
}
.lions-results thead { background: #eeebdc; font-size: .87rem; }
.lions-results tbody th { white-space: nowrap; }
.lions-results td:last-child {
  color: #924024;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .farm-layout, .speedway-feature { grid-template-columns: minmax(0, 1fr); }
  .lions-results { max-width: 40rem; }
}
@media (max-width: 380px) {
  .lions-results :is(th, td) { padding: .55rem .45rem; }
}
