/* ==========================================================================
   코스콤 힐링 포레스트 - 모바일 우선
   ========================================================================== */

:root {
	--kc-green: #1e5b4a;
	--kc-green-dark: #16483a;
	--kc-lime: #7fb52c;
	--kc-orange: #e8722c;
	--kc-bg: #f3f0e8;
	--kc-text: #23272a;
	--kc-muted: #6d7379;
	--kc-line: #dcd9d0;
	--kc-error: #c0392b;
	--kc-max: 640px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: #fff;
	color: var(--kc-text);
	font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--kc-green); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

.site { max-width: var(--kc-max); margin: 0 auto; background: #fff; }

.wrap { padding: 0 20px; }
.wrap--narrow { max-width: 640px; margin: 0 auto; }
.page-content { padding: 32px 20px 64px; }

/* --------------------------------------------------------------------------
   메인 - 이미지 3장
   -------------------------------------------------------------------------- */

.koscom-main { display: block; }

.koscom-slice { margin: 0; }

/* 히어로와 행사안내 카드 사이 여백 */
.koscom-slice--main1 { padding-top: 50px; }

.koscom-slice__inner {
	position: relative;
	line-height: 0;
}

.koscom-slice__img { width: 100%; }

/* 이미지 위 투명 핫스팟 버튼 */
.koscom-hotspot {
	position: absolute;
	display: block;
	border-radius: 999px;
	text-indent: -9999px;
	-webkit-tap-highlight-color: transparent;
	transition: box-shadow .2s ease, transform .12s ease;
}

.koscom-hotspot:hover,
.koscom-hotspot:focus-visible {
	
	outline: none;
}

.koscom-hotspot:active { transform: scale(.985); }

/* 모바일 하단 고정 CTA — 현재 사용 안 함 (메인 이미지의 참가신청 버튼으로 대체) */
.koscom-cta-mobile {
	display: none;
	position: sticky;
	bottom: 0;
	z-index: 20;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%);
}

/* --------------------------------------------------------------------------
   버튼
   -------------------------------------------------------------------------- */

.koscom-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--kc-green);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}

