/*
 * Medium Style Theme - Page Styles
 */

/* Page Container */
.page-container {
    max-width: 728px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Header */
.page-section {
    padding: 80px 0;
}

.page-header {
    margin-bottom: 48px;
}

.page-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.page-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Featured Image */
.featured-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 48px 0;
    border-radius: 4px;
}

/* Page Content */
.page-content {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.page-content p {
    margin-bottom: 32px;
}

.page-content h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 56px 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-content h3 {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}

.page-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.page-content a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 2px;
    transition: all 0.2s;
}

.page-content a:hover {
    color: var(--accent);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 40px 0;
}

.page-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.page-content code {
    font-family: 'Courier New', monospace;
    background: var(--bg-secondary);
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

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

.page-content blockquote {
    border-left: 4px solid var(--text-primary);
    padding-left: 24px;
    margin: 40px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.375rem;
    line-height: 1.6;
}

.page-content ul,
.page-content ol {
    margin: 32px 0;
    padding-left: 32px;
}

.page-content li {
    margin-bottom: 12px;
}

.page-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1.25rem;
    }
    
    .page-content {
        font-size: 1.125rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content blockquote {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .page-section {
        padding: 48px 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}
