/*
Theme Name: Cognize Child
Theme URI: https://cognize.pl
Description: Cognize design system on Elementor v4 (child of Hello Elementor — standalone in Etap 4).
Author: Cognize
Author URI: https://cognize.pl
Template: hello-elementor
Version: 1.0.3
Text Domain: cognize-child
*/

/* Tokens: SSoT here. Mirror subset (color/font/size) pushed to Elementor
   Variables Manager via _scripts/import-tokens-to-elementor.php. Sync is
   one-way CSS → VM; VM edits are overwritten on re-import. */
:root {
	--cog-color-cloud-100: #FAFBFB;
	--cog-color-cloud-200: #F2F3F3;
	--cog-color-cloud-300: #E8E9E9;
	--cog-color-cloud-400: #DEE0E0;
	--cog-color-cloud-500: #CACBCB;
	--cog-color-cloud-600: #B7BABA;
	--cog-color-cloud-700: #A0A3A3;

	--cog-color-graphite-100: #737272;
	--cog-color-graphite-200: #616060;
	--cog-color-graphite-300: #525151;
	--cog-color-graphite-400: #3E3C3C;
	--cog-color-graphite-500: #343232;
	--cog-color-graphite-600: #272626;

	--cog-color-core-black-600: #1A1A1A;

	--cog-color-lime-100: #ECFFC5;
	--cog-color-lime-200: #DAF89C;
	--cog-color-lime-300: #C8F178;
	--cog-color-lime-400: #B1DE5A;

	--cog-color-error-red-600: #CF1804;

	/* Pure black is intentionally absent — use Core Black 600 (#1A1A1A). */
	--cog-color-base-white: #FFFFFF;

	--cog-font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
	--cog-font-weight-regular: 400;
	--cog-font-weight-medium: 500;
	--cog-font-weight-bold: 700;

	--cog-font-size-hero-l: 56px;
	--cog-font-size-hero-s: 30px;
	--cog-font-size-h1: 44px;
	--cog-font-size-h2: 34px;
	--cog-font-size-h3: 28px;
	--cog-font-size-h4: 24px;
	--cog-font-size-h5: 22px;
	--cog-font-size-h6: 18px;
	--cog-font-size-body-xl: 20px;
	--cog-font-size-body-l: 18px;
	--cog-font-size-body-m: 16px;
	--cog-font-size-body-s: 14px;

	--cog-line-height-tight: 1.2;
	--cog-line-height-normal: 1.4;

	--cog-content-max-width: 1440px;
}

@media ( max-width: 1023px ) {
	:root {
		--cog-font-size-h1: 30px;
		--cog-font-size-h2: 25px;
		--cog-font-size-h3: 23px;
		--cog-font-size-h4: 22px;
		--cog-font-size-h5: 20px;
		--cog-font-size-h6: 18px;
	}
}

.cog {
	font-family: var( --cog-font-family );
	color: var( --cog-color-core-black-600 );
	line-height: var( --cog-line-height-normal );
}

/* `line-height` re-asserted here because Hello Elementor's reset.css sets
   `h1..h6 { line-height: 1.2 }` directly on the tag, which beats the value
   inherited from `.cog` regardless of specificity. */
.cog h1,
.cog h2,
.cog h3,
.cog h4,
.cog h5,
.cog h6 {
	font-family: inherit;
	color: inherit;
	font-weight: var( --cog-font-weight-bold );
	line-height: var( --cog-line-height-normal );
}

.cog h1 { font-size: var( --cog-font-size-h1 ); line-height: var( --cog-line-height-tight ); }
.cog h2 { font-size: var( --cog-font-size-h2 ); line-height: var( --cog-line-height-tight ); }
.cog h3 { font-size: var( --cog-font-size-h3 ); }
.cog h4 { font-size: var( --cog-font-size-h4 ); }
.cog h5 { font-size: var( --cog-font-size-h5 ); }
.cog h6 { font-size: var( --cog-font-size-h6 ); }

