/* Site system (23.11.2026, idan-site redesign). One grid, one rhythm, one header pattern on every page:
   right-aligned, 1240px wide, off-white page with navy chapters. Loaded on every public page, after the page CSS. */
:root {
  --hp-bg: #F1F1F1;            /* --white-off, never #FFFFFF */
  --hp-ink: #020C2C;
  --hp-ink-70: rgba(2, 12, 44, .7);
  --hp-ink-50: rgba(2, 12, 44, .5);
  --hp-rule: rgba(2, 12, 44, .12);
  --hp-blue: #4169E1;
  --hp-sky: #9AB9D7;
  --hp-wrap: 1240px;
  --hp-gutter: clamp(18px, 4vw, 48px);
  --hp-sec: clamp(80px, 9vw, 144px);
  --hp-radius: 28px;
  --hp-ease: cubic-bezier(.22, 1, .36, 1);
}

/* the page shows the site's soft light-blue sky (.site-sky, runtime.js); the off-white is only the fallback under it */
html:has(body.hp-body) { background-color: var(--hp-bg); }
html body.hp-body { background-color: transparent !important; color: var(--hp-ink); }


.hp-wrap { width: 100%; max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); margin: 0 auto; padding-inline: var(--hp-gutter); }

/* ---------- section frame ---------- */
.hp-sec { position: relative; padding-top: var(--hp-sec); color: var(--hp-ink); text-align: right; }
/* one header pattern everywhere: [label] -> title -> 24px -> intro (62ch) -> content */
.hp-head { display: block; margin-bottom: clamp(40px, 5vw, 72px); }
.hp-label { margin: 0 0 16px; font-size: 14px; letter-spacing: .04em; color: var(--hp-ink-50); }
body .hp-h2, body .hp-sec .hp-h2 { margin: 0 0 24px; max-width: 20ch; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; font-weight: 800 !important; letter-spacing: -.015em; color: inherit; text-align: right; }
.hp-head--solo .hp-h2, .hp-head .hp-h2:last-child { margin-bottom: 0; }
.hp-intro { max-width: 62ch; }
.hp-intro p, .hp-prose p { margin: 0 0 1em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.75; font-weight: 300 !important; color: var(--hp-ink-70); }
.hp-intro p:last-child, .hp-prose p:last-child { margin-bottom: 0; }
.hp-intro b, .hp-intro strong, .hp-prose b, .hp-prose strong { font-weight: 800 !important; color: var(--hp-ink); }

/* ---------- navy chapter ---------- */
.hp-dark { margin: var(--hp-sec) 12px 0; padding-bottom: var(--hp-sec); border-radius: var(--hp-radius); overflow: hidden; color: #FCFCFD;
  background: radial-gradient(900px 520px at 90% 0%, rgba(65, 105, 225, .26), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(154, 185, 215, .1), transparent 60%), var(--hp-ink); }
