html[lang="en"] { font-family: "Nunito", "DM Sans", system-ui, sans-serif; }

.site-nav .site-language {
  border: 1px solid #b6c2af;
  min-width: 56px;
}

[lang="en"] .site-nav .journal-nav { color: #285a3e; }
[lang="en"] .place-copy { min-height: 103px; }
[lang="en"] .pin { font-size: clamp(11px, 1vw, 15px); }

.journal-page {
  --paper-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  padding: 29px 0 60px;
}

.journal-masthead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: 19px;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid #d6dfcd;
  border-radius: 22px;
  background: #e9efdf;
}

.journal-masthead h1, .journal-heading h1, .paper-heading h1 {
  font-family: var(--paper-serif);
  font-weight: 600;
  letter-spacing: -.042em;
  line-height: 1.08;
  font-size: clamp(38px, 5vw, 72px);
  overflow-wrap: anywhere;
}

.journal-masthead p, .journal-heading p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
  max-width: 58ch;
  margin-top: 15px;
}

.journal-masthead .button { flex-shrink: 0; }

.journal-index {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(230px, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 34px;
}

.journal-index h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 12px; }
.journal-empty, .research-note, .article-entry, .journal-form, .research-paper {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.journal-empty, .research-note { padding: 25px; }
.journal-empty h3 { margin: 0 0 9px; font-size: 19px; }
.journal-empty p, .research-note p { color: var(--muted); line-height: 1.65; }
.research-note { margin-top: 40px; background: #f3eddf; }
.research-note h2 { font-size: 19px; }
.journal-status { color: var(--muted); font-size: 14px; line-height: 1.55; }

.article-entry { display: block; padding: 20px 23px; margin-bottom: 12px; }
.article-entry:hover { border-color: #78927a; background: #f9fbf2; }
.article-entry h3 { margin: 5px 0 8px; font-family: var(--paper-serif); font-size: 27px; overflow-wrap: anywhere; }
.entry-abstract { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); line-height: 1.6; }
.journal-date { color: #52684d; font-size: 13px; font-weight: 750; }
.paper-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.paper-keywords span { background: #ebf1e5; border-radius: 100px; padding: 5px 10px; color: #38553d; font-size: 13px; overflow-wrap: anywhere; max-width: 100%; }

.journal-heading { margin: 17px 0 24px; }
.journal-form { display: grid; gap: 17px; padding: clamp(17px, 3vw, 36px); max-width: 860px; }
.journal-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.journal-form input, .journal-form textarea, .journal-form select {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #b5bdad;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 450;
  line-height: 1.5;
}

.journal-form textarea { resize: vertical; }
.editor-metadata, .editor-uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.file-control { border: 1px solid #d8e0d3; background: #f1f5eb; border-radius: 11px; padding: 13px; }
.file-control > span { color: var(--muted); font-weight: 450; font-size: 13px; }
.file-control input[type="file"] { padding: 7px; font-size: 13px; }
.file-control input[type="file"]::file-selector-button { padding: 7px 9px; border: 0; border-radius: 6px; background: #e7eee3; color: var(--ink); margin-right: 6px; cursor: pointer; }
.editor-body-heading, .editor-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.editor-actions { justify-content: flex-start; }
.editor-actions .journal-status { flex-basis: 100%; }
.editor-actions .journal-status:empty { display: none; }

.research-paper { max-width: 850px; margin: 17px auto 0; padding: clamp(22px, 5vw, 64px); }
.paper-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.paper-heading h1 { font-size: clamp(36px, 4.8vw, 59px); margin-top: 8px; }
.paper-heading .text-link { font-size: 14px; }
.paper-abstract { margin-top: 24px; padding: 19px 21px; border-left: 3px solid #608060; background: #eff3ea; }
.paper-abstract h2 { font-size: 17px; margin-bottom: 7px; }
.paper-abstract p, .paper-body { font-family: var(--paper-serif); color: #34483a; font-size: 18px; line-height: 1.72; overflow-wrap: anywhere; }
.paper-body { margin-top: 24px; }
.paper-body h2, .paper-body h3 { color: var(--ink); line-height: 1.25; margin: 24px 0 8px; }
.paper-body h2 { font-size: 26px; }
.paper-body h3 { font-size: 22px; }
.paper-body p { margin: 0 0 14px; white-space: pre-line; }
.paper-body blockquote { margin: 0 0 15px; padding-left: 15px; border-left: 2px solid #a8b6a0; }
.paper-attachment { margin-top: 20px; overflow-wrap: anywhere; max-width: 100%; }

@media (max-width: 920px) {
  .site-nav { gap: 4px; }
  [lang="en"] .site-nav a { padding-inline: 9px; }
  .journal-masthead { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (max-width: 680px) {
  [lang="en"] .pin { padding-inline: 6px; font-size: 11px; }
  .site-nav { flex-wrap: wrap; justify-content: center; }
  [lang="en"] .site-nav a { font-size: 13px; }
  .journal-index, .editor-uploads, .editor-metadata { grid-template-columns: 1fr; gap: 15px; }
  .research-note { margin-top: 0; }
  .journal-page { padding-block: 16px 38px; }
}