.cog-hero-l {
	font-size: var( --cog-font-size-hero-l );
	line-height: var( --cog-line-height-tight );
	font-weight: var( --cog-font-weight-bold );
}

.cog-hero-s {
	font-size: var( --cog-font-size-hero-s );
	line-height: var( --cog-line-height-tight );
	font-weight: var( --cog-font-weight-bold );
}

.cog-body-xl { font-size: var( --cog-font-size-body-xl ); }
.cog-body-l  { font-size: var( --cog-font-size-body-l ); }
.cog-body-m  { font-size: var( --cog-font-size-body-m ); }
.cog-body-s  { font-size: var( --cog-font-size-body-s ); }

.cog-w-regular { font-weight: var( --cog-font-weight-regular ); }
.cog-w-medium  { font-weight: var( --cog-font-weight-medium ); }
.cog-w-bold    { font-weight: var( --cog-font-weight-bold ); }

/* Button selectors use `body.cog .cog-btn.cog-btn--*` (0,3,1) to beat
   Elementor v4 atomic `.elementor .e-button-base` (0,2,1) which loads later. */
body.cog .cog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 8px 40px;
	border: 0;
	border-radius: 32px;
	cursor: pointer;
	text-decoration: none;
	/* `<button>` resets both font-family and line-height (user-agent);
	   `<a>` inherits from `.cog`. Re-assert both so Atomic button renders
	   the same whether link prop is filled (→<a>) or empty (→<button>). */
	font-family: var( --cog-font-family );
	font-size: var( --cog-font-size-body-m );
	font-weight: var( --cog-font-weight-regular );
	line-height: 100%;
	letter-spacing: 0;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Hello Elementor's `button:hover/focus` forces color + text-decoration;
   re-assertions across variants below neutralise it. */
body.cog .cog-btn:hover,
body.cog .cog-btn:focus,
body.cog .cog-btn:focus-visible,
body.cog .cog-btn:active {
	text-decoration: none;
}

body.cog .cog-btn.cog-btn--primary {
	background-color: var( --cog-color-lime-300 );
	color: var( --cog-color-core-black-600 );
}

body.cog .cog-btn.cog-btn--primary:hover,
body.cog .cog-btn.cog-btn--primary:focus-visible {
	background-color: var( --cog-color-lime-100 );
	color: var( --cog-color-core-black-600 );
}

body.cog .cog-btn.cog-btn--secondary {
	background-color: var( --cog-color-core-black-600 );
	color: var( --cog-color-base-white );
}

body.cog .cog-btn.cog-btn--secondary:hover,
body.cog .cog-btn.cog-btn--secondary:focus-visible {
	background-color: var( --cog-color-lime-300 );
	color: var( --cog-color-core-black-600 );
}

body.cog .cog-btn.cog-btn--outline-black {
	background-color: transparent;
	color: var( --cog-color-core-black-600 );
	border: 1px solid var( --cog-color-core-black-600 );
}

body.cog .cog-btn.cog-btn--outline-black:hover,
body.cog .cog-btn.cog-btn--outline-black:focus-visible {
	border-color: var( --cog-color-lime-300 );
	color: var( --cog-color-core-black-600 );
}

body.cog .cog-btn.cog-btn--outline-white {
	background-color: transparent;
	color: var( --cog-color-base-white );
	border: 1px solid var( --cog-color-base-white );
}

body.cog .cog-btn.cog-btn--outline-white:hover,
body.cog .cog-btn.cog-btn--outline-white:focus-visible {
	border-color: var( --cog-color-lime-300 );
	color: var( --cog-color-base-white );
}

body.cog .cog-btn.cog-btn--icon {
	width: 56px;
	height: 56px;
	min-width: 56px;
	padding: 8px;
}

body.cog .cog-btn svg {
	fill: currentColor;
	flex-shrink: 0;
}

body.cog .cog-card-pill {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 48px 64px;
	background-color: var( --cog-color-base-white );
	border-radius: 88px;
	flex: 1 1 0;
	min-width: 0;
}

