@charset "utf-8";
/* =========================================================
   마산교구 서브 > 교구 > 사제단(priest) — 시안 반영 (샌드박스 이관, 2026-07-28)
   - program 유형(program/priest) — 대응: templates/msd01/program/priest/list.php
   - 신규 카드형 CSS(msd 컨벤션) + 파일 하단에 구형 마크업 스타일 병합(2026-07-28, 옛 pages/priest/layout.css 이관·삭제). view/dead/deadView/outward도 이 파일 로드.
   - 3depth 탭은 공용 .msd-subtabs(텍스트+밑줄형) 사용
   - 반응형 브레이크(이 파일): 1319 · 1300 · 1279 · 1024 · 1023 · 767 · 720 · 615 · 570 · 460
   ========================================================= */

/* ─────────────────────────────────────────────
   검색
   ───────────────────────────────────────────── */
.msd-priest__search {
    padding: clamp(17.07px, 1.667vw, 24px);   /* 시안 650-270: 박스 높이 100 = 입력박스 50 + 상하 24 + 보더 2 */
    /* margin-top 제거 — 상단 간격은 .msd-subbody padding-top이 담당(데스크탑 100). 반응형(≤1023)은 이전 여백대로 0 유지 */
    border: 1px solid var(--color-neutral-375);   /* #999 */
    border-radius: clamp(11.38px, 1.111vw, 16px);   /* 시안 16 */
    background: #fff;
}
/* 반응형: 1023 — 검색박스 상단 여백 이전대로 0 (변동 없음) */
@media (max-width: 1023px) { .msd-priest__search { margin-top: 0; } }
.msd-priest__search form { display: flex; align-items: center; justify-content: center; gap: 10px clamp(39.11px, 3.819vw, 55px); flex-wrap: wrap; }   /* 라디오 묶음 ↔ 입력박스 55 (시안 726→781) */
.msd-priest__radios { display: flex; flex: 0 0 auto; gap: clamp(21.33px, 2.083vw, 30px); }   /* 항목 간 30 */
.msd-priest__radio { display: flex; align-items: center; gap: clamp(7.11px, 0.694vw, 10px); font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; cursor: pointer; }   /* 원↔글자 10, Pretendard Medium 18 */
/* 라벨: 시안은 선택/미선택 모두 #222 (구분은 라디오 원이 담당) */
.msd-priest__radio span { color: #222; }
/* 라디오 원: 미선택=회색 꽉 찬 원 / 선택=주황 링+중앙 점 (native accent-color는 회색채움 불가 → 커스텀) */
.msd-priest__radio input {
    appearance: none; -webkit-appearance: none; margin: 0; box-sizing: border-box;
    width: clamp(18px, calc(0.7512vw + 15.18px), 26px); height: clamp(18.49px, 1.806vw, 26px); border-radius: 50%;
    background: var(--color-neutral-200, #C4C3CB);
    cursor: pointer; flex: 0 0 auto;
}
.msd-priest__radio input:checked {
    /* 하드스톱 radial-gradient는 가장자리 계단(안티앨리어싱 없음)이 생겨 거칠어 보임 →
       border(링) + inset box-shadow(흰 간격) + 배경(중앙 점) 조합으로 모두 브라우저 기본 원 렌더링을 쓰게 함.
       시안: 바깥 26 / 안쪽 점 14 → 보더 1 + 흰 간격 5 + 점 14 (clamp 비례) */
    border: 1px solid var(--color-point);
    background: var(--color-point);
    box-shadow: inset 0 0 0 clamp(3.56px, 0.347vw, 5px) #fff;
}
.msd-priest__inputbox {
    display: flex;
    align-items: center;
    flex: 0 1 clamp(253.9px, 24.79vw, 357px);   /* 시안 357×50 */
    /* height: clamp(36.98px, 3.611vw, 52px); */
    padding: 9px clamp(12.1px, 1.181vw, 17px) 9px clamp(14.22px, 1.389vw, 20px);   /* 검색 컨테이너형(교구사제·선종사제) 별도 높이: 데스크탑 50px = input line 30(187.5%) + 상하 padding 18 + border 2 · 시안: 글자 시작 21(보더1+20) / 아이콘 우측 18(보더1+17) */
    border: 1px solid var(--color-neutral-375);   /* #999 */
    border-radius: 80px;   /* 시안 80(완전 pill) */
    background: #fff;
}
.msd-priest__inputbox input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; font-size: clamp(14px, 1.1111vw, 16px); font-weight: 500; line-height: 187.5%; }
.msd-priest__inputbox input::placeholder { color: #a3a3a3; font-weight: 500; opacity: 1; }   /* 시안 650-267 */
.msd-priest__inputbox button { flex: 0 0 auto; width: clamp(17.07px, 1.667vw, 24px); height: clamp(17.07px, 1.667vw, 24px); color: var(--color-text); }
@media (max-width: 767px) {
    .msd-priest__search { padding: 20px; }
    .msd-priest__search form { flex-direction: column; }
    .msd-priest__radios { flex-wrap: wrap; justify-content: center; gap: clamp(8px, calc(1.531vw + 2.26px), 14px) 20px; }   /* 줄 사이 간격: 767=14 ~ 375=8 (2026-10-07 화면 비례) */
    .msd-priest__inputbox { flex: 0 0 auto; width: 100%; }
}

/* ─────────────────────────────────────────────
   교구장 피처 카드
   ───────────────────────────────────────────── */
.msd-priest__feature {
    display: flex;
    align-items: flex-start;   /* 사진 stretch 방지 → 160×225 비율 고정 유지 */
    gap: clamp(35.56px, 3.472vw, 50px);   /* 시안: 사진끝(190)→텍스트(240) = 50 */
    margin-top: clamp(21.33px, 2.083vw, 30px);   /* 시안: 검색박스(0~100) → 카드(130) = 30 */
    padding: clamp(21.33px, 2.083vw, 30px);
    border-radius: clamp(11.38px, 1.111vw, 16px);
    background: #F3F6FF;
}
/* 시안: 피처 사진도 카드와 동일 160×225(세로형) — 110×140 아님 */
.msd-priest__feature-photo { flex: 0 0 auto; width: clamp(114.22px, 11.11vw, 160px); aspect-ratio: 160 / 225; border-radius: 8px; overflow: hidden; background: #fff; }
.msd-priest__feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msd-priest__feature-info { flex: 1 1 auto; min-width: 0; }
/* 시안 지정값(고정, clamp 대상 아님) */
.msd-priest__feature-label {
    margin: clamp(7.11px, 0.694vw, 10px) 0 0;   /* 시안: 사진 상단(160)보다 라벨 박스가 10 아래(170) */
    color: #475B99;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(18px, calc(0.3756vw + 16.59px), 22px);   /* 1440=22(시안) ~ 375=18, 화면 비례 */
    font-weight: 600;
    line-height: 136.364%; /* =30px@22px */
}
.msd-priest__feature-name {
    position: relative;
    margin: clamp(3.56px, 0.347vw, 5px) 0 0;   /* 시안: 라벨 박스(170~200) → 이름 박스(205~235) = 5 */
    padding-bottom: clamp(17.79px, 1.736vw, 25px);   /* 시안: 이름→구분선 25 */
    color: #222;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(24px, calc(0.5634vw + 21.89px), 30px);   /* 1440=30(시안) ~ 375=24, 화면 비례 */
    font-weight: 700;
    line-height: 1;
}
/* 구분선: 시안은 #dce1ee 1px, 시작이 텍스트 열보다 20px 왼쪽(x220 ~ 우측 패딩 끝 1410) */
.msd-priest__feature-name::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    left: clamp(-20px, -1.389vw, -14.22px);
    height: 1px; background: #dce1ee;
}
/* 시안: 라벨↔값 25px + 세례명/서품성구 값 정렬. 정렬 규칙을 폭 전반에서 '일관' 유지해야 하므로 grid(테이블) 사용.
   - 넓은 화면(≥1320): 4그룹 가로 배치(서품성구 전폭 span), 세례명/서품성구는 min-width로 값 정렬 + 축일 등은 내용폭(타이트).
   - 좁은 화면(≤1319): 라벨|값 2열 세로 테이블로 전환(display:contents) → 전 필드 값이 한 열로 정렬. */
.msd-priest__feature-rows {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: start;
    align-items: baseline;
    gap: clamp(9.24px, 0.903vw, 13px) clamp(40px, 8.82vw, 127px);   /* 시안 그룹 시작 x 240/488/811/1134에 맞춤(폰트 폭 차이 보정 125→127) */
    margin: clamp(17.79px, 1.736vw, 25px) 0 0;   /* 시안: 구분선(260) → 첫 행(286) = 25 */
    padding: 0;
}
/* 서품성구 전폭·값 정렬은 :last-child가 아니라 클래스로 지정 — 서품성구 값이 비어 행이 빠지면 축일이 :last-child가 되어 전폭으로 풀리던 문제 방지 */
.msd-priest__feature-rows > div { display: flex; align-items: baseline; gap: clamp(17.8px, 1.736vw, 25px); min-width: 0; }
.msd-priest__feature-rows > div.is-lectn { grid-column: 1 / -1; }   /* 서품성구 전폭 */
.msd-priest__feature-rows dt { flex: 0 0 auto; color: #888; font-weight: 500; font-size: clamp(15px, calc(0.2817vw + 13.94px), 18px); line-height: clamp(21.33px, 2.083vw, 30px); }   /* 시안 라벨 18 Medium #888, 줄높이 30 */
.msd-priest__feature-rows > div.is-baptism dt,
.msd-priest__feature-rows > div.is-lectn dt { min-width: clamp(56px, 4.375vw, 63px); }
.msd-priest__feature-rows dd { margin: 0; color: var(--color-text); font-weight: 400; line-height: 150%; font-size: clamp(16px, calc(0.3756vw + 14.59px), 20px); }
.msd-priest__feature-rows dd.is-num { font-family: 'Roboto', sans-serif; }   /* 시안: 날짜·축일 숫자는 Roboto Regular 20 */
/* ≤1319: 4열이 안 들어가는 폭 → 라벨|값 세로 테이블(전 필드 열 정렬 일관) */
@media (max-width: 1319px) {
    .msd-priest__feature-rows {
        grid-template-columns: max-content minmax(0, 1fr);
        column-gap: clamp(17.8px, 1.736vw, 25px);
        row-gap: clamp(9.24px, 0.903vw, 13px);
    }
    .msd-priest__feature-rows > div { display: contents; }
    .msd-priest__feature-rows > div.is-lectn { grid-column: auto; }   /* span 해제 */
    .msd-priest__feature-rows > div.is-baptism dt,
    .msd-priest__feature-rows > div.is-lectn dt { min-width: 0; }      /* 테이블 열이 정렬 담당 */
    .msd-priest__feature-rows dt { grid-column: 1; }
    .msd-priest__feature-rows dd { grid-column: 2; }
}
@media (max-width: 767px) {
    .msd-priest__feature { flex-direction: column; align-items: center; text-align: center; padding: 20px; gap: 10px; }   /* 세로 스택 시 사진↔정보 간격 10px */
    /* 모바일: 세로 테이블 유지(라벨·값 열 정렬 그대로) — 값은 좌측 정렬로 두어 열 어긋남 방지(중앙정렬 금지) */
    .msd-priest__feature-info { width: 100%; }
    .msd-priest__feature-name::after { left: 0; }   /* 세로 스택: 카드 안쪽 폭에 맞춤 */
    .msd-priest__feature-rows { text-align: left; }
}

/* ─────────────────────────────────────────────
   총건수 + 정렬
   ───────────────────────────────────────────── */
.msd-priest__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;   /* 총건수 줄 하단 = 셀렉트 하단 (시안) */
    margin-top: clamp(21.33px, 2.083vw, 30px);
    padding-bottom: clamp(14.22px, 1.389vw, 20px);   /* 시안: 셀렉트 하단(491) → 첫 카드 상단선(511) = 20 */
}
/* 총건수 줄(시안 661:885): 글자(18 Medium, 줄높이 25)와 새로고침 아이콘(27)을 아래 정렬, 사이 12 — 줄 전체가 셀렉트 하단(491)과 같은 높이 */
.msd-priest__count { display: flex; align-items: center;   /* 글자와 새로고침 아이콘은 서로 세로 가운데(2026-10-19) — 줄 전체의 하단은 toolbar가 셀렉트 하단에 맞춤 */ gap: clamp(8.53px, 0.833vw, 12px); font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; line-height: clamp(22.2px, 1.736vw, 25px); color: var(--color-text); }
.msd-priest__count b { color: #E25701; font-weight: 500; }
/* 새로고침: 공용 .msd-cal-refresh(common/layout.css, 36px) 재사용하되 이 페이지는 시안값(27px, 안쪽 아이콘 13px, 배경 #f5f7fc)으로 오버라이드 */
.msd-priest__refresh.msd-cal-refresh { width: clamp(19.2px, 1.875vw, 27px); height: clamp(19.2px, 1.875vw, 27px); margin-bottom: 0; background: #f5f7fc; }   /* 교구사제 새로고침은 광학보정 없음(정확히 0) */
.msd-priest__refresh.msd-cal-refresh img { width: clamp(9.24px, 0.903vw, 13px); height: clamp(9.24px, 0.903vw, 13px); }
/* 정렬 select: 마산 공용 .msd-select(네이티브 select + ::after 화살표) 사용(가안 — subpage.js 커스텀드롭다운은 board 전용이라 priest엔 미적용).
   select 박스 스타일(시안 square 룩)은 여기서 지정. 화살표는 공용 .msd-select::after 담당, 우측 패딩은 공용 .msd-select select 담당. */
.msd-priest__sort select {
    height: clamp(34px, calc(1.1268vw + 29.77px), 46px);   /* 시안 46 → 375에서 34 (1440→375 비례) */
    min-width: clamp(100px, calc(5.634vw + 78.87px), 160px);   /* 시안 657:293 — 160×46 → 375에서 100 */
    padding-left: clamp(9px, calc(0.3756vw + 7.59px), 13px);   /* 시안: 글자 시작 x≈13.5(보더 1 + 패딩 ≈13) */
    border: 1px solid var(--color-neutral-375);   /* #999 */
    border-radius: 3px;   /* 시안 3 */
    background: #fff;
    color: #000;
    font-family: 'Roboto', 'Pretendard', sans-serif;   /* 시안: Roboto Regular 18 (한글은 Pretendard 폴백) */
    font-size: clamp(15px, calc(0.2817vw + 13.94px), 18px);   /* 18 → 15 */
    font-weight: 400;
    letter-spacing: -0.053em;   /* = -0.96px / 18px (em으로 변환) */
}
/* 화살표: 시안 26×26, 박스 오른쪽 끝에서 12(보더 1 + 11) — 공용 .msd-select::after(24px, right 12)를 이 페이지만 시안값으로 */
.msd-priest__sort.msd-select::after {
    width: clamp(18px, calc(0.7512vw + 15.18px), 26px);
    height: clamp(18px, calc(0.7512vw + 15.18px), 26px);
    right: clamp(8px, calc(0.2817vw + 6.94px), 11px);
}

/* ─────────────────────────────────────────────
   목록: 2열 카드 그리드
   ───────────────────────────────────────────── */
.msd-priest__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(35.56px, 3.472vw, 50px) clamp(28.44px, 2.778vw, 40px);
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 카드 구분: 상단=대표 파랑, 하단=연회색 */
.msd-priest__grid li { border-top: 2px solid var(--color-brand); border-bottom: 1px solid #d2d2d2; }
.msd-priest__card {
    display: flex;
    align-items: flex-start;   /* 사진이 텍스트칸 높이에 stretch되어 늘어나는 것 방지 → 160×225 비율 고정 유지 */
    gap: clamp(21.33px, 2.083vw, 30px);   /* 시안: 사진끝(160)→텍스트(190) = 30 */
    padding: clamp(21.33px, 2.083vw, 30px) 0;   /* 시안: 상단 브랜드선→이름 = 30 */
    text-decoration: none;
    color: inherit;
}
/* 얼굴 이미지: 160x225 비율 유지. object-fit:cover로 찌그러짐 없이 중앙 크롭 */
.msd-priest__card-photo { flex: 0 0 auto; width: clamp(114.22px, 11.11vw, 160px); aspect-ratio: 160 / 225; border-radius: 8px; overflow: hidden; background: #f3f4f6; }
.msd-priest__card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.msd-priest__card-photo img.is-noimg { object-fit: contain; }   /* no_image 플레이스홀더는 잘림 방지 위해 contain */
.msd-priest__card-info { flex: 1 1 auto; min-width: 0; }
/* 이름 "성명 주교" — 시안: 한 크기 20px·진한색, '주교'도 동일(작은 회색 처리 아님) + 이름 아래 회색 구분선(텍스트칸 폭) */
.msd-priest__card-info h4 {
    margin: 0 0 clamp(14.93px, 1.458vw, 21px);      /* 구분선→첫 필드 21 */
    padding-bottom: clamp(14.22px, 1.389vw, 20px);  /* 이름→구분선 20 */
    border-bottom: 1px solid var(--color-line);
    color: #222;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(18px, 1.389vw, 20px);   /* 최대 20(시안) ~ 최소 18 */
    font-weight: 600;
    line-height: 100%;
}
/* '주교' = 이름과 동일 크기·색(상속) — 별도 여백 없음(HTML 공백만) */
.msd-priest__card-info dl { display: flex; flex-direction: column; gap: clamp(5.69px, 0.556vw, 8px); margin: 0; } /* 행 피치 33 = 줄높이25 + 8 */
.msd-priest__card-info dl > div { display: flex; gap: 0; }
/* dt·dd 공통(폰트패밀리·줄높이 동일, 색상·크기·굵기만 서로 다름) */
.msd-priest__card-info dt, .msd-priest__card-info dd { font-family: 'Pretendard', sans-serif; line-height: clamp(22.2px, 1.736vw, 25px); }
.msd-priest__card-info dt { flex: 0 0 clamp(78px, 6.319vw, 91px); color: #888; font-size: clamp(15px, 1.111vw, 16px); font-weight: 500; } /* 시안 라벨칸 x190→값281 = 91 (글자와 같은 비율로 축소) */
.msd-priest__card-info dd { margin: 0; color: #222; font-size: clamp(16px, 1.25vw, 18px); font-weight: 400; }
@media (max-width: 1023px) {
    .msd-priest__grid { grid-template-columns: 1fr; gap: clamp(20px, 2.7vw, 30px) 0; }
    /* 1열 전환(768~1023): 카드 폭이 넓어졌으므로 사진을 다시 키워 160(시안) 까지 → 768에서 140 */
    .msd-priest__card { gap: clamp(24px, calc(2.353vw + 5.9px), 30px); }
    .msd-priest__card-photo { width: clamp(140px, calc(7.843vw + 79.7px), 160px); }
}
@media (max-width: 767px) {
    .msd-priest__card { flex-direction: column; align-items: center; text-align: center; gap: 10px; }   /* 세로 스택 시 사진↔정보 간격 10px */
    .msd-priest__card-photo { width: clamp(110px, calc(7.653vw + 81.3px), 140px); aspect-ratio: 1 / 1.2; }   /* 767=140 ~ 375=110 · 사진 비율 1:1.2 (2026-10-07 사용자 지정, 1:1.5 → 1:1.2 재지정) */
    .msd-priest__card-photo img:not(.is-noimg) { object-position: center top; }   /* 상단 기준, 넘치는 아래쪽은 가림(overflow:hidden) */
    .msd-priest__card-info { width: 100%; }
    .msd-priest__card-info dl > div { justify-content: flex-start; }
    .msd-priest__card-info dt { text-align: start; }
    .msd-priest__card-info dd { text-align: left; }   /* 정보 값은 좌측 정렬(카드 text-align:center 상속 방지, 사용자 지정 2026-10-07) */
}

/* 페이지네이션은 공용 .msd-page(common/layout.css) 사용.
   단 교구사제·선종사제는 상단 여백 60px로 오버라이드(공용 40 → 60, 반응형 clamp). */
.msd-priest .msd-page { margin-top: clamp(42.67px, 4.1667vw, 60px); }


/* ==========================================================
   구형 priest 마크업 스타일 (pages/priest/layout.css에서 이관, 2026-07-28)
   - 사제단(program/priest) view·dead·deadView·outward 구형 페이지용.
   - 클래스 네임스페이스는 .page_wrap/.basic/.mobile 등(신규 .msd-priest와 무충돌).
   - 해당 페이지 카드형 이관 시 이 구획을 정리.
   ========================================================= */

/* 공통 추측 스타일 */
.mobile{
    display: none;
}
@media screen and ( max-width: 767px ) {
    .mobile_none {
        display: none !important;
    }
}
/* 마산교구 사제단에서만 적용하는 board_count start */
.board_count {
    position: relative;
    width: 100%;
    margin-top: 30px;
    padding-bottom: 20px;
}
/* 마산교구 사제단에서만 적용하는 board_count end */





/* 사제단 공통 table start */
.priest.list table.basic colgroup col.col_05{
    width: 18%;
}
.priest.list table.basic thead tr th{
    padding: 16px 10px;
    letter-spacing: -0.75px;
    color: #231915;
    border-top: 1px solid #1E1E1E;
    font-weight: 600;
    line-height: normal;
}
.priest.list table.basic tbody tr th{
    padding: 16px 10px;
    line-height: normal;
}
.priest.list table.basic tbody tr td{
    padding: 16px 10px;
    line-height: normal;
    color: #666;
}

.priest.list table.basic tbody tr:first-child th,
.priest.list table.basic tbody tr:first-child td{
    border-top: 1px solid #ddd;
}

.priest.list table.basic tbody tr th{
    text-align: center;
    font-weight: 500;
}
.priest.list table.basic tbody tr .bold_text{
    font-weight: 700;
    font-size: 16px;
    color: #231915;
}
.priest.list table.basic tbody tr .a_link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.priest.list table.basic tbody tr .a_link i{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    margin-top: 2.5px;
}
.priest.list table.basic tbody tr td:not(.left){
    text-align: center;
}
.priest.list table.basic tbody tr th,
.priest.list table.basic tbody tr td{
    font-size: 15px;
}

.priest.list table.basic tbody tr td.left.padding{
    padding-left: 5%;
}
/* 사제단 공통 table end */





/* 교구사제 전용 스타일 start */
@media screen and ( max-width: 767px ){
    .priest.list table.basic tbody tr .a_link i{
        margin-top: 0.5px;
    }
}
/* 교구사제 전용 스타일 end */





















@media screen and ( max-width: 1023px ) {
    .priest.list table.basic tbody th,
    .priest.list table.basic tbody td{
        padding: 15px 10px;
    }

    .priest.list table.basic tbody tr th a{
        font-size: 15px;
        line-height: 19px;
    }

    .priest.list table.basic tbody tr td.left.padding{
        padding-left: 3%;
    }

    .priest.list table.basic colgroup col.col_05{
        width: 16%;
    }
}
@media screen and ( max-width: 767px ) {
    .priest.list table.basic tbody tr th {
        /* padding-bottom: 18px; */
    }
    .priest.list table.basic tbody tr .a_link{
        justify-content: flex-start;
        flex-direction: row;
    }
    .priest.list table.basic tbody tr .a_link{
        justify-content: flex-start;
    }
    .priest.list table.basic tbody th ul.sub_text li:last-of-type{
        padding-bottom: 0;
    }
}
@media screen and ( max-width: 570px ) {

}




.priest.list .board_count > span span{
    font-size: 18px;
    letter-spacing: -0.9px;
}

.priest.list .board_count select{
    position: relative;
    display: block;
    max-width: 242px;
    width: 100%;
    height: 40px;
    border: 1px solid #E5E5E5;
    border-radius: 250px;
    padding: 0 20px;
    padding-bottom: 4.4px;
    font-size: 15px;
    color: rgb(87, 87, 87);
    background: url(/assets/msd01/image/icon_arrow_black_bottom.svg) no-repeat right 15px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media screen and ( max-width: 1023px ) {
    .priest.list .board_count select{
        padding: 10px 16px;
        font-size: 14px;
        line-height: 22px;
    }

    .priest.list table.basic tbody th,
    .priest.list table.basic tbody td{
        font-size: 15px;
    }

    .priest.list table.basic thead tr:first-child th{
        font-size: 16px;
        padding: 16px 10px;
    }
}

@media screen and ( max-width: 767px ) {
    .priest.list table.basic tbody tr{
        border-bottom: 0;
    }
    .priest.list table.basic colgroup col.col_01{
        width: 100%;
    }

    .priest.list table.basic colgroup col.col_05{
        width: 0;
    }
    .priest.list table.basic tbody tr th{
        border-bottom: 1px solid #e5e5e5;
    }
    .priest.list table.basic tbody tr:last-of-type th{
        border-bottom: 0;
    }
    .priest.list table.basic tbody tr th,
    .priest.list table.basic tbody tr th *{
        text-align: left;
        font-size: 15px;
        font-weight: 400;
    }
    .priest.list table.basic tbody tr th a{
        padding-bottom: 15px;
        display: flex;
        flex-direction: column;
    }

    .priest.list table.basic tbody tr th a small{
        display: inline;
        padding-left: 0px;
        font-size: 15px;
    }

    .priest.list table.basic tbody th ul.sub_text{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 5px;
    }
    .priest.list table.basic tbody th ul.sub_text li.picture{
        display: none;
    }
    .priest.list table.basic tbody th ul.sub_text li{
        align-items: flex-start;
    }
    .priest.list table.basic tbody th ul.sub_text li:not(:last-child){
        padding-right: 20px;
    }

    .priest.list table.basic tbody th ul.sub_text .title{
        margin-right: 5px;
        padding: 2px 10px;
        font-size: 13px;
        color: #2E8B57;
        border: 1px solid #2E8B57;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
    }
}

@media screen and ( max-width: 570px) {
    .priest.list .board_count{
        padding-bottom: 12px;
    }

    .priest.list .board_count select{
        padding: 7px 15px;
        max-width: 110px;
        font-size: 15px;
        padding-bottom: 8.5px;
    }

    .priest.list table.basic tbody th ul.sub_text{
        display: block;
    }

    .priest.list table.basic tbody th ul.sub_text li{
        display: flex;
    }

    .priest.list table.basic tbody th ul.sub_text li:not(:last-child){
        padding: 0 0 5px;
    }
    
    .priest.list table.basic tbody th ul.sub_text li span{
        line-height: 24px;
    }

    .priest.list table.basic tbody th ul.sub_text .title{
        width: 70px;
        text-align: center;
        line-height: initial;
        border-radius: 13.5px;
    }
}
/* list end */

















/* view */
#priest_view .part{
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0;
    padding-top: 0;
}

#priest_view .part > .visual_con{
    width: 240px;
    padding-right: 60px;
}
#priest_view .part > .text_wrap{
    width: calc(100% - 240px);
    position: relative;
    flex: 1;
}
#priest_view .part > .text_wrap .top_name{
    display: flex;
    justify-content: space-between;
}
#priest_view .part > .text_wrap .top_name .left{
    letter-spacing: -0.72px;
    color: #231915;
    font-size: 24px;
    font-weight: 700;
}
#priest_view .part .visual_con .img_wrap{
    position: relative;
}

#priest_view .border_box .shadow{
    position: relative;
    width: 100%;
    font-size: 0;
    padding: 15px;
    background-color: #F6F4F1;
    border: 1px solid #E5E5E5;
}

#priest_view .part .visual_con .church_img .img_wrap{
    max-height: 492px;
    height: 34.2vw;
    background-color: #F6F4F1;
}

#priest_view .part .visual_con .church_img .img_wrap.no_img{
    display: flex;
    align-items: center;
    justify-content: center;
}

