/**
 * Story Page Styles
 * Dedicated page for displaying DFWnow!'s curated storytelling
 */

.story-page {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
}

/* Story Article Styles */
.story-article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.story-header {
    margin-bottom: 30px;
}

.story-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.story-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9rem;
}

.story-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-meta i {
    color: #667eea;
}

.story-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}

.story-intro {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.story-byline {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin: 0;
    text-align: center;
}

.story-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 8px;
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 30px;
}

.story-content p {
    margin-bottom: 20px;
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 15px 0;
}

.story-content strong {
    color: #667eea;
    font-weight: 600;
}

.story-attribution {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.story-attribution .attribution-header {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.story-attribution .attribution-header i {
    color: #667eea;
    margin-right: 8px;
}

.story-attribution p {
    margin: 5px 0;
    color: #666;
    font-size: 0.95rem;
}

.story-attribution strong {
    color: #333;
}

.story-attribution a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.story-attribution a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.story-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.story-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.story-tag {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.story-tag:hover {
    background: #667eea;
    color: white;
}

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

.story-share span {
    font-weight: 600;
    color: #333;
}

.story-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
}

.story-share a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Sidebar Styles */
.story-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.related-story-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-story-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.related-story-card:hover {
    transform: translateX(5px);
}

.related-story-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-story-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-story-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Back Button */
.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .story-title {
        font-size: 2rem;
    }

    .story-article {
        padding: 25px;
    }

    .story-featured-image {
        height: 300px;
    }

    .story-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .story-title {
        font-size: 1.6rem;
    }

    .story-description {
        font-size: 1.1rem;
    }

    .story-content {
        font-size: 1rem;
    }

    .story-article {
        padding: 20px;
    }
}
