@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/nanumbarungothicsubset.css');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:400,500,700&subset=korean');
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css');

:root {
    --jd-orange: #f69605;
    --jd-orange-dark: #f6a905;
    --jd-money: #cd1b1b;
}

html, body { width: 100%; }
body.site-jang0529 {
    margin: 0;
    padding: 0;
    background: #fff;
    text-align: center;
    font-family: 'NanumBarunGothic', 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: #383d41;
}
body.site-jang0529 img { vertical-align: top; border: 0; }
body.site-jang0529 .jd-home-pc img,
body.site-jang0529 .jd-bottom-pc img,
body.site-jang0529 .epc-home-mo img { max-width: 100%; }

.epc-header-pc { display: block; }
.epc-header-mo { display: none; }
@media (max-width: 999px) {
    body.epc-layout-mobile .epc-header-pc { display: none !important; }
    body.epc-layout-mobile .epc-header-mo { display: block; }
    body.epc-layout-mobile .epc-home-pc,
    body.epc-layout-mobile .epc-bottom-pc { display: none !important; }
    body.epc-layout-mobile .epc-home-mo,
    body.epc-layout-mobile .epc-bottom-mo { display: block; }
}

.jd-page-shell, .epc-page-shell { position: relative; min-width: 1000px; }
body.epc-layout-mobile .jd-page-shell,
body.epc-layout-mobile .epc-page-shell { min-width: 0; }

