/* Blog list and post pages, on top of portfolio.css and custom.css */

.post-title {
    font-size: 2.6em;
    letter-spacing: 0.02em;
    max-width: 900px;
    margin: 0 auto;
}

.post-date {
    color: #b0b5bd;
    margin: 12px 0 18px;
}

.post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-link .project {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-link:hover .project {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.post-list-title {
    margin: 0;
    font-size: 1.3em;
    color: #1f2a44;
}

.post-list-date {
    margin: 2px 0 0;
    font-size: 0.95em;
    color: #888;
}

.post article {
    color: #333;
    font-size: 1.1em;
    line-height: 1.75;
}

.post article p {
    color: #333;
}

.post article h2,
.post article h3 {
    color: #1f2a44;
    margin-top: 1.8em;
    line-height: 1.3;
}

.post article a {
    color: #008b8b;
}

.post article blockquote {
    margin: 1.5em 0;
    padding: 4px 20px;
    border-left: 4px solid #00b3b3;
    background-color: #f2f3f5;
    border-radius: 0 8px 8px 0;
}

.post article blockquote p {
    color: #444;
}

.post article code {
    background-color: #f2f3f5;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.9em;
}

.post article pre {
    background-color: #1f2a44;
    color: #e1e4eb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

.post article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.post article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post article hr {
    border: none;
    border-top: 2px solid #e1e4eb;
    margin: 2em 0;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.9em;
    }

    .post {
        padding: 20px 16px;
    }
}
