/* Round three: a compact, Nordic-first office directory on paper. */
.offices.theme-paper.chapter { padding-block: clamp(5rem, 3rem + 6vw, 9rem); }

.offices .offices__table {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--s-7);
  margin-top: var(--s-4);
}

.offices .offices__row {
  min-width: 0;
  padding-block: var(--s-2);
  border-top: 1px solid var(--hairline);
}

.offices .offices__row h3 {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.offices .offices__row .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  align-self: flex-start;
  margin-top: 0.25em;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.offices .offices__row h3 > span { min-width: 0; overflow-wrap: break-word; }

.offices .offices__address {
  margin-inline-start: calc(1.5rem + var(--s-3));
  font-style: normal;
  font-size: var(--body);
  line-height: 1.4;
  color: var(--ink-2);
}

.offices .offices__address > span { display: block; }
.offices .offices__address .readout-label {
  display: block;
  margin-bottom: var(--s-1);
  line-height: 1.4;
}

.offices .offices__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-inline-start: calc(1.5rem + var(--s-3));
  max-width: calc(100% - 1.5rem - var(--s-3));
  font-size: var(--body);
  overflow-wrap: anywhere;
}

.offices .offices__email:hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

@media (min-width: 48rem) {
  .offices .offices__table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .offices .offices__table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.offices #offices-title { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
