/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.9
*/
@import url("../mercury/style.css");

/* Author Info Section */
.author-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.author-info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2f38; /* Dark background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Darker shadow */
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

.author-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    max-width: 500px;
}

.author-details h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #f2f2f2; /* Light text color for dark background */
}

.author-bio {
    font-size: 16px;
    color: #bbb; /* Lighter gray text for better readability */
    margin: 10px 0;
}

.author-email a {
    color: #0099ff; /* Light blue for email */
    text-decoration: none;
}

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

/* Optional: Adjust page background */
body {
    background-color: #121212; /* Dark background for the page */
    color: #f0f0f0; /* Default light text color */
}

/* Optional: Style for other text sections */
h1, h2, h3, h4, h5, h6 {
    color: #1A2634; /* Ensure headings are readable */
}

a {
    color: #66ccff; /* Light blue links */
}

a:hover {
    color: #ffcc00; /* Change color on hover for links */
}

.latest-posts-heading {
    font-size: 28px;
    font-weight: bold;
    color: #fff; /* White text for better contrast on dark background */
    margin-bottom: 20px;
    text-align: center;
}

.compact-author-box {
    margin: 25px 0;
    font-family: sans-serif;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 0;
}

/* Left part: image and text */
.author-details {
    display: flex;
    align-items: center;
    gap: 2px; !important;
	
}

.author-image-compact {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.author-name-compact {
    margin: 0;
    color: #1a2634;
    font-size: 0.9em;
    font-weight: bold;
}

.author-details .author-name-compact {
    padding-bottom: 0 !important;
}

/* MODIFIED: Reduced top margin to make it tighter to the name */
.post-modified-compact {
    margin: 1px 0 0 0; 
    color: #aaaaaa;
    font-size: 0.8em;
}