* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f2eadc;
  color: #2f2418;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

a {
  color: #087ca7;
  text-underline-offset: 0.1em;
}

.connect-access {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 1.5rem;
}

.connect-access-card {
  width: min(100%, 38rem);
  border: 1px solid #d6c6ae;
  border-left: 4px solid #b86f49;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: #fffaf1;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

.connect-access-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  line-height: 1.45;
}

.connect-access-card a {
  color: #87492f;
}

.connect-header {
  border-bottom: 1px solid #e5d8c3;
  padding: 0.9rem clamp(1rem, 4vw, 3.75rem) 0.85rem;
  background: #fffaf1;
}

.connect-header h1 {
  margin: 0 0 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 70ch;
  margin: 0;
  color: #6f5a42;
  font-size: 0.92rem;
  line-height: 1.45;
}

main {
  padding: clamp(1rem, 3vw, 1.75rem) 0 2rem;
}

.connect-section + .connect-section {
  margin-top: 2rem;
}

.connect-section h2 {
  margin: 0 clamp(1rem, 4vw, 3.75rem) 0.6rem;
  color: #53644b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.connect-empty {
  margin: 0 clamp(1rem, 4vw, 3.75rem);
}

.connect-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d6c6ae;
  border-radius: 6px;
  background: #fffaf1;
}

.connect-card-picture {
  display: grid;
  place-items: center;
  aspect-ratio: 1.6;
  border-bottom: 1px solid #e5d8c3;
  background: #dfe8ea;
}

.connect-card-picture svg {
  display: block;
  width: 100%;
  height: 100%;
}

.connect-card-picture path {
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.connect-card-picture .land {
  fill: #f2eadc;
  stroke: #cdbfa8;
  stroke-width: 0.5;
}

.connect-card-picture .region {
  fill: #b86f49;
  /* The same colour as the fill, so county and province lines inside a region do not show. */
  stroke: #b86f49;
  stroke-width: 0.6;
}

.connect-card-picture.pending {
  background: #efe5d3;
  color: #6f5a42;
  font-size: 0.85rem;
}

.connect-card h3 {
  margin: 0;
  padding: 0.8rem 1rem 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
}

.connect-card h3 a {
  color: #87492f;
}

.connect-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 0.75rem;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.connect-card dt {
  color: #53644b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-transform: uppercase;
}

.connect-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.pending {
  color: #6f5a42;
  font-style: italic;
}

footer {
  padding: 0 clamp(1rem, 4vw, 3.75rem) 2rem;
  color: #6f5a42;
  font-size: 0.8rem;
}

footer a {
  color: inherit;
}
