* {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: #2b2226;
	font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
	line-height: 1.68;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.header {
	position: relative;
	z-index: 10;
	background: #ffffff;
	border-bottom: 1px solid #eadde1;
	box-shadow: 0 8px 24px rgba(112, 63, 78, 0.055);
}

.inner {
	width: min(1160px, calc(100% - 36px));
	margin: 0 auto;
}

.header .inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 21px;
	padding: 21px 0 21px;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo img {
	display: block;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #d8b9c2;
	border-radius: 50%;
	background: #ffffff;
	cursor: pointer;
}

.burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	border-radius: 2px;
	background: #8f4967;
}

.menu {
	width: 100%;
}

.menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu li {
	margin: 0;
	padding: 0;
}

.menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 0 21px;
	border: 1px solid #d8b9c2;
	border-radius: 999px;
	background: #ffffff;
	color: #7b3d58;
	font-size: 16px;
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.025em;
	white-space: nowrap;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.menu a:hover {
	border-color: #8f4967;
	background: #fbf1f4;
	color: #8f4967;
	transform: translateY(-1px);
}

.menu a[aria-current="page"] {
	border-color: #8f4967;
	background: #8f4967;
	color: #ffffff;
}

.content {
	width: min(1160px, calc(100% - 36px));
	margin: 40px auto 78px;
}

.post {
	margin: 0;
	padding: 0;
}

.post-header {
	margin: 0 0 38px;
	padding: 0 0 28px;
	border-bottom: 1px solid #eadde1;
	text-align: center;
}

.post-title {
	margin: 0;
	padding: 0;
	font-size: 38px;
	line-height: 1.22;
	font-weight: 950;
	letter-spacing: -0.065em;
	color: #2b2226;
	word-break: keep-all;
}

.post-title::after {
	content: "";
	display: block;
	width: 78px;
	height: 4px;
	margin: 19px auto 0;
	border-radius: 999px;
	background: #b56f86;
}

.post-list {
	margin: 0 0 62px;
	padding: 0;
}

.post-list > h2 {
	margin: 52px 0 22px;
	padding: 0;
	font-size: 28px;
	line-height: 1.35;
	font-weight: 950;
	letter-spacing: -0.055em;
	color: #2b2226;
	text-align: center;
}

.post-list > h2:first-child {
	margin-top: 0;
}

/* 리스트 전체 */
.item-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
}

/* 카드 */
.item-list article {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #ead8de;
	border-radius: 12px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(112, 63, 78, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item-list article:hover {
	transform: translateY(-3px);
	border-color: #d7a9b8;
	box-shadow: 0 18px 36px rgba(112, 63, 78, 0.12);
}

/* 카드 첫 번째 링크 = 이미지 영역 */
.item-list article > a:first-child {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fbf1f4;
	overflow: hidden;
	line-height: 0;
}

/* 카드 이미지 */
.item-list article > a:first-child img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 1;
	visibility: visible;
}

.item-list article > a:first-child:hover img {
	transform: scale(1.035);
	transition: transform 0.22s ease;
}

/* 카드 내용 */
.item-list article > section {
	display: flex;
	flex-direction: column;
	gap: 13px;
	min-height: 214px;
	margin: 0;
	padding: 19px 18px 20px;
	background: #ffffff;
}

/* 행사명 */
.item-list article > section > h3 {
	margin: 0;
	padding: 0;
	font-size: 19px;
	line-height: 1.34;
	font-weight: 950;
	letter-spacing: -0.055em;
	color: #2b2226;
	word-break: keep-all;
}

/* 일정/장소 */
.item-meta {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.item-meta span {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 8px;
	align-items: start;
	min-width: 0;
	font-size: 12.5px;
	line-height: 1.55;
	font-weight: 950;
	letter-spacing: -0.025em;
	color: #b56f86;
}

.item-meta em {
	font-style: normal;
	font-size: 13.2px;
	font-weight: 600;
	color: #6a5b61;
	word-break: keep-all;
}

/* 신청 버튼 */
.item-list article > section > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 43px;
	margin-top: auto;
	padding: 11px 14px;
	border: 0;
	border-radius: 9px;
	background: #8f4967;
	color: #ffffff;
	font-size: 14px;
	font-weight: 950;
	line-height: 1.4;
	letter-spacing: -0.025em;
	box-shadow: 0 10px 20px rgba(143, 73, 103, 0.18);
}

.item-list article > section > a::after {
	content: ">";
	margin-left: 8px;
	font-weight: 950;
}

.item-list article > section > a:hover {
	background: #74364f;
	box-shadow: 0 12px 24px rgba(143, 73, 103, 0.26);
}

.post-content {
	margin: 0;
	padding: 0;
}

.post-content > .post-content,
.post-view,
.content-view {
	max-width: 980px;
	margin: 0 auto;
	padding: 48px 52px;
	border: 1px solid #ead8de;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(112, 63, 78, 0.055);
	color: #3c3035;
	font-size: 17px;
	line-height: 1.84;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.post-content h2,
.post-view h2,
.content-view h2 {
	position: relative;
	margin: 56px 0 23px;
	padding: 0 0 17px;
	border-bottom: 1px solid #ead8de;
	font-size: 30px;
	line-height: 1.34;
	font-weight: 950;
	letter-spacing: -0.06em;
	color: #2b2226;
}

.post-content h2:first-child,
.post-view h2:first-child,
.content-view h2:first-child {
	margin-top: 0;
}

.post-content h2::before,
.post-view h2::before,
.content-view h2::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 11px;
	border-radius: 50%;
	background: #b56f86;
	vertical-align: 0.08em;
}

.post-content h2::after,
.post-view h2::after,
.content-view h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 96px;
	height: 3px;
	border-radius: 999px;
	background: #8f4967;
}

