/* ========================================
   成都市慧行蓝海科技有限公司 - 房产网站
   统一样式表 style.css
   ======================================== */

/* --- Google Fonts 国内镜像加速 --- */
@import url('https://fonts.loli.net/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --primary-dark: #0d1b2a;
    --accent: #c9a84c;
    --accent-light: #d4b96a;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --bg-dark: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Noto Serif SC', Georgia, serif;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 6px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: rgba(255,255,255,0.7);
}

.header-top a:hover {
    color: var(--accent);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

.logo-text h1 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.logo-text span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ========================================
   HERO SECTION (首页)
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43,108,176,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero h2 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ========================================
   ARTICLE CARDS
   ======================================== */
.articles-section {
    padding: 80px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.article-card .card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .card-thumb {
    transform: scale(1.05);
}

.card-thumb-wrapper {
    overflow: hidden;
    position: relative;
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body h3 a {
    color: var(--text-primary);
}

.card-body h3 a:hover {
    color: var(--primary-light);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   GUIDE PAGE (房产攻略列表)
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-banner h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 12px 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 6px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 40px 0;
}

/* Article List */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.article-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.article-item .item-thumb {
    width: 200px;
    height: 140px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.article-item .item-content {
    flex: 1;
}

.article-item .item-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-item .item-content h3 a {
    color: var(--text-primary);
}

.article-item .item-content h3 a:hover {
    color: var(--primary-light);
}

.article-item .item-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-item .item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.item-tag {
    background: var(--bg-light);
    color: var(--primary-light);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* Search Widget */
.search-box {
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-light);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-sans);
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-light);
}

/* Hot Articles Widget */
.hot-article-list {
    list-style: none;
}

.hot-article-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.hot-article-list li:last-child {
    border-bottom: none;
}

.hot-rank {
    width: 22px;
    height: 22px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.hot-rank.top3 {
    background: var(--accent);
    color: white;
}

.hot-article-list li a {
    color: var(--text-primary);
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-article-list li a:hover {
    color: var(--primary-light);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-secondary);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   ARTICLE DETAIL
   ======================================== */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

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

.article-header h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.5;
    margin-bottom: 16px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-content {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.8rem;
}

.article-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.article-content img {
    border-radius: var(--radius-sm);
    margin: 1.5rem auto;
    box-shadow: var(--shadow-sm);
}

.article-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.img-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.related-articles h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.related-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.88rem;
    transition: var(--transition);
}

.related-list a:hover {
    background: var(--primary);
    color: white;
}

.related-list a::before {
    content: '•';
    color: var(--accent);
    font-size: 1.2rem;
}

/* ========================================
   TOOLS PAGE
   ======================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.tool-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    color: white;
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.tool-card .btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: var(--transition);
}

.tool-card .btn:hover {
    background: var(--accent);
    color: white;
}

/* Tool Forms */
.tool-form {
    max-width: 700px;
    margin: 40px auto;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.tool-form h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-light);
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-box {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 24px;
    border-left: 4px solid var(--accent);
}

.result-box .result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

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

.result-box .result-label {
    color: var(--text-secondary);
}

.result-box .result-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 12px;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-feature {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.about-feature .feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    color: white;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   404 PAGE
   ======================================== */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.page-404 .error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.15;
}

.page-404 h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}

.page-404 p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.page-404 .countdown {
    color: var(--accent);
    font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom .footer-sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.2);
}

/* ========================================
   TAGS PAGE
   ======================================== */
.tags-archive {
    padding: 40px 0;
}

.tag-group {
    margin-bottom: 40px;
}

.tag-group h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.tag-articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tag-articles-list a {
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-articles-list a:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 10px;
    }
    .main-nav.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero-stats {
        gap: 30px;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .article-item {
        flex-direction: column;
    }
    .article-item .item-thumb {
        width: 100%;
        height: 200px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .related-list {
        grid-template-columns: 1fr;
    }
}