* {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	background: #fff7fb;
	color: #24151c;
	font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #9f174d;
	box-shadow: 0 10px 24px rgba(159, 23, 77, 0.16);
}

.inner {
	width: min(1200px, calc(100% - 36px));
	margin: 0 auto;
}

.header .inner {
	position: relative;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.logo a {
	display: flex;
	align-items: center;
}

.logo img {
	display: block;
}

.menu {
	display: block;
}

.menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu > ul {
	display: flex;
	align-items: center;
	gap: 8px;
}

.menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.menu a,
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.84);
	font-family: inherit;
	font-size: 15px;
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.025em;
	cursor: pointer;
	white-space: nowrap;
}

.menu a:hover,
.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.menu > ul > li.is-active > a,
.menu > ul > li.is-active > .menu-toggle,
.menu > ul > li.has-sub.is-open > .menu-toggle {
	background: #ffffff;
	border-color: #ffffff;
	color: #9f174d;
}

.menu-toggle::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 7px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform 0.18s ease;
}

.has-sub.is-open > .menu-toggle::after {
	transform: rotate(180deg);
}

.sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 120;
	display: grid;
	grid-template-columns: repeat(2, minmax(88px, 1fr));
	gap: 8px;
	min-width: 240px;
	max-width: 360px;
	padding: 13px;
	border: 0;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 18px 38px rgba(93, 16, 45, 0.2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.sub-menu::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -7px;
	width: 14px;
	height: 14px;
	background: #ffffff;
	transform: translateX(-50%) rotate(45deg);
}

.has-sub.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.menu > ul > li:nth-last-child(-n+2) > .sub-menu {
	left: auto;
	right: 0;
	transform: translateY(8px);
}

.menu > ul > li:nth-last-child(-n+2).is-open > .sub-menu {
	transform: translateY(0);
}

.menu > ul > li:nth-last-child(-n+2) > .sub-menu::before {
	left: auto;
	right: 28px;
	transform: rotate(45deg);
}

.sub-menu li {
	position: static;
}

.sub-menu a {
	min-height: 38px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: #fff7fb;
	color: #743249;
	font-size: 14px;
	font-weight: 850;
	letter-spacing: -0.025em;
}

.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
	color: #9f174d;
}

.burger {
	display: none;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	border-radius: 2px;
	background: #ffffff;
}

.content {
	width: min(1200px, calc(100% - 36px));
	margin: 42px auto 72px;
}

.post {
	margin: 0;
	padding: 0;
}

.post-header {
	position: relative;
	margin: 0 0 26px;
	padding: 0 0 28px;
	border-bottom: 1px solid #efd4df;
}

.post-title {
	position: relative;
	margin: 0;
	padding: 0;
	font-size: 36px;
	line-height: 1.18;
	font-weight: 950;
	letter-spacing: -0.065em;
	color: #24151c;
	word-break: keep-all;
}

.post-title::after {
	content: "";
	display: block;
	width: 112px;
	height: 5px;
	margin-top: 18px;
	border-radius: 999px;
	background: #9f174d;
}

.post-list {
	margin: 0 0 56px;
	padding: 0;
}

.post-list > h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 56px 0 20px;
	font-size: 27px;
	line-height: 1.35;
	font-weight: 950;
	letter-spacing: -0.055em;
	color: #24151c;
}

.post-list > h2:first-child {
	margin-top: 0;
}

.post-list > h2::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #9f174d;
	box-shadow: 14px 0 0 #e8aac1;
	flex: 0 0 auto;
}

.item-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}

.item-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #efd4df;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(159, 23, 77, 0.075);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item-card:hover {
	transform: translateY(-3px);
	border-color: #e7b8c9;
	box-shadow: 0 18px 34px rgba(159, 23, 77, 0.12);
}

.item-thumb {
	display: block;
	padding: 12px 12px 0;
	background: #ffffff;
	overflow: hidden;
}

.item-thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 17px;
	background: #f7e9ef;
	transition: transform 0.22s ease;
}

.item-thumb:hover img {
	transform: scale(1.035);
}

