/*
Theme Name: TheWriter.id
Theme URI: https://thewriter.id
Author: TheWriter.id
Description: Professional Portfolio Theme for FTTH/Telecom Ghostwriter — modern animated homepage
Version: 1.8.0
License: MIT
*/
body { font-family: 'Inter', sans-serif; }

/* ------------------------------------------------------------------
 * WordPress content typography — scoped strictly to blog post bodies.
 *
 * Tailwind's preflight strips default <p> margins to zero. These rules
 * restore proper spacing for content rendered by the_content() inside
 * the .prose container (used on single blog post template) and the
 * legacy .entry-content container.
 *
 * IMPORTANT: Do NOT add a bare `article` selector here. The theme uses
 * <article> elements for cards across home, services, tools, and
 * front-page templates — applying generic typography to all of them
 * would break those layouts. Only target .prose and .entry-content.
 * ------------------------------------------------------------------ */
.prose p,
.entry-content p {
    margin: 0 0 1.25em 0 !important;
    line-height: 1.75;
}
.prose p:last-child,
.entry-content p:last-child {
    margin-bottom: 0 !important;
}

.prose h2,
.entry-content h2 {
    margin: 2em 0 0.75em 0;
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
    color: #082f49;
}
.prose h3,
.entry-content h3 {
    margin: 1.75em 0 0.5em 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #0c4a6e;
}
.prose h4,
.entry-content h4 {
    margin: 1.5em 0 0.5em 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0c4a6e;
}

.prose ul,
.prose ol,
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25em 1.5em;
    padding-left: 1em;
}
.prose ul,
.entry-content ul { list-style: disc; }

.prose ol,
.entry-content ol { list-style: decimal; }

.prose li,
.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.prose blockquote,
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #0284c7;
    background: #f0f9ff;
    color: #0c4a6e;
    font-style: italic;
}

.prose a,
.entry-content a {
    color: #0284c7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.prose a:hover,
.entry-content a:hover { color: #0369a1; }

.prose img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5em 0;
}

.prose hr,
.entry-content hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.prose pre,
.entry-content pre {
    background: #0c4a6e;
    color: #f0f9ff;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.25em 0;
}

.prose code,
.entry-content code {
    background: #f0f9ff;
    color: #0c4a6e;
    padding: 0.15em 0.35em;
    border-radius: 0.25em;
    font-size: 0.9em;
}
.prose pre code,
.entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
