/* WordPress 관리자 > 외모 > 추가 CSS 에 붙여넣기 */
.phi-wrap * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.phi-wrap {
	padding: 1.5rem 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.phi-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 1.75rem;
}

.phi-fb {
	font-size: 12px;
	padding: 5px 12px;
	border-radius: 20px;
	border: 1px solid #ddd;
	background: transparent;
	cursor: pointer;
	color: #666;
	transition: all .15s;
}

.phi-fb.on {
	background: #111;
	color: #fff;
	border-color: #111;
}

.phi-fb:hover:not(.on) {
	background: #f5f5f5;
}

.phi-count {
	font-size: 12px;
	color: #999;
	margin-bottom: 1rem;
}

.phi-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: .875rem;
}

.phi-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .15s;
	border-left: 3px solid transparent;
	min-width: 0;
	word-break: keep-all;
}

.phi-card:hover {
	border-color: #bbb;
}

.phi-card[data-inst="연구실"] {
	border-left-color: #378ADD;
}

.phi-card[data-inst="가톨릭"] {
	border-left-color: #378ADD;
}

.phi-card[data-inst="카카오"] {
	border-left-color: #FAC775;
}

.phi-card[data-inst="은평성모"] {
	border-left-color: #5DCAA5;
}

.phi-card[data-inst="부천성모"] {
	border-left-color: #5DCAA5;
}

.phi-card[data-inst="삼성서울"] {
	border-left-color: #D4537E;
}

.phi-card[data-inst="숙명여대"] {
	border-left-color: #AFA9EC;
}

.phi-card[data-inst="전남대"] {
	border-left-color: #F0997B;
}

.phi-card.hidden {
	display: none;
}

.phi-badge {
	font-size: 11px;
	font-weight: 500;
	padding: 3px 8px;
	border-radius: 6px;
	display: inline-block;
}

.phi-ib-lab {
	background: #E6F1FB;
	color: #185FA5;
}

.phi-ib-kakao {
	background: #FAEEDA;
	color: #854F0B;
}

.phi-ib-eunp {
	background: #E1F5EE;
	color: #0F6E56;
}

.phi-ib-buch {
	background: #E1F5EE;
	color: #0F6E56;
}

.phi-ib-smc {
	background: #FBEAF0;
	color: #993556;
}

.phi-ib-sook {
	background: #EEEDFE;
	color: #534AB7;
}

.phi-ib-jnu {
	background: #FAECE7;
	color: #993C1D;
}

.phi-card-title {
	font-size: 13px;
	font-weight: 600;
	color: #111;
	line-height: 1.45;
}

.phi-card-sub {
	font-size: 11px;
	color: #555;
	line-height: 1.5;
	margin-top: 1px;
}

.phi-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 2px;
}

.phi-tag {
	font-size: 10px;
	background: #f3f3f3;
	color: #555;
	padding: 2px 6px;
	border-radius: 6px;
}

.phi-tag.rwd {
	background: #EAF3DE;
	color: #3B6D11;
}

.phi-tag.hira {
	background: #E6F1FB;
	color: #185FA5;
}

.phi-tag.faers {
	background: #FAEEDA;
	color: #854F0B;
}

.phi-tag.llm {
	background: #EEEDFE;
	color: #534AB7;
}

.phi-tag.ml {
	background: #EEEDFE;
	color: #534AB7;
}

.phi-tag.multi {
	background: #FBEAF0;
	color: #993556;
}

.phi-collab {
	font-size: 10px;
	color: #888;
	margin-top: 2px;
	line-height: 1.5;
}