@charset "UTF-8";

.cert_sec.sec {
	margin-bottom: 0;
}

.cert_pat_list {
	--cols: 3;
	display: flex;
	flex-wrap: wrap;
	gap: var(--gutter);
}

.cert_pat_list.is-cert {
	--cols: 4;
}

.cert_pat {
	display: flex;
	flex: 0 0 calc((100% - var(--gutter) * (var(--cols) - 1)) / var(--cols));
	flex-direction: column;
	min-width: 0;
	padding: 40px;
	border-radius: 24px;
	background: var(--surface-color);
}

.cert_pat_top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cert_pat_tag {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-family: Montserrat, Pretendard, sans-serif;
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-color);
}

.cert_pat_tag b {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0;
	color: var(--theme-color);
}

.cert_pat_icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	color: var(--title-color);
	transition:
		background-color 0.3s,
		color 0.3s;
}

.cert_pat_icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cert_pat:hover .cert_pat_icon {
	background: var(--theme-color);
	color: #fff;
}

.cert_pat_name {
	flex: 1 1 auto;
	margin-top: 40px;
	font-size: var(--fs-h5);
	line-height: calc(var(--fs-h5) + 10px);
	font-weight: 700;
	color: var(--title-color);
	word-break: keep-all;
}

.cert_pat_meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line-color);
}

.cert_pat_meta div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 15px;
	line-height: 1;
}

.cert_pat_meta dt {
	color: var(--muted-color);
}

.cert_pat_meta dd {
	font-family: Montserrat, Pretendard, sans-serif;
	font-weight: 500;
	color: var(--sub-color);
	white-space: nowrap;
}

@media (max-width: 1280px) {
	.cert_pat_list.is-cert {
		--cols: 3;
	}
}

@media (max-width: 1024px) {
	.cert_pat_list,
	.cert_pat_list.is-cert {
		--cols: 2;
	}

	.cert_pat {
		padding: 32px;
	}
}

@media (max-width: 768px) {
	.cert_pat_list,
	.cert_pat_list.is-cert {
		--cols: 1;
		gap: 16px;
	}

	.cert_pat {
		padding: 24px;
	}

	.cert_pat_icon {
		width: 40px;
		height: 40px;
	}

	.cert_pat_icon svg {
		width: 20px;
		height: 20px;
	}

	.cert_pat_name {
		margin-top: 24px;
		font-size: 18px;
		line-height: 26px;
	}

	.cert_pat_meta {
		gap: 8px;
		margin-top: 24px;
		padding-top: 16px;
	}

	.cert_pat_meta div {
		font-size: 14px;
	}
}
