/* Datonik Search v2 Home cream scheme (D with Jacob's 20 Nov copy and logo), master stylesheet (rh-mockup src, deployed to WordPress as-is) */
@font-face{font-family:"Montserrat";src:url(fonts/montserrat.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(fonts/manrope.woff2) format("woff2");font-weight:400 600;font-style:normal;font-display:swap}

/* Tokens, cream scheme (Jacob 20 Nov: cream #FCF3ED, graphite #161E22, orange #FE760D). Contrast on cream: graphite 15.43,
   muted (Olga's Slate #5F6B71, 23 Nov) 5.01, graphite on orange 6.28. Olga's Mist #A9B3B8 is for graphite surfaces (none here). Brand orange is 2.46 on cream, so it is never text (Josh 23 Nov, per Olga Rev 3):
   accent only, as the eyebrow bar, the H1 highlight underline, link hover underline, button fill and field focus line.
   Slate also draws the field and hair lines. */
:root{
  --rh-cream:#FCF3ED;
  --rh-graphite:#161E22;
  --rh-orange:#FE760D;
  --rh-muted:#5F6B71;
  --rh-line:#5F6B71;
  --rh-hair:rgba(95,107,113,.4);
  --rh-font:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  --rh-display:"Montserrat",system-ui,sans-serif;
  --rh-slate:#5F6B71;
  --rh-fs-body:1rem;
  --rh-fs-body-sm:.875rem;
  --rh-fs-fine:.75rem;
  --rh-fs-lead:clamp(1.125rem,1rem + .4vw,1.3125rem);
  --rh-fs-h1:clamp(2rem,1.1rem + 2.8vw,3.25rem);
  --rh-fs-h2:clamp(1.5rem,1rem + 1.3vw,2.125rem);
  --rh-max:82.5rem;
  --rh-pad:clamp(1.25rem,2.4vw,2.25rem);
  --rh-sec:clamp(4rem,7vw,7.5rem);
  --rh-form-w:37rem;
  --rh-radius:0;
  --rh-spec-y:1.75rem;
  --rh-mast-h:7.5rem;
  --rh-stick:2rem;
}

html{background:var(--rh-cream)}
body{margin:0;background:var(--rh-cream);color:var(--rh-graphite);font-family:var(--rh-font);font-size:var(--rh-fs-body);line-height:1.6;font-weight:400;-webkit-font-smoothing:antialiased}

/* Skeleton */
.rh-sec{position:relative;color:var(--rh-graphite);padding:var(--rh-sec) 0}
.rh-sec .rh-inner{box-sizing:border-box;width:100%;max-width:var(--rh-max);margin:0 auto;padding:0 var(--rh-pad);position:relative}
.rh-sec :where(h1,h2,h3,p,ul,figure){margin:0}
.rh-sec :where(img){display:block;max-width:100%;height:auto}
.rh-sec.rh-cont{padding-top:0}
:is(.rh-intro,.rh-mast-in,.rh-intro-copy,.rh-row,.rh-split,.rh-split-head,.rh-split-form)>.wp-block-group__inner-container{display:contents}

/* Header */
.rh-mast{position:absolute;top:0;left:0;right:0;z-index:10}
.rh-mast .rh-mast-in{box-sizing:border-box;max-width:var(--rh-max);margin:0 auto;padding:1.75rem var(--rh-pad);display:flex;align-items:center;justify-content:space-between}
.rh-mast .rh-logo{display:block;width:clamp(12.5rem,9rem + 7vw,15.625rem);line-height:0}
.rh-mast .rh-logo img{display:block;width:100%;height:auto}

/* Intro (hero) */
.rh-sec.rh-intro{min-height:min(100svh,56rem);display:flex;align-items:flex-end;overflow:hidden;padding:calc(var(--rh-mast-h) + 3rem) 0 var(--rh-sec);box-sizing:border-box}
.rh-sec.rh-intro .rh-inner{width:100%}
.rh-sec .rh-intro-copy{position:relative;z-index:1;max-width:46rem}
.rh-sec .rh-eyebrow{font-family:var(--rh-display);font-size:.75rem;line-height:1.3;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--rh-graphite);margin-bottom:1.25rem}
/* Eyebrow marker (Olga Rev 3 example): a 3px orange bar the cap height, sitting on the baseline, then a gap */
.rh-sec .rh-eyebrow::before{content:"";display:inline-block;width:3px;height:.7em;margin-right:.75em;background:var(--rh-orange);vertical-align:baseline}
.rh-sec .rh-h1{font-family:var(--rh-display);font-size:var(--rh-fs-h1);line-height:1.12;font-weight:700;letter-spacing:-.01em;color:var(--rh-graphite)}
/* H1 highlight: graphite text with a thick orange underline, offset clear of descenders and inside the .rh-line mask */
.rh-sec :is(.rh-hl,.rh-h1 em){color:inherit;text-decoration:underline;text-decoration-color:var(--rh-orange);text-decoration-thickness:.12em;text-underline-offset:.12em;text-decoration-skip-ink:none}
/* Line by line: rh-motion.js wraps each rendered line in .rh-line > .rh-line-in. The mask is padded for descenders
   and side overhang with equal negative margins, so nothing clips or moves. */
