:root {
    --primary: #2c2c2c;
    --secondary: #6b6b6b;
    --accent: #c9a87c;
    --bg-warm: #faf8f5;
    --bg-light: #f5f3f0;
    --text-dark: #1a1a1a;
    --text-muted: #8a8a8a;
    --border: #e8e6e3;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    font-weight: 300;
}

.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-dark) !important;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

#siteLogo {
    height: 40px;
    vertical-align: middle;
    display: none;
}

.nav-link {
    color: var(--secondary) !important;
    font-weight: 400;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-dark) !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

.language-switch {
    cursor: pointer;
}

.page-header {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.page-header .lead {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

.section-padding {
    padding: 80px 0;
}

.news-card {
    border: none;
    background: #ffffff;
    transition: all 0.4s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 1.5rem 0;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.news-summary {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-elegant {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-elegant:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-elegant {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.9rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-outline-elegant:hover {
    background: var(--primary);
    color: #ffffff;
}

.footer {
    background: var(--primary);
    color: #ffffff;
    padding: 80px 0 40px;
}

.footer h5 {
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.loading {
    text-align: center;
    padding: 80px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .news-image img {
        height: 200px;
    }
}

.news-type-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.type-tab {
    padding: 10px 24px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 400;
    letter-spacing: 1px;
}

.type-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.type-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

@media (max-width: 768px) {
    .news-type-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .type-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.pagination-container {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    padding: 0 15px;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-number.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.pagination-dots {
    color: #999;
    font-size: 0.9rem;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .pagination-container {
        gap: 8px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}