/* Inner pages keep their existing text / image layouts (style.css).
   Only the header spacing is new. */
body.inner-page #contents { padding-top: clamp(28px, 5svh, 65px); }

/* Works only: on narrow screens, use one full-width photo per row,
   aligned to the 20px insets of the SVG logo and menu.
   Override Masonry inline coordinates without changing desktop layouts. */
@media (max-width: 699px) {
  body.inner-page #wrapper {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin-left: 20px;
    margin-right: 20px;
  }
  body.inner-page #container {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
  }
  body.inner-page #container > .item,
  body.inner-page #container > .item.x2,
  body.inner-page #container > .item.x3 {
    box-sizing: border-box;
    position: relative !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  body.inner-page #container > .item img {
    width: 100%;
    height: auto;
  }
}

/* About: language switch */

.about-language-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;

  width: min(280px, calc(100% - 40px));
  margin: 0 auto;
}

.about-language-switch a {
  color: #777777;
  text-decoration: none;
}

.about-language-switch a:first-child {
  text-align: right;
}

.about-language-switch a:last-child {
  text-align: left;
}

.about-language-divider {
  width: 1px;
  height: 1em;
  background-color: #777777;
}