.rh-sec .rh-line{display:block;overflow:hidden;padding:.06em .12em .14em;margin:-.06em -.12em -.14em}
.rh-sec .rh-line-in{display:block;transition:transform 1.1s cubic-bezier(.2,.75,.2,1)}
.js-reveal .rh-lines:not(.is-in) .rh-line-in{transform:translateY(115%)}
.rh-sec .rh-h1 em{font-style:normal}
.rh-sec .rh-lead{text-wrap:pretty;margin-top:1.5rem;font-size:var(--rh-fs-lead);line-height:1.5;color:var(--rh-graphite);max-width:38rem}
.rh-sec .rh-rule.rh-rule-in{margin:clamp(2.5rem,5vw,4rem) 0 var(--rh-spec-y);position:relative;z-index:1}
.rh-sec .rh-rule.rh-rule-out{margin:var(--rh-spec-y) 0 0;position:relative;z-index:1}
/* Specialisms. A left-aligned row without JS. rh-motion.js turns it into an endless marquee (rh-mq-on): the window
   is one set wide (narrower on small screens, with the spacing widened so a set always outruns it) and the edges
   fade, so an item never shows twice at full strength. It does not take part in the reveal. */
.rh-sec .rh-marquee{position:relative;z-index:1}
.rh-sec .rh-specs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.75rem 0}
.rh-sec .rh-specs li{font-size:var(--rh-fs-body-sm);font-weight:600;letter-spacing:.02em;line-height:1.2;color:var(--rh-graphite);white-space:nowrap;padding:0 1.5rem;border-left:1px solid var(--rh-hair)}
.rh-sec .rh-specs li:first-child{padding-left:0;border-left:0}
.rh-sec .rh-marquee.rh-mq-on{overflow:hidden;max-width:100%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
.rh-sec .rh-mq-on .rh-specs{flex-wrap:nowrap;width:max-content;animation:rh-marquee var(--rh-mq-dur,20s) linear infinite}
.rh-sec .rh-mq-on .rh-specs li,.rh-sec .rh-mq-on .rh-specs li:first-child{padding:0 1.5rem;border-left:1px solid var(--rh-hair)}
.rh-sec .rh-mq-on:hover .rh-specs{animation-play-state:paused}
@keyframes rh-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.rh-sec .rh-lead+.rh-lead{margin-top:1rem;font-size:var(--rh-fs-body);line-height:1.65;max-width:34rem;color:var(--rh-muted)}

/* Page light, lava lamp (cream scheme: soft white glow on cream, Josh and Olga 23 Nov): three soft blobs in fixed layers behind everything, each on its own slow path and
   size, so they drift apart and merge. Transform only, composited, no repaint. Same blobs and levels as C. The vignette is a still layer on top. html carries the cream. */
body{background:transparent}
.rh-sec{background:transparent}
html::before,html::after,body::before,body::after{content:"";position:fixed;z-index:-1;pointer-events:none}
html::before,html::after,body::before{border-radius:50%;will-change:transform;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}
html::before{width:62vmax;height:62vmax;top:-22vmax;left:40vw;background:radial-gradient(closest-side,rgba(255,255,255,0.7) 0,rgba(255,255,255,0.41) 35%,rgba(255,255,255,0.13) 68%,rgba(255,255,255,0) 100%);animation-name:rh-lava-a;animation-duration:38s}
html::after{width:52vmax;height:52vmax;top:30vh;left:-20vmax;background:radial-gradient(closest-side,rgba(255,255,255,0.55) 0,rgba(255,255,255,0.31) 35%,rgba(255,255,255,0.1) 68%,rgba(255,255,255,0) 100%);animation-name:rh-lava-b;animation-duration:53s}
body::before{width:46vmax;height:46vmax;top:52vh;left:58vw;background:radial-gradient(closest-side,rgba(255,255,255,0.47) 0,rgba(255,255,255,0.26) 35%,rgba(255,255,255,0.085) 68%,rgba(255,255,255,0) 100%);animation-name:rh-lava-c;animation-duration:45s}
body::after{inset:0;background:
  linear-gradient(180deg,rgba(22,30,34,.04) 0,rgba(22,30,34,0) 30%),
  linear-gradient(90deg,rgba(22,30,34,.05) 0,rgba(22,30,34,0) 22%,rgba(22,30,34,0) 78%,rgba(22,30,34,.05) 100%)}
@keyframes rh-lava-a{0%{transform:translate3d(0,0,0) scale(1)}35%{transform:translate3d(-14vw,10vh,0) scale(1.18)}70%{transform:translate3d(-26vw,-4vh,0) scale(.9)}100%{transform:translate3d(-8vw,16vh,0) scale(1.08)}}
@keyframes rh-lava-b{0%{transform:translate3d(0,0,0) scale(1)}40%{transform:translate3d(22vw,-14vh,0) scale(1.15)}75%{transform:translate3d(36vw,8vh,0) scale(.88)}100%{transform:translate3d(14vw,22vh,0) scale(1.05)}}
@keyframes rh-lava-c{0%{transform:translate3d(0,0,0) scale(1)}30%{transform:translate3d(-18vw,-18vh,0) scale(.86)}65%{transform:translate3d(-30vw,6vh,0) scale(1.2)}100%{transform:translate3d(-6vw,-26vh,0) scale(1)}}

/* Enquiry: rule, then heading left and form right (stacked under 1024) */
.rh-sec .rh-rule{display:block;height:1px;border:0;margin:0 0 var(--rh-sec);background:var(--rh-hair);width:100%}
.rh-sec .rh-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--rh-form-w));justify-content:space-between;gap:clamp(2.5rem,6vw,7rem);align-items:start}
.rh-split>.wp-block-group__inner-container>*{min-width:0}
.rh-sec .rh-split .rh-stick{position:sticky;top:var(--rh-stick);align-self:start}
.rh-sec .rh-h2{font-family:var(--rh-display);font-size:var(--rh-fs-h2);line-height:1.18;font-weight:700;letter-spacing:-.005em;color:var(--rh-graphite)}
.rh-sec .rh-form-intro{margin-top:1.25rem;font-size:var(--rh-fs-lead);line-height:1.5;color:var(--rh-muted);max-width:26rem}

