/* ONLY POST EXPAND/COLLAPSE - NO COMMENT STYLING */

/* Post expand/collapse */
.post-content-container {
    position: relative;
}

.post-content-collapsed {
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.post-content-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.expand-post-btn {
    margin-top: 8px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #0079d3;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.1s;
}

.expand-post-btn:hover {
    border-color: #0079d3;
}

.expand-post-btn i {
    transition: transform 0.2s ease;
}

.expand-post-btn.expanded i {
    transform: rotate(180deg);
}

/* Post voting section */
.post-voting-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edeff1;
    font-size: 12px;
    font-weight: 700;
}

.post-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    cursor: pointer;
    text-decoration: none !important;
    color: #787c7e;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    border: none;
    transition: color 0.1s;
}

.post-vote-btn:hover {
    color: #1c1c1c;
}

.post-vote-btn i {
    font-size: 14px;
}

/* Pagination styling */
.pagination {
    margin-top: 24px;
    gap: 4px;
}

.pagination .page-link {
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #0079d3;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.pagination .page-link:hover {
    background-color: #f6f7f8;
    border-color: #ccc;
}

.pagination .page-item.active .page-link {
    background-color: #0079d3;
    border-color: #0079d3;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background-color: #f6f7f8;
    color: #787c7e;
}