/* A quiet, readable header for the site's shared page template. */
.container > header { padding: 1.2rem 0 1.6rem; }
.container > header h1 { margin-bottom: .15rem; }
.container > header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .2rem 1.25rem;
  margin: 0;
}
.container > header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .95rem;
}
.editorial-policy { text-align: left; }
.editorial-policy .dhamma-content { margin-top: 0; }
.editorial-policy h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.editorial-policy h3 {
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 2.1rem 0 .35rem;
  color: var(--text-primary);
}
.editorial-policy p { margin: .5rem 0 0; }
.editorial-policy a { text-decoration: underline; text-underline-offset: 3px; }
.legacy-editorial-note {
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  max-width: 800px;
  border-left: 2px solid #a6b8a5;
  background: #f6f8f4;
  color: #465b4c;
  font-size: .94rem;
  line-height: 1.8;
}
.legacy-editorial-note p { margin: 0 0 .35rem; }
.legacy-editorial-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .container > header { padding: .5rem 0 1rem; }
  .container > header nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem .7rem;
    text-align: left;
  }
  .container > header nav a { font-size: .9rem; line-height: 1.45; }
  .editorial-policy h3 { margin-top: 1.8rem; }
}
