/* General Styles */
body {
    box-sizing: border-box;
    background-color: #111827; /* Dark Gray-Blue */
    color: #F3F4F6; /* Light Gray */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    margin: 0;
    padding-top: 70px; /* Offset for fixed nav */
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Fixed Navigation */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.9); /* Semi-transparent dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #1F2937;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-socials a svg {
    width: 22px;
    height: 22px;
    fill: #9CA3AF;
    transition: fill 0.2s ease-in-out;
}

.nav-socials a:hover svg {
    fill: #FFFFFF;
}

/* Hero Section */
.hero-section {
    width: 100%; 
    padding: 4rem 0;
    margin-bottom: 3rem;
    background-color: #0F172A; /* Darker Slate-Blue */
    border-bottom: 1px solid #1F2937; /* Subtle border for separation */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: left;
}

.hero-content h2 {
    font-size: 3rem; 
    font-weight: 700;
    line-height: 1.2; /* Adjusted line height */
    margin-bottom: 1rem;
    border-bottom: none; 
    color: #FFFFFF; /* Ensure hero title is white */
}

@media (max-width: 768px) { 
    .hero-content h2 {
        font-size: 2rem;
        text-align: left;
    }
}

.hero-content p {
    font-size: 1.125rem;
    color: #D1D5DB; 
    max-width: 600px;
}

/* Primary Navigation Links (Category Buttons) */
.nav-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 0rem;
}

.nav-primary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #374151; /* Dark Gray */
    color: #F3F4F6; /* Light Gray */
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    white-space: nowrap;
    min-width: 60px;
}

.nav-primary a:hover {
    background-color: #4B5563; /* Slightly lighter gray on hover */
    color: #FFFFFF;
}

.nav-primary a.active {
    background-color: #6B7280; /* Darker gray for active button */
    color: #FFFFFF;
    font-weight: 600;
}

/* Post Styles */
.post {
    margin-bottom: 40px;
    background-color: #1F2937; /* Slightly lighter dark for post background */
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.post:last-child {
    margin-bottom: 0;
}

.post-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.post-top-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem; /* Space between pill and title */
}

.day-pill {
    display: inline-flex;
    align-items: center;
    background-color: #2C5282; /* Soft darker blue for the pill */
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px; /* Fully rounded */
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 2rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.post-title {
    color: #60A5FA; /* Light Blue for titles */
    margin-top: 0; 
    margin-bottom: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}
.post-meta {
    font-size: 0.875rem;
    color: #9CA3AF; /* Muted gray for meta info */
    margin-bottom: 1rem;
    padding-left: 0;
}
.post-content {
    color: #D1D5DB; /* Light gray for content text */
}

.post-content h2, .post-content h3, .post-content h4 {
    color: #60A5FA; /* Ensure headings within posts are consistent */
}

.post-content p {
    margin-bottom: 1em;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #1F2937;
    color: #6B7280;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

footer .social-links a svg {
    width: 24px;
    height: 24px;
    fill: #9CA3AF;
    transition: fill 0.2s ease-in-out;
}

footer .social-links a:hover svg {
    fill: #FFFFFF;
}

footer .copyright {
    font-size: 0.875rem;
}
