body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
    color: #0f172a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
}

h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
}

.page-breadcrumb {
    margin-bottom: 0.85rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.35rem 0.7rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: #7dd3fc;
    color: #0369a1;
    background: #f0f9ff;
}

.nav-link-icon {
    display: inline-flex;
    width: 1.2rem;
    height: 1.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
}

.table-container table,
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    border: 1px solid #e2e8f0;
    padding: 0.625rem;
    text-align: left;
    font-size: 0.8125rem;
    white-space: nowrap;
    vertical-align: top;
}

th {
    background-color: #f8fafc;
    color: #334155;
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

tbody tr:hover {
    background-color: #f0f9ff;
}

.kv-table td:first-child,
.kv-table th:first-child {
    width: 180px;
    white-space: nowrap;
    font-weight: 600;
    color: #334155;
    background-color: #f8fafc;
}

td a {
    color: #0369a1;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 0;
}

.page-item {
    list-style: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.8125rem;
    background: #fff;
}

.page-item.active .page-link,
.page-link:hover {
    border-color: #7dd3fc;
    color: #0369a1;
    background: #f0f9ff;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tabs button {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    color: #334155;
    background: #fff;
    transition: all 0.2s ease;
}

.tabs button.active,
.tabs button:hover {
    border-color: #7dd3fc;
    color: #0369a1;
    background: #f0f9ff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.post-thumbnail {
    width: 52px;
    height: 32px;
    object-fit: cover;
    border-radius: 0.25rem;
}

code {
    background-color: #f8fafc;
    color: #be123c;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
    padding: 0.1rem 0.35rem;
    border-radius: 0.35rem;
}

.wn-links-container {
    margin-top: 0.5rem;
}

.wn-links-container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wn-links-container li {
    width: auto;
    text-align: center;
}

.wn-links-container li a {
    display: block;
    text-decoration: none;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.wn-links-container li a:hover {
    border-color: #7dd3fc;
    background-color: #f0f9ff;
    color: #0369a1;
}

.post-content,
.page-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content h1,
.page-content h1 {
    font-size: 1.875rem;
}

.post-content h2,
.page-content h2 {
    font-size: 1.5rem;
}

.post-content h3,
.page-content h3 {
    font-size: 1.25rem;
}

.post-content h4,
.post-content h5,
.post-content h6,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-size: 1.125rem;
}

.post-content p,
.page-content p {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
}

.post-content a,
.page-content a {
    color: #0369a1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin: 0.9rem 0 0.9rem 1.25rem;
    padding-left: 0.75rem;
}

.post-content li,
.page-content li {
    margin: 0.3rem 0;
}

.post-content blockquote,
.page-content blockquote {
    margin: 1rem 0;
    border-left: 3px solid #7dd3fc;
    background: #f8fafc;
    padding: 0.75rem 1rem;
    color: #334155;
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.post-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow: hidden;
    border-radius: 0.75rem;
}

.post-content th,
.post-content td,
.page-content th,
.page-content td {
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.7rem;
    white-space: normal;
}

.post-content pre,
.page-content pre {
    margin: 1rem 0;
    padding: 0.85rem;
    border-radius: 0.6rem;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: auto;
}
