/**
 * SSRP LP — Problem block.
 *
 * Figma "Every case covered" pattern: 2-column card grid. Each card has a
 * square media slot (image or icon) on the left + body on the right with an
 * orange eyebrow ("Case 1"), title, and description. Cards are plain white
 * with a thin bottom border — no heavy card shadows.
 */

.ssrp-lp-section--problem .ssrp-lp-problem__header {
	margin-bottom: 1.25rem;
}

.ssrp-lp-problem__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
}

.ssrp-lp-problem__card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: start;
	padding: 1rem 0;
}

.ssrp-lp-problem__card:not(.ssrp-lp-problem__card--media) {
	grid-template-columns: 1fr;
}

.ssrp-lp-problem__media {
	width: 10.5rem;
	aspect-ratio: 1 / 1;
	border-radius: var(--ssrp-lp-radius-sm);
	overflow: hidden;
	background: var(--ssrp-lp-border-soft);
	flex-shrink: 0;
}

.ssrp-lp-problem__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ssrp-lp-problem__media--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	aspect-ratio: auto;
	background: var(--ssrp-lp-brand-soft);
	color: var(--ssrp-lp-brand);
	border-radius: var(--ssrp-lp-radius-sm);
}

.ssrp-lp-problem__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.ssrp-lp-problem__icon .dashicons {
	width: 1.5rem;
	height: 1.5rem;
	font-size: 1.5rem;
}

.ssrp-lp-problem__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ssrp-lp-problem__eyebrow {
	margin: 0 0 0.125rem;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
}

.ssrp-lp-problem__title {
	margin: 0;
	font-family: var(--ssrp-lp-font);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ssrp-lp-ink);
}

.ssrp-lp-problem__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ssrp-lp-ink-muted);
}

.ssrp-lp-section--ink .ssrp-lp-problem__title { color: var(--ssrp-lp-surface); }
.ssrp-lp-section--ink .ssrp-lp-problem__desc  { color: rgb(255 255 255 / 0.75); }

@media (max-width: 720px) {
	.ssrp-lp-problem__grid {
		grid-template-columns: 1fr;
	}
	.ssrp-lp-problem__media {
		width: 8rem;
	}
}
