/* 随机美术风格：孟菲斯风格变体 —— 活泼、几何、色彩鲜明、轻微复古 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
body {
    background-color: #f7f3f0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 200, 150, 0.2) 0%, transparent 30%),
                      radial-gradient(circle at 80% 70%, rgba(150, 200, 250, 0.25) 0%, transparent 40%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
    color: #2d2d2d;
}
/* 主容器 — BEM + vpy */
.vpy-list {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    border-radius: 40px 20px 40px 20px;
    box-shadow: 12px 12px 0 #3d5a80, -8px 8px 0 #ee6c4d;
    padding: 35px 30px;
    border: 3px solid #293241;
}
/* 头部区域 */
.vpy-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px dashed #ee6c4d;
}
.vpy-site-brand {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #293241, #3d5a80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 4px 4px 0 #ffdab9;
}
.vpy-search {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 3px solid #293241;
    border-radius: 60px;
    padding: 5px 15px;
    box-shadow: 5px 5px 0 #98c1d9;
}
.vpy-search__input {
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 5px;
    width: 220px;
    background: transparent;
    color: #1e2b3a;
}
.vpy-search__input::placeholder {
    color: #6c757d;
    font-style: italic;
    font-weight: 300;
}
.vpy-search__btn {
    background: #ee6c4d;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #293241;
    transition: all 0.1s ease;
    color: white;
    font-size: 1.2rem;
}
.vpy-search__btn:hover {
    background-color: #3d5a80;
    transform: scale(0.95);
    box-shadow: 2px 2px 0 #293241;
}
/* 面包屑 */
.vpy-breadcrumbs {
    margin: 20px 0 25px;
    background-color: #ffdab9;
    padding: 12px 25px;
    border-radius: 40px 8px 40px 8px;
    border: 2px solid #293241;
    font-weight: 600;
    display: inline-block;
}
.vpy-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px 15px;
}
.vpy-breadcrumbs__item {
    position: relative;
}
.vpy-breadcrumbs__item:not(:last-child)::after {
    content: "➡";
    margin-left: 12px;
    color: #ee6c4d;
    font-size: 1.2rem;
}
.vpy-breadcrumbs__link {
    text-decoration: none;
    color: #293241;
    background-color: #f7f3f0;
    padding: 5px 18px;
    border-radius: 30px;
    border: 2px solid #3d5a80;
    transition: 0.1s;
    font-weight: 600;
    display: inline-block;
}
.vpy-breadcrumbs__link[href="/"] {
    background-color: #98c1d9;
    color: #293241;
}
.vpy-breadcrumbs__link:hover {
    background-color: #ee6c4d;
    color: white;
    border-color: #293241;
}
/* 页面标题 */
.vpy-page-title {
    font-size: 2.5rem;
    margin: 10px 0 30px;
    color: #293241;
    border-left: 15px solid #ee6c4d;
    padding-left: 25px;
    font-weight: 700;
}
/* 文章列表网格 */
.vpy-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.vpy-article-card {
    background-color: #ffffffd6;
    border-radius: 30px 10px 30px 10px;
    border: 3px solid #293241;
    padding: 25px 20px;
    transition: all 0.2s;
    box-shadow: 8px 8px 0 #3d5a80;
    display: flex;
    flex-direction: column;
}
.vpy-article-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #ee6c4d;
}
.vpy-article-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #293241;
    border-bottom: 3px dotted #98c1d9;
    padding-bottom: 10px;
}
.vpy-article-card__title a {
    text-decoration: none;
    color: inherit;
}
.vpy-article-card__title a:hover {
    color: #ee6c4d;
}
.vpy-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4a4a4a;
    background: #f0e5de;
    padding: 10px 15px;
    border-radius: 30px 8px 30px 8px;
    border: 2px solid #3d5a80;
}
.vpy-article-card__excerpt {
    color: #2d3748;
    background: #fff9f5;
    padding: 15px;
    border-radius: 16px;
    border: 2px dashed #98c1d9;
    margin: 10px 0;
    flex-grow: 1;
}
.vpy-article-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ee6c4d;
}
.vpy-article-card__tag {
    background-color: #98c1d9;
    border: 2px solid #293241;
    border-radius: 50px;
    padding: 4px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #293241;
}
.vpy-article-card__date {
    color: #3d5a80;
    font-weight: 500;
}
/* 标签云区域 (3-5个标签) */
.vpy-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0 20px;
    padding: 20px 0;
    border-top: 3px dashed #ee6c4d;
    border-bottom: 3px dashed #98c1d9;
}
.vpy-tags-cloud__item {
    background-color: #ffb4a2;
    border: 3px solid #293241;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #293241;
    box-shadow: 4px 4px 0 #3d5a80;
}
.vpy-tags-cloud__item:nth-child(2) { background-color: #b6e2d3; }
.vpy-tags-cloud__item:nth-child(3) { background-color: #eac4d5; }
.vpy-tags-cloud__item:nth-child(4) { background-color: #ffdab9; }
.vpy-tags-cloud__item:nth-child(5) { background-color: #98c1d9; }
/* 分页功能 */
.vpy-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 50px 0 30px;
}
.vpy-pagination__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}
.vpy-pagination__item {
    display: inline-block;
}
.vpy-pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 3px solid #293241;
    border-radius: 30px 8px 30px 8px;
    color: #293241;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.1s;
    box-shadow: 4px 4px 0 #98c1d9;
}
.vpy-pagination__link:hover {
    background-color: #ee6c4d;
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #293241;
}
.vpy-pagination__link--active {
    background-color: #3d5a80;
    color: white;
    border-color: #293241;
    box-shadow: 4px 4px 0 #ee6c4d;
    pointer-events: none;
}
.vpy-pagination__link--prev,
.vpy-pagination__link--next {
    background-color: #ffdab9;
    font-weight: 700;
    padding: 0 20px;
}
/* 侧边推荐区域 (10条相关推荐/热门/猜你喜欢) */
.vpy-recommend-section {
    margin: 40px 0 20px;
    background-color: #ffffffd6;
    border-radius: 40px 10px 40px 10px;
    border: 3px solid #293241;
    padding: 30px;
    box-shadow: 10px 10px 0 #ee6c4d;
}
.vpy-recommend-section__title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #293241;
    background-color: #98c1d9;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 60px 8px 60px 8px;
    border: 3px solid #293241;
}
.vpy-recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.vpy-recommend-item {
    background-color: #f7f3f0;
    border: 3px solid #293241;
    border-radius: 30px 8px 30px 8px;
    padding: 18px 15px;
    transition: 0.1s;
    box-shadow: 5px 5px 0 #3d5a80;
}
.vpy-recommend-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #ee6c4d;
}
.vpy-recommend-item__link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #293241;
    display: block;
    margin-bottom: 10px;
}
.vpy-recommend-item__desc {
    font-size: 0.9rem;
    color: #4a4a4a;
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    border: 2px dotted #98c1d9;
}
/* 页脚 */
.vpy-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 5px double #ee6c4d;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #293241;
    color: #f0e5de;
    border-radius: 100px 20px 20px 20px;
    padding: 25px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 3px solid #ee6c4d;
}
.vpy-footer__copyright {
    background-color: #3d5a80;
    padding: 10px 35px;
    border-radius: 60px;
    border: 2px solid #98c1d9;
    color: #ffdab9;
}
/* 响应式 */
@media (max-width: 768px) {
    .vpy-header {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .vpy-search__input {
        width: 160px;
    }
    .vpy-article-grid {
        grid-template-columns: 1fr;
    }
}