body.cog .cog-card-pill__value {
	margin: 0;
	font-weight: var( --cog-font-weight-regular );
}

body.cog .cog-card-pill__label {
	margin: 0;
	font-size: var( --cog-font-size-body-xl );
}

body.cog .cog-section-pills {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-block: 64px;
	padding-inline: 16px;
	background-color: var( --cog-color-cloud-100 );
}

body.cog .cog-section-pills__title,
body.cog .cog-section-pills__row {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
}

body.cog .cog-section-pills__title {
	margin-bottom: 40px;
}

body.cog .cog-section-pills__row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 8px;
	padding: 0;
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-pills {
		padding-block: 48px;
	}

	body.cog .cog-section-pills__row {
		flex-direction: column;
	}

	body.cog .cog-card-pill {
		padding: 32px;
		border-radius: 56px;
	}

	/* Figma mobile pills keep H3 at 28px (vs. global mobile H3 token = 23px). */
	body.cog .cog-card-pill__value {
		font-size: 28px;
	}
}

body.cog .cog-card-service {
	display: flex;
	flex-direction: column;
	padding: 64px;
	background-color: var( --cog-color-lime-100 );
	border-radius: 88px;
	flex: 1 1 0;
	min-width: 0;
}

body.cog .cog-card-service__eyebrow {
	margin: 0 0 8px;
	font-size: var( --cog-font-size-h6 );
	font-weight: var( --cog-font-weight-regular );
	color: var( --cog-color-graphite-400 );
}

body.cog .cog-card-service__title {
	margin: 0 0 32px;
}

body.cog .cog-card-service__description {
	margin: 0 0 40px;
	font-size: var( --cog-font-size-body-l );
}

body.cog .cog-section-services {
	display: flex;
	flex-direction: column;
	padding-block: 64px;
	padding-inline: 16px;
}

body.cog .cog-section-services__title,
body.cog .cog-section-services__row {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
}

body.cog .cog-section-services__title {
	margin-bottom: 48px;
}

body.cog .cog-section-services__row + .cog-section-services__row {
	margin-top: 8px;
}

body.cog .cog-section-services__row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 8px;
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-services {
		padding-block: 40px;
	}

	body.cog .cog-section-services__row {
		flex-direction: column;
	}

	body.cog .cog-card-service {
		padding: 32px;
		border-radius: 56px;
	}
}

body.cog .cog-card-case {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 458px;
	padding: 0;
	flex-shrink: 0;
}

body.cog .cog-card-case__image {
	width: 100%;
	aspect-ratio: 458 / 583;
	border-radius: 88px;
	object-fit: cover;
	display: block;
}

body.cog .cog-card-case__footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

body.cog .cog-card-case__text {
	margin: 0;
	font-size: var( --cog-font-size-body-l );
	font-weight: var( --cog-font-weight-medium );
}

body.cog .cog-section-cases {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding-block: 64px;
	padding-inline: 0;
}

body.cog .cog-section-cases__header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
	padding-inline: 16px;
}

body.cog .cog-section-cases__title {
	margin: 0;
}

/* Swiper container — full-bleed (no padding) so peek extends to viewport edges.
   `touch-action: pan-y` reserves horizontal gestures for Swiper while letting
   the page scroll vertically through the slider. */
body.cog .cog-section-cases__slider {
	width: 100%;
	padding: 0;
	overflow: hidden;
	touch-action: pan-y;
}

body.cog .cog-section-cases__slider .swiper-slide {
	width: auto;
	display: flex;
	transition: opacity 0.3s ease;
	opacity: 0.3;
	touch-action: pan-y;
}

body.cog .cog-section-cases__slider .swiper-slide-active,
body.cog .cog-section-cases__slider .swiper-slide-prev,
body.cog .cog-section-cases__slider .swiper-slide-next {
	opacity: 1;
}

