@charset "utf-8";
/* 월별 만들기 (monthly event) */

/* 월 선택 네비게이션 */
.me_month_nav { margin: 30px 0; }
.me_month_nav ul { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.me_month_item { width: 90px; text-align: center; }
.me_month_item a,
.me_month_item .me_month_link { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 10px 4px; width: 90px; min-height: 95px; border: 1px solid #ddd; border-radius: 10px; text-decoration: none; color: #333; transition: all 0.2s ease; box-sizing: border-box; }
.me_month_item a:hover { border-color: #e10000; background: #fff5f5; }
.me_month_item.active a { border-color: #e10000; border-width: 2px; background: #fff; color: #333; font-weight: 700; }
.me_month_item.disabled .me_month_link { opacity: 0.35; cursor: default; }
.me_month_numwrap { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.me_month_num { font-size: 23px; font-weight: 700; line-height: 1.2; }
.me_month_label { font-size: 13px; font-weight: 400; }
.me_month_title { display: block; font-size: 16px; font-weight: 700; margin-top: 6px; color: #666; line-height: 1.3; word-break: keep-all; }
.me_month_item.active .me_month_title { color: #333; }
.me_month_item.disabled .me_month_title { color: #ccc; }

/* 타이틀 바 */
.me_title_bar { background: #333; padding: 20px 0; margin-bottom: 30px; }
.me_title_inner { display: flex; align-items: center; justify-content: center; gap: 15px; }
.me_title_badge { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #e10000; color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.me_title_text { color: #fff; font-size: 24px; font-weight: 700; margin: 0; }

/* 콘텐츠 영역 */
.me_content { border: 1px solid #ddd; padding: 50px 80px; margin-bottom: 40px; }

/* 좌우 배치 레이아웃 */
.me_layout { display: flex; align-items: center; gap: 50px; }

/* 좌측: 메인 이미지 영역 */
.me_main_area { flex-shrink: 0; width: 340px; }
.me_main_text { text-align: center; }
.me_main_subtitle { font-size: 28px; font-weight: 700; color: #000; margin: 0 0 5px 0; }
.me_main_title { font-size: 14px; color: #666; font-weight: 400; margin: 0 0 25px 0; }
.me_main_btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 25px; border-radius: 25px; background: #e10000; color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; transition: background 0.2s; }
.me_main_btn, .me_main_btn:link, .me_main_btn:visited, .me_main_btn:active { color: #fff !important; }
.me_main_btn:hover { background: #c00; color: #fff !important; }
.me_arrow { font-style: normal; }
.me_main_img { margin-top: 30px; text-align: center; }
.me_main_img a { display: inline-block; }
.me_main_img img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; }

/* 우측: 서브 이미지 그리드 2x2 */
.me_sub_grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
.me_sub_item { width: 300px; max-width: 100%; margin: 0 auto; }
.me_sub_item a { display: block; text-decoration: none; color: #333; }
.me_sub_item a:hover .me_sub_img img { transform: scale(1.03); }
.me_sub_item a:hover .me_sub_title { text-decoration: none; }
.me_sub_img { overflow: hidden; border-top-left-radius: 20px; border-top-right-radius: 20px; }
.me_sub_img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; display: block; transition: transform 0.25s ease; }
.me_sub_info { margin-top: 10px; }
.me_sub_title { font-size: 18px; color: #232323; font-weight: 600; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 1; -webkit-box-orient: vertical; display: -webkit-box; }

/* 이벤트 없음 */
.me_empty { text-align: center; padding: 80px 0; color: #999; font-size: 16px; }

/* 반응형 */
@media screen and (max-width: 768px) {
	.me_month_nav ul { gap: 4px; justify-content: center; }
	.me_month_item { width: calc(100% / 6 - 4px); }
	.me_month_item a,
	.me_month_item .me_month_link { width: 100%; min-height: 75px; padding: 8px 2px; }
	.me_month_num { font-size: 18px; }
	.me_month_label { font-size: 10px; }
	.me_month_title { font-size: 11px; margin-top: 3px; }

	.me_title_inner { gap: 10px; }
	.me_title_badge { width: 40px; height: 40px; font-size: 14px; }
	.me_title_text { font-size: 18px; }

	.me_content { padding: 20px; }
	.me_sub_img img { max-width: 100%; }

	.me_layout { flex-direction: column; }
	.me_main_area { width: 100%; }
	.me_main_subtitle { font-size: 22px; }
	.me_main_img img { width: 150px; height: 150px; }

	.me_sub_grid { grid-template-columns: 1fr; gap: 25px; }
}

@media screen and (max-width: 480px) {
	.me_month_item a,
	.me_month_item .me_month_link { min-height: 70px; padding: 6px 2px; }
	.me_month_num { font-size: 16px; }
	.me_month_label { font-size: 9px; }
	.me_month_title { font-size: 10px; }

	.me_title_text { font-size: 16px; }

	.me_main_subtitle { font-size: 18px; }
	.me_main_title { font-size: 13px; }
	.me_main_btn { font-size: 14px; height: 44px; padding: 0 20px; }
}
