/**
 * News Reporter Attribution - Front-end Single Post Byline Styling
 * v1.6.0
 */

body.single .entry-meta .posted-on,
body.single-post .entry-meta .posted-on,
body.single .posted-on,
body.single-post .posted-on,
body.single time.entry-date,
body.single-post time.entry-date,
body.single .post-date,
body.single-post .post-date,
body.single .published,
body.single-post .published,
body.single .meta-date,
body.single-post .meta-date,
body.single .post-meta .date,
body.single-post .post-meta .date,
body.single .ast-date-meta-wrapper,
body.single .td-post-date,
body.single .jannah-post-date,
body.single header.entry-header .entry-meta time,
body.single header.entry-header .post-meta-date,
body.single .entry-header .entry-meta,
body.single .post-header-meta .date-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.news-reporter-box.nra-single-post-reporter-box,
#nra_single_post_byline {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    margin: 14px 0 16px 0 !important;
    background: #f8fafc;
    border-left: 4px solid #0284c7;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    clear: both !important;
    font-family: inherit;
}

.nrb-avatar-wrap {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    background: #e2e8f0;
}

.nrb-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.nrb-default-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0284c7;
    color: #ffffff;
}

.nrb-avatar-text {
    font-size: 18px;
    font-weight: 700;
}

.nrb-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.nrb-name-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.nrb-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
}

.nrb-sep {
    color: #cbd5e1;
    font-weight: 300;
}

.nrb-designation {
    color: #0284c7;
    font-weight: 600;
    font-size: 12px;
}

.nrb-date-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    margin-top: 1px;
}

.nrb-date-label {
    color: #94a3b8;
}

.nrb-date {
    color: #64748b;
    font-weight: 500;
}

#nra_single_post_byline + .post-thumbnail,
#nra_single_post_byline + .featured-image,
#nra_single_post_byline + .featured-media,
#nra_single_post_byline + figure.wp-block-post-featured-image,
#nra_single_post_byline + .td-post-featured-image,
#nra_single_post_byline + img.wp-post-image {
    margin-top: 14px !important;
}

@media (max-width: 640px) {
    .news-reporter-box.nra-single-post-reporter-box,
    #nra_single_post_byline {
        padding: 10px 12px;
        gap: 10px;
    }
    .nrb-avatar-wrap {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }
    .nrb-name {
        font-size: 14px;
    }
}
