/**
 * Information subpage layout fixes.
 *
 * @package AriawellTheme
 */

:root {
	--color-primary: #2589f3;
	--color-neutral-5: #666666;
	--color-neutral-8: #2a2d43;
}

body.ms-information {
	background: #fff;
	opacity: 1 !important;
}

body.ms-information #header {
	position: sticky;
}

body.ms-information #footer {
	margin-top: 0;
	background: #f5f5f5;
}

body.ms-information #main-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* mustread title — match 24sos.co.kr/information/mustread/ (Cafe24 ref-global + infomation.css) */
body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium {
	width: 1600rem;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40rem;
	padding-top: 100rem;
	padding-bottom: 0;
	padding-left: 30rem;
	padding-right: 30rem;
	text-align: left;
	line-height: 1.4;
}

body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium::after {
	content: "";
	display: block;
	width: 46rem;
	height: 1rem;
	margin: 0;
	background: var(--color-neutral-8);
}

body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium h2 {
	margin: 0;
	max-width: 1540px;
	font-weight: 400;
	font-size: 35rem;
	color: var(--color-neutral-8, #2a2d43);
	padding-bottom: 25rem;
	line-height: 1.4;
}

body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium h2 > * {
	color: inherit;
}

body.ms-mustread.ms-main .infomation--mustread .content__desc {
	color: #6e788f;
}

body.ms-mustread .infomation__read.infomation__bottom {
	background: #f1f3f5;
}

/* investigate 등 다른 정보 페이지 */
body.ms-information:not(.ms-mustread) .main-contents-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

body.ms-information:not(.ms-mustread) .infomation > .default-container {
	padding: 120px 20px 120px;
}

body.ms-information:not(.ms-mustread) .infomation__bottom.default-container {
	padding-top: 80px;
	padding-bottom: 80px;
}

@media all and (max-width: 1600px) {
	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium {
		width: 100%;
	}
}

@media all and (max-width: 1366px) {
	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium {
		padding-top: 50rem;
	}

	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium::after {
		width: 40rem;
	}

	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium h2 {
		padding-bottom: 17rem;
		font-size: 30rem;
	}
}

@media all and (max-width: 1023px) {
	body.ms-information:not(.ms-mustread) .infomation > .default-container {
		padding-top: 70px;
	}
}

@media all and (max-width: 660px) {
	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium {
		margin-bottom: 27rem;
	}

	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium::after {
		width: 30rem;
	}

	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium h2 {
		font-size: 23rem;
	}

	body.ms-information:not(.ms-mustread) .infomation > .default-container {
		padding-bottom: 80px;
	}

	body.ms-information:not(.ms-mustread) .infomation__bottom.default-container {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

@media all and (max-width: 860px) {
	body.ms-mustread.ms-main .infomation--mustread .titleArea.wrap-medium {
		padding-left: 16rem;
		padding-right: 16rem;
	}
}