.hp-dark .hp-intro p, .hp-dark .hp-prose p { color: rgba(252, 252, 253, .74); }
.hp-dark .hp-intro b, .hp-dark .hp-prose b, .hp-dark .hp-intro strong { color: #fff; }
.hp-dark .hp-label { color: var(--hp-sky); }

/* ---------- buttons and links ---------- */
.hp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
body .hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 50px; background: var(--hp-blue); color: #fff; font: 800 17px/1 "Ping ", "Noto Sans Hebrew", sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--hp-ease); }
body .hp-btn:hover { background: var(--hp-ink); color: #fff; }
.hp-dark .hp-btn:hover { background: #fff; color: var(--hp-ink); }
body .hp-btn:active { transform: scale(.97); }
.hp-btn:focus-visible, .hp-link:focus-visible { outline: 2px solid var(--hp-blue); outline-offset: 4px; }
body .hp-link { color: var(--hp-ink); font-size: 16px; font-weight: 300; text-decoration: none; border-bottom: 1px solid var(--hp-rule); padding-bottom: 2px; transition: color .2s, border-color .2s; }
body .hp-link:hover { color: var(--hp-blue); border-color: var(--hp-blue); }
.hp-dark .hp-link { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- tags ---------- */
.hp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.hp-tags li { padding: 7px 14px; border: 1px solid var(--hp-rule); border-radius: 50px; font-size: 14px; line-height: 1.2; color: var(--hp-ink-70); }

/* ---------- inner page header (blog, prompts, articles, prompt pages, documents) ---------- */
.hp-page-head { padding: clamp(120px, 15vh, 168px) 0 clamp(36px, 5vw, 64px); text-align: right; }
.hp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: 14px; color: var(--hp-ink-50); }
.hp-crumbs a { color: inherit; text-decoration: none; }
.hp-crumbs a:hover { color: var(--hp-blue); }


@media (max-width: 767px) {
  .hp-dark { margin-inline: 8px; border-radius: 22px; }
  body .hp-actions .hp-btn { width: 100%; }
}

/* ================= Inner pages (23.11.2026): the same grid, header pattern and quiet cards ================= */
/* one width for every page container */
body.hp-body :is(.pl-lib, .elementor-element.mg-page, .mg-related, .pl-related) { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2) !important; margin-inline: auto !important; padding-inline: var(--hp-gutter) !important; box-sizing: border-box; }
body.hp-body :is(.pl-lib, .elementor-element.mg-page) { padding-top: clamp(120px, 15vh, 168px) !important; padding-bottom: var(--hp-sec) !important; }

/* index heads (magazine, prompt library): label, big title, intro, then search and filters, all on the start side */
body.hp-body :is(.mg-hero, .pl-hero) { max-width: none; margin: 0 0 clamp(40px, 5vw, 72px); text-align: right; display: grid; grid-template-columns: 1fr; gap: 0; }
body.hp-body :is(.mg-page .mg-eyebrow, .pl-lib .pl-eyebrow) { grid-column: 1 / -1; justify-self: start; margin: 0 0 16px; padding: 0; background: none; border-radius: 0; font-size: 14px; letter-spacing: .04em; color: var(--hp-ink-50); }
body.hp-body :is(.mg-page .mg-h1, .pl-lib .pl-h1) { grid-column: 1; margin: 0 0 24px; max-width: 18ch; font-size: clamp(44px, 6vw, 92px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; color: var(--hp-ink); text-align: right; }
body.hp-body :is(.mg-page .mg-sub, .pl-lib .pl-sub) { grid-column: 1; max-width: 62ch; margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; font-weight: 300; color: var(--hp-ink-70); text-align: right; }
body.hp-body :is(.mg-search, .pl-search) { grid-column: 1 / -1; width: 100%; max-width: 560px; margin: clamp(12px, 2vw, 24px) 0 0; height: 56px; border-radius: 50px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--hp-rule); }
body.hp-body :is(.mg-search, .pl-search):focus-within { box-shadow: inset 0 0 0 2px var(--hp-blue); }
body.hp-body :is(.mg-chips, .pl-chips) { grid-column: 1 / -1; justify-content: flex-start; padding-top: 22px; border-top: 1px solid var(--hp-rule); }
body.hp-body :is(.mg-chip, .pl-chip) { background: transparent !important; }
body.hp-body :is(.mg-chip, .pl-chip)[aria-pressed=true] { background: var(--hp-ink) !important; }

/* cards: one quiet surface (hairline instead of a floating shadow) */
body.hp-body :is(.mg-card, .pl-card) { background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px var(--hp-rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.hp-body :is(.mg-card, .pl-card):hover { box-shadow: inset 0 0 0 1px rgba(65, 105, 225, .45); }
body.hp-body .mg-card .mg-title, body.hp-body .pl-card .pl-card-title, body.hp-body :is(.mg-title, .pl-card-title) a { font-weight: 800 !important; }
body.hp-body .mg-all { text-align: right !important; }
body.hp-body .mg-all a { background: transparent !important; }

/* related lists under articles and prompts: the section header pattern */
body.hp-body .mg-related { padding-top: var(--hp-sec) !important; }
body.hp-body .mg-related .mg-related-title, body.hp-body .pp-related-title .elementor-heading-title { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(30px, 3.4vw, 48px) !important; line-height: 1.1; font-weight: 800 !important; color: var(--hp-ink) !important; text-align: right !important; }
body.hp-body .pp-related-title { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); margin: var(--hp-sec) auto 0 !important; padding-inline: var(--hp-gutter) !important; width: 100% !important; box-sizing: border-box; }
body.hp-body .pl-related { padding-bottom: var(--hp-sec) !important; }

/* single prompt: the reading column sits on the start side of the grid */
body.hp-body .pp { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); padding: clamp(120px, 15vh, 168px) var(--hp-gutter) 0; box-sizing: border-box; }
body.hp-body .pp > * { max-width: 880px; }
body.hp-body .pp .pp-title { font-size: clamp(40px, 5vw, 76px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: clamp(28px, 4vw, 48px); }
body.hp-body .pp .pp-topic { color: var(--hp-ink-50); font-weight: 300 !important; letter-spacing: .04em; }
body.hp-body :is(.pp-fill, .pp-box) { background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px var(--hp-rule); }
body.hp-body .pp-box-head { background: transparent; }

/* article: title block and reading column on the same grid, table of contents beside */
body.hp-body .ar-head { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2) !important; padding: clamp(120px, 15vh, 168px) var(--hp-gutter) clamp(28px, 4vw, 48px) !important; box-sizing: border-box; border-bottom: 0; }
body.hp-body .ar-head > * { max-width: 980px; }
body.hp-body .ar-head .elementor-heading-title { font-size: clamp(36px, 4.6vw, 68px) !important; line-height: 1.08 !important; letter-spacing: -.02em; text-align: right !important; }
body.hp-body .ar-meta { justify-content: flex-start; padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--hp-rule); }
body.hp-body .ar-meta .ar-topic { color: var(--hp-blue); }
body.hp-body .ar-body { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2) !important; margin-inline: auto !important; padding-inline: var(--hp-gutter) !important; box-sizing: border-box; }
body.hp-body .ar-body .elementor-widget-table-of-contents { background: rgba(255, 255, 255, .62) !important; box-shadow: inset 0 0 0 1px var(--hp-rule) !important; }
body.hp-body .ar-author { background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px var(--hp-rule); }

