/* ======================
    reset.css 
========================= */


/* ===== 스타일 초기화 ===== */
html {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}
.page-content{padding: 0 10px 80px;}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-y: auto;
    background: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}


/* ======================
    sub_common.css 
========================= */




.sub-intro__image {
    width: 632px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 본문 컨테이너 */
.sub-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

/* 본문 (서사체) */
.sub-body {
    font-family: 'Noto Serif KR', serif !important;
    font-size: 18px;
    font-weight: 300;
    line-height: 2em;
    color: #000;
    text-align: justify;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.sub-body .focusing {
    font-family: 'NanumSquare', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.sub-body__sign {
    font-family: 'NanumSquare', sans-serif;
    font-size: 20px;
    font-weight: 100;text-align:right;
}

.sub-body__sign-name {
    font-weight: 500;
}

@font-face {
    font-family: 'NostalgicPoliceHumanRights';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/Griun_PolHumanrights-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
.font_greeting_cont{  font-family: 'NostalgicPoliceHumanRights';}

.greeting_box{font-size: 19px;
    font-weight: 400;
    line-height: 2em;
    color: #000;
    text-align: justify;
    letter-spacing: -0.03em;
    word-break: keep-all;}
.sign_wrap{display:flex;gap:7px;justify-content: flex-end;}

 .sub-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 0 45px;
}
/*
.sub-intro__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.105em;
    color: #1F1F1F;
    text-align: center;
}
.sub-intro__subtitle {
    margin-top: 44px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.105em;
    color: #1F1F1F;
    text-align: center;
} */

/* ===== 섹션 ===== */
.sub-section {
    max-width: 632px;
    margin-top: 50px;
}

.sub-section__title {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 16px;
}

.sub-section__title svg {
    width: 31px;
    height: 31px;
    color: #1F1F1F;
}

.sub-section__title span {
    font-family: 'NanumSquare', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.105em;
    color: #1F1F1F;
}

.sub-section__desc {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
    margin-bottom: 28px;
}

.sub-sub__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5em;
    color: #1F1F1F;
    margin-top: 40px;
    margin-bottom: 12px;
}

.sub-section__divider {
    width: 100%;
    height: 1px;
    background: #E6E6E6;
    margin-bottom: 24px;
}

/* ===== 테이블 (교회소개 등 서브페이지 내 테이블) ===== */
.sub-table {
    width: 100%;
    max-width: 632px;
    border-collapse: collapse;
}

.sub-table thead th {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.875em;
    color: #1F1F1F;
    text-align: left;
    padding: 10px 0;
    border-top: 1px solid #1F1F1F;
    border-bottom: 1px solid #1F1F1F;
}

.sub-table tbody td {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.875em;
    color: #1F1F1F;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #E6E6E6;
    vertical-align: middle;
}

.sub-table-note {
    font-family: 'NanumSquare', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.135em;
    color: #1F1F1F;
    margin-top: 10px;
}

/* ===== 본문 텍스트 변형 ===== */
.sub-text {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
    margin-bottom: 18px;
}

.sub-text--bold {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.70em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
}

.sub-text--thin {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.70em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
}

/* ===== 단계 (스텝) ===== */
.sub-step {
    max-width: 632px;
    margin-top: 24px;
}

.sub-step__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #5F7E00;
    margin-bottom: 2px;
}

.sub-step__desc {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
}

/* ===== 인용문 ===== */
.sub-blockquote {
    position: relative;
    max-width: 632px;
    margin: 32px 0;
    padding-left: 18px;
    border-left: 3px solid #1F1F1F;
}

.sub-blockquote p {
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
}

.sub-blockquote cite {
    display: inline-block;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #1F1F1F;
    font-family: 'NanumSquare', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.857em;
    color: #000;
    font-style: normal;
}

/* ===== 프로세스 다이어그램 ===== */
.sub-process {
    width: 100%;
    max-width: 632px;
    margin: 24px 0;
}

.sub-process img {
    width: 100%;
    height: auto;
}

/* ===== 2열 레이아웃 ===== */
.sub-twocol {
    display: flex;
    gap: 24px;
    max-width: 632px;
    margin-top: 16px;
}

.sub-twocol__image {
    width: 304px;
    flex-shrink: 0;
    border-radius: 0;
    object-fit: cover;
}



.sub-twocol__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

/* ===== 2열 레이아웃 (전폭, 1:1) ===== */
.sub-twocol--full {
    max-width: 100%;
}

.sub-twocol--full .sub-twocol__body {
    flex: 1 1 0;
}

.sub-twocol--full .sub-twocol__image {
    width: 0;
    flex: 1 1 0;
    flex-shrink: 1;
    object-fit: contain;
}

/* ===== 규정 주석 ===== */
.sub-regulation {
    max-width: 632px;
    margin-top: 16px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75em;
    letter-spacing: -0.03em;
    color: #1F1F1F;
}

/* ===== 인물 프로필 (담임목사 등) ===== */
.sub-profile {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.sub-profile__image {
    flex-shrink: 0;
    object-fit: cover;
}

.sub-profile__info {
    flex: 1;
}

.sub-profile__name {
    font-family: 'NanumSquare', sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.105em;
    color: #000;
    margin-bottom: 16px;
}

.sub-profile__title {
    font-weight: 300;
}

.sub-profile__bio {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625em;
    color: #000;
    word-break: keep-all;
}

.sub-profile__label {
    font-weight: 500;
    margin-top: 12px;
}

.sub-profile__label:first-child {
    margin-top: 0;
}

ul.sub-profile__list,
ul.sub-profile__list li {
    font-family: 'NanumSquareAc', 'NanumSquare', sans-serif;
    list-style: disc;
}

ul.sub-profile__list {
    padding-left: 1.2em;
    margin: 0;
}

/* ===== 인물 그리드 (장로 등) ===== */
.sub-person-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    gap: 40px 188px;
    margin-top: 16px;
}

.sub-person-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-person-card__image {
    width: 140px;
    height: 173px;
    object-fit: cover;
}

.sub-person-card__name {
    font-family: 'NanumSquare', sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.105em;
    color: #000;
    margin-top: 12px;
}

.sub-person-card__title {
    font-weight: 300;
}

.sub-person-card__role {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625em;
    color: #000;
    margin-top: 4px;
}

/* ===== 게시판 리스트 테이블 (공통) ===== */
.post-table {
    width: 100%;
    border-collapse: collapse;
}

.post-table thead th {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 46px;
    color: #1F1F1F;
    text-align: center;
    background: #E6E6E6;
    border-top: 1px solid #1F1F1F;
    border-bottom: 1px solid #1F1F1F;
    padding: 0 8px;
    white-space: nowrap;
}

.post-table thead th:nth-child(2) {
    text-align: left;
}

.post-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}

