.bglfc-card-shell {
    width: 100%;
    box-sizing: border-box;
}

.bglfc-card-shell.bglfc-align-left {
    display: flex;
    justify-content: flex-start;
}

.bglfc-card-shell.bglfc-align-center {
    display: flex;
    justify-content: center;
}

.bglfc-card-shell.bglfc-align-right {
    display: flex;
    justify-content: flex-end;
}

.bglfc-card {
    --bglfc-blue: #0a66c2;
    --bglfc-blue-dark: #074a8f;
    --bglfc-text: #111827;
    --bglfc-muted: #6b7280;
    --bglfc-border: rgba(15, 23, 42, .12);
    --bglfc-bg: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
    color: var(--bglfc-text);
}

.bglfc-card * {
    box-sizing: border-box;
}

.bglfc-layout-modern {
    width: min(100%, 390px);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--bglfc-border);
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .09);
}

.bglfc-layout-minimal {
    width: min(100%, 360px);
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 0;
    background: transparent;
}

.bglfc-layout-compact {
    width: auto;
    max-width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--bglfc-border);
    border-radius: 999px;
    background: var(--bglfc-bg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.bglfc-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #eaf3ff;
    border: 2px solid rgba(10, 102, 194, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bglfc-blue);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .02em;
}

.bglfc-layout-compact .bglfc-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 14px;
}

.bglfc-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bglfc-content {
    min-width: 0;
}

.bglfc-name {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--bglfc-text);
}

.bglfc-layout-compact .bglfc-name {
    font-size: 14px;
}

.bglfc-headline {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--bglfc-muted);
    font-weight: 600;
}

.bglfc-description {
    margin: 9px 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--bglfc-muted);
}

.bglfc-layout-minimal .bglfc-description,
.bglfc-layout-compact .bglfc-description {
    display: none;
}

.bglfc-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--bglfc-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    box-shadow: 0 10px 20px rgba(10, 102, 194, .18);
}

.bglfc-button:hover,
.bglfc-button:focus {
    background: var(--bglfc-blue-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(10, 102, 194, .23);
}

.bglfc-layout-compact .bglfc-button {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
}

.bglfc-linkedin-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 auto;
}

.bglfc-auto-wrap {
    box-sizing: border-box;
    width: 100%;
}

.bglfc-position-inline {
    max-width: 1180px;
    margin: 24px auto;
    padding: 0 18px;
}

.bglfc-position-strip {
    width: 100%;
    padding: 18px;
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.bglfc-position-floating {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 22px;
    width: min(390px, calc(100vw - 44px));
}

.bglfc-badge-shell {
    min-height: 60px;
}

@media (max-width: 640px) {
    .bglfc-hide-mobile {
        display: none !important;
    }

    .bglfc-layout-modern {
        width: 100%;
        padding: 15px;
        border-radius: 18px;
    }

    .bglfc-layout-compact {
        width: 100%;
        border-radius: 18px;
        align-items: flex-start;
    }

    .bglfc-position-floating {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
    }
}
