
    /* Default spacing for the content */
    body {
        padding-top: 0px; 
        margin: 0 auto;
    }
    img {
        border-radius: 0%;
        display: block;
        max-width: 100%;
        height: auto;
    }
    div, body {
        width: max-content;
    }

    /* Fixed Header with Auto-Hide Mechanics */
    .comic-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 60px;
        background-color: #1F1F1F;
        border-bottom: 2px solid #242327;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;
        z-index: 1000;

        /* Default state is hidden */
        transform: translateY(-60px);
        transition: transform 0.25s ease-in-out;

        /* This animation makes it stay visible for 3 seconds on load, then slide up */
        animation: slidePeek 4s ease-in-out forwards;
    }

    /* The "Peek" Animation Logic */
    @keyframes slidePeek {
        0% { transform: translateY(0); }    /* Start visible */
        80% { transform: translateY(0); }   /* Stay visible until 80% of the time (approx 3.2s) */
        100% { transform: translateY(-60px); } /* Finally slide up */
    }

    /* Ensure hover still works even after the animation finishes */
    .comic-header:hover,
    .comic-header:focus-within {
        transform: translateY(0) !important;
    }

    /* Invisible hover-trigger zone extending below the header */
    .comic-header::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -60px; 
        width: 100%;
        height: 60px;
        background: transparent;
        pointer-events: auto;
    }

    /*
    .comic-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 60px;
        background-color: #1F1F1F;
        border-bottom: 2px solid #242327;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;
        z-index: 1000;

        transform: translateY(-60px);
        transition: transform 0.25s ease-in-out;
    }

    .comic-header::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -60px; 
        width: 100%;
        height: 60px;
        background: transparent;
        pointer-events: auto;
    }

    .comic-header:hover,
    .comic-header:focus-within {
        transform: translateY(0);
    }
    */

    /* Flex columns for aligned centering */
    .header-left {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    .header-center {
        flex: 1;
        text-align: center;
    }

    .header-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    /* Episode Title Typography */
    .episode-title {
        font-family: "Comic Sans MS", sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #ffffff;
        white-space: nowrap;
    }

    .episode-date {
        color:rgb(179, 179, 179)
    }

    /* Custom Back/Next buttons styling matching your dark theme */
    .nav-btn {
        font-family: "Comic Sans MS", sans-serif;
        font-weight: 500;
        text-decoration: none !important;
        padding: 0.3em 0.8em;
        border-radius: 4px;
        border: 1px solid #CCC;
        color: #CCC !important;
        transition: all 0.2s ease-in-out;
        white-space: nowrap;
    }

    .nav-btn:hover {
        color: #ffffff !important;
        border-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.05);
    }

    /* Next button highlight styling */
    .nav-btn.next-btn {
        background-color: #CCC;
        color: #1F1F1F !important;
        border-color: #CCC;
    }

    .nav-btn.next-btn:hover {
        background-color: #ffffff;
        border-color: #ffffff;
        color: #1F1F1F !important;
    }

    /* Mobile Responsive Rules */
    @media (max-width: 600px) {
        div, body {
            width: 100% !important;
            max-width: 100vw;
        }
        
        img {
            width: 100% !important;
            height: auto !important;
        }

        .comic-header {
            padding: 0 10px;
        }

        /* Shortens text length for smaller screen boundaries */
        .long-text {
            display: none;
        }

        .nav-btn {
            padding: 0.3em 0.6em;
            font-size: 13px;
        }
    }

    /* Hide the title on narrow viewports to preserve navigation layout */
    @media (max-width: 520px) {
        .header-center {
            display: none;
        }
    }