.post-table tbody tr:hover {
    background: #F5F5F5;
}

.post-table tbody tr.active {
    background: rgba(217, 217, 217, 0.35);
    color: rgba(0, 0, 0, 0.5);
}

.post-table tbody tr.active td,
.post-table tbody tr.active td a {
    color: rgba(0, 0, 0, 0.5);
}

.post-table tbody tr.active .post-table__attach-icon {
    opacity: 0.5;
}

.post-table tbody td {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 46px;
    color: #000;
    text-align: center;
    padding: 0 8px;
    border-bottom: 1px solid #E6E6E6;
    white-space: nowrap;
}

.post-table tbody td:nth-child(2) {
    text-align: left;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-table__attach-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    vertical-align: -4px;
}

.post-table .col-date { width: 100px; }
.post-table .col-title { width: auto; }
.post-table .col-author { width: 100px; }
.post-table .col-category { width: 90px; }


#daumRoughmapContainer1777444899891 {width:100% !important;}
#daumRoughmapContainer1777444899891 .cont{display:none;}



/* ===== 페이지네이션 (공통) ===== */
.post-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
}

.post-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: #1F1F1F;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.post-pagination__btn:hover {
    color: #5F7E00;
}

.post-pagination__btn:disabled,
.post-pagination__btn[disabled] {
    cursor: default;
    opacity: 0.25;
    pointer-events: none;
}

.post-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0.5px solid #1F1F1F;
    background: #fff;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.post-pagination__num:hover {
    background: rgba(217, 217, 217, 0.5);
}

.post-pagination__num.active {
    background: #D9D9D9;
    font-weight: 700;
}

