/* Tables: short values (names, dates, sizes, counts, types, links) stay on one line;
   only description-style columns wrap. Column roles are set by the wrapping div's class. */
td, th { vertical-align: top; }
table code { white-space: nowrap; font-size: 0.85em; }
th { white-space: nowrap; }

/* Home: Dataset | What it contains | Latest snapshot | Files | Size */
.datasets td:nth-child(1), .datasets td:nth-child(3),
.datasets td:nth-child(4), .datasets td:nth-child(5) { white-space: nowrap; }
.datasets td:nth-child(4), .datasets td:nth-child(5),
.datasets th:nth-child(4), .datasets th:nth-child(5) { text-align: right; }

/* Dataset page: File | Rows | Size | Download */
.files td { white-space: nowrap; }
.files td:nth-child(2), .files td:nth-child(3),
.files th:nth-child(2), .files th:nth-child(3) { text-align: right; }

/* Dataset page: Column | Type | Description */
.coltable td:nth-child(1), .coltable td:nth-child(2) { white-space: nowrap; }
.coltable td:nth-child(3) { width: 100%; }

/* Fact box at the top of each dataset page */
.facts td:first-child { white-space: nowrap; font-weight: 600; }

/* On narrow screens, scroll wide tables sideways rather than squashing them */
@media (max-width: 991px) {
  .datasets, .files, .coltable { overflow-x: auto; }
}

.quarto-title .subtitle { font-size: 1.05rem; opacity: 0.8; }

/* Cap the description column on the home page so short columns get their room */
.datasets td:nth-child(2) { max-width: 26rem; }
