.pub-row{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:1.2rem;
}

.pub-badge{
  flex:0 0 auto;
  padding:0.4rem 0 0 0.4rem;
}

.pub-entry{
  flex:1 1 auto;
  text-indent:-1.8em;       /* hängender Einzug */
  padding-left:1.8em;
  line-height:1.4;
}

.pub-entry p {
  margin-bottom: 0;
}

/* grüne Badge-Links */
a.pub-inline-badge{
  color:#5fa892;
  font-size:90%;
  font-weight:400;
  display:inline;
  white-space:nowrap;
  text-decoration-thickness:2px;
  text-decoration-color:#a6e0c6;
  text-underline-offset:2px;
  margin-right:15px;
  vertical-align:baseline;
}

/* Shortcodes als <p> inline nebeneinander setzen */
.pub-entry p:has(a.pub-inline-badge){
  display:inline;
  margin:0;
  padding-top:0;      /* zusätzliche Sicherheit */
}

/* Abstand zwischen mehreren Badge-Absätzen */
.pub-entry p:has(a.pub-inline-badge) + p:has(a.pub-inline-badge){
  margin-left:15px;
}

/* 1) Allgemeines Wrapping für Listeneinträge */
.content ul li {
  line-height: 1.5;
  margin-bottom: 0.9rem;
  overflow-wrap: anywhere;    /* bricht auch sehr lange Tokens */
  word-break: normal;
  hyphens: auto;              /* Silbentrennung (braucht lang-Attribut im <html>) */
}

/* 2) Lange DOIs/URLs: härter brechen */
.content a[href*="doi.org"],
.content a[href^="http"],
.content a[href^="https"] {
  overflow-wrap: anywhere;
  word-break: break-word;
  text-underline-offset: 2px;
}

/* 3) “Badges” (die kurzen Links nach jedem Eintrag) in eine eigene Zeile zwingen
      und ordentlich umbrechen lassen */
.content ul li > a {
  display: inline-block;
  margin-right: .6rem;
  margin-top: .25rem;
}

@media (max-width: 640px) {
  .content ul li > a {
    display: inline-flex;      /* erlaubt flexibles Umbrechen */
    flex-wrap: wrap;
    max-width: 100%;
  }
}

/* 4) Jahresüberschriften etwas luftiger */
.content h3 {
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}

/* 5) Verhindere No-Wrap-Fallen (falls irgendwo gesetzt) */
.content, .content * {
  white-space: normal !important;
}

/* .... */
.pub-row{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:1.2rem;
}

.pub-badge{
  flex:0 0 auto;
  padding:0.4rem 0 0 0.4rem;
}

.pub-entry{
  flex:1 1 auto;
  text-indent:-1.8em;       /* hängender Einzug */
  padding-left:1.8em;
  line-height:1.4;
}

.pub-entry p {
  margin-bottom: 0;
}

/* grüne Badge-Links */
a.pub-inline-badge{
  color:#5fa892;
  font-size:90%;
  font-weight:400;
  display:inline;
  white-space:nowrap;
  text-decoration-thickness:2px;
  text-decoration-color:#a6e0c6;
  text-underline-offset:2px;
  margin-right:15px;
  vertical-align:baseline;
}

/* Shortcodes als <p> inline nebeneinander setzen */
.pub-entry p:has(a.pub-inline-badge){
  display:inline;
  margin:0;
  padding-top:0;      /* zusätzliche Sicherheit */
}

/* Abstand zwischen mehreren Badge-Absätzen */
.pub-entry p:has(a.pub-inline-badge) + p:has(a.pub-inline-badge){
  margin-left:15px;
  margin-bottom: 100px;
}

/* 1) Allgemeines Wrapping für Listeneinträge */
.content ul li {
  line-height: 1.5;
  margin-bottom: 0.9rem;
  overflow-wrap: anywhere;    /* bricht auch sehr lange Tokens */
  word-break: normal;
  hyphens: auto;              /* Silbentrennung (braucht lang-Attribut im <html>) */
}

/* 2) Lange DOIs/URLs: härter brechen */
.content a[href*="doi.org"],
.content a[href^="http"],
.content a[href^="https"] {
  overflow-wrap: anywhere;
  word-break: break-word;
  text-underline-offset: 2px;
}

/* 3) “Badges” (die kurzen Links nach jedem Eintrag) in eine eigene Zeile zwingen
      und ordentlich umbrechen lassen */
.content ul li > a {
  display: inline-block;
  margin-right: .6rem;
  margin-top: .25rem;
}
@media (max-width: 640px) {
  .content ul li > a {
    display: inline-flex;      /* erlaubt flexibles Umbrechen */
    flex-wrap: wrap;
    max-width: 100%;
  }
}

/* 4) Jahresüberschriften etwas luftiger */
.content h3 {
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}

/* 5) Verhindere No-Wrap-Fallen (falls irgendwo gesetzt) */
.content, .content * {
  white-space: normal !important;
}

.home-page {
  max-width: 1240px;
  width: 100%;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.home-card {
  border: 1px solid #e2e2e2;
  background: #fff;
  overflow: hidden;
}

.home-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.home-card-content {
  padding: 1rem 1.1rem 1.2rem;
}

.home-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.home-card p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.96rem;
}

@media (max-width: 700px) {
  .home-cards {
    grid-template-columns: 1fr;
  }
}

.profile-image-right {
  float: right;
  width: 160px;
  height: auto;
  margin: 0.4rem 0 1rem 1.5rem;
  /* border-radius: 50%; */
  border: 1px solid #e2e2e2;
  /* background: #f4f4f4; */
  padding: 0;
}

/* Selected Publications */
.selected-publications {
  margin-top: 2.4rem;
}

.pub-selected {
  margin: 1rem 0 2.2rem;
  line-height: 1.4;
}

.pub-ref {
  margin: 0 0 0.5rem;
  line-height: 1.4;
  padding-left: 2.2rem;
  text-indent: -2.2rem;
}

.pub-ref a {
  word-break: break-word;
}

.pub-summary {
  margin: 0 0 0 1rem;
  padding: 0 0 0 1rem;
  border-left: 4px solid #b0d9cc;
  font-size: 1rem;
  line-height: 1.4;
  color: #666;
  font-style: italic;
}