{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "content-offset",
  "type": "registry:block",
  "title": "Content, offset",
  "description": "A large heading at the top left and one long paragraph in a narrower column set well to the right and lower down, with open space on the left; on a phone the paragraph sits under the heading at full width.",
  "categories": [
    "content"
  ],
  "dependencies": [
    "zod@^4.6.5"
  ],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/block-kit.json",
    "https://ui.klarhimmel.com/r/editing.json",
    "https://ui.klarhimmel.com/r/kit-c-proof.json"
  ],
  "files": [
    {
      "path": "src/blocks/content-offset/spec.ts",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/content-offset/spec.ts",
      "content": "import { z } from 'zod';\nimport { defineSpec, t } from '../_shared/schema';\n\nconst schema = z.object({\n  title: t(60),\n  /** One multiline field; blank lines make paragraphs. */\n  body: t(900),\n});\n\nexport const spec = defineSpec({\n  type: 'content-offset',\n  aliases: ['content/offset'],\n  name: 'Content, offset',\n  category: 'content',\n  role: 'body',\n  description: 'A large heading at the top left and one long paragraph in a narrower column set well to the right and lower down, with open space on the left; on a phone the paragraph sits under the heading at full width.',\n  schema,\n  defaults: {\n    title: 'Say what this explanation is about',\n    body: 'Explain in a few sentences how something works for the reader: where the figure or claim comes from, what is counted and how it is checked. Keep it to one long paragraph written in plain words, so the visitor can follow it from start to finish without a diagram.',\n  },\n});\n"
    },
    {
      "path": "src/blocks/content-offset/index.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/content-offset/index.tsx",
      "content": "import { Text, withHeadingLevel } from '../../editing';\nimport { Section } from '../_shared/kit';\nimport { useHeadingId } from '../_shared/c-proof-kit';\nimport { spec } from './spec';\nimport type { BlockProps } from '../types';\nimport type { z } from 'zod';\n\nexport { spec };\ntype Props = z.infer<typeof spec.schema>;\n\nfunction ContentOffset({ props }: BlockProps<Props>) {\n  const id = useHeadingId(props.title);\n  return (\n    <Section labelledBy={id}>\n      <div className=\"mx-auto w-full max-w-[90rem] px-kh-gutter py-10 @4xl:py-24\">\n        <div id={id}>\n          <Text path={['title']} value={props.title} as=\"h2\" className=\"max-w-[48rem] text-kh-display font-normal leading-[1.05] tracking-tight\" />\n        </div>\n        <div className=\"mt-12 @4xl:mt-28 @4xl:ml-[38%] @4xl:max-w-[44.5rem]\">\n          <Text path={['body']} value={props.body} as=\"p\" multiline className=\"text-kh-lead leading-[1.65]\" />\n        </div>\n      </div>\n    </Section>\n  );\n}\n\nexport default withHeadingLevel(ContentOffset);\n"
    }
  ]
}
