/* styles for the post page */

#stage {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* Remove overflow here for post page */
}

#post-container {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 2em 4em;
    margin: 0 auto;
}

#post-container article {
    padding-left: 6em;
    padding-right: 6em;
}

.post-header {
    text-align: center;
    margin-bottom: 3em;
}

.post-header h1 {
    font-family: "Kanit", sans-serif;
    font-size: 3em;
    margin-bottom: 0.2em;
    font-weight: 800;
}

.post-header .separator {
    color: #EF9A0A;
    font-size: 2em;
    margin-bottom: 1em;
}

.post-header .meta {
    font-size: 0.9em;
    color: #666;
    font-family: "Josefin Sans", sans-serif;
}

.back-link {
    margin-bottom: 2em;
    text-align: left;
}

.back-link a {
    color: #EF9A0A;
    text-decoration: none;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link a:hover {
    color: #d88a00;
    text-decoration: underline;
}

.post-body {
    font-family: "Josefin Sans", sans-serif;
    line-height: 1.8;
    font-size: 1.1em;
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h2 {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.post-body .highlight {
    background-color: #fef0db;
    border-left: 4px solid #EF9A0A;
    padding: 1em 1.5em;
    margin: 2em 0;
    font-style: italic;
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


@media screen and (max-width: 768px) {
    #post-container {
        padding: 1.5em;
    }

    .post-header h1 {
        font-size: 2.2em;
    }

    .post-body {
        font-size: 1em;
    }

    #post-container article {
        padding-left: 2em;
        padding-right: 2em;
    }
} 