@CHARSET "UTF-8";

/* ==========================================================================
   KeyzardArticle - Option A (Light Theme & No Left/Right Border)
   - 모바일 가독성 최적화 및 구글 애드센스 자동 광고 호환 레이아웃
   - 참조 모델: http://localhost:8084/224436906862
   ========================================================================== */

:root {
    --bg-main: #ffffff;
    --text-primary: #212529;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-color: #dfdfdf;
    --link-color: #212529;
    --link-hover: #0056b3;
    --accent-blue: #4d83d5;
    --site-title-color: #333333;
    --font-family: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 전역 뷰포트 가로 스크롤 방어 */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 기본 바디 및 폰트 설정 */
body {
    background-color: var(--bg-main) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-family) !important;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 링크 기본 설정 */
a {
    text-decoration: none !important;
    color: var(--link-color);
    transition: color 0.15s ease;
}
a:hover {
    text-decoration: none !important;
    color: var(--link-hover);
}
a:visited {
    color: var(--link-color);
}

/* 마진 & 패딩 유틸리티 */
.mgb5 { margin-bottom: 5px; }
.mgb10 { margin-bottom: 10px; }
.mgb20 { margin-bottom: 20px; }
.mgb30 { margin-bottom: 30px; }
.mgt10 { margin-top: 10px; }
.mgr5 { margin-right: 5px; }
.mgr10 { margin-right: 10px; }

/* ==========================================================================
   네비게이션 & 헤더 (좌우 테두리 없음, 하단 수평 구분선)
   ========================================================================== */
.siteBar {
    margin-top: 20px;
    margin-bottom: 12px;
    padding: 5px 0;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}
.navSiteName {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navSiteName a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.navLogoImg {
    border-radius: 50%;
    object-fit: cover;
}
.siteName {
    font-weight: 700;
    font-size: 19px;
    color: var(--site-title-color);
    letter-spacing: -0.3px;
}
.navBottom {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

/* 검색 폼 */
.searchForm {
    max-width: 320px;
    margin-left: auto;
}
.searchForm .input-group {
    border-radius: 4px;
}
.searchForm input.form-control {
    border: 1px solid #ced4da;
    border-right: none;
    font-size: 14px;
}
.searchForm input.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.searchForm .btn-outline-secondary {
    border: 1px solid #ced4da;
    border-left: none;
    color: #6c757d;
    background: #ffffff;
}
.searchForm .btn-outline-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

/* ==========================================================================
   메인 글 목록 (피드 리스트형, 좌우 테두리 없음, border-bottom 구분선)
   ========================================================================== */
.postListWrap {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 10px;
    background: transparent;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease;
}
.postListWrap:hover {
    background-color: #fbfbfb;
}
.thumnailWrap {
    width: 100px;
    height: 100px;
    float: left;
    overflow: hidden;
    position: relative;
    margin-right: 20px;
    border-radius: 6px;
    background-color: #f0f0f0;
}
.thumnail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    transition: transform 0.3s ease;
}
.postListWrap:hover .thumnail {
    transform: translate(-50%, -50%) scale(1.05);
}
.postListWrap a h2 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 48px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.postListWrap a:visited h2 {
    color: #555555;
}
.ellipsis2line {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 42px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.ellipsis {
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ==========================================================================
   포스트 본문 보기 (좌우 테두리 없음, AdSense 친화적 스트림)
   ========================================================================== */
.postHeader {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
}
.postTitle {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    letter-spacing: -0.4px;
    word-break: keep-all;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}
.regDate {
    color: #878787;
    font-size: 13px;
}
.postArticle {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 30px;
    box-shadow: none !important;
}
.postImgWrap {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden;
}
.postImg {
    max-height: 600px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.postContent {
    font-size: 17px;
    line-height: 1.8;
    color: #222222;
    margin-bottom: 30px;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* 네이버 블로그 링크 박스 스타일 */
.postLinkBox {
    margin: 20px 0;
}
.postLinkWrap {
    max-width: 500px;
    margin: 0 auto;
    height: 102px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}
.postLinkInfo {
    padding: 12px 15px;
    height: 100%;
}
.postLinkTitle {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.postLinkDesc {
    font-size: 13px;
    color: #888888;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.postLinkLink {
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: 600;
}

/* ==========================================================================
   구글 애드센스 광고 컨테이너 (자동 광고 및 반응형 배너 호환)
   - 좌우 테두리 및 박스 배경 완전 제거
   - overflow-x: hidden으로 모바일 가로 스크롤 방지
   ========================================================================== */
.adWrap {
    min-height: 250px;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    width: 100%;
    overflow: hidden !important;
}
.adWrap ins.adsbygoogle {
    display: block !important;
    margin: 0 auto;
    max-width: 100% !important;
    overflow: hidden !important;
}
.adWrap iframe {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* ==========================================================================
   포스트 이전글 / 다음글 목록 (리스트형, 좌우 테두리 없음)
   ========================================================================== */
.postNextPrevHeader {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 15px;
}
.postNextPrevHeader a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #333333;
}
.postNextPrevSiteTitle {
    color: var(--accent-blue) !important;
}
#postNextPrevList {
    margin-bottom: 40px;
}
.postNextPrevListWrap {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0 !important;
    padding: 12px 10px;
    margin-bottom: 0;
    box-shadow: none !important;
    transition: background-color 0.15s ease;
}
.postNextPrevListWrap:hover {
    background-color: #fbfbfb;
}
.thumnailPostNextPrevWrap {
    width: 75px;
    height: 75px;
    float: left;
    overflow: hidden;
    position: relative;
    margin-right: 15px;
    border-radius: 6px;
    background-color: #f0f0f0;
}
.postNextPrevListWrap a h2,
.postNextPrevListWrap a h3,
.postNextPrevListWrap a .postListTitle {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 4px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 21px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.postNextPrevListWrap a:visited h2,
.postNextPrevListWrap a:visited h3,
.postNextPrevListWrap a:visited .postListTitle {
    color: #555555;
}
.postNextPrevListWrap .ellipsis2line {
    font-size: 13px;
    color: var(--text-muted);
    height: 38px;
    line-height: 1.45;
}

/* ==========================================================================
   푸터 디자인 (좌우 테두리 없음, 상단 수평 구분선)
   ========================================================================== */
footer {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    background-color: #fafafa;
    margin-top: 40px;
}
.footerComment {
    color: #343a40;
}
.copyright {
    color: #444444;
    font-size: 13px;
    margin: 0;
}
.copyright a {
    color: var(--accent-blue);
}
.support {
    color: #666666;
    font-size: 12px;
}
.support a {
    color: var(--accent-blue);
    font-weight: 600;
}
.support a:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   반응형 & 모바일 가독성 최적화 (뷰포트 <= 768px, <= 576px)
   ========================================================================== */
@media (max-width: 768px) {
    .siteBar {
        margin-top: 10px;
        margin-bottom: 8px;
        padding: 5px 0;
    }
    .siteName {
        font-size: 17px;
    }
    .navBottom {
        margin-bottom: 15px;
    }
    .searchForm {
        max-width: 100%;
        margin-top: 8px;
    }
    .postHeader {
        margin-top: 5px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .postTitle {
        font-size: 21px;
        line-height: 1.35;
        margin-bottom: 8px;
    }
    .regDate {
        font-size: 12px;
    }
    .postContent {
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 20px;
    }
    .thumnailWrap {
        width: 85px;
        height: 85px;
        margin-right: 12px;
    }
    .postListWrap {
        padding: 15px 5px;
    }
    .postListWrap a h2 {
        font-size: 15px;
        line-height: 1.4;
        height: 42px;
    }
    .postListWrap .ellipsis2line {
        font-size: 13px;
        height: 38px;
    }
    .postNextPrevListWrap {
        padding: 10px 5px;
    }
    .thumnailPostNextPrevWrap {
        width: 65px;
        height: 65px;
        margin-right: 12px;
    }
    .postNextPrevListWrap a h2,
    .postNextPrevListWrap a h3,
    .postNextPrevListWrap a .postListTitle {
        font-size: 14px;
        height: 20px;
    }
    .adWrap {
        min-height: 100px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    footer {
        padding: 15px 0;
        margin-top: 25px;
    }
    .support {
        text-align: left !important;
        margin-top: 5px;
    }
}

/* ==========================================================================
   고냥캣 상단 카테고리 네비게이션 & 3섹션 아티클 스타일
   ========================================================================== */
.categoryNavWrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 6px 0 10px 0;
}
.categoryNavWrap::-webkit-scrollbar {
    height: 4px;
}
.categoryNavWrap::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}
.categoryNavList {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}
.categoryNavList li {
    display: inline-block;
}
.categoryNavList li a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.categoryNavList li a:hover {
    color: #2b7a78;
    background: #e6f4f1;
    border-color: #2b7a78;
}
.categoryNavList li.active a {
    color: #ffffff !important;
    background: #2b7a78 !important;
    border-color: #2b7a78 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(43, 122, 120, 0.25);
}

/* 브레드크럼 */
.breadcrumbNav {
    padding: 0;
    margin: 10px 0 15px 0;
    font-size: 13px;
    color: #888888;
}
.breadcrumbNav a {
    color: #666666;
}
.breadcrumbNav a:hover {
    color: #2b7a78;
}
.breadcrumbNav .sep {
    margin: 0 6px;
    color: #cccccc;
}

/* 1. 요약 박스 (Summary) */
.articleSummaryBox {
    background: #f4fbf9;
    border: 1px solid #cce8e4;
    border-left: 4px solid #2b7a78;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 25px;
}
.articleSummaryTitle {
    font-size: 16px;
    font-weight: 700;
    color: #2b7a78;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.articleSummaryList {
    list-style: none;
    padding: 0;
    margin: 0;
}
.articleSummaryList li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #333333;
    margin-bottom: 8px;
}
.articleSummaryList li:last-child {
    margin-bottom: 0;
}
.articleSummaryList li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: #2b7a78;
    font-weight: bold;
    font-size: 18px;
}

/* 2. 본문 및 소제목 */
.articleSubHeading {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 32px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eef2f5;
    line-height: 1.4;
}
.articleParagraph {
    font-size: 16px;
    line-height: 1.8;
    color: #2b2b2b;
    margin-bottom: 18px;
    word-break: break-word;
}

/* 3. FAQ 박스 */
.articleFaqBox {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 35px;
    margin-bottom: 25px;
}
.articleFaqHeader {
    font-size: 17px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faqItem {
    border-bottom: 1px dashed #e2e8f0;
    padding: 12px 0;
}
.faqItem:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.faqQuestion {
    font-size: 15px;
    font-weight: 600;
    color: #2b7a78;
    margin-bottom: 6px;
}
.faqAnswer {
    font-size: 14px;
    line-height: 1.65;
    color: #4a5568;
    padding-left: 20px;
}

/* 4. 본문 마크다운 표 (Table) */
.articleTableWrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.articleTable {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}
.articleTable th {
    background: #f8fafc;
    color: #2d3748;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}
.articleTable td {
    padding: 12px 16px;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    line-height: 1.6;
}
.articleTable tr:last-child td {
    border-bottom: none;
}
.articleTable tr:nth-child(even) td {
    background-color: #fafbfc;
}