.item-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px 17px 0;
}

.item-head {
	margin: 0 0 14px;
}

.item-title {
	display: block;
	min-height: 2.7em;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 950;
	letter-spacing: -0.045em;
	color: #24151c;
	word-break: keep-all;
}

.item-meta {
	display: grid;
	gap: 8px;
	margin: 0;
}

.item-row {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 8px;
	align-items: start;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	line-height: 1.5;
	letter-spacing: -0.025em;
}

.item-row b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 23px;
	border-radius: 999px;
	background: #fff0f5;
	color: #9f174d;
	font-size: 12px;
	font-weight: 950;
}

.item-row span {
	color: #62545a;
	word-break: keep-all;
}

.item-cta {
	margin-top: auto;
	padding: 17px;
}

.item-action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 43px;
	padding: 12px 13px;
	border-radius: 999px;
	background: #9f174d;
	color: #ffffff;
	font-size: 14px;
	font-weight: 950;
	letter-spacing: -0.025em;
	box-shadow: 0 8px 18px rgba(159, 23, 77, 0.18);
}

.item-action::after {
	content: ">";
	font-size: 15px;
	font-weight: 950;
	line-height: 1;
}

.item-action:hover {
	background: #82103d;
	box-shadow: 0 10px 22px rgba(159, 23, 77, 0.26);
}

.post-content {
	margin: 0;
	padding: 0;
}

.post-view,
.content-view {
	background: #ffffff;
	border: 1px solid #efd4df;
	border-radius: 26px;
	padding: 44px 46px;
	box-shadow: 0 14px 34px rgba(159, 23, 77, 0.07);
	font-size: 17px;
	line-height: 1.82;
	color: #35272d;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.post-view h2,
.content-view h2 {
	position: relative;
	margin: 52px 0 22px;
	padding: 0 0 17px;
	border-bottom: 1px solid #efd4df;
	font-size: 29px;
	line-height: 1.34;
	font-weight: 950;
	letter-spacing: -0.06em;
	color: #24151c;
}

.post-view h2:first-child,
.content-view h2:first-child {
	margin-top: 0;
}

.post-view h2::after,
.content-view h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 86px;
	height: 3px;
	border-radius: 999px;
	background: #9f174d;
}

.post-view h3,
.content-view h3 {
	position: relative;
	margin: 38px 0 16px;
	padding: 12px 18px;
	border-left: 5px solid #9f174d;
	border-radius: 0 14px 14px 0;
	background: #fff4f8;
	font-size: 22px;
	line-height: 1.42;
	font-weight: 950;
	letter-spacing: -0.05em;
	color: #24151c;
}

.post-view p,
.content-view p {
	margin: 0 0 18px;
}

.post-view strong,
.content-view strong {
	font-weight: 950;
	color: #9f174d;
}

.post-view ul,
.content-view ul {
	margin: 18px 0 32px;
	padding: 0;
	list-style: none;
	border-top: 1px solid #efd4df;
}

.post-view ul li,
.content-view ul li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 22px;
	border-bottom: 1px solid #efd4df;
}

.post-view ul li::before,
.content-view ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.34em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #9f174d;
}

.post-view ol,
.content-view ol {
	margin: 18px 0 32px;
	padding: 0;
	list-style: none;
	counter-reset: item-number;
	border-top: 1px solid #efd4df;
}

.post-view ol li,
.content-view ol li {
	position: relative;
	counter-increment: item-number;
	margin: 0;
	padding: 14px 0 14px 38px;
	border-bottom: 1px solid #efd4df;
}

.post-view ol li::before,
.content-view ol li::before {
	content: counter(item-number);
	position: absolute;
	left: 0;
	top: 13px;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #9f174d;
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
}

.post-view table,
.content-view table {
	width: 100%;
	margin: 24px 0 34px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #efd4df;
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	font-size: 15px;
	line-height: 1.58;
}

.post-view caption,
.content-view caption {
	caption-side: top;
	padding: 0 0 12px;
	font-size: 14px;
	font-weight: 900;
	color: #9f174d;
	text-align: left;
}