.rh-sec .rh-form{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem 1.5rem}
.rh-sec .rh-field{display:flex;flex-direction:column;gap:.25rem;grid-column:1/-1}
.rh-sec .rh-field.rh-half{grid-column:auto}
.rh-sec .rh-field label{font-size:var(--rh-fs-body-sm);line-height:1.3;color:var(--rh-muted)}
.rh-sec .rh-field label span{color:var(--rh-muted)}
.rh-sec .rh-field :where(input,textarea){font:inherit;font-size:var(--rh-fs-body);color:var(--rh-graphite);background:transparent;border:0;border-bottom:1px solid var(--rh-line);border-radius:0;padding:.4rem 0 .6rem;outline:0;width:100%;box-sizing:border-box}
.rh-sec .rh-field textarea{min-height:7.5rem;resize:none}
.rh-sec .rh-field :where(input,textarea):focus{border-bottom-color:var(--rh-orange)}
.rh-sec .rh-form-foot{grid-column:1/-1;display:flex;margin-top:.5rem}
.rh-sec .rh-btn{display:inline-block;font:inherit;font-size:var(--rh-fs-body-sm);font-weight:600;line-height:1.2;letter-spacing:.02em;color:var(--rh-graphite);background:var(--rh-orange);border:1px solid var(--rh-orange);border-radius:var(--rh-radius);padding:.75rem 1.75rem;text-decoration:none;cursor:pointer;transition:background-color .2s,border-color .2s}
.rh-sec .rh-btn:hover,.rh-sec .rh-btn:focus-visible{background:var(--rh-graphite);border-color:var(--rh-graphite);color:var(--rh-cream)}
.rh-sec .rh-small{margin-top:1.5rem;font-size:var(--rh-fs-fine);line-height:1.5;color:var(--rh-muted)}
.rh-sec .rh-small a{color:var(--rh-graphite);text-decoration:underline;text-underline-offset:2px}
.rh-sec .rh-small a:hover{color:var(--rh-graphite);text-decoration-color:var(--rh-orange);text-decoration-thickness:2px}

