/*
Theme Name: 无上妙言
Theme URI: https://www.wsmy.net/
Author: 无上妙言
Author URI: https://www.wsmy.net/
Description: 基于无上妙言网站的自适应响应式WordPress主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wsmyb

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.header-content {
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.search-form-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
    padding: 15px;
    display: none;
    z-index: 1000;
}

.search-form-container.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

.search-form input[type="submit"] {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form input[type="submit"]:hover {
    background-color: #2980b9;
}

.main-nav {
    position: relative;
    margin-left: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
    position: relative;
}

.main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.main-nav ul li a:hover {
    color: #666;
}

nav ul li.current-menu-item a,
nav ul li.current-menu-ancestor a {
    color: #fff;
    background-color: #3498db;
    padding: 5px 10px;
    border-radius: 3px;
}

.main-nav ul li.current-menu-item a,
.main-nav ul li.current-menu-ancestor a {
    color: #fff;
    background-color: #3498db;
    padding: 5px 10px;
    border-radius: 3px;
}

/* 面包屑导航样式 */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #333;
}

.breadcrumb span {
    color: #999;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    color: #666;
}

nav ul li.current-menu-item a,
nav ul li.current-menu-ancestor a {
    color: #fff;
    background-color: #3498db;
    padding: 5px 10px;
    border-radius: 3px;
}

/* 主内容样式 */
main {
    padding: 10px 0 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

.main-content {
    flex: 2;
}

.sidebar {
    flex: 1;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
    position: relative;
}

.sticky-posts-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.sticky-posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sticky-post-item {
    display: flex;
    width: calc(50% - 10px);
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sticky-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sticky-post-thumbnail {
    position: relative;
    flex: 0 0 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 5px;
}

.post-thumbnail {
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.hot-post-thumbnail {
    flex: 0 0 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 10px;
}

.sticky-post-thumbnail-link {
    display: block;
    text-decoration: none;
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 5px;
}

.post-thumbnail-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}

.hot-post-thumbnail-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}

.sticky-post-thumbnail-link:hover,
.post-thumbnail-link:hover,
.hot-post-thumbnail-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sticky-post-thumbnail img,
.post-thumbnail img,
.hot-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.recommend-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    z-index: 10;
}

.sticky-post-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sticky-post-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1;
}

.sticky-post-title a {
    color: #333;
    text-decoration: none;
}

.sticky-post-title a:hover {
    color: #3498db;
}