/* documents (accessibility statement): the same head as every page */
body.hp-body.page-id-768 .elementor-element-2ba7a1d { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2) !important; padding: clamp(120px, 15vh, 168px) var(--hp-gutter) var(--hp-sec) !important; box-sizing: border-box; }
body.hp-body.page-id-768 .elementor-element-2ba7a1d > * { max-width: 880px; }
body.hp-body.page-id-768 .elementor-element-af0c201 .elementor-heading-title { font-size: clamp(44px, 6vw, 92px) !important; line-height: 1.04 !important; letter-spacing: -.02em; margin-bottom: clamp(28px, 4vw, 48px); }

/* about page: the same container and head */
body.hp-body .abp { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); margin-inline: auto; padding: clamp(96px, 12vh, 140px) var(--hp-gutter) var(--hp-sec); box-sizing: border-box; }
body.hp-body .abp .abp-h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.04; letter-spacing: -.02em; }


@media (max-width: 767px) {
  body.hp-body :is(.pl-lib, .elementor-element.mg-page, .pp, .ar-head) { padding-top: 104px !important; }
  body.hp-body :is(.mg-chips, .pl-chips) { margin-inline: calc(var(--hp-gutter) * -1); padding-inline: var(--hp-gutter); }
}

/* Elementor sizes its containers with --width; the page containers take the full grid */
body.hp-body :is(.ar-head, .ar-body) { --width: 100%; width: 100% !important; }
/* the header bar lines up with the page grid */
body.hp-body .shd-bar { max-width: calc(var(--hp-wrap) + 24px); }

