/* ==========================================================================
   LGI Automation Agent blocks — shared styles for the six ACF blocks
   lgi-capabilities-block, lgi-help-block, lgi-resources-cards-block,
   lgi-workflows-cta-block, lgi-process-block, lgi-operations-block
   (blocks/<slug>/block.php, helpers in functions/agent-blocks.php).
   Loaded only where one of these blocks is used (ACF enqueue_assets →
   lgi_ab_assets()), front end and block editor.
   Source: pages/html/assets/css/lgi-blocks.css (Figma "Blocks" frame), with
   the WordPress additions marked "WP:" below.
   --------------------------------------------------------------------------
   Isolation rules — same contract as lgi-resource-library-common.css:
   • Every block is a <section class="lgi-block
     lgi-<name>">. Every selector below starts with one of
     those block classes, so nothing leaks to the theme or to other pages.
   • No element selectors at the top level (no h1/h2/p/section/button …);
     the scoped reset uses :where() so it has zero specificity.
   • Class names use the `lgi-` prefix.
   • Tokens reuse the theme's `--lgi-*` custom properties (lgi/style.css)
     with the Figma value as a fallback.
   • Nothing here targets html, body, .main-header or .main-footer.
   Breakpoints (desktop-first, same set as the resource-library CSS):
   1920 (min), 1280, 1024, 768, 480, 375 (max).
   ========================================================================== */

