@charset "utf-8";
/* =========================================================
   너리굴문화마을 메인(홈) 커스텀 스타일
   시안: /www/design/1. 메인(홈) 시안 (A) PC - 1440px.jpg
   기존 테마 컴포넌트(메인 비주얼 swiper, daon_pic_roll 최신글 스킨)를
   재사용하고, 이 파일에서 시안에 맞춰 레이아웃만 재정비한다.
   ========================================================= */

/* ---------- 메인 비주얼 (design/main/main_hero 시안 실측 기준, @1440px) ----------
   시안 세로 배열: eyebrow(y257) → 밑줄(y310) → 붓글씨(y341~444) → 서브카피(y484~536)
                  → 페이지네이션(y587). 좌측 정렬, x≈160(11%). */

/* 상단 문구 "너르디 너른골" + 밑줄 */
#main_visual .sliderkit-text .c_hero_eyebrow {
	opacity: 0;
	position: relative;
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	letter-spacing: 1px;
	padding-bottom: 20px;   /* 문구 → 밑줄 ≈ 19px */
	margin-bottom: 31px;    /* 밑줄 → 붓글씨 ≈ 31px */
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
#main_visual .sliderkit-text .c_hero_eyebrow::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 222px;
	height: 1px;
	background: rgba(255, 255, 255, 0.9);
}

/* 붓글씨 타이틀 이미지 (시안 폭 498px)
   div.lviewa 로 테마의 line-height:1.3em 를 눌러 공백 텍스트노드 strut 제거. */
#main_visual .sliderkit-text div.lviewa {
	font-size: 0;
	line-height: 0;
	margin-bottom: 40px;    /* 붓글씨 → 서브카피 ≈ 40px */
}
#main_visual .sliderkit-text div.lviewa img {
	display: block;
	width: 498px;
	max-width: 88%;
	height: auto;
}

/* 서브 카피 (2줄, 줄간격 ≈ 32px) */
#main_visual .sliderkit-text div.sviewa {
	margin-top: 0;
	font-size: 21px;
	line-height: 1.5;
	font-weight: 400;
	color: #fff;
	letter-spacing: -0.3px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* PC: 시안처럼 좌측 ≈11% 들여쓰기 + 페이지네이션을 서브카피 아래로 */
@media (min-width: 1201px) {
	#main_visual .sliderkit-text { padding-left: 11%; }

	/* 페이지네이션: 텍스트 블록(세로 중앙)의 아래쪽 + 51px 지점.
	   블록 높이 ≈ 313px → 중앙에서 아래로 약 207px. */
	#main_visual .swiper-container-horizontal > .swiper-pagination-bullets,
	#main_visual .swiper-pagination-bullets {
		top: calc(50% + 207px);
		bottom: auto;
		padding-left: 11%;
		text-align: left;
	}

	/* 첫 화면을 꽉 채운다(시안 1440×840 화면 전체가 히어로). 이미지는 cover 로 넓은·높은 화면 모두 여백 없이. */
	#main_visual,
	#main_visual .swiper-container,
	#main_visual .swiper-wrapper,
	#main_visual .swiper-slide,
	#main_visual .swiper-slide div.backgroundimg {
		height: 100vh;
		height: 100dvh;
		min-height: 560px;
	}
	#main_visual .swiper-slide div.backgroundimg img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

/* ---------- 커스텀 섹션 공통 ---------- */
.c_section {
	padding: 100px 0;
	background: #fff;
}
.c_section .inner {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 20px;
}
.c_section + .c_section {
	border-top: 1px solid #f0f0f0;
}

/* 중앙 정렬 헤딩 (공지사항 / EVENT · PACKAGE) */
.c_head {
	text-align: center;
	margin-bottom: 55px;
}
.c_head h3 {
	font-size: 2.3em;
	font-weight: 700;
	color: #222;
	letter-spacing: -0.5px;
}
.c_head p {
	margin-top: 16px;
	font-size: 1.05em;
	color: #8a8a8a;
	line-height: 1.6;
}

/* ---------- 글이 없을 때 '준비 중' 안내 (EVENT · PACKAGE) ---------- */
.c_empty {
	max-width: 640px;
	margin: 0 auto;
	padding: 56px 24px 52px;
	text-align: center;
	background: #faf7f5;
	border: 1px solid #efe7e3;
	border-radius: 18px;
}
.c_empty_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #fff;
	color: #7b0f23;
	font-size: 26px;
	box-shadow: 0 6px 18px rgba(123, 15, 35, 0.10);
}
.c_empty strong {
	display: block;
	font-size: 1.45em;
	font-weight: 700;
	color: #222;
	letter-spacing: -0.3px;
}
.c_empty strong::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin: 16px auto 0;
	background: #7b0f23;
}
.c_empty p {
	margin-top: 16px;
	font-size: 1em;
	color: #8a8a8a;
	line-height: 1.7;
}
.c_empty p:empty { display: none; }
@media (max-width: 768px) {
	.c_empty { padding: 40px 20px 38px; border-radius: 14px; }
	.c_empty_icon { width: 54px; height: 54px; font-size: 22px; margin-bottom: 16px; }
	.c_empty strong { font-size: 1.2em; }
	.c_empty p { font-size: 0.93em; }
}

