/* vCard download in the AI contact section and shared editorial footer. */
.ai-contact-details .ai-contact-vcard {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 34px;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--theme-line, #cbd8e7);
}

.ai-contact-details .ai-contact-vcard-mark {
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0;
    place-items: center;
    overflow: hidden;
    background: #11151a;
}

.ai-contact-details .ai-contact-vcard-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-contact-details .ai-contact-vcard-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

.ai-contact-details .ai-contact-vcard-copy em {
    color: var(--theme-accent, #285cc4);
    font: 650 .62rem/1.35 ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-style: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ai-contact-details .ai-contact-vcard-copy strong {
    color: var(--theme-ink, #1e2c3b);
    font-size: clamp(.9rem, 1.25vw, 1.08rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.35;
}

.ai-contact-details .ai-contact-vcard > b {
    position: static;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--theme-line-strong, #b8c6d7);
    color: var(--theme-accent, #285cc4);
    font-size: 1rem;
    line-height: 1;
    transition: border-color 180ms ease, background 180ms ease;
}

.ai-contact-details .ai-contact-vcard:hover > b,
.ai-contact-details .ai-contact-vcard:focus-visible > b {
    border-color: var(--theme-accent, #285cc4);
    background: var(--theme-accent-soft, #edf2fb);
}

.rp-footer-contact .rp-footer-vcard {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 11px;
    align-items: center;
    width: 100%;
    min-height: 60px;
    margin-top: 10px;
    padding: 9px 10px 9px 9px;
    border: 0;
    background: color-mix(in srgb, var(--theme-surface, #fff) 46%, transparent);
    color: var(--theme-ink, #191c20);
    text-decoration: none;
    transition: background 180ms ease;
}

.rp-footer-vcard-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    overflow: hidden;
    background: #11151a;
}

.rp-footer-vcard-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-footer-vcard-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rp-footer-vcard-copy strong {
    color: var(--theme-ink, #191c20);
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.3;
}

.rp-footer-vcard-copy small {
    color: var(--theme-muted, #65707a);
    font-size: .64rem;
    line-height: 1.35;
}

.rp-footer-vcard-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--theme-line-strong, #b8c6d7);
    color: var(--theme-accent, #285cc4);
    font-size: .85rem;
    line-height: 1;
}

.rp-footer-contact .rp-footer-vcard:hover,
.rp-footer-contact .rp-footer-vcard:focus-visible {
    background: color-mix(in srgb, var(--theme-accent-soft, #edf2fb) 72%, var(--theme-surface, #fff));
}

@media (max-width: 700px) {
    .ai-contact-details .ai-contact-vcard {
        grid-template-columns: 46px minmax(0, 1fr) 32px;
        gap: 12px;
        min-height: 74px;
        padding-block: 13px !important;
    }

    .ai-contact-details .ai-contact-vcard-mark {
        width: 46px;
        height: 46px;
    }

    .ai-contact-details .ai-contact-vcard > b {
        width: 32px;
        height: 32px;
    }
}