.post-pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    color: #000;
}

/* ===== 게시물 본문 상세 (공통) ===== */
.post-detail {
    margin-bottom: 40px;
}

.post-detail__header {
    border-top: 2px solid #1F1F1F;
    padding: 20px 0 16px;
    border-bottom: 1px solid #E6E6E6;
}

.post-detail__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4em;
    color: #1F1F1F;
    word-break: keep-all;
}

.post-detail__meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #8E8E8E;
}

.post-detail__category {
    font-weight: 500;
    color: #5F7E00;
}

.post-detail__body {
    padding: 32px 0;
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
    border-bottom: 1px solid #E6E6E6;
}

.post-detail__body p + p {
    margin-top: 1em;
}

.post-detail__body ul,
.post-detail__body ul li {
    list-style: disc;
}

.post-detail__body ul {
    padding-left: 1.4em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.post-detail__attach {
    padding: 16px 0;
    border-bottom: 1px solid #E6E6E6;
}

.post-detail__attach-label {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 8px;
}

.post-detail__file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 16px;
    margin-top: 4px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.post-detail__file:hover {
    text-decoration: underline;
}

.post-detail__file img {
    width: 20px;
    height: 20px;
}

.post-detail__nav {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 48px;
}

.post-detail__list-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border: 1px solid #1F1F1F;
    background: #fff;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1F1F1F;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.post-detail__list-btn:hover {
    background: #F5F5F5;
}

/* ===== 카드 그리드 (공통 베이스) ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-grid__item {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card-grid__thumb {
    position: relative;
    overflow: hidden;
    border: 1.5px solid #000;
    transition: border-color 0.3s ease;
}

.card-grid__item:hover .card-grid__thumb {
    border-color: #5F7E00;
}

.card-grid__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-grid__item:hover .card-grid__thumb img {
    transform: scale(1.06);
}

.card-grid__date {
    margin-top: 8px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625em;
    color: #000;
}

.card-grid__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625em;
    color: #000;
}

.card-grid__item.active {
    opacity: 0.5;
    pointer-events: none;
}

/* 카드 비율 변형 */
.card-grid--16x9 .card-grid__thumb { aspect-ratio: 16 / 9; }
.card-grid--weekly .card-grid__thumb { aspect-ratio: 304 / 160; }

/* ===== 주보/갤러리 본문 이미지 (공통) ===== */
/* 주보 상세 이미지 */
.weekly-detail__image {
    width: 100%;
    height: auto;
    display: block;
}

.weekly-detail__image + .weekly-detail__image {
    margin-top: 32px;
}

/* ===== 유튜브 플레이어 (16:9) ===== */
.worship-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    margin-bottom: 32px;
}

.worship-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== 오시는 길 ===== */
.location-map {
    width: 100%;
    height: 420px;
    background: #000;
}

.location-address {
    font-family: 'NanumSquare', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color: #000;
}

.location-summary {
    margin-top: 12px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
}

.location-transit {
    font-family: 'NanumSquare', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.778em;
    color: #000;
}

.location-transit p + .location-transit__list {
    margin-top: 4px;
}

.location-transit__list,
.location-transit__list li {
    list-style: disc;
}

.location-transit__list {
    padding-left: 1.4em;
    margin-bottom: 16px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.778em;
    color: #000;
}

/* ===== 교회학교 ===== */
.school-hero {
    max-width: 960px;
    margin: 0 auto;
}

.school-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 80px;
}

.school-hero__image {
    display: block;
    width: 100%;
    height: auto;
}

.school-info-box {
    background: #E4E4E4;
    padding: 24px;
}

.school-info {
    border: none;
    margin-bottom: 28px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1F1F1F;
}

.school-info__label {
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 24px 4px 0;
    vertical-align: top;
}

.school-info__value {
    font-weight: 600;
    padding: 4px 0;
    vertical-align: top;
}

.school-goals {
    display: flex;
    gap: 48px;
    margin-bottom: 32px;
    padding: 24px;
    background: #EFEFEF;
}

.school-goals__col {
    flex: 1;
}

.school-goals__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 12px;
}

.school-goals__item {
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.875em;
    color: #000;
	border-bottom:none;
}

