:root {
    --bg-color: #f5f4f0;         
    --card-bg: #ffffff;          
    --primary-black: #1a1a1a;
    --secondary-gray: #4a4a4a;
    --accent-color: #0047A0;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color); /* 배경 적용 */
    color: var(--primary-black);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}


header {
    padding: 25px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #e0ddd5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    gap: 50px;
}

nav a {
    text-decoration: none;
    color: var(--secondary-gray);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}


nav a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}


main {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
    color: var(--primary-black);
}

.img-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}


section {
    margin-bottom: 60px;
}

h2 {
    font-size: 1.3rem;
    font-weight: 800; 
    color: var(--primary-black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}


h2::before {
    content: '';
    width: 4px;
    height: 1.2rem;
    background-color: var(--accent-color);
    margin-right: 12px;
    display: inline-block;
}

p {
    font-size: 1.15rem;
    color: var(--secondary-gray);
    text-align: justify; 
    word-break: keep-all;
}


footer.sources {
    margin-top: 100px;
    padding: 40px;
    background-color: #edebe4; 
    border-radius: 12px;
}

footer.sources h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #888680;
    margin-bottom: 15px;
}

footer.sources li {
    font-size: 0.85rem;
    color: #96948e;
    list-style: none;
    margin-bottom: 6px;
}


@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    nav { gap: 20px; }
    .hero-image { height: 300px; }
}