/* Footer */
.rh-sec.rh-foot{padding-bottom:3rem}
.rh-sec.rh-foot .rh-rule{margin-bottom:3rem}
.rh-sec .rh-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.rh-sec .rh-foot-logo{width:clamp(12.5rem,9rem + 7vw,15.625rem)}
.rh-sec .rh-foot-logo img{width:100%}
.rh-sec .rh-legal{font-size:var(--rh-fs-fine);color:var(--rh-muted)}

/* Reveal */
.js-reveal .rh-reveal{opacity:0;transform:translateY(1.25rem);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.js-reveal .rh-reveal.is-in{opacity:1;transform:none}

@media (max-width:1023px){
  .rh-sec .rh-split{grid-template-columns:1fr}
}
@media (max-width:767px){
  .rh-sec .rh-form{grid-template-columns:1fr}
  .rh-sec .rh-field.rh-half{grid-column:1/-1}
  .rh-sec.rh-intro{min-height:min(100svh,40rem);padding-top:calc(var(--rh-mast-h) + 3rem)}
  .rh-sec .rh-row{flex-direction:column;align-items:flex-start}
}


/* ============================================================
   WORDPRESS LAYER, stack 2 (a client block theme, ADR 001). Everything above is the mockup sheet (src/<css>) unchanged.
   recruithub-core prints the mockup DOM from core blocks on the front end (no core layout classes, buttons as bare
   links, video and image wrappers as the mockup's divs), so the rules above apply 1:1. The theme has no chrome of its
   own to remove: this layer only styles what the mockup could not hold. tools/wp-layer.css is the GeneratePress one.
   ============================================================ */

/* WordPress prints its global styles after this sheet, with a:where(:not(.wp-element-button)){text-decoration:underline},
   which ties the mockup's bare a{color:inherit;text-decoration:none} and wins by order. (0,0,2) wins it back and still
   loses to every mockup class rule, exactly like the mockup's own a rule did. */
html a { color: inherit; text-decoration: none; }

/* Entrance. The theme sets js-reveal in the head, before the first style pass (assets/first-paint.js), so the mockup's own
   .js-reveal rules hide what animates in from the first paint on. A heading the script splits into lines (.rh-lines,
   then .rh-line inside it) has no hidden state until it is split: it stays out of sight until then. build-wp.py stops
   when a script uses js-reveal and rh-lines and never makes an .rh-line. */
.js-reveal .rh-lines:not(:has(.rh-line)) { visibility: hidden; }

/* RH DOM leftovers */
.rh-sec img.rh-bare { display: block; }
.rh-sec .rh-aria-hidden { pointer-events: none; }

/* Gravity Forms on the mockup's rh-form card. GF CSS output is off (recruithub-core, module gf).
   Set the three tokens from the mockup's .rh-form rule (this is the dark-card variant). */
:root { --rh-form-bg: #163A52; --rh-form-ink: #fff; --rh-form-accent: #7AC1C1; --rh-form-on-accent: #0E2B3F; }
/* --rh-form-ink is the card's text colour (#fff on the dark default, the client's ink on a light card).
/* Light card variant (mockup .rh-form on cream, navy labels): set the tokens to the light values and append
   the light block from a client project's Master CSS (its PROJECT LAYER block, the .gform_wrapper rules). */  /* also the select chevron's %23 stroke hex below */
.rh-sec .gform_wrapper { margin: 0; }
.rh-sec .gform_wrapper form { background: var(--rh-form-bg); border-radius: var(--rh-r-card); padding: clamp(1.4rem,3vw,2.2rem); color: var(--rh-form-ink); }
.rh-sec .rh-form-wrap > .gform_wrapper, .rh-sec .rh-form-wrap > .gform_wrapper form { flex: 1 1 auto; }
.rh-sec .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem 1.2rem; margin: 0; padding: 0; list-style: none; border: 0; }
.rh-sec .gform_wrapper .gfield { display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 0; min-width: 0; border: 0; grid-column: 1 / -1; }
.rh-sec .gform_wrapper .gfield.gfield--width-half { grid-column: auto; }
.rh-sec .gform_wrapper .gfield.gfield--type-html { color: var(--rh-form-ink); }
.rh-sec .gform_wrapper .gfield.gform_hidden, .rh-sec .gform_wrapper .gfield.gfield_visibility_hidden, .rh-sec .gform_wrapper .gform_validation_container { display: none; }
.rh-sec .gform_wrapper :is(.gfield_label, legend.gfield_label) { font-size: .85rem; font-weight: 600; color: var(--rh-form-ink); padding: 0; margin: 0; }
.rh-sec .gform_wrapper .gfield_required { display: none; }
.rh-sec .gform_wrapper .gfield_description { font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.75); margin: 0; }
.rh-sec .gform_wrapper .ginput_container { margin: 0; }
.rh-sec .gform_wrapper .ginput_container :where(input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]),select,textarea) {
  display: block; box-sizing: border-box; width: 100%; min-height: 48px; font-family: var(--rh-sans); font-size: 1rem; line-height: 1.4; color: var(--rh-form-ink);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.42); border-radius: var(--rh-r-field); padding: .75rem .95rem; transition: border-color 200ms, background 200ms;
}
.rh-sec .gform_wrapper .ginput_container textarea { min-height: 132px; resize: vertical; }
.rh-sec .gform_wrapper .ginput_container select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237AC1C1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.rh-sec .gform_wrapper select option { color: #111; background: #fff; }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):hover { border-color: rgba(255,255,255,.7); }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):focus { outline: 2px solid var(--rh-form-accent); outline-offset: 1px; border-color: var(--rh-form-accent); background-color: rgba(255,255,255,.1); }
.rh-sec .gform_wrapper .ginput_container input[readonly] { background-color: rgba(255,255,255,.12); border-style: dashed; }
.rh-sec .gform_wrapper .ginput_container input[type=file] { padding: .55rem .6rem; cursor: pointer; }
.rh-sec .gform_wrapper input[type=file]::file-selector-button { font: 600 .85rem var(--rh-sans); color: var(--rh-form-on-accent); background: var(--rh-form-accent); border: 0; border-radius: var(--rh-r-pill); padding: .5rem 1rem; margin-right: .9rem; cursor: pointer; transition: background 200ms; }
.rh-sec .gform_wrapper input[type=file]:hover::file-selector-button { background: #fff; }
.rh-sec .gform_wrapper input[type=date] { color-scheme: dark; }
.rh-sec .gform_wrapper .gform_fileupload_rules, .rh-sec .gform_wrapper .gfield_validation_message, .rh-sec .gform_wrapper .validation_message { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .3rem; }
.rh-sec .gform_wrapper .gfield_error :is(input,select,textarea) { border-color: #F2B8B5; }
.rh-sec .gform_wrapper .gfield_error .validation_message { color: #F2B8B5; }
.rh-sec .gform_wrapper .gform_validation_errors { grid-column: 1 / -1; margin: 0 0 1rem; color: #F2B8B5; font-size: .95rem; }
.rh-sec .gform_wrapper .gform_validation_errors :is(h2,ol) { font-size: .95rem; margin: 0; padding: 0; color: inherit; }
/* radio groups = fieldset.rh-choice */
.rh-sec .gform_wrapper .gfield--type-radio .gfield_radio { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.rh-sec .gform_wrapper .gchoice { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }
.rh-sec .gform_wrapper .gchoice label { font-size: 1rem; color: var(--rh-form-ink); cursor: pointer; }
.rh-sec .gform_wrapper .gchoice input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--rh-form-accent); cursor: pointer; }
/* footer = rh-form-foot: the submit (rh-btn markup from gform_submit_button) and the footnote */
.rh-sec .gform_wrapper .gform_footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.5rem 0 0; padding: 0; }
.rh-sec .gform_wrapper .gform_footer .rh-small { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }
.rh-sec .gform_wrapper .gform_ajax_spinner { width: 20px; height: 20px; }
/* The base field rule is :where() so the select, textarea, file and readonly rules below it can win
   (as :is() it was (0,7,1) and beat them all: no select chevron, 250px textareas). Geometry below measured
   against the mockup's .rh-form with rh-compare.js forms(). */
.rh-sec .rh-form-wrap > .gform_wrapper { display: flex; flex-direction: column; }
.rh-sec .gform_wrapper .gfield--type-html { gap: 0; }
.rh-sec .gform_wrapper .gform_fileupload_rules { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh-sec .gform_wrapper :is(.validation_message, .gfield_validation_message):empty { display: none; }
.rh-sec .gform_wrapper .gfield--type-radio .ginput_container { margin-top: 1.15rem; }
.rh-sec .gform_wrapper .gchoice { min-height: 48px; }
.rh-sec .gform_wrapper .gchoice label { font-weight: 600; }
/* no theme sheet carries the screen reader rule here: Gravity Forms's hidden labels and the skip link need it */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: .75rem 1rem; z-index: 100000; background: #fff; color: var(--rh-navy); left: 8px; top: 8px; }
/* core's post-title CSS makes a Query Loop title link inline-block, the mockup's is inline */
.rh-sec .wp-block-post-title a { display: inline; }
/* logged-in only: the fixed header and everything offset by --rh-mast sit under the admin bar.
   --rh-mast-h is the mockup's whole --rh-mast offset (any gap above the bar + bar + gap), not the bar alone.
   The .rh-menu lines suit a full-height menu panel: delete them when the mockup's menu is a dropdown. */
body.admin-bar { --rh-mast: calc(var(--rh-mast-h, 78px) + 32px); }
body.admin-bar .rh-mast { top: 32px; }
body.admin-bar .rh-mast .rh-menu { top: calc(var(--rh-mast-h, 78px) + 32px); height: calc(100vh - var(--rh-mast-h, 78px) - 32px); }
@media (max-width: 782px) { body.admin-bar { --rh-mast: calc(var(--rh-mast-h, 78px) + 46px); } body.admin-bar .rh-mast { top: 46px; } body.admin-bar .rh-mast .rh-menu { top: calc(var(--rh-mast-h, 78px) + 46px); height: calc(100vh - var(--rh-mast-h, 78px) - 46px); } }
.rh-sec .gform_confirmation_wrapper, .rh-sec .gform_confirmation_message { background: var(--rh-form-bg); border-radius: var(--rh-r-card); padding: clamp(1.4rem,3vw,2.2rem); font-size: 1.05rem; font-weight: 600; color: var(--rh-form-accent); }
.rh-sec .gform_confirmation_wrapper .gform_confirmation_message { padding: 0; }
@media (max-width: 600px) { .rh-sec .gform_wrapper .gform_fields { grid-template-columns: minmax(0,1fr); } .rh-sec .gform_wrapper .gfield.gfield--width-half { grid-column: 1 / -1; } }
/* prefilled read-only field (class rh-ref-field) shows only when its query parameter filled it */
.rh-sec .gform_wrapper .gfield.rh-ref-field:not(.rh-has-ref) { display: none; }
/* js-hooks: rh-as-* rh-a rh-aria rh-ico rh-btnwrap rh-aria-hidden rh-reveal rh-lines rh-fill rh-count rh-has-ref */
/* add the project's own JS hooks and filter prefixes (rh-need-* ...) to the js-hooks comment of the project copy */

/* EDITOR, stack 2. A block theme's canvas has no Group inner container, no content-width cap and no auto margins on
   our sections, so the parity block of tools/wp-layer.css is not needed (measured 23 Nov 2026: no branch of it changed
   tools/rh-parity.js's result). One rule stays: a decorative empty Group (a hero shade) would show the
   "Select a layout" picker. Nothing here reaches a visitor. */
.editor-styles-wrapper .wp-block-group[class*="rh-"] > .components-placeholder { display: none; }

/* ============================================================
   PROJECT LAYER, Datonik Search. The mockup's form is hairline fields on the page, no card:
   the Gravity Forms rules of the WordPress layer above are brought to the mockup's .rh-form values.
   ============================================================ */
:root { --rh-form-bg: transparent; --rh-form-ink: var(--rh-graphite); --rh-form-accent: var(--rh-orange); --rh-form-on-accent: var(--rh-graphite); --rh-sans: var(--rh-font); --rh-navy: var(--rh-graphite); }
.rh-sec .gform_wrapper form { background: none; border-radius: 0; padding: 0; color: inherit; }
.rh-sec .gform_wrapper .gform_fields { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
.rh-sec .gform_wrapper .gfield { gap: .25rem; }
.rh-sec .gform_wrapper :is(.gfield_label, legend.gfield_label) { display: block; font-size: var(--rh-fs-body-sm); font-weight: 400; line-height: 1.3; color: var(--rh-muted); }
.rh-sec .gform_wrapper .gfield_required { display: inline; color: var(--rh-muted); }
.rh-sec .gform_wrapper .gfield_label > .gfield_required { margin-left: .25em; }
.rh-sec .gform_wrapper .gfield_description { color: var(--rh-muted); }
.rh-sec .gform_wrapper .ginput_container :where(input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]),select,textarea) {
  min-height: 0; font: inherit; font-size: var(--rh-fs-body); color: var(--rh-graphite); background: transparent; border: 0; border-bottom: 1px solid var(--rh-line);
  border-radius: 0; padding: .4rem 0 .6rem; outline: 0; width: 100%; box-sizing: border-box; transition: none;
}
.rh-sec .gform_wrapper .ginput_container textarea { height: 7.5rem; min-height: 7.5rem; resize: none; }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):hover { border-color: var(--rh-line); }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):focus { outline: 0; border-color: var(--rh-orange); background-color: transparent; }
.rh-sec .gform_wrapper .gform_fileupload_rules, .rh-sec .gform_wrapper .gfield_validation_message, .rh-sec .gform_wrapper .validation_message { color: var(--rh-muted); }
.rh-sec .gform_wrapper .gfield_error :is(input,select,textarea) { border-color: #B3261E; }
.rh-sec .gform_wrapper .gfield_error .validation_message { color: #B3261E; }
.rh-sec .gform_wrapper .gform_validation_errors { color: #B3261E; }
/* the mockup's .rh-form-foot sits in the field grid (row gap 1.75rem + its own .5rem). The footnote is a paragraph of the page */
.rh-sec .gform_wrapper .gform_footer { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; margin: 2.25rem 0 0; }
/* the mockup's button has no arrow */
.rh-sec .gform_wrapper .rh-btn .rh-ico { display: none; }
.rh-sec .gform_confirmation_wrapper, .rh-sec .gform_confirmation_message { background: none; border-radius: 0; padding: 0; font-size: var(--rh-fs-lead); font-weight: 400; color: var(--rh-graphite); }
@media (max-width: 767px) { .rh-sec .gform_wrapper .gform_fields { grid-template-columns: 1fr; } .rh-sec .gform_wrapper .gfield.gfield--width-half { grid-column: 1 / -1; } }