.school-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.school-gallery__card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.school-gallery__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 304 / 160;
    border: 1.5px solid #000;
    transition: border-color 0.3s ease;
}

.school-gallery__card:hover .school-gallery__thumb {
    border-color: #5F7E00;
}

.school-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.school-gallery__card:hover .school-gallery__thumb img {
    transform: scale(1.06);
}

.school-gallery__title {
    margin-top: 8px;
    font-family: 'NanumSquare', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625em;
    color: #000;
}

/* ===== 유틸리티 / 변형 클래스 ===== */

/* 본문 상단 border 제거 (QT, 목회서신 본문) */
.post-detail__body--no-border {
    border-top: none;
}

/* 첨부파일/갤러리 상단 여백 */
.post-detail__attach--mt {
    margin-top: 32px;
}

/* 갤러리 본문 하단 네비 구분선 */
.post-detail__nav--border {
    border-top: 1px solid #E6E6E6;
    padding-top: 24px;
}

/* 교회학교 갤러리 상단 여백 */
.school-gallery--mt {
    margin-top: 32px;
}

/* 선교와 나눔: 본문 컨테이너 좌우 패딩 제거 + 이미지-본문 간격 */
.sub-content--mission {
    padding: 53px 0 53px;
}

/* 선교와 나눔: 섹션 설명글 (weight 400, 표와 16px 간격) */
.sub-text--mission {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
    margin-bottom: 16px;
}
.custom-overseas-mission-page .sub-section {
    margin-top: 0 !important;
}
/* 개인정보처리방침: 섹션 타이틀 축소 + 간격 조정 */
.sub-section__title--sm svg {
    width: 26px;
    height: 26px;
}

.sub-section__title--sm span {
    font-size: 18px;
}

.sub-section--contract {
    margin-top: 48px;
}

.sub-section--contract .sub-section__title {
    margin-bottom: 8px;
}

.sub-section--contract .sub-text {
    margin-bottom: 4px;
}

.sub-section--contract .sub-text--thin + .sub-text {
    margin-top: 24px;
}

.sub-section--contract .sub-list,
.sub-section--contract .sub-list li {
    list-style: disc;
}

.sub-section--contract .sub-list {
    padding-left: 1.4em;
    margin: 0;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.70em;
    letter-spacing: -0.03em;
    color: #000;
    word-break: keep-all;
}

.sub-section--contract .sub-list + .sub-text {
    margin-top: 24px;
}

.sub-section--contract .sub-list--plain,
.sub-section--contract .sub-list--plain li {
    list-style: none;
}

.sub-section--contract .sub-list--plain {
    padding-left: 1em;
    margin-top: 4px;
    margin-bottom: 8px;
}

.sub-section--contract .sub-clause {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: clause;
}

.sub-section--contract .sub-clause > li {
    list-style: none;
    counter-increment: clause;
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.857em;
    letter-spacing: -0.03em;
    color: #000;
    text-align: justify;
    word-break: keep-all;
    margin-bottom: 4px;
    padding-left: 1.8em;
}

.sub-section--contract .sub-clause > li::before {
    display: inline-block;
    width: 1.8em;
    margin-left: -1.8em;
}

.sub-section--contract .sub-clause > li:nth-child(1)::before { content: "①"; }
.sub-section--contract .sub-clause > li:nth-child(2)::before { content: "②"; }
.sub-section--contract .sub-clause > li:nth-child(3)::before { content: "③"; }
.sub-section--contract .sub-clause > li:nth-child(4)::before { content: "④"; }
.sub-section--contract .sub-clause > li:nth-child(5)::before { content: "⑤"; }

.sub-section--contract .sub-sub__title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}
.custom-privacy-page .sub-section--contract {
    margin-top: 0 !important;
}
/* 섬기는 사람들: 넓은 섹션 */
.sub-section--wide {
    max-width: 960px;
}

/* 섬기는 사람들: 프로필 상단 여백 제거 */
.sub-profile--no-mt {
    margin-top: 0;
}

/* 섬기는 사람들: 프로필 세로 배치 (목회자 카드) */
.sub-profile--vertical {
    flex-direction: column;
    gap: 16px;
}

/* 섬기는 사람들: 프로필 세로 + 상단 여백 + 최대 폭 */
.sub-profile--vertical-half {
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
    max-width: 50%;
}

