/* ============================================================
    F:\myblog\source\css\custom.css
    V49.0 云端沉浸版 - 动态流体波浪 + 全屏背景图
   ============================================================ */

/* --- 1. 特色艺术字体找回 (Playfair Display 意大利斜体) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,900&display=swap');

/* 强制应用到所有标题 */
#site-title, .site-title, #page-site-info .page-title, .page-title {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 2px 5px 15px rgba(0,0,0,0.3) !important;
}

/* --- 2. 局部去侧边栏：精准锁定归档页 --- */
/* 电脑端右侧栏隐藏 */
.layout_archive #aside-content {
    display: none !important;
}

/* 强制内容区 100% 铺满，移除侧边栏留下的空隙 */
.layout_archive #content-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 !important;
}

/* --- 3. 找回标题背景图：彻底干掉蓝底 --- */
.layout_archive #page-header {
    background-color: #2c3e50 !important; /* 兜底深色 */
    background-image: url('/img/wallhaven-rqgrlq.jpg') !important; 
    height: 70vh !important; /* 背景占全屏高度的 70% */
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important; /* 视差滚动感 */
    position: relative !important;
    overflow: hidden !important;
}

/* 标题位置：在大图中间偏上 */
.layout_archive #page-site-info {
    top: 25vh !important;
    width: 100%;
    z-index: 10;
}
/* --- 3. 动态云朵波浪特效 --- */
/* 容器 */
.layout_archive #page-header::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 150px !important;
    z-index: 10 !important;
    background: transparent !important;
}

/* 这里注入三个不同速度的波浪层 */
.layout_archive #page-header {
    background-color: #2a2a2a; /* 兜底色 */
}

/* 插入波浪动画所需的 SVG */
#archive-waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    margin-bottom: -7px; /* 修复白边 */
    min-height: 100px;
    max-height: 150px;
    z-index: 20;
}

/* --- 4. 归档卡片：无缝衔接云朵 --- */
#archive {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    background: #ffffff !important;
    padding: 50px 40px !important;
    border-radius: 30px 30px 0 0 !important; /* 只保留顶部圆角 */
    position: relative !important;
    z-index: 30 !important;
    box-shadow: 0 -15px 30px rgba(0,0,0,0.05) !important;
}

/* 只在 archives 页面隐藏侧边栏（强制） */
body.page-archive #aside-content {
  display: none !important;
}
body.page-archive .layout > div:first-child:not(.recent-posts) {
  width: 100% !important;
}

/* 只在 archives 页面换标题背景图（强制覆盖蓝色） */
body.page-archive #page-header {
  background-image: url('/img/wallhaven-rqgrlq.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}
/* === 归档时间线终极美化 - 更精致版（匹配您当前好看的感觉） === */

/* 整体时间线容器：更大间距、更宽内容 */
#archive.timeline {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 时间线垂直线更细腻 */
#archive.timeline .article-sort-item::before {
    background: linear-gradient(to bottom, #a0e7ff, #e0f8ff); /* 淡蓝渐变线 */
    width: 4px;
}

/* 圆点更突出 */
#archive.timeline .article-sort-item::after {
    background: #3ecf8e;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(62,207,142,0.5);
    width: 16px;
    height: 16px;
}

/* 总数标签（蓝色圆点） */
#archive.timeline .article-sort-title:first-child {
    font-size: 1.8rem !important;
    color: #2196f3 !important;
    background: rgba(33,150,243,0.1);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(33,150,243,0.2);
}

/* 年份标签（橙色圆圈） */
#archive.timeline .article-sort-title {
    font-size: 2.2rem !important;
    color: #ff9800 !important;
    background: rgba(255,152,0,0.15);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255,152,0,0.2);
    margin: 60px 0 30px;
}

/* 文章卡片：更大、更圆角、悬浮感强 */
#archive.timeline .article-sort-item {
    background: rgba(255,255,255,0.85); /* 半透明白底，更融入背景 */
    border-radius: 25px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px); /* 毛玻璃效果，超现代 */
}