.sticky-post-meta {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

/* 响应式设计 */
/* 文章列表项布局 */
.post-list .post-item {
    display: flex;
    gap: 15px;
}

.post-thumbnail {
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-excerpt {
    flex: 1;
    margin-bottom: 15px;
    color: #666;
}

.post-meta {
    margin-top: auto;
    font-size: 12px;
    color: #999;
    margin-bottom: 0;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.sidebar-widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

/* 热门文章样式 */
.hot-posts ul {
    list-style: none;
}

.hot-posts li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.hot-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-post-thumbnail {
    flex: 0 0 60px;
    margin-right: 10px;
    height: 60px;
    overflow: hidden;
}

.hot-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.hot-post-content {
    flex: 1;
    min-width: 0;
}

.hot-post-title {
    display: -webkit-box;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-post-title:hover {
    color: #666;
}

.hot-post-date {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sticky-post-item {
        width: 100%;
    }
    
    .sticky-post-thumbnail {
        flex: 0 0 90px;
        height: 90px;
    }
    
    .sticky-post-thumbnail-link {
        width: 90px;
        height: 90px;
    }
    
    .post-thumbnail {
        flex: 0 0 80px;
        height: 80px;
    }
    
    .post-thumbnail-link {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hot-post-thumbnail {
        flex: 0 0 80px;
        height: 80px;
        margin-right: 10px;
    }
    
    .hot-post-thumbnail-link {
        width: 100%;
        height: 100%;
    }
    
    .sticky-post-title {
        font-size: 16px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.4;
    }
    
    .hot-posts li {
        flex-direction: row;
    }
}

.post-category {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #666;
}



.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content p {
    text-indent: 2em;
    margin-bottom: 15px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-content img:hover {
    transform: scale(1.02);
}



/* 图片浮窗样式 */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.close-button {
    position: absolute;
    top: -30px;
    right: -30px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-button:hover {
    background-color: #555;
}

/* 上一篇下一篇导航样式 */
.post-navigation {
    margin-top: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .prev-post,
.post-navigation .next-post {
    flex: 1;
    display: flex;
    align-items: center;
}

.post-navigation .prev-post {
    flex-direction: row;
}

.post-navigation .next-post {
    flex-direction: row;
}

.post-navigation a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
}

.post-navigation a:hover {
    color: #3498db;
}

.post-navigation .nav-thumbnail {
    flex: 0 0 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    margin: 0 15px;
}

.post-navigation .nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-navigation .nav-content {
    flex: 1;
    min-width: 0;
}

.post-navigation .nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}

.post-navigation h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-navigation .prev-post h3 {
    text-align: left;
}

.post-navigation .next-post h3 {
    text-align: right;
}

/* 分页样式 */
.pagination {
    margin-top: 10px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    background-color: #fff;
}

.pagination .page-numbers.current {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f0f0f0;
}

.pagination .prev, .pagination .next {
    width: auto;
    padding: 0 15px;
    border-radius: 30px;
    border: 1px solid #e5e5e5;
}

/* 底部样式 */
footer {
    background-color: #fff;
    color: #333;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom {
    font-size: 12px;
    color: #666;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 评论样式 */
#comments {
    margin-top: 20px;
}

.comment-respond {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.comment-respond h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.comment-respond h3:before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    margin-right: 15px;
    position: relative;
}

.comment-respond h3:before:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: none;
}

.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    resize: vertical;
    min-height: 120px;
    position: relative;
}

.comment-form textarea::placeholder {
    color: #999;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.comment-form .form-author,
.comment-form .form-email,
.comment-form .form-url {
    position: relative;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.comment-form .form-author:after {
    content: '👤';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.comment-form .form-email:after {
    content: '✉';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.comment-form .form-url:after {
    content: '🌐';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.comment-form .form-submit {
    margin-top: 10px;
}

/* 隐藏保存评论者信息的勾选框 */
.comment-form-cookies-consent {
    display: none !important;
}

.comment-form input[type="submit"] {
    background-color: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #f5f5f5;
}

/* 评论表单输入框布局 */
.comment-form .form-fields {
    display: flex;
    gap: 15px;
}

.comment-form .form-fields p {
    flex: 1;
}

/* 评论列表样式 */
.comments-list-wrapper {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 10px;
    margin-bottom: 20px;
}

.comments-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    position: relative;
}

.comment-list li.depth-1 {
    background-color: #f9f9f9;
}

.comment-list li.depth-2 {
    background-color: #f0f0f0;
    margin-left: 50px;
}

.comment-list li.depth-3 {
    background-color: #e5e5e5;
    margin-left: 100px;
}

.no-comments {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-size: 14px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-author-info {
    flex: 1;
}

.comment-author-info h4 {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.comment-metadata {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

.comment-reply-link {
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.comment-reply-link:hover {
    color: #2980b9;
}

.comment-level {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    color: #999;
}

.comment-author-badge {
    display: inline-block;
    font-size: 10px;
    color: #666;
    margin-left: 5px;
}

.comment-like {
    display: inline-block;
    font-size: 12px;
    color: #ff6b6b;
    margin-left: 10px;
    cursor: pointer;
}

.comment-like:hover {
    text-decoration: underline;
}

/* 评论分页样式 */
.comment-navigation {
    margin-top: 30px;
    text-align: center;
}

/* 响应式评论样式 */
@media (max-width: 768px) {
    .comment-respond {
        padding: 20px;
    }
    
    .comment-list li {
        padding: 15px;
    }
    
    .comment-form input[type="submit"] {
        width: 100%;
    }
    
    .comment-form .form-fields {
        flex-direction: column;
        gap: 10px;
    }
}



/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .search-toggle {
        display: block;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 0 0 5px 5px;
        padding: 15px;
        display: none;
        z-index: 1000;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav ul li {
        margin: 0;
        padding: 5px 0;
    }



    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        display: none;
    }

    /* 上一篇下一篇导航样式 */
    .post-navigation {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        margin-top: 10px !important;
    }
    
    .post-navigation .prev-post,
    .post-navigation .next-post {
        flex: 1 !important;
        min-width: 120px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .post-navigation .prev-post {
        flex-direction: column !important;
    }
    
    .post-navigation .next-post {
        flex-direction: column !important;
    }
    
    .post-navigation .nav-thumbnail {
        flex: 0 0 80px !important;
        height: 80px !important;
        margin: 0 0 8px 0 !important;
    }
    
    .post-navigation .nav-content {
        flex: 1 !important;
        width: 100% !important;
    }
    
    .post-navigation a {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .post-navigation .prev-post h3,
    .post-navigation .next-post h3 {
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
    
    .post-navigation .nav-label {
        text-align: center !important;
        display: block !important;
        margin-bottom: 3px !important;
        font-size: 10px !important;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 5px 0;
    }

    .logo {
        font-size: 20px;
    }

    main {
        padding: 20px 0;
    }

    .post-list {
        gap: 0;
    }

    /* 文章列表项布局 */
    .post-list .post-item {
        padding: 15px;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .post-list .post-thumbnail {
        flex: 0 0 80px;
        height: 80px;
        margin-right: 5px;
    }

    .post-list .post-content-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .post-list .post-meta {
        margin-top: 8px;
        align-self: flex-start;
        margin-bottom: 0;
    }

    /* 文章列表标题样式 */
    .post-list .post-title {
        font-size: 16px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .sticky-post-title {
        font-size: 16px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.4;
    }

    /* 文章页面标题样式 */
    .post-item h1.post-title {
        font-size: 20px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        display: block;
        -webkit-line-clamp: unset;
        margin-bottom: 10px;
    }

    .post-excerpt {
        display: none;
    }

    /* 文章列表元数据样式 */
    .post-list .post-meta {
        display: block;
        font-size: 12px;
        color: #999;
        margin-top: 8px;
    }

    /* 文章页面元数据样式 */
    .post-item .post-meta {
        display: block;
        font-size: 12px;
        color: #999;
        margin-top: 0;
        margin-bottom: 20px;
    }

    /* 文章正文内容样式 */
    .post-content {
        font-size: 18px;
        line-height: 1.8;
    }

    .sidebar-widget {
        padding: 15px;
    }

    footer {
        padding: 20px 0;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
}
