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

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

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

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

/* ویژگی‌های سکو */
.malinex-cf-features-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--gold-border, #e2e6eb);
	border-radius: var(--gold-radius, 10px);
	/* overflow: hidden; */
	background: #fff;
}

.malinex-cf-features-grid__row {
	display: flex;
	align-items: stretch;
}

.malinex-cf-features-grid__row + .malinex-cf-features-grid__row {
	border-top: 1px solid #e8ebef;
}

.malinex-cf-features-grid__col {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.85rem 0.65rem;
	text-align: center;
}

.malinex-cf-features-grid__col + .malinex-cf-features-grid__col {
	border-inline-start: 1px solid #e8ebef;
}

.malinex-cf-features-grid__label {
	font-size: 0.75rem;
	color: var(--gold-muted, #5c6570);
	line-height: 1.45;
}

.malinex-cf-metric-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.malinex-cf-metric-label__text {
	display: inline;
}

.malinex-cf-metric-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.95rem;
	height: 0.95rem;
	color: var(--gold-blue, #1873d9);
}

.malinex-cf-metric-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.malinex-cf-features-grid__value {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gold-text, #1a1d21);
}

/* مدارک سرمایه‌پذیر */
.malinex-cf-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.malinex-cf-docs-list li {
	padding: 0.65rem 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gold-text, #1a1d21);
	border: 1px solid var(--gold-border, #e2e6eb);
	border-radius: 8px;
	background: #f8f9fb;
}

.malinex-cf-docs-list li + li {
	margin-top: 0.5rem;
}

/* مجوزها — پنل بدون برچسب ستون */
#cf-sec-licenses .malinex-gold-panel__label {
	display: none;
}

#cf-sec-licenses .malinex-gold-panel__value {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.55;
}

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

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

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

/* فرصت‌های سرمایه‌گذاری — سایدبار */
.malinex-cf-opportunities__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
}

.malinex-cf-opportunities__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--gold-blue, #1873d9);
}

.malinex-cf-opportunities__all {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: var(--gold-blue, #1873d9);
    color: #fff !important;
    font-size: 0.6875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}

.malinex-cf-opportunities__all:hover {
	background: var(--gold-blue-dark, #125cad);
	color: #fff;
}

.malinex-cf-opportunities__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.malinex-cf-opp-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	min-height: 9.5rem;
	background-color: #e8eef5;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--gold-border, #e2e6eb);
}

.malinex-cf-opp-card__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.75rem;
	min-height: 9.5rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.65) 100%);
}

.malinex-cf-opp-card__top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.malinex-cf-opp-card__thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid #fff;
}

.malinex-cf-opp-card__title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--gold-blue, #1873d9);
}

.malinex-cf-opp-card__metrics {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
}

.malinex-cf-opp-card__metric {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.malinex-cf-opp-card__metric-label {
	font-size: 0.6875rem;
	color: var(--gold-muted, #5c6570);
}

.malinex-cf-opp-card__metric-value {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--gold-text, #1a1d21);
}

.malinex-cf-opp-card__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--gold-blue, #1873d9);
    color: var(--gold-blue, #1873d9) !important;
    font-size: 0.6875rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: center;
    justify-content: center;
    background: #c2d5e9;
}

.malinex-cf-opp-card__btn:hover {
	background: var(--gold-blue-dark, #125cad);
	color: #fff;
}

@media (max-width: 900px) {
	.malinex-cf-features-grid__row {
		flex-wrap: wrap;
	}

	.malinex-cf-features-grid__col {
		flex: 1 1 45%;
		border-inline-start: none;
	}

	.malinex-cf-features-grid__col:nth-child(odd) {
		border-inline-end: 1px solid #e8ebef;
	}
}

@media (max-width: 520px) {
	.malinex-cf-features-grid__col {
		flex: 1 1 100%;
		border-inline-end: none !important;
	}
}