body.cog .cog-section-cases__slider .swiper-slide-prev,
body.cog .cog-section-cases__slider .swiper-slide-next {
	opacity: 0.3;
}

body.cog .cog-section-cases__slider .swiper-slide-active {
	opacity: 1;
}

/* Dots + active pill pagination (Figma node 389:19243).
   Override Swiper's default `position: absolute` on bullets pagination —
   we want it inline in the section flow, centred below the slider. */
body.cog .cog-section-cases__progressbar.swiper-pagination-bullets {
	position: relative;
	inset: auto;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-inline: auto;
}

body.cog .cog-section-cases__progressbar .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	background-color: var( --cog-color-cloud-300 );
	border-radius: 50%;
	opacity: 1;
	cursor: pointer;
	transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease;
}

body.cog .cog-section-cases__progressbar .swiper-pagination-bullet-active {
	width: 40px;
	height: 10px;
	border-radius: 12px;
	background-color: var( --cog-color-graphite-300 );
}

@media ( max-width: 1023px ) {
	/* Card width caps at 320px (Figma mobile spec) but shrinks if viewport
	   is too narrow to leave peek room. 96px reserve = 48px each side, minus
	   16px Swiper spaceBetween gap = ~32px visible peek of next/prev slide. */
	body.cog .cog-card-case {
		width: min( 320px, calc( 100vw - 96px ) );
		gap: 24px;
	}

	body.cog .cog-card-case__image {
		aspect-ratio: 320 / 407;
	}

	body.cog .cog-section-cases {
		padding-block: 56px;
		gap: 32px;
	}

	/* Mobile DOM stays the same (header > title + button). Visual order
	   per Figma: title, slider, pagination, then button at the bottom.
	   `display: contents` flattens header so its children become direct
	   flex-items of the section, allowing `order` to push button last. */
	body.cog .cog-section-cases__header {
		display: contents;
	}

	body.cog .cog-section-cases__header > .cog-section-cases__title {
		padding-inline: 16px;
	}

	body.cog .cog-section-cases__header > .cog-btn {
		order: 999;
		margin-inline: 16px;
	}
}

body.cog .cog-section-offer {
	display: flex;
	flex-direction: column;
	gap: 48px;
	background-color: var( --cog-color-graphite-600 );
	color: var( --cog-color-base-white );
	padding-block: 64px;
	padding-inline: 16px;
}

body.cog .cog-section-offer__header,
body.cog .cog-section-offer__divider,
body.cog .cog-section-offer__content {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
	padding: 0;
}

body.cog .cog-section-offer__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.cog .cog-section-offer__eyebrow {
	margin: 0;
	font-size: var( --cog-font-size-h6 );
	color: var( --cog-color-cloud-400 );
}

body.cog .cog-section-offer__title {
	margin: 0;
	font-size: var( --cog-font-size-h2 );
	font-weight: 700;
	line-height: var( --cog-line-height-tight );
	color: var( --cog-color-base-white );
}

body.cog .cog-section-offer__divider {
	height: 1px;
	background-color: var( --cog-color-cloud-700 );
	border: 0;
}

body.cog .cog-section-offer__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

body.cog .cog-section-offer__lead {
	margin: 0;
	font-size: var( --cog-font-size-h5 );
}

body.cog .cog-section-offer__columns {
	display: flex;
	flex-direction: row;
	gap: 56px;
	align-items: flex-start;
}

body.cog .cog-section-offer__column {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0;
}

body.cog .cog-section-offer__column-title {
	margin: 0;
	font-size: var( --cog-font-size-h6 );
	font-weight: 700;
}

body.cog .cog-section-offer__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0;
}

