/* Publikationen. Allgemeine Styles in custom.css / index.css. */

.pub-kopf { max-width: 45rem; margin-bottom: 3rem; }
.pub-kicker {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
  margin-bottom: .4rem;
}
.pub-kopf h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15em;
}
.pub-lead { font-size: 1.15rem; line-height: 1.45em; }

.pub-liste { margin: 0; max-width: 48rem; }
.pub-eintrag {
  list-style: none;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-light);
}
.pub-eintrag:first-child { padding-top: 0; }
.pub-eintrag h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.pub-eintrag p {
  color: var(--color-text-grey);
  line-height: 1.6em;
  margin-bottom: 1rem;
}

/* Grauer PDF-Download-Button, wie bei den Kurs-Flyern */
.pub-pdf {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--color-light);
  color: var(--color-headings);
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.pub-pdf:hover { background: #e2e2e2; transform: translateY(-2px); }
.pub-pdf img { width: 1.1rem; height: auto; display: block; }

/* Inline-Flyer-Anzeige (natives <details>, kein Plugin) */
.pub-viewer { margin-bottom: .75rem; }
.pub-viewer summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: var(--color-accent);
  font-weight: 600;
  list-style: none;
}
.pub-viewer summary::-webkit-details-marker { display: none; }
.pub-viewer summary::before {
  content: "▸";
  transition: transform .15s;
}
.pub-viewer[open] summary::before { transform: rotate(90deg); }
.pub-frame {
  margin: 1rem 0 .5rem;
  border: 1px solid var(--color-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-light);
}
.pub-frame iframe {
  display: block;
  width: 100%;
  height: 75vh;
  min-height: 480px;
  border: 0;
}
.pub-open {
  display: inline-block;
  font-size: .9rem;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: .5rem;
}
.pub-open:hover { text-decoration: underline; }