.koscom-btn:hover,
.koscom-btn:focus { background: var(--kc-green-dark); color: #fff; }
.koscom-btn:disabled { background: #9aa5a1; cursor: not-allowed; }
.koscom-btn--full { width: 100%; }

/* --------------------------------------------------------------------------
   참가신청 페이지
   -------------------------------------------------------------------------- */

/* 모바일: 화면 꽉 채우는 풀블리드. 라운드/상단 여백 없음 */
.apply {
	padding: 0 0 60px;
	max-width: 720px;
	margin: 0 auto;
	border-radius: 0;
}

.apply__head {
	padding: 20px 20px 24px;
	background: var(--kc-bg);
	border-bottom: 4px solid var(--kc-lime);
	border-radius: 0;
}

.apply__back {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--kc-muted);
	text-decoration: none;
}

.apply__title {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.35;
	color: var(--kc-green);
}

.apply__title span { font-size: 28px; font-weight: 800; }

.apply__meta { margin: 0; padding: 0; list-style: none; font-size: 14px; color: #444; }
.apply__meta li { padding: 3px 0; }
.apply__meta b {
	display: inline-block;
	min-width: 44px;
	margin-right: 8px;
	padding: 1px 8px;
	border-radius: 4px;
	background: var(--kc-orange);
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.apply__form { padding: 0 20px; }

.apply__alert {
	margin: 20px 20px 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: var(--kc-error);
	font-size: 14px;
}
.apply__alert ul { margin: 6px 0 0; padding-left: 18px; }
.apply__form .apply__alert { margin: 20px 0 0; }

.apply__notice {
	margin: 24px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: #eef4ec;
	color: var(--kc-green-dark);
	font-size: 13px;
	font-weight: 600;
}

.apply__submit { margin-top: 20px; }

.apply__done {
	margin: 26px 0 0;
	padding: 40px 24px 34px;
	border: 1px solid var(--kc-line);
	border-radius: 14px;
	background: #fafaf8;
	text-align: center;
}
.apply__done h2 {
	position: relative;
	margin: 0 0 10px;
	padding-top: 14px;
	font-size: 20px;
	color: var(--kc-green);
}
.apply__done h2::before {
	content: '';
	position: absolute;
	top: 0; left: 50%;
	width: 40px; height: 3px;
	margin-left: -20px;
	border-radius: 2px;
	background: var(--kc-lime);
}
.apply__done p { margin: 0 0 24px; color: var(--kc-muted); font-size: 14.5px; line-height: 1.7; }
.apply__done p b { color: var(--kc-text); }
.apply__done-sub {
	display: block;
	margin-top: 14px;
	color: var(--kc-muted);
	font-size: 14px;
	text-decoration: none;
}

/* 허니팟 */
.koscom-hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   폼 요소
   -------------------------------------------------------------------------- */

.fs {
	margin: 24px 0 0;
	padding: 18px 16px;
	border: 1px solid var(--kc-line);
	border-radius: 12px;
}

.fs.is-error { border-color: var(--kc-error); background: #fffafa; }

.fs > legend {
	padding: 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--kc-green);
}

legend em, label em { color: var(--kc-orange); font-style: normal; }

.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }

.field > label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"],
.child-row input {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1px solid var(--kc-line);
	border-radius: 10px;
	background: #fff;
	font-size: 16px; /* iOS 자동 확대 방지 */
	font-family: inherit;
	color: inherit;
}

.field input:focus,
.child-row input:focus {
	outline: none;
	border-color: var(--kc-green);
	box-shadow: 0 0 0 3px rgba(30, 91, 74, .12);
}

.field.is-error input { border-color: var(--kc-error); }

.hint { margin: 6px 0 0; font-size: 13px; color: var(--kc-muted); }
.hint--strong { color: var(--kc-green-dark); font-weight: 600; }
.err { margin: 6px 0 0; font-size: 13px; color: var(--kc-error); font-weight: 600; }

/* 라디오 / 체크 */
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice--col { flex-direction: column; gap: 8px; }

.choice__item {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid var(--kc-line);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	cursor: pointer;
}

.choice--col .choice__item { flex: none; }

.choice__item input { width: 20px; height: 20px; accent-color: var(--kc-green); flex: none; }

.choice__item:has(input:checked) {
	border-color: var(--kc-green);
	background: #eef4ec;
	font-weight: 600;
}

.choice__item.is-disabled {
	opacity: .45;
	cursor: not-allowed;
	background: #f6f6f4;
}

.choice__item.is-locked {
	border-color: var(--kc-green);
	background: #eef4ec;
}

.choice__item--block { align-items: flex-start; padding: 14px; }
.choice__item--block span { display: block; }
.choice__item--block b { display: block; font-size: 15px; }
.choice__item--block small { display: block; margin-top: 2px; font-size: 13px; color: var(--kc-muted); font-weight: 400; }

/* 조건부 영역 */
.cond {
	margin-top: 14px;
	padding: 14px;
	border-radius: 10px;
	background: #f7f7f4;
}

.child-row {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}
.child-row__no {
	grid-row: span 2;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--kc-green);
	color: #fff;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
}

/* 개인정보 동의 */
.privacy {
	max-height: 220px;
	overflow-y: auto;
	padding: 14px;
	border: 1px solid var(--kc-line);
	border-radius: 10px;
	background: #fafaf8;
	font-size: 13px;
	line-height: 1.7;
	-webkit-overflow-scrolling: touch;
}
.privacy__lead { margin: 0 0 10px; }
.privacy__list { margin: 0; padding-left: 18px; }
.privacy__list li { margin-bottom: 6px; }

.agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	padding: 14px;
	border: 1px solid var(--kc-green);
	border-radius: 10px;
	background: #eef4ec;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.agree input { width: 20px; height: 20px; flex: none; accent-color: var(--kc-green); }

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */

.site-footer {
	padding: 28px 0 36px;
	background: var(--kc-green);
	color: rgba(255,255,255,.85);
	font-size: 13px;
	text-align: center;
}
.site-footer__brand { margin: 0 0 6px; font-weight: 600; color: #fff; }
.site-footer__copy { margin: 0; font-size: 12px; opacity: .75; }

/* --------------------------------------------------------------------------
   PC
   -------------------------------------------------------------------------- */

@media (min-width: 700px) {
	.site { max-width: 100%; box-shadow: 0 0 40px rgba(0,0,0,.06); }

	/* PC 에서만 카드 형태 (상단 여백 + 라운드) */
	.apply {
		padding: 30px 0 60px;
		border-radius: 10px;
	}
	.apply__head { border-radius: 12px 12px 0 0; }

	.apply__title { font-size: 26px; }
	.apply__title span { font-size: 34px; }
	.koscom-cta-mobile { display: none; }
}

/* ==========================================================================
   Contact Form 7 오버라이드
   ========================================================================== */

.apply__body { padding: 0 20px; }

.apply .wpcf7 { margin: 0; }
.apply .wpcf7-form { margin: 0; }

/* CF7 기본 p 여백 제거 — 단, 자체 클래스가 붙은 문단은 제외 */
.apply .wpcf7-form p { margin: 0; }
.apply .wpcf7-form p.apply__notice { margin: 24px 0 0; }
.apply .wpcf7-form p.apply__notice + .fs { margin-top: 16px; }
.apply .wpcf7-form p.hint { margin: 6px 0 0; }

/* 입력 래퍼 */
.apply .wpcf7-form-control-wrap { display: block; position: relative; }

.apply .wpcf7-form-control.wpcf7-text,
.apply .wpcf7-form-control.wpcf7-tel,
.apply .wpcf7-form-control.wpcf7-number,
.apply .wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1px solid var(--kc-line);
	border-radius: 10px;
	background: #fff;
	font-size: 16px;               /* iOS 자동 확대 방지 */
	font-family: inherit;
	color: inherit;
}

.apply .wpcf7-form-control.wpcf7-textarea { min-height: 110px; resize: vertical; }

.apply .wpcf7-form-control:focus {
	outline: none;
	border-color: var(--kc-green);
	box-shadow: 0 0 0 3px rgba(30, 91, 74, .12);
}

.apply .wpcf7-not-valid { border-color: var(--kc-error) !important; }

.apply .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--kc-error);
}

