﻿:root {
  --primary: rgb(66,66,66);
  --primary-hover: #2b2b2b;
  --bg-color: #f4f6f8;
  --white: #ffffff;
  --text-dark: #111827;
  --text-gray: #4b5563;
  --border: #e5e7eb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg-color); color: var(--text-gray); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); 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: 20px; font-weight: 800; line-height: 1; color: var(--text-dark); white-space: nowrap; }
.desktop-nav { display: flex; gap: 24px; }
.desktop-nav a { font-weight: 500; color: var(--text-dark); position: relative; }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-weight: 600; border-radius: 6px; cursor: pointer; transition: all 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 12px rgba(66,66,66,0.3); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 1000; transition: all 0.3s; }
.drawer-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--white); z-index: 1001; transition: all 0.3s; display: flex; flex-direction: column; }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer-nav.active { left: 0; box-shadow: 4px 0 15px rgba(0,0,0,0.1); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.drawer-close { background: none; border: none; cursor: pointer; color: var(--text-dark); }
.drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
.drawer-body a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text-dark); border-bottom: 1px solid #f3f4f6; }
.drawer-footer-actions { padding: 20px; border-top: 1px solid var(--border); }
.footer { background: #1a1a1a; color: #9ca3af; padding: 60px 0 20px; margin-top: 60px; }
.footer-logo span { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { margin: 20px 0; font-size: 14px; line-height: 1.8; }
.footer-links-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-title { color: var(--white); font-size: 16px; margin-bottom: 20px; font-weight: 600; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 14px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.section-desc { text-align: center; max-width: 600px; margin: 0 auto 40px; font-size: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--white); border-radius: 12px; padding: 30px; border: 1px solid var(--border); transition: all 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.post-card { background: var(--white); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; border: 1px solid var(--border); }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.post-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; gap: 15px; font-size: 13px; color: #9ca3af; margin-bottom: 10px; }
.post-title { font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-summary { font-size: 14px; margin-bottom: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border); font-size: 13px; }
.read-more { color: var(--primary); font-weight: 600; }
.hero { background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%); padding: 100px 0; overflow: hidden; border-bottom: 1px solid var(--border); }
@media(max-width: 992px) {
  .desktop-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
}