/**
 * File: page.css
 * Deskripsi: Style dasar untuk tipografi pada konten halaman statis.
 * Tema: Menara
 */

/* Semua style ini hanya berlaku di dalam area konten utama */
.entry-content {
    word-wrap: break-word;
}

/* --- HEADINGS (H1-H6) --- */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    clear: both;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.75em 0 0.75em 0;
    font-family: var(--font-heading);
}

.entry-content h1 { font-size: 2.25rem; }
.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1rem; }
.entry-content h4 { font-size: 0.8rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

/* --- TEKS DASAR & LINK --- */
.entry-content p {
    margin-bottom: 1.5em;
    line-height: 1.5;
}

.entry-content a {
    color: #ce490a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #333;
}

/* --- LISTS (UL & OL) --- */
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5em 1.5em;
    padding-left: 1.25em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.75em;
    line-height: 1.7;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

/* --- BLOCKQUOTES --- */
.entry-content blockquote {
    margin: 0 0 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #ce490a;
    background-color: #f9f9f9;
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* --- KODE & PREFORMATTED --- */
.entry-content code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    background-color: #f1f1f1;
    padding: 2px 5px;
    font-size: 0.9em;
    border-radius: 3px;
}

.entry-content pre {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    background: #f1f1f1;
    padding: 1em;
    margin: 0 0 1.5em 0;
    overflow-x: auto;
    white-space: pre-wrap;
    font-size: 0.9em;
    line-height: 1.5;
}

/* --- TABEL --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95em;
}

.entry-content th,
.entry-content td {
    padding: 0.75em;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content th {
    background-color: #f5f5f5;
    font-weight: 700;
}

header.entry-header h1 {
    font-size: 23px;
}

@media screen and (max-width: 782px) {
    div#content {
        margin-top: 25px;
    }
    .entry-content h1 { font-size: 2rem; }
    .entry-content h2 { font-size: 1.2rem; }
    .entry-content h3 { font-size: 1rem; }
    .entry-content h4 { font-size: 0.8rem; }
    .entry-content h5 { font-size: 0.4rem; }
    .entry-content h6 { font-size: 0.1rem; }
    header.entry-header h1 {
        font-size: 22px;
    }
}