/* 说说页面专用样式 */
.shuoshuo-container {
    /*max-width: 700px;*/
    max-width: auto;
    margin: 2rem auto;
    padding: 0 1rem;
}

.shuoshuo-title {
    /*text-align: center;*/
    margin-bottom: 3rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1rem;
}

.shuoshuo-item {
    background-color: #2a2e32;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.shuoshuo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.shuoshuo-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #ddd;
}

.shuoshuo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 1rem;
}

.shuoshuo-date {
    font-family: "宋体", "SimSun";
}

.shuoshuo-mood {
    font-size: 1.5rem;
}

.shuoshuo-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.shuoshuo-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.shuoshuo-image:hover {
    transform: scale(1.03);
}

.shuoshuo-id {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: #45a9f9;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .shuoshuo-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* 修改这里：在移动端也保持两列 */
    .shuoshuo-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 如果想要在更小的屏幕上调整图片大小 */
    @media (max-width: 480px) {
        .shuoshuo-images {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.3rem;
        }
        
        .shuoshuo-image {
            height: 120px; /* 在更小的屏幕上稍微减小高度 */
        }
    }
}