﻿: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(--bg-light); }
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; }

.article-page { padding: 40px 0 80px; }
.article-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: start; }
.article-main { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.breadcrumb { margin-bottom: 25px; font-size: 14px; color: var(--text-gray); }
.breadcrumb a { color: var(--primary); margin: 0 5px; }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 25px; margin-bottom: 30px; }
.article-title { font-size: 32px; font-weight: 800; margin-bottom: 15px; line-height: 1.4; }
.article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-gray); background: var(--bg-light); padding: 15px 20px; border-radius: 8px; border-left: 4px solid var(--primary); }
.article-content { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 40px; overflow-wrap: break-word; }
.article-content h2, .article-content h3 { margin: 25px 0 15px; font-weight: 700; color: var(--text-main); }
.article-content p { margin-bottom: 15px; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; display: block; }
.article-content blockquote { border-left: 4px solid var(--primary); padding-left: 15px; color: var(--text-gray); background: var(--bg-light); padding: 15px; border-radius: 4px; margin: 20px 0; }
.article-tags-links { padding: 20px; background: var(--primary-light); border-radius: 8px; margin-bottom: 30px; font-size: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-tags-links span { font-weight: 600; color: var(--primary); }
.article-tags-links a { display: inline-block; background: var(--white); color: var(--primary); padding: 4px 12px; border-radius: 20px; border: 1px solid var(--primary); transition: all 0.3s; }
.article-tags-links a:hover { background: var(--primary); color: var(--white); }

.article-nav { display: flex; flex-direction: column; gap: 15px; border-top: 1px solid var(--border); padding-top: 25px; font-size: 15px; }
.article-nav a { color: var(--primary); font-weight: 600; transition: color 0.3s; }
.article-nav a:hover { color: var(--primary-hover); text-decoration: underline; }

.sidebar-widget { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); margin-bottom: 30px; border: 1px solid var(--border); }
.widget-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-light); position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
.like-list li { margin-bottom: 20px; }
.like-list li:last-child { margin-bottom: 0; }
.like-list a { display: flex; gap: 15px; align-items: flex-start; group: hover; }
.like-list .img-box { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.like-list .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.like-list a:hover .img-box img { transform: scale(1.1); }
.like-list .txt-box h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.like-list a:hover .txt-box h4 { color: var(--primary); }
.like-list .txt-box p { font-size: 12px; color: var(--text-gray); }

.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; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .article-main { padding: 20px; }
  .article-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}