/* ==========================================================================
   격리된 '참고자료' 게시판 전용 스타일시트 (board.css)
   ========================================================================== */

/* 기본 테마 토큰 및 변수 (메인 style.css와 맞춤) */
:root {
    --primary-color: #1a253a;
    --secondary-color: #2c3e50;
    --accent-color: #c5a065;
    --text-color: #333333;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #eef0f3;
    --transition: all 0.3s ease;
    --font-serif: 'Noto Serif KR', serif;
}

/* ==========================================================================
   게시판 목록 페이지 (board.html) 스타일
   ========================================================================== */
.board-header {
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
}

.board-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.board-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.8;
}

.board-container {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

/* 카테고리 필터 탭 */
.board-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid #dcdfe6;
    background-color: var(--bg-white);
    color: #606266;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: white;
}

/* 고밀도 3열 그리드 */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
    .board-header h1 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   카드 UI 공통 (일러스트 연동 & 컴팩트 축소 패치 반영)
   ========================================================================== */
.post-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(197, 160, 101, 0.15);
    border-color: var(--accent-color);
}

.post-card-content {
    padding: 22px; /* 텍스트 최적화를 위해 여백을 편안하게 조율 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-category {
    font-size: 0.78rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    background-color: rgba(197, 160, 101, 0.08); /* 연한 골드 캡슐 뱃지 배경 */
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.15rem; /* 글자 크기 축소 */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 12px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄로 제한하여 컴팩트 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.post-author {
    font-weight: 500;
    color: #555;
}

/* 외부 링크(네이버 블로그) 카드 전용 마킹 */
.post-card.external .post-card-content::after {
    content: "블로그 바로가기 ↗";
    align-self: flex-end;
    font-size: 0.8rem;
    color: #03cf5d;
    font-weight: 600;
    margin-top: 10px;
}


/* ==========================================================================
   포스트 상세 페이지 (board/post-N.html 등) 스타일
   ========================================================================== */
.post-detail-section {
    padding: 140px 0 80px 0;
    background-color: var(--bg-light);
}

.post-detail-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .post-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.post-main-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .post-main-content {
        padding: 25px;
    }
}

.post-detail-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.post-detail-category {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.post-detail-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .post-detail-title {
        font-size: 1.7rem;
    }
}

.post-detail-meta {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 0.9rem;
}

.post-detail-meta span i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* 본문 스타일링 (가독성 극대화) */
.post-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #2c3038; /* 글자색을 약간 더 어둡게 하여 가독성 증대 */
    word-break: keep-all;
}

.post-body p {
    margin-bottom: 25px;
}

.post-body h2 {
    font-family: var(--font-serif);
    font-size: 2.0rem; /* 1.85rem에서 2.0rem으로 확대 */
    font-weight: 700;
    color: var(--primary-color);
    margin: 60px 0 28px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color); /* 골드 하단 가로선 공고화 */
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-body h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.3em;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.post-body h3 {
    font-size: 1.55rem; /* 1.45rem에서 1.55rem으로 확대 */
    color: var(--secondary-color);
    margin: 42px 0 20px 0;
    font-weight: 700;
    border-left: 4px solid var(--accent-color); /* 세로 골드라인 두께를 4px로 강화 */
    padding-left: 12px;
}

.post-body ul, .post-body ol {
    margin: 20px 0 30px 30px; /* 들여쓰기 확대 */
}

.post-body li {
    margin-bottom: 12px;
    list-style-type: disc;
    padding-left: 3px;
}

.post-body ol li {
    list-style-type: decimal;
}

.post-body strong {
    font-weight: 700;
    color: #111;
    /* 은은하게 깔리는 골드빛 형광펜 배경 밑줄 효과 */
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(197, 160, 101, 0.16) 50%);
    padding: 0 4px;
    border-radius: 2px;
}

/* Q. 질문 및 A. 답변 단락 가시성 특화 스타일 */
.post-body .post-question-para {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 16px 0;
    background-color: var(--bg-light);
    padding: 18px 24px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color); /* 골드 색상의 왼쪽 세로포인트 바 */
    line-height: 1.6;
}

.post-body .post-answer-para {
    font-size: 1.1rem;
    color: #2c3038;
    line-height: 1.85;
    margin-bottom: 25px;
    padding: 0 24px;
    position: relative;
}

