/* Bento — editorial premium */
.cw-h2-section--bento {
	background: #f4f4f1;
	padding-block: var(--cw-section-pad);
}

.cw-h2-bento-wrap {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 4vw, 3rem);
}

.cw-h2-bento__intro {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-bottom: clamp(0.5rem, 2vw, 1rem);
	border-bottom: 1px solid rgba(10, 12, 20, 0.08);
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.cw-h2-bento__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(10, 10, 10, 0.45);
}

.cw-h2-bento__eyebrow-mark {
	display: inline-block;
	width: var(--cw-eyebrow-wave-size, 1.35rem);
	height: var(--cw-eyebrow-wave-size, 1.35rem);
	background: var(--cw-eyebrow-wave) center / contain no-repeat;
	opacity: 0.55;
}

.cw-h2-bento__title {
	margin: 0 0 0.875rem;
	font-size: clamp(1.85rem, 4.5vw, 2.75rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--cw-black);
	max-width: none;
}

.cw-h2-bento__title .cw-h2-accent {
	color: var(--cw-blue);
}

.cw-h2-bento__deck {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--cw-gray);
	max-width: none;
}

.cw-h2-bento {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.25rem);
}

.cw-h2-bento__feature {
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border: 1px solid rgba(10, 12, 20, 0.08);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 28px 64px rgba(10, 12, 20, 0.08);
}

@media (min-width: 768px) {
	.cw-h2-bento__feature {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: stretch;
	}
}

.cw-h2-bento__feature-media {
	position: relative;
	min-height: clamp(240px, 38vw, 380px);
	background: #e8e8e4;
}

@media (min-width: 768px) {
	.cw-h2-bento__feature-media {
		min-height: 100%;
	}
}

.cw-h2-bento__feature-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center 45%;
}

.cw-h2-bento__feature-copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0;
	min-width: 0;
	padding: clamp(1.75rem, 3.5vw, 3rem);
	background: #fafaf8;
	border-top: 1px solid rgba(10, 12, 20, 0.06);
}

@media (min-width: 768px) {
	.cw-h2-bento__feature-copy {
		border-top: 0;
		border-left: 1px solid rgba(10, 12, 20, 0.06);
	}
}

.cw-h2-bento__feature-title {
	margin: 0 0 0.875rem;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.cw-h2-bento__feature-lead {
	margin: 0 0 1.25rem;
	font-size: 0.975rem;
	line-height: 1.65;
	color: var(--cw-gray);
	max-width: 38ch;
}

.cw-h2-bento__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.cw-h2-bento__list--grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
		row-gap: 0.75rem;
	}
}

.cw-h2-bento__specs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1.5rem;
	padding: 1rem 0 0;
	border-top: 1px solid rgba(10, 12, 20, 0.08);
}

@media (min-width: 520px) {
	.cw-h2-bento__specs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cw-h2-bento__spec {
	margin: 0;
	min-width: 0;
}

.cw-h2-bento__spec dt {
	margin: 0 0 0.2rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(10, 10, 10, 0.45);
}

.cw-h2-bento__spec dd {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--cw-black);
}

.cw-h2-bento__feature-cta {
	margin: auto 0 0;
	padding-top: 0.5rem;
}

.cw-h2-bento__list li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--cw-gray);
}

.cw-h2-bento__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cw-blue);
	opacity: 0.85;
}

.cw-h2-bento__cards {
	display: grid;
	gap: clamp(0.875rem, 1.5vw, 1rem);
}

@media (min-width: 640px) {
	.cw-h2-bento__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.cw-h2-bento__cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cw-h2-bento__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 188px;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid rgba(10, 12, 20, 0.08);
	border-radius: 12px;
	transition:
		border-color 0.25s ease,
		box-shadow 0.35s ease,
		transform 0.35s ease;
}

.cw-h2-bento__card:hover {
	border-color: rgba(0, 126, 255, 0.25);
	box-shadow: 0 16px 40px -28px rgba(10, 12, 20, 0.2);
}

.cw-h2-bento__card--accent {
	background: linear-gradient(165deg, #0a0c14 0%, #12182a 100%);
	border-color: transparent;
	color: #fff;
}

.cw-h2-bento__card--accent:hover {
	border-color: transparent;
	box-shadow: 0 20px 48px -24px rgba(10, 12, 20, 0.45);
}

.cw-h2-bento__card--accent p {
	color: rgba(255, 255, 255, 0.72);
}

.cw-h2-bento__card--media {
	padding: 0;
	overflow: hidden;
	justify-content: flex-start;
	min-height: 220px;
}

.cw-h2-bento__card--accent.cw-h2-bento__card--media .cw-h2-bento__card-body {
	background: linear-gradient(165deg, #0a0c14 0%, #12182a 100%);
}

.cw-h2-bento__card-media {
	height: clamp(100px, 14vw, 140px);
	overflow: hidden;
	flex-shrink: 0;
}

.cw-h2-bento__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cw-h2-bento__card-body {
	padding: 1.25rem 1.5rem 1.5rem;
}

.cw-h2-bento__card-index {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--cw-gray);
	opacity: 0.7;
}

.cw-h2-bento__card--accent .cw-h2-bento__card-index {
	color: rgba(255, 255, 255, 0.5);
}

.cw-h2-bento__card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.cw-h2-bento__card p {
	margin: 0;
	font-size: var(--cw-text);
	line-height: 1.55;
	color: var(--cw-gray);
}

.cw-h2-bento__link {
	margin: clamp(2rem, 4vw, 2.75rem) 0 0;
}

.cw-h2-link-caps {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cw-black);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.cw-h2-link-caps:hover {
	color: var(--cw-blue);
	border-color: var(--cw-blue);

/* Accent italic — ten sam wzorzec co home-v3 */
.cw-h2-bento__title .cw-h2-accent,
.cw-h2-bento__title .cw-h3-accent {
	font-family: var(--cw-font-accent);
	font-style: italic;
	font-weight: 400;
	color: inherit;
}
