:root {
  --ink: #222;
  --muted: #666;
  --line: #ddd;
  --paper: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f3;
  color: var(--ink);
  font-family: Georgia, "Times New Roman",
               "Noto Serif SC", serif;
  line-height: 1.9;
}

.page {
  width: min(100%, 1050px);
  min-height: 100vh;
  margin: auto;
  padding: 36px clamp(24px, 6vw, 65px);
  background: var(--paper);
}

/* ===== HEADER ===== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  font-size: 13px;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 3px;
}

.domain {
  color: var(--muted);
}

/* ===== TITLE ===== */

.title {
  text-align: center;
  padding: 55px 0 35px;
}

h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-weight: normal;
}

.subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ===== TWO COLUMNS ===== */

main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.column {
  min-width: 0;
  font-size: 15px;
  text-align: start;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 16px;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

p {
  margin: 0 0 18px;
}

/* Reserved writing space */
.blank {
  min-height: 110px;
}

/* ===== GRAPHICAL ABSTRACT ===== */

.abstract {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  padding: 14px;
}

.abstract-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.image-placeholder {
  aspect-ratio: 4 / 3;
  background: #f7f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

.abstract img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== FOOTER ===== */

footer {
  margin-top: clamp(48px, 8vw, 100px);
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {
  .page {
    padding: 24px;
  }

  main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .title {
    padding: 40px 0 28px;
  }
}

/* Links, images and keyboard navigation */
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.abstract figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

@media (max-width: 700px) {
  .blank { min-height: 56px; }
}
