/* =====================================================
   site.css — Shared styles for all pages
   ===================================================== */

/* --- Base links --- */
a {
  color: #3a6ec8;
  text-decoration: none;
}
a:hover { color: #1e4a96; }
a:visited { color: #9878b8; }
a:visited:hover { color: #7058a0; }

/* --- Back link --- */
.back-link {
  font-size: 0.82rem;
  font-weight: 300;
  color: #bbb;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.back-link:hover { color: #555; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #d8d8d8;
  padding: 2rem 0;
  font-size: 0.82rem;
  font-weight: 300;
  color: #bbb;
}
.site-footer a {
  color: #bbb;
  text-decoration: none;
}
.site-footer a:hover { color: #555; }

/* --- Section label (shared heading style) --- */
.section-label {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1.5rem;
}

/* =====================================================
   Seminar index pages (bits-bytes-art, videokunst)
   ===================================================== */

.meta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: #999;
  margin-bottom: 0;
}
.meta-block span strong {
  color: #555;
  font-weight: 400;
}

.body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.82;
  color: #333;
  max-width: 680px;
}
.body-text + .body-text { margin-top: 1rem; }

.login-v2 {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid #111;
  color: #111;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.login-v2:visited { color: #111; }
.login-v2:hover,
.login-v2:visited:hover { background: #111; color: #fff; }

.lit-flow {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.9;
  color: #333;
  margin: 0;
}
.lit-flow a:hover { color: #1e4a96; }

section { padding: 3.5rem 0; }
section + section { border-top: 1px solid #d8d8d8; }

/* =====================================================
   Materialien pages (#content — rendered markdown)
   ===================================================== */

#content h1 {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2rem;
  display: none;
}

#content h2 {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #d8d8d8;
}
#content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

#content h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: #222;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

#content p {
  font-size: 0.875rem;
  font-weight: 300;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

#content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#content li {
  font-size: 0.875rem;
  font-weight: 300;
  color: #333;
  padding: 0;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

#content a {
  color: #3a6ec8;
  text-decoration: none;
}
#content a:hover { color: #1e4a96; }
#content a:visited { color: #9878b8; }
#content a:visited strong { color: #9878b8; }
#content a:visited:hover { color: #7058a0; }

#content strong {
  font-weight: 500;
  color: #111;
}
#content a strong {
  color: #b05080;
  font-weight: 300;
}
#content li strong {
  color: #b05080;
  font-weight: 300;
}

#content em { font-style: italic; }

#content hr {
  border: none;
  border-top: 1px solid #d8d8d8;
  margin: 2.5rem 0;
}

/* --- Session date headings --- */
#content .session-heading {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: none;
  color: #222;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
  text-decoration: underline;
  text-decoration-color: #888;
  text-underline-offset: 0.25em;
}

#content .session-heading .date-highlight {
  background: #ffff99;
  color: #222;
  padding: 0.05em 0.35em;
  margin-left: -0.35em;
}

/* --- Accordion --- */
.accordion-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  user-select: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #444;
  border: none;
  padding: 0.5rem 0;
  margin-top: 0;
  margin-bottom: 0;
}
#content h2.accordion-toggle,
#content h3.accordion-toggle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #444;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-top: 0.25rem;
  border-top: none;
}
.accordion-toggle:hover { color: #000; }

.accordion-toggle .acc-icon {
  font-size: 0.75rem;
  font-weight: 300;
  color: #111;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: color 0.2s;
}
.accordion-toggle.open .acc-icon { color: #111; }

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.accordion-body.open {
  max-height: 9999px;
  padding: 0.5rem 0 1rem 0;
}
