/* 게시글 상세 페이지 스타일 */
/* Pretendard Variable (가변 폰트) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

/* Noto Sans KR */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

.post-detail-section {
    padding: 130px 22px 81px;
    background: #fff;
    min-height: 100vh;
}

.post-container {
    max-width: 1236px;
    margin: 0 auto;
}

/* 제목 */
.post-title {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 34px;
    word-break: keep-all;
}

/* 메타 정보 */
.post-meta {
    background: #f8f8f8;
    padding: 30px 40px;
    margin-bottom: 30px;
    min-height: 117px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-subtitle {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #999;
    margin: 0;
}

.meta-text {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #8b8b8b;
    margin: 0;
    line-height: 1.5;
}

.meta-box-info {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #aaa;
    margin: 0;
}

/* 카테고리 배지 */
.post-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.badge-text {
    background: #2563eb;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 600;
}

/* 헤더 메타 정보 */
.post-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.post-date {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    color: #666;
}

.post-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #2563eb;
}

/* 구분선 */
.post-divider {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 0px 0;
}

/* 본문 내용 */
.post-content {
    max-width: 960px;
    margin: 0 auto;
}

.content-box {
    background: #fff;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: left;
    margin-bottom: 20px;
}

.content-text {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* 이미지 영역 */
.content-image-area {
    margin: 80px 0;
    text-align: center;
}

.content-image {
    width: 70%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 본문 제목 */
.content-heading {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 54px;
    font-weight: 700;
    color: #000;
    margin: 80px 0 40px 0;
    line-height: 1.3;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 3px solid #e5e7eb;
}

.content-subheading {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin: 50px 0 30px 0;
    line-height: 1.3;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-subheading::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #2563eb;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 본문 텍스트 */
.content-body {
    margin: 50px 0;
}

.body-text {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 1.9;
    margin: 15px 0;
}

.body-highlight {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
    line-height: 1.9;
    margin: 15px 0;
}

.body-semibold {
    font-weight: 600;
}

/* 강조 박스 */
.highlight-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    border-left: 5px solid #2563eb;
}

.highlight-box .content-text {
    color: #1e40af;
    font-weight: 500;
}

/* 반응형 스타일 */
@media (max-width: 1280px) {
    .post-container {
        max-width: 95%;
    }

    .post-title {
        font-size: 64px;
    }

    .content-text {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .post-detail-section {
        padding: 100px 15px 60px;
    }

    .badge-text {
        font-size: 14px;
        padding: 8px 18px;
    }

    .post-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .post-meta {
        gap: 20px;
        padding: 25px;
    }

    .meta-item {
        font-size: 16px;
        line-height: 1.6;
    }

    .content-box {
        padding: 30px 20px;
        margin-bottom: 15px;
    }

    .content-text {
        font-size: 18px;
        line-height: 1.8;
    }

    .content-heading {
        font-size: 32px;
        margin: 50px 0 30px 0;
    }

    .content-subheading {
        font-size: 26px;
        margin: 40px 0 20px 0;
    }

    .body-text,
    .body-highlight {
        font-size: 16px;
        line-height: 1.7;
    }

    .content-image {
        width: 95%;
    }

    .content-image-area {
        margin: 50px 0;
    }

    .highlight-box {
        padding: 25px 20px;
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 28px;
    }

    .content-text {
        font-size: 16px;
    }

    .content-box {
        padding: 20px 15px;
    }
}