/* Page & Post Content Typography Styles - Editor-like formatting */
.entry-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.entry-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5em;
    margin-top: 0;
}

.entry-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}

.entry-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin-top: 2em;
    margin-bottom: 0.7em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #e5e7eb;
}

.entry-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}

.entry-content h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.entry-content h6 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #4b5563;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.entry-content ul,
.entry-content ol {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5em;
    padding-left: 0.3em;
}

.entry-content li > ul,
.entry-content li > ol {
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}

.entry-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #111827;
}

.entry-content em,
.entry-content i {
    font-style: italic;
    color: #374151;
}

.entry-content blockquote {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    font-style: italic;
    margin: 2em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #2563eb;
    background-color: #f9fafb;
    border-radius: 0 8px 8px 0;
}

.entry-content code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-weight: 500;
}

.entry-content pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    font-size: 15px;
    line-height: 1.6;
}

.entry-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2em 0;
}

.entry-content figure {
    margin: 2em 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5em;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.entry-content thead {
    background-color: #f3f4f6;
}

.entry-content th {
    font-weight: 700;
    color: #111827;
    text-align: left;
    padding: 1em 1.5em;
    border-bottom: 2px solid #d1d5db;
}

.entry-content td {
    padding: 1em 1.5em;
    border-top: 1px solid #e5e7eb;
    color: #374151;
}

.entry-content tr:hover {
    background-color: #f9fafb;
}

.entry-content hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 3em 0;
}

/* Remove margin from first and last elements */
.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}
