/* 공모요강(제출가이드) — summary 뷰 전용 */

/* 공모요강 — 공모 주제 (숫자 칩만 포인트 색·카드 균일 테두리) */
.summary-topic-stack {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}
.summary-topic-lead {
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0 0 0.35rem 0;
	color: var(--primary-color, #3186bf);
	font-weight: 700;
}
.summary-topic-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"step title"
		".    hint";
	gap: 0.7rem 1.15rem;
	padding: 1.15rem 1.25rem 1.2rem;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	word-break: keep-all;
	align-items: start;
}
.summary-topic-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	border-color: #e0e0e0;
}
.summary-topic-card__step {
	grid-area: step;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.9rem;
	padding: 0.35rem 0.52rem;
	border-radius: 6px;
	border: 1px solid var(--primary-color-border);
	background: var(--primary-color-bg);
	color: var(--primary-color);
	align-self: center;
}
.summary-topic-card__step-n {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	color: inherit;
}
.summary-topic-card__title {
	grid-area: title;
	margin: 0;
	min-width: 0;
	font-size: 0.97rem;
	font-weight: 700;
	color: var(--primary-color, #3186bf);
	line-height: 1.75;
}
.summary-topic-card__hint {
	grid-area: hint;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	padding: 0.65rem 0.85rem;
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 400;
	color: inherit;
	background: var(--primary-color-bg, #f0f7fd);
	border: 1px solid var(--primary-color-border, #cfe2f3);
	border-radius: 6px;
}
/* 파란 원 + 흰 느낌표 (본문 1rem 기준) */
.summary-topic-card__hint-ico {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	min-width: 1.125rem;
	border-radius: 50%;
	background: var(--primary-color, #3186bf);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.12rem;
	line-height: 1;
	box-sizing: border-box;
}
.summary-topic-card__hint-ico .fa-exclamation {
	font-size: 0.5rem;
	font-weight: 900;
	line-height: 1;
}
.summary-topic-card__hint > span:not(.summary-topic-card__hint-ico) {
	flex: 1;
	min-width: 0;
}
/* 한 줄 안내 (공모 일정·작품 형식·문의 등) — 참고: 파란 원 + 회색 본문, 세로 가운데 */
.summary-notice-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
	padding-left: 0;
	text-indent: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #5c6370;
	font-weight: 400;
}
.summary-notice-row b {
	font-weight: 600;
	color: #454545;
}
.summary-notice-ico {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	min-width: 1.25rem;
	border-radius: 50%;
	background: var(--primary-color, #3186bf);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-sizing: border-box;
}
.summary-notice-ico .fa-exclamation {
	font-size: 0.52rem;
	font-weight: 900;
	line-height: 1;
}
@media (max-width: 576px) {
	.summary-topic-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			"step"
			"title"
			"hint";
		gap: 0.55rem;
		padding: 1rem 1rem 1.05rem;
	}
	.summary-topic-card__step {
		justify-self: start;
		align-self: start;
	}
}

/* 요약 페이지 표: th·td 테두리 색 통일 (기본 .table-simple 은 td만 #eaeaea) */
.summary-container .table-simple.table-border-uniform th,
.summary-container .table-simple.table-border-uniform td {
	border: 1px solid var(--primary-color-border, #cfe2f3);
}

/* main-styles `.table-responsive table tr td` 가 시상 표만 축소·진회색 테두리 적용 → 공모요강 내에서는 일반 표와 동일 */
.summary-container .table-responsive .table-simple th,
.summary-container .table-responsive .table-simple td {
	font-size: inherit;
	text-align: center;
	border: 1px solid var(--primary-color-border, #cfe2f3);
}
