/* The Engine template prints an unconditional Message link. Its eligible replacement is server rendered. */
.nweco-person-profile .nwpub-identity-actions > a[href*="profile_kind=photographer"],
.nweco-person-profile .nwpub-identity-actions > a[href*="profile_kind=artist"],
.nweco-person-profile .nwpub-identity-actions > a[href="#nwpub-contact"] {
    display: none;
}
.nweco-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    max-width: 100%;
}
.nweco-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: .5rem .95rem;
    border-radius: 10px;
    background: #32262c;
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}
.nweco-contact a.nweco-contact__request { background: #851537; }
.nweco-contact a:hover { text-decoration: underline; }
.nweco-contact a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nweco-person-profile #nwpub-contact:not(:has(.nwpub-contact-links, .nwpub-contact-person)),
.nweco-person-profile:not(:has(#nwpub-contact .nwpub-contact-links, #nwpub-contact .nwpub-contact-person)) .nwpub-section-nav a[href="#nwpub-contact"] {
    display: none;
}
