/* ===== HOME FEED ===== */
.feed-container {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Sidebar */
.feed-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.profile-card-cover {
    height: 60px;
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.profile-card-body {
    padding: 0 16px 16px;
    text-align: center;
    margin-top: -30px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    background: #0A66C2;
    background-size: cover;
    background-position: center;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-headline {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.profile-stats {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.profile-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 12px;
}

.profile-stat-label {
    color: var(--secondary-color);
}

.profile-stat-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Main Feed */
.feed-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Create Post Box */
.create-post-box {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.create-post-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.create-post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0A66C2;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.create-post-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

.create-post-input:hover {
    background: var(--bg-hover);
}

.create-post-actions {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}

.create-post-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.create-post-action:hover {
    background: var(--bg-hover);
}

.create-post-action-icon {
    font-size: 20px;
}

/* Post Card */
.post-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.post-header {
    padding: 16px;
    display: flex;
    gap: 12px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

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

.post-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.post-author-headline {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.post-timestamp {
    font-size: 12px;
    color: var(--secondary-color);
}

.post-content {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.post-media {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-video {
    width: 100%;
    max-height: 500px;
    background: #000;
}

.post-actions {
    display: flex;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
}

.post-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
    border: none;
    background: transparent;
}

.post-action-btn:hover {
    background: var(--bg-hover);
}

.post-action-btn.active {
    color: var(--primary-color);
}

.post-action-icon {
    font-size: 20px;
}

.post-stats {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--secondary-color);
}

.post-stat-item {
    cursor: pointer;
}

.post-stat-item:hover {
    text-decoration: underline;
}

/* Right Sidebar */
.feed-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggestions-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.suggestions-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.suggestion-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
}

.suggestion-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.suggestion-headline {
    font-size: 12px;
    color: var(--secondary-color);
}

.suggestion-btn {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* News/Trending */
.news-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.news-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.news-item {
    padding: 8px 0;
    cursor: pointer;
}

.news-item:hover {
    background: var(--bg-hover);
    margin: 0 -8px;
    padding: 8px;
    border-radius: 4px;
}

.news-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.news-meta {
    font-size: 11px;
    color: var(--secondary-color);
}

