/* style.css */
body {
  font-family: monospace;
  background-color: #ffffff;
  color: #000000;
  padding: 40px;
  max-width: 600px;
  margin: auto;
  line-height: 1.6;
}
h1 {
  font-size: 1.8em;
}
a {
  display: block;
  margin-bottom: 8px;
  color: #0000EE;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.note {
  margin-top: 20px;
  font-style: italic;
  font-size: 0.95em;
}

.exhibitions-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.exhibitions-list li {
  margin-bottom: 12px;
}

.exhibitions-list a {
  text-decoration: underline;
  color: #000;
  transition: opacity 0.2s ease;
}

.exhibitions-list a:hover {
  opacity: 0.7;
}

.external-link {
  text-decoration: underline;
  color: #000;
  transition: opacity 0.2s ease;
}

.external-link:hover {
  opacity: 0.7;
}

/* Fluid content for phones, tablets, browser zoom and long addresses. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0; overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
@media (max-width: 640px) {
  body { padding: 24px 20px; }
  h1 { line-height: 1.3; }
}
@media (max-width: 360px) {
  body { padding-left: 16px; padding-right: 16px; }
}

/* Compact footer language links with comfortable touch targets. */
.language-nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0; margin:0; padding:0; color:#888; font-size:12px; font-weight:400; line-height:1; }
.language-nav a { display:inline-flex; align-items:center; justify-content:center; min-width:32px; min-height:44px; box-sizing:border-box; margin:0; padding:0 5px; color:#777; font-weight:400; text-decoration:none; }
.language-nav a:hover { color:#111; text-decoration:underline; text-underline-offset:3px; }
.language-nav a[aria-current="page"] { color:#333; }
.language-nav a:focus-visible { outline:2px solid #777; outline-offset:1px; }
html[lang="zh-Hans"] body { font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif; line-height:1.8; }
html[lang="zh-Hans"] p { line-height:1.8; }

.footer-row { display:flex; align-items:center; justify-content:space-between; gap:8px 16px; width:100%; margin-top:12px; text-align:left; }
.footer-row .footer-name { flex:1 1 auto; min-width:0; margin:0; color:#777; font-size:12px; line-height:1.5; }
.footer-row .language-nav { flex:0 0 auto; margin:0; }
