/*
Theme Name: 霓虹語 · 文藝版
Theme URI: https://neonyu.local
Author: NeonYu
Description: 香港本地文化內容網站 — 暖白基底，文藝清新
Version: 1.0
License: GPL v2
Text Domain: neonyu
*/

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

body {
    background-color: #faf7f2;
    color: #3a3a3a;
    font-family: 'Noto Serif TC', 'Times New Roman', Georgia, serif;
    font-size: 18px;
    line-height: 1.85;
    font-weight: 400;
}

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

/* ===== 頁首 ===== */
.site-header {
    text-align: center;
    padding: 56px 0 32px;
    border-bottom: 1px solid #e6dfd3;
    margin-bottom: 48px;
}

.site-title {
    font-size: 2.6rem;
    letter-spacing: 6px;
    font-weight: 400;
    color: #c44569;
    font-family: 'Noto Sans TC', sans-serif;
}

.site-description {
    color: #9b8e7c;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 12px;
    font-style: italic;
}

/* ===== 導航 — 單行，不重複 ===== */
.main-nav {
    margin-top: 28px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: #5a4a3a;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-family: 'Noto Sans TC', sans-serif;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #c44569;
}

/* ===== 文章卡片 ===== */
.post-card {
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid #ece4d8;
}

/* 文章標題 */
.post-title {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Noto Serif TC', serif;
}

.post-title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #c44569;
}

/* 分類標籤行 */
.post-category-badge {
    display: inline-block;
    background: #f0ebe2;
    color: #c44569;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 20px;
    font-family: 'Noto Sans TC', sans-serif;
    margin-bottom: 16px;
}

/* 文章元數據 */
.post-meta {
    color: #b0a088;
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-family: 'Noto Sans TC', sans-serif;
}

/* 縮圖 */
.post-thumbnail {
    margin: 20px 0 24px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* 摘要內容 */
.post-content {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 0;
}

/* 閱讀全文按鈕 */
.read-more {
    display: inline-block;
    color: #c44569;
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
    border-bottom: 1px solid #e0cfc0;
    padding-bottom: 4px;
    transition: border-color 0.2s;
}

.read-more:hover {
    border-bottom-color: #c44569;
}

/* 系列標籤 */
.series-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.series-tag {
    background: transparent;
    border: 1px solid #e0cfc0;
    padding: 4px 12px;
    border-radius: 30px;
    color: #9b8e7c;
    font-size: 0.7rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.series-tag:hover {
    border-color: #c44569;
    color: #c44569;
}

/* ===== 分頁 ===== */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    color: #9b8e7c;
    text-decoration: none;
    border: 1px solid #e0cfc0;
    border-radius: 4px;
    font-size: 0.85rem;
}

.pagination .current {
    background: #c44569;
    border-color: #c44569;
    color: white;
}

/* ===== 側邊欄 ===== */
.sidebar {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #ece4d8;
}

.widget {
    background: #fefcf8;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid #ece4d8;
    border-radius: 12px;
}

.widget-title {
    color: #5a4a3a;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
    font-weight: 500;
    font-family: 'Noto Sans TC', sans-serif;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li a {
    color: #6a5a4a;
    text-decoration: none;
    font-size: 0.9rem;
}

.widget ul li a:hover {
    color: #c44569;
}

/* 搜尋框 */
.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0cfc0;
    background: white;
    font-family: inherit;
    font-size: 0.85rem;
    border-radius: 30px 0 0 30px;
}

.search-form button {
    padding: 10px 18px;
    background: #c44569;
    border: none;
    color: white;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-family: inherit;
}

/* ===== 單篇文章 ===== */
.post-single {
    margin-bottom: 56px;
}

.post-content-full {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3a3a3a;
}

.post-content-full h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    font-weight: 500;
}

.post-content-full h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.post-content-full p {
    margin-bottom: 1.6em;
}

.post-content-full img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

blockquote {
    margin: 32px 0;
    padding-left: 28px;
    border-left: 3px solid #e0cfc0;
    color: #7a6a5a;
    font-style: italic;
}

/* 文章導航 */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 48px 0;
    padding-top: 32px;
    border-top: 1px solid #ece4d8;
}

.post-navigation a {
    color: #c44569;
    text-decoration: none;
    font-size: 0.85rem;
}

/* ===== 頁尾 ===== */
.site-footer {
    text-align: center;
    padding: 56px 0 64px;
    margin-top: 56px;
    border-top: 1px solid #ece4d8;
    color: #b0a088;
    font-size: 0.75rem;
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
}

/* ===== 手機版 ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .site-header {
        padding: 36px 0 24px;
    }
    
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .main-nav ul {
        gap: 16px;
    }
    
    .main-nav a {
        font-size: 0.75rem;
    }
    
    .post-card {
        margin-bottom: 48px;
        padding-bottom: 32px;
    }
    
    .widget {
        padding: 20px;
    }
}