/**
 * Typography Styles
 */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-4xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-3xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

h6 {
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

p:last-child {
    margin-bottom: 0;
}

/* Content typography */
.entry-content p {
    line-height: var(--line-height-relaxed);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-relaxed);
}

.entry-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: var(--space-md) var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--color-bg-warm);
    font-style: italic;
    color: var(--color-text-light);
}

.entry-content table {
    margin-bottom: var(--space-xl);
    border: 1px solid var(--color-border);
}

.entry-content th,
.entry-content td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.entry-content th {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-weight: var(--font-weight-semibold);
}

.entry-content tr:nth-child(even) {
    background-color: var(--color-bg-light);
}

.entry-content a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--color-secondary);
}

.entry-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-2xl) 0;
}

strong, b {
    font-weight: var(--font-weight-semibold);
}

em, i {
    font-style: italic;
}

.text-accent {
    color: var(--color-secondary);
}

.text-primary {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
