/**
 * Private Label page styles — matches
 * private_label_solutions_rcc_industrial_pivot/code.html.
 * Loaded only on the Private Label page (see functions.php).
 *
 * Note on block-gap: WordPress's default "flow" layout injects
 * `margin-block-start` on every child after the first
 * (`.is-layout-flow > * + *`) inside any Group using the default layout —
 * and every custom flex/grid wrapper below is a Group using that default
 * layout, arranging its children with CSS `display:flex`/`grid` instead of
 * simple vertical flow. Left alone, that WP rule pushes the 2nd/3rd+ child
 * of every such wrapper down/sideways depending on axis. Rather than wait
 * for that to surface as a visible misalignment, every descendant inside
 * this page's four sections is proactively zeroed out below, then the few
 * margins actually wanted (paragraph max-widths, stat value spacing, etc.)
 * are re-declared explicitly afterward with a more specific selector.
 */

.rcc-private-label-hero *,
.rcc-private-label-bento-section *,
.rcc-private-label-scale *,
.rcc-private-label-cta * {
	margin: 0;
}

.rcc-private-label-container {
	max-width: var(--wp--custom--container--max);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--lg);
	width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.rcc-private-label-hero {
	background-color: var(--wp--preset--color--surface-container-low);
	padding-block: var(--wp--preset--spacing--xl);
	overflow: hidden;
}
.rcc-private-label-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--xl);
	align-items: center;
}
@media (min-width: 768px) {
	.rcc-private-label-hero__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.rcc-private-label-hero__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--md);
}
/*
 * Matches the Home hero label treatment (.rcc-badge) exactly — same font,
 * size, weight, letter-spacing, colors, and vertical padding — but stretched
 * to the full width of the hero text column instead of shrink-wrapping to
 * an inline pill, per the reference. border-radius is 0 rather than
 * .rcc-badge's subtle 2px: this page's refinement pass reserves rounded
 * corners for buttons only.
 */
.rcc-private-label-hero__eyebrow {
	display: block;
	width: 100%;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #ffffff;
	background-color: var(--wp--preset--color--primary);
	padding: 4px 8px;
	border-radius: 0;
}
.rcc-private-label-hero__desc {
	max-width: 576px;
}
.rcc-private-label-hero__actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--xl);
	border-radius: var(--wp--custom--radius--xl);
	font-size: 14px;
}
.rcc-private-label-hero__image {
	position: relative;
	height: 500px;
	border-radius: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--outline-variant);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.rcc-private-label-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------------------------------------------------------------- */
