/* Blog post pages. Tokens copied from the landing so posts read as the same site. */
:root {
  --navy: #1E3A8A;
  --navy-deep: #0F1F4A;
  --navy-ink: #081530;
  --teal: #14B8A6;
  --teal-soft: #5EEAD4;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #0A1929;
  --ink-soft: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; max-width: var(--maxw); margin: 0 auto; }
.logo-img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy); }
/* "For societies & congresses": the long part shows from 901px up. */
@media (max-width: 900px) {
  .nav-long { display: none; }
}
.btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.btn-primary { background: var(--navy-deep); color: #fff; }

.post { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 28px clamp(60px, 8vw, 110px); }
.back { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.post h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(2rem, 4.4vw, 3rem); color: var(--ink); margin: 20px 0 14px;
}
.post-meta { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 36px; }
.post-body p { margin-bottom: 1.15em; }
.post-body h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
  font-size: 1.55rem; color: var(--ink); margin: 1.8em 0 0.6em;
}
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.3em; }
.post-body li { margin-bottom: 0.5em; }
.post-figure { margin: 1.6em 0 2em; }
.post-figure img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.post-figure figcaption { font-size: 0.85rem; line-height: 1.55; color: var(--muted); margin-top: 10px; }
.post-figure .fig-source { display: block; margin-top: 6px; }
.post-body a { color: var(--navy); text-decoration: underline; overflow-wrap: anywhere; }

footer { background: var(--navy-ink); color: rgba(255, 255, 255, 0.6); padding: 28px 0; font-size: 0.88rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a:hover { color: var(--teal-soft); }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
footer a:focus-visible { outline-color: var(--teal-soft); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  body { font-size: 17px; }
}