/* 라디오 / 체크박스 */
.apply .wpcf7-radio,
.apply .wpcf7-checkbox,
.apply .wpcf7-acceptance {
	display: block;
}

.apply .wpcf7-list-item {
	display: block;
	margin: 0 0 8px;
}
.apply .wpcf7-list-item:last-child { margin-bottom: 0; }

.apply .wpcf7-list-item > label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid var(--kc-line);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	cursor: pointer;
	transition: border-color .12s ease, background .12s ease;
}

.apply .wpcf7-list-item input[type="radio"],
.apply .wpcf7-list-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 3px !important;
	flex: none;
	accent-color: var(--kc-green);
}

.apply .wpcf7-list-item-label { flex: 1; }

.apply .wpcf7-list-item > label:has(input:checked) {
	border-color: var(--kc-green);
	background: #eef4ec;
	font-weight: 600;
}

.apply .wpcf7-list-item.is-disabled > label {
	opacity: .45;
	cursor: not-allowed;
	background: #f6f6f4;
}

.apply .wpcf7-list-item.is-locked > label {
	border-color: var(--kc-green);
	background: #eef4ec;
	font-weight: 600;
}

/* O / X 2지선다 가로 배치 */
.choice--row .wpcf7-radio { display: flex; gap: 10px; }
.choice--row .wpcf7-list-item { flex: 1 1 0; margin: 0; }

/* 동의 체크 */
.agree-box .wpcf7-list-item > label {
	margin-top: 10px;
	border-color: var(--kc-green);
	background: #eef4ec;
	font-weight: 600;
	font-size: 14px;
}

