/* Faith Mission: 모든 하위 페이지 모바일 글씨 키우기 (폭 767px 이하에서만 적용) */
@media (max-width:767px){
  html{-webkit-text-size-adjust:100%}
  body{font-size:18px;line-height:1.7}

  /* 여백: 좌우를 줄여 글이 더 넓게 */
  .container,.container-fluid{padding-left:18px;padding-right:18px}
  .row{margin-left:-6px;margin-right:-6px}
  .row>[class*="col"]{padding-left:6px;padding-right:6px}

  /* 상단 경로 · 왼쪽 메뉴 */
  .breadcrumb{font-size:17px;padding:12px 16px}
  .list-group-item{font-size:18px;padding:14px 18px}

  /* 제목 */
  h1,.h1{font-size:32px;line-height:1.3}
  h2,.h2{font-size:28px;line-height:1.3}
  h3,.h3{font-size:24px;line-height:1.35}
  h4,.h4{font-size:21px}
  h5,.h5{font-size:19px}

  /* 본문 */
  p,li,dd,dt,td,th,blockquote,label,.lead,.card-text,.card-body,.panel-body{font-size:18px;line-height:1.75}
  .card-header,.card-title{font-size:19px}
  small,.small,.text-muted{font-size:15px}
  #bo_v_con,#bo_v_con p,#bo_v_con li,#bo_v_con td,#bo_v_con span{font-size:18px;line-height:1.8}
  #bo_v_title,#bo_v_title .bo_v_tit{font-size:26px;line-height:1.4}
  #bo_v_info,#bo_v_info *{font-size:15px}
  #bo_cmt,#bo_vc,#bo_vc p,.cmt_contents{font-size:17px;line-height:1.7}

  /* 게시판 목록(기본 스킨) · 표 */
  #bo_list,#bo_list td,#bo_list th,#bo_list a,.td_subject,.td_subject a{font-size:17px}
  .table td,.table th{padding:12px 8px}
  .bo_tit,.bo_tit a{font-size:18px}
  .td_datetime,.td_num,.td_name,.td_hit,.sv_member{font-size:15px}

  /* 폼 · 버튼 (iOS 확대 방지 16px 이상) */
  input,select,textarea,.form-control{font-size:17px}
  .btn,.btn_b01,.btn_b02,.btn_submit,.btn_cancel{font-size:17px;padding:10px 18px}
  .pg_wrap,.pg_page,.pg_current{font-size:17px}

  /* 푸터 */
  .footer,.footer p,.footer li,.footer a,.footer td{font-size:16px}

  /* 이미지·표가 화면 밖으로 안 나가게 */
  img,iframe,video{max-width:100%;height:auto}
  #bo_v_con table,.table-responsive{display:block;overflow-x:auto}
}

/* board-page 스킨(about, mission 등 고정 페이지)의 고정 폭/작은 글씨 해제 */
@media (max-width:767px){
  .page-contents{font-size:19px;line-height:1.8;min-height:0}
  .page-contents h1{font-size:30px}
  .page-contents h2{font-size:26px}
  .page-contents h3{font-size:22px}
  .page-contents p,.page-contents li,.page-contents td,.page-contents span{font-size:inherit}
  .page-contents .section h2,.page-contents .title-section h2{font-size:30px;padding-top:40px}
  .page-contents .section p:nth-child(3){font-size:16px}
  .page-contents .layout_2col .col1,.page-contents .layout_2col .col2{width:100%;margin-left:0;margin-right:0;float:none}
  .page-contents .box-contents-col2 .col,.page-contents .box-contents-col3 .col{width:100%;float:none}
  .page-contents .box-contents-col3 .col .content p{font-size:18px}
  .page-contents .full-width{width:100%;left:0;margin-left:0}
  .page-category ul{flex-wrap:wrap}
  .page-category ul li a{font-size:18px;padding:10px 12px}
  .page-contents table{display:block;overflow-x:auto}
  .page-contents img{max-width:100%;height:auto}
}