.lgi-block {
	/* Colour — theme tokens first, Figma value as fallback */
	--lgi-block-blue: var(--lgi-blue, #036eff);
	--lgi-block-blue-hover: #0257c9;
	--lgi-block-button-hover: var(--lgi-orange, #ffa852); /* live site: pill buttons → orange on hover */
	--lgi-block-blue-soft: var(--lgi-blue-check, #3a8eff);
	--lgi-block-ink: var(--lgi-ink, #333842);
	--lgi-block-text: #343f40;
	--lgi-block-orange: var(--lgi-orange, #ffa852);
	--lgi-block-tint-strong: var(--lgi-tint-strong, #c2e3ff);
	--lgi-block-white: var(--lgi-white, #fff);
	--lgi-block-line: #d8dee8;
	--lgi-block-surface: rgb(216 222 232 / 0.3);
	--lgi-block-surface-alt: #f9f9f9;
	--lgi-block-dark: #333842;
	--lgi-block-dark-glow: #3b455a;
	--lgi-block-navy: var(--lgi-navy, #012a56);

	/* Type — fluid, exact Figma size at ≥1440 */
	--lgi-block-font: "Outfit", "Helvetica Neue", Arial, sans-serif;
	--lgi-block-fs-title: clamp(1.5rem, 1.368rem + 0.5634vw, 1.875rem);      /* 30px */
	--lgi-block-fs-title-sm: clamp(1.375rem, 1.287rem + 0.3756vw, 1.625rem); /* 26px */
	--lgi-block-fs-card: clamp(1.25rem, 1.162rem + 0.3756vw, 1.5rem);        /* 24px */
	--lgi-block-fs-intro: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);        /* 18px */

	/* Layout */
	--lgi-block-container: 1150px;   /* = theme .container width at ≥1200px */
	--lgi-block-gutter: 40px;
	--lgi-block-section-y: 60px;
	--lgi-block-gap: 24px;

	/* Motion — from the Figma prototype (hover, 300ms ease-in-out, smart animate) */
	--lgi-block-dur-hover: 300ms;
	--lgi-block-ease-hover: ease-in-out;

	display: block;
	padding-block: var(--lgi-block-section-y);
	font-family: var(--lgi-block-font);
	color: var(--lgi-block-text);
	overflow-x: clip;
}

/* Scoped reset — zero specificity (:where) so component classes always win. */
.lgi-block :where(*, *::before, *::after) {
	box-sizing: border-box;
}

.lgi-block :where(h1, h2, h3, h4, p, ul, ol, li, figure) {
	margin: 0;
	padding: 0;
}

.lgi-block :where(ul, ol) {
	list-style: none;
}

.lgi-block :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
}

.lgi-block :where(a) {
	color: inherit;
	text-decoration: none;
}

.lgi-block :where(a, button, [tabindex]):focus-visible {
	outline: 2px solid var(--lgi-block-blue);
	outline-offset: 3px;
}

/* Shared helpers (scoped to the blocks) */
.lgi-block .lgi-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.lgi-capabilities__container,
.lgi-help__container,
.lgi-resources__container,
.lgi-workflows__container,
.lgi-process__container,
.lgi-operations__container {
	width: min(var(--lgi-block-container), 100% - 2 * var(--lgi-block-gutter));
	margin-inline: auto;
	padding-inline: 15px;
}

/* WP: WYSIWYG output (descriptions). ACF wraps text in <p>; lists and links
   are allowed. Paragraphs inherit the size/colour of their wrapper class. */
.lgi-block .lgi-ab-rich > * + * {
	margin-top: 12px;
}

.lgi-block .lgi-ab-rich :where(p, li) {
	font: inherit;
	color: inherit;
	line-height: inherit;
}

.lgi-block .lgi-ab-rich :where(ul) {
	padding-left: 20px;
	list-style: disc;
}

.lgi-block .lgi-ab-rich :where(ol) {
	padding-left: 20px;
	list-style: decimal;
}

.lgi-block .lgi-ab-rich :where(strong, b) {
	font-weight: 500;
}

.lgi-block .lgi-ab-rich a {
	color: var(--lgi-block-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-block .lgi-ab-rich a:hover {
	color: var(--lgi-block-blue-hover);
}

/* WP: links typed into a card description stay clickable above the card's
   stretched link (::after). */
.lgi-block :is(.lgi-wcard__text, .lgi-resources__card-title) a {
	position: relative;
	z-index: 1;
}

/* WP: block shown in the editor with no content yet. */
.lgi-block .lgi-ab-placeholder {
	padding: 16px;
	border: 1px dashed var(--lgi-block-line);
	border-radius: 8px;
	font-size: 15px;
	color: var(--lgi-block-text);
	text-align: center;
}

/* ==========================================================================
   Shared component: workflow card (.lgi-wcard)
   Used by the Help block (M01–M04) and the Workflows block (M05, --lg).
   Hover end state = Figma "Variant2": card → blue, copy → white,
   link rule → #3a8eff, arrow moves 8px right. 300ms ease-in-out.
   ========================================================================== */
.lgi-block .lgi-wcard {
	display: flex;
	flex-direction: column;
	padding: 8px;
	background: var(--lgi-block-white);
	border: 1px solid var(--lgi-block-line);
	border-radius: 16px;
	transition: background-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-wcard-img-wrap {
    overflow: hidden;
    border-radius: 8px;
}

.lgi-block .lgi-wcard:hover .lgi-wcard__media {
    transform: scale(1.05);
}

.lgi-block .lgi-wcard__media {
	width: 100%;
	aspect-ratio: 244 / 156;
	object-fit: cover;
	border-radius: 8px;
	transition: all .3s ease-in-out;
}

.lgi-block .lgi-wcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	padding: 16px 12px 0;
}

.lgi-block .lgi-wcard__title {
	font-size: var(--lgi-block-fs-card);
	font-weight: 500;
	line-height: 26px;
	color: var(--lgi-block-blue);
	transition: color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-block .lgi-wcard__text {
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 300;
	line-height: 18px;
	color: var(--lgi-block-text);
	transition: color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-block .lgi-wcard__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	color: var(--lgi-block-blue);
	border-top: 1px solid var(--lgi-block-line);
	transition:
		color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover),
		border-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

/* Whole card is the click target (stretched link). */
.lgi-block .lgi-wcard {
	position: relative;
}

.lgi-block .lgi-wcard__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.lgi-block .lgi-wcard__arrow {
	flex: none;
	width: 6px;
	height: 10px;
	color: currentColor;
	transition: transform var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-block .lgi-wcard:is(:hover, :focus-within) {
	background-color: var(--lgi-block-blue);
}

.lgi-block .lgi-wcard:is(:hover, :focus-within) :is(.lgi-wcard__title, .lgi-wcard__text, .lgi-wcard__text a, .lgi-wcard__link) {
	color: var(--lgi-block-white);
}

.lgi-block .lgi-wcard:is(:hover, :focus-within) .lgi-wcard__link {
	border-top-color: var(--lgi-block-blue-soft);
}

.lgi-block .lgi-wcard:is(:hover, :focus-within) .lgi-wcard__arrow {
	transform: translateX(8px);
}

.lgi-block .lgi-wcard:focus-within .lgi-wcard__link:focus-visible {
	outline-color: var(--lgi-block-white);
}

/* --lg: Workflows block variant — tinted card, 18px copy */
.lgi-block .lgi-wcard--lg {
	background: var(--lgi-block-surface);
}

.lgi-block .lgi-wcard--lg .lgi-wcard__body {
	padding: 16px 8px 0;
}

.lgi-block .lgi-wcard--lg .lgi-wcard__text {
	font-size: var(--lgi-block-fs-intro);
	line-height: 24px;
}

/* ==========================================================================
   BLOCK 1 — Capabilities
   ========================================================================== */
.lgi-capabilities {
	background: var(--lgi-block-white);
}

.lgi-capabilities .lgi-capabilities__head {
	text-align: center;
}

.lgi-capabilities .lgi-capabilities__title {
	font-size: var(--lgi-block-fs-title);
	font-weight: 500;
	line-height: 1.2667;
	color: var(--lgi-block-blue);
}

.lgi-capabilities .lgi-capabilities__intro {
	max-width: 800px;
	margin: 15px auto 0;
	font-size: var(--lgi-block-fs-intro);
	font-weight: 400;
	line-height: 1.22;
}

.lgi-capabilities .lgi-capabilities__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
	padding-top: 30px;
}

.lgi-capabilities .lgi-capabilities__card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 314px;
	padding: 24px;
	background: var(--lgi-block-surface);
	border: 1px solid var(--lgi-block-line);
	border-radius: 12px;
}

.lgi-capabilities .lgi-capabilities__icon {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.lgi-capabilities .lgi-capabilities__card-title {
	font-size: var(--lgi-block-fs-card);
	font-weight: 500;
	line-height: 26px;
	color: var(--lgi-block-ink);
}

.lgi-capabilities .lgi-capabilities__card-text {
	margin-top: -12px; /* title → text gap is 12px in Figma; card gap is 24px */
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

/* ==========================================================================
   BLOCK 2 — Help
   ========================================================================== */
.lgi-help {
	background: var(--lgi-block-surface-alt);
}

.lgi-help .lgi-help__head {
	text-align: center;
}

.lgi-help .lgi-help__title {
	font-size: var(--lgi-block-fs-title-sm);
	font-weight: 500;
	line-height: 1.25;
	color: var(--lgi-block-blue);
}

.lgi-help .lgi-help__intro {
	margin-top: 15px;
	font-size: var(--lgi-block-fs-intro);
	line-height: 1.22;
}

.lgi-help .lgi-help__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
	padding-top: 30px;
}

/* ==========================================================================
   BLOCK 3 — Resources
   ========================================================================== */
.lgi-resources {
	background: var(--lgi-block-surface);
}

.lgi-resources .lgi-resources__container {
	padding-inline: 0;
}

.lgi-resources .lgi-resources__head {
	text-align: center;
}

.lgi-resources .lgi-resources__title {
	font-size: var(--lgi-block-fs-title-sm);
	font-weight: 500;
	line-height: 1.25;
	color: var(--lgi-block-blue);
}

.lgi-resources .lgi-resources__intro {
	max-width: 40.25em; /* reference breaks line 1 after "…and a library" (714px of 18px text);
	                       em keeps that break as the fluid font scales. Removed ≤768 like the reference. */
	margin-inline: auto;
	font-size: var(--lgi-block-fs-intro);
	line-height: 1.66;
}


.lgi-resources .lgi-resources__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
	padding-top: 24px;
}

.lgi-resources .lgi-resources__card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--lgi-block-white);
	border: 1px solid var(--lgi-block-line);
	border-radius: 20px;
	transition: border-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-resources .lgi-resources__media {
	width: 100%;
	aspect-ratio: 365 / 220;
	object-fit: cover;
	background: var(--lgi-block-dark);
}

.lgi-resources .lgi-resources__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px 20px 8px;
}

/* WP: card fields are Image, Title, Description, Button (TASK.md). The Title
   takes the design's 24px blue label style (.lgi-resources__type, e.g.
   "Webinar") and the Description the 16px headline style
   (.lgi-resources__card-title). */
.lgi-resources .lgi-resources__type {
	font-size: var(--lgi-block-fs-card);
	font-weight: 500;
	line-height: 26px;
	color: var(--lgi-block-blue);
}

.lgi-resources .lgi-resources__card-title {
	min-height: 45px;
	margin-top: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 22.5px;
	color: var(--lgi-block-ink);
}

.lgi-resources .lgi-resources__link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-block: 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	color: var(--lgi-block-blue);
	border-top: 1px solid var(--lgi-block-line);
	transition:
		color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover),
		border-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-resources .lgi-resources__body::before {
	/* 24px gap between copy and the link row, kept when the link is pushed down */
	content: "";
	order: 2;
	flex: 0 0 24px;
}

.lgi-resources .lgi-resources__link {
	order: 3;
}

.lgi-resources .lgi-resources__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.lgi-resources .lgi-resources__arrow {
	flex: none;
	width: 6px;
	height: 10px;
	transition: transform var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

/* Card hover — not in the Figma export; follows the live site's resource tiles
   (.lgi-tiles-block .block-tile:hover): border → blue, call-to-action → navy, 0.3s ease-in-out.
   The arrow slide matches the "Explore Workflows" cards on this page.
   :focus-within gives keyboard users the same state (the whole card is the link). */
.lgi-resources .lgi-resources__card:is(:hover, :focus-within) {
	border-color: var(--lgi-block-blue);
}

.lgi-resources .lgi-resources__card:is(:hover, :focus-within) .lgi-resources__link {
	color: var(--lgi-block-navy);
	border-top-color: var(--lgi-block-blue);
}

.lgi-resources .lgi-resources__card:is(:hover, :focus-within) .lgi-resources__arrow {
	transform: translateX(8px);
}

/* ==========================================================================
   BLOCK 4 — Workflows + CTA
   ========================================================================== */
.lgi-workflows {
	background: var(--lgi-block-white);
}

.lgi-workflows .lgi-workflows__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
}

.lgi-workflows .lgi-workflows__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 32px;
	padding: 40px 64px;
	overflow: hidden;
	color: var(--lgi-block-white);
	background: radial-gradient(circle at 100% 0%, var(--lgi-block-dark-glow) 0%, var(--lgi-block-dark) 100%);
	border-radius: 16px;
}

.lgi-workflows .lgi-workflows__cta-copy {
	flex: 0 1 595px;
}

.lgi-workflows .lgi-workflows__cta-title {
	font-size: var(--lgi-block-fs-title);
	font-weight: 500;
	line-height: 1.2667;
	color: var(--lgi-block-orange);
}

.lgi-workflows .lgi-workflows__cta-text {
	margin-top: 16px;
	font-size: var(--lgi-block-fs-intro);
	line-height: 28px;
	color: var(--lgi-block-white);
}

.lgi-workflows .lgi-workflows__cta-text a,
.lgi-operations .lgi-operations__intro a {
	color: inherit;
}

.lgi-workflows .lgi-workflows__cta-text a:hover,
.lgi-operations .lgi-operations__intro a:hover {
	color: var(--lgi-block-orange);
}

.lgi-workflows .lgi-workflows__cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding: 14px 24px;
	font-size: 18px;
	font-weight: 500;
	line-height: 22.68px;
	color: var(--lgi-block-white);
	background: var(--lgi-block-blue);
	border-radius: 999px;
	/* Matches the live site's primary buttons (header "Request a Demo", .lgi-hero-block__button):
	   blue → orange, text stays white, 0.3s ease-in-out. */
	transition: background-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-workflows .lgi-workflows__cta-button:is(:hover, :focus-visible) {
	background-color: var(--lgi-block-button-hover);
}

.lgi-workflows .lgi-workflows__cta-button:focus-visible {
	outline-color: var(--lgi-block-white);
}

.lgi-workflows .lgi-workflows__cta-icon {
	flex: none;
	width: 8px;
	height: 13px;
}

.lgi-workflows .lgi-workflows__cta-media {
	position: relative;
	flex: none;
	width: 253px;
	height: 253px;
	pointer-events: none;
}

.lgi-workflows .lgi-workflows__cta-svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   BLOCK 5 — Process
   ========================================================================== */
.lgi-process {
	background: var(--lgi-block-surface-alt);
}

.lgi-process .lgi-process__head {
	text-align: center;
}

.lgi-process .lgi-process__title {
	font-size: var(--lgi-block-fs-title);
	font-weight: 500;
	line-height: 1.2667;
	color: var(--lgi-block-blue);
}

.lgi-process .lgi-process__intro {
	margin-top: 15px;
	font-size: var(--lgi-block-fs-intro);
	line-height: 1.6667;
}

.lgi-process .lgi-process__flow {
	position: relative;
	padding-top: 30px;
}

.lgi-process .lgi-process__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
	counter-reset: none;
}

.lgi-process .lgi-process__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px;
	text-align: center;
}

.lgi-process .lgi-process__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 100px;
	height: 100px;
	background: var(--lgi-block-tint-strong);
	border-radius: 50%;
}

.lgi-process .lgi-process__icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.lgi-process .lgi-process__num {
	position: absolute;
	top: 2px;
	left: 74px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--lgi-block-white);
	background: var(--lgi-block-blue);
	border: 2px solid var(--lgi-block-surface-alt);
	border-radius: 50%;
}

