/* hn4go 基础样式 */

/* 基础布局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    color: #004499;
}

/* Header */
#header {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding .site-logo {
    height: 40px;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
}

.main-navigation .nav-menu li {
    margin: 0 15px;
}

.main-navigation .nav-menu a {
    color: #fff;
    font-weight: 500;
}

.main-navigation .nav-menu a:hover {
    color: #4fc3f7;
}

.header-search form {
    display: flex;
}

.header-search input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.header-search button {
    padding: 8px 12px;
    background: #4fc3f7;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

/* Mobile Header */
#mobile-header {
    display: none;
    background: #1a1a2e;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#mobile-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #header {
        display: none;
    }
    #mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 80px auto 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
    }
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    gap: 20px;
}

.articles-section {
    flex: 1;
}

.sidebar {
    width: 300px;
}

@media (max-width: 992px) {
    .sidebar {
        display: none;
    }
}

/* Article Item */
.article-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
}

.article-thumb img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.article-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-title a {
    color: #1a1a2e;
}

.article-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.article-meta span {
    margin-right: 15px;
}

.article-excerpt {
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    .article-thumb img {
        width: 100%;
        height: auto;
    }
}

/* Single Post */
.single-post {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.post-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.post-thumb {
    position: relative;
    float: left;
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-details-full {
    flex: 1;
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 20px;
}

/* Post Utility */
.post-utility {
    margin-bottom: 15px;
}

.utility-list {
    display: flex;
    list-style: none;
    gap: 15px;
}

.utility-list li span,
.utility-list li a {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.post-utility-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.like-btn:hover {
    background: #4fc3f7;
    color: #fff;
}

/* Stars Rating */
.stars {
    display: inline-flex;
}

.stars .star {
    padding: 5px;
    cursor: pointer;
    color: #ccc;
}

.stars .star:hover,
.stars .star.active {
    color: #f39c12;
}


/* Post Body */
.post-body {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.post-body img {
    max-width: 100%;
    border-radius: 4px;
}

/* Post Footer */
.post-tags {
    margin-bottom: 30px;
}

.post-tags a {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-right: 8px;
    font-size: 12px;
}

/* Author Box */
.author-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.author-info {
    display: flex;
    gap: 20px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Related Posts */
.related-posts {
    margin-bottom: 30px;
}

.related-list {
    display: flex;
    gap: 15px;
}

.related-item {
    flex: 1;
}

.related-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.related-item h5 {
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

/* Comments Section */
.comments-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.comments-title {
    margin-bottom: 20px;
}

.comments-list {
    list-style: none;
}

.comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-author {
    font-size: 14px;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 12px;
    color: #999;
}

.comment-text {
    margin-top: 10px;
}

.comment-children {
    list-style: none;
    margin-left: 60px;
    margin-top: 15px;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-primary {
    padding: 10px 30px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2a2a4e;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.widget-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1a2e;
}

.widget-posts-list {
    list-style: none;
}

.widget-posts-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.widget-posts-list li:last-child {
    border-bottom: none;
}

.widget-posts-list a {
    color: #333;
}

.widget-categories {
    list-style: none;
}

.widget-categories li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.widget-categories .count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.widget-tags .tag {
    display: inline-block;
    padding: 3px 8px;
    background: #f0f0f0;
    border-radius: 3px;
    margin: 3px;
    font-size: 12px;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 5px;
    border-radius: 4px;
}

.pagination a.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* Footer */
#footer {
    background: #1a1a2e;
    color: #fff;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-info p {
    margin: 5px 0;
}

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #2a2a4e;
    border-radius: 50%;
    margin: 0 10px;
    color: #fff;
}

.footer-social a:hover {
    background: #4fc3f7;
}

/* No Data */
.no-posts,
.no-comments {
    text-align: center;
    color: #999;
    padding: 30px;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.rating-stars .star-btn {
    cursor: pointer;
    color: #ccc;
    font-size: 16px;
    margin-right: 2px;
    transition: color 0.2s;
}

.rating-stars .star-btn:hover {
    color: #f39c12;
}

/* Liked State */
.like-btn.liked {
    background: #4fc3f7 !important;
    color: #fff !important;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form .btn-primary {
    padding: 10px 30px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form .btn-primary:hover {
    background: #2a2a4e;
}

/* Widget Popular Posts */
.widget-popular-posts {
    list-style: none;
}

.widget-popular-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-popular-posts li:last-child {
    border-bottom: none;
}

.widget-popular-posts a {
    color: #333;
    flex: 1;
}

.widget-popular-posts .meta {
    color: #999;
    font-size: 12px;
}

/* Widget Recent Posts */
.widget-recent-posts {
    list-style: none;
}

.widget-recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.widget-recent-posts li:last-child {
    border-bottom: none;
}

.widget-recent-posts a {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.widget-recent-posts .date {
    color: #999;
    font-size: 12px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #1a1a2e;
    color: #fff;
}

/* Widget Title Icon */
.widget-title i {
    margin-right: 8px;
    color: #4fc3f7;
}

/* Post Share - CSS Sprite */
.post-share {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-share span {
    margin-right: 10px;
    color: #666;
}

.share-btn {
    display: inline-block;
    width: 27px;
    height: 27px;
    margin-right: 10px;
    cursor: pointer;
    background: url('/static/img/share-button.png') no-repeat;
    border-radius: 0;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.qzone { background-position: -104px 0px; }
.share-btn.tsina { background-position: 0px 0px; }
.share-btn.weixin { background-position: -207px 0px; }

/* Related Posts */
.related-posts {
    margin-top: 30px;
}

.related-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1a2e;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    text-align: center;
}

.related-item a {
    display: block;
    color: #333;
}

.related-thumb {
    width: 100%;
    height: 100px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-thumb i {
    font-size: 40px;
    color: #ccc;
}

.related-item h5 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
    text-align: left;
}

.related-date {
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Review Box */
.review-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.review-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review-items li {
    margin-bottom: 12px;
}

.review-item-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.review-item-score {
    font-weight: 600;
    color: #4fc3f7;
}

.review-item-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.review-item-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-weight: 600;
}

.review-total-score {
    font-size: 24px;
    color: #1a1a2e;
}

/* Review Position Variants */
.review-tl {
    float: left;
    max-width: 300px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.review-tr {
    float: right;
    max-width: 300px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.review-bottom {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .review-tl, .review-tr {
        float: none;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ========== WordPress HackerNews Layout ========== */

/* Page Container - 居中布局，与 WordPress hackernews.cc 一致 */
#page.hfeed.site.boxed-mode {
    max-width: 1190px;
    width: 1190px;
    margin: 0 auto 30px;
    background: #fff;
    padding: 0 0 0 170px;
    min-height: 1000px;
    position: relative;
    overflow: hidden;
}

/* Left Sidebar - absolute 定位 */
.s-sidebar-wrapper {
    width: 170px;
    position: absolute;
    top: 0;
    left: 0;
    background: #191818;
    margin-bottom: -99999px;
    padding-bottom: 99999px;
    height: 100%;
    overflow-y: hidden;
}

.site-branding {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-branding a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.main-navigation {
    padding: 20px 0;
}

/* 左侧侧边栏导航 - 垂直布局 */
#primary-nav .nav-menu {
    list-style: none;
    display: block;
}

#primary-nav .nav-menu li {
    margin: 0;
    display: block;
}

#primary-nav .nav-menu a {
    display: block;
    padding: 12px 20px;
    color: #b8b8b8;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

#primary-nav .nav-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: #4fc3f7;
}

#primary-nav .nav-menu a i {
    margin-right: 8px;
}

/* Mobile Header */
#mobile-header {
    display: none;
    background: #1f1f26;
    padding: 12px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 50px;
}

#mobile-header #menu-trigger {
    color: #fff;
    font-size: 20px;
    line-height: 26px;
}

#mobile-header .mobile-title {
    margin: 0;
    line-height: 26px;
}

#mobile-header .mobile-search {
    position: relative;
}

#mobile-header .mobile-search form {
    display: flex;
}

#mobile-header .mobile-search input {
    padding: 6px 10px;
    border: none;
    border-radius: 3px;
    width: 150px;
    font-size: 13px;
}

#mobile-header .mobile-search button {
    padding: 6px 10px;
    background: #4fc3f7;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
}

/* Main Outer Wrapper */
.main-outer-wrapper {
    padding: 15px;
    width: 100%;
    background: #f5f5f5;
}

.content.clearfix {
    display: flex;
    padding: 0;
    gap: 0;
}

/* Articles Outer Wrapper */
.m-articles-outer-wrapper.col2-l {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

#articles.m-articles-wrapper {
    background: #fff;
}

/* Single Post Container */
.single-post {
    background: #fff;
    padding: 20px;
}

/* Posts Box Header */
.posts-box .box-header {
    padding: 15px 0;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.posts-box .box-title {
    font-size: 23px;
    line-height: 36px;
    font-weight: bold;
    color: #1f1f26;
    margin: 0;
}

.posts-box .box-sub-title {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* Classic List - Article Item */
.classic-lists.clearfix {
    padding: 0;
}

article.classic-list.clearfix {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

article.classic-list.clearfix:last-child {
    border-bottom: none;
}

.classic-list-left {
    width: 180px;
    flex-shrink: 0;
}

.classic-list-left a {
    display: block;
}

.classic-list-left img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.classic-list-right {
    flex: 1;
    min-width: 0;
}

.classic-list-full {
    flex: 1;
    min-width: 0;
}

.classic-list-title {
    font-size: 18px;
    line-height: 25px;
    margin: 0 0 10px 0;
}

.classic-list-title a {
    color: #1f1f26;
    font-weight: 500;
}

.classic-list-title a:hover {
    color: #4fc3f7;
}

/* Light Post Meta */
.light-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.light-post-meta span {
    display: inline-block;
    margin-right: 15px;
}

.light-post-meta .post-category {
    color: #666;
}

/* Post Excerpt */
.m-post-excepert {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.m-post-excepert p {
    margin: 0;
    padding: 0;
}

/* Right Sidebar */
.m-sidebar-wrapper.col2-r {
    max-width: 320px;
    float: left;
    position: relative;
}

.m-sidebar-wrapper .sidebar-widget {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.m-sidebar-wrapper .widget-title {
    color: #555;
    font-weight: normal;
    line-height: 20px;
    padding-left: 5px;
    border-left: 3px solid #e5e5e5;
    margin-bottom: 15px;
}

/* Pagination Wrapper */
.pagination-wrapper {
    padding: 20px;
    text-align: center;
}

.pagination-wrapper nav.pagination {
    display: inline-flex;
    gap: 5px;
}

.pagination-wrapper nav.pagination a {
    display: inline-block;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 13px;
}

.pagination-wrapper nav.pagination a:hover {
    background: #4fc3f7;
    color: #fff;
    border-color: #4fc3f7;
}

.pagination-wrapper nav.pagination a.active {
    background: #1f1f26;
    color: #fff;
    border-color: #1f1f26;
}

/* Footer Outer Wrapper */
.footer-outer-wrapper {
    background: transparent;
    color: #999;
    margin-top: 30px;
}

.footer-copyright-wrapper {
    padding: 15px 20px;
    border-top: 1px solid #e2e2e2;
    text-align: center;
}

.footer-copyright-wrapper .copyright {
    font-size: 13px;
    margin: 5px 0;
    color: #999;
}

.footer-copyright-wrapper .copyright img {
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-copyright-wrapper .copyright a {
    color: #999;
    text-decoration: none;
}

.footer-copyright-wrapper .copyright a:hover {
    color: #666;
}

/* Back to Top */
#back-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: #1f1f26;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

#back-top.show {
    opacity: 1;
}

#back-top:hover {
    background: #4fc3f7;
}

#back-top i {
    font-size: 20px;
}

/* No Posts */
.no-posts {
    padding: 30px;
    text-align: center;
    color: #999;
}

/* Responsive Styles - 与 WordPress hackernews.cc 一致 */
@media (max-width: 1200px) {
    #page.hfeed.site.boxed-mode {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 940px) {
    .m-articles-outer-wrapper.col2-l {
        padding-right: 10px;
    }

    .m-sidebar-wrapper.col2-r {
        width: 25%;
        max-width: 25%;
    }
}

@media (max-width: 800px) {
    #mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    #menu-trigger {
        margin: 0;
    }

    #mobile-header .mobile-title {
        margin: 0;
        flex: 1;
        padding: 0 0 0 30px;
        font-size: 20px;
        font-weight: bold;
        height: 50px;
    }

    .m-articles-outer-wrapper.col2-l {
        padding-right: 0;
    }

    .m-sidebar-wrapper.col2-r {
        display: none;
    }

    .s-sidebar-wrapper {
        display: none;
    }

    #page.hfeed.site.boxed-mode {
        padding: 0;
        margin: 0;
    }

    .main-outer-wrapper {
        padding: 10px;
    }

    /* 文章详情页移动端优化 */
    .single-post {
        padding: 15px;
    }

    .post-header {
        flex-direction: column;
        gap: 0;
    }

    .single-post .post-thumb {
        display: none;
    }

    .post-header-content,
    .post-details-full {
        margin-left: 0;
        width: 100%;
    }

    .post-title {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        font-size: 12px;
    }

    .post-meta span {
        margin-right: 0;
    }

    .post-utility-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .utility-list {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rating-stars {
        width: 100%;
    }

    /* 评测框移动端适配 */
    .review-box.review-tr {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    /* 猜你喜欢移动端适配 */
    .related-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .related-item h5 {
        font-size: 13px;
    }

    /* 文章内容图片 */
    .post-content img {
        max-width: 100%;
        height: auto;
    }
}

/* Sidr Mobile Menu Styles */
#sidr-main {
    display: none;
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #1f1f26;
    z-index: 1001;
    overflow-y: auto;
    transition: left 0.3s;
}

#sidr-main.open {
    left: 0;
    display: block;
}

#sidr-main .site-branding {
    padding: 20px;
}

#sidr-main nav {
    padding: 20px 0;
}

#sidr-main nav ul {
    list-style: none;
}

#sidr-main nav a {
    display: block;
    padding: 12px 20px;
    color: #b8b8b8;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#sidr-main nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}