/*
Theme Name: The Travel Booking Child
Theme URI:  https://m.ttfpa.com/
Description: Child theme for The Travel Booking theme
Author: Your Name
Template: the-travel-booking  
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-travel-booking-child
*/
/* ==========================================================
   CUSTOM AUTHOR BOX – FINAL OPTIMIZED VERSION
   ========================================================== */

/* Show UsersWP author box widget if used */
.uwp_widget_author_box {
    display: block !important;
}

/* === Hide by default === */
#true-author-box-custom-wrapper {
    display: none;
}

/* === Show only on regular single blog posts === */
body.single-post #true-author-box-custom-wrapper {
    display: inline-block !important; /* fits content width */
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 30px auto 0 auto; /* center align */
    text-align: center; /* center text + image */
}

/* === Author Image (round, shadow, border) === */
#true-author-box-custom-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%; /* round image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    margin-bottom: 10px;
}

/* === Author Name & Bio === */
#true-author-box-custom-wrapper h5 {
    margin: 5px 0 10px 0;
    font-size: 1.1rem;
}

#true-author-box-custom-wrapper p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

/* === Hide Author Box on Event Posts or other types === */
body.single-ttfpa_event #true-author-box-custom-wrapper {
    display: none !important;
}

