/* UNP Match — استایل عمومی، سازگار با RTL */

.unp-match {
	direction: rtl;
	text-align: right;
	font-family: inherit;
}

.unp-match-notice {
	background: #f0f6fc;
	border: 1px solid #c8d7e1;
	border-radius: 6px;
	padding: 12px 16px;
}

.unp-match-form .unp-match-field {
	margin-bottom: 16px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 10px 14px;
}

.unp-match-form legend {
	font-weight: 700;
	padding: 0 6px;
}

.unp-match-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.unp-match-form .unp-match-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	margin-inline-end: 14px;
	margin-bottom: 6px;
}

.unp-match-form select {
	width: 100%;
	max-width: 320px;
	padding: 6px 8px;
}

.unp-match-submit {
	background: #1a4f8b;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	cursor: pointer;
	font-weight: 700;
}

.unp-match-submit:hover {
	background: #143f70;
}

.unp-match-opportunities-wrap {
	background: transparent;
}

.unp-match-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.unp-match-card {
	border: 1px solid #dfe3e8;
	border-radius: 7px;
	padding: 14px 12px 13px;
	background: #fff;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.unp-match-country-flag {
	font-size: 1.8em;
	line-height: 1;
	position: absolute;
	top: 13px;
	left: 12px;
}

.unp-match-card-title {
	font-size: 1.05em;
	line-height: 1.65;
	margin: 0 0 2px;
	padding-left: 34px;
}

.unp-match-card-title a {
	color: #18233b;
	text-decoration: none;
}

.unp-match-card-title a:hover {
	color: #1769e0;
}

.unp-match-card-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .92em;
	line-height: 1.8;
	color: #46516a;
}

.unp-match-card-meta li {
	margin: 0;
}

.unp-match-card-cta {
	display: block;
	background: #205998;
	color: #fff;
	text-decoration: none;
	text-align: center;
	padding: 8px 10px;
	border-radius: 5px;
	font-size: 1em;
	font-weight: 700;
	margin-top: auto;
}

.unp-match-card-cta:hover {
	background: #184a80;
	color: #fff;
}

@media (max-width: 900px) {
	.unp-match-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.unp-match-cards { grid-template-columns: 1fr; }
}