/* inner pages: the imported top containers take the full width and put their content on the start side */
body.hp-body #content .elementor > .e-con,
body.hp-body #content .elementor > .e-con > .e-con:not(.ar-body > *) { --width: 100%; width: 100% !important; max-width: none; --align-items: flex-start; }
body.hp-body .elementor-element:has(> .pp) { --width: 100%; width: 100% !important; }
body.hp-body .pp { margin-inline: auto; width: 100%; }
body.hp-body.page-id-768 .elementor-element-2ba7a1d { margin-inline: auto !important; min-height: 0 !important; justify-content: flex-start !important; }
body.hp-body.page-id-768 .elementor-element-f74333f { width: 100%; }
/* about page cards: the same quiet surface */
body.hp-body .abp :is(.abp-pillars li, .abp-numbers li) { background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px var(--hp-rule); }
/* boxed Elementor containers carry an inner 1140/880px box; on the grid pages the grid sets the width */
body.hp-body .e-con-inner:has(> .pp), body.hp-body.page-id-768 .elementor-element-2ba7a1d > .e-con-inner { max-width: none !important; width: 100%; padding: 0 !important; margin: 0 !important; }
body.hp-body .e-con-inner > .pp { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); }
body.hp-body.page-id-768 .elementor-element-2ba7a1d > .e-con-inner > * { max-width: 880px; }
body.hp-body.page-id-768 .elementor-element-af0c201 > .elementor-widget-container { padding: 0 !important; }

/* state pages (thank-you, 404): src/site/pages.ts */
.hp-state { min-height: 70vh; padding-bottom: var(--hp-sec); }
body .hp-state-t { max-width: 18ch; margin: 18px 0 0; font-size: clamp(44px, 6vw, 92px); line-height: 1.04; font-weight: 800 !important; letter-spacing: -.02em; color: var(--hp-ink); }
.hp-state-text { max-width: 52ch; margin: 24px 0 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.7; font-weight: 300; color: var(--hp-ink-70); }
.hp-state .hp-actions { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hp-rule); }

/* footer: the link columns sit on the page grid */
body.hp-body .bwf-inner { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2); padding-inline: var(--hp-gutter); }

/* ================= Micro-interactions (23.11.2026, from the "קצב" starter) ================= */
/* 1. page titles: each word rises out of its own mask, 60ms apart (split on the server: src/site/split.ts) */
.hp-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .1em .16em; margin-block: -.1em -.16em; }
.hp-w > span { display: inline-block; animation: hp-word .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.12s + var(--i, 0) * .06s); }
.hp-w--el { overflow: visible; }
/* the theme kit forces a light weight on every span: the word masks keep the heading's weight */
body .hp-w, body .hp-w > span { font-weight: inherit !important; }
.hp-w--el > span { animation-name: hp-word-el; }
@keyframes hp-word { from { transform: translateY(105%); } }
@keyframes hp-word-el { from { opacity: 0; transform: translateY(40%); } }
@media (prefers-reduced-motion: reduce) { .hp-w > span { animation: none; } }
.a11y-motion .hp-w > span { animation: none; }

/* 2. buttons and links: the arrow nudges forward (left in RTL), the button sinks a little on press */
.hp-arr { flex: none; width: 18px; height: 12px; transition: transform .2s var(--hp-ease); }
body .hp-link { display: inline-flex; align-items: center; gap: 8px; }
.hp-link .hp-arr { width: 14px; }
.hp-btn:hover .hp-arr, .hp-link:hover .hp-arr { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) { .hp-arr { transition: none; } }

/* 3. scroll reveal: rise and fade, no blur, 0.7s (motion.js adds .mo-reveal / .mo-in) */
body.hp-body .mo-reveal { filter: none !important; transform: translate3d(0, 24px, 0); transition: opacity .7s cubic-bezier(.215, .61, .355, 1) var(--mo-delay, 0ms), transform .7s cubic-bezier(.215, .61, .355, 1) var(--mo-delay, 0ms); }
body.hp-body .mo-reveal.mo-in { transform: none; }

/* 4. cards answer the pointer with a tone change and the arrow nudge, not a jump */
body.hp-body :is(.mg-card, .pl-card):hover { transform: translateY(-2px); background: rgba(255, 255, 255, .85); }

/* 5. section headings: the same word reveal, held under the mask until the heading scrolls in (motion.js .is-in) */
html.hp-js .hp-split-scroll:not(.is-in) .hp-w > span { animation: none; transform: translateY(105%); }
html.hp-js .hp-split-scroll:not(.is-in) .hp-w--el > span { opacity: 0; transform: translateY(40%); }
.a11y-motion .hp-split-scroll .hp-w > span { transform: none !important; opacity: 1 !important; }