.lgi-process .lgi-process__step-title {
	margin-top: 24px;
	font-size: var(--lgi-block-fs-card);
	font-weight: 500;
	line-height: 26px;
	color: var(--lgi-block-ink);
}

.lgi-process .lgi-process__step-text {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

.lgi-process .lgi-process__connectors {
	position: absolute;
	inset: 30px 0 auto;
	pointer-events: none;
}

.lgi-process .lgi-process__connector {
	position: absolute;
	width: 12.32%; /* 138 / 1120 */
	height: auto;
}

.lgi-process .lgi-process__connector--1 { top: 44px; left: 18.3%; }
.lgi-process .lgi-process__connector--2 { top: 86px; left: 43.84%; }
.lgi-process .lgi-process__connector--3 { top: 44px; left: 69.38%; }

/* ==========================================================================
   BLOCK 6 — Operations
   ========================================================================== */
.lgi-operations {
	color: var(--lgi-block-white);
	background: var(--lgi-block-dark);
}

.lgi-operations .lgi-operations__head {
	text-align: center;
}

.lgi-operations .lgi-operations__title {
	font-size: var(--lgi-block-fs-title);
	font-weight: 500;
	line-height: 1.2667;
	color: var(--lgi-block-white);
}

.lgi-operations .lgi-operations__intro {
	margin-top: 15px;
	font-size: var(--lgi-block-fs-intro);
	line-height: 1.6667;
	color: var(--lgi-block-white);
}

.lgi-operations .lgi-operations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--lgi-block-gap);
	padding-top: 30px;
}

