/**
 * Single insurance — افزوده بر single-gold.css
 */

body.malinex-ins-single .site-main,
body.malinex-ins-single #content:not(#malinex-ins-single) {
	max-width: none;
	padding: 0;
}

body.malinex-ins-single .page-header,
body.malinex-ins-single .elementor-location-single,
body.malinex-ins-single main#content.site-main:not(#malinex-ins-single) {
	display: none !important;
}

body.malinex-ins-single #malinex-ins-single {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* امتیازهای هیرو */
.malinex-ins-hero-scores {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-end;
}

.malinex-ins-score-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 11.5rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--gold-border, #e2e6eb);
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
}

.malinex-ins-score-pill__label {
	color: var(--gold-text, #1a1d21);
	font-weight: 600;
}

.malinex-ins-score-pill__value {
	color: var(--gold-muted, #5c6570);
	white-space: nowrap;
}

/* تگ‌ها با حاشیه آبی */
.malinex-ins-tags .malinex-gold-tags__item {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	border: 1px solid var(--gold-blue, #1873d9);
	color: var(--gold-blue, #1873d9);
	background: #fff;
}

/* بیمه‌نامه */
.malinex-ins-policy-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.malinex-ins-policy-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.5rem;
}

.malinex-ins-policy-row__icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #e8f2fc center / 55% no-repeat;
	border: 1px solid #d4e6f8;
}

.malinex-ins-policy-row__icon--vehicle {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M5 11l1.5-4h11L19 11v6h-2v-2H7v2H5v-5zm2.2-2l-.7 2h10.9l-.8-2H7.2z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--treatment {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M12 21s-6-4.35-6-9a6 6 0 0112 0c0 4.65-6 9-6 9z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--life {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M12 3c2.5 2.2 5 4.5 5 7.5a5 5 0 01-10 0C7 7.5 9.5 5.2 12 3z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--liability {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M4 20V9l8-5 8 5v11H4zm2-2h12v-8.6l-6-3.75-6 3.75V18z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--travel {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M2 19l9-2 11-9-4 11-9 2 2-7-9 3z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--cargo {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M3 18V8h12v10H3zm14 0V6h3l2 3v9h-5z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__icon--special {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231873d9'%3E%3Cpath d='M12 2l2.4 7.2H22l-6 4.6 2.3 7.2L12 17l-6.3 4 2.3-7.2-6-4.6h7.6L12 2z'/%3E%3C/svg%3E");
}

.malinex-ins-policy-row__main {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--gold-blue, #1873d9);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.malinex-ins-policy-row__subs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.malinex-ins-policy-row__subs li {
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	border: 1px solid #b8d4f5;
	background: #f3f8fd;
	color: var(--gold-blue, #1873d9);
	font-size: 0.75rem;
	font-weight: 600;
}

/* مجوزها — کارت بزرگ */
.malinex-ins-licenses-wrap {
	background: #f5f7fa;
}

.malinex-ins-license-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.malinex-ins-license-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 7.5rem;
	padding: 1rem;
	border-radius: 12px;
	background: #dceaf8;
	border: 1px solid #c5daf0;
	text-align: center;
}

.malinex-ins-license-card__mark {
	width: 3rem;
	height: 3rem;
	border-radius: 8px;
	background: #fff center / 70% no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Crect fill='%23125cad' width='64' height='32' rx='4'/%3E%3Ctext x='32' y='20' text-anchor='middle' fill='white' font-size='8' font-family='Tahoma'%3Eبیمه%3C/text%3E%3C/svg%3E");
	box-shadow: 0 2px 6px rgba(18, 92, 173, 0.12);
}

.malinex-ins-license-card__title {
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.55;
	color: var(--gold-blue-dark, #125cad);
}

/* ثبت + تماس */
.malinex-ins-registry-card .malinex-gold-panel {
	box-shadow: none;
	border: none;
	padding: 0;
	margin: 0 0 1rem;
	background: transparent;
}

.malinex-ins-divider {
	border: none;
	border-top: 1px solid var(--gold-border, #e2e6eb);
	margin: 0 0 1rem;
}

.malinex-ins-contact__label {
	color: var(--gold-muted, #5c6570);
}

.malinex-ins-sidebar-types {
	margin-top: 0.35rem;
}

@media (max-width: 900px) {
	.malinex-ins-license-cards {
		grid-template-columns: 1fr;
	}

	.malinex-ins-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.malinex-ins-hero-scores {
		align-items: stretch;
	}

	.malinex-ins-score-pill {
		min-width: 0;
	}
}
