/* 🎯 글로벌 표준 영문 폰트 'Inter' 탑재 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #ffffff;
    --bg-secondary: #f8f9fa;
    --text: #1a1a2e;
    --text-muted: #6c757d;
    /* 🎯 AD-EN-PAPER 브랜드 컬러로 포인트 색상 통일 */
    --accent: #2c3e50;
    --accent-hover: #1a252f;
    --border: #e9ecef;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --max-width: 800px;
}

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

body {
    /* 🎯 한글 폰트(Noto Sans KR) 제거 및 Inter 폰트로 영문 가독성 극대화 */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Header */
.site-header {
    background: var(--text);
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-size: 1.3rem; font-weight: 800; color: white; text-decoration: none; letter-spacing: -0.5px; }
.site-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; margin-left: 20px; transition: color 0.2s; font-weight: 500; }
.site-nav a:hover { color: white; }

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

/* Main */
main { padding: 40px 0 60px; min-height: 60vh; }

/* Post list (homepage) */
.post-list { list-style: none; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.post-item:last-child { border-bottom: none; }
.post-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.post-title a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.post-title a:hover { color: var(--accent); }
.post-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.post-meta .category { background: var(--bg-secondary); padding: 2px 8px; border-radius: 4px; font-size: 0.78rem; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.post-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Single post */
article h1 { font-size: 2rem; font-weight: 800; line-height: 1.3; margin-bottom: 15px; letter-spacing: -0.02em; }
article .post-meta { margin-bottom: 30px; font-weight: 500; }
article .featured-image { width: 100%; max-height: 450px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
article h3 { margin-top: 35px; margin-bottom: 15px; font-size: 1.4rem; font-weight: 700; color: var(--text); padding-bottom: 8px; border-bottom: 2px solid var(--border); }
article p { margin-bottom: 18px; font-size: 1.05rem; }
article ul, article ol { margin: 16px 0; padding-left: 24px; font-size: 1.05rem; }
article li { margin-bottom: 8px; }
article img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
article blockquote { border-left: 4px solid var(--accent); padding: 15px 20px; margin: 25px 0; background: var(--bg-secondary); border-radius: 0 8px 8px 0; font-style: italic; color: var(--text-muted); }
article details { margin: 10px 0; padding: 12px 16px; background: var(--bg-secondary); border-radius: 8px; border: 1px solid var(--border); }
article summary { font-weight: 600; cursor: pointer; color: var(--text); }

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.tag-list a { background: var(--bg-secondary); color: var(--text-muted); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; text-decoration: none; transition: all 0.2s; font-weight: 600; }
.tag-list a:hover { background: var(--accent); color: white; }

/* Footer */
.site-footer { background: var(--bg-secondary); padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
.site-footer a { color: var(--text-muted); text-decoration: none; margin: 0 10px; font-weight: 500; }
.site-footer a:hover { color: var(--accent); }

/* Category page */
.category-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); }

/* Responsive */
@media (max-width: 640px) {
    .site-header .container { flex-direction: column; gap: 10px; }
    .site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .site-nav a { margin-left: 0; }
    article h1 { font-size: 1.6rem; }
}