html {
    scroll-behavior: smooth;
}
/* 1. Label + value together in one element (Tel:, Organisation, Auteur, Date de publication...) */
:is(p, h4):has(.field-value):not(:has(.field-value:not(:empty))) {
  display: none;
}

/* 2. Label and value split across two sibling elements
      (e.g. "Type de service:" + h4, "Thématique(s) abordée(s):" + p) */
.pratique :is(p, h4):has(+ :is(p, h4):has(.field-value):not(:has(.field-value:not(:empty)))) {
  display: none;
}

/* 3. "Voir le fichier" button: text is always static, so check the href instead */
.ressources-contact-left p:has(> a.field-value-href[href=""]) {
  display: none;
}

/* 4. Video embed */
.media-video:empty {
  display: none;
}

/* Hide a line break when the value right after it is empty */
.ressources-contact-left br:has(+ .field-value:empty) {
  display: none;
}

/* Hide the comma if either the value before or after it is empty */
.ressources-contact-left .field-value:empty + .field-sep,
.ressources-contact-left .field-sep:has(+ .field-value:empty) {
  display: none;
}

.media-video iframe[src*="open.spotify.com"] {
  aspect-ratio: unset !important;
  height: 352px !important; /* or 152px if you ever use the compact Spotify embed */
}

.registration-info .header .status-container {
        margin-top: 40px;
}