/* Medium-inspired styles for all pages */

/* Custom typography improvements */
.prose {
    font-family: 'Charter', Georgia, serif;
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1.5rem;
}

/* Page container for consistent spacing */
.page-container {
    min-height: calc(100vh - 120px);
    padding-top: 3rem;
    padding-bottom: 3rem;
    max-width: 42rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Section headers for individual pages */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
}

.section-title {
    font-family: 'Charter', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.2;
}

.section-description {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 32rem;
    margin: 0 auto;
}

/* Card styling for content sections */
.content-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.content-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom button styles */
.btn-primary {
    background-color: #111827;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #1f2937;
}

.btn-secondary {
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: #9ca3af;
    color: #111827;
}

/* Reading experience improvements */
body {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
