/*
 Theme Name:   Kortez Travel Child
 Theme URI:    http://example.com
 Description:  Child theme for Kortez Travel
 Author:       Your Name
 Author URI:   http://example.com
 Template:     kortez-travel
 Version:      1.0.0
*/

/* 1. BACKUP EXTRA PROTECTION TO HIDE THE OLD AUTHOR CONTAINER */
.single-post .author-info, 
.single-post .author-bio, 
.single-post .author-box {
    display: none !important;
}

/* 2. FORCE WRAPPER AND PHRASE TO STAY ON ONE LINE AND MATCH NATIVE META COLORS */
.author-meta-line {
    display: inline-block !important;
    white-space: nowrap !important;
    margin-right: 15px; /* Adds space before the next item in the meta row */
}

/* Forces the "Posted by:" text color to perfectly match the theme's native meta text */
.entry-meta .author-meta-line,
.footer-meta .author-meta-line,
.entry-footer .author-meta-line {
    color: var(--meta-color, currentColor) !important;
}

/* 3. TARGET THE LINK DIRECTLY TO MATCH NATIVE LINKS (.posted-on a, .cat-links a) */
.entry-meta .author-meta-line a.custom-meta-link,
.footer-meta .author-meta-line a.custom-meta-link,
.entry-footer .author-meta-line a.custom-meta-link {
    display: inline !important;
    color: var(--link-color, inherit) !important; 
    text-decoration: underline !important;
}

/* If the theme overrides links deep in the layout, force match them to standard sibling classes */
.entry-meta a.custom-meta-link {
    color: #888888 !important; /* Muted fallback - handles default parent stylesheet traits */
}

/* Remove the bottom margin from the main post container */
.single-post .post,
article.post {
    margin-bottom: 0px !important;
}

/* Adjust the internal padding for the post navigation links */
.single-post .post-navigation {
    padding-top: 15px !important;    /* Spacing inside the top edge */
    padding-bottom: 15px !important; /* Spacing inside the bottom edge */
    padding-left: 0px !important;    /* Spacing inside the left edge */
    padding-right: 0px !important;   /* Spacing inside the right edge */
}

/* Adjust the vertical spacing above the entire comments and reply section */
.single-post .comments-area {
    margin-top: 20px !important; /* Change 40px to your preferred spacing */
}