/* 6. one button language: every call to action has the arrow, and it nudges forward on hover */
:is(.shd-cta, .ai-btn, .abp-cta, .ar-author-cta) { display: inline-flex; align-items: center; gap: 8px; }
:is(.shd-cta, .ai-btn, .abp-cta, .ar-author-cta) .hp-arr { width: 16px; }
:is(.shd-cta, .shd-m-cta, .ai-btn, .abp-cta, .ar-author-cta, .bwf-cta-btn, .cdlg-submit, .mg-all a) svg { transition: transform .2s var(--hp-ease); }
:is(.shd-cta, .shd-m-cta, .ai-btn, .abp-cta, .ar-author-cta, .bwf-cta-btn, .cdlg-submit, .mg-all a):hover svg { transform: translateX(-4px); }
:is(.shd-cta, .ai-btn, .abp-cta, .ar-author-cta, .bwf-cta-btn, .cdlg-submit, .mg-all a):active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { :is(.shd-cta, .shd-m-cta, .ai-btn, .abp-cta, .ar-author-cta, .bwf-cta-btn, .cdlg-submit, .mg-all a) svg { transition: none; } }
/* gradient headings (text painted by background-clip): each word mask carries the heading's paint itself,
   since the moving word layers would otherwise come out transparent */
.hp-split .hp-w, .hp-split .hp-w > span { background: inherit; -webkit-background-clip: inherit; background-clip: inherit; -webkit-text-fill-color: inherit; }

/* ================= Type system (23.11.2026): Ping has two real weights, light 300 and heavy 800 =================
   Anything asked for in between (500/600/700) was rounded by the browser, sometimes up, sometimes down, so labels
   and numbers came out with a stray heavy symbol. Every role is pinned to one of the two. */
/* light: running text, labels, meta, chips, navigation, numbers */
body.hp-body :is(.shd-link, .shd-dd-btn, .mg-topic, .mg-more, .mg-eyebrow, .pl-eyebrow, .mg-chip, .pl-chip, .pl-card-topic, .pl-more,
  .ar-topic, .ar-meta, .ar-author-eyebrow, .ar-author-links a, .abp-eyebrow, .abp-link, .abp-text a, .pp-open, .pp-box-label, .pp-text,
  .gf-sheet-name, .ads-platforms li, .ads-platforms li span, .hp-stats, .hp-stats *, .hm-term i, kbd, .pl-card mark, .pp mark,
  .ai-ws small, .bwf-credits b) { font-weight: 300 !important; }
/* heavy: headings, buttons, card titles, emphasis */
body.hp-body :is(h1, h2, h3, h4, h1 *, h2 *:not(.hp-arr), h3 *, .shd-cta, .shd-m-cta, .shd-m-list a, .ai-btn, .mg-all a, .bwf-cta-btn, .cdlg-submit,
  .ar-author-cta, .abp-cta, .rm-btn, .pl-copy, .pl-copy span, .pp-copy, .pp-copy span, .gf-title, .ai-card__name, .st-btn b,
.elementor-toc__header-title) { font-weight: 800 !important; }
body.hp-body :is(.elementor-widget-theme-post-content, .hp-prose, .hp-intro, .pl-sub, .mg-sub, .abp, .pp-fill-title) :is(b, strong) { font-weight: 800 !important; }
/* the hero's second line is the light half of the title */
body.hp-body .hp-hero .hp-h1-b, body.hp-body .hp-hero .hp-h1-b * { font-weight: 300 !important; }
/* the old prompt/magazine/about card labels were "medium"; light + the brand colour carries them instead */
body.hp-body :is(.mg-topic, .pl-card-topic, .ar-topic) { color: var(--hp-blue); }

