
/* WHYDAY ARTICLE V2 */

/* 본문 */
body.single-post .post-content,
body.single-post .entry-content {
    color: #304448;
    font-size: 18px;
    line-height: 1.95;
}

body.single-post .post-content p,
body.single-post .entry-content p {
    margin-bottom: 28px;
    line-height: 1.95;
}

/* H2: 아이보리 배경 + 주황색 강조선 */
body.single-post .post-content h2,
body.single-post .entry-content h2 {
    display: block;
    background: #fffaf0;
    color: #183e42;
    border-left: 5px solid #e99045;
    border-bottom: 0;
    border-radius: 0 14px 14px 0;
    padding: 19px 24px;
    margin: 65px 0 28px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.03em;
    box-shadow: 0 3px 14px rgba(30,50,45,.035);
}

body.single-post .post-content h2::after,
body.single-post .entry-content h2::after {
    display: none;
}

/* H3: 작은 주황 포인트 */
body.single-post .post-content h3,
body.single-post .entry-content h3 {
    color: #24474b;
    font-size: 22px;
    font-weight: 700;
    margin: 42px 0 18px;
    padding-left: 17px;
    border-left: 3px solid #edaa65;
}

/* 목차: WHYDAY에서 실제 사용하는 클래스 */
body.single-post .whyday-toc {
    background: #fffefa;
    border: 1px solid #e8ddd0;
    border-radius: 20px;
    padding: 30px 34px;
    margin: 40px 0 52px;
    box-shadow: 0 12px 30px rgba(32,50,45,.06);
}

body.single-post .whyday-toc-title {
    font-size: 20px;
    font-weight: 700;
    color: #183e42;
    margin-bottom: 18px;
}

body.single-post .whyday-toc ol {
    padding-left: 22px;
    margin: 0;
}

body.single-post .whyday-toc li {
    padding: 5px 0;
    color: #435a59;
}

body.single-post .whyday-toc a {
    color: #35565b;
    text-decoration: none;
    border: 0;
}

body.single-post .whyday-toc a:hover {
    color: #e99045;
}

/* 본문 이미지 */
body.single-post .post-content figure img,
body.single-post .entry-content figure img {
    border-radius: 18px;
    height: auto;
    max-height: none;
    box-shadow: 0 14px 32px rgba(24,45,40,.09);
}

/* 외부 링크 */
body.single-post .post-content a:not(.whyday-toc a),
body.single-post .entry-content a:not(.whyday-toc a) {
    color: #16717a;
    text-underline-offset: 4px;
}

/* 모바일 */
@media (max-width: 768px) {
    body.single-post .post-content,
    body.single-post .entry-content {
        font-size: 16px;
    }

    body.single-post .post-content h2,
    body.single-post .entry-content h2 {
        font-size: 21px;
        padding: 15px 17px;
        margin-top: 45px;
    }

    body.single-post .whyday-toc {
        padding: 23px 20px;
    }
}
