/*
Theme Name: LeHuo - Modern Edition
Description: 现代易优CMS模板样式，优化视觉设计和用户体验
Author: MiniMax Agent
Version: 2.0
*/

/* ==================== 基础重置 ==================== */
article, aside, details, figcaption, figure, footer, header, main, nav, section {display:block;}
div, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
    margin:0;
    padding:0;
}

/* ==================== 基础样式 ==================== */
body {
    background-color: #f5f7fa;
    font: 100%/1.6em 'Microsoft Yahei', 'PingFang SC', 'Hiragino Sans GB', Arial, tahoma;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    color: #4a6cf7;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #3451b2;
}

input {
    -webkit-appearance: none;
    border: 0;
}

input:focus {
    outline: none;
}

li {
    list-style: none;
}

.clear {
    clear: both;
}

a img {
    border: none;
}

/* ==================== 表格样式 ==================== */
table {
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 0.875em;
    width: 100%;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

table th {
    background-color: #f8f9fb;
    text-align: center;
    font-weight: 600;
    color: #444;
    padding: 12px 15px;
}

table td,
table th {
    padding: 12px 15px;
    border-bottom: 1px solid #e1e5eb;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background-color: #f8f9fb;
}

/* ==================== 分隔线 ==================== */
hr {
    border: none;
    border-bottom: 1px solid #e1e5eb;
    margin: 20px 0;
}

/* ==================== 布局容器 ==================== */
.inner {
    width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.thumbnail img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.blank {
    height: 20px;
    width: 100%;
    clear: both;
    overflow: hidden;
}

/* ==================== 广告区域 ==================== */
.topad {
    margin-bottom: 20px;
}

.mainad {
    margin-bottom: 25px;
}

.topad img,
.mainad img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.content .mainad {
    border-bottom: 1px solid #eee;
    padding: 0 20px 25px;
}

/* ==================== 页头 ==================== */
.header {
    background-color: #ffffff;
    height: 70px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

/* ==================== Logo ==================== */
.logo {
    float: left;
    height: 70px;
    width: auto;
    max-width: 220px;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    display: block;
    max-height: 50px;
    width: auto;
    max-width: 100%;
}

/* ==================== 导航菜单 ==================== */
.nav {
    float: right;
}

.nav .menu ul li,
.top-other ul li {
    float: left;
    line-height: 70px;
    color: #555;
    font-size: 1em;
    font-weight: 500;
    position: relative;
}

.nav .menu ul li a {
    color: #444;
    padding: 0 22px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.nav .menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #6b8cff);
    transition: width 0.3s ease;
}

.nav .menu ul li a:hover::after,
.nav .menu ul li.current a::after {
    width: 80%;
}

.nav .menu ul li ul {
    position: absolute;
    left: 0;
    top: 70px;
    width: 180px;
    border-radius: 0 0 8px 8px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 9;
    display: none;
    border-top: 3px solid #4a6cf7;
}

.nav .menu ul li ul li {
    float: none;
    line-height: 1.8em;
    font-size: 0.9375em;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.nav .menu ul li ul li:last-child {
    border-bottom: none;
}

.nav .menu ul li ul li a {
    padding: 12px 20px;
    color: #555;
}

.nav .menu ul li ul li a:hover {
    background-color: #f5f7fa;
    color: #4a6cf7;
}

.nav .menu ul li ul li a::after {
    display: none;
}

.nav .menu ul.submenu {
    display: block;
}

/* ==================== 顶部功能区 ==================== */
.top-other {
    float: right;
}

.top-other ul li i {
    padding: 0 18px;
    cursor: pointer;
    display: block;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.top-other ul li i:hover {
    color: #4a6cf7;
}

.top-other ul li .social-share {
    position: absolute;
    right: -2px;
    top: 70px;
    width: 90px;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #e1e5eb;
    display: none;
    z-index: 9;
}

.top-other ul li .social-share a {
    display: block;
    clear: both;
    color: #555;
    margin: 10px 0;
    font-size: 0.9375em;
    transition: color 0.3s ease;
}

.top-other ul li .social-share a:hover {
    color: #4a6cf7;
}

.top-other .icon-menu {
    display: none;
}

.top-other ul li.cur-menu {
    box-shadow: 0 0 3px rgba(74, 108, 247, 0.3);
    margin-right: -1px;
    background-color: #f5f7fa;
    border-radius: 4px 4px 0 0;
}

/* ==================== 搜索区域 ==================== */
.search-bg {
    background-color: #ffffff;
    width: 100%;
    padding: 25px 0;
    display: none;
    border-bottom: 1px solid #e1e5eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-bg.search-open {
    display: block;
}

.search-bg .inner {
    overflow: hidden;
}

.search-form,
.search-form input {
    float: left;
}

.search-form .s {
    background-color: #f5f7fa;
    border: 2px solid #e1e5eb;
    height: 26px;
    line-height: 26px;
    padding: 8px 15px;
    font-size: 0.9375em;
    width: 520px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.search-form .s:focus {
    border-color: #4a6cf7;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.search-form button {
    border: none;
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    height: 44px;
    padding: 0 25px;
    cursor: pointer;
    margin: 1px 10px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.4);
}

/* ==================== 标签云 ==================== */
.tagscloud {
    float: left;
    padding-left: 15px;
    line-height: 44px;
    font-size: 0.9375em;
}

.tagscloud span,
.tagscloud a {
    float: left;
}

.tagscloud a {
    color: #4a6cf7;
    margin-left: 12px;
    padding: 4px 10px;
    background-color: #f0f4ff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tagscloud a:hover {
    background-color: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 内容容器 ==================== */
.container {
    overflow: hidden;
    padding: 30px 0;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    font-size: 0.9375em;
    color: #888;
    margin: 25px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5eb;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb span {
    padding: 0 18px;
    border-left: 3px solid #4a6cf7;
    color: #555;
}

.breadcrumb a:hover {
    color: #4a6cf7;
}

/* ==================== 主体内容区 ==================== */
.main {
    width: 840px;
    float: left;
}

/* ==================== 焦点图区域 ==================== */
.focus {
    float: left;
    width: 410px;
    height: 390px;
    margin-bottom: 25px;
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.focus ul li img {
    width: 100%;
    height: 390px;
    display: block;
}

.flexslider {
    height: 390px;
    width: 100%;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    position: relative;
}

.flexslider .slides:after {
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.no-js .flexslider .slides > li:first-child {
    display: block;
}

.flexslider {
    background-color: #fff;
    position: relative;
    zoom: 1;
}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides img {
    -moz-user-select: none;
}

.flex-viewport {
    max-height: 390px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.loading .flex-viewport {
    max-height: 390px;
}

.carousel li {
    margin-right: 5px;
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 20px;
    right: 15px;
    text-align: right;
}

.flex-control-nav li {
    margin: 0 4px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex-control-paging li a {
    width: 10px;
    height: 10px;
    display: block;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    text-indent: 9999em;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flex-control-paging li a:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.flex-control-paging li a.flex-active {
    background-color: #fff;
    cursor: default;
    transform: scale(1.2);
}

.flex-caption {
    position: absolute;
    width: 96%;
    padding: 15px 2%;
    left: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 15px;
    line-height: 1.6em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex-caption a {
    color: #fff;
}

.flex-caption a:hover {
    color: #4a6cf7;
}

/* ==================== 右侧最新文章 ==================== */
.top {
    width: 410px;
    height: 390px;
    float: right;
    background-color: #ffffff;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.top h3,
.hots h3,
.content h3,
.widget h3 {
    border-left: 4px solid #4a6cf7;
    padding-left: 18px;
    margin: 22px 0;
    font-weight: 600;
    font-size: 1.25em;
    color: #333;
}

.top ul,
.widget .bloggerinfo {
    padding: 0 20px;
}

.top ul li {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.top ul li:hover {
    padding-left: 5px;
}

.top ul li.last {
    border-bottom: none;
    margin-bottom: 0;
}

.top h4 {
    font-size: 1.0625em;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.top h4:hover {
    color: #4a6cf7;
}

.top p,
.hots ul li p {
    font-size: 0.875em;
    color: #666;
    overflow: hidden;
    line-height: 1.7;
}

.top p {
    height: 46px;
}

.hots ul li p {
    height: 68px;
}

/* ==================== 热门推荐 ==================== */
.hots,
.content {
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hots:hover,
.content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hots .section-title,
.content .section-title,
.widget .section-title,
.friendlinks .section-title {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    padding: 20px 20px 15px;
}

.hots ul,
.section {
    padding: 0 20px 20px;
    overflow: hidden;
}

.hots ul li {
    float: left;
    width: 48.5%;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.hots ul li:hover {
    transform: translateY(-3px);
}

.hots ul li.right {
    float: right;
}

.hots ul li .thumbnail {
    width: 130px;
    height: 98px;
    float: left;
    padding-right: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hots ul li img {
    height: 98px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hots ul li:hover img {
    transform: scale(1.05);
}

.hots ul li h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1em;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.hots ul li h4:hover {
    color: #4a6cf7;
}

/* ==================== 文章区块 ==================== */
.section {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section:hover {
    background-color: #fafbfc;
    margin: 0 -20px 25px;
    padding: 20px 20px 25px;
    border-radius: 8px;
}

.section .thumbnail {
    flex-shrink: 0;
    width: 200px;
    padding-right: 25px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section .thumbnail span {
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 10px;
    font-size: 0.75em;
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    border-radius: 0 0 6px 0;
}

.section .thumbnail img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section:hover .thumbnail img {
    transform: scale(1.05);
}

.section-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.section h2 {
    font-weight: 600;
    font-size: 1.25em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.3s ease;
}

.section h2:hover {
    color: #4a6cf7;
}

.section h3 {
    font-weight: 600;
    font-size: 1.125em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease;
}

.section h3:hover {
    color: #4a6cf7;
}

.section .excerpt {
    margin-top: 10px;
}

.section .excerpt p {
    font-size: 0.9375em;
    color: #666;
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: 5.1em;
}

/* ==================== 文章元信息 ==================== */
.postmeta {
    margin-bottom: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.postmeta span {
    font-size: 0.8125em;
    color: #888;
    display: flex;
    align-items: center;
}

.postmeta span::before {
    margin-right: 5px;
}

/* ==================== 文章详情页 ==================== */
.post {
    margin: 0 25px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.post h1.post-title {
    font-size: 1.75em;
    margin-bottom: 15px;
    color: #222;
    font-weight: 700;
    line-height: 1.4;
}

.post .postmeta {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.post .postmeta span {
    color: #888;
}

.post .entry {
    color: #444;
    line-height: 1.9;
}

.post .entry p {
    font-size: 1em;
    line-height: 1.9em;
    margin-bottom: 22px;
}

.post .entry ul,
.post .entry ol,
.post .entry hr,
.post .entry blockquote,
.post .entry h1,
.post .entry h2,
.post .entry h3,
.post .entry h4,
.post .entry h5,
.post .entry h6 {
    margin-bottom: 22px;
}

.post .entry h1,
.post .entry h2,
.post .entry h3,
.post .entry h4,
.post .entry h5,
.post .entry h6 {
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

.post .entry h1 {
    font-size: 1.75em;
}

.post .entry h2 {
    font-size: 1.5em;
}

.post .entry h3 {
    font-size: 1.3125em;
}

.post .entry h4 {
    font-size: 1.125em;
}

.post .entry h5 {
    font-size: 1em;
}

.post .entry h6 {
    font-size: 0.875em;
}

.post .entry li {
    font-size: 1em;
    margin-bottom: 8px;
}

.post .entry ul,
.post .entry ol {
    padding-left: 2.5em;
}

.post .entry ul li {
    list-style: inside disc none;
    margin-left: 2px;
}

.post .entry ol li {
    list-style: inside decimal none;
}

.post .entry blockquote {
    overflow: hidden;
    border: 1px solid #e1e5eb;
    border-left: 4px solid #4a6cf7;
    background-color: #f8f9fb;
    color: #555;
    padding: 20px 25px 15px;
    font-size: 0.9375em;
    margin: 0 2em 22px;
    border-radius: 8px;
}

.post .entry a {
    color: #4a6cf7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post .entry a:hover {
    color: #3451b2;
}

.post .entry img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== 标签 ==================== */
.tags {
    margin-bottom: 25px;
    font-size: 0.9375em;
    color: #888;
    padding: 15px 20px;
    background-color: #f8f9fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    color: #4a6cf7;
    margin-right: 0;
    padding: 4px 12px;
    background-color: #eef2ff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 翻页导航 ==================== */
.postnavi {
    margin-bottom: 25px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.postnavi .prev {
    float: left;
}

.postnavi .next {
    float: right;
}

.postnavi i {
    font-style: normal;
    font-family: 'Microsoft Yahei';
}

.postnavi a {
    font-size: 0.9375em;
    color: #555;
    padding: 8px 16px;
    background-color: #f5f7fa;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.postnavi a:hover {
    background-color: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 相关文章 ==================== */
.related-post,
.related-pic,
.commentslist {
    border-top: 1px solid #f0f0f0;
    margin-bottom: 25px;
    background-color: #ffffff;
    padding: 0 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.related-post h3,
.related-pic h3,
.commentslist h3 {
    border: none;
    padding: 20px 0 15px;
    font-size: 1.125em;
    color: #333;
    font-weight: 600;
}

.related-post ul li {
    line-height: 1.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9375em;
    margin-bottom: 10px;
}

.related-pic {
    overflow: hidden;
    padding-bottom: 20px;
}

.related-pic ul {
    width: 819px;
    overflow: hidden;
}

.related-pic ul li {
    float: left;
    width: 189.75px;
    padding: 8px 0;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.related-pic ul li:hover {
    transform: translateY(-5px);
}

.related-pic ul li .thumbnail {
    margin-bottom: 8px;
    height: 143px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.related-pic ul li .thumbnail img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-pic ul li:hover .thumbnail img {
    transform: scale(1.08);
}

.related-pic ul li p {
    font-size: 0.875em;
    height: 42px;
    overflow: hidden;
    color: #555;
    line-height: 1.6;
}

/* ==================== 评论列表 ==================== */
.commentslist ol {
    padding: 20px 0;
}

.commentslist ol li {
    margin-bottom: 20px;
    border: 1px solid #e1e5eb;
    padding: 18px;
    border-radius: 10px;
    background-color: #f8f9fb;
    transition: all 0.3s ease;
}

.commentslist ol li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.commentslist ol li .cmt-wrap {
    position: relative;
    padding-left: 65px;
}

.commentslist ol li .thumbnail {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.commentslist ol li .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

.commentslist ol li .cmt-user {
    font-size: 0.9375em;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.commentslist ol li .cmt-meta {
    font-size: 0.8125em;
    color: #888;
    margin-bottom: 12px;
}

.commentslist ol li .cmt-meta span.reply {
    margin-left: 15px;
}

.commentslist ol li .cmt-txt {
    font-size: 0.9375em;
    line-height: 1.7;
    color: #555;
}

.commentslist ol li li {
    margin-top: 18px;
    background-color: #fff;
    border-radius: 8px;
}

/* ==================== 评论表单 ==================== */
.comment-form {
    margin-bottom: 25px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comment-form textarea {
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    height: 140px;
    font-size: 0.9375em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.comment-form textarea:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.comment-form p {
    margin-top: 18px;
}

.comment-form .input {
    float: left;
}

.comment-form .text,
.comment-form p.verifyCode .input {
    border: 2px solid #e1e5eb;
    padding: 10px 15px;
    width: 220px;
    border-radius: 8px;
    margin-right: 12px;
    height: 24px;
    line-height: 24px;
    font-size: 0.9375em;
    transition: all 0.3s ease;
}

.comment-form .text:focus,
.comment-form p.verifyCode .input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.comment-form p.verifyCode .input {
    width: 140px;
}

.comment-form label {
    font-size: 0.9375em;
    color: #555;
    margin-right: 10px;
}

.comment-form .submit {
    float: right;
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(74, 108, 247, 0.4);
}

/* ==================== 分页导航 ==================== */
.pagenavi {
    text-align: center;
    margin-bottom: 30px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pagenavi a,
.pagenavi span,
.pagenavi em {
    display: inline-block;
    background-color: #fff;
    border: 2px solid #e1e5eb;
    padding: 10px 16px;
    font-size: 0.9375em;
    color: #555;
    margin: 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagenavi a:hover {
    border-color: #4a6cf7;
    color: #4a6cf7;
    transform: translateY(-2px);
}

.pagenavi a.current,
.pagenavi span {
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    border-color: #4a6cf7;
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
}

.pagenavi em {
    background-color: #f5f7fa;
    border-color: transparent;
    color: #888;
}

/* ==================== 侧边栏 ==================== */
.sidebar {
    width: 320px;
    float: right;
}

/* ==================== 分类导航 ==================== */
.category-nav {
    padding: 10px 0;
}

.category-nav li {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    font-size: 0.9375em;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px 10px;
}

.category-nav li a:hover {
    background-color: #f0f4ff;
    color: #4a6cf7;
    padding-left: 25px;
}

.category-nav li a i {
    margin-right: 10px;
    font-size: 1.1em;
    color: #4a6cf7;
}

/* ==================== 小工具组件 ==================== */
.widget {
    background-color: #ffffff;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.textwidget {
    padding: 12px 20px;
}

.textwidget p {
    padding: 10px 0;
    line-height: 1.8;
    color: #555;
}

.textwidget img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.widget ul {
    padding: 5px 20px 10px;
}

.widget.theme-widget ul {
    padding: 0 20px;
}

.widget ul li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9375em;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget ul li:hover {
    padding-left: 5px;
}

.bar1 ul li {
    white-space: normal;
}

.widget .thumbnail {
    float: left;
    width: 100px;
    height: 75px;
    padding-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget .thumbnail img {
    height: 75px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget ul li:hover .thumbnail img {
    transform: scale(1.05);
}

.widget ul li p {
    font-size: 1em;
    color: #444;
    line-height: 1.6;
    font-weight: 500;
}

.widget ul li i {
    font-style: normal;
    font-size: 0.75em;
    background-color: #f0f0f0;
    color: #888;
    padding: 4px 10px;
    margin-right: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.widget ul li i:hover {
    transform: scale(1.05);
}

.widget ul li i.a1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
}

.widget ul li i.a2 {
    background: linear-gradient(135deg, #ffa502, #ff7f00);
    color: #fff;
}

.widget ul li i.a3 {
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
}

.widget ul li i.a4,
.widget ul li i.a5,
.widget ul li i.a6,
.widget ul li i.a7,
.widget ul li i.a8,
.widget ul li i.a9 {
    font-style: normal;
    font-size: 0.75em;
    background-color: #f0f0f0;
    color: #888;
    padding: 4px 10px;
    margin-right: 10px;
    border-radius: 12px;
}

.widget .follow {
    padding: 0 15px;
    text-align: center;
}

.widget .follow img {
    margin: 0 10px;
    width: 130px;
    height: 130px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.widget .follow p {
    margin-bottom: 20px;
    color: #555;
}

.widget ul li.list p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget ul li.list .thumbnail {
    display: none;
}

.widget ul li.list.cur .thumbnail {
    display: block;
}

.widget ul li.list.cur i {
    display: none;
}

.widget ul li.list.cur p {
    white-space: normal;
}

.widget .bloggerinfo .bloggerinfoimg img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget .bloggerinfo p,
.widget .bloggerinfo .bloggerinfoimg {
    margin-bottom: 20px;
}

.widget .bloggerinfo p.name {
    text-align: center;
    font-size: 1.25em;
    font-weight: 600;
    color: #333;
}

.widget .bloggerinfo p.des {
    font-size: 0.9375em;
    color: #666;
    text-indent: 2em;
    line-height: 1.8;
}

.widget #calendar {
    margin-bottom: 20px;
}

.widget #calendar table {
    border: none;
}

.widget #calendar table td,
.widget #calendar table th {
    border: none;
    text-align: center;
    padding: 10px;
}

.widget #calendar table td a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.widget #calendar table td a:hover {
    background-color: #4a6cf7;
    color: #fff;
}

.widget #calendar table td.day2 a {
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    width: 30px;
    height: 30px;
    display: block;
    line-height: 30px;
    border-radius: 50%;
}

.widget.twitter p {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9375em;
    white-space: normal;
    text-align: justify;
    line-height: 1.7;
}

.widget.twitter ul li p.time {
    color: #888;
    font-size: 0.8125em;
    margin-top: 8px;
}

.widget.twitter p.more {
    margin-bottom: 20px;
    text-align: right;
    font-size: 0.8125em;
}

.widget.twitter p.more a:hover {
    color: #4a6cf7;
}

/* ==================== 标签云组件 ==================== */
.divTags ul {
    padding: 10px 20px 20px;
    overflow: hidden;
}

.divTags a {
    display: inline-block;
    float: left;
    font-size: 0.8125em;
    padding: 6px 14px;
    border-radius: 20px;
    margin: 5px 8px 5px 0;
    overflow: hidden;
    color: #fff;
    transition: all 0.3s ease;
}

.divTags a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.divTags a:nth-child(8n-7) {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.divTags a:nth-child(8n-6) {
    background: linear-gradient(135deg, #ff9f43, #ee8811);
}

.divTags a:nth-child(8n-5) {
    background: linear-gradient(135deg, #26de81, #20bf6b);
}

.divTags a:nth-child(8n-4) {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.divTags a:nth-child(8n-3) {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.divTags a:nth-child(8n-2) {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    color: #555;
}

.divTags a:nth-child(8n-1) {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.divTags a:nth-child(8n) {
    background: linear-gradient(135deg, #81ecec, #00cec9);
    color: #555;
}

.divTags a:first-child {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.divTags a:last-child {
    background: linear-gradient(135deg, #00b894, #00a381);
}

/* ==================== 博客分类 ==================== */
.widget.blogsort ul li {
    position: relative;
    margin-bottom: 8px;
}

.widget.blogsort ul li i,
.widget.twitter p i {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-right: 0;
}

.widget.blogsort ul li span {
    float: right;
    font-size: 0.8125em;
    color: #888;
    background-color: #f0f0f0;
    padding: 2px 10px;
    border-radius: 10px;
}

.widget.blogsort ul li ul {
    padding: 0 0 0 1em;
}

.widget.blogsort ul li ul li {
    margin-bottom: 0;
    margin-top: 8px;
}

.widget.blogsort ul li > a {
    display: block;
    padding: 8px 0;
    color: #555;
    transition: all 0.3s ease;
}

.widget.blogsort ul li > a:hover {
    color: #4a6cf7;
    padding-left: 5px;
}

/* ==================== 最新评论 ==================== */
.widget.newcmt ul {
    padding: 5px 20px 15px;
}

.widget.newcmt ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9375em;
    color: #555;
    margin-bottom: 8px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.widget.newcmt ul li img {
    float: left;
    width: 36px;
    height: 36px;
    padding: 8px 8px 0 0;
    border-radius: 50%;
}

.widget.newcmt ul li span {
    display: block;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget.newcmt ul li a {
    color: #555;
    transition: color 0.3s ease;
}

.widget.newcmt ul li a:hover {
    color: #4a6cf7;
}

/* ==================== 侧边搜索 ==================== */
.widget .side-search {
    padding: 20px;
}

.widget .side-search form {
    display: block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.widget .side-search .input-search {
    border: 2px solid #e1e5eb;
    height: 40px;
    padding: 8px 15px;
    line-height: 24px;
    border-radius: 8px 0 0 8px;
    float: left;
    width: calc(100% - 60px);
    font-size: 0.9375em;
    transition: all 0.3s ease;
}

.widget .side-search .input-search:focus {
    border-color: #4a6cf7;
    box-shadow: inset 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.widget .side-search .btn {
    float: left;
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    border: none;
    height: 40px;
    padding: 0 18px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.widget .side-search .btn:hover {
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.4);
}

/* ==================== 留言板 ==================== */
#weiyu {
    padding: 20px;
}

#weiyu .main_img p {
    margin-bottom: 8px;
}

#weiyu .main_img p.author {
    font-size: 1em;
    color: #555;
    font-weight: 600;
}

#weiyu .main_img p span {
    font-size: 0.8125em;
    color: #888;
}

#weiyu .main_img p a span {
    font-size: 1em;
}

#weiyu .main_img img {
    float: left;
    display: block;
    width: 50px;
    height: 50px;
    padding: 8px 10px 0 0;
    border-radius: 50%;
}

#weiyu .main_cont {
    margin-bottom: 22px;
    overflow: hidden;
}

#weiyu .main_cont p {
    padding: 0 22px;
    color: #555;
    font-size: 0.9375em;
    line-height: 1.8;
}

#weiyu .main_cont .blockquote_l {
    background: url(../img/block_l.png) no-repeat left top;
    width: 22px;
    height: 22px;
    display: block;
}

#weiyu .main_cont .blockquote_r {
    background: url(../img/block_r.png) no-repeat left top;
    width: 22px;
    height: 22px;
    display: block;
    float: right;
}

#weiyu ul.r {
    margin-bottom: 18px;
}

#weiyu ul.r li {
    font-size: 0.9375em;
    color: #333;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
    padding-bottom: 12px;
    color: #666;
    transition: all 0.3s ease;
}

#weiyu ul.r li:hover {
    padding-left: 5px;
}

#weiyu ul.r li span {
    display: block;
}

#weiyu ul.r li span.name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#weiyu ul.r li span.time {
    font-size: 0.8125em;
    color: #888;
    margin-top: 8px;
}

#weiyu ul.r li em {
    position: absolute;
    right: 0;
    top: 0;
    font-style: normal;
}

#weiyu ul.r li em a {
    color: #4a6cf7;
    font-size: 0.875em;
}

#weiyu textarea {
    width: 100%;
    border: 2px solid #e1e5eb;
    height: 90px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 0.9375em;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#weiyu textarea:focus {
    border-color: #4a6cf7;
}

#weiyu li .tinfo label {
    display: block;
    float: left;
    font-size: 0.9375em;
    width: 55px;
    padding: 0 8px;
    height: 36px;
    border: 2px solid #e1e5eb;
    border-right: none;
    text-align: center;
    line-height: 32px;
    border-radius: 8px 0 0 8px;
    background-color: #f5f7fa;
    color: #555;
}

#weiyu li .tinfo p {
    margin-bottom: 8px;
    overflow: hidden;
}

#weiyu li .tinfo input {
    border: 2px solid #e1e5eb;
    font-size: 0.9375em;
    padding: 8px 12px;
    float: left;
    border-radius: 0 8px 8px 0;
    width: calc(100% - 75px);
    transition: all 0.3s ease;
}

#weiyu li .tinfo input:focus {
    border-color: #4a6cf7;
}

#weiyu .button_p {
    background: linear-gradient(135deg, #4a6cf7, #6b8cff);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 20px;
    float: right;
    font-size: 0.9375em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
}

#weiyu .button_p:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

/* ==================== 友情链接 ==================== */
.friendlinks {
    background-color: #ffffff;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.friendlinks .section-title {
    padding: 18px 20px 15px;
    font-size: 0.9375em;
    margin-bottom: 15px;
}

.friendlinks .section-title span {
    font-size: 0.9375em;
    color: #888;
    margin-left: 18px;
}

.friendlinks ul {
    overflow: hidden;
    padding: 0 12px 15px;
}

.friendlinks ul li {
    float: left;
    margin: 6px 12px;
    display: inline;
    font-size: 0.875em;
}

.friendlinks ul li a {
    color: #555;
    padding: 6px 14px;
    background-color: #f5f7fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.friendlinks ul li a:hover {
    background-color: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 固定小工具 ==================== */
.fixed-widget {
    position: fixed;
    right: 25px;
    top: 65%;
    z-index: 8;
}

.fixed-widget ul li {
    cursor: pointer;
    font-size: 1.75em;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #4a6cf7;
}

.fixed-widget ul li:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

/* ==================== 页脚 ==================== */
.footer {
    background-color: #2c3e50;
    color: #adb5bd;
    width: 100%;
    padding: 35px 0;
    margin-top: 20px;
}

.footer .inner {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4a6cf7;
}

.footer .other {
    float: right;
    font-size: 0.875em;
}

.footer .other a {
    margin-left: 20px;
}

/* ==================== 版权信息 ==================== */
.copyright {
    float: left;
    font-size: 0.875em;
    line-height: 1.8;
}

/* ==================== 响应式设计 ==================== */

/* 大屏幕 (1200px) */
@media only screen and (max-width: 1200px) {
    .inner {
        width: 1024px;
        padding: 0 15px;
    }
    
    .nav .menu ul li,
    .top-other ul li {
        font-size: 0.9375em;
    }
    
    .nav .menu ul li a {
        padding: 0 18px;
    }
    
    .search-form .s {
        width: 420px;
    }
    
    .main {
        width: 680px;
    }
    
    .focus {
        width: 360px;
        height: 340px;
    }
    
    .focus ul li img,
    .flexslider {
        height: 340px;
    }
    
    .top {
        width: 300px;
        height: 340px;
    }
    
    .top h4 {
        margin-bottom: 8px;
        font-size: 1em;
    }
    
    .top ul li {
        padding-bottom: 12px;
        margin-bottom: 8px;
    }
    
    .sidebar {
        width: 304px;
    }
    
    .related-pic ul {
        width: 659px;
    }
    
    .related-pic ul li {
        width: 151.75px;
    }
    
    .related-pic ul li .thumbnail {
        height: 114px;
    }
    
    .widget .follow img {
        width: 100px;
        height: 100px;
    }
}

/* 中等屏幕 (1060px) */
@media only screen and (max-width: 1060px) {
    .inner {
        width: 960px;
        padding: 0 15px;
    }
    
    .nav .menu ul li a {
        padding: 0 14px;
    }
    
    .search-form .s {
        width: 360px;
    }
    
    .main {
        width: 640px;
    }
    
    .focus {
        width: 340px;
        height: 320px;
    }
    
    .focus ul li img,
    .flexslider {
        height: 320px;
    }
    
    .top {
        width: 280px;
        height: 320px;
    }
    
    .top h4 {
        font-size: 0.9375em;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .widget .thumbnail {
        width: 80px;
        height: 60px;
        padding-right: 10px;
    }
    
    .widget .thumbnail img {
        height: 60px;
    }
    
    .related-pic ul {
        width: 619px;
    }
    
    .related-pic ul li {
        width: 141.75px;
    }
    
    .related-pic ul li .thumbnail {
        height: 106px;
    }
    
    .widget .follow img {
        width: 85px;
        height: 85px;
    }
}

/* 平板 (980px) */
@media only screen and (max-width: 980px) {
    .inner {
        width: 740px;
        padding: 0 15px;
    }
    
    .nav .menu ul li a {
        padding: 0 14px;
    }
    
    .top-other .icon-menu {
        display: block;
    }
    
    .nav {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        background-color: #ffffff;
        width: 100%;
        height: calc(100% - 70px);
        z-index: 9;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .nav .menu {
        padding-bottom: 60px;
    }
    
    .nav .menu > ul {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav .menu ul li {
        border: none;
        float: none;
        clear: both;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        line-height: 50px;
    }
    
    .nav .menu ul li a {
        display: block;
        margin: 0 auto;
        color: #333;
    }
    
    .nav .menu ul li ul {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
    }
    
    .nav .menu ul li ul li {
        font-size: 1em;
        text-align: left;
        line-height: 50px;
        background-color: #f8f9fb;
    }
    
    .nav .menu ul li ul li a {
        padding: 0 15px 0 45px;
    }
    
    .nav .menu ul li a:hover {
        background-color: #f5f7fa;
    }
    
    .nav .menu ul li a::after {
        display: none;
    }
    
    /* mobile nav */
    body.nav-active {
        overflow: hidden;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .nav.mobile-nav {
        display: block;
    }
    
    /* mobile nav end */
    
    .search-form .s {
        width: 680px;
    }
    
    .search-form {
        float: none;
    }
    
    .tagscloud {
        padding-left: 0;
    }
    
    .search-bg {
        padding: 18px 0 12px;
    }
    
    .main,
    .sidebar {
        width: 100%;
        float: none;
    }
    
    .sidebar {
        margin-top: 25px;
    }
    
    .top {
        width: 400px;
        height: auto;
        min-height: 300px;
    }
    
    .related-pic ul {
        width: 719px;
    }
    
    .related-pic ul li {
        width: 164.75px;
    }
    
    .related-pic ul li .thumbnail {
        height: 123px;
    }
}

/* 小平板 (860px) */
@media only screen and (max-width: 860px) {
    .inner {
        width: 700px;
        padding: 0 12px;
    }
    
    .search-form .s {
        width: 640px;
    }
    
    .top {
        width: 340px;
    }
    
    .related-pic ul {
        width: 102.04918%;
    }
    
    .related-pic ul li {
        width: 22.99%;
        margin-right: 2.008032%;
    }
    
    .related-pic ul li .thumbnail {
        height: 110px;
    }
}

/* 平板/大手机 (800px) */
@media only screen and (max-width: 800px) {
    .inner {
        width: 94%;
        padding: 0 3%;
    }
    
    .search-form .s {
        width: 88%;
    }
    
    .top {
        width: 47%;
    }
    
    .friendlinks .section-title span,
    .fixed-widget {
        display: none;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .copyright,
    .footer .other {
        float: none;
    }
    
    .footer .other a {
        margin: 0 10px;
    }
}

/* 手机 (747px) */
@media only screen and (max-width: 747px) {
    .focus {
        width: 100%;
        height: auto;
        float: none;
    }
    
    .focus ul li img,
    .flexslider {
        height: auto;
    }
    
    .flex-viewport {
        max-height: none;
    }
    
    .flex-control-nav {
        bottom: 15px;
    }
    
    .top {
        width: 100%;
        float: none;
        height: auto;
        min-height: auto;
    }
    
    .top ul {
        padding: 0 18px 15px;
    }
    
    .top p {
        height: auto;
    }
    
    .related-pic ul li .thumbnail {
        height: 100px;
    }
    
    .hots ul li {
        width: 100%;
        float: none;
    }
    
    .hots ul li.right {
        float: none;
    }
    
    .hots ul li .thumbnail {
        width: 90px;
        height: 68px;
        padding-top: 5px;
    }
    
    .hots ul li img {
        height: 68px;
    }
    
    .hots ul li p {
        height: auto;
    }
    
    .container {
        padding: 20px 0;
    }
}

/* 小手机 (640px) */
@media only screen and (max-width: 640px) {
    .search-form .s {
        width: 86%;
    }
    
    .header {
        height: 60px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .nav {
        top: 60px;
        height: calc(100% - 60px);
    }
    
    .nav .menu {
        padding-bottom: 50px;
    }
    
    .nav .menu ul li {
        line-height: 45px;
    }
    
    .nav .menu ul li ul li {
        line-height: 45px;
    }
    
    .top-other ul li {
        line-height: 60px;
    }
    
    .top-other ul li .social-share {
        top: 60px;
    }
    
    .hots ul li .thumbnail {
        width: 80px;
        height: 60px;
        padding-top: 5px;
    }
    
    .hots ul li img {
        height: 60px;
    }
    
    .hots ul li p {
        height: auto;
        font-size: 0.8125em;
    }
    
    .hots ul li h4 {
        font-size: 0.875em;
        margin-bottom: 3px;
    }
    
    .section {
        flex-direction: column;
        padding-bottom: 18px;
        margin-bottom: 18px;
    }
    
    .section:hover {
        margin: 0 -15px 18px;
        padding: 15px 15px 18px;
    }
    
    .section .thumbnail {
        width: 100%;
        max-width: 200px;
        height: auto;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 12px;
    }
    
    .section .thumbnail img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    
    .section h2,
    .postmeta {
        margin-bottom: 8px;
    }
    
    .section .excerpt p {
        -webkit-line-clamp: 2;
        max-height: 3.4em;
    }
    
    .related-pic ul li .thumbnail {
        height: 85px;
    }
    
    .post {
        margin: 0 15px;
        padding: 20px;
    }
    
    .post h1.post-title {
        font-size: 1.375em;
    }
}

/* 手机 (540px) */
@media only screen and (max-width: 540px) {
    .search-form {
        margin-bottom: 12px;
    }
    
    .search-form .s {
        width: 84%;
        height: 36px;
    }
    
    .search-form button {
        height: 36px;
        padding: 0 18px;
    }
    
    .tagscloud {
        line-height: 1.8em;
    }
    
    .hots ul li,
    .hots ul li.right {
        float: none;
        width: 100%;
    }
    
    .hots ul li h4 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    
    .hots ul li .thumbnail {
        padding-top: 0;
    }
    
    .hots ul li p {
        height: auto;
    }
    
    .section h2 {
        font-size: 1.0625em;
    }
    
    .related-pic ul li .thumbnail {
        height: 70px;
    }
    
    .breadcrumb {
        font-size: 0.8125em;
    }
    
    .widget {
        margin-bottom: 18px;
    }
    
    .widget .thumbnail {
        width: 70px;
        height: 52px;
        padding-right: 10px;
    }
    
    .widget .thumbnail img {
        height: 52px;
    }
    
    .widget ul li {
        font-size: 0.875em;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .widget ul li p {
        font-size: 0.9375em;
    }
    
    .section {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .section:hover {
        margin: 0 -12px 15px;
        padding: 12px 12px 15px;
    }
}

/* 小手机 (480px) */
@media only screen and (max-width: 480px) {
    .header {
        height: 55px;
    }
    
    .logo {
        max-width: 120px;
        height: 55px;
    }
    
    .logo img {
        max-height: 35px;
    }
    
    .top-other ul li {
        line-height: 55px;
    }
    
    .top-other ul li .social-share {
        top: 55px;
    }
    
    .nav {
        top: 55px;
        height: calc(100% - 55px);
    }
    
    .nav .menu {
        padding-bottom: 45px;
    }
    
    .nav .menu ul li {
        line-height: 42px;
    }
    
    .nav .menu ul li ul li {
        line-height: 42px;
    }
    
    .search-form .s {
        width: 78%;
        font-size: 0.875em;
    }
    
    .section {
        flex-direction: column;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .section:hover {
        margin: 0 -12px 15px;
        padding: 12px 12px 15px;
    }
    
    .section h2 {
        font-size: 0.9375em;
        margin-bottom: 8px;
    }
    
    .section h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    
    .section .thumbnail {
        width: 100%;
        max-width: 150px;
        height: auto;
        padding-right: 0;
        padding-bottom: 10px;
    }
    
    .section .thumbnail img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    
    .section .excerpt p {
        font-size: 0.875em;
        -webkit-line-clamp: 2;
        max-height: 3.4em;
    }
    
    .postmeta {
        display: none;
    }
    
    .related-pic ul {
        width: 102%;
    }
    
    .related-pic ul li {
        width: 47%;
        margin-right: 3%;
    }
    
    .related-pic ul li .thumbnail {
        height: 100px;
    }
    
    .related-pic ul li p {
        font-size: 0.8125em;
        height: 38px;
    }
    
    .comment-form .text {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .comment-form .submit {
        float: none;
        width: 100%;
        margin-top: 15px;
        border-radius: 25px;
    }
}

/* 超小手机 (420px) */
@media only screen and (max-width: 420px) {
    .related-pic ul li .thumbnail {
        height: 85px;
    }
    
    .comment-form .input,
    .comment-form .submit {
        float: none;
        clear: both;
    }
    
    .comment-form .text {
        width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    
    .comment-form .submit {
        width: 100%;
        margin-top: 12px;
        border-radius: 25px;
        padding: 12px;
    }
    
    .pagenavi a,
    .pagenavi span,
    .pagenavi em {
        padding: 8px 12px;
        font-size: 0.8125em;
    }
}

/* 最小屏幕 (360px) */
@media only screen and (max-width: 360px) {
    .widget .follow img {
        width: 80px;
        height: 80px;
    }
    
    .related-pic ul li .thumbnail {
        height: 75px;
    }
    
    .top ul li {
        padding: 10px 0;
    }
    
    .top h4 {
        font-size: 0.9375em;
    }
    
    .hots ul li .thumbnail {
        width: 70px;
        height: 52px;
    }
    
    .hots ul li img {
        height: 52px;
    }
    
    .section .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .section .thumbnail img {
        height: 60px;
    }
}

/* 最小宽度 (320px) */
@media only screen and (max-width: 320px) {
    .search-form .s {
        width: 75%;
        font-size: 0.8125em;
    }
    
    .related-pic ul li .thumbnail {
        height: 65px;
    }
    
    .related-pic ul li {
        width: 46%;
        margin-right: 4%;
    }
    
    .footer {
        padding: 25px 0;
    }
    
    .copyright {
        font-size: 0.75em;
    }
}
