.linkedin-post {
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: box-shadow 0.2s ease;
}

.linkedin-post:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.linkedin-post-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.linkedin-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    object-fit: cover;
    background: #e1e5e9;
}

.linkedin-author-info {
    flex: 1;
    min-width: 0;
}

.linkedin-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #000000e6;
    text-decoration: none;
    line-height: 1.25;
}

.linkedin-author-name:hover {
    color: #0a66c2;
    text-decoration: underline;
}

.linkedin-author-title {
    font-size: 12px;
    color: #666666;
    margin-top: 2px;
    line-height: 1.33;
}

.linkedin-post-date {
    font-size: 12px;
    color: #666666;
    margin-top: 4px;
}

.linkedin-post-content {
    font-size: 14px;
    line-height: 1.5;
    color: #000000e6;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.linkedin-post-content.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.linkedin-see-more {
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.linkedin-see-more:hover {
    color: #0a66c2;
}

.linkedin-post-media {
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}

.linkedin-post-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.linkedin-post-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
    color: #666666;
}

.linkedin-reactions {
    display: flex;
    align-items: center;
}

.linkedin-reaction-icons {
    display: flex;
    margin-right: 6px;
}

.linkedin-reaction-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: -2px;
    border: 1px solid white;
}

.linkedin-like-icon {
    background: #0a66c2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.linkedin-celebrate-icon {
    background: #6dae4f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.linkedin-post-actions {
    display: flex;
    justify-content: space-around;
    padding: 4px 0;
}

.linkedin-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    flex: 1;
}

.linkedin-action-button:hover {
    background-color: #f3f6f8;
    color: #0a66c2;
}

.linkedin-action-icon {
    margin-right: 8px;
    font-size: 16px;
}

.linkedin-error {
    text-align: center;
    padding: 40px;
    color: #666666;
}

.linkedin-error-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ccc;
}

.linkedin-no-posts {
    text-align: center;
    padding: 40px;
    color: #666666;
}

.linkedin-no-posts-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #0077b5;
}

@media (max-width: 640px) {
    .linkedin-post {
        padding: 12px;
    }
    
    .linkedin-author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .linkedin-post-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .linkedin-action-button {
        padding: 12px;
        border: 1px solid #e1e5e9;
        border-radius: 8px;
        justify-content: flex-start;
    }
}

/* Loading animation */
.linkedin-loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.linkedin-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}