/* 确保页面滚动条正常显示 */
html, body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* 热门城市周刊样式 */
.weekly-item {
    position: relative;
    overflow: hidden;
    font-family: "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", "SimSun", "STSong", "Songti SC", serif;
}

.weekly-item a {
    position: relative;
    display: block;
}

/* 左下角色块：固定宽高 82px × 49px，固定在容器左下角 */
.weekly-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 8px;
    width: 82px;
    height: 49px;
    color: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}

.weekly-text-line1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.weekly-text-line2 {
    margin: 8px 0 0 0;
    font-size: 12px;
    font-weight: 100;
    opacity: 0.95;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右上角角标：固定 60px * 60px 三角形 */
.weekly-corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 10;
}

/* 右上角文字定位及间距 */
.weekly-corner-content {
    position: absolute;
    width: 72px;
    top: 6px;
    right: -18px;
    transform: rotate(45deg);
    color: white;
    text-align: center;
}

.weekly-corner-content .weekly-number,
.weekly-corner-content .weekly-date {
    line-height: 1;
    white-space: nowrap;
}

.weekly-number {
    font-size: 15px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.weekly-date {
    font-size: 9px;
    display: block;
    letter-spacing: 1.5px;
    text-indent: 1.5px;
}

/* 主题栏目缩略图强制竖图样式 - 使用固定宽高比容器 */
.list-theme-column {
    position: relative;
    overflow: hidden;
}

/* 主题栏目隐藏项 */
.category-item-hidden {
    display: none;
}

.list-theme-column > a {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 150%; /* 宽高比约 2:3，竖图比例 */
    overflow: hidden;
}

.list-theme-column img.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 确保caption在容器底部 */
.list-theme-column .caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* 文章列表图片固定3:2宽高比 */
.list-theme-post > a {
    display: block;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 宽高比 (240/360 = 0.6667) */
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.list-theme-post img.cover2,
.list-theme-post img.post-thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    }

/* 文章喜欢按钮样式 */
.post-footer-avatar {
    margin-top: 30px;
}

#b_like {
    margin-right: 15px;
}

#b_like #like_char {
    color: inherit;
    text-decoration: none;
    margin-left: 5px;
}

#b_like #like_char:hover {
    text-decoration: none;
}

#b_like:focus #like_char,
#b_like:active #like_char {
    text-decoration: none;
}