/* PC 헤더 */
.jd-header-util { width: 100%; height: 42px; background: #f8f8f8; }
.jd-header-util-inner { width: 1000px; margin: 0 auto; overflow: hidden; }
.jd-header-sns { float: left; font-size: 0; }
.jd-header-sns a { display: inline-block; line-height: 0; }
.jd-header-sns img { max-width: none; }
.jd-header-util-links { float: right; margin-top: 11px; font-size: 14px; text-align: right; }
.jd-header-util-links a { color: #333; text-decoration: none; }

.jd-header-main { width: 1000px; margin: 0 auto; }
.jd-header-main-inner { position: relative; height: 115px; padding: 10px 0; text-align: left; }
.jd-header-slogan { position: absolute; top: 10px; left: 0; line-height: 0; }
.jd-header-slogan img { max-width: none; }
.jd-header-logo { position: absolute; top: 10px; left: 397px; line-height: 0; }
.jd-header-logo img { max-width: none; }
.jd-header-gopage { position: absolute; top: 17px; right: 0; font-size: 0; line-height: 0; }
.jd-header-gopage a { display: inline-block; }
.jd-header-gopage img { max-width: none; }
.jd-header-menu { position: absolute; top: 90px; left: 0; width: 1000px; font-size: 0; line-height: 0; white-space: nowrap; }
.jd-header-menu-item { display: inline-block; vertical-align: top; line-height: 0; }
.jd-header-menu-item img { display: block; width: 143px; height: 39px; max-width: none; }
.jd-header-bar { clear: both; width: 100%; height: 2px; background: var(--jd-orange); }

/* 진담카 메인 */
body.epc-has-bottom-bar { padding-bottom: 86px; }

.jd-home-pc { display: block; }
.jd-price-bar {
    clear: both;
    width: 100%;
    min-width: 1000px;
    background: #f8f8f8;
    border-bottom: 1px solid #cecece;
}
.jd-type-bar { border-top: 1px solid #cecece; border-bottom: 0; }
.jd-price-bar-inner { width: 1000px; margin: 0 auto; font-size: 0; line-height: 0; }
.jd-price-bar img { display: block; width: 1000px; height: auto; max-width: none; }

.jd-visual-wrap { position: relative; width: 100%; height: 363px; overflow: hidden; background: #fff; }
.jd-visual-ban { position: absolute; left: 50%; margin-left: -960px; z-index: 2; }
.jd-visual-item { display: none; }
.jd-visual-item:first-child { display: block; }
.jd-visual-slide { display: block; height: 363px; width: auto; max-width: none; }
.jd-visual-dots { position: absolute; bottom: 77px; width: 100%; text-align: center; z-index: 10; }
.jd-visual-dots a { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; margin: 0 2px; font-size: 0; }
.jd-visual-dots a.is-active { background: var(--jd-orange); }
.jd-visual-search { position: absolute; bottom: 24px; z-index: 100; width: 100%; }
.jd-search-form { width: 700px; margin: 0 auto; border: 2px solid var(--jd-orange-dark); background: #fff; display: flex; align-items: center; }
.jd-search-form input { flex: 1; border: 0; font-size: 15px; padding: 11px 16px; outline: none; }
.jd-search-form button { border: 0; background: #fff; padding: 6px 10px; cursor: pointer; color: var(--jd-orange-dark); font-size: 30px; }

.jd-ssc-row { width: 1000px; margin: 10px auto 0; display: flex; justify-content: space-between; gap: 10px; }
.jd-ssc-row + .jd-ssc-row { margin-bottom: 10px; }
.jd-ssc-row a { flex: 0 0 495px; }

.jd-home-wrap { width: 1000px; margin: 20px auto 0; overflow: hidden; text-align: left; }
.jd-row-media { display: flex; justify-content: space-between; gap: 10px; }
.jd-media-left, .jd-media-right { width: 495px; }
.jd-vd-container .video iframe, .jd-vd-container .video video { display: block; width: 495px; height: 282px; }
.jd-vd-select {
    display: flex;
    gap: 7px;
    width: 495px;
    margin-top: 6px;
}
.jd-vd-select div {
    flex: 0 0 160px;
    cursor: pointer;
}
.jd-vd-select img {
    display: block;
    width: 160px;
    height: auto;
    max-width: none;
}

.jd-midbanner { position: relative; width: 100%; height: 284px; margin: 30px 0; overflow: hidden; text-align: center; }
.jd-midbanner-img { position: absolute; left: 50%; top: 0; margin-left: -940px; }
.jd-midbanner-bg { width: 100%; height: 260px; background: var(--jd-orange-dark); }

.jd-review-row { display: flex; justify-content: space-between; margin-bottom: 20px; }
.jd-review-row--solo { justify-content: center; }
.jd-review-left, .jd-review-right { width: 495px; }
.epc-review-grid { display: grid; grid-template-columns: repeat(3, 161px); gap: 2.7px; margin-top: 10px; }
.epc-review-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 161px;
    height: 133px;
    overflow: hidden;
    border: 1px solid #cecece;
    background: #f5f5f5;
    box-sizing: border-box;
}
.epc-review-card img {
    display: block;
    width: 161px;
    height: 133px;
    object-fit: contain;
    object-position: center;
}

.jd-car-sections { width: 1000px; margin: 10px auto 40px; text-align: left; }
.jd-car-section { margin-bottom: 30px; }
.jd-car-section-title { display: block; margin-bottom: 10px; }
/* car_list.php — 카드 공통 (메인·목록) */
body.site-jang0529 .epc-car-card {
    box-sizing: border-box;
}

body.site-jang0529 .epc-car-card-link {
    display: block;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border: 1px solid #ebe6df;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(56, 40, 10, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.site-jang0529 .epc-car-card-link:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--jd-orange) 45%, #ebe6df);
    box-shadow: 0 12px 28px rgba(246, 150, 5, 0.16);
}

body.site-jang0529 .epc-car-card-thumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8eb 0%, #fff 100%);
    line-height: 0;
}

body.site-jang0529 .epc-car-card-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 72px !important;
    height: auto !important;
    pointer-events: none;
}

body.site-jang0529 .epc-car-card-label--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--jd-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 4px;
    box-sizing: border-box;
}

body.site-jang0529 .epc-car-card-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.22s ease;
}

body.site-jang0529 .epc-car-card-link:hover .epc-car-card-img {
    transform: scale(1.04);
}

body.site-jang0529 .epc-car-card-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f0e8;
    color: #999;
    font-size: 12px;
    line-height: 1.3;
}

body.site-jang0529 .epc-car-card-body {
    padding: 10px 12px 14px;
}

