/* AuthorFR — Front-end styles */

.authorfr-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
}

/* Vertical layout */
.authorfr-layout-vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.authorfr-layout-vertical .authorfr-social {
    justify-content: center;
}

/* Photo */
.authorfr-photo {
    flex-shrink: 0;
}

.authorfr-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Info */
.authorfr-info {
    flex: 1;
    min-width: 0;
}

.authorfr-name {
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.3;
    margin-bottom: 2px;
}

.authorfr-cargo {
    font-size: 0.875em;
    opacity: 0.7;
    margin-bottom: 6px;
}

.authorfr-description {
    font-size: 0.9em;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* Social */
.authorfr-social {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.authorfr-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.75;
}

.authorfr-social-link:hover {
    opacity: 1;
    text-decoration: none;
}

.authorfr-social-link svg {
    display: block;
}

/* No author */
.authorfr-no-autor {
    opacity: 0.5;
    font-style: italic;
}