.post-content h3,
.post-view h3,
.content-view h3 {
	margin: 40px 0 17px;
	padding: 14px 18px;
	border-left: 5px solid #b56f86;
	border-radius: 0 12px 12px 0;
	background: #fbf1f4;
	font-size: 22px;
	line-height: 1.42;
	font-weight: 950;
	letter-spacing: -0.05em;
	color: #2b2226;
}

.post-content p,
.post-view p,
.content-view p {
	margin: 0 0 18px;
}

.post-content strong,
.post-view strong,
.content-view strong {
	font-weight: 950;
	color: #8f4967;
}

.post-content ul,
.post-view ul,
.content-view ul {
	margin: 18px 0 32px;
	padding: 0;
	list-style: none;
	border-top: 1px solid #ead8de;
}

.post-content ul li,
.post-view ul li,
.content-view ul li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 23px;
	border-bottom: 1px solid #ead8de;
}

.post-content ul li::before,
.post-view ul li::before,
.content-view ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.36em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #b56f86;
}

.post-content ol,
.post-view ol,
.content-view ol {
	margin: 18px 0 32px;
	padding: 0;
	list-style: none;
	counter-reset: content-number;
	border-top: 1px solid #ead8de;
}

.post-content ol li,
.post-view ol li,
.content-view ol li {
	position: relative;
	counter-increment: content-number;
	margin: 0;
	padding: 14px 0 14px 42px;
	border-bottom: 1px solid #ead8de;
}

.post-content ol li::before,
.post-view ol li::before,
.content-view ol li::before {
	content: counter(content-number);
	position: absolute;
	left: 0;
	top: 13px;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #8f4967;
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
}

.post-content table,
.post-view table,
.content-view table {
	width: 100%;
	margin: 24px 0 34px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #ead8de;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	font-size: 15px;
	line-height: 1.58;
}

.post-content caption,
.post-view caption,
.content-view caption {
	caption-side: top;
	padding: 0 0 12px;
	font-size: 14px;
	font-weight: 950;
	color: #8f4967;
	text-align: left;
}

.post-content thead,
.post-view thead,
.content-view thead {
	background: #fbf1f4;
}

.post-content tbody,
.post-view tbody,
.content-view tbody {
	background: #ffffff;
}

.post-content th,
.post-view th,
.content-view th {
	background: #fbf1f4;
	color: #8f4967;
	font-weight: 950;
}

.post-content th,
.post-content td,
.post-view th,
.post-view td,
.content-view th,
.content-view td {
	padding: 15px 16px;
	border-right: 1px solid #ead8de;
	border-bottom: 1px solid #ead8de;
	text-align: left;
	vertical-align: top;
}

.post-content th:last-child,
.post-content td:last-child,
.post-view th:last-child,
.post-view td:last-child,
.content-view th:last-child,
.content-view td:last-child {
	border-right: 0;
}

.post-content tr:last-child td,
.post-view tr:last-child td,
.content-view tr:last-child td {
	border-bottom: 0;
}

.post-content details,
.post-view details,
.content-view details {
	margin: 16px 0;
	border: 1px solid #ead8de;
	border-radius: 12px;
	background: #ffffff;
	overflow: hidden;
}

.post-content summary,
.post-view summary,
.content-view summary {
	position: relative;
	padding: 16px 48px 16px 18px;
	background: #fbf1f4;
	color: #2b2226;
	font-weight: 950;
	letter-spacing: -0.035em;
	cursor: pointer;
	list-style: none;
}

