/* Blockuranus Initiative - Academic Research Style */

:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #e74c3c;
    --text-dark: #2c3e50;
    --text-body: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-off-white: #f7fafc;
    --bg-light: #edf2f7;
    --border: #e2e8f0;
    --border-dark: #cbd5e0;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-serif: 'Georgia', 'Cambria', 'Times New Roman', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--bg-off-white);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Navigation - Minimal Academic Style */
.top-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}

.brand strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0 50px;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
}

/* Main Content Area */
.content-main {
    padding-bottom: 80px;
}

.content-main .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Research Intro */
.research-intro {
    margin-bottom: 56px;
}

.intro-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

.intro-box h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.intro-box p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.intro-box p:last-child {
    margin-bottom: 0;
}

/* Recent Papers Section */
.recent-papers {
    grid-column: 1;
}

.recent-papers > h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 600;
}

/* Paper Card - Academic Style */
.paper-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.paper-card:hover {
    border-left-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.paper-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.paper-header time {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-light);
    color: var(--text-body);
    font-size: 12px;
    border-radius: 12px;
    font-weight: 500;
}

.paper-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.paper-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.paper-card h3 a:hover {
    color: var(--accent);
}

.abstract {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.paper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--bg-light);
}

.authors {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.read-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.read-link:hover {
    color: var(--primary);
}

/* View All Button */
.view-all {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--border-dark);
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar-info {
    grid-column: 2;
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-body);
    font-size: 15px;
    border-bottom: 1px solid var(--bg-light);
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 15px;
}

/* Footer - Unique Academic Style */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-about h4,
.footer-links h4,
.footer-legal h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-about p {
    line-height: 1.7;
    font-size: 15px;
}

.footer-links a,
.footer-legal a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Blog List Page */
.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.blog-list {
    grid-column: 1 / -1;
}

/* Single Blog Post Styles */
.post-header-section {
    background: var(--bg-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.post-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    gap: 24px;
    color: var(--text-light);
    font-size: 15px;
}

.post-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.post-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin: 40px 0 20px;
    font-weight: 600;
}

.post-content h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 32px 0 16px;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-body);
}

.post-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.post-content em {
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 20px 0 20px 32px;
}

.post-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin: 32px 0;
    font-size: 17px;
    color: var(--text-body);
    font-style: italic;
}

.post-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-main .container {
        grid-template-columns: 1fr;
    }

    .sidebar-info {
        position: static;
        grid-column: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 40px 0 30px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header .subtitle {
        font-size: 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .paper-card {
        padding: 20px;
    }

    .paper-card h3 {
        font-size: 18px;
    }

    .post-title {
        font-size: 28px;
    }
}
