/* Seção de Posts */
.posts-section {
    margin: 20px 0;
    width: 100%;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-details {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.2;
}

.post-handle {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.post-menu {
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.post-menu:hover {
    background-color: #f5f5f5;
}

.post-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-media img,
.post-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    opacity: 50%;
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.post-actions-left {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

.post-stats {
    padding: 0 15px 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.likes-count,
.comments-count {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Botão "Ver Tudo" */
.view-all-button-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.view-all-button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 280px;
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.view-all-button:active {
    transform: translateY(0);
}

/* Responsividade Mobile */
@media screen and (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .post-media {
        height: 250px;
    }
    
    .post-avatar {
        width: 28px;
        height: 28px;
    }
    
    .post-username {
        font-size: 13px;
    }
    
    .post-handle {
        font-size: 11px;
    }
    
    .view-all-button {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 250px;
    }
    
    .post-header {
        padding: 10px 12px;
    }
    
    .post-actions {
        padding: 10px 12px;
    }
    
    .post-stats {
        padding: 0 12px 10px;
    }
}

/* Responsividade para telas muito pequenas */
@media screen and (max-width: 480px) {
    .posts-section {
        margin: 15px 0;
    }
    
    .post-media {
        height: 220px;
    }
    
    .view-all-button {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 220px;
    }
}

/* Responsividade para tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .post-media {
        height: 180px;
    }
}

/* Responsividade para desktop */
@media screen and (min-width: 1025px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .post-media {
        height: 350px;
    }
    
    .view-all-button {
        padding: 16px 35px;
        font-size: 17px;
        min-width: 300px;
    }
}