#priest_view .part .visual_con .church_img .button_wrap{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 142px;
    left: calc(50% - 71px);
    bottom: 0;
}
.priest_info_wrap{
    position: relative;
    background-color: #F1F7F3;
    padding: 20px 40px;
    padding-bottom: 65px;
    border-radius: 20px;
    margin-top: 30px;
}
.priest_info_wrap::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 170px;
    aspect-ratio: 1 / 0.75;
    background: url(/assets/msd01/image/priest_bg.svg) center center no-repeat;
    background-size: contain;
}
.priest_info caption{
    display: none;
}
.priest_info th{
    letter-spacing: -0.8px;
    color: #2E8B57;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 0;
    width: 95px;
    text-align: left;
    border-bottom: 1px dashed #DFDAD6;
    line-height: 1.3;
}
.priest_info td{
    letter-spacing: -0.48px;
    color: #231915;
    font-weight: 400;
    font-size: 16px;
    padding: 14px 0;
    width: calc(100% - 95px);
    border-bottom: 1px dashed #DFDAD6;
    line-height: 1.3;
}
.priest_info tr:last-of-type th,
.priest_info tr:last-of-type td{
    border-bottom: 0;
}
.visual_con .church_img .swiper-button-next,
.visual_con .church_img .swiper-button-prev,
.visual_con .church_img .swiper-pagination{
    position: relative;
    margin-top: 0;
    top: auto;
    width: 30px;
    height: 21px;
}

