/* 页面头部样式 */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/stories-header.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

/* 故事卡片样式 */
.story-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.story-image {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
}

.story-image img {
    width: calc(50% - 10px);
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
}

.story-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.story-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.story-excerpt {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.full-story {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.full-story p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.full-story.show {
    display: block;
}

/* 分享故事区域 */
.share-story {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    margin-top: 50px;
}

.share-story h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.share-story p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #666;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2em;
    }

    .story-image {
        flex-direction: column;
    }

    .story-image img {
        width: 100%;
        height: 200px;
    }

    .story-content {
        padding: 20px;
    }

    .story-content h2 {
        font-size: 1.5em;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 20px;
    }
} 