/* Minimalist Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.container {
    max-width: 680px; /* Slightly wider for reading comfort */
    width: 100%;
}

/* Navigation */
.nav-back {
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.nav-back a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s;
}

.nav-back a:hover {
    color: #000;
}

/* Header Section */
.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.category {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #888;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 15px 0;
    letter-spacing: -0.03em;
}

.date {
    font-size: 0.9rem;
    color: #666;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px auto;
    width: 80px;
}

/* Hero Image Styling */
.hero-image-container {
    margin: 30px auto 0;
    max-width: 1000px; /* Limits width to your specification */
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0; /* Light placeholder before load */
}

.hero-image-container img {
    width: 100%;
    height: 400px; /* Fixed height for desktop to maintain 5:2 */
    object-fit: cover; /* Ensures the image fills the space without stretching */
    display: block;
    /* Keeps the monochrome theme if you use a color image */
    filter: grayscale(100%); 
    transition: filter 0.5s ease;
}

.hero-image-container img:hover {
    filter: grayscale(0%); /* Subtle interaction: reveals color on hover */
}

/* Mobile Responsiveness for Image */
@media (max-width: 768px) {
    .hero-image-container img {
        height: auto; /* Allow height to scale naturally on mobile */
        aspect-ratio: 5 / 2; /* Maintain the ratio regardless of screen size */
    }
}

/* Justified Content */
.content p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 25px;
    font-size: 1.1rem;
    hyphens: auto;
}

/* Blockquote Style */
blockquote {
    margin: 40px 0;
    padding: 0 20px;
    border-left: 3px solid #000;
    font-style: italic;
    font-size: 1.2rem;
    text-align: left; /* Quotes look better left-aligned */
}

/* Footer Section */
.post-footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.share {
    margin-bottom: 30px;
}

.share p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.share a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.thanks {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .content p {
        font-size: 1rem;
    }
}