/*
Theme Name: JQ VPS Launch Theme
Theme URI: https://vps.jinqians.com/
Author: JQ
Author URI: https://vps.jinqians.com/
Description: VPS 评测站主题（首页为高动效落地页，内页为轻量文章模板）
Version: 1.0.5
Text Domain: jq-vps
*/

:root {
    --jq-bg: #0a0b0d;
    --jq-panel: #13161a;
    --jq-line: #272b31;
    --jq-text: #ece9e1;
    --jq-muted: #aaa598;
    --jq-accent: #d9bc82;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--jq-bg);
    color: var(--jq-text);
    font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
}

a {
    color: #e7cd93;
}

a:hover {
    color: #f2e2bc;
}

.site-shell {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-header {
    border-bottom: 1px solid var(--jq-line);
    padding: 20px 0;
    margin-bottom: 28px;
}

.blog-header a {
    text-decoration: none;
}

.blog-title {
    margin: 0;
    font-size: 26px;
}

.blog-desc {
    margin: 8px 0 0;
    color: var(--jq-muted);
    font-size: 14px;
}

.blog-nav {
    margin-top: 12px;
}

.blog-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.blog-nav a {
    font-size: 13px;
    color: #cfc8ba;
}

.content-card {
    border: 1px solid var(--jq-line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.content-card h2,
.content-card h1 {
    margin-top: 0;
    line-height: 1.3;
}

.post-cover-link {
    display: block;
    margin: -20px -20px 14px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--jq-line);
    background: #0f1115;
}

.post-cover-image {
    display: block;
    width: 100%;
    aspect-ratio: 93 / 62;
    object-fit: cover;
}

.meta {
    color: var(--jq-muted);
    font-size: 13px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 40px;
}

.blog-footer {
    border-top: 1px solid var(--jq-line);
    color: #8f8b80;
    font-size: 12px;
    padding: 24px 0 40px;
}

.footer-widgets {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-widgets--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-widgets--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-widgets--cols-2 > *,
.footer-widgets--cols-3 > * {
    min-width: 0;
    width: auto;
    max-width: 100%;
    grid-column: auto;
}

.widget {
    border: 1px solid var(--jq-line);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.widget-title {
    margin: 0 0 8px;
    font-size: 14px;
    color: #d9d4c8;
}

.widget ul {
    margin: 0;
    padding-left: 18px;
}

.footer-nav ul {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
}

@media (max-width: 768px) {
    .site-shell {
        width: min(1100px, calc(100% - 24px));
    }

    .content-card {
        padding: 16px;
    }

    .post-cover-link {
        margin: -16px -16px 12px;
    }

    .footer-widgets--cols-2,
    .footer-widgets--cols-3 {
        grid-template-columns: 1fr;
    }
}
