/* Korean Travel Guide - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --secondary: #0F172A;
    --accent: #F59E0B;
    --bg: #FAFAF9;
    --text: #1C1917;
    --text-light: #78716C;
    --border: #E7E5E4;
    --white: #FFFFFF;
    --radius: 1rem;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Hero Section */
._vk3mp {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%);
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
._vk3mp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}
._vk3mp h1 { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; position: relative; }
._vk3mp p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; position: relative; }

/* Card Styles */
._jw8rx {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
._jw8rx:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
._jw8rx img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
._jw8rx:hover img { transform: scale(1.05); }
._jw8rx ._kd7rv { padding: 1.5rem; }
._jw8rx ._kd7rv h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--secondary);
}
._jw8rx ._kd7rv h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
._jw8rx ._kd7rv h3 a:hover { color: var(--primary); }
._jw8rx ._kd7rv p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Badge */
._mt4qn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Navigation */
._pn9wk {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}
._pn9wk nav { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
._pn9wk a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 1rem 0;
    display: inline-block;
}
._pn9wk a:hover { color: var(--primary); }

/* Sidebar */
._ry5ht {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
._ry5ht h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    color: var(--secondary);
}

/* Article Content */
._wx6cf { max-width: 800px; }
._wx6cf h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--secondary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}
._wx6cf h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--secondary);
}
._wx6cf p {
    margin-bottom: 1.25rem;
    color: #44403C;
    line-height: 1.9;
}
._wx6cf blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    color: #1E3A8A;
}
._wx6cf strong { color: var(--secondary); font-weight: 600; }
._wx6cf ul, ._wx6cf ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
._wx6cf li { margin-bottom: 0.5rem; line-height: 1.8; }

/* Footer */
._bn3pk {
    background: #0F172A;
    color: #94A3B8;
    padding: 3rem 1.5rem 1.5rem;
}
._bn3pk a { color: #CBD5E1; text-decoration: none; transition: color 0.2s; }
._bn3pk a:hover { color: var(--primary); }
._bn3pk h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Category Grid */
._hf2wq {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Search */
._qm8ty {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.2s;
}
._qm8ty:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button */
._xt9bn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}
._xt9bn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Cookie Banner */
._cq4zp {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 1.25rem 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

/* Newsletter Section */
._gd5rn {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    border-radius: var(--radius);
}

/* Breadcrumbs */
._fp7sk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 1rem 0;
    flex-wrap: wrap;
}
._fp7sk a { color: var(--primary); text-decoration: none; }
._fp7sk a:hover { text-decoration: underline; }

/* Share Buttons */
._ub2de {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
._ub2de a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}
._ub2de a:hover { background: var(--primary); color: white; }

/* Legal Pages */
._lp3qv { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
._lp3qv h1 { font-size: 2rem; margin-bottom: 0.5rem; }
._lp3qv h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; color: var(--secondary); }
._lp3qv p { margin-bottom: 1rem; line-height: 1.8; color: #44403C; }
._lp3qv ul { margin: 1rem 0; padding-left: 1.5rem; }
._lp3qv li { margin-bottom: 0.5rem; }

/* Image overflow container */
._img_wrap {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Category filter chips */
._cf8mn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}
._cf8mn:hover, ._cf8mn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    ._vk3mp { padding: 3rem 1rem; }
    ._vk3mp h1 { font-size: 1.75rem; }
    ._vk3mp p { font-size: 1rem; }
    ._hf2wq { grid-template-columns: 1fr; }
    ._wx6cf h2 { font-size: 1.25rem; }
}