/* 응답 메시지 */
.apply .wpcf7 form .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	border-width: 1px;
	font-size: 14px;
}
.apply .wpcf7 form.invalid .wpcf7-response-output,
.apply .wpcf7 form.unaccepted .wpcf7-response-output,
.apply .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #f5c6c0;
	background: #fdecea;
	color: var(--kc-error);
}
.apply .wpcf7 form.sent .wpcf7-response-output {
	border-color: #bcd9c6;
	background: #eef4ec;
	color: var(--kc-green-dark);
}

/* 제출 버튼 */
.apply .wpcf7-submit {
	display: block;
	width: 100%;
	min-height: 56px;
	margin-top: 24px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--kc-green);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}
.apply .wpcf7-submit:hover { background: var(--kc-green-dark); }
.apply .wpcf7-submit:disabled { background: #9aa5a1; cursor: not-allowed; }

.apply .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* 자녀 입력 행 (CF7 버전) --------------------------------------------------
   CF7 autop 을 꺼도 테마/플러그인이 <p>·<br> 을 끼워 넣는 경우가 있어
   display:contents 로 무력화해서 그리드가 항상 유지되게 함. */

.child-row--cf7 {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}

.child-row--cf7 p { margin: 0; display: contents; }
.child-row--cf7 br { display: none; }

.child-row--cf7 .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}

.child-row--cf7 .wpcf7-form-control.wpcf7-text {
	min-height: 46px;
	padding: 8px 12px;
}

.child-row__no {
	display: block;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--kc-green);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
	flex: none;
}

/* 자녀 입력칸 유효성 오류 메시지는 행 아래 전체 폭으로 */
.child-row--cf7 .wpcf7-not-valid-tip {
	grid-column: 2 / -1;
	margin-top: 2px;
}

@media (max-width: 560px) {
	.child-row--cf7 {
		grid-template-columns: 26px minmax(0, 1fr);
		row-gap: 6px;
	}
	.child-row__no { grid-row: span 2; align-self: start; margin-top: 10px; }
	.child-row--cf7 .wpcf7-not-valid-tip { grid-column: 2; }
}

/* 조건부 패널 안쪽 여백 정리 */
.cond > .hint:first-child { margin-top: 0; }
.cond > .hint:last-child { margin-bottom: 0; }

/* ==========================================================================
   신청 취소 화면
   ========================================================================== */

.cancel { padding: 24px 0 0; }

.cancel__title {
	margin: 0 0 6px;
	font-size: 20px;
	color: var(--kc-green);
}

.cancel__lead { margin: 0 0 18px; font-size: 15px; color: var(--kc-muted); }

.cancel__list {
	margin: 0 0 18px;
	padding: 4px 0;
	border: 1px solid var(--kc-line);
	border-radius: 12px;
	overflow: hidden;
}
.cancel__list > div {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 10px;
	padding: 11px 16px;
	border-bottom: 1px solid #f0eee8;
	font-size: 15px;
}
.cancel__list > div:last-child { border-bottom: 0; }
.cancel__list dt { margin: 0; color: var(--kc-muted); font-size: 13px; }
.cancel__list dd { margin: 0; font-weight: 600; }

.cancel__warn {
	margin: 0 0 18px;
	padding: 13px 16px;
	border-radius: 10px;
	background: #eef4ec;
	border: 1px solid #cfe0d3;
	color: var(--kc-green-dark);
	font-size: 13px;
	line-height: 1.7;
}
.cancel__warn b { font-weight: 700; }

.cancel__form { margin: 0; }

