/* 基础卡片样式 */
.home .post {
    max-width: 85% !important;
    margin: 0 auto 35px auto !important;
    padding: 16px !important;
    border-radius: 16px !important;
    background: white;
    box-shadow: 8px 8px 18px rgba(0,0,0,0.2);
    position: relative !important;
}

/* 蝴蝶结装饰 */
.home .post::before {
    content: '🎀';
    position: absolute;
    top: -16px;
    left: -18px;
    font-size: 32px;
    transform: rotate(-15deg);
    z-index: 2;
}

/* 主容器居中 */
.home #main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .home .post {
        max-width: 90% !important;
    }
}
/* === 新版：“岁末流光”渐变文字菜单项 === */
/* 核心：为指定了特殊类名的菜单项文字添加渐变和动画 */
.menu-item-wish > a,
.menu-item.menu-item-wish > a {
    /* 1. 移除所有按钮化样式，回归菜单本质 */
    background: none !important;
    border-radius: 0 !important;
    padding: 10px 15px !important; /* 恢复默认菜单内边距 */
    margin: 0 !important;
    box-shadow: none !important;
    display: block !important; /* 保持块状填充 */
    
    /* 2. 核心：绚丽的暗紫色系渐变文字 */
    /* 从深紫到暗粉，确保在白色背景上清晰 */
    background: linear-gradient(90deg, 
        #8a2be2 0%,    /* 深紫罗兰 */
        #c71585 25%,   /* 中紫红 */
        #ff69b4 50%,   /* 热粉色 */
        #c71585 75%,   /* 中紫红 */
        #8a2be2 100%   /* 深紫罗兰 */
    ) !important;
    -webkit-background-clip: text !important; /* 关键：将背景裁剪到文字 */
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important; /* 关键：让文字颜色透明，透出背景 */
    color: transparent !important; /* 标准写法 */
    
    /* 3. 文字样式增强 */
    font-weight: 700 !important; /* 稍粗一点，让渐变更明显 */
    font-size: 1.05em !important; /* 可以稍大一点点 */
    text-align: left !important; /* 与菜单其他项对齐 */
    letter-spacing: 0.05em; /* 轻微字距 */
    text-decoration: none !important;
    
    /* 4. 背景尺寸与流光动画 */
    background-size: 200% auto !important; /* 将背景拉长，为动画做准备 */
    animation: shimmer 3.5s ease-in-out infinite alternate !important; /* 添加微流动画 */
}

/* 5. 定义流光动画：让渐变背景缓慢左右移动 */
@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 100% center;
    }
}

/* 6. 悬停效果：动画暂停，颜色加深/变实，增加轻微下划线 */
.menu-item-wish > a:hover,
.menu-item.menu-item-wish > a:hover {
    animation-play-state: paused !important; /* 悬停时暂停流光，更易阅读 */
    /* 可选：悬停时变为实色，更清晰 */
    /* -webkit-text-fill-color: #c71585 !important;
    color: #c71585 !important; */
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 105, 180, 0.5) !important;
    text-underline-offset: 4px; /* 下划线距离文字的间距 */
}


/* 整体背景 - 柔和渐变 - 仅限首页生效 */
.home body,
.home .site,
.home .site-content {
    background: linear-gradient(145deg, #f0f5ff 0%, #ffe6f0 100%) !important;
}

/* 文章卡片 - 真正透明 */
.hentry, .post, .article,
.blog .hentry, .home .hentry,
.site-main article {
    background: transparent !important;  /* 卡片整体透明 */
    border: 1px solid rgba(255, 200, 215, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
}

/* 卡片内部所有白色背景元素都透明 */
.hentry .entry-content,
.hentry .post-content,
.hentry .entry-header,
.hentry .entry-footer,
.hentry .entry-summary,
.hentry article,
.hentry div {
    background: transparent !important;
}

/* 文章标题粉色 */
.entry-title a {
    color: #ff85a2 !important;
}

.entry-title a:hover {
    color: #ff5f85 !important;
}

.entry-title a:visited {
    color: #ff85a2 !important;
}

/* 阅读更多按钮 */
.more-link, 
a.more-link {
    color: #ff85a2 !important;
    background: transparent !important;
}

/* 底部搜索按钮 - 改成粉色 */
.search-submit,
button[type="submit"],
.search-form input[type="submit"],
#searchsubmit {
    background-color: #ffb6c1 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
}

.search-submit:hover,
button[type="submit"]:hover {
    background-color: #ff9eb5 !important;
}

/* 翻页按钮 */
.page-numbers {
    background-color: #ffb6c1 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
}

.page-numbers.current {
    background-color: #ff9eb5 !important;
}

/* 底部版权信息 */
.site-info {
    font-size: 12px !important;
    opacity: 0.7 !important;
}