/* 섬기는 사람들: 목회자 2열 그리드 */
.sub-pastor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

/* 섬기는 사람들: 장로 그리드 변형 */
.sub-person-grid--flex {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
}

/* 섬기는 사람들: 프로필 이미지 크기 */
.sub-profile__image--senior {
    width: 304px;
    height: 420px;
}

.sub-profile__image--card {
    width: 140px;
    height: 173px;
}

/* 교회소개: 2열 이미지 높이 */
.sub-twocol__image--wedding {
    height: 286px;
}

.sub-twocol__image--funeral {
    height: 208px;
}

/* 인사말: 목사 이미지 폭 */
.sub-intro__image--pastor {
    width: 231px;
}

/* 플레이어 현재 재생 정보 (주일예배말씀, 은혜의 찬양 공용) */
.player-info {
    margin-bottom: 32px;
}

.player-info__title {
    font-family: 'NanumSquare', sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #1F1F1F;
}

.player-info__meta {
    font-family: 'NanumSquare', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1F1F1F;
    margin-top: 8px;
}




/* ======================
    mission.css 
========================= */

/* ===== 선교사 및 국내외 협력 교회 및 기관 ===== */
.mission {
    width: 100vw;
    padding: 60px 0;
    background: #fff;
}

.mission__inner {
    max-width: 1176px;
    margin: 0 auto;
}

.mission__title {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E6E6E6;
    font-family: 'NanumSquare', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
}

