/* Safe AI Heidelberg — simple mirror of the old Squarespace layout */
:root {
  --blue: #1f4fbf;
  --text: #1c1c1c;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --bg: #ffffff;
  --max: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
.site-header nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.site-header nav a.brand { color: var(--blue); font-weight: 700; margin-right: auto; }
.site-header nav a[aria-current="page"] { color: var(--blue); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero img.photo {
  width: 200px;
  max-width: 100%;
  border-radius: 6px;
}
.hero .hero-text { flex: 1 1 280px; }
.hero img.wordmark { width: 100%; max-width: 380px; display: block; }
.tagline { color: var(--muted); font-size: 1.05rem; margin-top: 0.75rem; }

h1, h2, h3 { line-height: 1.25; }
h2 {
  margin-top: 2.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--blue);
}

.event {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.event h3 { margin: 0 0 0.3rem; }
.event .meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.5rem; }
.event p { margin: 0.4rem 0; }

.button {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { opacity: 0.9; }

.link-list { list-style: none; padding: 0; }
.link-list li { margin: 0.6rem 0; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer div {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}
