/* Global Styles */
body {
    font-family: "EB Garamond", "Georgia", "Times New Roman", serif;
    max-width: 750px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.75;
    color: #222;
    background: #f5f1e8; /* Soft paper-like warm yellow */
}

/* Navigation */
nav {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    font-weight: 500;
}
.kanban-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Base Card Styling */
.kanban-card {
    background: #f4f1ea; /* Soft warm tone */
    padding: 20px;
    border-left: 4px solid #c2704f; /* Warm, earthy orange */
    transition: transform 0.2s ease-in-out, background 0.2s ease-in-out;
    border-radius: 5px;
    position: relative;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
}

.kanban-card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #3b2f2f; /* Deep warm brown */
}

.kanban-card p {
    font-size: 1.05rem;
    color: #5c4a4a; /* Muted brown-gray */
    margin-top: 6px;
    line-height: 1.5;
}

.kanban-card .post-meta {
    font-size: 0.9rem;
    color: #7a6666; /* Softer grayish-brown */
    margin-top: 10px;
}

/* Category Styling */
.category {
    font-weight: bold;
    font-size: 0.85rem;
    padding: 3px 6px;
    background: #e0b188; /* Subtle warm orange */
    color: #3b2f2f;
    border-radius: 4px;
}

/* NEW Badge */
.badge {
    background: #c2704f;
    color: #fff;
    padding: 4px 9px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Fixed Logo at Top Right */
.logo-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.post-image {
    display: block;
    width: 100%;  /* Ensure full responsiveness */
    max-width: 100%; 
    height: auto;
    margin: 20px auto; 
    border-radius: 5px;
}


.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
    width: 90%;  /* Make it responsive on mobile */
}



.logo-container img {
    height: 60px; /* Adjust as needed */
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.logo-container img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .post-image {
        width: 95%; /* Slightly smaller for better text alignment */
    }
}

/* Hover Effect */
.kanban-card:hover {
    transform: scale(1.02);
    background: #eee6d9; /* Lighter parchment effect */
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Most Recent Post - Highlight */
.highlight {
    grid-column: span 2;
    background: #f1e8dd; /* Slightly warmer highlight */
    border-left: 5px solid #c2704f;
    padding: 30px;
    border-radius: 8px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: #444;
    margin-right: 15px;
    transition: color 0.2s ease-in-out;
}

nav a:hover {
    color: #0055aa;
}

/* Titles */
h1 {
    font-size: 32px;
    font-weight: 600;
    border-bottom: 2px solid #bbb;
    padding-bottom: 8px;
    margin-bottom: 25px;
    color: #222;
}

h2 {
    font-size: 22px;
    margin-top: 40px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    color: #444;
}

/* Content */
p {
    font-size: 18px;
    text-align: justify;
    color: #333;
}

/* Lists */
ul {
    margin-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

/* Links */
a {
    color: #0055aa;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
    color: #003377;
}

/* Footer */
footer {
    margin-top: 50px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Code Blocks for Research Pages */
code {
    font-family: "Courier New", monospace;
    background: #eee;
    padding: 3px 5px;
    border-radius: 3px;
}

pre {
    background: #f4f4f4;
    padding: 10px;
    border-left: 4px solid #0055aa;
    overflow-x: auto;
    font-family: "Courier New", monospace;
}