.post-content summary::-webkit-details-marker,
.post-view summary::-webkit-details-marker,
.content-view summary::-webkit-details-marker {
	display: none;
}

.post-content summary::after,
.post-view summary::after,
.content-view summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #8f4967;
	color: #ffffff;
	font-size: 16px;
	font-weight: 950;
}

.post-content details[open] summary::after,
.post-view details[open] summary::after,
.content-view details[open] summary::after {
	content: "-";
}

.post-content details > *:not(summary),
.post-view details > *:not(summary),
.content-view details > *:not(summary) {
	padding-left: 18px;
	padding-right: 18px;
}

.post-content dl,
.post-view dl,
.content-view dl {
	display: grid;
	grid-template-columns: 132px 1fr;
	margin: 20px 0 32px;
	border-top: 1px solid #ead8de;
}

.post-content dt,
.post-view dt,
.content-view dt {
	padding: 14px;
	border-bottom: 1px solid #ead8de;
	background: #fbf1f4;
	color: #8f4967;
	font-weight: 950;
}

.post-content dd,
.post-view dd,
.content-view dd {
	margin: 0;
	padding: 14px;
	border-bottom: 1px solid #ead8de;
	color: #5f5258;
}

.footer {
	background: #ffffff;
	border-top: 1px solid #eadde1;
}

.footer .inner {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer p {
	margin: 0;
	font-size: 14px;
	color: #3d343d;
}

@media (max-width: 1100px) {
	.item-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.header .inner {
		width: 100%;
		display: grid;
		grid-template-columns: 48px 1fr 48px;
		align-items: center;
		gap: 0;
		padding: 14px 12px;
	}

	.logo {
		grid-column: 2;
	}

	.burger {
		grid-column: 3;
		justify-self: end;
		display: block;
	}

	.menu {
		grid-column: 1 / 4;
		display: none;
		width: calc(100% + 24px);
		margin: 14px -12px -14px;
		padding: 15px 12px 17px;
		border-top: 1px solid #eadde1;
		background: #ffffff;
	}

	.menu.is-open {
		display: block;
	}

	.menu ul {
		justify-content: center;
		gap: 8px;
	}

	.menu a {
		min-height: 40px;
		padding: 0 16px;
		font-size: 15px;
	}

	.content {
		width: min(100% - 24px, 1160px);
		margin-top: 36px;
		margin-bottom: 56px;
	}

	.post-header {
		margin-bottom: 30px;
		padding-bottom: 24px;
	}

	.post-title {
		font-size: 30px;
	}

	.item-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.item-list article {
		border-radius: 10px;
	}

	.item-list article > section {
		min-height: auto;
		padding: 18px 16px 19px;
	}

	.item-list article > section > h3 {
		font-size: 19px;
	}

	.post-content > .post-content,
	.post-view,
	.content-view {
		padding: 34px 22px;
		border-radius: 14px;
		font-size: 16px;
		line-height: 1.78;
	}

	.post-content h2,
	.post-view h2,
	.content-view h2 {
		margin-top: 42px;
		font-size: 23px;
	}

	.post-content h3,
	.post-view h3,
	.content-view h3 {
		margin-top: 30px;
		padding: 12px 15px;
		font-size: 19px;
	}

	.post-content table,
	.post-view table,
	.content-view table {
		display: block;
		width: 100%;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		font-size: 14px;
	}

	.post-content dl,
	.post-view dl,
	.content-view dl {
		grid-template-columns: 1fr;
	}

	.post-content dt,
	.post-view dt,
	.content-view dt {
		padding-bottom: 6px;
		border-bottom: 0;
	}

	.post-content dd,
	.post-view dd,
	.content-view dd {
		padding-top: 0;
	}
}

@media (max-width: 520px) {
	.post-title {
		font-size: 27px;
	}

	.menu ul {
		gap: 7px;
	}

	.menu a {
		min-height: 38px;
		padding: 0 15px;
		font-size: 14.5px;
	}

	.item-list article {
		border-radius: 8px;
	}

	.item-list article > section > h3 {
		font-size: 18px;
	}

	.item-meta span {
		grid-template-columns: 42px 1fr;
		gap: 8px;
		font-size: 12.5px;
	}

	.item-meta em {
		font-size: 13.2px;
	}

	.item-list article > section > a {
		min-height: 42px;
		font-size: 14px;
	}

	.post-content > .post-content,
	.post-view,
	.content-view {
		padding: 30px 18px;
		border-radius: 12px;
	}

	.post-content h2,
	.post-view h2,
	.content-view h2 {
		font-size: 21px;
	}

	.post-content h3,
	.content-view h3,
	.post-view h3 {
		font-size: 18px;
	}
}