.post-view thead,
.content-view thead {
	background: #fff0f5;
}

.post-view tbody,
.content-view tbody {
	background: #ffffff;
}

.post-view th,
.content-view th {
	font-weight: 950;
	color: #82103d;
	background: #fff0f5;
}

.post-view th,
.post-view td,
.content-view th,
.content-view td {
	padding: 15px 16px;
	border-right: 1px solid #efd4df;
	border-bottom: 1px solid #efd4df;
	text-align: left;
	vertical-align: top;
}

.post-view th:last-child,
.post-view td:last-child,
.content-view th:last-child,
.content-view td:last-child {
	border-right: 0;
}

.post-view tr:last-child td,
.content-view tr:last-child td {
	border-bottom: 0;
}

.post-view details,
.content-view details {
	margin: 16px 0;
	border: 1px solid #efd4df;
	border-radius: 18px;
	background: #ffffff;
	overflow: hidden;
}

.post-view summary,
.content-view summary {
	position: relative;
	padding: 16px 46px 16px 18px;
	background: #fff4f8;
	color: #24151c;
	font-weight: 950;
	letter-spacing: -0.035em;
	cursor: pointer;
	list-style: none;
}

.post-view summary::-webkit-details-marker,
.content-view summary::-webkit-details-marker {
	display: none;
}

.post-view summary::after,
.content-view summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #9f174d;
	color: #ffffff;
	font-size: 16px;
	font-weight: 950;
}

.post-view details[open] summary::after,
.content-view details[open] summary::after {
	content: "-";
}

.post-view details > *:not(summary),
.content-view details > *:not(summary) {
	padding-left: 18px;
	padding-right: 18px;
}

.post-view dl,
.content-view dl {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 0;
	margin: 20px 0 32px;
	border-top: 1px solid #efd4df;
}

.post-view dt,
.content-view dt {
	padding: 14px 14px;
	border-bottom: 1px solid #efd4df;
	font-weight: 950;
	color: #9f174d;
	background: #fff7fb;
}

.post-view dd,
.content-view dd {
	margin: 0;
	padding: 14px 14px;
	border-bottom: 1px solid #efd4df;
	color: #4e4147;
}

.footer {
	background: #ffffff;
	border-top: 1px solid #efd4df;
}

