/* Approach value axes — Figma 606:2509. Zigzag rows; each row's marker line fills as the row scrolls past (assets/js/approach-axes.js). */
.wp-block-post-content > .scico-approach-axes { margin-block-start: 0; }

.scico-approach-axes { box-sizing: border-box; margin-block-start: 0; padding: 24px 96px 96px; background: #fff; }
.scico-approach-axes__inner { display: flex; width: min(100%, var(--axes-contentWidth, 1248px)); flex-direction: column; gap: 48px; margin-inline: auto; }
.scico-approach-axes__heading { margin: 0; color: var(--axes-headingColor, #000); font-size: var(--axes-headingSize, 32px); font-weight: var(--axes-headingWeight, 800); line-height: 1.45; text-align: right; }

.scico-approach-axes__rows { display: flex; flex-direction: column; gap: 96px; margin: 0; padding: 0; list-style: none; }
/* Text group first in the DOM; in RTL odd rows put it on the right (image left), even rows flip — like Figma. */
.scico-approach-axes__row { display: flex; align-items: stretch; gap: 56px; margin: 0; }
.scico-approach-axes__row:nth-child(even),
.scico-approach-axes.is-image-first-right .scico-approach-axes__row:nth-child(odd) { flex-direction: row-reverse; }
.scico-approach-axes.is-image-first-right .scico-approach-axes__row:nth-child(even) { flex-direction: row; }

.scico-approach-axes__text-group { display: flex; flex: 0 0 auto; gap: 24px; }
.scico-approach-axes__copy { display: flex; width: 439px; max-width: 100%; flex-direction: column; align-items: flex-start; gap: 24px; text-align: right; }
.scico-approach-axes__titles { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.scico-approach-axes__label { margin: 0; color: var(--axes-labelColor, #b3b3b3); font-size: var(--axes-labelSize, 15px); font-weight: var(--axes-labelWeight, 700); line-height: 1.4; }
.scico-approach-axes__title { margin: 0; color: var(--axes-titleColor, #000); font-size: var(--axes-titleSize, 24px); font-weight: var(--axes-titleWeight, 700); line-height: 1.5; }

.scico-approach-axes__bullets,
.scico-approach-axes__example p { color: var(--axes-bodyColor, #4c504a); font-size: var(--axes-bodySize, 15px); font-weight: var(--axes-bodyWeight, 400); }
.scico-approach-axes__bullets { margin: 0; padding-inline-start: 20px; line-height: 1.9; list-style: disc; }
.scico-approach-axes__bullets li { margin: 0; }
.scico-approach-axes__bullets li::marker { color: var(--axes-bodyColor, #4c504a); }

.scico-approach-axes__example { display: flex; width: 100%; box-sizing: border-box; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 8px; background: var(--axes-exampleBackground, #f3efe5); }
.scico-approach-axes__example .scico-approach-axes__example-label { margin: 0; color: var(--axes-titleColor, #000); font-weight: 600; line-height: 1.5; }
.scico-approach-axes__example-body { display: flex; align-items: center; gap: 12px; }
.scico-approach-axes__example-body p { flex: 1 1 auto; min-width: 0; margin: 0; line-height: 1.8; }
.scico-approach-axes__example-icon { display: flex; flex: 0 0 24px; align-items: center; justify-content: center; width: 24px; height: 24px; }
.scico-approach-axes__example-icon img { display: block; max-width: 24px; max-height: 24px; }
.scico-approach-axes img.is-mirrored-y { transform: scaleY(-1); }

.scico-approach-axes__link { display: inline-flex; align-items: center; gap: 10px; color: var(--axes-titleColor, #000); font-size: var(--axes-linkSize, 13px); font-weight: var(--axes-linkWeight, 600); line-height: 1.4; text-decoration: none; }
a.scico-approach-axes__link:hover .scico-approach-axes__arrow { transform: translateX(-3px); }
a.scico-approach-axes__link:focus-visible { outline: 2px solid var(--axes-activeColor, #2d312b); outline-offset: 4px; border-radius: 2px; }
.scico-approach-axes__arrow { display: flex; width: 16px; height: 16px; align-items: center; justify-content: center; transition: transform 180ms ease; }
/* Up-pointing 8×12 source, turned left exactly as in Figma. */
.scico-approach-axes__arrow img { display: block; transform: rotate(-90deg) scaleX(-1); }

/* Marker: number box then a track whose fill follows --axis-progress (0–1). */
.scico-approach-axes__marker { display: flex; width: 44px; flex: 0 0 44px; flex-direction: column; align-items: center; gap: 12px; }
.scico-approach-axes__number { display: flex; width: 44px; height: 44px; box-sizing: border-box; align-items: center; justify-content: center; border: 1.5px solid var(--axes-trackColor, #d7d7d7); border-radius: 8px; color: #545454; font-size: var(--axes-numberSize, 18px); font-weight: 900; line-height: 1; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease; }
.scico-approach-axes__row.is-active .scico-approach-axes__number { border-color: var(--axes-activeColor, #2d312b); background: var(--axes-activeColor, #2d312b); color: #fff; }
.scico-approach-axes__progress { position: relative; flex: 1 1 auto; width: 3px; }
.scico-approach-axes__progress::before,
.scico-approach-axes__progress-fill { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); content: ""; }
.scico-approach-axes__progress::before { width: 1px; background: var(--axes-trackColor, #d7d7d7); }
.scico-approach-axes__progress-fill { width: 3px; border-radius: 3px; background: var(--axes-activeColor, #2d312b); transform: translateX(-50%) scaleY(var(--axis-progress, 0)); transform-origin: 50% 0; }

.scico-approach-axes__media { position: relative; flex: 1 1 auto; min-width: 0; min-height: 320px; overflow: hidden; border-radius: 8px; background: #f3efe5; }
.scico-approach-axes__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 800ms cubic-bezier(.2, .7, .2, 1); }

/* Editor-only. */
.scico-approach-axes__media--empty { min-height: 320px; }

/* Hover: the row's photo eases in and its example card brightens; the link arrow already nudges. */
.scico-approach-axes__example { transition: background-color 250ms ease; }
@media (hover: hover) {
	.scico-approach-axes__row:hover .scico-approach-axes__media img { transform: scale(1.04); }
	.scico-approach-axes__row:hover .scico-approach-axes__example { background: color-mix(in srgb, var(--axes-exampleBackground, #f3efe5) 70%, #fff); }
}

@media (prefers-reduced-motion: reduce) {
	.scico-approach-axes__number,
	.scico-approach-axes__arrow,
	.scico-approach-axes__media img,
	.scico-approach-axes__example { transition: none; }
	.scico-approach-axes__row:hover .scico-approach-axes__media img { transform: none; }
}

@media (max-width: 1100px) {
	.scico-approach-axes { padding: 16px 32px 80px; }
	.scico-approach-axes__inner { gap: 40px; }
	.scico-approach-axes__heading { font-size: min(var(--axes-headingSize, 32px), 28px); }
	.scico-approach-axes__rows { gap: 80px; }
	.scico-approach-axes__row { gap: 32px; }
	.scico-approach-axes__copy { width: 360px; }
	.scico-approach-axes__title { font-size: min(var(--axes-titleSize, 24px), 22px); }
}

/* Stacked: photo on top, then the marker and copy; every row reads the same way. */
@media (max-width: 860px) {
	.scico-approach-axes__row,
	.scico-approach-axes__row:nth-child(even),
	.scico-approach-axes.is-image-first-right .scico-approach-axes__row:nth-child(odd),
	.scico-approach-axes.is-image-first-right .scico-approach-axes__row:nth-child(even) { flex-direction: column-reverse; gap: 24px; }
	.scico-approach-axes__copy { width: auto; flex: 1 1 auto; }
	.scico-approach-axes__media { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
	.scico-approach-axes { padding: 8px 16px 64px; }
	.scico-approach-axes__inner { gap: 32px; }
	.scico-approach-axes__heading { font-size: min(var(--axes-headingSize, 32px), 24px); }
	.scico-approach-axes__rows { gap: 56px; }
	.scico-approach-axes__text-group { gap: 16px; }
	.scico-approach-axes__marker { width: 38px; flex-basis: 38px; }
	.scico-approach-axes__number { width: 38px; height: 38px; font-size: min(var(--axes-numberSize, 18px), 16px); }
	.scico-approach-axes__title { font-size: min(var(--axes-titleSize, 24px), 20px); }
	.scico-approach-axes__copy { gap: 18px; }
}
