/* Author Box Container */
.author-box {
    margin-top: 40px;
    padding: 30px; /* Default padding for desktop */
    background-color: #f9f9f9; /* Default background color, can be overridden by user settings */
    border: 1px solid #000; /* 1px solid black border */
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Space between avatar and info */
}

/* Author Avatar */
.author-avatar {
    flex: 0 0 150px; /* Fixed width for avatar */
    text-align: center;
}

.author-avatar img {
    border-radius: 100% !important;
    max-width: 200px !important;
    height: auto;
    width: 150px; /* Fixed size for the avatar */
    height: 150px;
    object-fit: cover; /* Ensure the image fits well */
}

/* Author Info */
.author-info {
    flex: 1; /* Take remaining space */
    margin-top: -30px;
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 1.8em; /* Larger font size for name */
    color: #333;
    text-align: left;
    font-weight: bold; /* Bold name */
}

.author-bio {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #555;
    line-height: 30px;
    text-align: left;
}

.author-bio p {
    margin: 0 0 10px 0;
}

.author-bio a {
    color: #0073aa;
    text-decoration: none;
}

.author-bio a:hover {
    text-decoration: underline;
}

/* Social Media Links */
.author-social-media {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.author-social-media a {
    text-decoration: none;
    color: #000; /* Black color for icons */
    font-size: 18px; /* 18px icon size */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.author-social-media a:hover {
    color: #0073aa; /* Change color on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Muck Rack Icon */
.muckrack-icon {
    width: 18px; /* Match the size of FontAwesome icons */
    height: 18px;
    vertical-align: middle;
}

/* Plugin Credit */
.plugin-credit {
    margin-top: 20px;
    font-size: 0.9em;
    text-align: center;
    color: #777;
}

.plugin-credit a {
    color: #0073aa;
    text-decoration: none;
}

.plugin-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 999px) {
    /* Tablet styles */
    .author-box {
        padding: 40px 20px; /* Padding for tablet */
    }

    .author-avatar {
        flex: 0 0 100%; /* Full width for avatar on tablet */
        text-align: center; /* Center the avatar */
        margin-bottom: 15px; /* Add space below the avatar */
    }

    .author-info {
        text-align: center; /* Center the author info */
    }

    .author-name,
    .author-bio {
        text-align: center; /* Center the name and bio */
    }
}

@media (max-width: 600px) {
    /* Mobile styles */
    .author-box {
        padding: 40px 10px; /* Padding for mobile */
    }

    .author-avatar {
        flex: 0 0 100%; /* Full width for avatar on mobile */
        text-align: center; /* Center the avatar */
        margin-bottom: 15px; /* Add space below the avatar */
    }

    .author-info {
        text-align: center; /* Center the author info */
    }

    .author-name,
    .author-bio {
        text-align: center; /* Center the name and bio */
    }

    .author-social-media {
        justify-content: center; /* Center the social media icons */
    }
}