/* 섬기는 이 페이지 (PC·모바일 공통, 클래스 ety-people) */
.ety-people{max-width:980px;margin:0 auto}
.ety-people .ety-ph{float:right;width:44%;margin:4px 0 20px 32px;border-radius:18px;height:auto}
.ety-people .ety-facts p{margin:0 0 10px}
.ety-people ol{padding-left:1.4em;margin:6px 0 24px}
.ety-people ol li{margin-bottom:6px}
.ety-people .ety-clear{clear:both}
@media (max-width:767px){
  .ety-people .ety-ph{float:none;display:block;width:100%;margin:8px 0 24px}
  .ety-people ol{padding-left:1.6em}
}
/* 예전 글처럼 이미지가 input 으로 들어간 경우도 모바일에서는 꽉 차게 */
@media (max-width:767px){
  .page-contents input[type="image"]{float:none!important;display:block;width:100%!important;margin:12px 0!important;height:auto}
}

/* 본문 이미지: 고정 px(width/height) 를 무시하고 화면 폭에 맞춰 비율대로 */
.page-contents img,#bo_v_con img,.view-content img,#bo_v_img img{max-width:100%!important;height:auto!important}
@media (max-width:767px){
  .page-contents img,#bo_v_con img,.view-content img{float:none!important;display:block;margin:12px auto!important}
}
/* 클릭하면 크게 보기 */
.ety-zoomable{cursor:zoom-in}
#etyLb{position:fixed;inset:0;z-index:99999;display:none;background:rgba(0,0,0,.92);overflow:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom}
#etyLb.on{display:block}
#etyLb img{display:block;max-width:100%;max-height:100vh;width:auto;height:auto;margin:0 auto;position:relative;top:50%;transform:translateY(-50%);cursor:zoom-out}
#etyLb button{position:fixed;top:12px;right:14px;z-index:2;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:28px;line-height:1;cursor:pointer}

/* 교회 SNS 영역 (church 페이지): 구역별 카드 */
.ety-sec{max-width:1000px;margin:36px auto 0;border:1px solid #e3e6ea;border-radius:16px;overflow:hidden;background:#fff}
.ety-sec-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 22px;font-size:22px;font-weight:700;border-bottom:1px solid #e3e6ea}
.ety-sec-h a{font-size:16px;font-weight:600;padding:8px 16px;border-radius:999px;color:#fff!important;text-decoration:none!important}
.ety-sec-b{padding:22px;text-align:center}
.ety-sec.web .ety-sec-h{background:#eafaf1;color:#1f8f55}
.ety-sec.web .ety-sec-h a{background:#2ecc71}
.ety-sec.fb .ety-sec-h{background:#eef4ff;color:#1877f2}
.ety-sec.fb .ety-sec-h a{background:#1877f2}
.ety-sec.ig .ety-sec-h{background:#fff1f5;color:#c13584}
.ety-sec.ig .ety-sec-h a{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}
.ety-sec iframe{border:0;max-width:100%}
.ety-fbbox{width:100%;max-width:960px;margin:0 auto;overflow:hidden;border-radius:10px}
.ety-igposts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;justify-items:center}
.ety-igposts iframe{width:100%;max-width:540px;height:620px;border:1px solid #e3e6ea;border-radius:10px}
@media (max-width:767px){
  .ety-sec{margin-top:26px;border-radius:12px}
  .ety-sec-h{padding:14px 16px;font-size:21px}
  .ety-sec-b{padding:12px}
}

/* 인스타 한 장씩 가득 + 좌우 스크롤 */
.ety-igcar{position:relative;max-width:960px;margin:0 auto}
.ety-igtrack{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:10px}
.ety-igtrack::-webkit-scrollbar{display:none}
.ety-igslide{flex:0 0 100%;min-width:100%;scroll-snap-align:center;scroll-snap-stop:always;position:relative;overflow:hidden;background:#fff}
.ety-arr{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.ety-arr.prev{left:10px}.ety-arr.next{right:10px}
.ety-igcnt{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:3;padding:4px 12px;border-radius:999px;background:rgba(0,0,0,.5);color:#fff;font-size:14px}
@media (max-width:767px){.ety-arr{width:38px;height:38px;font-size:24px}}