.mission__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission__column-title {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1F1F1F;
    font-family: 'NanumSquare', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.mission__list {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: -0.055em;
    color: #555;
    columns: 2;
    column-gap: 16px;
}




/* ======================
    responsive.css 
========================= */
/* ===== 태블릿 (960px 이하) ===== */
@media (max-width: 960px) {
    .header__nav > a,
    .nav__item {
        max-width: 0;
        opacity: 0;
        overflow: hidden;
    }

    .nav__submenu {
        display: none;
    }

    .nav--auth {
        max-width: 0;
        border-bottom: none;
        opacity: 0;
        overflow: hidden;
    }

    .header__menu-btn {
        display: flex;
    }
}

/* ===== 모바일 (720px 이하) ===== */
@media (max-width: 720px) {
	.page-content{padding: 0 0px 40px;}
    /* 헤더 */
    .header {
        height: 92px;
        padding: 0 20px;
    }

    .header__logo {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
    }

    .header__logo img {
        width: 160px;
        max-width: 100%;
        height: auto;
    }

    .header__menu-btn {
        flex-shrink: 0;
    }

    .header__menu-btn:hover {
        color: #fff;
    }

    .header__menu-btn:active {
        color: #BFFF00;
    }

    .header__menu-btn svg {
        width: 40px;
        height: 40px;
    }

    /* 슬라이드다운 메뉴 */
    .slide-menu {
        height: 520px;
    }

    .slide-menu__inner {
        padding: 76px 20px 40px;
    }

    .slide-menu__close {
        right: 20px;
    }

    /* 히어로 배너 */
    .hero {
        height: 520px;
    }

    .hero__btn {
        display: none;
    }

    .hero__slide {
        background-position: -60px 20%;
    }

    /* 웰컴 */
    .welcome {
        padding: 0;
    }

    .welcome__heading {
        display: none;
    }

    .welcome__card-title {
        font-size: 28px;
    }

    .welcome__cards {
        flex: 1;
        flex-direction: column;
        padding: 0 38px;
        border-left: none;
        border-right: none;
    }

    .welcome__card {
        padding: 32px 0;
        text-align: center;
    }

    .welcome__card-btn {
        width: 180px;
        padding-left: 0;
        padding-right: 0;
    }

    .welcome__card-separator {
        width: 100%;
        height: 1px;
        align-self: center;
    }

    /* 예배와 말씀 */
    .worship {
        padding: 30px 0;
    }

    .worship__header {
        padding: 0 16px;
    }

    .worship__title {
        font-size: 20px;
        font-weight: 700;
    }

    .worship__nav {
        display: none;
    }

    .worship__cards {
        padding: 0 16px;
        scroll-snap-type: x mandatory;
    }

    .worship__card {
        width: calc(100vw - 32px);
        scroll-snap-align: center;
    }

    .worship__card-thumb {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* 친교와 나눔 */
    .fellowship {
        padding-bottom: 16px;
    }

    .fellowship__header {
        padding: 0 16px;
    }

    .fellowship__title {
        font-size: 20px;
        font-weight: 700;
    }

    .fellowship__nav {
        display: none;
    }

    .fellowship__cards {
        padding: 0 16px;
        scroll-snap-type: x mandatory;
    }

    .fellowship__card {
        width: calc(100vw - 32px);
        scroll-snap-align: center;
    }

    /* 카드 섹션 도트 페이지네이션 */
    .worship__dots,
    .fellowship__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        margin-top: 16px;
    }

    .worship__dots .card-dot,
    .fellowship__dots .card-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #D9D9D9;
        cursor: pointer;
        transition: all 0.3s;
    }

    .worship__dots .card-dot.active,
    .fellowship__dots .card-dot.active {
        width: 20px;
        height: 4px;
        border-radius: 4px;
        background: #5F7E00;
    }

    /* 선교사 및 협력 교회 */
    .mission {
        padding: 30px 0;
    }

    .mission__inner {
        padding: 0 16px;
    }

    .mission__title {
        font-size: 20px;
        font-weight: 700;
    }

    .mission__column-title {
        font-size: 16px;
    }

    .mission__list {
        font-size: 12.5px;
        word-spacing: -0.025em;
    }

    .mission__columns {
        grid-template-columns: 1fr;
    }

    /* 푸터 */
    .footer {
        height: auto;
    }

    .footer__inner {
        padding: 0 32px;
    }

    .footer__logo img {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin-bottom: 32px;
    }

    .footer__info {
        font-size: 14px;
    }

    .footer__addr-line {
        display: block;
    }

    .footer__addr-separator {
        display: none;
    }

    .footer__right {
        display: none;
    }

    /* 서브 페이지 공통 */
    .sub-intro {
        padding: 0px 0 45px;
    }

    .sub-intro__image {
        width: 100%;
        max-width: 100%;
		
    }

    .sub-content {
        padding: 0 20px 60px;
    }

    .sub-body {
        font-size: 16px;
    }

    .sub-table {
        max-width: 100%;
    }

    .sub-table thead th,
    .sub-table tbody td {
        font-size: 14px;
        padding: 8px 4px;
    }

    .sub-twocol {
        flex-direction: column;
        max-width: 100%;
    }

    .sub-twocol__image {
        width: 100%;
        height: auto !important;
        aspect-ratio: 304 / 208;
    }

    .sub-twocol--full {
        flex-direction: column;
    }

    .sub-twocol--full .sub-twocol__image {
        width: 100%;
        height: auto;
        aspect-ratio: 469 / 464;
    }

    .sub-blockquote,
    .sub-process,
    .sub-regulation {
        max-width: 100%;
    }

    .sub-profile {
        flex-direction: column;
    }

    .sub-profile__image {
        width: 100% !important;
        height: auto !important;
        max-width: 200px;
    }

    .sub-person-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .sub-person-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 140 / 173;
    }

    /* 공지사항 테이블 */
    .post-table thead th,
    .post-table tbody td {
        font-size: 13px;
        padding: 0 4px;
    }

    .post-table .col-author,
    .post-table .col-category,
    .post-table thead th:nth-child(3),
    .post-table thead th:nth-child(4),
    .post-table tbody td:nth-child(3),
    .post-table tbody td:nth-child(4) {
        display: none;
    }

    .post-table .col-date {
        width: 85px;
    }

    .post-detail__title {
        font-size: 18px;
    }

    .post-detail__body {
        font-size: 15px;
    }

    /* 카드 그리드 */
    .card-grid,
    .school-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .card-grid__date,
    .card-grid__title,
    .school-gallery__title {
        font-size: 14px;
    }

    /* 교회학교 / 선교와 나눔 */
    .school-hero,
    .school-body {
        padding-left: 0px;
        padding-right: 0px;
    }

    .school-goals {
        flex-direction: column;
        gap: 24px;
    }

    .sub-content--mission {
        padding: 53px 16px 53px;
    }
}

