/* =========================================
   1. 隐藏原生冗余
   ========================================= */
#blogTitle, #header, #footer, #ad_t2, #cnblogs_c1, #cnblogs_c2, 
.catListPostArchive, .catListAlbum, .catListBlogStats, .catListArticleArchive,
#blog-calendar, .calendar, .catListLink, #sidebar_postcategory {
    display: none !important;
}

body { margin: 0; padding: 0; background: #f4f5f7; font-family: "Noto Serif SC", "PingFang SC", sans-serif; }

/* =========================================
   2. 首屏 100vh (保持清爽)
   ========================================= */
.headertop {
    position: relative; width: 100%; height: 100vh;
    background-image: url('https://api.fuukei.org/random-img/default/pc.php?11');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; justify-content: center; align-items: center; z-index: 1;
}
.headertop::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.15); z-index: 2; }

.focusinfo { position: relative; z-index: 3; text-align: center; color: white; }
.focusinfo img { width: 130px; height: 130px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.8); transition: 0.5s; cursor: pointer; object-fit: cover; }
.focusinfo img:hover { transform: rotate(360deg) scale(1.1); box-shadow: 0 0 25px rgba(255,255,255,0.6); }

.header-info {
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(5px);
    border-radius: 15px; padding: 15px 30px; margin-top: 20px; display: inline-block; box-shadow: 0 8px 20px rgba(0,0,0,0.1); color: #333;
}
.headertop-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.8); font-size: 30px; cursor: pointer; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);} 40% {transform: translateY(-20px) translateX(-50%);} 60% {transform: translateY(-10px) translateX(-50%);} }

/* =========================================
   3. 布局修复 (最关键的一步，恢复左右分栏)
   ========================================= */
#home { max-width: 1200px; margin: 40px auto; display: flex; gap: 30px; align-items: flex-start; padding: 0 20px; }
#main { width: 72% !important; }
#sideBar { width: 28% !important; }

/* 【核心】把原本的 day 变成透明的包装盒，不破坏结构 */
.day {
    background: transparent !important; border: none !important; box-shadow: none !important;
    height: auto !important; margin-bottom: 0 !important; padding: 0 !important;
}

/* =========================================
   4. 文章独立卡片 (替代原来的 day)
   ========================================= */
.my-card {
    position: relative; height: 320px; background: #ffffff;
    border-radius: 12px; margin-bottom: 35px;
    overflow: hidden; clear: both; display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.my-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }

.post-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 65%; overflow: hidden; z-index: 2; transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: 0.6s ease; }
.my-card:hover .post-thumb { height: 100%; }
.my-card:hover .post-thumb img { transform: scale(1.05); filter: brightness(1.0); }

/* 白磨砂标题 */
.title-glass-box {
    position: absolute; bottom: 15px; left: 20px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px);
    padding: 10px 20px; border-radius: 6px; z-index: 10; transition: 0.4s; border: 1px solid rgba(255, 255, 255, 0.5);
}
.title-glass-box a { color: #222 !important; font-size: 1.1rem; font-weight: bold; text-decoration: none !important; }
.my-card:hover .title-glass-box { bottom: 35px; }

/* 摘要文字 */
.post-content-wrap {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 35%;
    padding: 15px 20px; background: #ffffff; z-index: 1; transition: opacity 0.3s ease; box-sizing: border-box;
}
.my-card:hover .post-content-wrap { opacity: 0; }

.dayTitle, .postTitle, .postDesc, .c_b_p_desc_readmore { display: none !important; }

/* =========================================
   5. 侧边栏
   ========================================= */
.sidebar-block ul li a {
    transition: all 0.3s ease !important; background: #e6f7ff !important;
    display: block !important; padding: 10px; border-radius: 8px; margin-bottom: 8px; color: #333 !important; text-decoration: none !important;
}
.sidebar-block ul li a:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); background: #fff !important; color: #0078d7 !important; }