/* ===========================
   Story Display Frontend CSS
=========================== */

/* Wrapper */
.story-wrapper {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Header Meta */
.story-meta-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.story-author-avatar {
    font-weight: bold;
}

.story-category-type {
    font-style: italic;
    margin: 5px 0;
}

.story-link-share a {
    text-decoration: none;
    color: #0073aa;
    margin-right: 10px;
}

.story-link-share a:hover {
    text-decoration: underline;
}

/* Title */
.story-title-wrapper {
    margin: 15px 0;
    position: relative;
}

.story-title-wrapper h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Story Content */
.story-content {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
}

/* Footer / Hashtags */
.story-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.story-footer .story-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.story-footer .story-hashtag {
    color: #0073aa;
}

/* Navigation */
.story-navigation {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.story-navigation a {
    padding: 6px 12px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.story-navigation a:hover {
    background-color: #ddd;
}

/* ===========================
   Responsive Mobile
=========================== */
@media (max-width: 600px) {
    .story-wrapper {
        padding: 15px;
    }
    .story-title-wrapper h2 {
        font-size: 22px;
    }
    .story-content {
        font-size: 14px;
    }
    .story-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .story-navigation {
        flex-direction: column;
    }
}
