/* ==========================
   Author Box – Wrapper
   ========================== */

.jb-author-box {
    margin-top: 32px;
    margin-bottom: 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

/* ==========================
   Card Layout
   ========================== */

.jb-author-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr); /* col-1 = avatar, col-2 = text */
    column-gap: 18px;
    align-items: center;

    padding: 18px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
    position: relative;
    overflow: hidden;
}

.jb-author-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.10), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

/* ==========================
   Avatar
   ========================== */

.jb-author-avatar {
    grid-column: 1;
    grid-row: 1 / span 3;       /* name + bio + নিচের সারি – সবগুলোর পাশে পুরো উচ্চতা */
    align-self: center;
    position: relative;
    z-index: 2;
}

.jb-author-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.4);
}

/* ==========================
   Text content (name + role + bio)
   ========================== */

.jb-author-meta {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.jb-author-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.jb-author-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;

    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.jb-author-role::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.jb-author-bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* ==========================
   Bottom row: Social + Button
   ========================== */

.jb-author-bottom {
    grid-column: 2;
    grid-row: 2;
    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;

    position: relative;
    z-index: 2;
}

/* Social icons group */

.jb-author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Single icon */

.jb-social-link {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

/* আলাদা রঙ */

.jb-social-fb  { background: #1877f2; }
.jb-social-web { background: #22c55e; }
.jb-social-x   { background: #020617; }
.jb-social-li  { background: #0a66c2; }

.jb-social-link .dashicons {
    font-size: 18px;
    line-height: 1;
}

.jb-social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
    filter: brightness(1.05);
}

/* ==========================
   Author CTA Button
   ========================== */

.jb-author-actions { /* এখন আলাদা grid-row নেই, bottom row এর অংশ */
}

.jb-author-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #0b63e5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: background 0.18s ease, transform 0.18s ease,
        box-shadow 0.18s ease;
}

.jb-author-btn:hover {
    background: #084db3;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.45);
}

/* ==========================
   Responsive styles
   ========================== */

@media (max-width: 768px) {
    .jb-author-box {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .jb-author-inner {
        padding: 16px 16px 18px;
    }

    .jb-author-bio {
        font-size: 13.5px;
    }
}

@media (max-width: 640px) {
    .jb-author-inner {
        grid-template-columns: minmax(0, 1fr); /* এক কলাম */
        row-gap: 10px;
        text-align: center;
        padding: 16px 14px 18px;
    }

    .jb-author-avatar {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        margin-bottom: 4px;
    }

    .jb-author-meta {
        grid-column: 1;
        grid-row: 2;
    }

    .jb-author-bottom {
        grid-column: 1;
        grid-row: 3;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .jb-author-social {
        justify-content: center;
    }

    .jb-author-name {
        font-size: 17px;
    }

    .jb-author-actions {
        text-align: center;
        width: 100%;
    }
}




.jb-author-box {
    margin-top: 32px;
    margin-bottom: 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    /* কার্ডের চারপাশে একটু আলাদা ব্যাকগ্রাউন্ড */
    padding: 4px 0;
}


.jb-author-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr); /* col-1 = avatar, col-2 = text */
    column-gap: 18px;
    align-items: center;

    padding: 18px 20px;
    background: #ffffff;
    border-radius: 16px;

    /* নতুন বর্ডার + ড্রপ শ্যাডো */
    border: 2px solid #255fdb;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.16);   /* নিচের দিকে শ্যাডো */
}