body.cog .cog-section-offer__list a {
	color: var( --cog-color-base-white );
	font-size: var( --cog-font-size-body-m );
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.cog .cog-section-offer__list a:hover,
body.cog .cog-section-offer__list a:focus-visible {
	color: var( --cog-color-cloud-400 );
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-offer {
		padding-block: 48px;
		gap: 32px;
	}

	body.cog .cog-section-offer__columns {
		flex-direction: column;
		gap: 32px;
	}
}

body.cog .cog-section-rfq {
	display: flex;
	flex-direction: column;
	gap: 48px;
	background-color: var( --cog-color-graphite-600 );
	color: var( --cog-color-base-white );
	padding-block: 64px;
	padding-inline: 16px;
}

body.cog .cog-section-rfq__header,
body.cog .cog-section-rfq__divider,
body.cog .cog-section-rfq__content {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
	padding: 0;
}

body.cog .cog-section-rfq__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.cog .cog-section-rfq__eyebrow {
	margin: 0;
	font-size: var( --cog-font-size-h6 );
	color: var( --cog-color-cloud-400 );
}

body.cog .cog-section-rfq__title {
	margin: 0;
	font-size: var( --cog-font-size-h2 );
	font-weight: 700;
	line-height: var( --cog-line-height-tight );
}

body.cog .cog-section-rfq__divider {
	height: 1px;
	background-color: var( --cog-color-cloud-700 );
	border: 0;
}

body.cog .cog-section-rfq__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

body.cog .cog-section-rfq__lead {
	margin: 0;
	font-size: var( --cog-font-size-h5 );
}

body.cog .cog-section-rfq__columns {
	display: flex;
	flex-direction: row;
	gap: 56px;
	align-items: flex-start;
}

body.cog .cog-section-rfq__column {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0;
}

body.cog .cog-section-rfq__step-num {
	margin: 0 0 8px;
	font-size: var( --cog-font-size-body-m );
}

body.cog .cog-section-rfq__step-title {
	margin: 0;
	font-size: var( --cog-font-size-h5 );
}

body.cog .cog-section-rfq__step-text {
	margin: 0;
	font-size: var( --cog-font-size-body-m );
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-rfq {
		padding-block: 48px;
		gap: 32px;
	}

	body.cog .cog-section-rfq__columns {
		flex-direction: column;
		gap: 32px;
	}
}

/* Mobile image opts in via `--mobile` modifier and swaps in below 1024px. */
body.cog .cog-section-process {
	display: flex;
	flex-direction: column;
	gap: 48px;
	background-color: var( --cog-color-graphite-600 );
	color: var( --cog-color-base-white );
	padding-block: 64px;
	padding-inline: 16px;
}

body.cog .cog-section-process__title,
body.cog .cog-section-process__divider,
body.cog .cog-section-process__image,
body.cog .cog-section-process__footer {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
	padding: 0;
}

body.cog .cog-section-process__title {
	/* margin-block: 0 not `margin: 0` — the combined rule above sets
	   `margin-inline: auto` for centering within the section, and a
	   shorthand `margin` would override that to 0 and pin to left. */
	margin-block: 0;
	font-size: var( --cog-font-size-h2 );
	font-weight: 700;
	line-height: var( --cog-line-height-tight );
}

body.cog .cog-section-process__title em {
	font-style: normal;
	font-weight: 400;
}

body.cog .cog-section-process__divider {
	height: 1px;
	background-color: var( --cog-color-cloud-700 );
	border: 0;
}

body.cog .cog-section-process__image {
	display: block;
	height: auto;
}

body.cog .cog-section-process__image--mobile {
	display: none;
}

body.cog .cog-section-process__footer {
	display: flex;
	flex-direction: row;
	gap: 48px;
	align-items: flex-start;
}

body.cog .cog-section-process__question {
	flex: 0 0 400px;
	margin: 0;
	font-size: var( --cog-font-size-h5 );
}

body.cog .cog-section-process__list {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0;
}

body.cog .cog-section-process__list-item {
	display: flex;
	flex-direction: row;
	gap: 16px;
	align-items: flex-start;
	padding: 0;
}

body.cog .cog-section-process__list-num {
	flex: 0 0 30px;
	margin: 0;
	font-size: var( --cog-font-size-body-l );
}

body.cog .cog-section-process__list-text {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	font-size: var( --cog-font-size-body-l );
}

body.cog .cog-section-process__footnote {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	font-size: var( --cog-font-size-body-s );
	color: var( --cog-color-cloud-400 );
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-process {
		padding-block: 48px;
		gap: 32px;
	}

	body.cog .cog-section-process__image:not( .cog-section-process__image--mobile ) {
		display: none;
	}

	body.cog .cog-section-process__image--mobile {
		display: block;
	}

	body.cog .cog-section-process__footer {
		flex-direction: column;
		gap: 24px;
	}

	body.cog .cog-section-process__question {
		flex: 0 0 auto;
	}
}

body.cog .cog-section-doradztwo {
	background-color: var( --cog-color-graphite-600 );
	padding-block: 0 64px;
	padding-inline: 16px;
}

body.cog .cog-section-doradztwo__card {
	width: 100%;
	max-width: var( --cog-content-max-width );
	margin-inline: auto;
	background-color: var( --cog-color-core-black-600 );
	border: 1px solid var( --cog-color-graphite-300 );
	border-radius: 88px;
	padding: 64px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: var( --cog-color-base-white );
}

/* `padding: 0` and `width: auto` overrides on the flexboxes below neutralise
   Elementor's `.e-flexbox-base` (10px padding) and `.e-con` (--width: 100%)
   defaults, which would otherwise break this row layout. */
body.cog .cog-section-doradztwo__row {
	padding: 0;
	display: flex;
	flex-direction: row;
	gap: 160px;
	align-items: flex-start;
}

body.cog .cog-section-doradztwo__content {
	padding: 0;
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

body.cog .cog-section-doradztwo__eyebrow {
	margin: 0;
	font-size: var( --cog-font-size-body-l );
	color: var( --cog-color-cloud-400 );
}

body.cog .cog-section-doradztwo__title {
	margin: 0;
	font-size: var( --cog-font-size-h4 );
	font-weight: 700;
	line-height: var( --cog-line-height-tight );
}

body.cog .cog-section-doradztwo__text {
	margin: 0;
	font-size: var( --cog-font-size-body-l );
}

body.cog .cog-section-doradztwo__photos {
	padding: 0;
	width: auto;
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
}

body.cog .cog-section-doradztwo__photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
}

/* Figma: 20px overlap (ml=140 on 160-wide circle). */
body.cog .cog-section-doradztwo__photo + .cog-section-doradztwo__photo {
	margin-left: -20px;
}

body.cog .cog-section-doradztwo__cta {
	align-self: flex-start;
}

@media ( max-width: 1023px ) {
	body.cog .cog-section-doradztwo {
		padding-block: 0 48px;
	}

	body.cog .cog-section-doradztwo__card {
		padding: 32px;
		border-radius: 32px;
		gap: 32px;
	}

	body.cog .cog-section-doradztwo__row {
		flex-direction: column-reverse;
		gap: 32px;
		align-items: stretch;
	}

	body.cog .cog-section-doradztwo__content {
		align-self: stretch;
	}

	body.cog .cog-section-doradztwo__photos {
		width: 100%;
		justify-content: center;
	}

	/* Photo pair fills card content width on phones (Figma mobile: each circle
	   ≈ half the row), capped at 163px on tablets so it never exceeds the
	   Figma reference. */
	body.cog .cog-section-doradztwo__photo {
		width: min( calc( ( 100% + 20px ) / 2 ), 163px );
		height: auto;
		aspect-ratio: 1 / 1;
		flex-shrink: 0;
	}

	body.cog .cog-section-doradztwo__cta {
		align-self: stretch;
	}
}

/* Consumed only by /design-system/ (post 4352) — not a reusable component. */
body.cog .cog-ds-row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	margin-block: 24px;
}

body.cog .cog-ds-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: auto;
	flex: 0 0 auto;
}

body.cog .cog-ds-cell--dark {
	background-color: var( --cog-color-core-black-600 );
	padding: 16px;
	border-radius: 8px;
}

