/*
 * forge-wp.si site CSS. Spacing, colours, type, borders and radii of the page are block settings
 * (with tablet / phone values). What is left here is what the editor cannot set (CODE-GUIDE §4):
 *   1. decoration: the hero's dot grid and gold glow;
 *   2. an overlap: the shop screenshot behind the prompt window, the floating "revision" card;
 *   3. the shape of two block styles chosen in the editor: list "Check marks", list "Chips"
 *      (colours follow the list's own text colour);
 *   4. the gap the page template leaves above the footer.
 */

/* 1. Hero decoration */
.forge-si-hero { position: relative; isolation: isolate; overflow: hidden; }
.forge-si-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(27 27 28 / 0.13) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(80% 75% at 70% 35%, #000 20%, transparent 75%); pointer-events: none; }
.forge-si-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgb(156 122 60 / 0.22), transparent); pointer-events: none; }

/* 2. Stage: the real shop behind the prompt window (desktop only) */
.forge-si-stage { position: relative; }
.forge-si-stage > .forge-si-stage__shop, .forge-si-stage > .forge-si-stage__float { display: none; }
@media (min-width: 1024px) {
	.forge-si-stage { padding: 3.5rem 0 2rem 3rem; }
	.forge-si-stage > .forge-si-stage__shop { position: absolute; top: 0; right: -6%; z-index: 0; display: block; width: 82%; margin: 0; overflow: hidden; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-shadow: var(--wp--preset--shadow--overlay); }
	.forge-si-stage > .forge-si-stage__shop img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
	.forge-si-stage > .wp-block-forge-prompt-console { position: relative; z-index: 1; margin: 0; }
	.forge-si-stage > .forge-si-stage__float { position: absolute; right: -2%; bottom: 0; z-index: 2; display: block; max-width: 17rem; margin: 0; padding: 0.75rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; background: var(--wp--preset--color--bg); color: var(--wp--preset--color--ink-muted); box-shadow: var(--wp--preset--shadow--overlay); }
	.forge-si-stage > .forge-si-stage__float strong { display: block; color: var(--wp--preset--color--ink); }
}

/* 3a. List style "Check marks" */
.wp-block-list.is-style-checks { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
.wp-block-list.is-style-checks > li { display: flex; gap: 0.625rem; margin: 0; }
.wp-block-list.is-style-checks > li::before { content: ""; flex: none; width: 1em; height: 1em; margin-top: 0.25em; background: currentColor; mask: url("../../../forge-wp/assets/icons/check.svg") center / contain no-repeat; }

/* 3b. List style "Chips": each item is a pill */
.wp-block-list.is-style-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.wp-block-list.is-style-chips > li { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; margin: 0; padding: 0.375em 0.875em 0.375em 0.75em; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; font-weight: 600; }
.wp-block-list.is-style-chips > li::before { content: ""; flex: none; width: 1em; height: 1em; background: currentColor; opacity: 0.6; mask: url("../../../forge-wp/assets/icons/note.svg") center / contain no-repeat; }

/* 4. The page template's gap above the footer */
.wp-site-blocks > footer { margin-block-start: 0; }