#archive.timeline .article-sort-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* 缩略图：更大圆角、更好比例 */
#archive.timeline .article-sort-item-img img {
    border-radius: 20px !important;
    width: 220px !important;
    height: 140px !important;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 日期标签：更可爱的小圆角 */
#archive.timeline .article-sort-item-time {
    background: rgba(62,207,142,0.15);
    color: #3ecf8e;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.95rem;
}

/* 标题更大、更优雅 */
#archive.timeline .article-sort-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

/* 分页美化（如果文章多会显示） */
#page .paginator {
    margin: 50px 0;
}
#page .paginator a {
    background: rgba(62,207,142,0.1);
    color: #3ecf8e;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 0 5px;
    transition: all 0.3s;
}
#page .paginator a:hover {
    background: #3ecf8e;
    color: #fff;
}
#page .paginator .current {
    background: #3ecf8e;
    color: #fff;
}

/* 背景淡化城市线稿感（更融入您的wallhaven图） */
body.page-archive #content-inner {
    background: transparent;
}


/* --- 2. 悬浮胶囊导航栏 (复刻图二精英感) --- */
#nav {
    position: fixed !important; /* 改为固定定位，防止消失 */
    top: 20px !important; /* 距离顶部留一点空隙，更有悬浮感 */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: 90% !important;
    height: 50px !important;
    padding: 0 25px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(12px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
    display: flex !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

/* 导航文字美化 */
#nav .menus_items .menus_item a {
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* 下拉菜单美化 */
#nav .menus_items .menus_item .menus_item_child {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    border: none !important;
    top: 50px !important;
}

#nav .menus_items .menus_item .menus_item_child li a { color: #333 !important; }
.article-sort-title {
    display: flex !important;
    align-items: center !important;
    font-size: 2.6rem !important;
    font-weight: 900 !important;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 4px 10px rgba(79,172,254,0.2);
    margin-bottom: 70px !important;
    padding-left: 70px !important;
    position: relative !important;
    transition: all 0.3s ease;
}

//* 1. 全部文章标题 - 极简深灰 + 轻柔阴影 */
.article-sort-title {
    display: flex !important;
    align-items: center !important;
    font-size: 2.6rem !important;
    font-weight: 900 !important;
    color: #1e293b !important;                  /* 深灰蓝，高级感强 */
    margin-bottom: 70px !important;
    padding-left: 70px !important;
    position: relative !important;
    transition: all 0.3s ease;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.08);  /* 极轻阴影，只增加立体感 */
}

/* ============================================================
    V76.0 最终对齐版 - 红框区域左移 + 橙圈彻底移除
   ============================================================ */

/* 1. 【标题部分】变大并向左平移，移除红框内的多余间距 */
.article-sort-title {
    font-size: 2.6rem !important;
    font-weight: 900 !important;
    color: #333 !important;
    margin-bottom: 40px !important;
    
    /* 核心位移：向左移动约“几个格子”的距离，你可以根据喜好微调 -25px 这个值 */
    margin-left: -100px !important; 
    
    /* 确保标题处没有任何原生圆点的残留 */
    position: relative !important;
}

.article-sort-title::before,
.article-sort-title::after {
    display: none !important;
}

/* 2. 【2026 年份部分】同步左移 + 移除🐎左边的橙色圆圈 */
.article-sort-item.year {
    display: flex !important;
    align-items: center !important;
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    
    /* 同步左移，确保与上方的标题垂直对齐 */
    margin-left: -25px !important; 
}

/* 关键操作：彻底去掉🐎左边的橙色小圆圈 */
.article-sort-item.year::before {
    display: none !important;
}

/* 维持 V74.0 你最满意的🐎居左逻辑 */
.article-sort-item.year span {
    order: -1 !important;           /* 视觉位置居左 */
    font-size: 3.5rem !important;   /* 🐎 维持巨无霸尺寸 */
    margin-right: 15px !important;  /* 🐎 与 2026 的呼吸间距 */
    line-height: 1 !important;
    display: inline-block !important;
}

/* 3. 保留下方文章的原生蓝色垂直线 */
/* 只要不改动普通 article-sort-item 的 margin，下方的蓝线就会保持在原本的垂直位置 */