/* CSS Variables for styling */
:root {
    --byline-font-size: 12px;
    --byline-color: #333;
    --avatar-size-main: 30px;
    --avatar-size-contributor: 28px;
    --separator-color: #999;
    --label-color: #555;
    --highlight-color: #f50; /* Professional red for label or badge */
    --spacing: 5px;
}

.byline-container {
    all: unset;
  


}

.byline-container {
    all: revert;
 


}
.clear::after {
    content: "";
    display: block;
    clear: both;
}
/* Add clearfix class to contain floats */
.authorwp-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Byline container */
.byline-container {
    font-size: var(--byline-font-size);
    color: var(--byline-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    padding: 5px 0;
    display: flex; 
    box-sizing: border-box;
    
    flex-direction: column;
    gap: var(--spacing);
 
}

/* Main Author Section */
.main-author-contributors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing);
}

.byline-container .main-author-label,
.contributions-label,
.last-updated, .published-date {
    color: var(--label-color);
    font-weight: 500;
}
.main-author-contributors  .main-author-label{
    color: var(--label-color);
    font-weight: 500;
}

.main-author,
.coauthor {
    display: flex;
    align-items: center;
}

.main-author > .author-avatar {
    width: var(--avatar-size-main);
    height: var(--avatar-size-main);
    border-radius: 50%;
    margin-right: var(--spacing);
    object-fit: cover;
}

.coauthor > .coauthor-avatar {
    width: var(--avatar-size-contributor);
    height: var(--avatar-size-contributor);
    border-radius: 50%;
    margin-right: var(--spacing);
    object-fit: cover;
    border: 1px solid rgb(235, 235, 235);
}

/* Separator */
.separator {
    color: var(--separator-color);
    margin: 0 var(--spacing);
}

/* Contributor Links */
.main-author a.byline-author-name, .coauthor a.coauthor-name {
    color: var(--byline-color);
    text-decoration: none;
    margin-right: var(--spacing);
    font-size: 12px;
}

.main-author .byline-author-name:hover,
.coauthor  .coauthor-name:hover {
    text-decoration: none;
    color: rgb(62, 110, 197);
    
   
}

/* Publication Time */
.byline-container  .published-date {
    font-size: 12px;
    margin: 0;
    padding: 0;

}

.last-updated {
   
    font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .byline-container {
        font-size: 12px;
        gap: 15px;
        box-sizing: border-box;
    }
    .author-avatar, .coauthor-avatar {
        width: 18px;
        height: 18px;
    }
}




