/* Customer detail page */

.rfj-single-customer-page {
	padding: 24px 0 64px;
	background: #f6f7f9;
	color: var(--rfzj_color_text, #1d2939);
}

.rfj-single-customer-header {
	margin-bottom: 0;
}

.rfj-single-customer-header .breadcrumb {
	margin-bottom: 16px;
}

.rfj-single-customer-hero {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 24px;
	border: 1px solid #e7eaf0;
	border-radius: 16px 16px 0 0;
	background: #fff;
}

.rfj-single-customer-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	background: #f5f7fa;
	color: var(--rfzj_color_blue, #2563eb);
	font-size: 30px;
	font-weight: 800;
}

.rfj-single-customer-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.rfj-single-customer-identity {
	min-width: 0;
}

.rfj-single-customer-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.rfj-single-customer-title-row h1 {
	margin: 0;
	color: var(--rfzj_color_text, #1d2939);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.35;
}

.rfj-single-customer-status {
	padding: 3px 8px;
	border-radius: 999px;
	background: #fff1f1;
	color: #b42324;
	font-size: 12px;
	font-weight: 700;
}

.rfj-single-customer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 12px;
	color: var(--rfzj_color_muted, #667085);
	font-size: 13px;
}

.rfj-single-customer-meta > * {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.rfj-single-customer-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.rfj-single-customer-stats span {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f5f7fa;
	color: #667085;
	font-size: 12px;
}

.rfj-single-customer-stats strong {
	color: #d1191a;
	font-size: 14px;
}

.rfj-single-customer-industry,
.rfj-single-customer-industry:hover,
.rfj-single-customer-industry:focus {
	color: var(--rfzj_color_blue, #2563eb);
	text-decoration: none;
}

.rfj-single-customer-header > .rfj-post-actions-container {
	padding: 12px 20px;
	border: 1px solid #e7eaf0;
	border-top: 0;
	border-radius: 0 0 16px 16px;
	background: #fff;
}

.rfj-single-customer-page .rfj-related-card-section,
.rfj-single-customer-details {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	background: #fff;
}

.rfj-single-customer-page .rfj-related-card-section .section-title,
.rfj-single-customer-section-heading {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	color: var(--rfzj_color_text, #1d2939);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
}

.rfj-single-customer-page .rfj-related-card-section .section-title::before,
.rfj-single-customer-section-heading::before {
	display: inline-block;
	width: 4px;
	height: 18px;
	margin-right: 10px;
	border-radius: 4px;
	background: #d1191a;
	vertical-align: -2px;
	content: "";
}

.rfj-single-customer-page .rfj-related-card-section > [data-rfzj-component] + [data-rfzj-component] {
	margin-top: 12px;
}

.rfj-single-customer-more-cards {
	margin-top: 14px;
}

.rfj-single-customer-more-cards summary {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: #fafbfc;
	color: #475467;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.rfj-single-customer-more-cards summary::-webkit-details-marker {
	display: none;
}

.rfj-single-customer-more-cards summary::after {
	margin-left: 7px;
	content: "＋";
}

.rfj-single-customer-more-cards[open] summary::after {
	content: "－";
}

.rfj-single-customer-more-card-list {
	margin-top: 12px;
}

.rfj-single-customer-more-card-list > [data-rfzj-component] + [data-rfzj-component] {
	margin-top: 12px;
}

.rfj-single-customer-overview,
.rfj-single-customer-archive {
	overflow: hidden;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	background: #fff;
}

.rfj-single-customer-overview + .rfj-single-customer-archive {
	margin-top: 16px;
}

.rfj-single-customer-copy-section {
	padding: 22px 24px;
}

.rfj-single-customer-copy-section h3,
.rfj-single-customer-archive-title {
	margin: 0 0 14px;
	color: var(--rfzj_color_text, #1d2939);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}

.rfj-single-customer-copy {
	color: #475467;
	font-size: 14px;
	line-height: 1.85;
}

.rfj-single-customer-copy > :last-child {
	margin-bottom: 0;
}

.rfj-single-customer-summary-details summary {
	color: #d1191a;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.rfj-single-customer-summary-details[open] summary {
	margin-bottom: 12px;
}

.rfj-single-customer-disclaimer {
	padding: 14px 24px;
	border-top: 1px solid #eef1f5;
	background: #fafbfc;
	color: #98a2b3;
	font-size: 12px;
}

.rfj-single-customer-archive-title {
	margin: 0;
	padding: 20px 22px 16px;
	border-bottom: 1px solid #eef1f5;
}

.rfj-single-customer-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 22px;
	margin: 0;
	padding: 10px 22px;
}

.rfj-single-customer-info-group {
	padding: 18px 22px;
	border-top: 1px solid #eef1f5;
}

.rfj-single-customer-info-group h3 {
	margin: 0 0 10px;
	color: #475467;
	font-size: 13px;
	font-weight: 800;
}

.rfj-single-customer-business-scope .rfj-single-customer-copy {
	max-width: 960px;
}

.rfj-single-customer-info-row {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px;
	min-width: 0;
	padding: 10px 0;
	border-bottom: 1px dashed #e5e7eb;
	font-size: 13px;
	line-height: 1.55;
}

.rfj-single-customer-info-row--wide {
	grid-column: 1 / -1;
}

.rfj-single-customer-info-row dt {
	color: #98a2b3;
	font-weight: 400;
}

.rfj-single-customer-info-row dt::after {
	content: "：";
}

.rfj-single-customer-info-row dd {
	min-width: 0;
	margin: 0;
	color: #344054;
	font-weight: 600;
	word-break: break-word;
}

.rfj-single-customer-info-row a {
	color: var(--rfzj_color_blue, #2563eb);
	text-decoration: none;
	word-break: break-all;
}

.rfj-single-customer-videos .row {
	margin-right: -8px;
	margin-left: -8px;
}

.rfj-single-customer-videos .row > div {
	padding-right: 8px;
	padding-left: 8px;
	margin-bottom: 16px;
}

.rfj-single-customer-page .rfj-single-customer-secondary-section {
	border-color: #edf0f4;
	background: #fafbfc;
}

.rfj-single-customer-secondary-section .section-title {
	color: #475467;
}

.rfj-single-customer-not-found {
	padding: 90px 20px;
	text-align: center;
}

.rfj-single-customer-not-found h1 {
	margin: 0 0 22px;
	font-size: 25px;
	font-weight: 800;
}

@media (max-width: 767px) {
	.rfj-single-customer-page {
		padding: 12px 0 40px;
	}

	.rfj-single-customer-header {
		margin-bottom: 0;
	}

	.rfj-single-customer-hero {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 13px;
		padding: 18px 16px;
		border-radius: 14px 14px 0 0;
	}

	.rfj-single-customer-logo {
		width: 58px;
		height: 58px;
		border-radius: 13px;
		font-size: 23px;
	}

	.rfj-single-customer-title-row h1 {
		font-size: 21px;
	}

	.rfj-single-customer-meta {
		gap: 7px 12px;
		margin-top: 8px;
		font-size: 12px;
	}

	.rfj-single-customer-stats {
		margin-top: 10px;
	}

	.rfj-single-customer-header > .rfj-post-actions-container {
		padding: 10px 14px;
		border-radius: 0 0 14px 14px;
	}

	.rfj-single-customer-page .rfj-related-card-section,
	.rfj-single-customer-details {
		margin-top: 14px;
		padding: 16px 14px;
		border-radius: 14px;
	}

	.rfj-single-customer-page .rfj-related-card-section .section-title,
	.rfj-single-customer-section-heading {
		margin-bottom: 16px;
		font-size: 18px;
	}

	.rfj-single-customer-overview,
	.rfj-single-customer-archive {
		border-radius: 12px;
	}

	.rfj-single-customer-copy-section {
		padding: 19px 17px;
	}

	.rfj-single-customer-copy {
		line-height: 1.75;
	}

	.rfj-single-customer-disclaimer,
	.rfj-single-customer-info-group {
		padding: 16px 17px;
	}

	.rfj-single-customer-info-grid {
		grid-template-columns: 1fr;
		padding: 8px 17px;
	}

	.rfj-single-customer-archive-title {
		padding: 18px 17px 14px;
	}

	.rfj-single-customer-info-row--wide {
		grid-column: auto;
	}
}

@media (max-width: 420px) {
	.rfj-single-customer-info-row {
		display: block;
	}

	.rfj-single-customer-info-row dt {
		margin-bottom: 3px;
	}
}
