/* 热门站点导航主题样式 */
:root {
    --theme-color: #f1403c;
    --hover-color: #f45b58;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --text-color: #000000e6;
    --text-color-2: #00000073;
    --border-color: #0000000f;
    --rank-color-1: #f1403c;
    --rank-color-2: #ff7a45;
    --rank-color-3: #ffa940;
    --rank-color-normal: #00000040;
    --shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.header {
    padding: 16px 0;
    background: var(--card-bg);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: var(--shadow-1);
    height: 64px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-color-2);
    margin-top: 2px;
    font-weight: normal;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 24px;
}

.nav-link {
    color: var(--text-color-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--text-color);
}

.main-wrapper {
    margin-top: 64px;
    padding-top: 16px;
}

.main {
    padding: 16px 0;
}

/* 分类网格布局 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    margin: 0 -8px;
}

.category-section {
    margin: 0 8px 16px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    min-width: 360px;
}

.category-title {
    font-size: 16px;
    padding: 12px 16px;
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.category-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.category-link:hover {
    color: var(--theme-color);
}

.site-list {
    padding: 8px 0;
}

.site-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 16px;
    transition: background-color 0.2s;
}

.site-item:hover {
    background-color: var(--border-color);
}

.site-index {
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    margin-right: 12px;
    color: var(--rank-color-normal);
    flex-shrink: 0;
    margin-top: 2px;
}

.site-item:nth-child(1) .site-index {
    color: var(--rank-color-1);
}

.site-item:nth-child(2) .site-index {
    color: var(--rank-color-2);
}

.site-item:nth-child(3) .site-index {
    color: var(--rank-color-3);
}

.site-content {
    flex: 1;
    min-width: 0;
}

.site-title {
    font-size: 14px;
    margin: 0;
    font-weight: normal;
    line-height: 1.4;
    word-break: break-all;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
    display: block;
    padding: 2px 0;
}

.site-title a:hover {
    color: var(--theme-color);
}

.site-desc {
    font-size: 14px;
    color: var(--text-color-2);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-link {
    padding: 6px 12px;
    background: var(--theme-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
    margin-left: 15px;
}

.site-link:hover {
    background: var(--hover-color);
}

.footer {
    padding: 16px 0;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 20px;
}

.footer p {
    line-height: 1.5;
}

.footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--theme-color);
}

.datetime {
    color: var(--text-color-2);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.4;
}

.datetime-time {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

.category-intro {
    font-size: 12px;
    color: var(--text-color-2);
    font-weight: normal;
    opacity: 0.85;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.announcement {
    background-color: var(--card-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin: 0 0 16px 0;
    width: 100%;
    box-shadow: var(--shadow-1);
}

.announcement-content {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.announcement-left {
    flex-shrink: 0;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.announcement-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background-color: var(--theme-color);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    height: 20px;
}

.announcement-right {
    flex: 1;
    overflow: hidden;
}

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

.announcement-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
}

.announcement-icon {
    flex-shrink: 0;
    margin-right: 8px;
    font-size: 14px;
    color: var(--theme-color);
}

.announcement-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-color);
    transition: color 0.2s;
}

.announcement-text:hover {
    color: var(--theme-color);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .categories-grid {
        display: block;
        margin: 0;
    }

    .category-section {
        margin: 0 0 16px;
        min-width: unset;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .site-item {
        padding: 8px 12px;
    }
    
    .category-title {
        padding: 10px 12px;
    }
    
    .datetime {
        display: none;
    }
    
    .category-intro {
        max-width: 120px;
        display: block;
    }

    .main-wrapper {
        margin-top: 110px;
    }
    
    .header {
        height: auto;
        min-height: 56px;
        padding: 8px 0;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        width: 100%;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
    
    .search-form {
        width: 100%;
        height: 36px;
    }
    
    .search-input {
        line-height: 36px;
    }
    
    .announcement {
        margin: 0 0 12px 0;
        padding: 8px 0;
    }
    
    .announcement-content {
        min-height: 20px;
    }
    
    .announcement-left {
        margin-right: 10px;
    }
    
    .announcement-label {
        height: 18px;
        padding: 2px 8px;
    }
    
    .announcement-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 11px;
    }
}

/* 分类页样式 */
.category-header {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-1);
}

