.article-sidebar,
.service-sidebar {
    position: relative;
}

.editor-profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.editor-bg-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.12;
    pointer-events: none;
    filter: brightness(1.2) contrast(1.2) saturate(1.3);
}

.editor-profile-content {
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.editor-avatar {
    flex-shrink: 0;
}

.article-layout .editor-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00A651;
    box-shadow: 0 4px 12px rgba(0,166,81,0.2);
}

.editor-info {
    flex: 1;
}

.editor-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(183deg, #00a651 50%, #0075C9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-layout .editor-role {
    font-size: 14px;
    font-weight: 700;
    color: #00A651;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.editor-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

.editor-bio p {
    margin-bottom: 12px;
}

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

.service-layout .editor-profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-layout .editor-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0075C9;
    box-shadow: 0 4px 12px rgba(0,117,201,0.2);
}

.service-layout .editor-role {
    font-size: 14px;
    font-weight: 700;
    color: #0075C9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.author-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #00A651;
}

.author-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 6px;
}

.author-role {
    font-size: 13px;
    font-weight: 600;
    color: #00A651;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

@media (max-width: 1024px) {
    .article-sidebar,
    .service-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .article-sidebar,
    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .editor-profile-content {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }

    .editor-avatar img {
        margin: 0 auto;
        width: 85px !important;
        height: 85px !important;
    }

    .editor-info {
        text-align: center;
        width: 100%;
    }

    .editor-bg-logo {
        background-position: center center;
        width: 100%;
        left: 0;
        right: 0;
        background-size: 80%;
    }

    .editor-name {
        background: linear-gradient(200deg, #00a651 20%, #0075C9 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}