/* ==========================================================================
   Végécantines — Pages profil « Je suis… » (includes/profil.php)
   ========================================================================== */

.vc-profil {
    margin-top: 24px;
}

/* Sommaire des thématiques (ancres) */
.vc-profil__sommaire {
    margin: 0 0 48px;
    padding: 20px 24px;
    background: var(--vc-vert-clair);
    border-radius: var(--vc-radius);
}
.vc-profil__sommaire ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}
.vc-profil__sommaire li {
    padding: 0 !important;
}
.vc-profil__sommaire a {
    display: inline-block;
    padding: .45em 1.1em;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--vc-vert-fonce);
    background: var(--vc-blanc);
    border: 2px solid var(--vc-vert);
    border-radius: var(--vc-radius-pill);
    text-decoration: none;
    transition: background-color var(--vc-transition), color var(--vc-transition);
}
.vc-profil__sommaire a:hover,
.vc-profil__sommaire a:focus-visible {
    background: var(--vc-vert);
    color: var(--vc-blanc);
}

/* Bloc thématique */
.vc-profil__bloc {
    padding: 0 0 56px;
    scroll-margin-top: 120px; /* compense l'en-tête collant */
}
.vc-profil__titre {
    position: relative;
    padding: 0 0 0 18px !important;
    margin: 0 0 20px;
    font-size: var(--vc-fs-h3);
}
.vc-profil__titre::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 6px;
    border-radius: 3px;
    background: var(--vc-orange);
}
.vc-profil__intro {
    max-width: 760px;
    margin: -8px 0 20px;
    color: var(--vc-texte-doux);
}
.vc-profil__vide {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--vc-texte-doux);
    border: 2px dashed var(--vc-bordure);
    border-radius: var(--vc-radius-s);
}

/* Cartes de ressources : titre en bloc (span, pas de h3 dans un lien) */
.vc-card--ressource .vc-card__title,
.vc-card--ressource .vc-card__text {
    display: block;
}
.vc-card--ressource .vc-tag {
    margin-bottom: 0;
}
.vc-card--ressource {
    min-height: 150px;
}
