* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    background: #f8f8f8;
    color: #333;
}
header {
    background: #222;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 1.3rem;
    font-weight: bold;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}
nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #ffd700;
}
.hero {
    background: linear-gradient(to right, #ffd700, #ffb100);
    padding: 40px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.post {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.post:hover {
    transform: translateY(-5px);
}
.post img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}
.post h2 {
    font-size: 1.1rem;
    margin: 10px 0;
}
.post p {
    color: #666;
    font-size: 0.9rem;
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}
@media(max-width: 600px){
    .hero h1 {
        font-size: 1.5rem;
    }
}


.load-btn {
    display: block;
    text-align: center;
    background: #222;
    color: #fff;
    padding: 10px;
    margin: 20px auto;
    width: 120px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.load-btn:hover {
    background: #ffd700;
    color: #222;
}
.internal-links a {
    font-size: 0.8rem;
    color: #0073e6;
    margin-right: 5px;
}
.internal-links a:hover {
    text-decoration: underline;
}

.post-container {
    max-width: 820px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
.post-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.post-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}
.post-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}
.toc {
    background: #f9f9f9;
    border-left: 4px solid #ffd700;
    padding: 10px;
    margin-bottom: 20px;
}
.toc ul {
    list-style: none;
    padding-left: 10px;
}
.toc a {
    text-decoration: none;
    color: #0073e6;
}
.post-body h2 {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
.post-body p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}
.related-links {
    background: #f8f8f8;
    padding: 10px;
    margin-top: 30px;
    border-radius: 6px;
}
.related-links ul {
    list-style: none;
    padding-left: 10px;
}
.related-links a {
    color: #333;
    text-decoration: none;
}
.related-links a:hover {
    text-decoration: underline;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-top: 20px;
}
.post-body p {
    margin-bottom: 18px;
}
.post-body h2 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}
.post-body h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 12px;
}
.cta-box {
    background: #fef7e0;
    border: 1px solid #f1d67b;
    padding: 15px;
    margin: 30px 0;
    text-align: center;
    border-radius: 6px;
}
.cta-box a {
    color: #0073e6;
    font-weight: bold;
    text-decoration: none;
}
.cta-box a:hover {
    text-decoration: underline;
}