/* ================= Alignment fixes from the audit ================= */
/* "סוכני AI" tools: the list was laid out left-to-right and sat off the text edge */
body.hp-body .hp-agents .auto-tools { direction: rtl; justify-content: flex-start; }
/* "פרודוקטיביות x10": its eyebrow reads as the same label every section uses, not a pill */
body.hp-body .site-ai .site-ai__head .ai-eyebrow { display: block; margin: 0 0 16px; padding: 0; border: 0; border-radius: 0; font-size: 14px; letter-spacing: .04em; color: var(--hp-sky); }
body.hp-body .site-ai .ai-title .elementor-heading-title { margin: 0 0 24px !important; }
/* leftovers from the audit: emphasis inside the AI demos and the header panel is heavy; plain links are light */
body.hp-body :is(.site-ai b, .site-ai strong, .shd-dd-item b, .mg-empty b, .pl-empty b) { font-weight: 800 !important; }
body.hp-body .site-ai [class*="tile"] span, body.hp-body .site-ai .ai-card span:not(.ai-card__name):not(.hp-w):not(.hp-w > span) { font-weight: 800 !important; }
body.hp-body .abp-more a { font-weight: 300 !important; }
/* imported containers add their own 10px padding on top of the grid gutter: off, so every edge sits on the grid */
body.hp-body :is(#content .elementor, #content.elementor) > .e-con { padding-inline: 0 !important; }
body.hp-body.page-id-768 #content .elementor-element-2ba7a1d, body.hp-body #content.elementor > .e-con.ar-body, body.hp-body #content.elementor > .e-con.ar-head { padding-inline: var(--hp-gutter) !important; }
body.hp-body .ar-body > .e-con { padding-inline: 0 !important; }
body.hp-body .pp-related-title { max-width: calc(var(--hp-wrap) + var(--hp-gutter) * 2) !important; margin-inline: auto !important; }
/* phones: a navy chapter sits 8px in from the screen edge; its text still lines up with the page grid */
@media (max-width: 767px) {
  body.hp-body .hp-dark .hp-wrap, body.hp-body .site-ai .site-ai__inner { padding-inline: calc(var(--hp-gutter) - 8px); }
}
/* Bright cards: the title is a flex column (product name over the title); the word masks flow as one line of text */
body.hp-body .site-ai .ai-card__title .elementor-heading-title.hp-split { display: block; }
body.hp-body .site-ai .ai-card__title .hp-w--el:first-child { display: block; margin-bottom: 6px; }
/* "פרודוקטיביות x10": the work window and the tool chips sit on the start side, like every other block */
body.hp-body .site-ai .ai-ws { margin-inline: 0 auto; padding-inline: 0; }
body.hp-body .site-ai .ai-ws__chat { margin-inline: 0 auto; }
body.hp-body .site-ai .ai-chips { justify-content: flex-start; direction: rtl; }
body.hp-body .ar-head > .ar-meta { max-width: none; }

/* ================= Inner page compositions (23.11.2026, second pass) ================= */
/* magazine and prompt library: label, the big title on 8 columns and the description as a note on the far side,
   then search and filters on a ruled row */
body.hp-body :is(.mg-hero, .pl-hero) { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: end; }
body.hp-body :is(.mg-page .mg-eyebrow, .pl-lib .pl-eyebrow) { grid-column: 1 / -1; }
body.hp-body :is(.mg-page .mg-h1, .pl-lib .pl-h1) { grid-column: 1 / span 8; margin: 0; max-width: none; font-size: clamp(48px, 6.4vw, 104px); }
body.hp-body :is(.mg-page .mg-sub, .pl-lib .pl-sub) { grid-column: 9 / span 4; align-self: end; font-size: 16px; }
body.hp-body :is(.mg-search, .pl-search) { grid-column: 1 / span 5; margin-top: clamp(32px, 4vw, 56px); }
body.hp-body :is(.mg-chips, .pl-chips) { grid-column: 1 / -1; margin-top: 20px; }

/* article: the title block on the grid, then the reading column (8 cols) with the contents box beside it (3 cols, sticky) */
body.hp-body .ar-head .elementor-heading-title { max-width: 20ch; font-size: clamp(40px, 5.2vw, 84px) !important; }
body.hp-body #content.elementor > .e-con.ar-body { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: start; }
body.hp-body .ar-body > .e-con:has(.elementor-widget-theme-post-content) { grid-column: 1 / span 8; grid-row: 1; width: auto !important; max-width: none; }
body.hp-body .ar-body > .e-con:has(.elementor-widget-table-of-contents) { grid-column: 10 / span 3; grid-row: 1; align-self: start; height: auto !important; width: auto !important; position: sticky; top: 120px; }
body.hp-body .ar-body .elementor-widget-theme-post-content { max-width: 68ch; }
body.hp-body .ar-body .elementor-widget-table-of-contents { padding: 20px !important; border-radius: 22px !important; }
body.hp-body .ar-body .elementor-toc__header { padding: 0 0 12px !important; border: 0 !important; background: none !important; }
body.hp-body .ar-body .elementor-toc__header-title { font-size: 15px !important; color: var(--hp-ink) !important; }
body.hp-body .ar-body .elementor-toc__body { padding: 0 !important; max-height: 60vh; overflow: auto; }
body.hp-body .ar-body .elementor-toc__list-item { margin: 0; padding: 8px 0; border-top: 1px solid var(--hp-rule); font-size: 14px; line-height: 1.45; }
body.hp-body .ar-body .elementor-toc__list-item a { color: var(--hp-ink-70) !important; font-weight: 300 !important; text-decoration: none !important; }
body.hp-body .ar-body .elementor-toc__list-item a:hover { color: var(--hp-blue) !important; }
body.hp-body .ar-body .elementor-toc__list-wrapper { margin: 0; padding: 0; list-style: none; }
@media (min-width: 1025px) { body.hp-body .ar-body .elementor-toc__toggle-button { display: none !important; } }

/* single prompt: the title across, the prompt (8 cols) with the fill-in form beside it (4 cols, sticky) */
body.hp-body .pp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: start; }
body.hp-body .pp > * { grid-column: 1 / -1; max-width: none; }
body.hp-body .pp .pp-title { max-width: 18ch; font-size: clamp(44px, 6vw, 96px); }
body.hp-body .pp > .pp-box { grid-column: 1 / span 8; grid-row: 4; }
body.hp-body .pp > .pp-fill { grid-column: 9 / span 4; grid-row: 4; position: sticky; top: 120px; margin: 0; }
body.hp-body .pp > .pp-fill .pp-fields { grid-template-columns: 1fr; }
body.hp-body .pp > .prompt-guide { grid-column: 1 / span 8; grid-row: 5; }

