/* Author Box (Single Post & Author Page) */
.author-box {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.author-box-avatar img {
    border-radius: 50%;
    margin-right: 24px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.author-box-content {
    flex: 1;
}

.author-box-title {
    margin: 0 0 10px;
    font-size: var(--font-size-xl);
    /* Usar tamaño del tema: 21px */
    font-family: "Lato", sans-serif;
    /* Usar fuente del tema */
    font-weight: 800;
    /* Peso consistente con headings del tema */
    color: #1e1e1e;
    /* Color consistente con el tema */
    border-bottom: none;
    padding-bottom: 0;
}

.author-box-title a {
    color: #1e1e1e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-box-title a:hover {
    color: #74ba6a;
    /* Color de enlaces del tema */
    text-decoration: none;
}

.author-box-bio {
    font-size: var(--font-size-base);
    /* Usar tamaño base del tema: 15px */
    font-family: "Lato", sans-serif;
    /* Usar fuente del tema */
    color: #1e1e1e;
    /* Color de texto del tema */
    margin-bottom: 15px;
    line-height: 24px;
    /* Line height del tema */
    border-top: 1.5px solid #bbc;
    padding-top: 15px;
    margin-top: 10px;
}

.author-box-bio p {
    margin-bottom: 0.5em;
}

.author-box-bio p:last-child {
    margin-bottom: 0;
}


/* Responsive for Author Box */
@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .author-box-avatar img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


/* Author Archive Page (author.php) */
.author-header-wrapper {
    background: transparent;
    border-bottom: none;
    margin-bottom: 30px;
    padding: 0;
}

.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* Adjustments to theme's existing classes if needed within author page */
.author-posts-grid .hentry {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
}

.author-posts-grid .hentry:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.author-posts-grid .entry-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.author-posts-grid .entry-header {
    padding: 20px 20px 10px;
}

.author-posts-grid .entry-title {
    font-size: var(--font-size-xl);
    /* Usar tamaño del tema */
    margin-bottom: 10px;
}

.author-posts-grid .entry-meta {
    font-size: var(--font-size-sm);
    /* Usar tamaño pequeño del tema */
    color: #666;
}