.category-page-title {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.category-page-title img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.article-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-1);
}

.article-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background-color: var(--border-color);
}

.article-content {
    display: flex;
    flex-direction: column;
}

.article-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
    display: block;
    padding: 2px 0;
    white-space: normal;
    overflow: visible;
}

.article-title a:hover {
    color: var(--theme-color);
}

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

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

.article-intro {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 文章详情页样式 */
.article-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

.article-detail {
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-detail .article-title {
    font-size: 24px;
    color: #333;
    margin: 0 0 15px;
}

.article-detail .article-meta {
    color: #999;
    font-size: 14px;
}

.article-detail .meta-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.article-detail .meta-item i {
    margin-right: 5px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;

}

.article-content p {
    margin-bottom: 1em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

.article-tags {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags .tag {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 5px 5px 0;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tags .tag:hover {
    background: #007bff;
    color: #fff;
}

.article-navigation {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.prev-post,
.next-post {
    margin: 10px 0;
}

.prev-post span,
.next-post span {
    color: #999;
    font-size: 14px;
}

.prev-post a,
.next-post a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.prev-post a:hover,
.next-post a:hover {
    color: #007bff;
}

/* 评论区样式 */
.comments-area {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.comment-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.comment-item.even {
    background: #fff;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.comment-meta {
    font-size: 12px;
    color: var(--text-color-2);
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 10px 0;
    word-break: break-word;
}

.comment-reply {
    margin-left: 50px;
    padding-left: 15px;
    border-left: 2px solid var(--border-color);
}

/* 评论表单样式 */
.comment-respond {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-1);
}

.comment-form {
    display: grid;
    gap: 15px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

.comment-form label {
    font-size: 14px;
    color: var(--text-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--theme-color);
    outline: none;
}

.comment-form textarea {
    height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: right;
}

.submit-button {
    background: var(--theme-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--hover-color);
}

/* 分类页新增样式 */
.date-group {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    margin-bottom: 16px;
    overflow: hidden;
}

.date-header {
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.article-count {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-left: 8px;
}

.article-text {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        grid-template-columns: 1fr;
    }
    
    .comment-reply {
        margin-left: 20px;
    }
    
    .date-header {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .article-text {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-page-title {
        font-size: 20px;
    }
    
    .article-detail .article-title {
        font-size: 20px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-container {
        padding: 15px;
    }
}

/* 验证码样式 */
.comment-form-verifycode {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

.verifycode-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verifycode {
    width: 100px !important;
}

.verifycode-img {
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
}

.required {
    color: var(--theme-color);
    margin-left: 3px;
}

@media (max-width: 768px) {
    .comment-form-verifycode {
        grid-template-columns: 1fr;
    }
    
    .verifycode-wrapper {
        flex-wrap: wrap;
    }
    
    .verifycode {
        width: 100% !important;
    }
}

/* 分页样式 */
.pagebar {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagebar a,
.pagebar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.pagebar a {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-1);
}

.pagebar a:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

.pagebar span.now-page {
    background: var(--theme-color);
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .pagebar {
        gap: 6px;
    }
    
    .pagebar a,
    .pagebar span {
        min-width: 28px;
        height: 28px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* 微信二维码样式 */
.wechat-qr {
    padding: 30px 0;
    background-color: #f8f9fa;
    margin-top: 30px;
}

.qr-wrapper {
    text-align: center;
}

.qr-image {
    width: 300px;  /* 电脑端固定宽度 */
    height: auto;  /* 高度自适应，保持原比例 */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qr-text {
    margin-top: 15px;
    color: #666;
    font-size: 15px;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .wechat-qr {
        padding: 20px 0;
    }
    
    .qr-image {
        width: 100%;    /* 移动端宽度100% */
        height: auto;   /* 高度自适应 */
    }
    
    .qr-text {
        font-size: 14px;
    }
}

/* 常用链接样式优化 */
.useful-links {
    background-color: transparent;
    padding: 0;
    margin-top: 16px;
}

.useful-links .category-section {
    background: #fff;
    box-shadow: var(--shadow-1);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    border-radius: 8px;
}

.useful-links .category-title {
    text-align: left;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.useful-links .category-title img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.useful-links .site-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

.useful-links .site-item {
    background: transparent;
    border-radius: 0;
    margin: 0;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
    border: none;
    box-shadow: none;
    height: auto;
}

.useful-links .site-item:hover {
    transform: none;
    background-color: var(--border-color);
}

.useful-links .site-index {
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    color: var(--rank-color-normal);
    font-size: 13px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.useful-links .site-item:nth-child(1) .site-index {
    color: var(--rank-color-1);
}

.useful-links .site-item:nth-child(2) .site-index {
    color: var(--rank-color-2);
}

.useful-links .site-item:nth-child(3) .site-index {
    color: var(--rank-color-3);
}

.useful-links .site-content {
    flex: 1;
    min-width: 0;
}

.useful-links .site-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    font-weight: normal;
    word-break: break-all;
}

.useful-links .site-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 2px 0;
    word-break: break-all;
}

.useful-links .site-title a:hover {
    color: var(--theme-color);
}

@media (max-width: 768px) {
    .useful-links {
        margin-top: 12px;
    }
    
    .useful-links .category-section {
        border-radius: 8px;
    }
    
    .useful-links .site-list {
        padding: 4px 0;
    }
    
    .useful-links .site-item {
        padding: 8px 12px;
    }
    
    .useful-links .site-index {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 12px;
        margin-right: 8px;
    }
    
    .useful-links .site-title {
        font-size: 13px;
    }

    .useful-links .category-title {
        padding: 10px 12px;
    }
    
    .useful-links .category-title img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .useful-links .category-section {
        margin: 0 10px;
    }
}

/* 热门政策模块样式调整 */
.category-section:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .link-item {
        padding: 10px;
    }
    
    .link-name {
        font-size: 14px;
    }
}

/* 搜索框样式 */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 6px 16px;
    transition: all 0.3s;
    height: 40px;
}

.search-form:hover,
.search-form:focus-within {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
    height: 100%;
    line-height: 40px;
}

.search-input::placeholder {
    color: var(--text-color-2);
}

.search-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 12px;
    cursor: pointer;
    color: var(--text-color-2);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.search-btn:hover {
    color: var(--theme-color);
}

.search-icon {
    width: 16px;
    height: 16px;
}

/* 搜索结果页样式 */
.search-header {
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-1);
}

.search-title {
    font-size: 15px;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-keyword {
    color: var(--theme-color);
    font-weight: 600;
}

.search-count {
    font-size: 13px;
    color: var(--text-color-2);
    margin-left: auto;
}

.search-results {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.search-item {
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background-color: var(--border-color);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-date {
    color: var(--text-color-2);
    font-size: 13px;
    white-space: nowrap;
}

.site-title {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.site-title a:hover {
    color: var(--theme-color);
}

@media (max-width: 768px) {
    .search-header {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .search-title {
        font-size: 14px;
    }
    
    .search-count {
        font-size: 12px;
    }
    
    .search-item {
        padding: 6px 12px;
    }
    
    .article-header {
        gap: 8px;
    }
    
    .article-date {
        font-size: 12px;
    }
    
    .site-title {
        font-size: 12px;
    }
}

.search-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-color-2);
    margin-bottom: 8px;
}

.search-item-excerpt {
    font-size: 14px;
    color: var(--text-color-2);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-highlight {
    color: var(--theme-color);
    font-weight: 500;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-color-2);
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-color-2);
    opacity: 0.5;
}

.no-results-text {
    font-size: 16px;
    margin: 0;
}

.search-suggestions {
    margin-top: 16px;
    font-size: 14px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.search-suggestions li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .search-box {
        max-width: none;
    }
    
    .search-form {
        padding: 4px 12px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
    }
    
    .search-header {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .search-title {
        font-size: 16px;
    }
    
    .search-item {
        padding: 12px;
    }
    
    .search-item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .search-item-meta {
        font-size: 12px;
        gap: 12px;
        margin-bottom: 6px;
    }
    
    .search-item-excerpt {
        font-size: 13px;
    }
    
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results-icon {
        font-size: 36px;
    }
    
    .no-results-text {
        font-size: 14px;
    }
} 