/* Essay specific styles */
.essay-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styles */
header {
    margin-bottom: 60px;
}

/* Essay content */
.essay-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #000;
}

.essay-content h1 {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #000;
}

.essay-metadata {
    display: flex;
    gap: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.9em;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.essay-body {
    font-family: 'Space Mono', monospace;
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.87);
}

.essay-body p {
    margin-bottom: 1.5em;
}

.essay-body h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.8em;
    margin: 2em 0 1em;
    color: #000;
}

.essay-body h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.4em;
    margin: 1.5em 0 1em;
    color: #000;
}

/* Blockquotes */
.essay-body blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    border-left: 4px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
    font-style: italic;
    color: rgba(0, 0, 0, 0.7);
}

/* Footer navigation */
.essay-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.essay-nav {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
}

.prev-essay,
.next-essay {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.prev-essay:hover,
.next-essay:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Essay subtitle and links */
.essay-subtitle {
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2em;
    font-style: italic;
}

.essay-subtitle a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.essay-subtitle a:hover {
    border-bottom-color: rgba(0, 0, 0, 0.8);
}

/* Highlighted quote */
.highlight-quote {
    margin: 3em 0;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    position: relative;
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.8);
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4em;
    color: rgba(0, 0, 0, 0.1);
    font-family: 'Chakra Petch', sans-serif;
}

.highlight-quote p {
    margin: 0;
    line-height: 1.6;
}

.highlight-quote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    opacity: 0.7;
}

/* External link icon */
a[target="_blank"]::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

a[target="_blank"]:hover::after {
    transform: translate(2px, -2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .essay-container {
        padding: 20px;
    }

    .essay-content {
        padding: 30px 20px;
    }

    .essay-content h1 {
        font-size: 2em;
    }

    .essay-body {
        font-size: 1em;
    }
}

/* Selection highlight */
::selection {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
} 