/* -------------------------------------------------
   CV‑specifieke stijlen (ook gebruikt door pubs.php)
   ------------------------------------------------- */

/* ------------------------------
   Algemeen: sectiekoppen
   ------------------------------ */
.cv-section h2 {
    margin-top: 2rem;
}

/* -------------------------------------------------
   Collapsible (inklapbare) sectie
   ------------------------------------------------- */
.collapsible-toggle {
    background: #e6e6e6;
    padding: 0.6rem 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
.collapsible-content {
    display: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid #0066cc;
    overflow: hidden;
    transition: max-height .3s ease-out, opacity .2s ease;
    opacity: 0;
}
.collapsible-content.open {
    display: block;
    opacity: 1;
}

/* -------------------------------------------------
   Huidige‑functie‑details (optioneel)
   ------------------------------------------------- */
.current-role-details,
.current-role-heading {
    margin-left: 1.5rem;
}

/* -------------------------------------------------
   Overige helpers
   ------------------------------------------------- */
.cv-item {
    margin-bottom: 1rem;
}
.abstract-text {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    white-space: normal;
}

/* -------------------------------------------------
   PUBLICATIE‑HEADER – lay‑out
   ------------------------------------------------- */

/* Container: flex‑kolom zodat titel en referentie netjes onder elkaar staan */
.pub-header {
    background: #f5f5f5;
    padding: 0.5rem 0.5rem;          /* compactere padding */
    border-radius: 4px;
    margin-bottom: 0;         /* minder ruimte tot de collapsible‑inhoud */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Titel – vult de volledige breedte van de container */
.pub-header .collapsible-toggle {
    margin: 0;
    background: transparent;
    cursor: pointer;
    align-self: stretch;
    width: 100%;
    font-size: 1.1em;
}

/* Referentie‑tekst – exact onder de titel, dezelfde linkermarge */
.pub-header .pub-ref {
    margin: 0 0 0 1rem;          /* kleine boven‑marge → minder witruimte */
    padding: 0;                    /* geen extra offset */
    width: 100%;                  /* zorgt dat hij dezelfde linkermarge heeft */
    color: #777;
    font-size: 1em;
    line-height: 1.2;
}

/* DOI‑link – accentkleur */
.pub-header .pub-ref a {
    color: #0066cc;
    text-decoration: underline;
}

/* Hover‑feedback voor de titel */
.pub-header .collapsible-toggle:hover {
    text-decoration: underline;
}

/* -------------------------------------------------
   PUBLICATIE‑ITEM – afstand tussen publicaties
   ------------------------------------------------- */
.publication-item {
    margin-bottom: 1rem;           /* verkleinde afstand tussen afzonderlijke items */
}

/* -------------------------------------------------
   EVENTUELE OVERIGE STIJLEN
   ------------------------------------------------- */
/* (hier kun je later extra regels toevoegen) */