/* Capabilities bento                                                      */
/* ---------------------------------------------------------------------- */
.rcc-private-label-bento-section {
	padding-block: var(--wp--preset--spacing--xl);
}
.rcc-private-label-bento {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--lg);
}
@media (min-width: 768px) {
	.rcc-private-label-bento {
		grid-template-columns: repeat(12, 1fr);
	}
}
.rcc-private-label-card {
	border-radius: 0;
	padding: var(--wp--preset--spacing--lg);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
	grid-column: span 12;
}
.rcc-private-label-card h3 {
	margin-bottom: 12px;
}
.rcc-private-label-card__desc {
	color: var(--wp--preset--color--on-surface-variant);
	margin-bottom: var(--wp--preset--spacing--md);
}
.rcc-private-label-card--engineering {
	background-color: var(--wp--preset--color--surface-container-lowest);
	border: 1px solid var(--wp--preset--color--outline-variant);
}
@media (min-width: 768px) {
	.rcc-private-label-card--engineering {
		grid-column: span 8;
	}
}
.rcc-private-label-card--engineering:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.rcc-private-label-card--branding {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
}
@media (min-width: 768px) {
	.rcc-private-label-card--branding {
		grid-column: span 4;
	}
}
.rcc-private-label-card--branding h3 {
	color: inherit;
}
.rcc-private-label-card--branding .rcc-private-label-card__desc {
	color: var(--wp--preset--color--on-primary);
	opacity: 0.9;
	margin-bottom: var(--wp--preset--spacing--lg);
}
.rcc-private-label-card__list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--sm);
	margin-top: var(--wp--preset--spacing--md);
}
.rcc-private-label-card__list-item {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
}
.rcc-private-label-card__list-item .material-symbols-outlined {
	font-size: 14px;
}
.rcc-private-label-card--supply {
	background-color: var(--wp--preset--color--surface-container);
	border: 1px solid var(--wp--preset--color--outline-variant);
}
@media (min-width: 768px) {
	.rcc-private-label-card--supply {
		grid-column: span 4;
	}
}
.rcc-private-label-card--bulk-text {
	background-color: var(--wp--preset--color--surface-container-lowest);
	border: 1px solid var(--wp--preset--color--outline-variant);
}
@media (min-width: 768px) {
	.rcc-private-label-card--bulk-text {
		grid-column: span 4;
	}
}
.rcc-private-label-card--bulk-image {
	position: relative;
	min-height: 200px;
	border: 1px solid var(--wp--preset--color--outline-variant);
	background-color: var(--wp--preset--color--surface-container-high);
	grid-column: span 12;
}
@media (min-width: 768px) {
	.rcc-private-label-card--bulk-image {
		grid-column: span 4;
	}
}
.rcc-private-label-card--bulk-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------------------------------------------------------------- */
/* Strategic Manufacturing Partnerships (dark section)                     */
/* ---------------------------------------------------------------------- */
.rcc-private-label-scale {
	background-color: var(--wp--preset--color--on-background);
	color: var(--wp--preset--color--on-primary);
	padding-block: var(--wp--preset--spacing--xl);
}
.rcc-private-label-scale__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--xl);
	align-items: center;
}
@media (min-width: 768px) {
	.rcc-private-label-scale__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.rcc-private-label-scale__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--md);
}
.rcc-private-label-scale__eyebrow {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: var(--wp--preset--font-size--label-caps);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary-fixed);
}
.rcc-private-label-scale__heading {
	color: var(--wp--preset--color--primary-fixed);
}
.rcc-private-label-scale__divider {
	width: 80px;
	height: 4px;
	border: none;
	background-color: var(--wp--preset--color--primary);
	opacity: 1;
}
.rcc-private-label-scale__desc {
	color: var(--wp--preset--color--outline-variant);
}
.rcc-private-label-scale__list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--sm);
	margin-top: var(--wp--preset--spacing--md);
}
.rcc-private-label-scale__list-item {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
}
.rcc-private-label-scale__list-item .material-symbols-outlined {
	color: var(--wp--preset--color--primary-fixed);
}
.rcc-private-label-scale__list-item p {
	color: var(--wp--preset--color--on-primary);
}
.rcc-private-label-scale__stats {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--lg);
	align-items: center;
	max-width: 448px;
	margin-inline: auto;
}
.rcc-private-label-stat {
	width: 100%;
	text-align: center;
	padding: var(--wp--preset--spacing--xl);
	border-radius: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--outline-variant) 30%, transparent);
	background-color: color-mix(in srgb, var(--wp--preset--color--surface-container-highest) 10%, transparent);
}
.rcc-private-label-stat__value {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 60px;
	line-height: 1;
	color: var(--wp--preset--color--primary-fixed);
	margin-bottom: var(--wp--preset--spacing--sm);
}
.rcc-private-label-stat__label {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.75;
	color: var(--wp--preset--color--on-primary);
}

/* ---------------------------------------------------------------------- */
/* Final CTA                                                               */
/* ---------------------------------------------------------------------- */
.rcc-private-label-cta {
	background-color: var(--wp--preset--color--surface-container-highest);
	padding-block: var(--wp--preset--spacing--xl);
}
.rcc-private-label-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.rcc-private-label-cta__icon {
	width: 64px;
	height: 64px;
	border-radius: 9999px;
	background-color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	margin-bottom: var(--wp--preset--spacing--md);
}
.rcc-private-label-cta__icon .material-symbols-outlined {
	color: var(--wp--preset--color--on-primary);
	font-size: 30px;
}
.rcc-private-label-cta__heading {
	margin-bottom: var(--wp--preset--spacing--md);
}
.rcc-private-label-cta__desc {
	max-width: 672px;
	margin-bottom: var(--wp--preset--spacing--xl);
}
.rcc-private-label-cta__actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--xl);
	border-radius: var(--wp--custom--radius--xl);
	font-size: 18px;
}
.rcc-private-label-cta__trust {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--lg);
	margin-top: var(--wp--preset--spacing--xl);
}
.rcc-private-label-cta__avatars {
	display: flex;
}
.rcc-private-label-cta__avatar {
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	border: 2px solid #ffffff;
	overflow: hidden;
	flex-shrink: 0;
	margin-left: -12px;
}
.rcc-private-label-cta__avatar:first-child {
	margin-left: 0;
}
.rcc-private-label-cta__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.rcc-private-label-cta__trust-text {
	color: var(--wp--preset--color--on-surface-variant);
}

/* ---------------------------------------------------------------------- */
/* Mobile: hero image gets a sensible, less extreme height when stacked    */
/* ---------------------------------------------------------------------- */
@media (max-width: 767.98px) {
	.rcc-private-label-hero__image {
		height: 320px;
	}
}