.visual_con .church_img .swiper-pagination{
    width: auto;
}

.visual_con .church_img .swiper-button-prev{
    background-image: url('../../../images/pages/board/church_slide_prev.svg');
}
.visual_con .church_img .swiper-button-next{
    background-image: url('../../../images/pages/board/church_slide_next.svg');
}
.visual_con .church_img .swiper-pagination span{
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 1.3px;
    color: #1E1E1E;
}
.visual_con .church_img .swiper-pagination span.swiper-pagination-current{
    color: #FE493C;
}


#priest_view .part .visual_con > h6,
#priest_view .part .text_wrap > h6{
    padding-bottom: 22px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -1.82px;
    line-height: 38px;
}

#priest_view .part .visual_con > h6 span,
#priest_view .part .text_wrap > h6 span{
    margin-left: 9px;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: -1.26px;
    color: #888;
}
#priest_view .common_btns_center{
	display: flex;
	justify-content: flex-end;
    position: absolute;
    top: 0;
    right: 0;
}
#priest_view .common_btns_center > * {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    padding-bottom: 9px;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: -0.9px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #DBD9D3;
    transform: translateY(calc(-50% - -4px));
}
/* view end */

@media screen and ( max-width: 1279px ) {
    #priest_view .part > .visual_con{
        width: 240px;
        padding-right: 40px;
    }
    #priest_view .part > .text_wrap{
        width: calc(100% - 240px);
    }

    #priest_view .border_box .shadow{
        
    }

    #priest_view .part > h5{
        padding-bottom: 33px;
        font-size: 44px;
        line-height: 55px;
    }
}
@media screen and ( max-width: 767px ) {
    #priest_view .part{
        padding-top: 0;
    }
}

