/* HelloKorea Blog — hellokr.kr */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Noto Sans',system-ui,-apple-system,'Segoe UI',sans-serif;background:#fafafa;color:#1a1a1a;line-height:1.8;font-size:17px}
a{color:#2563eb;text-decoration:none}
a:hover{text-decoration:underline}

/* Layout */
.wrap{max-width:720px;margin:0 auto;padding:0 20px}

/* Header */
header{background:#fff;border-bottom:2px solid #dc2626;padding:16px 0;position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.04)}
header .wrap{display:flex;align-items:center;justify-content:space-between}
.logo{font-size:1.3em;font-weight:800;color:#1a1a1a;text-decoration:none;letter-spacing:-.02em}
.logo:hover{text-decoration:none;color:#dc2626}
.logo span{color:#dc2626}
.logo .flag{font-size:.85em;margin-left:4px}
nav{display:flex;align-items:center;gap:6px}
nav a{color:#6b7280;font-size:.88em;font-weight:500;padding:6px 12px;border-radius:6px;transition:background .15s,color .15s}
nav a:hover{color:#1a1a1a;text-decoration:none;background:#f3f4f6}
nav a.active{color:#dc2626;font-weight:600}

/* Hero (index) */
.hero{text-align:center;padding:56px 0 20px}
.hero h1{font-size:1.7em;font-weight:800;margin-bottom:10px;letter-spacing:-.02em}
.hero p{color:#6b7280;font-size:1em;max-width:520px;margin:0 auto;line-height:1.7}
.hero-divider{width:48px;height:3px;background:#dc2626;margin:20px auto 0;border-radius:2px}

/* Category Filter */
.categories{display:flex;gap:8px;padding:12px 0 20px;flex-wrap:wrap;justify-content:center}
.categories a{display:inline-block;font-size:.8em;font-weight:600;padding:5px 14px;border-radius:20px;border:1px solid #e5e7eb;color:#6b7280;transition:all .15s}
.categories a:hover,.categories a.active{border-color:#dc2626;color:#dc2626;background:#fef2f2;text-decoration:none}

/* Article Cards (index) */
.cards{padding-bottom:48px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px 28px;margin-bottom:16px;transition:box-shadow .2s,transform .15s}
.card:hover{box-shadow:0 6px 20px rgba(0,0,0,.07);transform:translateY(-2px)}
.card a{text-decoration:none;color:inherit;display:block}
.card h2{font-size:1.12em;font-weight:700;color:#1a1a1a;margin-bottom:6px;line-height:1.4}
.card .meta{font-size:.8em;color:#9ca3af;margin-bottom:8px}
.card .desc{font-size:.9em;color:#4b5563;line-height:1.65}
.card .tag{display:inline-block;font-size:.72em;font-weight:600;padding:3px 10px;border-radius:12px;margin-right:6px;margin-bottom:8px}
.card .tag.festival{background:#fef2f2;color:#dc2626}
.card .tag.culture{background:#eff6ff;color:#2563eb}
.card .tag.city{background:#f0fdf4;color:#16a34a}
.card .tag.wyd{background:#faf5ff;color:#7c3aed}
.card .tag.food{background:#fffbeb;color:#d97706}
.card .tag.pilgrimage{background:#fdf4ff;color:#a21caf}
.card .read-more{display:inline-block;font-size:.82em;font-weight:600;color:#dc2626;margin-top:10px}
.card .read-more::after{content:' \2192'}

/* Sidebar CTA */
.cta-box{background:linear-gradient(135deg,#fef2f2,#fff);border:1px solid #fecaca;border-radius:12px;padding:24px;margin:0 0 32px;text-align:center}
.cta-box h3{font-size:1em;font-weight:700;margin-bottom:6px;color:#1a1a1a}
.cta-box p{font-size:.85em;color:#6b7280;margin-bottom:12px}
.cta-box .btn{display:inline-block;background:#dc2626;color:#fff;font-size:.85em;font-weight:600;padding:8px 20px;border-radius:8px;text-decoration:none;transition:background .15s}
.cta-box .btn:hover{background:#b91c1c;text-decoration:none}

/* Article Page */
article{padding:40px 0 60px}
article h1{font-size:1.5em;font-weight:800;line-height:1.35;margin-bottom:8px;letter-spacing:-.01em}
article .meta{color:#9ca3af;font-size:.85em;margin-bottom:32px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}
article h2{font-size:1.15em;font-weight:700;margin:32px 0 12px;padding-top:16px;border-top:1px solid #f3f4f6}
article h3{font-size:1em;font-weight:600;margin:20px 0 8px}
article p{margin-bottom:16px}
article ul,article ol{margin:0 0 16px 24px}
article li{margin-bottom:6px}
article hr{border:none;border-top:1px solid #e5e7eb;margin:32px 0}
article blockquote{border-left:3px solid #dc2626;padding:12px 20px;margin:20px 0;background:#fef2f2;font-size:.92em;color:#4b5563;border-radius:0 8px 8px 0}
article strong{font-weight:600}

/* Back link */
.back-link{display:inline-block;font-size:.85em;color:#6b7280;margin-bottom:24px;padding:6px 0}
.back-link::before{content:'\2190 '}
.back-link:hover{color:#dc2626;text-decoration:none}

/* Quick Info Box */
.info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px 24px;margin:20px 0}
.info-box h2{border:none;padding-top:0;margin:0 0 12px;font-size:1.05em}
.info-box ul{list-style:none;margin:0;padding:0}
.info-box li{margin-bottom:6px;font-size:.92em;padding-left:0}

/* Related Articles */
.related{background:#f9fafb;border-radius:12px;padding:24px;margin:40px 0 0}
.related h3{font-size:.95em;font-weight:700;margin-bottom:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-size:.8em}
.related ul{list-style:none;margin:0;padding:0}
.related li{margin-bottom:8px}
.related li a{font-size:.92em;font-weight:500;color:#1a1a1a}
.related li a:hover{color:#dc2626;text-decoration:none}

/* Affiliate placeholder */
.affiliate{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:16px;margin:32px 0;text-align:center;font-size:.85em;color:#92400e;display:none}

/* Footer */
footer{background:#1a1a1a;color:#9ca3af;padding:40px 0;margin-top:40px}
footer .wrap{text-align:center}
footer .footer-brand{font-size:1.1em;font-weight:700;color:#fff;margin-bottom:8px}
footer .footer-brand span{color:#dc2626}
footer .footer-tagline{font-size:.85em;margin-bottom:16px;color:#6b7280}
footer .footer-links{display:flex;gap:20px;justify-content:center;margin-bottom:16px;flex-wrap:wrap}
footer .footer-links a{color:#9ca3af;font-size:.82em;transition:color .15s}
footer .footer-links a:hover{color:#fff;text-decoration:none}
footer .footer-copy{font-size:.75em;color:#4b5563;margin-top:8px}

/* Table */
article table{width:100%;border-collapse:collapse;margin:16px 0;font-size:.9em}
article th,article td{border:1px solid #e5e7eb;padding:8px 12px;text-align:left}
article th{background:#f9fafb;font-weight:600}

/* About page specifics */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.about-card{background:#f9fafb;border-radius:10px;padding:18px 20px;border:1px solid #f3f4f6}
.about-card h3{font-size:.92em;font-weight:700;margin-bottom:6px}
.about-card p{font-size:.85em;color:#4b5563;margin:0}
.stat-row{display:flex;gap:16px;margin:20px 0;flex-wrap:wrap}
.stat{flex:1;min-width:120px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px;text-align:center}
.stat .num{font-size:1.5em;font-weight:800;color:#dc2626;display:block}
.stat .label{font-size:.78em;color:#6b7280;margin-top:2px}

/* Responsive */
@media(max-width:768px){
  body{font-size:16px}
  .wrap{padding:0 16px}
  header .wrap{flex-direction:row}
  .logo{font-size:1.15em}
  nav a{margin-left:0;font-size:.82em;padding:6px 10px}
  .hero{padding:36px 0 16px}
  .hero h1{font-size:1.35em}
  article h1{font-size:1.25em}
  article h2{font-size:1.05em}
  .card{padding:18px 20px}
  .card h2{font-size:1.02em}
  .about-grid{grid-template-columns:1fr}
  .stat-row{gap:10px}
  .stat{min-width:80px;padding:12px}
  .categories{gap:6px}
}
