body {
	background-color: var(--bg-brand-color);
}


/* =========================================
   업무양식 목록 페이지 수정 버전
   파일명: forms_list.css
   ========================================= */

.forms-container {
	padding-top: 40px;
	padding-bottom: 60px;
}

/* 상단 헤더 */
.forms-head {
	margin-bottom: 20px;
}

.forms-title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 600;
	color: #222;
}

.forms-desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: #666;
}

/* 필터 영역 */
.forms-filter {
	margin-top: 14px;
	margin-bottom: 16px;
}

.filter-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.filter-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-right {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
}

.filter-select {
	min-width: 150px;
	border-radius: 999px;
	border: 1px solid #d5e0e7;
	background-color: #fff;
	padding: 10px 15px;
	font-size: 16px;
	color: #444;
	outline: none;
}

.filter-search {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	max-width: 320px;
}

.filter-search input[type="text"] {
	flex: 1 1 auto;
	border-radius: 999px;
	border: 1px solid var(--brand-line-color);
	padding: 10px 15px;
	font-size: 16px;
	outline: none;
}

.filter-search input[type="text"]:focus {
	border-color: var(--brand-color);
}

.btn-search {
	flex: 0 0 auto;
	border-radius: 999px;
	border: none;
	background-color: var(--brand-color);
	color: #fff;
	font-size: 13px;
	height: 40px;
	padding: 0 16px;
	cursor: pointer;
}

/* 카드 그리드 */
.forms-list {
	margin-top: 10px;
	margin-bottom: 50px;
}

.forms-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	row-gap: 50px;
}

.forms-item {
	display: block;
}

.forms-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: #fff;
	border-radius: 14px;
	border: 1px solid #eee;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.forms-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
	/*border-color: rgba(31, 176, 160, 0.5);*/
}

/* 커버 영역 수정: 높이 감소 */
.forms-cover {
	position: relative;
	padding: 15px 15px 0;
	box-sizing: border-box;
}

/* ↓↓↓ 여기 핵심! 기존 135% → 80% 로 축소 */
.cover-thumb {
	position: relative;
	width: 100%;
	padding-top: 80%; /* A4 느낌을 유지하면서 훨씬 더 자연스럽게 */
	border-radius: 6px;
	overflow: hidden;
	background-color: #f9f9f9;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border: 1px #e7e7e7 solid;
}

.cover-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 커버 없는 경우 */
.cover-thumb.no-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	/*background: linear-gradient(135deg, #e8f4f2, #f5f7fb);*/
	background-color: #f4f4f4;
}

.no-cover-inner {
	text-align: center;
	color: #4c657a;
}

.no-cover-inner i {
	font-size: 26px;
	margin-bottom: 4px;
}

.no-cover-inner span {
	display: block;
	font-size: 12px;
}

/* 커버 상단 배지 */
.cover-topline {
	position: absolute;
	left: 16px;
	top: 16px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* 배지 공통 */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1.3;
}

.badge-category {
	padding: 5px 12px;
	font-size: 12px;
	/*border: 1px solid #f70;*/
	/*color: #f60;*/
	background-color: #f80;
	color: #fff;
}

.badge-file {
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px #ccc solid;
	color: #555;
}

.badge-new {
	background-color: #ff7a3c;
	color: #fff;
	font-weight: 600;
}

/* 본문 */
.forms-body {
	padding: 12px 14px 16px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: auto;
}

.forms-name {
	margin: 4px 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: #222;
	overflow: hidden;
}

.file-name {
	display: block;
	color: #333;
	font-size: 13px;
	padding-top: 7px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 🌟 설명(summary) 영역 강화 */
.forms-summary {
	margin: 10px 0 0 0;
	font-size: 14px;
	color: #000;
	line-height: 1.65;
	max-height: 5.2em;  /* 기존보다 확 늘림 (약 3~4줄) */
	overflow: hidden;
}

/* 빈 상태 */
.forms-empty {
	margin: 40px 0;
	text-align: center;
	font-size: 13px;
	color: #888;
}

/* 페이징 */
.forms-paging {
	margin-top: 26px;
}

/* ---------------------------------
   반응형
---------------------------------- */
@media (max-width: 1200px) {
	.forms-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.forms-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.forms-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.filter-row {
		display: block;
		justify-content: unset;
	}

	.filter-select {
		width: 100%;
		margin-bottom: 10px;
	}


}

@media (max-width: 420px) {
	.forms-grid {
		grid-template-columns: 1fr;
	}
}
