
 body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            font-family: 'Merriweather', serif;

        }

        header {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 24px;
        }
#story-title {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 15px;
}
/* ✨ Style the main story image */
.story-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: scale(1.02); /* Slight zoom on hover */
}

/* 📝 Story content styling for readability */
.story-content {
    font-size: 18px;
    line-height: 1.8;
    color: #2e2e2e;
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    white-space: pre-line; /* Preserves line breaks */
}

        /* Navigation Tabs Below Header */
        .tabs {
            display: flex;
            justify-content: center;
            background-color: #444;
            padding: 10px;
        }

        .tab {
            margin: 0 15px;
            color: white;
            text-decoration: none;
            font-weight: bold;
            padding: 5px 10px;
            cursor: pointer;
        }

        .tab:hover, .tab.active {
            background-color: #007BFF;
            border-radius: 5px;
            text-decoration: none;
        }

        /* Main Layout Container */
        .container {
            display: flex;
            width: 100%;
            height: 100%;
            padding-top: 20px;
        }

        /* Left Column (Story Titles) */
        .left-column {
            width: 250px;
            background-color: #f4f4f4;
            padding: 20px;
            box-sizing: border-box;
            overflow-y: auto;
        }

        .left-column h2 {
            font-size: 18px;
        }

        .left-column ul {
            list-style-type: none;
            padding: 0;
        }

        .left-column li {
            margin-bottom: 10px;
            cursor: pointer;
            color: #007BFF;
            font-weight: bold;
        }

        .left-column li:hover {
            text-decoration: underline;
        }
/*css for the article display */
.story-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.story-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    font-family: 'Merriweather', serif;
}

.story-content {
    font-size: 18px;
    line-height: 1.8;
    font-family: 'Georgia', serif;
    color: #2a2a2a;
    white-space: pre-line;
}

.story-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

        /* Middle Column (Story Content and Comments) */
        .middle-column {
            flex: 1;
            padding: 20px;
            box-sizing: border-box;
            background-color: #fff;
            overflow-y: auto;
        }

        .middle-column .story-image {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .middle-column .story-content {
            margin-top: 20px;
            font-size: 16px;
            color: #333;
        }

        .middle-column .comments-section {
            margin-top: 30px;
        }

        .middle-column .comment {
            display: flex;
            margin-bottom: 15px;
        }

        .middle-column .comment img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }

        .middle-column .comment-text {
            background-color: #f0f0f0;
            padding: 10px;
            border-radius: 8px;
            width: 100%;
        }

        /* Right Column (Related Thumbnails) */
        .right-column {
            width: 250px;
            background-color: #f4f4f4;
            padding: 20px;
            box-sizing: border-box;
            overflow-y: auto;
        }

        .right-column h2 {
            font-size: 18px;
        }

        .right-column .thumbnail {
            display: flex;
            margin-bottom: 20px;
            cursor: pointer;
        }

        .right-column .thumbnail img {
            width: 60px;
            height: 60px;
            border-radius: 5px;
        }

        .right-column .thumbnail-title {
            margin-left: 10px;
            font-size: 16px;
            align-self: center;
        }
/*media queries */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding-top: 10px;
    }

    .left-column,
    .right-column {
        width: 100%;
        order: 2;
        padding: 10px;
    }

    .middle-column {
        order: 1;
        padding: 15px;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        margin: 5px;
        padding: 8px 12px;
    }

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

@media (max-width: 480px) {
    header {
        font-size: 20px;
        padding: 15px;
    }

    #story-title,
    .story-title {
        font-size: 22px;
    }

    .story-content {
        font-size: 16px;
        padding: 15px;
    }

    .left-column h2,
    .right-column h2 {
        font-size: 16px;
    }

    .right-column .thumbnail {
        flex-direction: row;
    }

    .right-column .thumbnail img {
        width: 50px;
        height: 50px;
    }

    .right-column .thumbnail-title {
        font-size: 14px;
    }
}
