/*优模板www.mobanweb.com*/

/* Import Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* Override fonts for international site - Excluding icon fonts */
body, html {
    font-family: "Roboto", sans-serif;
    color: #111111;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    color: #111111;
    font-weight: 700;
}

/* REMOVE font-size from universal selectors */
p, div:not([class*="mdi"]):not([class*="fa"]), span:not([class*="mdi"]):not([class*="fa"]), a, li, td, th {
    font-family: "Roboto", sans-serif;
    color: #111111;
    font-weight: 500;
}

/* Specific text elements */
.post-content, .entry-content, .article-content, .content-text {
    color: #111111;
    font-weight: 500;
}

/* Navigation and menus */
.nav a, .menu a, .navbar a {
    color: #111111;
    font-weight: 600;
}

/* Card titles and descriptions - ONLY titles get 21px */
.card-title, .post-title, .entry-title {
    color: #111111;
    font-weight: 700;
    font-size: 21px !important;
}

.card-body, .post-excerpt, .excerpt {
    color: #111111;
    font-weight: 500;
}

button:not([class*="mdi"]):not([class*="fa"]),
input, select, textarea {
    font-family: "Roboto", sans-serif;
    color: #111111;
    font-weight: 500;
}

/* End font overrides */

/* End font overrides */

/* Removed aggressive color overrides that were breaking WordPress color classes */
/* If you need specific text colors, use WordPress color classes instead */

/* Related Posts - Smaller titles and less bold */
.related-posts-grid .entry-title,
.related-posts .entry-title {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Remove extra space at the bottom of footer */
.site-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Nextend Social Login Google Button Styling */
.nextend-social-login-buttons {
    display: inline-block !important;
    margin: 0 5px !important;
}

.nsl-container {
    display: inline-block !important;
    margin: 0 !important;
}

.nsl-button {
    display: inline-block !important;
    margin: 0 5px !important;
    vertical-align: middle !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
}

.nsl-button-icon {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nsl-button-svg-container {
    width: 24px !important;
    height: 24px !important;
}

/* Align Google button with other social buttons */
.open-oauth {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.open-oauth .btn {
    margin: 0 5px !important;
}

/* Google Login Button */
.register-login-modal .open-oauth .btn-google {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    text-align: center;
}

.register-login-modal .open-oauth .btn-google:hover {
    background: #db4437;
    border-color: #db4437;
    color: #fff;
}

.register-login-modal .open-oauth .btn-google .fa {
    font-size: 18px;
    line-height: 40px;
}




/* Enhanced Author Bio Styling with Large Square Image */
.author-box {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-box-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.author-box .author-image {
    flex-shrink: 0;
    margin-right: 25px;
}

.author-box .author-image img {
    display: block;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 4px;
}

.author-box .author-info {
    flex: 1;
}

.author-box .author-name {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222 !important;
}

.author-box .author-name a {
    color: #222 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-box .author-name a:hover {
    color: #667eea !important;
}

.author-box .author-name .label {
    background: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-left: 10px;
    color: #fff;
    font-weight: 600;
}

.author-box .author-bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555 !important;
    font-weight: 400;
}

/* Share buttons below author bio */
.author-box .xshare {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

.author-box .xshare-title {
    color: #222;
    font-weight: 600;
    margin-right: 15px;
    font-size: 13px;
}

.author-box .xshare a {
    color: #fff;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 5px;
    background: #667eea;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-box .xshare a:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.author-box .xshare a.ripro-star {
    background: #ffc107;
}

.author-box .xshare a.ripro-star:hover {
    background: #ffb300;
}

.author-box .xshare a.share-whatsapp {
    background: #25D366;
}

.author-box .xshare a.share-whatsapp:hover {
    background: #1ebe57;
}

.author-box .xshare a.share-facebook {
    background: #3b5998;
}

.author-box .xshare a.share-facebook:hover {
    background: #2d4373;
}

.author-box .xshare a.share-weixin {
    background: #09b83e;
}

.author-box .xshare a.share-weixin:hover {
    background: #078d30;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .author-box {
        padding: 20px;
    }

    .author-box-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .author-box .author-image {
        margin-right: 15px;
    }

    .author-box .author-image img {
        width: 100px !important;
        height: 100px !important;
    }

    .author-box .author-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .author-box .author-bio {
        font-size: 13px;
        line-height: 1.6;
    }

    .author-box .xshare {
        flex-wrap: wrap;
    }

    .author-box .xshare-title {
        width: 100%;
        margin-bottom: 10px;
    }

    .author-box .xshare a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

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

    .author-box .author-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .author-box .author-image img {
        width: 120px !important;
        height: 120px !important;
    }

    .author-box .author-name {
        font-size: 16px;
    }

    .author-box .author-bio {
        font-size: 12px;
    }
}
