*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --text: #1A1A2E;
    --muted: #4B5563;
    --border: #E5E7EB;
    --bg: #F9F9FB;
    --white: #FFFFFF;
    --radius: 16px;
    --mobile-w: 460px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ECECF3;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.shell {
    width: 100%;
    max-width: var(--mobile-w);
    background: var(--white);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, .12);
    overflow: hidden;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
}

.logo-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

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

.nav-wa {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    text-decoration: none;
}

.nav-wa svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.page-content {
    padding: 24px 20px 32px;
}

.page-content h1 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.page-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}

.page-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.page-featured {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.prose {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text);
}

.prose h2,
.prose h3,
.prose h4 {
    margin: 1.5em 0 0.5em;
    font-weight: 800;
    line-height: 1.3;
}

.prose h2 { font-size: 18px; }
.prose h3 { font-size: 16px; }
.prose p { margin-bottom: 1em; }
.prose ul,
.prose ol { margin: 0 0 1em 1.25em; }
.prose img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.prose a { color: var(--primary); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 13px; }
.prose th,
.prose td { border: 1px solid var(--border); padding: 8px; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
}

.article-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.article-card-date {
    font-size: 11px;
    color: var(--muted);
}

.article-card-arrow {
    margin-left: auto;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 50px;
}

footer {
    padding: 28px 20px 100px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

.footer-brand {
    font-size: 14px;
    font-weight: 800;
}

.footer-brand span {
    color: var(--primary);
}

footer p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 14px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.float-wa {
    position: fixed;
    bottom: 24px;
    right: calc(50% - var(--mobile-w) / 2 + 16px);
    z-index: 100;
}

.float-wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
}

.float-wa svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.pagination-wrap {
    margin-top: 24px;
}

.pagination-wrap .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

@media (max-width: 480px) {
    .float-wa {
        right: 16px;
    }
}
