﻿:root { --primary: rgb(15,157,88); --primary-hover: #0c8248; --primary-light: rgba(15,157,88,0.1); --text-main: #1a1a1a; --text-gray: #666666; --bg-light: #f4f7f6; --white: #ffffff; --border: #eaeaea; --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-main); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.header { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1; color: #111; white-space: nowrap; }
.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-size: 16px; font-weight: 500; transition: color 0.3s; }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 6px; font-size: 16px; font-weight: 500; transition: all 0.3s; cursor: pointer; }
.btn-primary { background-color: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }

.drawer-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--white); z-index: 1000; transition: left 0.3s ease; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-drawer.active { left: 0; }
.drawer-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.drawer-close { background: none; border: none; cursor: pointer; color: var(--text-main); padding: 5px; }
.mobile-nav { padding: 20px 0; }
.mobile-nav ul li a { display: block; padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }

.page-header { background: var(--bg-light); padding: 50px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; text-align: center; }
.page-title { font-size: 32px; font-weight: 800; margin-bottom: 15px; color: var(--text-main); }
.page-title span { color: var(--primary); }
.page-desc { font-size: 16px; color: var(--text-gray); }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 40px; }
.article-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.article-img-link { display: block; width: 100%; height: 220px; overflow: hidden; border-bottom: 1px solid var(--border); }
.article-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-img-link img { transform: scale(1.05); }
.article-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 13px; color: var(--text-gray); display: flex; justify-content: space-between; margin-bottom: 12px; }
.article-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-title a { transition: color 0.3s; }
.article-title a:hover { color: var(--primary); }
.article-summary { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-tags { font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 4px; display: inline-block; align-self: flex-start; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-bottom: 60px; }
.pagination a, .pagination span { display: inline-flex; min-width: 40px; height: 40px; padding: 0 10px; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--border); background: var(--white); color: var(--text-main); font-weight: 500; transition: all 0.3s; }
.pagination a:hover, .pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

.footer { background: #1a1a1a; color: #ffffff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo span { color: #ffffff; }
.footer-desc { margin-top: 20px; color: #a0a0a0; font-size: 14px; line-height: 1.8; }
.footer-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #ffffff; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: #a0a0a0; transition: color 0.3s; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { color: #a0a0a0; font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; color: #666; font-size: 14px; }

@media (max-width: 992px) {
  .desktop-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}