.koscom-btn--danger { background: var(--kc-error); }
.koscom-btn--danger:hover,
.koscom-btn--danger:focus { background: #a33227; }

.cancel__back {
	display: block;
	margin-top: 14px;
	color: var(--kc-muted);
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}

@media (max-width: 420px) {
	.cancel__list > div { grid-template-columns: 88px 1fr; font-size: 14px; }
}

/* ==========================================================================
   접수 완료 화면 (CF7 성공 후 JS 로 삽입)
   ========================================================================== */

.done-panel {
	padding: 32px 0 8px;
	text-align: center;
	animation: koscom-fade .25s ease;
}

@keyframes koscom-fade {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}

.done-panel__title {
	position: relative;
	margin: 0 0 10px;
	padding-top: 16px;
	font-size: 21px;
	color: var(--kc-green);
}
.done-panel__title::before {
	content: '';
	position: absolute;
	top: 0; left: 50%;
	width: 44px; height: 3px;
	margin-left: -22px;
	border-radius: 2px;
	background: var(--kc-lime);
}

.done-panel__lead {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--kc-muted);
}
.done-panel__lead b { color: var(--kc-text); }

.done-panel__list {
	margin: 0 0 18px;
	padding: 4px 0;
	border: 1px solid var(--kc-line);
	border-radius: 12px;
	text-align: left;
}
.done-panel__list > div {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 10px;
	padding: 11px 16px;
	border-bottom: 1px solid #f0eee8;
	font-size: 14px;
}
.done-panel__list > div:last-child { border-bottom: 0; }
.done-panel__list dt { margin: 0; color: var(--kc-muted); font-size: 13px; }
.done-panel__list dd { margin: 0; font-weight: 600; }

.done-panel__notice {
	margin: 0 0 22px;
	padding: 13px 16px;
	border-radius: 10px;
	background: #eef4ec;
	color: var(--kc-green-dark);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}

.done-panel__cancel {
	padding: 18px 16px;
	border: 1px dashed var(--kc-line);
	border-radius: 12px;
	background: #fafaf8;
}
.done-panel__cancel-label { margin: 0 0 10px; font-size: 14px; color: var(--kc-muted); }
.done-panel__cancel-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--kc-error);
	border-radius: 999px;
	color: var(--kc-error);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.done-panel__cancel-link:hover { background: var(--kc-error); color: #fff; }
.done-panel__cancel-note { margin: 10px 0 0; font-size: 12px; color: var(--kc-muted); }

.done-panel__home {
	display: inline-block;
	margin: 22px 0 0;
	color: var(--kc-muted);
	font-size: 14px;
	text-decoration: none;
}

@media (max-width: 420px) {
	.done-panel__list > div { grid-template-columns: 88px 1fr; }
}

/* ==========================================================================
   신청 조회 / 취소 링크 재발송
   ========================================================================== */

.apply__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.apply__back { margin-bottom: 0; }

.apply__find {
	font-size: 13px;
	font-weight: 600;
	color: var(--kc-green);
	text-decoration: none;
	border-bottom: 1px solid rgba(30, 91, 74, .35);
	white-space: nowrap;
}

.koscom-find-link {
	margin: 0;
	padding: 0 20px 26px;
	background: transparent;
	color: rgba(255, 255, 255, .9);
	font-size: 14px;
	text-align: center;
}
.koscom-find-link a {
	margin-left: 4px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.find { padding: 26px 0 0; }

.find__title { margin: 0 0 8px; font-size: 20px; color: var(--kc-green); }

.find__lead {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--kc-muted);
}
.find__lead b { color: var(--kc-text); }

.find__alert {
	margin: 0 0 16px;
	padding: 13px 16px;
	border-radius: 10px;
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: var(--kc-error);
	font-size: 14px;
	font-weight: 600;
}

.find__form {
	padding: 18px 16px;
	border: 1px solid var(--kc-line);
	border-radius: 12px;
}
.find__form .field { margin-bottom: 14px; }
.find__form .koscom-btn { margin-top: 4px; }

.find__note {
	margin: 16px 0 0;
	padding: 13px 16px;
	border-radius: 10px;
	background: #f7f7f4;
	color: var(--kc-muted);
	font-size: 12.5px;
	line-height: 1.7;
}
.find__note b { color: var(--kc-text); }

.find__back {
	display: block;
	margin-top: 18px;
	color: var(--kc-muted);
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}

/* 조회 폼 — 문자 재발송 보조 액션 */
.find__alt {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--kc-muted);
	text-align: center;
	line-height: 1.7;
}

