/*
Theme Name: GeneratePress Child
Theme URI: https://bestfunda.com/
Template: generatepress
Author: Bestfunda
Author URI: https://bestfunda.com/
Description: Child theme for safely customizing the GeneratePress theme, including footer and style changes.
Tags: generatepress, child-theme, custom-footer, wordpress
Version: 1.0.1749800676
Updated: 2025-06-13 13:14:36
*/

/* ==========================================================
   BestFunda Custom CSS: PW Post Meta, Author Box & Footer
   ========================================================== */

/* --- 1. PW Style Post Meta Strip (Below Title) --- */
.pw-meta-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 14px !important;
    margin-top: 12px !important;
    border-top: 1px solid #e2e8f0 !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.pw-meta-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.pw-author-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.pw-author-link:hover {
    color: #1e40af !important;
}

/* Circular Avatar in Meta */
.pw-meta-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #cbd5e1 !important;
}

/* Divider '|' */
.pw-meta-divider {
    color: #cbd5e1 !important;
    font-size: 13px !important;
}

.pw-meta-date {
    color: #64748b !important;
    font-weight: 500 !important;
}

/* PW Native Web Share Button */
.pw-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.pw-share-btn:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

.pw-share-btn i {
    font-size: 12.5px !important;
    color: #475569 !important;
}

/* --- 2. Premium Bottom Author Box (Clickable & Spherical) --- */
.custom-author-box {
    display: flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #1e40af !important; /* Bestfunda Blue Brand Accent */
    border-radius: 10px !important;
    padding: 22px !important;
    margin: 45px 0 35px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    gap: 20px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.custom-author-box:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

.custom-author-box .author-avatar a {
    display: block !important;
    line-height: 0 !important;
}

.custom-author-box .author-avatar img {
    border-radius: 50% !important; /* Spherical */
    width: 68px !important;
    height: 68px !important;
    object-fit: cover !important;
    border: 2px solid #1e40af !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.2s ease !important;
}

.custom-author-box .author-avatar a:hover img {
    transform: scale(1.05) !important;
}

.custom-author-box .author-details {
    flex: 1 !important;
}

.custom-author-box .author-title {
    margin: 0 0 6px 0 !important;
}

.custom-author-box .author-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.custom-author-box .author-name:hover {
    color: #1e40af !important;
    text-decoration: underline !important;
}

.custom-author-box .author-bio {
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --- 3. BestFunda Master EdTech Footer (App / Tests) --- */
.bf-master-footer {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    padding: 45px 20px 20px 20px !important;
    border-top: 1px solid #1e293b !important;
    font-size: 14px !important;
}

.bf-footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    gap: 30px !important;
}

.bf-footer-brand h2 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.bf-footer-tagline {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

.bf-social-icons {
    display: flex !important;
    gap: 12px !important;
}

.bf-social-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
    background: #1e293b !important;
    color: #cbd5e1 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.bf-social-icons a:hover {
    background: #1e40af !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.bf-footer-col h4 {
    color: #38bdf8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    border-bottom: 2px solid #1e293b !important;
    padding-bottom: 6px !important;
}

.bf-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bf-footer-col ul li {
    margin-bottom: 10px !important;
}

.bf-footer-col ul li a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    transition: color 0.2s ease !important;
}

.bf-footer-col ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.bf-footer-bottom {
    max-width: 1200px !important;
    margin: 35px auto 0 auto !important;
    padding-top: 18px !important;
    border-top: 1px solid #1e293b !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.bf-footer-bottom p {
    margin: 0 !important;
}

/* Fallback default info */
.site-info {
    display: none !important;
}

/* --- 4. Mobile Responsiveness --- */
@media (max-width: 768px) {
    .bf-footer-container {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .bf-footer-col h4 {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 600px) {
    .pw-meta-container {
        justify-content: space-between !important;
        padding-top: 12px !important;
    }

    .pw-meta-left {
        font-size: 12.5px !important;
        gap: 6px !important;
    }

    .pw-share-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    .custom-author-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 16px !important;
        gap: 12px !important;
    }

    .custom-author-box .author-avatar img {
        width: 72px !important;
        height: 72px !important;
    }
}