/* Stories Page Styles */

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Story Card */
.story-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    color: #333333;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.story-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.story-content {
    padding: 20px;
    flex-grow: 1;
}

.story-content h2 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.story-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.story-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: #333333;
}

/* Share Story Section */
.share-story-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.share-story-section h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.share-story-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.story-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333333;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-text {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: block;
    margin: 30px auto 0;
}

.submit-button:hover {
    opacity: 0.9;
}

/* Story Guidelines */
.story-guidelines {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    border-left: 4px solid #4285F4;
}

.story-guidelines h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.story-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.story-guidelines li {
    color: var(--text-color);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.story-guidelines li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Animations */
.story-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a.read-more-button,
.read-more-button {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

a.read-more-button:hover,
.read-more-button:hover,
a.read-more-button:focus,
.read-more-button:focus {
    background-color: var(--primary-color) !important;
    color: white !important;
    opacity: 0.9 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
} 