.public-language {
  display: block;
  padding: .45rem max(.65rem, calc((100% - 72rem) / 2));
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e1e5eb;
  border-radius: 0;
  box-shadow: none;
}
.public-language ul {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.public-language a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid #b9c5d2;
  border-radius: .45rem;
  background: #fff;
  color: #172c42;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.public-language a:hover { background: #eaf1fa; }
.public-language a:focus-visible { outline: 2px solid #214b88; outline-offset: 2px; }
.public-language a[aria-current="page"] { background: #1c3d68; color: #fff; border-color: #1c3d68; }

@media (max-width: 46rem) {
  .public-language ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .public-language li { flex: 0 0 5.75rem; }
  .public-language a { padding-inline: .35rem; }
}

.public-message-link {
  width: min(100% - 2rem, 72rem);
  margin: .8rem auto;
  text-align: right;
}
.public-message-link a {
  display: inline-block;
  border: 1px solid #b9c5d2;
  border-radius: .5rem;
  padding: .55rem .8rem;
  color: #172c42;
  background: #fff;
  font-weight: 650;
  text-decoration: none;
}
.public-message-link a:is(:hover, :focus-visible) { background: #eaf1fa; }

.private-rental-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .45rem;
  width: min(100% - 2rem, 72rem);
  margin: .45rem auto;
  color: #586472;
  font-size: .75rem;
  line-height: 1.4;
}
.private-rental-notice h2 { margin: 0; font-size: inherit; font-weight: 600; }
.private-rental-notice p { margin: 0; font-size: inherit; }
