:root {
  --link: #367388;
  --ink: #222;
  --muted: #555;
  --header: #1c1c1c;
  --banner: #e4e4e4;
  --rule: #cac7c7;
  --pdf: #585858;
  --page: #fff;
  --footer: #ececec;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip { position: absolute; left: -999px; }

.pkp_head {
  background: var(--header);
  color: #fff;
}
.user-nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 24px 0;
  font-size: 13px;
}
.user-nav a { color: #d7d7d7; }
.head-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px 16px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 210px;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  letter-spacing: 0.02em;
  line-height: 1;
  font-weight: 700;
}
.brand-text {
  font-size: 12px;
  line-height: 1.2;
  color: #cfd6d8;
  max-width: 130px;
}
#main-navigation {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
}
#main-navigation a,
#main-navigation summary {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
}
#main-navigation summary::-webkit-details-marker { display: none; }
#main-navigation details { position: relative; }
#main-navigation .menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  min-width: 240px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 20;
}
#main-navigation .menu a {
  display: block;
  color: #222;
  text-transform: none;
  font-weight: 400;
  padding: 7px 14px;
}
#main-navigation .menu a:hover {
  background: #367388;
  color: #fff;
  text-decoration: none;
}
.search-form {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.search-form input {
  height: 32px;
  border: 0;
  padding: 0 10px;
  width: 170px;
}
.search-form button {
  height: 32px;
  border: 0;
  background: #fff;
  padding: 0 10px;
  cursor: pointer;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
}
main { min-width: 0; }

.breadcrumb {
  background: #f3f3f3;
  padding: 8px 12px;
  margin: 0 0 22px;
  color: #777;
  font-size: 14px;
}
.breadcrumb a { color: var(--link); }

.intro { margin: 18px 0 28px; color: #333; }
.cover { width: 100%; height: auto; display: block; margin-bottom: 18px; }

.section-banner {
  border-top: 2px solid gray;
  background: var(--banner);
  padding: 8px 10px;
  margin: 28px 0 14px;
}
.section-banner h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #555;
}

.volume { font-size: 18px; margin: 10px 0 16px; }

.article-row {
  position: relative;
  border-bottom: 1px solid var(--rule);
  padding: 18px 90px 18px 0;
}
.article-row h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}
.article-row h3 a { color: var(--link); }
.authors { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.pdf-btn {
  position: absolute;
  right: 0;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  background: var(--pdf);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}
.pdf-btn:hover { background: #367388; }

.archive-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
}

.sidebar-widget { margin-bottom: 22px; }
.sidebar-widget h2 {
  background: var(--banner);
  border-top: 2px solid gray;
  padding: 6px 8px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sidebar-widget .content { padding: 4px 8px 8px; color: #333; font-size: 14px; }
.sidebar-widget .content p { margin: 8px 0; }
.news a { display: block; margin: 8px 0; font-weight: 500; }
.publisher-card { overflow: hidden; }
.publisher-card img {
  float: right;
  width: 92px;
  height: 92px;
  object-fit: cover;
  margin-left: 8px;
}

.page h1 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 500;
  color: #444;
}

.form-group { margin: 0 0 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-control {
  width: 100%;
  height: 36px;
  border: 1px solid #ccc;
  padding: 0 10px;
  font: inherit;
}
textarea.form-control { height: 120px; padding: 8px 10px; }
.checkbox { margin: 12px 0 18px; }
.buttons { display: flex; gap: 10px; margin-top: 8px; }
.btn {
  border: 0;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
  color: #fff;
}
.btn-primary { background: #2f6f9f; }
.btn-dark { background: #222; }
.btn:hover { opacity: 0.92; }
.error { color: #a40000; margin: 0 0 12px; }
.ok { color: #0b5; margin: 0 0 12px; }

.dash-roles {
  display: flex;
  gap: 18px;
  margin: 12px 0 22px;
  font-weight: 600;
}
.dash-card {
  border: 1px solid #ddd;
  padding: 16px;
  margin: 0 0 16px;
}
.dash-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.sub-table { width: 100%; border-collapse: collapse; }
.sub-table th, .sub-table td {
  text-align: left;
  border-bottom: 1px solid var(--rule);
  padding: 10px 6px;
  vertical-align: top;
}

.prose h2 { font-size: 20px; margin: 22px 0 8px; font-weight: 600; }
.prose ul { margin: 0 0 16px 1.2em; }
.track-list { list-style: none; padding: 0; margin: 0; }
.track-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.track-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }

.mysite-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 22px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}
.mysite-nav a.active { color: #111; text-decoration: underline; }
.role-pill {
  display: inline-block;
  background: #e4e4e4;
  padding: 3px 10px;
  margin-right: 8px;
  font-size: 13px;
}
.thread { margin: 16px 0; }
.thread-item {
  border-left: 3px solid #367388;
  padding: 10px 12px;
  margin: 0 0 12px;
  background: #f7f9fa;
}
.thread-item.writer { border-color: #585858; background: #f4f4f4; }
.thread-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.article-page h1 {
  font-size: 26px;
  color: var(--link);
  font-weight: 500;
}
.article-meta { color: var(--muted); margin-bottom: 18px; }
.article-status { font-size: 13px; color: #1f5a3a; margin: 4px 0 8px; }
.issue-complete { background: #f4f8f5; border: 1px solid #c5dccb; padding: 12px 14px; margin: 12px 0 18px; font-size: 14px; line-height: 1.5; }
.imprint { margin-top: 28px; padding: 16px; border: 1px solid #d0d0d0; background: #fafafa; }
.imprint h2 { margin-top: 0; font-size: 18px; }
.board-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
.board-table th, .board-table td { border: 1px solid #ccc; padding: 8px 10px; text-align: left; vertical-align: top; }
.board-table th { background: #eee; }

footer.site-footer {
  background: var(--footer);
  padding: 28px 20px;
  color: #555;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.pkp { font-size: 22px; color: #222; line-height: 1.1; text-align: right; }
.pkp small { display: block; font-size: 12px; color: #666; }

@media (max-width: 900px) {
  .head-inner { flex-wrap: wrap; }
  .container { grid-template-columns: 1fr; }
  #main-navigation { flex-wrap: wrap; }
  .search-form { margin-left: 0; }
}