/* ---------- 슬라이더 (daon_pic_roll 스킨 마크업 재사용) ---------- */
.c_slider {
	position: relative;
}
.c_slider .swiper-slide {
	height: auto;
}
.c_slider .swiper-slide > a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.c_slider .imgs {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #f2f2f2;
}
.c_slider .imgs img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 20 / 11; /* 공지·이벤트 배너 비율(400x220) */
	object-fit: cover;
	transition: transform .5s ease;
}
.c_slider .swiper-slide:hover .imgs img {
	transform: scale(1.05);
}

/* 텍스트 영역 */
.c_slider .txtBox {
	padding: 20px 4px 0;
}
.c_slider .txtBox strong {
	display: block;
	font-size: 1.15em;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.c_slider .txtBox .txt {
	margin-top: 10px;
	font-size: 0.95em;
	color: #8a8a8a;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.c_slider .txtBox .date {
	display: none;
}

/* 공지사항: 이미지 + 제목 + 본문 2줄 (EVENT/PACKAGE 와 동일 구성) */
.c_slider--notice .imgs img {
	aspect-ratio: 20 / 11;
}

/* ---------- 페이저 (fraction + 원형 화살표) ---------- */
.c_pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-top: 48px;
}
.c_pager .c_arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #d0d0d0;
	background: #fff;
	color: #333;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .2s ease;
	user-select: none;
}
/* 시안의 검정 원형 화살표는 hover 상태 표현 → prev/next 동일하게 hover 시에만 적용 */
.c_pager .c_arrow:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}
.c_pager .c_fraction {
	font-size: 1.05em;
	letter-spacing: 2px;
	color: #bbb;
}
.c_pager .c_fraction .swiper-pagination-current {
	color: #222;
	font-weight: 700;
}

/* Swiper 기본 fraction 위치값 무력화 (인라인 페이저로 사용) */
.c_pager .c_fraction.swiper-pagination-fraction {
	position: static;
	width: auto;
}

/* ---------- 반응형 ---------- */
@media (max-width: 1200px) {
	/* 모바일 시안(MO):
	   - 메인 비주얼을 폰 세로 높이에 꽉 채우고, 이미지는 높이 기준으로 덮어
	     좌우가 화면 밖으로 잘리도록(object-fit: cover) 한다.
	   - 텍스트는 화면 중앙 정렬. */
	#main_visual,
	#main_visual .swiper-container,
	#main_visual .swiper-wrapper,
	#main_visual .swiper-slide,
	#main_visual .swiper-slide div.backgroundimg {
		height: 100vh;
		height: 100dvh;
	}
	#main_visual .swiper-slide div.backgroundimg .mobile_only,
	#main_visual .swiper-slide div.backgroundimg .pc_only { height: 100%; }
	#main_visual .swiper-slide div.backgroundimg .mobile_only img,
	#main_visual .swiper-slide div.backgroundimg .pc_only img,
	#main_visual .swiper-slide div.backgroundimg img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}

	#main_visual .sliderkit-text {
		text-align: center;
		top: 50%;
		bottom: auto;
		transform: translate(-50%, -50%);
	}
	#main_visual .sliderkit-text .c_hero_eyebrow {
		font-size: 20px;
		padding-bottom: 14px;
		margin-bottom: 24px;
	}
	#main_visual .sliderkit-text .c_hero_eyebrow::after {
		left: 50%;
		transform: translateX(-50%);
		width: 150px;
	}
	#main_visual .sliderkit-text div.lviewa { margin-bottom: 24px; }
	#main_visual .sliderkit-text div.lviewa img { width: 280px; max-width: 68vw; margin-left: auto; margin-right: auto; }
	#main_visual .sliderkit-text div.sviewa { font-size: 16px; line-height: 1.5; }
	#main_visual .swiper-pagination-bullets { text-align: center; bottom: 12%; }

	/* 태블릿/모바일: 슬라이더 페이저 좌우 여유 */
	.c_pager { gap: 40px; }
}
@media (max-width: 1024px) {
	.c_section { padding: 80px 0; }
}
@media (max-width: 768px) {
	.c_section { padding: 58px 0; }
	.c_head { margin-bottom: 34px; }
	.c_head h3 { font-size: 1.65em; }
	.c_head p { font-size: 0.95em; }
	#main_visual .sliderkit-text .c_hero_eyebrow { font-size: 17px; padding-bottom: 12px; margin-bottom: 20px; }
	#main_visual .sliderkit-text .c_hero_eyebrow::after { width: 120px; }
	#main_visual .sliderkit-text div.lviewa { margin-bottom: 20px; }
	#main_visual .sliderkit-text div.lviewa img { width: 240px; }
	#main_visual .sliderkit-text div.sviewa { font-size: 14px; margin-top: 0; }
	.c_slider .txtBox strong { font-size: 1.05em; }
	.c_pager { margin-top: 30px; gap: 26px; }
}
@media (max-width: 400px) {
	#main_visual .sliderkit-text div.lviewa img { width: 210px; }
}
