/* Keep the cover first; compose the portrait and introduction as one header. */
.identity-flyer .identity-person{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:24px;row-gap:0;padding:20px 38px;min-height:0}
.identity-flyer .identity-portrait{position:relative;left:auto;right:auto;top:auto;grid-column:1;grid-row:1/span 5;width:116px;height:132px;margin:-58px 0 0;border-radius:12px}
.identity-flyer .identity-person>.identity-eyebrow,.identity-flyer .identity-person>h1,.identity-flyer .identity-person>.identity-role,.identity-flyer .identity-person>.identity-organization,.identity-flyer .identity-person>.identity-location{grid-column:2}
.identity-flyer .identity-person>h1{margin:5px 0 8px}
.identity-flyer .identity-person>.identity-bio{grid-column:1/-1;margin-top:18px}
.identity-flyer .identity-company-logo{right:32px;top:-100px}
.identity-format-a5 .identity-person{grid-template-columns:100px minmax(0,1fr);column-gap:18px;padding:18px 25px}
.identity-format-a5 .identity-portrait{width:100px;height:118px;margin-top:-48px}
.identity-format-a2 .identity-person{grid-template-columns:155px minmax(0,1fr);column-gap:32px;padding:28px 50px}
.identity-format-a2 .identity-portrait{width:155px;height:184px;margin-top:-76px}

/* Social accounts are a single compact icon-and-platform-name group. */
.identity-flyer .identity-social-links{display:flex;flex-wrap:wrap;gap:8px}
.identity-flyer .identity-social-links a{display:inline-flex;justify-content:flex-start;align-items:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid #dce5df;border-radius:7px;font-size:12px;text-decoration:none}
.identity-flyer .identity-social-label{gap:7px}
.identity-flyer .identity-social-label>.fa{width:17px}

/* Contact methods are readable, clean links with no underlines. */
.identity-flyer .identity-contact{gap:9px}
.identity-flyer .identity-contact a,.identity-flyer .identity-contact a:visited,.identity-flyer .identity-contact a:hover,.identity-flyer .identity-contact a:focus{text-decoration:none!important;box-shadow:none;border-bottom:0}
.identity-flyer .identity-contact>a{display:flex;align-items:center;gap:7px;padding:5px 0;line-height:1.5}
.identity-flyer .identity-contact a:hover{color:var(--identity-primary);background:#eef4ef}
.identity-flyer .identity-contact a:focus-visible{outline:2px solid var(--identity-accent);outline-offset:3px}
.identity-flyer .identity-contact .fa{flex:none;margin:0;color:#6e896f}
.identity-flyer .identity-whatsapp-contact .fa{color:#28734b}
.identity-flyer .identity-phone-line{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:inherit;margin:0;line-height:1.6}
.identity-flyer .identity-phone-line>a{display:inline;padding:0;border:0;background:none;white-space:nowrap;text-decoration:none!important}
.identity-phone-line>.fa{margin-right:3px!important}

@media(max-width:800px){
 .identity-format-a2 .identity-person{grid-template-columns:116px minmax(0,1fr);padding:20px 24px;column-gap:20px}
 .identity-format-a2 .identity-portrait{width:116px;height:132px;margin-top:-58px}
}
@media(max-width:480px){
 .identity-flyer .identity-person{grid-template-columns:80px minmax(0,1fr);padding:18px 20px;column-gap:14px}
 .identity-flyer .identity-portrait{width:80px;height:100px;margin-top:-44px;position:relative;left:auto;right:auto;top:auto}
 .identity-flyer .identity-person>h1{font-size:25px}
 .identity-flyer .identity-role{font-size:13px}
 .identity-flyer .identity-person>.identity-bio{margin-top:14px}
}

/* A readable title over any uploaded cover; the name remains the page heading. */
.identity-flyer .identity-cover-title{position:absolute;z-index:2;left:26px;top:20px;max-width:calc(100% - 52px);margin:0;padding:9px 15px;background:rgba(12,31,24,.88);color:#fff;border:1px solid rgba(255,255,255,.24);border-radius:6px;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:.035em;overflow-wrap:anywhere;box-shadow:0 3px 14px #0002}.identity-format-a2 .identity-cover-title{font-size:25px;padding:12px 20px;left:40px;top:30px;max-width:calc(100% - 80px)}.identity-format-a5 .identity-cover-title{font-size:16px}.identity-title-presets{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0 10px}.identity-title-presets button{font-size:11px!important;padding:6px 9px!important;margin:0!important;color:#365b43!important;background:#edf3ef!important;border:1px solid #dce6df!important}.identity-brand-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none;width:20px;height:20px}.identity-brand-icon svg,.identity-brand-icon img{display:block!important;position:static!important;width:20px!important;height:20px!important;max-width:none!important;object-fit:contain;opacity:1!important}.identity-network-shortcuts button{display:inline-flex;align-items:center;gap:5px}.identity-network-shortcuts .identity-brand-icon,.identity-network-shortcuts .identity-brand-icon svg{width:16px!important;height:16px!important}.identity-flyer .identity-contact .identity-brand-icon{width:18px;height:18px}.identity-flyer .identity-contact .identity-brand-icon svg,.identity-flyer .identity-contact .identity-brand-icon img{width:18px!important;height:18px!important}@media(max-width:480px){.identity-flyer .identity-cover-title{left:18px;top:15px;max-width:calc(100% - 36px);font-size:15px;padding:7px 10px}}

.identity-public-card:has(.identity-company-logo) .identity-cover-title{max-width:calc(100% - 150px)}

.identity-network-bar{margin:0 32px 24px;padding:20px;border:1px solid #dce5df;border-radius:16px;background:#f6f9f6;color:#193b30}.identity-network-stats,.identity-network-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.identity-network-stats{justify-content:space-between;margin-bottom:16px}.identity-network-stats span{font-size:13px}.identity-network-stats strong{display:block;font-size:22px}.identity-network-actions form{margin:0}.identity-network-actions button,.identity-network-actions a{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:20px;border:1px solid #cbd9cf;background:white;color:#193b30;text-decoration:none;font:inherit;font-size:13px;cursor:pointer}.identity-network-actions button[aria-pressed=true]{background:#193b30;color:white}.identity-network-bar small{display:block;margin-top:14px;font-size:11px;line-height:1.5}.identity-network-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px}.identity-network-grid form{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:600px){.identity-network-bar{margin:0 16px 20px;padding:16px}.identity-network-stats{gap:16px}}

.identity-network-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.identity-network-filters label{max-width:340px;flex:1 1 220px}.identity-network-filters select{display:block;margin-top:6px;width:100%}
