/* =============================================
   Rufty Author Box — author-box.css
   Branding: Georgia serif body, Arial/Helvetica
   uppercase labels, warm neutrals
   ============================================= */

.rab-author-card {
    max-width: 760px;
    margin: 0 auto 36px auto;
    padding: 24px 28px;
    background: #f7f5f2;
    border-top: 3px solid #222;
    border-bottom: 1px solid #ddd;
    font-family: Georgia, 'Times New Roman', serif;
    box-sizing: border-box;
}

/* Inner layout: author info left, date right */
.rab-author-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Left side: avatar + text */
.rab-author-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

/* ---------- Avatar ---------- */
.rab-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border: 2px solid #ccc;
}

/* Fallback monogram when no image */
.rab-avatar.rab-no-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rab-avatar.rab-no-image span {
    color: #f7f5f2;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* ---------- Text block ---------- */
.rab-author-text {
    min-width: 0;
}

/* Shared label style */
.rab-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 4px 0;
    line-height: 1;
}

/* Author name */
.rab-name {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 5px;
}

a.rab-name:hover {
    color: #8b7355; /* warm gold accent */
    text-decoration: underline;
}

/* Bio */
.rab-bio {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0;
    font-family: Georgia, serif;
}

/* ---------- Date block (right side) ---------- */
.rab-date-block {
    text-align: right;
    flex-shrink: 0;
    padding-left: 24px;
    border-left: 1px solid #ddd;
}

.rab-date {
    font-family: Georgia, serif;
    font-size: 14px;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
    .rab-author-card {
        padding: 20px 16px;
    }

    .rab-author-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rab-date-block {
        text-align: left;
        border-left: none;
        border-top: 1px solid #ddd;
        padding-left: 0;
        padding-top: 14px;
        width: 100%;
    }
}
