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

body {
    background: #f8f9fa;
    color: #222;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* =========================
   DESKTOP
========================= */
.blog-detail {
    width: 100%;
    max-width: 1000px;
    margin: 90px auto;
    padding: 0 20px;
}

/* IMAGE */
.thumbnail {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 45px;
    border-radius: 18px;
    background: #f3f4f6;
}

/* TITLE */
.blog-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -1.5px;
    color: #111827;
    margin-bottom: 18px;
    word-break: keep-all;
}

/* DATE */
.blog-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 45px;
}

/* CONTENT */
.blog-content {
    background: #fff;
    padding: 55px;
    border-radius: 18px;
    font-size: 18px;
    line-height: 2;
    color: #333;
    letter-spacing: -0.2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    white-space: pre-wrap;
    word-break: break-word;
}

/* BUTTON */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 45px;
    padding: 14px 30px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}


/* =========================
   TABLET
   768px ~ 1024px
========================= */
@media(max-width:1024px) {
    body {
        background: #fff;
    }

    .blog-detail {
        max-width: 760px;
        margin: 60px auto;
        padding: 0 28px;
    }

    .thumbnail {
        max-height: 420px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .blog-title {
        font-size: 38px;
        line-height: 1.4;
    }

    .blog-date {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .blog-content {
        padding: 40px;
        font-size: 17px;
        line-height: 1.9;
        border-radius: 16px;
    }

    .back-btn {
        margin-top: 35px;
    }

}

/* =========================
   MOBILE
   NAVER BLOG STYLE
========================= */
@media(max-width:767px) {
    body {
        background: #fff;
    }

    .blog-detail {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 20px;
    }

    /* IMAGE */
    .thumbnail {
        width: calc(100% + 40px);
        max-width: none;
        height: auto;
        max-height: 300px;
        margin-left: -20px;
        margin-bottom: 30px;
        border-radius: 0;
        object-fit: contain;
        background: #f5f5f5;
    }

    /* TITLE */
    .blog-title {
        font-size: 27px;
        font-weight: 700;
        line-height: 1.45;
        letter-spacing: -0.8px;
        color: #111;
        margin-bottom: 12px;
    }

    /* DATE */
    .blog-date {
        font-size: 13px;
        color: #888;
        margin-bottom: 32px;
    }

    /* CONTENT */
    .blog-content {
        background: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 16.5px;
        line-height: 1.95;
        letter-spacing: -0.25px;
        color: #333;
        white-space: pre-wrap;
        word-break: break-word;
    }

    /* BUTTON */
    .back-btn {
        width: 100%;
        height: 48px;
        margin-top: 40px;
        margin-bottom: 30px;
        border-radius: 10px;
        font-size: 15px;
    }

}