@charset "utf-8";
/* =========================================================
   엄마청소년수련원 (youth/01 소개, 02 프로그램 일정표, 03 수련활동 인증서)
   시안: design/youth/03_01 ~ 03_03 (PC). 본문 폭 1280, 모바일 768 이하
   ========================================================= */

/* ---------- 공통 ---------- */
#sub_tit .title { font-size: 2.6em; letter-spacing: -0.5px; text-transform: none; }
#sub_tit .normal_txt { display: none; }
/* 서브비주얼: 시안대로 사진 없는 연회색 (전역 header.css/js 의 sv_grey 처리, theme.subtop.php 참고) */

.scontents.yt_page .eng { font-size: 2.3em; font-weight: 700; color: #222; letter-spacing: -1px; }
.scontents.yt_page .eng em { display: none; }
.scontents.yt_page .stitle { font-size: 1.1em; line-height: 1.7; color: #666; margin: 14px 0 0; letter-spacing: -0.3px; }
.scontents.yt_page .stitle:after { display: none; }
.yt_divider { display: block; width: 46px; height: 1px; background: #d0d0d0; margin: 34px auto 0; }
.yt_inner { max-width: 1280px; margin: 60px auto 0; padding: 0 20px; text-align: left; } /* 하단 여백은 테마 .scontents padding(80px/모바일 50px) 공통 */

.yt_tel { display: table; margin: 18px auto 0; /* 가운데 정렬 */ padding: 8px 14px; background: #efefef; font-size: 1.05em; font-weight: 700; color: #222; letter-spacing: -0.3px; }
.yt_tel a { color: #222; }

.yt_ph { width: 100%; height: 100%; background: #efefef url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='40' viewBox='0 0 48 40'><rect x='1' y='1' width='46' height='38' rx='3' fill='none' stroke='%23c9c9c9' stroke-width='2'/><circle cx='15' cy='14' r='4' fill='%23c9c9c9'/><path d='M6 33l11-12 8 9 6-6 11 9z' fill='%23c9c9c9'/></svg>") no-repeat center; }
.yt_empty { padding: 80px 0; text-align: center; color: #888; font-size: 1.05em; }

@media (max-width: 768px) {
	.yt_inner { margin-top: 36px; padding: 0 16px; }
	.scontents.yt_page .eng { font-size: 1.7em; }
	.scontents.yt_page .stitle { font-size: 0.98em; }
}

/* =========================================================
   01 소개
   ========================================================= */
.yt_hash { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin: 0 0 24px; padding: 0; list-style: none; }
.yt_hash li { padding: 0 16px; font-size: 0.95em; color: #333; letter-spacing: -0.3px; border-left: 1px solid #ccc; white-space: nowrap; }
.yt_hash li:first-child { border-left: 0; }

.yt_aerial { width: 100%; aspect-ratio: 1280 / 720; overflow: hidden; margin-bottom: 70px; }
.yt_aerial img { display: block; width: 100%; height: 100%; object-fit: cover; }

.yt_intro { text-align: center; }
.yt_intro p { margin: 0 0 34px; font-size: 1.08em; line-height: 1.9; color: #444; letter-spacing: -0.3px; }
.yt_intro p:last-child { margin-bottom: 0; }
.yt_intro + .yt_divider { margin: 40px auto 70px; }

.yt_map { background: #f4f4f4; border-radius: 6px; overflow: hidden; }
.yt_map > img { display: block; width: 100%; height: auto; }
.yt_map_legend { padding: 34px 40px 44px; background: #fafafa; }
.yt_map_legend h3 { margin: 0 0 26px; text-align: center; font-size: 1.8em; font-weight: 700; color: #222; letter-spacing: -0.5px; }
.yt_map_legend h3 span { font-weight: 300; color: #666; }
.yt_legend_cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; max-width: 980px; margin: 0 auto; }
.yt_legend_cols ul { margin: 0; padding: 0; list-style: none; }
.yt_legend_cols li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed #d5d5d5; font-size: 1.02em; color: #333; letter-spacing: -0.3px; }
.yt_legend_cols li i { flex: 0 0 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #666; color: #fff; font-size: 0.78em; font-style: normal; font-weight: 700; text-align: center; }

@media (max-width: 768px) {
	.yt_hash { gap: 6px 0; }
	.yt_hash li { padding: 0 10px; font-size: 0.85em; }
	.yt_aerial { aspect-ratio: 4 / 3; margin-bottom: 40px; }
	.yt_intro p { font-size: 0.98em; }
	.yt_intro p br { display: none; }
	.yt_intro + .yt_divider { margin: 30px auto 40px; }
	.yt_map_legend { padding: 24px 16px 28px; }
	.yt_map_legend h3 { font-size: 1.35em; margin-bottom: 16px; }
	.yt_legend_cols { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
	.yt_legend_cols li { font-size: 0.92em; }
}

/* =========================================================
   02 프로그램 일정표
   ========================================================= */
.yt_tabs { display: flex; margin: 0 0 60px; padding: 0; list-style: none; border: 1px solid #222; }
.yt_tabs li { flex: 1; padding: 15px 10px; text-align: center; cursor: pointer; font-size: 1.02em; font-weight: 700; color: #222; letter-spacing: -0.3px; border-left: 1px solid #222; transition: background 0.2s, color 0.2s; }
.yt_tabs li:first-child { border-left: 0; }
.yt_tabs li:hover { background: #f5f5f5; }
.yt_tabs li.on { background: #7b0f23; color: #fff; }

.yt_tt_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.yt_tt_grid--single { grid-template-columns: minmax(0, 720px); justify-content: center; }

/* 식단표 */
.yt_menu h3 { margin: 0 0 18px; font-size: 1.25em; font-weight: 700; color: #222; letter-spacing: -0.5px; }
.yt_menu_tbl { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 2px solid #222; }
.yt_menu_tbl th, .yt_menu_tbl td { padding: 16px 14px; border-bottom: 1px solid #e5e5e5; border-left: 1px solid #eee; font-size: 0.95em; line-height: 1.6; letter-spacing: -0.3px; vertical-align: middle; }
.yt_menu_tbl th:first-child, .yt_menu_tbl td:first-child { border-left: 0; }
.yt_menu_tbl thead th { background: #f5f5f5; color: #222; font-weight: 700; text-align: center; }
.yt_menu_tbl tbody th { width: 90px; background: #fafafa; color: #222; font-weight: 700; text-align: center; }
.yt_menu_tbl td { color: #444; }
.yt_menu_note { margin: 14px 0 0; color: #777; font-size: 0.9em; line-height: 1.6; }
@media (max-width: 768px) { .yt_menu_tbl th, .yt_menu_tbl td { padding: 10px 8px; font-size: 0.85em; } .yt_menu_tbl tbody th { width: 60px; } }
.yt_tt_head { position: relative; margin-bottom: 14px; padding-right: 200px; }
.yt_tt_eng { margin: 0; font-size: 1em; color: #333; letter-spacing: -0.2px; }
.yt_tt_head h3 { margin: 2px 0 0; font-size: 1.25em; font-weight: 700; color: #222; letter-spacing: -0.5px; }
.yt_tt_btns { position: absolute; right: 0; bottom: 0; display: flex; gap: 6px; }
.yt_tt_zoom, .yt_tt_pdf { padding: 7px 12px; border: 1px solid #999; background: #fff; color: #444; font-size: 0.82em; cursor: pointer; border-radius: 3px; white-space: nowrap; }
.yt_tt_zoom:hover, .yt_tt_pdf:hover { border-color: #222; color: #222; }
.yt_tt_pdf:disabled { opacity: .6; cursor: default; }
.yt_menu_head { margin-bottom: 18px; }
.yt_menu .yt_menu_head h3 { margin: 0; }
.yt_imgs_btns { position: static; justify-content: flex-end; margin-bottom: 12px; }
/* PDF 만들 때 화면 밖에 그리는 표 (크게 보기와 같은 모양) */
.yt_pdf_host { position: fixed; left: -12000px; top: 0; }
.yt_pdf_host .yt_tt_popup { width: 1100px; max-width: none; margin: 0; padding: 32px; }
.yt_pdf_host .yt_menu_tbl { min-width: 0; }
.yt_tt_scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 시간표 */
.yt_tt { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; border: 2px solid #ddd; table-layout: fixed; font-size: 0.86em; }
.yt_tt th, .yt_tt td { text-align: center; vertical-align: middle; letter-spacing: -0.3px; line-height: 1.45; }
.yt_tt thead th { padding: 8px 4px; background: #9a9a9a; color: #fff; font-weight: 500; border-left: 2px solid #ddd; }
.yt_tt thead th.yt_tt_time { background: #c9c9c9; border-left: 0; width: 60px; }
.yt_tt tbody th.yt_tt_time { height: 46px; background: #d9d9d9; color: #555; font-weight: 400; font-size: 0.95em; border-top: 2px solid #eee; }
.yt_tt tbody tr:first-child th.yt_tt_time { border-top: 0; }
.yt_tt tbody th.yt_tt_time:nth-of-type(odd) { background: #c9c9c9; }
.yt_tt tbody td { padding: 4px 6px; background: #fff; color: #333; border-left: 2px solid #ddd; border-top: 1px dashed #ccc; }
.yt_tt tbody tr:first-child td { border-top: 0; }
.yt_tt tbody tr { height: 23px; }

.yt_tt_ab { width: 100%; border-collapse: collapse; }
.yt_tt_ab th { padding: 4px; font-weight: 400; color: #333; border-bottom: 1px dashed #ccc; }
.yt_tt_ab th + th, .yt_tt_ab td + td { border-left: 1px dashed #ccc; }
.yt_tt_ab td { padding: 8px 4px; border-bottom: 1px dashed #ccc; }
.yt_tt_ab tr:last-child td { border-bottom: 0; }

.yt_cert_mark { margin: 18px auto 0; text-align: center; line-height: 1.4; }
.yt_cert_mark .yt_cert_badge { display: block; width: 56px; height: 56px; margin: 0 auto 8px; border: 2px solid #777; border-radius: 50%; line-height: 52px; font-weight: 700; color: #555; font-size: 0.95em; }
.yt_cert_mark strong { display: block; color: #222; font-weight: 500; }
.yt_cert_mark em { display: block; margin-top: 6px; font-style: normal; color: #555; font-size: 0.95em; }

/* 확대 팝업 */
.yt_tt_popup { position: relative; width: 92%; max-width: 980px; margin: 20px auto; padding: 24px; background: #fff; overflow-x: auto; }
.yt_tt_popup h3 { margin: 0 0 14px; font-size: 1.2em; font-weight: 700; color: #222; }
.yt_tt_popup .yt_tt { min-width: 820px; font-size: 1em; }
.yt_tt_popup .yt_tt tbody tr { height: 30px; }
.yt_tt_mfp .mfp-close { color: #333; }

/* 이미지로 올린 일정표/식단표 */
.yt_imgs { max-width: 1000px; margin: 0 auto; }
.yt_img { margin: 0 0 30px; text-align: center; }
.yt_img img { display: block; width: 100%; height: auto; border: 1px solid #ddd; }
.yt_img figcaption { margin-top: 10px; font-size: 0.95em; color: #555; letter-spacing: -0.3px; }
.yt_img_hint { margin: 0; text-align: center; font-size: 0.85em; color: #999; }

@media (max-width: 1000px) {
	.yt_tt_grid, .yt_tt_grid--single { grid-template-columns: minmax(0, 1fr); gap: 44px; } /* 1fr 은 표 최소 너비만큼 칸이 커져 화면 밖으로 밀림 → minmax(0,…) 로 칸 안에서 옆으로 밀어 보기 */
}
@media (max-width: 768px) {
	.yt_tabs { margin-bottom: 32px; }
	.yt_tabs li { padding: 12px 2px; font-size: 0.82em; }
	.yt_tt_head { padding-right: 0; padding-bottom: 40px; }
	.yt_tt_zoom, .yt_tt_pdf { padding: 6px 10px; }
	.yt_tt_head h3 { font-size: 1.05em; }
	.yt_tt_popup { width: 100%; margin: 0; padding: 16px 12px; }
}

/* =========================================================
   03 수련활동 인증서
   ========================================================= */
.yt_cert_lead { max-width: 820px; margin: 0 auto 56px; text-align: center; font-size: 1.05em; line-height: 1.8; color: #555; letter-spacing: -0.3px; }
.yt_cert_lead strong { color: #222; }
.yt_cert_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.yt_cert_list li { border: 1px solid #e5e5e5; background: #fff; }
.yt_cert_img { aspect-ratio: 210 / 297; background: #efefef; }
.yt_cert_img a, .yt_cert_img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt_ph--cert { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px; color: #aaa; font-size: 0.9em; }
.yt_cert_body { padding: 34px 24px 36px; text-align: center; }
.yt_cert_body .yt_cert_badge { display: inline-block; padding: 4px 10px; border: 1px solid #7b0f23; color: #7b0f23; font-size: 0.78em; border-radius: 2px; letter-spacing: -0.2px; }
.yt_cert_body h3 { margin: 14px 0 4px; font-size: 1.3em; font-weight: 700; color: #222; letter-spacing: -0.3px; }
.yt_cert_target { margin: 0; color: #555; font-size: 1em; }
.yt_cert_no { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed #ddd; color: #666; font-size: 0.92em; }
.yt_cert_no strong { color: #222; }
@media (max-width: 900px) { .yt_cert_list { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px) { .yt_cert_list { grid-template-columns: 1fr; } .yt_cert_lead { margin-bottom: 32px; font-size: 0.98em; } }

/* 하루짜리(당일) 일정표는 최소 너비 없이 화면 안에 맞춘다 (여러 날 표만 옆으로 밀어 보기) */
.yt_tt.yt_tt--d1, .yt_tt_popup .yt_tt.yt_tt--d1 { min-width: 0; }
