/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111111;
}

.container {
    max-width: 769px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 导航（共用） ========== */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 60px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #111;
}

.logo span {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.domain {
    font-size: 13px;
    color: #999;
}

.back-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #FF6B6B;
}

/* ========== Hero（首页专用） ========== */
.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 18px;
    color: #666;
}

/* ========== 搜索区域（首页专用） ========== */
.search-section {
    max-width: 560px;
    margin: 0 auto 50px;
}

.search-wrapper {
    background: #f5f7fa;
    border-radius: 60px;
    padding: 4px;
    transition: all 0.3s;
    border: 1px solid #e8ecf0;
}

.search-wrapper:focus-within {
    background: #ffffff;
    border-color: #4ECDC4;
    box-shadow: 0 8px 25px rgba(78,205,196,0.12);
}

.search-input-group {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 60px;
    padding: 4px 4px 4px 8px;
    gap: 6px;
}

.search-icon-inline {
    color: #bbb;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 8px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    color: #111;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
    color: #bbb;
}

.search-btn {
    background: #111;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    color: white;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}

.search-btn:hover {
    background: #333;
}

.search-btn:hover i {
    transform: translateX(3px);
}

.stats {
    margin-top: 14px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

/* ========== 文章列表（首页专用 - 无编号） ========== */
.article-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f0f0f0;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.article-item:hover {
    padding-left: 12px;
}

.article-left {
    flex: 1;
}

.article-city {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4ECDC4;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.article-title {
    font-size: 20px;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
    transition: color 0.2s;
}

.article-item:hover .article-title {
    color: #FF6B6B;
}

/* 空状态 */
.no-result {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
}

.no-result i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

/* PC端显示日期 */
.article-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.article-date-pc {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.article-arrow {
    color: #ccc;
    font-size: 12px;
    transition: transform 0.2s;
}

.article-item:hover .article-arrow {
    color: #4ECDC4;
    transform: translateX(3px);
}

/* 手机端隐藏日期，只显示箭头 */
@media (max-width: 768px) {
    .article-date-pc {
        display: none;
    }
}

/* ========== 分页样式 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.page-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    color: #333;
}

.page-btn:hover {
    background: #e0e0e0;
}

.page-btn.active {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
}

/* 手机端分页按钮 */
@media (max-width: 768px) {
    .page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ========== 文章页面专用样式 ========== */
.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 48px;
}

.article-header {
    margin-bottom: 48px;
}

.article-header .article-city {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #4ECDC4;
    margin-bottom: 16px;
    display: block;
    font-weight: 600;
}

.article-header .article-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #bbb;
}

.article-content {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 48px 0 20px;
    color: #111;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: #111;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 24px 24px;
}

.article-content li {
    margin-bottom: 10px;
    color: #555;
}

.article-content strong {
    color: #111;
}

.tip-box {
    background: #f8f8f8;
    border-left: 3px solid #4ECDC4;
    padding: 24px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
}

.footer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 24px;
    margin: 48px 0 32px;
}

.image-caption {
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-top: -32px;
    margin-bottom: 48px;
}

.article-tags {
    margin: 40px 0 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 30px;
}

/* ========== 页脚（共用） ========== */
.footer {
    margin-top: 80px;
    padding: 40px 0 60px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 13px;
    color: #ccc;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }

    .nav {
        padding: 24px 0;
        margin-bottom: 45px;
    }

    .search-section {
        margin-bottom: 40px;
    }

    .search-input-group {
        padding: 4px 4px 4px 4px;
    }

    .search-icon-inline {
        margin-left: 12px;
    }

    .search-input {
        font-size: 15px;
        padding: 12px 0;
    }

    .search-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .search-btn span {
        display: inline;
    }

    /* 手机端标题字体加大 */
    .article-title {
        font-size: 19px;
    }

    .article-city {
        font-size: 11px;
    }

    .article-item {
        padding: 18px 0;
    }

    /* 文章页手机适配 */
    .hero-image {
        height: 250px;
    }

    .footer-image {
        height: 200px;
    }

    .article-header .article-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    /* 手机端标题更大 */
    .article-title {
        font-size: 18px;
    }

    .article-city {
        font-size: 10px;
    }

    .search-icon-inline {
        margin-left: 10px;
    }

    .search-btn span {
        display: none;
    }

    .search-btn i {
        margin: 0;
    }

    .search-btn {
        padding: 10px 16px;
    }

    .article-item {
        gap: 12px;
    }

    /* 文章页手机适配 */
    .hero-image {
        height: 200px;
    }

.footer-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    margin: 48px 0 32px;
}

    .article-header .article-title {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-meta {
        gap: 16px;
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .article-title {
        font-size: 17px;
    }
}
/* ========== PC端图片比例修正 ========== */
@media (min-width: 769px) {
    .footer-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 24px;
        margin: 48px 0 32px;
    }
}