/* TRVTimes Archive Stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 100%;
    background: white;
    min-height: 100vh;
}

/* Header Styles */
header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-logo {
    margin-bottom: 1rem;
}

.site-logo svg {
    max-width: 100%;
    height: 60px;
    width: auto;
}

.site-title {
    font-family: "Nimbus Roman", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.archive-notice {
    background: #f0f0f0;
    color: #666;
    padding: 0.5rem 1rem;
    margin: 1rem auto;
    font-size: 0.9rem;
    display: inline-block;
    border-left: 3px solid #000;
}

/* Navigation */
nav.main-nav {
    border-top: 1px solid #e0e0e0;
    border-bottom: 3px double #e0e0e0;
    margin-top: 1rem;
    padding: 0.75rem 0;
}

nav.main-nav a {
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

nav.main-nav a:hover {
    color: #666;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

/* Archive Index Styles */
.archive-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.archive-main {
    border-right: 1px solid #e0e0e0;
    padding-right: 3rem;
}

.archive-sidebar {
    padding-left: 1rem;
}

.archive-section {
    margin-bottom: 3rem;
}

.archive-section h2 {
    font-family: "Nimbus Roman", "Times New Roman", serif;
    font-size: 1.75rem;
    color: #000;
    border-bottom: 3px double #000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.archive-list {
    list-style: none;
}

.archive-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.archive-list li:first-child {
    padding-top: 0;
}

.archive-list a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.archive-list a:hover {
    color: #666;
}

.archive-meta {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Article Page Styles */
article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-category {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.entry-title {
    font-family: "Nimbus Roman", "Times New Roman", serif;
    font-size: 2.75rem;
    line-height: 1.2;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.entry-meta .author {
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.entry-meta .date {
    color: #999;
}

.entry-meta span {
    margin-right: 1rem;
}

.reading-time {
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Article Content */
.entry-content {
    font-family: "Lato", "Arial", sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.entry-content::first-letter {
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    float: left;
    margin: 0 0.1em 0 0;
    font-family: "Nimbus Roman", "Times New Roman", serif;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: "Nimbus Roman", "Times New Roman", serif;
    margin: 2.5rem 0 1rem;
    color: #000;
    font-weight: 700;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 1.875rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.entry-content blockquote {
    border-left: 4px solid #000;
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    background: #f9f9f9;
}

.entry-content pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.9rem;
    border-left: 4px solid #000;
}

.entry-content code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
}

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

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.entry-content a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #0052a3;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 3rem 20px;
    margin-top: 4rem;
    border-top: 3px double #333;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .archive-main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
    }

    .archive-sidebar {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content::first-letter {
        font-size: 3rem;
    }

    header,
    main,
    footer {
        padding: 1rem;
    }

    .archive-list a {
        font-size: 1rem;
    }
}