/* Sub pages: the content column and its reusable blocks.
   There's no banner, so the content starts just under the fixed header. */

.sub-content {
	max-width: 1200px;
	margin: 178px auto 0;
	padding-bottom: 67px;
	color: #222;
	font-family: 'Pretendard Variable', 'Noto Sans KR', sans-serif;
}

.sub-content h2 {
	font-size: 32px;
	font-weight: 500;
	line-height: 51px;
}

.sub-content p {
	font-size: 18px;
	line-height: 29px;
}

.intro-card {
	position: relative;
	height: 330px;
	color: #fff;
}

.intro-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.intro-copy {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 20px 0;
	background: rgba(0, 0, 0, 0.2);
	text-align: center;
}

.intro-copy h1 {
	font-size: 30px;
	font-weight: 600;
	line-height: 39px;
}

.sub-content .intro-copy p {
	margin-top: 12px;
	font-size: 17px;
	line-height: 22px;
}

.sub-block {
	margin-top: 73px;
	padding: 0 2px;
}

.sub-block p {
	margin-top: 15px;
}

.panel {
	height: 285px;
	padding: 49px 20px 0;
	text-align: center;
}

.panel--blue {
	margin-top: 70px;
	background: #5b92c3;
	color: #fff;
}

.panel--blue h2 {
	display: inline-block;
	padding: 0 24px 10px;
	border-bottom: 2px solid #fff;
}

.panel--blue p {
	margin-top: 29px;
}

.panel--grey {
	margin-top: 102px;
	padding-top: 64px;
	background: #e8edf1;
}

.panel--grey p {
	margin-top: 5px;
}

.panel-phone {
	display: block;
	margin-top: 22px;
	font-size: 18px;
	font-weight: 600;
	line-height: 29px;
}

.media-row {
	display: grid;
	grid-template-columns: 380px 1fr;
	column-gap: 41px;
	margin-top: 89px;
}

.media-row img {
	display: block;
	width: 380px;
	height: 220px;
	object-fit: cover;
}

.media-row > div {
	padding-top: 39px;
}

.media-row h3 {
	font-family: 'Nanum Pen Script', 'Noto Sans KR', sans-serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 45px;
}

.media-row p {
	margin-top: 13px;
}

.steps {
	margin-top: 71px;
}

.steps h2 {
	padding: 0 2px;
}

.steps ol {
	display: grid;
	grid-template-columns: repeat(5, 230px);
	gap: 12px 12.5px;
	margin: 21px 0 0;
	padding: 0;
	list-style: none;
}

.step {
	height: 227px;
	padding: 42px 4px 0;
	background: #f4f4f4;
	text-align: center;
}

.step .material-symbols-outlined {
	display: block;
	color: #5b92c3;
	font-size: 52px;
	font-weight: 200;
}

.step h3 {
	margin-top: 15px;
	font-size: 24px;
	font-weight: 500;
	line-height: 38px;
}

.step--long h3 {
	font-size: 19px;
}

.sub-content .step p {
	margin-top: 1px;
	font-size: 16px;
	line-height: 21px;
}

.step a {
	text-decoration: underline;
}

.steps + .media-row {
	margin-top: 96px;
}

@media (max-width: 1230px) {
	.sub-content {
		margin-right: 15px;
		margin-left: 15px;
	}

	.steps ol {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

@media (max-width: 1020px) {
	.sub-content {
		margin-top: 16px;
	}

	.intro-card {
		height: auto;
		aspect-ratio: 739 / 203;
	}

	.media-row {
		grid-template-columns: minmax(0, 300px) 1fr;
		column-gap: 28px;
	}

	.media-row img {
		width: 100%;
		height: auto;
		aspect-ratio: 380 / 220;
	}

	.media-row > div {
		padding-top: 12px;
	}
}

@media (max-width: 480px) {
	.sub-content {
		margin-top: 8px;
		padding: 0 0 40px;
	}

	.sub-content h2 {
		font-size: 28px;
		line-height: 45px;
	}

	.sub-content p {
		font-size: 17px;
		line-height: 27px;
	}

	.intro-card {
		height: 179px;
		aspect-ratio: auto;
	}

	.intro-copy h1 {
		font-size: 28px;
		line-height: 36px;
	}

	.sub-block {
		margin-top: 33px;
	}

	.sub-block p {
		min-height: 75px;
		margin-top: 2px;
	}

	.panel--blue {
		height: auto;
		min-height: 226px;
		margin-top: 35px;
		padding: 31px 12px 30px;
	}

	.sub-content .panel--blue h2 {
		padding: 0 0 8px;
		font-size: 26px;
	}

	.panel--blue p {
		margin-top: 13px;
		line-height: 26px;
	}

	.media-row {
		display: block;
		margin-top: 41px;
	}

	.media-row img {
		aspect-ratio: 370 / 214;
	}

	.media-row > div {
		padding: 25px 15px 0;
	}

	.media-row h3 {
		font-size: 36px;
		line-height: 42px;
	}

	/* Room held for about five lines, so longer text doesn't shift what follows. */
	.media-row p {
		min-height: 126px;
		margin-top: 2px;
	}

	.steps {
		margin-top: 35px;
	}

	.steps ol {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-top: 10px;
		padding: 0 15px;
	}

	.step {
		height: auto;
		min-height: 192px;
		padding: 39px 8px 22px;
	}

	.step .material-symbols-outlined {
		font-size: 48px;
	}

	.step h3 {
		margin-top: 13px;
		line-height: 36px;
	}

	.step--long h3 {
		font-size: 22px;
	}

	.steps + .media-row {
		margin-top: 50px;
	}

	.panel--grey {
		height: auto;
		min-height: 233px;
		margin-top: 34px;
		padding: 38px 15px 20px;
	}

	.panel--grey p {
		min-height: 75px;
		margin-top: 2px;
	}

	.panel-phone {
		margin-top: 11px;
	}
}