.post-body blockquote {
    background-color: #f7f9fc;
    border-left: 5px solid var(--accent-color);
    padding: 22px 28px;
    margin: 35px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: #4a505a;
    line-height: 1.75;
}

/* 본문 중간 삽입 이미지 스타일 */
.post-content-image-wrapper {
    text-align: center;
    margin: 35px 0;
    width: 100%;
}

.post-content-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: inline-block;
    vertical-align: middle;
}

.post-content-image-caption {
    display: block;
    font-size: 0.88rem;
    color: #777;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* 강조 상자 */
.highlight-box {
    background-color: rgba(197, 160, 101, 0.07);
    border: 1px dashed var(--accent-color);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-box h4 i {
    color: var(--accent-color);
}

/* 우측 - 사이드바 영역 */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 변호사 프로필 카드 */
.profile-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.profile-card-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
    display: inline-block;
}

.profile-card-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-card-title {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.profile-card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
}

.profile-card-desc ul li {
    list-style: none;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card-desc ul li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* 우측 퀵상담 문의 폼 */
.quick-contact-card {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quick-contact-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.quick-contact-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quick-input {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: white;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.quick-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.quick-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.quick-textarea {
    min-height: 100px;
    resize: none;
}

/* FAQ 아코디언 스타일 */
.faq-accordion {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: var(--bg-white);
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(197, 160, 101, 0.05);
}

.faq-question::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--bg-light);
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   추가 커스텀 스타일 (법정형 조문, 판례 박스, 경고 카드, 인라인 CTA)
   ========================================================================== */

/* 법률 조문 박스 */
.law-clause-box {
    background-color: #fcfbfa;
    border-left: 4px solid var(--accent-color);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 28px;
    margin: 25px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.law-clause-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.law-clause-box h4 i {
    color: var(--accent-color);
}

.law-clause-box ul {
    margin: 10px 0 0 15px !important;
}

.law-clause-box ul li {
    list-style-type: none;
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 1.02rem;
    color: #444;
}

.law-clause-box ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 대법원 판례 박스 */
.precedent-box {
    background-color: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 25px 0;
    position: relative;
}

.precedent-box::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 4rem;
    color: rgba(197, 160, 101, 0.25);
    position: absolute;
    top: -10px;
    left: 15px;
    line-height: 1;
}

.precedent-box p {
    font-style: italic;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px !important;
    padding-left: 20px;
    font-size: 1.05rem;
}

.precedent-box .precedent-ref {
    text-align: right;
    font-size: 0.9rem;
    color: #718096;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0 !important;
}

/* 행동 지침 카드 */
.action-plans-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

@media (max-width: 768px) {
    .action-plans-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.action-card {
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid;
}

.action-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: none !important;
    padding-left: 0 !important;
}

.action-card ul {
    margin: 0 !important;
    padding: 0;
}

.action-card ul li {
    list-style-type: none !important;
    position: relative;
    padding-left: 25px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
}

.action-card ul li:last-child {
    margin-bottom: 0;
}

.action-card ul li strong {
    background: none !important;
    padding: 0 !important;
    color: var(--primary-color);
}

.action-card ul li p {
    margin-top: 4px;
    margin-bottom: 0 !important;
    font-size: 0.92rem;
    color: #666;
}

/* 권장 사항 카드 */
.action-card.do-card {
    background-color: #f4faf6;
    border-color: #c6e9d5;
}

.action-card.do-card h3 {
    color: #1b5e20;
}

.action-card.do-card ul li::before {
    content: "✓";
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* 경고 카드 */
.action-card.dont-card {
    background-color: #fff5f5;
    border-color: #fed7d7;
}

.action-card.dont-card h3 {
    color: #c53030;
}

.action-card.dont-card ul li::before {
    content: "✗";
    color: #e53e3e;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* 본문 내 인라인 CTA 카드 */
.post-inline-cta {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 35px;
    margin: 45px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 37, 58, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-inline-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 25px;
    }
}

.cta-info {
    flex: 1;
}

.cta-tag {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cta-title span {
    color: var(--accent-color);
}

.cta-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 220px;
}

@media (max-width: 768px) {
    .cta-action {
        align-items: center;
        min-width: 0;
    }
}

.cta-phone {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
    text-align: center;
    width: 100%;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* 역할별 처벌 수위 리스트 교정 */
.role-spec-box {
    margin: 25px 0 35px 0;
    border-left: 3px solid #e2e8f0;
    padding-left: 20px;
}

.role-spec-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e53e3e; /* 단순이용자, 환전상 등 */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-spec-list {
    margin: 15px 0 !important;
}

.role-spec-list li {
    list-style-type: none !important;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.role-spec-list li::before {
    content: "•";
    color: #718096;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ 아코디언 추가 보완 */
.post-body .faq-accordion {
    margin: 35px 0;
}

.post-body .faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.post-body .faq-question {
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.08rem;
    padding: 20px 24px;
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.post-body .faq-question:hover {
    background-color: #fafbfc;
}

.post-body .faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.post-body .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.post-body .faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f8fafc;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}

.post-body .faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 600px;
    border-top: 1px solid #edf2f7;
}

.post-body .faq-answer p {
    margin-bottom: 0 !important;
}

/* 본문 대표 이미지 래퍼 */
.post-hero-image-wrapper {
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.post-hero-image {
    width: 100%;
    height: auto;
    display: block;
}



/* ==========================================================================
   원고 기반 글자크기/색상/타이포그래피 개선 패치 (Typography & Law Post Refinement)
   ========================================================================== */

/* 본문 영역 전역 가독성 설정 */
.post-body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    font-size: 1.05rem; /* ~17px */
    line-height: 1.8;
    color: #2d3748;
    word-break: keep-all;
}

.post-body p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
}

/* 1. 대제목 (H2) - 파란색 브랜드 포인트 메인 헤딩 */
.post-body h2 {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.65rem; /* 26px */
    font-weight: 700;
    color: #1d4ed8 !important; /* 명확한 파란색 계열 */
    margin: 50px 0 22px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.post-body h2::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 1.2em;
    background-color: #2563eb;
    border-radius: 3px;
    flex-shrink: 0;
}

/* 2. 일반 소제목 (H3) - 검은색/다크네이비 */
.post-body h3 {
    font-size: 1.3rem; /* 20px */
    color: #1e293b;
    margin: 36px 0 16px 0;
    font-weight: 700;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
    letter-spacing: -0.3px;
}

/* 3. 포인트 소제목 (H3.red-accent / H4.red-accent) - 빨간색 경고/유형 헤딩 */
.post-body .red-accent,
.post-body h3.red-accent,
.post-body h4.red-accent {
    color: #dc2626 !important; /* 원고 속 빨간색 포인트 */
    font-weight: 700;
}

.post-body h3.red-accent {
    border-left: 4px solid #dc2626;
}

/* 법조문 요약 카드 (Law Box) */
.law-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0 28px 0;
}

.law-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.law-box-title i {
    color: #2563eb;
}

.law-box ul {
    margin: 0 0 0 20px !important;
    padding: 0;
}

.law-box li {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 8px !important;
    line-height: 1.6;
}

/* 대법원 판례 인용 박스 (Precedent Box) */
.precedent-quote {
    background-color: #f1f5f9;
    border-left: 5px solid #2563eb;
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.8;
}

.precedent-source {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    font-size: 0.92rem;
    color: #64748b;
    margin-top: 10px;
}

/* 도입부 사례 질문 박스 (Intro Quotes) */
.intro-quote-container {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin: 25px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intro-quote-item {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

/* Q&A / FAQ 리스트 스타일 */
.faq-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.faq-q {
    background-color: #f8fafc;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.08rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.faq-q-badge {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-a {
    padding: 18px 20px;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.75;
}

/* ==========================================================================
   AI 검색 최적화(GEO) Direct Answer 요약 박스 스타일
   ========================================================================== */
.ai-summary-box {
    background: linear-gradient(135deg, rgba(26, 37, 58, 0.04) 0%, rgba(197, 160, 101, 0.08) 100%);
    border: 1px solid rgba(197, 160, 101, 0.3);
    border-left: 5px solid var(--accent-color);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 25px 0 35px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--primary-color);
}

.ai-summary-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ai-summary-content {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #2c3e50;
}

.ai-summary-content ul {
    margin-top: 8px;
    padding-left: 20px;
}

.ai-summary-content li {
    margin-bottom: 6px;
}