.footer .inner {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer p {
	margin: 0;
	font-size: 14px;
	color: #4b333d;
}

@media (max-width: 1100px) {
	.item-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.item-title {
		font-size: 17px;
	}
}

@media (max-width: 900px) {
	.header .inner {
		gap: 20px;
	}

	.menu > ul {
		gap: 5px;
	}

	.menu a,
	.menu-toggle {
		padding: 0 12px;
		font-size: 14px;
	}
}

@media (max-width: 860px) {
	.item-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-view,
	.content-view {
		padding: 38px 32px;
	}
}

@media (max-width: 760px) {
	.header .inner {
		width: 100%;
		height: 66px;
		padding: 0 14px;
	}

	.burger {
		display: block;
	}

	.menu {
		position: absolute;
		top: 66px;
		left: 0;
		right: 0;
		z-index: 110;
		display: none;
		width: 100%;
		background: #9f174d;
		box-shadow: 0 14px 24px rgba(159, 23, 77, 0.18);
	}

	.menu.is-open {
		display: block;
	}

	.menu > ul {
		width: 100%;
		margin: 0;
		padding: 0;
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.menu > ul > li {
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 0.13);
	}

	.menu > ul > li:first-child {
		border-top: 0;
	}

	.menu a,
	.menu-toggle {
		width: 100%;
		min-height: 48px;
		padding: 0 18px;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: rgba(255, 255, 255, 0.9);
		font-size: 15px;
		text-align: left;
		justify-content: space-between;
	}

	.menu > ul > li.is-active > a,
	.menu > ul > li.is-active > .menu-toggle,
	.menu > ul > li.has-sub.is-open > .menu-toggle {
		background: rgba(255, 255, 255, 0.12);
		color: #ffffff;
	}

	.sub-menu {
		position: static;
		display: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-width: 0;
		max-width: none;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: #9f174d;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: none;
	}

	.sub-menu::before {
		display: none;
	}

	.has-sub.is-open > .sub-menu {
		display: grid;
		transform: none;
	}

	.menu > ul > li:nth-last-child(-n+2) > .sub-menu,
	.menu > ul > li:nth-last-child(-n+2).is-open > .sub-menu {
		transform: none;
	}

	.sub-menu li:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, 0.1);
	}

	.sub-menu a {
		min-height: 43px;
		padding: 0 18px;
		border: 0;
		border-radius: 0;
		color: rgba(255, 255, 255, 0.82);
		font-size: 14px;
		font-weight: 800;
		justify-content: flex-start;
	}

	.sub-menu a:hover,
	.sub-menu a[aria-current="page"] {
		color: #ffffff;
	}

	.content {
		width: min(100% - 24px, 1200px);
		margin-top: 32px;
		margin-bottom: 52px;
	}

	.post-header {
		margin-bottom: 28px;
		padding-bottom: 24px;
	}

	.post-title {
		font-size: 30px;
	}

	.post-title::after {
		width: 82px;
		height: 4px;
		margin-top: 15px;
	}

	.post-list > h2 {
		margin-top: 44px;
		font-size: 23px;
	}

	.item-list {
		gap: 14px;
	}

	.item-card {
		border-radius: 20px;
	}

	.item-thumb {
		padding: 10px 10px 0;
	}

	.item-thumb img {
		border-radius: 15px;
	}

	.item-content {
		padding: 16px 15px 0;
	}

	.item-title {
		min-height: auto;
		font-size: 17px;
	}

	.item-row {
		grid-template-columns: 40px 1fr;
		font-size: 13.5px;
	}

	.item-cta {
		padding: 15px;
	}

	.post-view,
	.content-view {
		padding: 34px 22px;
		border-radius: 22px;
		font-size: 16px;
		line-height: 1.78;
	}

	.post-view h2,
	.content-view h2 {
		margin-top: 42px;
		font-size: 23px;
	}

	.post-view h3,
	.content-view h3 {
		margin-top: 30px;
		padding: 11px 14px;
		font-size: 19px;
	}

	.post-view table,
	.content-view table {
		display: block;
		width: 100%;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		font-size: 14px;
	}

	.post-view dl,
	.content-view dl {
		grid-template-columns: 1fr;
	}

	.post-view dt,
	.content-view dt {
		padding-bottom: 6px;
		border-bottom: 0;
	}

	.post-view dd,
	.content-view dd {
		padding-top: 0;
	}
}

@media (max-width: 520px) {
	.inner {
		width: calc(100% - 24px);
	}

	.content {
		width: calc(100% - 24px);
	}

	.logo img {
		height: auto;
	}

	.sub-menu {
		grid-template-columns: 1fr;
	}

	.sub-menu li:nth-child(odd) {
		border-right: 0;
	}

	.item-list {
		grid-template-columns: 1fr;
	}

	.post-title {
		font-size: 27px;
	}

	.post-list > h2 {
		font-size: 21px;
	}

	.item-card {
		border-radius: 20px;
	}

	.item-thumb {
		padding: 10px 10px 0;
	}

	.item-thumb img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		border-radius: 15px;
	}

	.item-content {
		padding: 16px 15px 0;
	}

	.item-title {
		min-height: auto;
		font-size: 16px;
		line-height: 1.36;
	}

	.item-meta {
		gap: 6px;
	}

	.item-row {
		grid-template-columns: 38px 1fr;
		font-size: 12.8px;
	}

	.item-row b {
		height: 21px;
		font-size: 11.5px;
	}

	.item-cta {
		padding: 15px;
	}

	.item-action {
		min-height: 40px;
		font-size: 13.5px;
	}

	.post-view,
	.content-view {
		padding: 30px 18px;
	}

	.post-view h2,
	.content-view h2 {
		font-size: 21px;
	}

	.post-view h3,
	.content-view h3 {
		font-size: 18px;
	}
}