/* ============================================================================
   STORIES PAGE STYLES
   ============================================================================ */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Stream header overlap effect - specific to stories page layout */
#stream-header-bottom {
    position: relative;        /* Not absolute like on map page */
    width: 100%;
    height: 50px;              /* 50px visible height */
    z-index: 75;
    pointer-events: none;
    overflow: hidden;
    margin-bottom: -50px;      /* Pull content up to create overlap */
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 100;              /* Above the stream overlap */
}

.intro {
    background-color: rgba(93, 93, 129, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #C5D1EB;
}

.story-section {
    margin-bottom: 40px;
}

.story-section h2 {
    color: #FEF6C9;
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 249, 79, 0.3);
}

.story-section h3 {
    color: #FFD700;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
}

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

.story-item {
    background-color: rgba(93, 93, 129, 0.2);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #ff8fab;
    transition: all 0.3s;
}

.story-item:hover {
    background-color: rgba(93, 93, 129, 0.4);
    border-left-color: #C5D1EB;
    transform: translateX(5px);
}

.story-item a {
    color: #C5D1EB;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.story-item .segment-id {
    color: #A59E8C;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.story-count {
    color: #FFD700;
    font-size: 14px;
    font-style: italic;
}

footer {
    background-color: #0f0f1e;
    color: #A59E8C;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}