.find__alt-btn {
	display: inline;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(30, 91, 74, .4);
	background: none;
	color: var(--kc-green);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.find__alt-btn:hover { color: var(--kc-green-dark); }

.find__form .hint { margin-top: 6px; }

/* ==========================================================================
   신청 폼 하단 — 신청 확인 · 취소
   ========================================================================== */

.apply__foot {
	margin: 28px 0 0;
	padding: 20px 16px;
	border: 1px dashed var(--kc-line);
	border-radius: 12px;
	background: #fafaf8;
	text-align: center;
}

.apply__foot-label {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--kc-text);
}

.apply__foot-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 1px solid var(--kc-green);
	border-radius: 999px;
	background: #fff;
	color: var(--kc-green);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.apply__foot-btn:hover,
.apply__foot-btn:focus {
	background: var(--kc-green);
	color: #fff;
}

.apply__foot-note {
	margin: 12px 0 0;
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--kc-muted);
}

/* ==========================================================================
   폼 검증 오류 요약
   ========================================================================== */

.apply__errors {
	margin: 20px 0;
	padding: 16px 18px;
	border: 1px solid #f0b8b1;
	border-left: 4px solid var(--kc-error);
	border-radius: 10px;
	background: #fdecea;
	color: var(--kc-error);
	animation: koscom-fade .2s ease;
}

.apply__errors-title {
	margin: 0 0 8px !important;
	font-size: 15px;
	font-weight: 700;
}

.apply__errors ul {
	margin: 0;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.75;
}

.apply__errors li { margin-bottom: 3px; }
.apply__errors li:last-child { margin-bottom: 0; }
.apply__errors b { color: #8a2424; }

/* 버스 노선의 마지막 '해당 없음' 옵션 — 자차 이용자용 자리표시라 화면에서는 감춤 */
[data-bus-panel] .wpcf7-radio .wpcf7-list-item:last-child { display: none; }

/* --------------------------------------------------------------------------
   메인(프론트) - 히어로는 화면 전체 폭, 나머지는 840px 중앙 배열
   바깥 여백에는 배경색이 그대로 보인다.
   -------------------------------------------------------------------------- */

body.home {
	background: #7fb52c;
}

/* 래퍼는 전체 폭 + 투명 — 흰 배경이 화면을 덮으면 바깥 배경색이 안 보임 */
body.home .site {
	max-width: 100%;
	background: transparent;
	box-shadow: none;
}

/* 히어로 : 화면 전체 폭 */
.koscom-hero { margin: 0; line-height: 0; }
.koscom-hero__img { width: 100%; height: auto; display: block; }

/* 히어로를 뺀 나머지 : 1200px 이하 중앙 정렬 */
.koscom-main > *:not(.koscom-hero) {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* 푸터 텍스트도 본문과 같은 폭에 맞춤 */
body.home .site-footer .wrap {
	max-width: 1200px;
	margin: 0 auto;
}

/* 모바일 : 히어로를 가운데 기준으로 잘라서 로고 영역만 보이게 */
@media (max-width: 699px) {
	.koscom-hero__img {
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: center center;
	}
}

/* --------------------------------------------------------------------------
   행사 정보 목록의 안내 줄 (정보 변경 = 취소 후 재신청)
   -------------------------------------------------------------------------- */

.apply__meta-note {
	margin-top: 6px;
	padding-top: 9px !important;
	border-top: 1px dashed rgba(0, 0, 0, .12);
	color: var(--kc-green-dark);
	font-weight: 600;
}
.apply__meta-note b { background: #2f6fd0; }

/* 자녀 주민번호 즉시 안내 */
.koscom-inline-tip {
	display: block;
	margin: 6px 0 0;
	color: var(--kc-error);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}
.apply .wpcf7-form input.koscom-input-error {
	border-color: var(--kc-error);
	background: #fffafa;
}

/* legend 안 부가 설명 */
.apply .fs legend .legend-sub {
	margin-left: 6px;
	color: var(--kc-muted);
	font-size: 12px;
	font-weight: 500;
}