body.site-jang0529 .epc-car-card-title {
    margin: 0 0 10px;
    padding: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #2c2418;
    text-align: center;
    text-decoration: none !important;
    border-bottom: 1px solid #f0ebe3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site-jang0529 .epc-car-card-link:hover .epc-car-card-title {
    color: #b36f00;
}

body.site-jang0529 .epc-car-card-spec {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-jang0529 .epc-car-card-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    line-height: 20px;
    font-size: 11px;
    color: #7a7268;
}

body.site-jang0529 .epc-car-card-spec-row dt {
    margin: 0;
    font-weight: 400;
    flex-shrink: 0;
}

body.site-jang0529 .epc-car-card-spec-row dd {
    margin: 0;
    text-align: right;
    color: #4a433c;
    font-weight: 600;
}

body.site-jang0529 .epc-car-card-spec-row dd.epc-car-card-spec-month {
    font-size: 13px;
    color: var(--jd-money) !important;
    font-weight: 800;
}

.jd-car-box .epc-car-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.jd-car-box .epc-car-card {
    width: auto;
    min-width: 0;
    margin: 0;
}
.jd-carmore { display: block; width: 256px; margin: 20px auto 0; border: 2px solid var(--jd-orange-dark); color: var(--jd-orange-dark); padding: 8px 0; font-size: 20px; text-align: center; text-decoration: none; font-weight: 300; }
.jd-car-placeholder { text-align: center; padding: 40px; color: #999; }

/* 푸터 */
.jd-footer-links { width: 100%; background: #fff; padding: 30px 0; clear: both; }
.jd-footer-links-inner { width: 1200px; margin: 0 auto; text-align: left; }
.jd-footer-links ul { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.jd-footer-links li { float: left; border-right: 1px solid #fff; padding: 0 20px; }
.jd-footer-links li:last-child { border: 0; }
.jd-footer-links a { font-size: 18px; color: #000; font-family: 'NanumSquare', sans-serif; font-weight: 600; text-decoration: none; }

.jd-footer-info { width: 100%; background: #ebebeb; padding: 20px 0 100px; clear: both; }
.jd-footer-info-inner { width: 1000px; margin: 0 auto; display: flex; gap: 28px; align-items: flex-start; text-align: left; }
.jd-footer-law { font-size: 17px; color: #5a5a5a; margin: 0 0 12px; }
.jd-footer-logo { margin-top: 16px; }

/* 하단 상담바 (운영 bottomcounsel.php 좌표) */
.jd-bottom-counsel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 86px;
    z-index: 9999;
    background: #868686;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

body.site-jang0529 .jd-bottom-cs-bg {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -680px;
    pointer-events: none;
    z-index: 0;
    max-width: none;
}

.jd-bottom-counsel-inner {
    position: relative;
    z-index: 1;
    width: 1000px;
    height: 86px;
    margin: 0 auto;
}

.jd-bottom-cs-input {
    position: absolute;
    top: 22px;
    height: 42px;
    border: 0;
    border-radius: 3px;
    padding: 0 12px;
    font-size: 13px;
    color: #444;
    box-sizing: border-box;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: 'Noto Sans KR', 'NanumBarunGothic', sans-serif;
    -webkit-appearance: none;
    appearance: none;
}

.jd-bottom-cs-name {
    left: 230px;
    width: 190px;
}

.jd-bottom-cs-tel {
    left: 517px;
    width: 190px;
}

.jd-bottom-cs-input::placeholder {
    color: #999;
}

.jd-bottom-cs-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.jd-bottom-cs-submit {
    position: absolute;
    top: 22px;
    right: 0;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

body.site-jang0529 .jd-bottom-cs-submit img {
    display: block;
    width: 202px;
    height: 42px;
    max-width: none;
}

/* ---- 우측 고정 퀵메뉴 ---- */
.jd-body-dim {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.5);
}

.jd-right-quick {
    position: fixed;
    right: 0;
    top: 80px;
    z-index: 88881;
    width: 100px;
    transition: right 0.28s ease;
}

.jd-right-quick.is-shifted {
    right: 540px;
}

.jd-right-quick-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jd-right-quick-btn {
    display: block;
    width: 100px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.jd-right-quick-btn img {
    display: block;
    width: 100px;
    height: auto;
    max-width: none;
}

.jd-right-quick-close {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: 0;
    background: var(--jd-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.jd-right-recent {
    background: #fff;
    border: 1px solid #d8d8d8;
    box-sizing: border-box;
    text-align: center;
}

.jd-right-recent-item img,
.jd-right-recent-empty img,
.jd-right-recent > img {
    display: block;
    width: 100px;
    height: auto;
    max-width: none;
}

.jd-right-top {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.jd-right-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 540px;
    max-width: calc(100vw - 100px);
    height: 100%;
    z-index: 100000;
    background: #f7fafc;
    overflow: hidden;
    text-align: left;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.14);
}

.jd-right-panel.is-open {
    display: flex;
    flex-direction: column;
}

.jd-right-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.jd-right-panel-head {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--jd-orange) 0%, #e88a00 100%);
    color: #fff;
    box-sizing: border-box;
}

.jd-right-panel.is-type-kakao .jd-right-panel-head {
    background: linear-gradient(135deg, #3c1e1e 0%, #2a1414 100%);
}

.jd-right-panel.is-type-sms .jd-right-panel-head {
    background: linear-gradient(135deg, var(--jd-orange) 0%, #d97f00 100%);
}

.jd-right-panel.is-type-map .jd-right-panel-head {
    background: linear-gradient(135deg, #555 0%, #333 100%);
}

.jd-right-panel-head h2 {
    margin: 0;
    padding-right: 36px;
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.jd-right-panel-x {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: background 0.15s ease;
}

.jd-right-panel-x:hover {
    background: rgba(255, 255, 255, 0.3);
}

.jd-right-panel-x img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.jd-right-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 30px 28px;
    font-family: 'Noto Sans KR', sans-serif !important;
    box-sizing: border-box;
}

.jd-panel-section {
    animation: jdPanelFadeIn 0.22s ease;
}

@keyframes jdPanelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.jd-consult-lead {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
    letter-spacing: -0.2px;
}

.jd-consult-form { margin: 0; }

.jd-consult-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid #e8eef4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.jd-consult-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.jd-consult-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.2px;
}

.jd-consult-input,
.jd-consult-textarea {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14px;
    line-height: 1.4;
    color: #1e293b;
    background: #f8fafc;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.jd-consult-input::placeholder,
.jd-consult-textarea::placeholder {
    color: #94a3b8;
}

.jd-consult-input:focus,
.jd-consult-textarea:focus {
    outline: none;
    border-color: var(--jd-orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(246, 150, 5, 0.18);
}

.jd-consult-textarea {
    min-height: 96px;
    resize: vertical;
}

.jd-consult-agree {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff8eb;
    border: 1px solid #fde6b8;
}

.jd-consult-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    color: #334155;
}

.jd-consult-check:last-child { margin-bottom: 0; }

.jd-consult-check input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.jd-consult-check-box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 2px solid #94a3b8;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.jd-consult-check input:checked + .jd-consult-check-box {
    border-color: var(--jd-orange);
    background: var(--jd-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
}

.jd-consult-check-text button {
    display: inline;
    margin: 0 0 0 4px;
    padding: 0;
    border: 0;
    background: none;
    color: #c87800;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.jd-consult-submit {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 15px 20px;
    border: 0;
    border-radius: 12px;
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jd-consult-submit--kakao {
    background: #fee500;
    color: #191600;
    box-shadow: 0 8px 20px rgba(254, 229, 0, 0.35);
}

.jd-consult-submit--sms {
    background: linear-gradient(135deg, var(--jd-orange) 0%, #e88a00 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(246, 150, 5, 0.3);
}

/* 오시는 길 */
.jd-panel-map {
    padding: 0;
}

.jd-panel-map-embed {
    width: 480px;
    max-width: 100%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 1px solid #c0c0c0;
    background: #f0f0f0;
}

.jd-rightmap-addr {
    margin-bottom: 12px;
    padding: 18px 16px 18px 52px;
    border: 1px solid #c0c0c0;
    background-color: #f0f0f0;
    background-repeat: no-repeat;
    background-position: 20px 18px;
    font-family: 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #333;
}

.jd-rightmap-addr strong {
    color: #cc001e;
    font-weight: bold;
}

.jd-rightmap-sub {
    display: inline-block;
    margin-top: 4px;
    padding-left: 4.5em;
    color: #555;
}

.jd-panel-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--jd-orange);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.jd-panel-map-link:hover {
    background: #e88a00;
}

/* PC: AI 추천이 우측 퀵(100px, z-index 높음)에 가려/잘리지 않도록 퀵 왼쪽에 배치 */
@media (min-width: 1000px) {
    body.site-jang0529:not(.epc-layout-mobile):has(.jd-right-quick) .site-ai-sidebar {
        right: 100px;
        z-index: 88890;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), right 0.28s ease;
    }

    /* AI 패널 펼침 시 퀵 숨김 → 우측 끝에 붙임 */
    body.site-jang0529:not(.epc-layout-mobile):has(.site-ai-sidebar.is-open) .jd-right-quick {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.site-jang0529:not(.epc-layout-mobile):has(.jd-right-quick):has(.site-ai-sidebar.is-open) .site-ai-sidebar {
        right: 0;
    }

    /* 카톡/문자/약도 패널(540px) 열리면 AI도 패널 왼쪽으로 */
    body.site-jang0529:not(.epc-layout-mobile):has(.jd-right-panel.is-open) .site-ai-sidebar,
    body.site-jang0529:not(.epc-layout-mobile):has(.jd-right-quick.is-shifted) .site-ai-sidebar {
        right: 540px;
    }
}

/* 진담카 서브페이지 */
.epc-subpage-shell { overflow-x: hidden; }
.epc-subpage-minimal .jd-right-quick,
.epc-subpage-minimal .jd-right-panel { display: none !important; }

/* 소개 */
.jd-intro-page { width: 100%; }
.jd-intro-hero { width: 100%; clear: both; overflow: visible; line-height: 0; }
.jd-intro-hero-inner { width: 1000px; margin: 0 auto; text-align: left; overflow: visible; }
.jd-intro-hero-img { display: block; margin-left: -459px; max-width: none; width: auto; height: auto; }
.jd-intro-layout { width: 1000px; margin: 0 auto; display: flex; gap: 10px; text-align: left; padding: 20px 0 60px; }
.jd-intro-side { width: 170px; flex-shrink: 0; }
.jd-intro-side-head { width: 170px; height: 60px; border-radius: 50px; margin: 10px 0; color: var(--jd-orange-dark); line-height: 60px; font-weight: bold; font-size: 28px; text-align: center; }
.jd-intro-menu { list-style: none; margin: 0; padding: 0; }
.jd-intro-menu a { display: block; height: 43px; line-height: 43px; padding-left: 24px; font-size: 15px; color: #c1c1c1; border: 1px solid #c1c1c1; border-radius: 50px; margin-bottom: 5px; text-decoration: none; }
.jd-intro-menu .is-on a, .jd-intro-menu a:hover { color: var(--jd-orange-dark); border-color: var(--jd-orange-dark); }
.jd-intro-main { flex: 1; padding-top: 48px; }
.jd-intro-body-img { display: block; width: 820px; max-width: none; height: auto; }

/* AS5 subhead (소개) */
.jd-subhead {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: #fff;
}

.jd-subhead-stage {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #fff;
}

.jd-subhead-bg-img {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    width: 1920px;
    height: 500px;
    max-width: none;
    margin-left: -960px;
    object-fit: cover;
    object-position: center center;
}

.jd-subhead-text {
    position: relative;
    z-index: 1;
    width: 1000px;
    max-width: 100%;
    margin: 110px auto 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.jd-subhead-text li {
    margin: 0;
    padding-left: 50%;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: #333;
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif !important;
    word-break: keep-all;
}

.jd-subhead-text .jd-subhead-tag {
    margin-top: 0;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1px;
}

.jd-subhead-text .jd-subhead-tag--en {
    font-size: 34px;
    line-height: 1.35;
}

.jd-subhead-text .jd-subhead-title {
    margin-top: 20px;
    font-size: 100px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1px;
    white-space: normal;
}

.jd-subhead-title--md {
    font-size: 82px;
    line-height: 1.08;
}

.jd-subhead-title--sm {
    font-size: 88px;
    line-height: 1.06;
}

.jd-subhead-text .jd-subhead-desc {
    margin-top: 24px;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.45;
    color: #333;
}

/* 상담 */
.jd-counsel-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 538px; background: #f69605 center top no-repeat; background-size: 1920px auto; }
.jd-counsel-hero-tabs { position: absolute; top: 23px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.jd-counsel-tab { min-width: 140px; height: 56px; line-height: 56px; border-radius: 8px; background: #888; color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; text-align: center; }
.jd-counsel-tab.is-on { background: var(--jd-orange); }
.jd-counsel-body { width: 724px; margin: 0 auto 60px; }
.jd-counsel-form-box { margin: 40px 8px; padding: 34px; border-radius: 8px; border: 2px solid var(--jd-orange); background: #fcfcfc; }
.jd-counsel-form-box input { width: 100%; box-sizing: border-box; margin-bottom: 8px; padding: 12px; border: 1px solid #ddd; font-size: 15px; }
.jd-counsel-submit { width: 100%; height: 72px; border: 0; border-radius: 8px; background: var(--jd-orange); color: #fff; font-size: 28px; font-weight: 800; cursor: pointer; margin-top: 12px; }
.jd-counsel-banner { display: block; margin: 0 auto; }

/* 커뮤니티 */
/* 커뮤니티 레이아웃·스킨 → public/css/board_jindam.css */

/* 파복회/회파중 고객후기 페이징 (pabokhoe_album) */
.epc-community-skin--pabokhoe_album {
    --pbs-accent: var(--epc-site-main, var(--clf-brand, #147dc2));
    --pbs-accent-soft: var(--epc-site-main-light, color-mix(in srgb, var(--pbs-accent) 10%, #fff));
}

body.site-simwooin88 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #30b7f3;
    --pbs-accent-soft: #e8f7fe;
}

body.site-simwooin21 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #147dc2;
    --pbs-accent-soft: #e8f3fa;
}

body.site-simwooin91 .epc-community-skin--pabokhoe_album {
    --pbs-accent: var(--epc-site-main, #ef7000);
    --pbs-accent-soft: #fff3e6;
}

body.site-simwooin24 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #5470ff;
    --pbs-accent-soft: #eef1ff;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 24px 0 8px;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nums {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #444;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num:hover,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav:not(.is-disabled):hover {
    border-color: var(--pbs-accent, #30b7f3);
    color: var(--pbs-accent, #30b7f3);
    background: var(--pbs-accent-soft, #e8f7fe);
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num.is-current {
    border-color: var(--pbs-accent, #30b7f3);
    background: var(--pbs-accent, #30b7f3);
    color: #fff;
    font-weight: 700;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 34px;
    color: #999;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav--prev,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav--next {
    min-width: 52px;
    font-size: 13px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav.is-disabled {
    border-color: #ececec;
    background: #f7f7f7;
    color: #c4c4c4;
    cursor: default;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo {
    gap: 4px;
    margin: 16px 0 6px;
    padding: 0 8px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__num,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 13px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav--prev,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav--next {
    min-width: 36px;
    font-size: 18px;
    font-weight: 700;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nums {
    gap: 3px;
}

/* 고객후기 상세 — 본문 이미지·표 넘침 방지 */
.epc-community-skin--pabokhoe_album .sw21-bbs-view {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content {
    line-height: 1.7;
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: hidden;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content img,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content table,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content iframe,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content video {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content table {
    display: block;
    overflow-x: auto;
}

