/* Simple, plain layout — easy to read, not flashy */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
a { color: #0645ad; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid #ccc;
  padding: 16px 0 12px;
  margin-bottom: 20px;
}
.nav {
  display: block;
}
.brand {
  display: block;
  text-decoration: none;
  color: #111;
  margin-bottom: 10px;
}
.brand:hover { text-decoration: none; }
.logo {
  display: none;
}
.brand strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.brand small {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #555;
  font-weight: normal;
  margin-top: 2px;
}
.nav nav {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}
.nav nav a {
  color: #0645ad;
  margin-right: 14px;
  text-decoration: none;
  font-weight: normal;
}
.nav nav a:hover,
.nav nav a.active {
  text-decoration: underline;
}

.wrap { max-width: 100%; }
.main { padding: 0; }

/* Hero — plain text, no gradient box */
.hero {
  background: none;
  color: #222;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 0 0 16px;
  margin-bottom: 24px;
  box-shadow: none;
}
.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}
.hero p {
  font-size: 0.95rem;
  color: #444;
  opacity: 1;
}

/* Cards / grid — simple list style */
.grid {
  display: block;
}
.card {
  background: #fff;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 16px 0;
  box-shadow: none;
  margin-bottom: 4px;
}
.card .meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  color: #666;
  font-weight: normal;
  margin-bottom: 4px;
}
.card h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}
.card h2 a {
  color: #0645ad;
  text-decoration: none;
  font-weight: 700;
}
.card h2 a:hover { text-decoration: underline; }
.card p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.card .more {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

/* Article */
.article {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0 0 24px;
  box-shadow: none;
}
.article .meta {
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.article h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  color: #111;
}
.article .body { color: #222; font-size: 1.02rem; }
.article .body h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: #111;
}
.article .body h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  margin: 18px 0 8px;
}
.article .body p { margin-bottom: 12px; }
.article .body ul,
.article .body ol { margin: 8px 0 14px 1.4rem; }
.article .body li { margin-bottom: 6px; }

/* Static pages */
.page-box {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0 0 24px;
  box-shadow: none;
}
.page-box h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}
.page-box h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: #111;
}
.page-box p { color: #222; margin-bottom: 10px; }
.page-box ul { margin: 8px 0 12px 1.3rem; color: #222; }
.page-box li { margin-bottom: 6px; }

.contact-card {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 14px 0;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #ccc;
  padding: 24px 0 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  color: #555;
  margin-top: 32px;
}
.footer-grid {
  display: block;
  margin-bottom: 16px;
}
.footer-grid > div { margin-bottom: 14px; }
.site-footer strong {
  display: block;
  color: #222;
  margin-bottom: 4px;
}
.site-footer a {
  display: inline;
  margin: 0 10px 0 0;
  color: #0645ad;
  font-weight: normal;
}
.site-footer a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid #e0e0e0;
  padding: 12px 0 4px;
  font-weight: bold;
}
.footer-legal a { margin: 0 16px 6px 0; display: inline-block; }
.copy {
  font-size: 0.8rem;
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
  color: #666;
}

/* Buttons / forms — plain */
.btn {
  display: inline-block;
  border: 1px solid #888;
  cursor: pointer;
  background: #f0f0f0;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn:hover {
  background: #e4e4e4;
  text-decoration: none;
  color: #111;
}
.btn-muted { background: #f5f5f5; }
.input {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 8px 10px;
  font: inherit;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}
label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}
.alert {
  padding: 10px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}
.alert-err { background: #ffecec; color: #a00; border: 1px solid #e0b4b4; }
.alert-ok { background: #eef8ee; color: #060; border: 1px solid #b5d6b5; }
.admin-bar { margin-bottom: 16px; }
.admin-bar .btn { margin-right: 6px; margin-bottom: 6px; }

/* Center “view all” link area */
.main > p { font-family: Arial, Helvetica, sans-serif; }

/* Author box on articles */
.author-box {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 0 0 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}
.author-box strong {
  display: block;
  color: #111;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.author-box p {
  color: #444;
  margin: 0;
  line-height: 1.5;
  font-size: 0.88rem;
}
.article-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
}

/* Contact form */
.contact-form { margin-top: 12px; max-width: 520px; }
.contact-form .btn { margin-top: 6px; }

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222;
  color: #eee;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-inner p { flex: 1; margin: 0; min-width: 200px; line-height: 1.45; }
.cookie-inner a { color: #9cf; }
.cookie-inner .btn {
  background: #fff;
  color: #111;
  border: none;
  flex-shrink: 0;
}

/* Mobile readability */
@media (max-width: 600px) {
  body { font-size: 16px; padding: 0 12px 48px; }
  .nav nav a { display: inline-block; margin: 4px 10px 4px 0; }
  .hero h1 { font-size: 1.25rem; }
  .article h1 { font-size: 1.3rem; }
  .card h2 { font-size: 1.05rem; }
  .btn { min-height: 44px; padding: 10px 16px; }
  .input { font-size: 16px; /* avoid iOS zoom */ }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-inner .btn { width: 100%; }
}

/* ---- Added: figures, tables, byline, author box ---- */
.byline { font-family: Arial, Helvetica, sans-serif; font-size: 0.88rem; color: #555; margin: 0 0 18px; }
.article .body h2 { font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; margin: 26px 0 8px; color: #111; }
.article .body p, .article .body ul, .article .body ol { margin-bottom: 14px; }
.article .body ul, .article .body ol { padding-left: 24px; }
.article .body blockquote { border-left: 3px solid #bbb; padding: 4px 14px; margin: 12px 0 16px; background: #f8f8f8; font-size: 0.95rem; }
.fig { margin: 20px 0; text-align: center; }
.fig svg, .fig img { max-width: 100%; height: auto; border: 1px solid #ddd; background: #fff; }
.fig figcaption { font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; color: #555; margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; margin: 16px 0; font-family: Arial, Helvetica, sans-serif; font-size: 0.88rem; display: block; overflow-x: auto; }
.tbl caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
.tbl th, .tbl td { border: 1px solid #ccc; padding: 6px 9px; text-align: left; vertical-align: top; }
.tbl th { background: #f0f0f0; }
.author-box { border: 1px solid #ddd; background: #fafafa; padding: 14px 16px; margin: 28px 0 16px; font-size: 0.93rem; }
.author-box strong { font-family: Arial, Helvetica, sans-serif; }
.author-box .role { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 0.82rem; color: #666; margin-bottom: 6px; }
.author-box p { margin-top: 6px; }
