/* business.css — 사업안내 전용 스타일 */

.sub-content-wrap .inner-wrap {
    max-width: 1224px;
}

/* ════════════════════════════════
   페이지 헤더 (타이틀 + 서브타이틀)
════════════════════════════════ */
.biz-page-header {
    padding: 0 0 56px;
}
.biz-page-title {
    font-family: 'Paperlogy', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 0 0 8px;
    display: table;
    position: relative;
}
.biz-page-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background: var(--color-main, #7CB342);
    margin-top: 6px;
}
.biz-page-subtitle {
    font-family: 'Paperlogy', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 5px 0 0;
}

/* ════════════════════════════════
   섹션 공통
════════════════════════════════ */
.biz-section {
    padding: 0 0 54px 109px;
}
.biz-program-intro {
    width: 1000px;
    height: 130px;
    overflow: hidden;
    margin-bottom: 43px;
}
.biz-section-title {
    font-family: 'Paperlogy', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #222;
    margin: 0 0 29px;
}
.biz-section-desc {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #444;
    margin: 0;
}
.biz-subsection-title {
    font-family: 'Paperlogy', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #333;
    margin: 0 0 16px;
}

/* ════════════════════════════════
   프로그램 카드
════════════════════════════════ */
.biz-program-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.biz-program-card {
    display: flex;
    flex-direction: row;
    height: 147px;
    border-radius: 10px;
    overflow: hidden;
}
.biz-card-header {
    width: 292px;
    height: 147px;
    flex-shrink: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-family: 'Paperlogy', sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    justify-content: center;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
}
.biz-card-blue  { background: #70C8FF; }
.biz-card-green { background: #84A1FF; }
.biz-card-pink  { background: #FF91A3; }

/* 헤더 색상에 맞는 바디 테두리 */
.biz-card-blue  + .biz-card-body { border-color: #70C8FF; }
.biz-card-green + .biz-card-body { border-color: #84A1FF; }
.biz-card-pink  + .biz-card-body { border-color: #FF91A3; }
.biz-branch-seollip + .biz-card-body { border-color: #FE7FFC; }
.biz-branch-sabup   + .biz-card-body { border-color: #FF8486; }
.biz-branch-sojaegi + .biz-card-body { border-color: #70C8FF; }
.biz-branch-gyumo   + .biz-card-body { border-color: #84A1FF; }

.biz-card-body {
    flex: 1;
    background: #fff;
    padding: 20px 24px;
    border: 1px solid #e8e8e8;
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
}
.biz-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.biz-card-list li {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #444;
    padding-left: 18px;
    position: relative;
}
.biz-card-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    font-weight: 700;
    color: #888;
}

/* ════════════════════════════════
   운영 방향 박스
════════════════════════════════ */
.biz-direction-box {
    background: #4E95FF33;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 24px 28px;
}
.biz-direction-box p {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #444;
    margin: 0;
}

/* ════════════════════════════════
   지사사업 안내 — 카드 높이 자동
════════════════════════════════ */
.biz-branch-cards .biz-program-card {
    height: auto;
}
.biz-branch-cards .biz-card-header {
    width: 186px;
    height: auto;
}
.biz-branch-seollip { background: #FE7FFC; height: 87px;  }
.biz-branch-sabup   { background: #FF8486; height: 175px; }
.biz-branch-sojaegi { background: #70C8FF; height: 64px;  }
.biz-branch-gyumo   { background: #84A1FF; height: 120px; }
.biz-branch-text {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #444;
    margin: 0;
}
.biz-branch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    counter-reset: branch-counter;
}
.biz-branch-list > li {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #444;
    padding-left: 20px;
    position: relative;
    counter-increment: branch-counter;
}
.biz-branch-list > li::before {
    content: counter(branch-counter) '.';
    position: absolute;
    left: 0;
}
.biz-branch-sublist {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.biz-branch-sublist li {
    font-family: 'Paperlogy', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #444;
    padding-left: 18px;
    position: relative;
}
.biz-branch-sublist li::before {
    content: '·';
    position: absolute;
    left: 4px;
    font-weight: 700;
}

/* ── 반응형 ── */
/* 1024 이하: 고정폭/큰 좌측여백을 유동으로 */
@media (max-width: 1024px) {
    .biz-section { padding-left: 0; }
    .biz-program-intro { width: 100%; height: auto; }
}
@media (max-width: 640px) {
    .biz-page-title { font-size: 24px; }
    .biz-page-subtitle { font-size: 19px; }
    .biz-section-title { font-size: 20px; }
    .biz-section-desc { font-size: 16px; line-height: 1.4; }
    .biz-subsection-title { font-size: 20px; }
    .biz-section { padding-bottom: 40px; }
    /* 프로그램/지사 카드 세로 전환 */
    .biz-program-card,
    .biz-branch-cards .biz-program-card { flex-direction: column; height: auto; }
    .biz-card-header,
    .biz-branch-cards .biz-card-header {
        width: 100%; height: auto; padding: 14px; font-size: 19px;
        border-radius: 10px 10px 0 0;
    }
    .biz-branch-seollip, .biz-branch-sabup,
    .biz-branch-sojaegi, .biz-branch-gyumo { height: auto; }
    .biz-card-body {
        border-top: none; border-left: 1px solid;
        border-radius: 0 0 10px 10px; padding: 16px;
    }
    .biz-card-list li, .biz-branch-text,
    .biz-branch-list > li, .biz-branch-sublist li { font-size: 16px; }
    .biz-direction-box p { font-size: 16px; line-height: 1.5; }
}
