/* AncestroWeb — Styles d’origine, cascade conservée. */

   #profile .pcm-identity {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
    margin: 10px 0 12px;
}

#profile .pcm-identity>div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    column-gap: 7px;
    background: #f7f9f5;
    border-radius: 7px;
    padding: 7px 9px;
    min-height: 34px;
    font-size: 13px;
    min-width: 0;
}

/* Aligner les valeurs, y compris l’icône du sexe, après les libellés. */
#profile .pcm-identity strong {
    display: block;
    font-size: 12px;
    white-space: nowrap;
    color: #405347;
}

#profile .pcm-identity span {
    overflow-wrap: anywhere;
}

#profile .pcm-section {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #d7dfd6;
}

#profile .pcm-section h3 {
    font-size: 17px;
    margin: 0 0 8px;
}

#profile .pcm-events p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

#profile .pcm-family>div {
    margin: 7px 0;
}

#profile .pcm-family>div>strong {
    font-size: 13px;
}

#profile .pcm-family p {
    margin: 3px 0;
}

#profile .pcm-family .relative {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 13px;
    margin: 2px 4px 2px 0;
}

#profile>h2 {
    margin: 5px 0 8px;
}

#profile label:has(#rootCheckbox) {
    margin: 7px 0 !important;
    font-size: 13px;
}

@media(max-width:650px) {
    #profile .pcm-identity {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
  