/* M05 — hover end state is NOT in the Figma export. Assumed: card fill
   #d8dee8 → white (the paired light surface), 300ms ease-in-out. */
.lgi-operations .lgi-operations__card {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	padding: 24px;
	color: var(--lgi-block-text);
	background: var(--lgi-block-line);
	border-radius: 12px;
	transition: background-color var(--lgi-block-dur-hover) var(--lgi-block-ease-hover);
}

.lgi-operations .lgi-operations__card:hover {
	background-color: var(--lgi-block-white);
}

.lgi-operations .lgi-operations__icon {
	flex: none;
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.lgi-operations .lgi-operations__card-title {
	font-size: var(--lgi-block-fs-card);
	font-weight: 500;
	line-height: 26px;
	color: var(--lgi-block-ink);
}

.lgi-operations .lgi-operations__card-text {
	margin-top: 12px;
	font-size: var(--lgi-block-fs-intro);
	font-weight: 300;
	line-height: 24px;
}

/* ==========================================================================
   Responsive — desktop-first. Only the 6 approved widths.
   ========================================================================== */

@media (min-width: 1920px) {
	.lgi-block {
		--lgi-block-gutter: 40px;
	}
}

@media (max-width: 1280px) {
	.lgi-block {
		--lgi-block-gutter: 32px;
	}
}

@media (max-width: 1024px) {
	.lgi-block {
		--lgi-block-gutter: 24px;
		--lgi-block-gap: 20px;
	}

	.lgi-capabilities .lgi-capabilities__grid,
	.lgi-help .lgi-help__grid,
	.lgi-workflows .lgi-workflows__grid,
	.lgi-process .lgi-process__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lgi-capabilities .lgi-capabilities__card {
		min-height: 0;
	}

	.lgi-process .lgi-process__connectors {
		display: none;
	}

	.lgi-workflows .lgi-workflows__cta {
		padding: 40px 48px;
	}
}

@media (max-width: 768px) {
	.lgi-block {
		--lgi-block-section-y: 48px;
		--lgi-block-gutter: 16px;
		--lgi-block-gap: 16px;
	}

	.lgi-resources .lgi-resources__intro {
		max-width: none;
	}

	.lgi-resources .lgi-resources__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
		margin-inline: auto;
	}

	.lgi-workflows .lgi-workflows__cta {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 24px;
		padding: 32px 24px;
	}

	.lgi-workflows .lgi-workflows__cta-copy {
		flex-basis: auto;
	}

	.lgi-workflows .lgi-workflows__cta-media {
		align-self: center;
	}

	.lgi-operations .lgi-operations__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}


@media (max-width: 600px) {
	.lgi-capabilities .lgi-capabilities__grid,
	.lgi-help .lgi-help__grid,
	.lgi-workflows .lgi-workflows__grid,
	.lgi-process .lgi-process__steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.lgi-block {
		--lgi-block-section-y: 40px;
	}

	.lgi-capabilities__container,
	.lgi-help__container,
	.lgi-workflows__container,
	.lgi-process__container,
	.lgi-operations__container {
		padding-inline: 0;
	}

	.lgi-process .lgi-process__step {
		padding: 16px 8px;
	}

	.lgi-operations .lgi-operations__card {
		flex-direction: column;
		gap: 16px;
	}

	.lgi-workflows .lgi-workflows__cta-button {
		font-size: 16px;
	}
}

@media (max-width: 375px) {
	.lgi-workflows .lgi-workflows__cta {
		padding: 28px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lgi-block :where(*, *::before, *::after) {
		transition-duration: 0.01ms !important;
	}
}
