
/* content */
.identity-card {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-md);
    background-color: white;
}
.identity-card figure {
    display: flex;
    flex-shrink: 0;
    flex-basis: clamp(115px, 10vw, 152px);
    height: clamp(115px, 10vw, 152px);
    width: clamp(115px, 10vw, 152px);
    max-width: 136px;
    margin: 0;
    width: 100%;
    position: relative;
    justify-content: center;
}
.identity-card figure img {
    object-fit: cover;
    max-width: 124px;
    max-height: 124px;
}
.identity-card figure img.hex-mask
{
	mask-image: var(--svg-hex-mask-land);
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    mask-position: center;
    max-width: 124px;
    max-height: 124px;
    min-width: 124px;
    min-height: 124px;
    object-position: top center;
	object-fit: cover;
}
.identity-card figure span.hex-mask-empty
{
	width: 100%;
    height: 100%;
    display: block;
	background-image: var(--svg-no-person-land);
	background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}
.identity-card_content {
    width: calc(100% - (136px + var(--gap-md)));    
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding-top: var(--gap-sm);
}
.identity-card strong {
    display: block;
    margin-top: 0;
    cursor: pointer;
}
.identity-card strong a {
    text-decoration: underline!important;
    text-transform: uppercase;
    line-height: 1.1rem;
    display: inline-block;
}
.identity-card_position {
    display: inline-block;
}
.identity-card_meta {
    display: flex;
    position: relative;
    padding-left: var(--gap-lg);
}
.identity-card_meta a {
    border: transparent;
    text-decoration: underline;
    color: black;
    font-size: var(--fs-sm);
}
.identity-card_meta a::after {
    display: none;
}
.identity-card_mail::before,
.identity-card_puh::before {
    position: absolute;
    left: 0;
    content: ' ';
    width: 16px;
    height: 23px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}
.identity-card_mail::before {
    background-image: var(--svg-email);
}
.identity-card_puh::before {
    background-image: var(--svg-phone);
}
.identity-card_description {}
.identity-card_full {
    width: 100%;
}

/* ANCHOR popup */

.identity-hidden {
    display: none;
    visibility: hidden;
}
body [open-identity_card="true"] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    margin: 0;
}
body [open-identity_card="true"]::after{
    content: " ";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
}
body.admin-bar [open-identity_card="true"] {
    top: 32px;
}
body [open-identity_card="true"] .identity-hidden {
    display: block;
    visibility: visible;
}
body [open-identity_card="true"] .identity-card_close {
    position: absolute;
    top: var(--gap-md);
    right: var(--gap-md);
    padding: var(--gap-md);
    cursor: pointer;
    border: none;
    background-color: white;
    font-size: 3rem;
    border-radius: 269px;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
body [open-identity_card="true"] .identity-card_close::after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    content: "\f00d";
    font-size: calc(var(--gap) * 12);
}
body [open-identity_card="true"] .identity-card {
    max-width: min(80vw, 640px);
    border: solid 1px var(--border-color);
    padding: var(--gap-lg);
}