/*
Theme Name: TheModernMamas Child
Theme URI: https://themodernmamas.com
Description: Child theme for TheModernMamas blog
Author: Developer
Template: generatepress
Version: 1.0.0
Text Domain: themodernmamas
*/

/* Author Bio Box */
.tmm-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    margin: 40px 0 20px;
    border-top: 1px solid var(--accent-3, #E5C8B2);
    border-bottom: 1px solid var(--accent-3, #E5C8B2);
}

.tmm-author-avatar img {
    border-radius: 50%;
}

.tmm-author-name {
    font-family: var(--gp-font--playfair-display, serif);
    font-weight: 600;
    font-size: 1.1em;
    margin: 0 0 6px;
}

.tmm-author-bio {
    color: var(--contrast-2, #555);
    font-size: 0.92em;
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.tmm-related-posts {
    margin: 40px 0 20px;
}

.tmm-related-title {
    font-family: var(--gp-font--playfair-display, serif);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.tmm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tmm-related-item {
    text-decoration: none;
    color: var(--contrast, #2F2E2E);
}

.tmm-related-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.tmm-related-item span {
    font-family: var(--gp-font--playfair-display, serif);
    font-weight: 500;
    font-size: 0.95em;
    line-height: 1.4;
    display: block;
}

.tmm-related-item:hover span {
    color: var(--accent, #9B454D);
}

@media (max-width: 600px) {
    .tmm-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tmm-related-grid {
        grid-template-columns: 1fr;
    }
}
