/* Lesespalte und Marktübersichten der Regionsseiten */
main .region-expanded {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.region-expanded .region-depth {
  max-width: 52rem;
  margin-inline: auto;
}

main .region-expanded .region-depth h2 {
  margin: 2rem 0 .55rem;
  font-size: clamp(1.3rem, 1.16rem + .55vw, 1.6rem);
  line-height: 1.28;
  text-wrap: pretty;
}

main .region-expanded .region-depth h3 {
  margin: 1.2rem 0 .35rem;
  font-size: clamp(1.08rem, 1rem + .32vw, 1.23rem);
  line-height: 1.4;
}

.region-expanded .region-depth p {
  max-width: 70ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: .55rem 0 .85rem;
}

.region-expanded .a016-market-numbers {
  margin-block: 2rem;
  padding: clamp(.85rem, 2.4vw, 1.5rem);
  background-color: #f3f7f9;
  border-top: 2px solid #b6c8cf;
}

main .region-expanded .region-depth > h2:first-child,
main .region-expanded .a016-market-numbers h2:first-child {
  margin-top: 0;
}

.a016-market-numbers table,
.a016-districts,
.ortsvergleich {
  width: 100%;
  border-collapse: collapse;
}

.a016-market-numbers :is(th, td),
.a016-districts :is(th, td),
.ortsvergleich :is(th, td) {
  padding: .55rem .5rem;
  border-bottom: 1px solid #c9d6db;
  vertical-align: top;
  text-align: left;
  line-height: 1.45;
}

.a016-market-numbers thead th,
.a016-districts thead th,
.ortsvergleich thead th {
  border-bottom: 2px solid #8099a4;
  color: #003753;
}

.a016-market-numbers tbody th {
  font-weight: 550;
}

.a016-districts :is(th, td):nth-child(even),
.ortsvergleich tr > :nth-child(n+2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .region-expanded .region-depth p { font-size: 1rem; }
  .a016-market-numbers table { table-layout: fixed; }
  .a016-market-numbers thead th:first-child { width: 46%; }
  .a016-market-numbers thead th:nth-child(2) { width: 34%; }
  .a016-market-numbers thead th { white-space: nowrap; }
  .a016-market-numbers :is(th, td) {
    font-size: .92rem;
    padding: .5rem .3rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}
