/* 영문 홈페이지 프로그램 화면 (진료과, 의료진, 진료시간표, 콜백 전화예약) 보조 스타일 */

/* 빈 목록 안내 */
.sub_content.engp .engp_empty, .engp_layer .engp_empty { padding: 60px 20px; font-size: 18px; text-align: center; color: #666; background: #f5f5f5; border-radius: 16px; }

/* 진료과 목록: 영문 이름이 길어 두 줄까지 칸 안에 표시 */
.sub_content.engp .jr_cell_wrap { display: flex; flex-wrap: wrap; }
.sub_content.engp .jr_cell_wrap .jr_cell { height: auto; min-height: 120px; padding: 16px 8px 12px; font-size: 15px; line-height: 18px; letter-spacing: -0.02em; word-break: keep-all; }
.sub_content.engp .jr_cell_wrap .jr_cell img { margin-bottom: 12px; }

/* 진료과 영문 소개 (줄바꿈 유지) */
.sub_content.engp .engp_intro { white-space: pre-line; }

/* 의료진 찾기 검색 구분 버튼 (영문 글자 길이) */
.sub_content.engp .flex_search .bg_option .opt_02 { width: auto; min-width: 82px; padding: 0 14px; white-space: nowrap; }

/* 진료시간표: 진료과 버튼 두 줄, 이름과 진료과 줄바꿈 */
.sub_content.engp .schedule_search_bottom > ul > li > a { height: 100%; min-height: 46px; padding: 6px 8px;font-size: 15px; line-height: 1.2; text-align: center; word-break: keep-all; }
.sub_content.engp .schedule_info_txt > p { flex-wrap: wrap; row-gap: 6px; line-height: 1.15; }

/* 콜백 전화예약 단계 (국문 콜백 전화예약 화면 안 스타일과 같음) */
.engp_appointment .signup { margin-bottom: 30px; }
.engp_appointment .signup_4step { max-width: 100% !important; justify-content: center !important; flex-wrap: wrap; gap: 10px; }
.engp_appointment .signup_4step_cell { margin: 0 22px; }
.engp_appointment .signup_4step_cell:nth-child(1) { background-color: #2276d2 !important; }
.engp_appointment .signup_4step_cell:nth-child(2) { background-color: #2893b1 !important; }
.engp_appointment .signup_4step_cell:nth-child(3) { background-color: #31a19d !important; }
.engp_appointment .signup_4step_cell:nth-child(4) { background-color: #2e9333 !important; }
.engp_appointment .ovf_textWrap .font-blue { color: rgb(38, 119, 187); }
/* 안내 문구가 두 줄이 될 수 있어 높이 자동 */
.sub_content.engp_appointment .info_box span { height: auto; }
/* 영문 공통 버튼 초기화로 빠진 테두리, 버튼 글자 한 줄 */
.engp_appointment .captcha_reset_btn { border: 1px solid #333; }
.sub_content.engp_appointment .bottom_btns button { width: auto; min-width: 120px; padding-left: 16px; padding-right: 16px; white-space: nowrap; }

/* 의료진 상세 레이어 */
.engp_layer { display: none; position: fixed; inset: 0; z-index: 1000; padding: 40px 20px; overflow-y: auto; background: rgba(0, 0, 0, 0.6); }
.engp_layer.on { display: block; }
.engp_layer .engp_layer_box { position: relative; max-width: 1200px; margin: 0 auto; padding: 60px 40px 40px; background: #fff; border-radius: 16px; }
.engp_layer .engp_layer_close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; }
.engp_layer .engp_layer_close::before, .engp_layer .engp_layer_close::after { content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 2px; background: #333; }
.engp_layer .engp_layer_close::before { transform: translate(-50%, -50%) rotate(45deg); }
.engp_layer .engp_layer_close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.engp_layer .engp_layer_cont.sub_content { width: auto; max-width: none; margin: 0; padding: 0; }
.engp_layer .doctor_detail_box_info .engp_dept { margin-top: 10px; font-size: 18px; line-height: 24px; color: #666; }
.engp_layer .doctor_detail_box_info .engp_rank { margin-top: 8px; font-size: 15px; line-height: 22px; color: #666; white-space: pre-line; }
html.engp_noscroll { overflow: hidden; }

@media (max-width: 767px) {
	.sub_content.engp .engp_empty, .engp_layer .engp_empty { padding: 40px 16px; font-size: 16px; }
	.engp_appointment .signup_4step_cell { margin: 0; margin-bottom: 30px !important; }
	.sub_content.engp_appointment .bottom_btns button { width: 100%; }
	.engp_layer { padding: 0; }
	.engp_layer .engp_layer_box { min-height: 100%; padding: 56px 16px 24px; border-radius: 0; }
}