@media (max-width: 1024px) {
  body.hp-body :is(.mg-page .mg-h1, .pl-lib .pl-h1, .mg-page .mg-sub, .pl-lib .pl-sub, .mg-search, .pl-search) { grid-column: 1 / -1; }
  body.hp-body :is(.mg-page .mg-sub, .pl-lib .pl-sub) { margin-top: 20px; }
  body.hp-body .ar-body > .e-con:has(.elementor-widget-theme-post-content), body.hp-body .ar-body > .e-con:has(.elementor-widget-table-of-contents) { grid-column: 1 / -1; position: static; }
  body.hp-body .ar-body > .e-con:has(.elementor-widget-table-of-contents) { grid-row: 1; margin-bottom: 32px; }
  body.hp-body .ar-body > .e-con:has(.elementor-widget-theme-post-content) { grid-row: 2; }
  body.hp-body .pp > .pp-box, body.hp-body .pp > .pp-fill, body.hp-body .pp > .prompt-guide { grid-column: 1 / -1; grid-row: auto; position: static; }
  body.hp-body .pp > .pp-fill { margin-bottom: 18px; }
}
/* a prompt without fill-in fields: its how-to guide takes the side column instead */
body.hp-body .pp:not(:has(> .pp-fill)) > .prompt-guide { grid-column: 9 / span 4; grid-row: 4; position: sticky; top: 120px; margin: 0; }
@media (max-width: 1024px) { body.hp-body .pp:not(:has(> .pp-fill)) > .prompt-guide { grid-column: 1 / -1; grid-row: auto; position: static; } }
/* a prompt without fill-in fields: the prompt box takes the full width */
body.hp-body .pp:not(:has(> .pp-fill)) > .pp-box { grid-column: 1 / -1; }
