/* General Wrapper Styles */
.gazeta-author-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    gap: 24px;
    align-items: flex-start;
}

/* Left side (Avatar) */
.gazeta-author-box-left {
    flex: 0 0 auto;
}

.gazeta-author-avatar img {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Right side (Content) */
.gazeta-author-box-right {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

/* Typography */
.gazeta-author-name {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.gazeta-author-by {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
    margin-right: 0px;
    padding-right: 0px !important;
}

.gazeta-author-name a {
    text-decoration: none;
    color: #212529;
    transition: color 0.2s ease-in-out;
}

.gazeta-author-name a:hover {
    color: var(--primary);
}

.gazeta-author-bio {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

.gazeta-author-bio p:last-child {
    margin-bottom: 0;
}

/* Social Icons */
.gazeta-author-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.gazeta-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
}

.gazeta-social-icon:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

/* Specific Network Colors on hover */
.gazeta-social-icon.gazeta-icon-facebook:hover { background-color: #1877f2; }
.gazeta-social-icon.gazeta-icon-instagram:hover { background-color: #e4405f; }
.gazeta-social-icon.gazeta-icon-x:hover { background-color: #000000; }
.gazeta-social-icon.gazeta-icon-tiktok:hover { background-color: #000000; }
.gazeta-social-icon.gazeta-icon-youtube:hover { background-color: #ff0000; }
.gazeta-social-icon.gazeta-icon-linkedin:hover { background-color: #0a66c2; }

/* All Posts Button */
.gazeta-author-all-posts {
    margin-top: auto;
    align-self: flex-end;
}

.gazeta-btn-all-posts {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.gazeta-btn-all-posts:hover {
    background-color: var(--primary);
    filter: brightness(0.9);
    color: #fff;
}

/* -----------------------------------
   Style Variations
-------------------------------------- */

/* Single Post Style */
.gazeta-style-single {
    margin-top: 10px;
}

.gazeta-style-single .gazeta-author-avatar img {
    width: 100px;
    height: 100px;
}

/* Archive Style */
.gazeta-style-archive .gazeta-author-avatar img {
    width: 100px;
    height: 100px;
}
.gazeta-style-archive {
    background-color: transparent;
    border: none;
    padding: 0;
    gap: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .gazeta-author-box-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gazeta-author-all-posts {
        align-self: center;
        margin-top: 15px;
    }
    
    .gazeta-author-social-links {
        justify-content: center;
    }

    .gazeta-style-archive .gazeta-author-avatar img {
        width: 200px;
        height: 200px;
    }
}