@media screen and ( max-width: 615px ) {

    #priest_view .part{
        justify-content: center;
    }

    #priest_view .part > h5{
        padding-top: 20px;
    }
    
    #priest_view .part > div:first-of-type,
    #priest_view .part > div:last-of-type{
        width: 100%;
        padding: 0;
    }

    #priest_view .part > div:last-of-type{
        padding-top: 20px;
    }

    #priest_view .part .visual_con .img_wrap{
        margin: 0 auto;
        max-width: 41vw;
        min-width: 170px;
        text-align: center;
    }

    #priest_view .part .visual_con .img_wrap img{
        max-width: 340px;
    }

    #priest_view .part .visual_con .no_img img{
        object-fit: contain;
        max-height: 100%;
    }
    #priest_view .common_btns_center{
        position: relative;
        justify-content: center;
        margin-top: 30px;
    }
    #priest_view .common_btns_center > *{
        transform: translateY(0);
    }
    #priest_view .part > .text_wrap .top_name{
        justify-content: center;
        text-align: center;
    }
    .priest_info_wrap{
        padding: 20px 30px;
        margin-top: 40px;
    }
}





.slider_set{
    position: relative;

}
.slider_set .slider_wrap{
    position: relative;
    display: flex;
    padding: 0px 60px;
    padding-right: 50px;
    background: transparent linear-gradient(296deg, #BFE0CB 0%, #FCF3EF 100%);
    border-radius: 20px;
    min-height: 328px;
}
.slider_set .left_area{
    width: 185px;
    min-width: 185px;
    padding-right: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slider_set .left_area .text_a{
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -3px;
    font-family: 'Pretendard', sans-serif;
    line-height: 1.25;
}
.slider_set .left_area .text_a .color{
    color: #855021;

}
.slider_set .left_area .btn_a{
    display: flex;
    gap: 11px;
    margin-top: 30px;
}
.slider_set .left_area .btn_a button{

}
.slider_set .left_area .btn_a button img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slider_set .right_area{
    width: calc(100% - 185px);
    overflow: hidden;
    padding: 60px 0;
}
.slider_set .right_area .priest_swiper{
    width: 100%;
    height: 100%;
    padding-right: 10px;
}
.slider_set .right_area .priest_swiper .swiper-slide{
    width: auto;
}
.slider_set .right_area .priest_swiper .swiper-slide .in{
    background-color: #F1F7F3;
    box-shadow: inset 1px 1px 0px #FFFFFF80, 1px 3px 6px #00000029;
    border: 1px solid #0000000D;
    padding: 10px 11px;
}
.slider_set .right_area .priest_swiper .swiper-slide .in .img{
    width: 100%;
    aspect-ratio: 110 / 145;
    max-width: 110px;
    max-height: 145px;
}
.slider_set .right_area .priest_swiper .swiper-slide .in .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider_set .right_area .priest_swiper .swiper-slide .in .info{
    text-align: center;
    margin-top: 9px;
}
.slider_set .right_area .priest_swiper .swiper-slide .in .info .name{
    letter-spacing: -0.96px;
    color: #231915;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.slider_set .right_area .priest_swiper .swiper-slide .in .info .year{
    letter-spacing: 0.6px;
    color: #6A646A;
    font-size: 12px;
    font-weight: 400;
}
.slider_set .right_area .no_data_area{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-right: 185px;
}
.slider_set .right_area .no_data_area .mark{

}
.slider_set .right_area .no_data_area p{
    text-align: center;
    margin-top: 17px;
    letter-spacing: -0.8px;
    color: #B29F92;
    font-size: 16px;
    font-weight: 500;
}
.slider_set .deco_sct{
    position: absolute;
    top: 0;
    left: 3%;
    transform: translateY(-24%);
}
.slider_set .deco_sct img{
    width: 100%;
    height: 100%;
}
@media screen and ( max-width: 1300px ) {
    .slider_set{
        margin-left: -40px;
        width: calc(100% + 80px);
        padding-left: 40px;
        margin-top: 20px;
    }
    .slider_set .slider_wrap{
        width: calc(100% - 40px);
        flex-direction: column;
        padding: 40px 40px;
        min-height: auto;
    }

    .slider_set .left_area{
        width: 100%;
        padding-right: 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .slider_set .left_area .text_a{

    }
    .slider_set .left_area .text_a br{
        display: none;
    }
    .slider_set .right_area{
        width: 100%;
        padding: 0;
        width: calc(100% + 160px);
        margin-left: -80px;
        padding-left: 80px;
        /* padding-right: 40px; */
    }
    .slider_set .left_area .btn_a{
        justify-content: flex-end;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .slider_set .deco_sct{
        width: 135px;
    }
    .slider_set .right_area .no_data_area{
        padding-right: 0;
        padding-bottom: 30px;
    }
    .slider_set .right_area .priest_swiper{
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 0;
    }
    .slider_set .right_area .priest_swiper .swiper-slide .in .img{
   
    }
}
@media screen and ( max-width: 1024px ) {
    .slider_set .left_area .text_a{
        font-size: 25px;
    }
}
@media screen and ( max-width: 767px ) {
    .slider_set{
        margin-left: -15px;
        width: calc(100% + 30px);
        padding-left: 15px;
    }
    .slider_set .slider_wrap{
        width: calc(100% - 15px);
        flex-direction: column;
        padding: 15px 15px;
        min-height: auto;
        padding-bottom: 30px;
    }
    .slider_set .left_area{
        margin-bottom: 10px;
        align-items: flex-end;
        margin-top: 50px;
    }
    .slider_set .left_area .text_a{
        font-size: 24px;
        padding-right: 30px;
        padding-left: 10px;
    }
    .slider_set .right_area{
        width: 100%;
        padding: 0;
        width: calc(100% + 60px);
        margin-left: -30px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .slider_set .right_area .priest_swiper .swiper-slide .in{
        max-width: 115px;
    }
    .slider_set .left_area .btn_a{
        padding-right: 5px;
    }
    .slider_set .left_area .text_a .color{
        display: block;
        display: inline-block;
    }
    .slider_set .left_area .btn_a button{
        width: 25px;
        height: 25px;
    }
}
@media screen and ( max-width: 460px ) {
    .slider_set .deco_sct{
        left: 50%;
        transform: translateX(-50%) translateY(-23% );
    }
    .slider_set .left_area{
        margin-top: 20px;
    }
    .slider_set .left_area .text_a .color{
        display: block;
    }
}








.btn_set{
    margin-top: 40px;
}
.btn_set ul{
    display: flex;
}
.btn_set ul li{
    flex: 1;
    border-right: 1px solid transparent;
    border-left: 1px solid #E5E5E5;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    background-color: #F1F7F3;
}
.btn_set ul li:first-of-type{
    border-radius: 800px 0px 0px 800px;
    padding-left: 10px;
}
.btn_set ul li:last-of-type{
    border-radius: 0px 800px 800px 0px;
    border-right: 1px solid #E5E5E5;
    padding-right: 10px;
}
.btn_set ul li button{
    width: 100%;
    height: 100%;
    padding-top: 7px;
    padding-bottom: 10px;
    font-size: 16px;
    letter-spacing: -0.96px;
    color: #807980;
}
.btn_set ul li.active{
    background-color: #2E8B57;
    border: 1px solid #246B43;
}
.btn_set ul li.active button{
    color: #fff;
}
@media screen and ( max-width: 1300px ) {
    .btn_set_scroll{
        width: calc(100% + 80px);
        margin-left: -40px;
        padding-left: 40px;
        overflow-x: auto;
    }
    .btn_set{
        width: 100%;
    }
    .btn_set ul{
        min-width: 720px;
        padding-left: 0px;
        padding-right: 40px;
    }
    .btn_set ul li button{
        font-size: 15px;
    }
}
@media screen and ( max-width: 767px ) {
    .btn_set_scroll{
        width: calc(100% + 30px);
        margin-left: -15px;
        padding-left: 15px;
        overflow: auto;
    } 
    .btn_set ul{
        padding-left: 0px;
        padding-right: 15px;
    }
    .btn_set ul li button{
        padding-top: 8px;
        padding-bottom: 9px;
    }
}
@media screen and ( max-width: 720px ) {
    .btn_set_scroll{
        padding-right: 15px;
    } 
}













