/*
Theme Name:   NewsUp Child
Theme URI:    https://burakdegirmenci.me
Description:  Child theme for NewsUp with custom author box modifications
Author:       Burak Değirmenci
Author URI:   https://burakdegirmenci.me
Template:     newsup
Version:      1.0.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  newsup-child
*/

/* ===================================
   Author Box Job Title
   =================================== */

.author-job-title {
    display: block;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 12px;
}

/* ===================================
   Author Box Social Media Links
   =================================== */

.author-social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.author-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-social-links a:hover {
    background-color: #0066ff;
    color: #fff;
    transform: translateY(-2px);
}

.author-social-links a svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   Mobile Responsive (Tablets)
   =================================== */

@media (max-width: 768px) {
    /* Author Box */
    .mg-info-author-block {
        padding: 20px 15px !important;
    }

    .mg-info-author-block .mg-author-pic img {
        width: 70px !important;
        height: 70px !important;
        margin: 0 15px 0 0 !important;
    }

    .mg-info-author-block h4 {
        font-size: 18px !important;
    }

    /* Job Title */
    .author-job-title {
        font-size: 13px;
    }

    /* Social Links */
    .author-social-links {
        gap: 12px;
    }

    .author-social-links a {
        width: 36px;
        height: 36px;
    }

    .author-social-links a svg {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   Mobile Responsive (Phones)
   =================================== */

@media (max-width: 480px) {
    /* Author Box */
    .mg-info-author-block {
        padding: 15px 10px !important;
        text-align: center;
    }

    .mg-info-author-block .mg-author-pic {
        float: none !important;
        display: block;
        margin: 0 auto 15px !important;
    }

    .mg-info-author-block .mg-author-pic img {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
        float: none !important;
    }

    .mg-info-author-block .media-body {
        width: 100%;
    }

    .mg-info-author-block h4 {
        font-size: 20px !important;
        text-align: center;
    }

    /* Job Title */
    .author-job-title {
        font-size: 13px;
        text-align: center;
    }

    /* Biography */
    .mg-info-author-block p {
        font-size: 14px;
        text-align: center;
    }

    /* Social Links */
    .author-social-links {
        justify-content: center;
        gap: 10px;
    }

    .author-social-links a {
        width: 40px;
        height: 40px;
    }

    .author-social-links a svg {
        width: 18px;
        height: 18px;
    }
}
