/* such parchment, override minima like whoa */

:root {
    --color-text:#2c3e50;
    --color-text-em:#415162;
    --color-text-light:#6b7885;
    --color-text-lighter:#808b96;
    --color-background:#e8dac3;
    --color-background-card:#e8e5df;
    --color-link:#5366be;
    --color-link-hover:#6379d5;
    --color-hr:#abb2b9;
    --texture-background:url("https://www.transparenttextures.com/patterns/brushed-alum-dark.png");
    --texture-card:url("https://www.transparenttextures.com/patterns/white-paperboard.png");
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Crimson Pro", serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color:var(--color-background);
    background-image: var(--texture-background);
    text-shadow: 1px 1px 2px rgba(128,128,128,0.2);
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration:underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* header vvv */

.site-header {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-variant: all-small-caps;
}

.site-title a {
    color:var(--color-text);
}

.site-description {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.site-main {
    min-height: 60vh;
}

/* essays in default layout vvv */

.essay-preview {
    background-color: var(--color-background-card);
    background-image: var(--texture-card);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.essay-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.essay-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.essay-title a {
    color:var(--color-text);
}

.essay-author {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.essay-date {
    color: var(--color-text-lighter);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.essay-excerpt {
    color:var(--color-text);
    line-height: 1.6;
}

/* essays in post layout vvv */

.post {
    background-color: var(--color-background-card);
    background-image: var(--texture-card);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-hr);
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.post-author {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.post-date {
    color: var(--color-text-lighter);
    font-size: 0.9rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 2rem 0 1rem 0;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.75rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.25rem; }

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content b, .post-content strong, .post-content i, .post-content em {
    color:var(--color-text-em);
}

.post-content a {
    color:var(--color-link);
}

.post-content a:hover {
    color:var(--color-link-hover);
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color:var(--color-text-light);
}

.post-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-hr);
}

.back-link, .back-link:hover {
    color:var(--color-text-light)
}

/* footer vvv */

.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color:var(--color-text-light)
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post {
        padding: 1.5rem;
    }
    
    .essay-preview {
        padding: 1rem;
    }
} 