/* 导入字体和图标 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #fefefe;
    color: #5c4b37;
    line-height: 1.6;
}

.ai_auto_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.ai_auto_navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 1000;
    padding: 15px 0;
}

.ai_auto_navbar_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ai_auto_brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: #5c4b37;
    text-decoration: none;
}

.ai_auto_nav_links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.ai_auto_nav_links a {
    text-decoration: none;
    color: #5c4b37;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.ai_auto_nav_links a:hover {
    color: #8b7355;
}

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

.ai_auto_search_input {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.9rem;
    color: #5c4b37;
    outline: none;
    transition: border-color 0.3s ease;
}

.ai_auto_search_input:focus {
    border-color: #8b7355;
}

.ai_auto_search_btn {
    background: #8b7355;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.ai_auto_search_btn:hover {
    background: #6d5c47;
}

/* 主内容区域 */
#ai_auto_main {
    margin-top: 80px;
}

/* 最新文章区域 */
.ai_auto_latest_articles {
    padding: 60px 0;
}

.ai_auto_section_title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #5c4b37;
}

.ai_auto_articles_grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}

.ai_auto_article_col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ai_auto_article_item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai_auto_article_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ai_auto_article_image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ai_auto_col_2 .ai_auto_article_image {
    height: 400px;
}

.ai_auto_article_info {
    padding: 15px;
    background: white;
}

.ai_auto_article_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5c4b37;
    text-decoration: none;
    display: block;
}

.ai_auto_col_2 .ai_auto_article_title {
    font-size: 1.4rem;
}

.ai_auto_article_author {
    font-size: 0.9rem;
    color: #8b7355;
    font-family: sans-serif;
}

.ai_auto_article_labels {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ai_auto_label {
    font-size: 0.8rem;
    color: #8b7355;
    text-decoration: none;
    font-family: sans-serif;
}

.ai_auto_label:hover {
    text-decoration: underline;
}

.ai_auto_read_more {
    text-align: center;
    margin-top: 40px;
}

.ai_auto_read_more_link {
    display: inline-block;
    padding: 12px 30px;
    background: #8b7355;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ai_auto_read_more_link:hover {
    background: #6d5c47;
}

/* 订阅区域 */
.ai_auto_subscription {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    position: relative;
}

.ai_auto_subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%238b7355" opacity="0.03"><path d="M500 50Q400 0 300 50T100 50T0 0v100h1000V0Q900 50 800 50T600 50T500 50z"/></svg>');
    background-size: cover;
    background-position: center;
}

.ai_auto_subscription_content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ai_auto_author_info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ai_auto_author_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.ai_auto_author_text h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #5c4b37;
}

.ai_auto_author_text p {
    font-size: 1rem;
    color: #8b7355;
    font-family: sans-serif;
}

.ai_auto_subscribe_title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5c4b37;
}

.ai_auto_subscribe_info {
    font-size: 1.1rem;
    color: #8b7355;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.ai_auto_subscribe_form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.ai_auto_email_input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    color: #5c4b37;
    outline: none;
}

.ai_auto_email_input:focus {
    border-color: #8b7355;
}

.ai_auto_subscribe_btn {
    background: #8b7355;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ai_auto_subscribe_btn:hover {
    background: #6d5c47;
}

/* 页脚样式 */
.ai_auto_footer {
    background: #f8f8f8;
    padding: 50px 0 20px;
    border-top: 1px solid #e0e0e0;
}

.ai_auto_footer_content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.ai_auto_footer_brand h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5c4b37;
}

.ai_auto_footer_brand p {
    font-size: 0.95rem;
    color: #8b7355;
    font-family: sans-serif;
    line-height: 1.6;
}

.ai_auto_footer_nav h4,
.ai_auto_footer_contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5c4b37;
}

.ai_auto_footer_links {
    list-style: none;
}

.ai_auto_footer_links li {
    margin-bottom: 8px;
}

.ai_auto_footer_links a {
    text-decoration: none;
    color: #8b7355;
    font-size: 0.9rem;
    font-family: sans-serif;
    transition: color 0.3s ease;
}

.ai_auto_footer_links a:hover {
    color: #5c4b37;
}

.ai_auto_footer_bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ai_auto_copyright {
    font-size: 0.85rem;
    color: #8b7355;
    font-family: sans-serif;
}

/* 列表页样式 */
.ai_auto_page_banner {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.ai_auto_page_title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5c4b37;
}

.ai_auto_page_desc {
    font-size: 1.2rem;
    color: #8b7355;
    max-width: 600px;
    margin: 0 auto;
    font-family: sans-serif;
}

.ai_auto_list_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.ai_auto_list_item {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai_auto_list_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ai_auto_list_image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.ai_auto_list_info {
    padding: 20px;
}

.ai_auto_list_title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #5c4b37;
    text-decoration: none;
    display: block;
}

.ai_auto_list_desc {
    font-size: 0.95rem;
    color: #8b7355;
    margin-bottom: 15px;
    font-family: sans-serif;
    line-height: 1.5;
}

.ai_auto_list_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8b7355;
    font-family: sans-serif;
}

.ai_auto_pagination {
    text-align: center;
    padding: 30px 0 50px;
}

.pagination {
    text-align: center;
}
.pagination li {
    display: inline-block;
}

.pagination li.active{
    color: #0bc286;
}

    /* 详情页样式 */
.ai_auto_detail {
    padding: 50px 0;
}

.ai_auto_detail_header {
    text-align: center;
    margin-bottom: 40px;
}

.ai_auto_detail_title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #5c4b37;
    line-height: 1.3;
}

.ai_auto_detail_meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    color: #8b7355;
    font-family: sans-serif;
}

.ai_auto_detail_content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5c4b37;
}

.ai_auto_detail_content p {
    margin-bottom: 20px;
}

.ai_auto_detail_content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* 搜索页样式 */
.ai_auto_search_results {
    padding: 50px 0;
}

.ai_auto_search_header {
    text-align: center;
    margin-bottom: 40px;
}

.ai_auto_search_title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #5c4b37;
}

.ai_auto_search_keyword {
    font-size: 1.1rem;
    color: #8b7355;
    font-family: sans-serif;
}

.ai_auto_search_list {
    max-width: 800px;
    margin: 0 auto;
}

.ai_auto_search_item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai_auto_search_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ai_auto_search_item_title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #5c4b37;
    text-decoration: none;
    display: block;
}

.ai_auto_search_item_desc {
    font-size: 0.95rem;
    color: #8b7355;
    font-family: sans-serif;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ai_auto_articles_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai_auto_navbar_content {
        flex-direction: column;
        gap: 15px;
    }

    .ai_auto_nav_links {
        gap: 15px;
    }

    .ai_auto_footer_content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ai_auto_list_grid {
        grid-template-columns: 1fr;
    }

    .ai_auto_subscribe_form {
        flex-direction: column;
    }

    .ai_auto_page_title {
        font-size: 2.2rem;
    }

    .ai_auto_detail_title {
        font-size: 2rem;
    }
}
