/* What the WordPress site needs beyond the build's stylesheet.

   styles.css is copied from the static build and never edited here. This file
   is the theme's own: it dresses the markup plugins write, which the static
   site never had, so it looks like the rest of the site. */

/* --- Ninja Forms, as the site's contact form ----------------------------------
   The same controls the static form had, measured off it: bold labels at the
   small size with the required star in gold, a muted hint above the message,
   white fields with a 2px border that turns gold on focus, and the full-width
   gold button. */
.abx-formbox .nf-form-title,
.abx-formbox .nf-form-fields-required,
.abx-formbox .nf-before-field:empty,
.abx-formbox .nf-input-limit:empty { display: none; }

.abx-formbox .nf-form-cont,
.abx-formbox .nf-form-wrap,
.abx-formbox .nf-form-layout,
.abx-formbox nf-fields-wrap,
.abx-formbox nf-field { display: block; margin: 0; padding: 0; }

.abx-formbox .nf-field-container { margin: 0 0 var(--sp-3); }
.abx-formbox .nf-field-container.submit-container { margin: var(--sp-4) 0 0; }

/* The captured theme hid Ninja Forms labels (the old form used placeholders);
   the labels are the form's, so they are shown. */
.site-container .abx-formbox .nf-field-label,
.abx-formbox .nf-field-label label {
  display: block !important;
  margin: 0 0 var(--sp-1);
  padding: 0;
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.62;
  color: #fff;
}
.site-container .abx-formbox .nf-field-label label { margin: 0; }
.abx-formbox .ninja-forms-req-symbol { color: var(--gold); }

/* Ninja Forms' spam trap: in the form for bots, off the screen for people. */
.abx-formbox .nf-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The hint sits between the label and the field it describes, as it did. */
.abx-formbox .field-wrap { display: flex; flex-direction: column; }
.abx-formbox .field-wrap > .nf-field-label { order: 0; }
.abx-formbox .field-wrap > .nf-field-description { order: 1; }
.abx-formbox .field-wrap > .nf-field-element { order: 2; }

.abx-formbox .nf-field-description,
.abx-formbox .nf-field-description p {
  display: block;
  margin: 0 0 var(--sp-2);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.abx-formbox .ninja-forms-field:not([type="submit"]):not([type="button"]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0.72em 0.9em;
  font: 500 var(--t-body)/1.5 "Neue Haas Grotesk Display Pro", "NHD fallback", sans-serif;
  color: #110f0f;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 5px;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.abx-formbox textarea.ninja-forms-field { min-height: 8.5em; resize: vertical; }
.abx-formbox .ninja-forms-field:not([type="submit"]):focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(237, 200, 1, .35);
}
.abx-formbox .ninja-forms-field::placeholder { color: #8a847c; }

/* The captured theme styles every submit button with !important (23px type,
   500px wide, centered), so the form's button has to say so as well. */
.site-container .abx-formbox input[type="submit"].ninja-forms-field,
.site-container .abx-formbox input[type="button"].ninja-forms-field {
  display: block !important;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 1.05em 1.9em !important;
  font: 700 16px/1 "Neue Haas Grotesk Display Pro", sans-serif !important;
  letter-spacing: 0.01em;
  color: #110f0f !important;
  background: var(--gold) !important;
  border: 0 !important;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.site-container .abx-formbox input[type="submit"].ninja-forms-field:hover { background: #fff !important; transform: none; }
.abx-formbox input[type="submit"].ninja-forms-field:disabled { opacity: .6; cursor: progress; }

/* Errors and the confirmation, in the site's colours. The captured theme hid
   the block the errors are written into; it is shown again. */
.site-container .abx-formbox .nf-after-field { display: block !important; }
.abx-formbox .nf-error-msg,
.abx-formbox .nf-error .nf-error-msg { margin: var(--sp-1) 0 0; font-size: var(--t-small); color: #ff8a7a; }
.abx-formbox .nf-error .ninja-forms-field { border-color: #ff8a7a; }
.abx-formbox .nf-response-msg { font-size: var(--t-body); color: #fff; }
.abx-formbox .nf-form-errors .nf-error-msg { margin: 0 0 var(--sp-2); }


/* --- The cookie banner (inc/consent.php, assets/js/consent.js) ---------------
   A bar along the bottom in the site's dark, the sentence on the left and the
   two answers on the right; on a phone the answers take a row of their own.
   Anything else fixed to the bottom of the page (the sticky call to action,
   the Hong Kong notice) is lifted by its height while it is open: app.js
   measures it and publishes the height as --consent-h. */
.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  color: #fff;
  background: #110f0f;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .3);
  font-size: var(--t-small);
  line-height: 1.5;
}
.consent-bar[hidden] { display: none; }
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px var(--gutter);
}
.consent-text { flex: 1 1 320px; margin: 0; }
.consent-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.consent-text a:hover, .consent-text a:focus-visible { color: #fff; }
.consent-actions { display: flex; flex: none; gap: 10px; }
.consent-actions button {
  padding: 12px 18px;
  font: 700 15px/1 inherit;
  font-family: inherit;
  color: #fff;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
}
.consent-actions .consent-allow { color: #110f0f; background: var(--gold); }
.consent-actions button:hover { color: #110f0f; background: #fff; border-color: #fff; }
.consent-actions button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.consent-bar.cjk, .consent-bar.cjk button { line-height: 1.6; }
@media (max-width: 600px) {
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
}
.sticky-cta, .scam-popup { bottom: var(--consent-h, 0px); }
/* The old site's Tag Manager container (GTM-MMZGS4) still carries a tag that
   adds a second banner, Osano's cookieconsent, which gates nothing. Until that
   tag is paused in Tag Manager (DEVELOPER.md, Step 7) it is kept out of
   sight, so two banners never stack. */
.cc-window, .cc-revoke { display: none !important; }

/* An author's second and later pages: the article list sits in the same
   column as every other page (styles.css capped the author layout at 1600px
   and left this wrapper uncapped, so both ran wider than the site on large
   screens). */
.author-page .site-inner > .wrap, .author-page .site-inner > .bnr > .wrap { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* Testimonials: the cards run the full width of the page. On a desktop each
   one splits in two, the rating, headline and pull quote beside the
   reviewer's answers, so the lines stay a readable length; a review with no
   answers keeps one column and caps its measure instead. */
.testimonials-page .g2-grid,
.testimonials-page .g2-note { max-width: none; }
@media (min-width: 1000px) {
  .testimonials-page .g2-review:has(.g2-qa) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2.5rem, 1rem + 3vw, 4.5rem); align-items: start; }
  .testimonials-page .g2-review .g2-qa { margin-top: 0; padding-left: clamp(2rem, 0.8rem + 2vw, 3.5rem); border-left: 1px solid var(--rule-soft); }
  .testimonials-page .g2-review .g2-by { grid-column: 1 / -1; }
}
.testimonials-page .g2-review:not(:has(.g2-qa)) .g2-lead p { max-width: 75ch; }

/* The scorecard in a banner, where the illustration would be (layouts/hero.php). */
.bnr.services .img.hero-score { max-width: none; }
@media (min-width: 993px) {
  .bnr.services .pad.grd:has(.img) > .img.hero-score { height: auto; align-self: center; }
}
.bnr .hero-score .g2-score { width: 100%; max-width: 520px; margin: 0 0 0 auto; padding: var(--sp-5); }
.bnr .hero-score .g2-num { font-size: clamp(3rem, 2rem + 3vw, 4.75rem); }
@media (max-width: 992px) {
  .bnr .hero-score .g2-score { margin: 0 auto; }
}
/* The banner sizes its illustration through `.img svg` and styles its own
   paragraphs; neither may reach the scorecard's stars and lines. */
.bnr.services .img.hero-score svg.g2-star { width: 24px; height: 24px; max-width: none; margin: 0; }
.bnr.services .img.hero-score p { margin: 0; max-width: none; }
.bnr.services .img.hero-score .g2-num { font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: 1; color: #fff; }
.bnr.services .img.hero-score .g2-meta,
.bnr.services .img.hero-score .g2-row-n,
.bnr.services .img.hero-score .g2-row-c { font-size: var(--t-small); line-height: 1.3; color: var(--muted); }
/* In a narrow banner column the bars drop under the average rather than
   squeezing to a sliver beside it. */
.bnr .hero-score .g2-score { flex-wrap: wrap; }
.bnr .hero-score .g2-spread { flex: 1 1 180px; }

/* Articles: the TL;DR, contents, body, FAQ, call to action and author box run
   1100px wide (they were 880px). Running prose keeps a readable line — about a
   hundred characters — inside the wider blocks; headings, tables, figures and
   the FAQ use the full width. */
.single-post { --art-measure: 1100px; }
.single-post .art-paper > :is(p, ul, ol, blockquote),
.single-post .tldr :is(p, li),
.single-post .art-author :is(p) { max-width: 820px; }
/* In the wider call to action the heading reads from the left, across from the
   button, instead of centred in a 24-character box. */
@media (min-width: 769px) {
  .single-post .art-cta { text-align: left; justify-content: space-between; align-items: center; }
  .single-post .art-cta h2 { margin: 0; max-width: 32ch; }
}

/* --- Contact page ---------------------------------------------------------
   The hero reads from the top: what to tell us, then what happens after you
   send it, beside the form, which stays in view as you scroll the steps. */
.ct-hero .inr { align-items: start; }
@media (min-width: 993px) { .ct-hero .inr { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); column-gap: clamp(2.5rem, 1rem + 4vw, 6rem); } }
.ct-hero .ct-say { padding-top: var(--sp-3); }
.ct-hero .ct-say small { display: block; border: 0; padding: 0; margin: 0 0 var(--sp-3); }
.ct-steps { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--rule-soft); }
.ct-steps .ct-steps-h { margin: 0 0 var(--sp-4); font-size: var(--t-small); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.ct-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.ct-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--sp-3); align-items: start; margin: 0; }
.ct-steps .n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--gold); border-radius: 50%; font-size: var(--t-small); font-weight: 700; color: var(--gold); }
.site-container .ct-steps h3 { margin: 0 0 4px; font-size: var(--t-h5); font-weight: 700; line-height: 1.3; color: #fff; }
.ct-steps p { margin: 0; max-width: 52ch; font-size: var(--t-body); line-height: 1.55; color: var(--muted); }
html[lang="zh-HK"] .ct-steps .ct-steps-h { letter-spacing: 0.02em; }

/* The form: a quieter card with dark fields, and a gold ring on the field in use. */
.ct-hero .abx-formbox { padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--ink-2); }
@media (min-width: 993px) { .ct-hero .abx-formbox { position: sticky; top: calc(var(--bar-h) + var(--sp-4)); } }
.site-container .ct-hero .abx-formbox .ninja-forms-field:not([type="submit"]):not([type="button"]) {
  background: var(--ink) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important; padding: 14px 16px !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.site-container .ct-hero .abx-formbox .ninja-forms-field:not([type="submit"]):focus {
  outline: none; border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(237, 200, 1, 0.18) !important;
}
.site-container .ct-hero .abx-formbox .nf-field-label label { color: #fff; font-weight: 700; }
.ct-hero .abx-formbox .nf-field-description { color: var(--muted); }

/* Other ways to reach us: three equal cards across. */
@media (min-width: 900px) {
  .abx-reach .ct-direct ul { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-4); }
}
.abx-reach .ct-direct li { padding: var(--sp-5); border: 1px solid var(--rule-soft); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); background: var(--ink); box-shadow: none; }
.site-container .ct-steps ol,
.site-container .ct-steps li { border: 0; padding: 0; background: none; }
.site-container .ct-steps li::before { content: none; }
/* The source line under the testimonials sat flush against the last card. */
.testimonials-page .g2-note { margin-top: var(--sp-5); }
/* The scorecard is centred on the whole text block, eyebrow to button, not on
   the rows above the button, and on wide screens it steps in from the column's
   right edge towards the text, so the two read as one composition. */
@media (min-width: 993px) {
  .bnr.services .pad.grd:has(.img) > .img.hero-score { grid-row: 1 / span 3; }
  .bnr.services .pad.grd:has(.img):has(> .txt > .abx-eyebrow) > .img.hero-score { grid-row: 1 / span 4; }
}
@media (min-width: 1200px) {
  .bnr .hero-score .g2-score { width: min(460px, 100%); transform: translateX(calc(-1 * clamp(24px, 5vw, 96px))); }
}

/* Text for screen readers only, anywhere on the site (the card links'
   "Read more: Charter Oak" reads "Read more" on screen). */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* A testimonial's optional topic (Creative quality, Responsiveness...), set
   like the resource cards' eyebrow. */
.tst .tst-topic { font-size: var(--t-small); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 var(--sp-2); font-weight: 700; }
.cjk .tst .tst-topic, :lang(zh) .tst .tst-topic { letter-spacing: 0.04em; }

/* A footer address without a map link reads like the linked ones. */
.site-container .ftr .addr .ad { display: inline-block; padding: 3px 0; color: #fff; font-size: 16px; line-height: 1.4; }

/* Home page feedback (October 2026). */

/* Who We Work With, centred like the sections around it. */
body.home .ab-split.hm-center > .wrap:first-child { display: block; max-width: 860px; margin-inline: auto; text-align: center; }
body.home .ab-split.hm-center .big { margin-inline: auto; }

/* The team on the home page: the heading block centred like the others. */
body.home .hm-team .abx-head { text-align: center; }
body.home .hm-team .abx-head h2 { font-weight: 700; }
body.home .hm-team .abx-eyebrow { color: var(--muted); }
body.home .hm-team .abx-lede { margin-inline: auto; }

/* The industries band, three across. Its rules are drawn by each cell (right
   and below, clipped at the band's edge) rather than by the band's background
   showing through the gaps, so a short last row leaves no grey block. */
@media (min-width: 1201px) {
  body.home .hm-band .hm-inds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.home .hm-band .hm-inds { gap: 2px; background: #110f0f; }
body.home .hm-band .hm-inds > li { box-shadow: 2px 0 0 #4a4642, 0 2px 0 #4a4642, 2px 2px 0 #4a4642; }

/* Client logos whose marks read heavier than the rest: half or 70% of the strip's height. */
.logos .lgs .mrq img.lg-50 { max-height: 25px !important; }
.logos .lgs .mrq img.lg-70 { max-height: 35px !important; }
@media screen and (max-width: 768px) {
  .logos .lgs .mrq img.lg-50 { max-height: 15px !important; min-height: 15px !important; }
  .logos .lgs .mrq img.lg-70 { max-height: 21px !important; min-height: 21px !important; }
}

/* Office headings set bold, like every other section heading. */
.ab-places h2 { font-weight: 700; }

/* The header has no language menu (the footer carries the language links):
   the logo and the menu, or on phones the logo and the menu button. */
@media (max-width: 1200px) {
  .site-container .tp-br .inr { grid-template-columns: 1fr 24px; }
}

/* The header lines up with the page under it: the same width and gutter as
   every section's container. */
.site-container .tp-br .inr { box-sizing: content-box; max-width: var(--maxw) !important; margin-inline: auto; padding-inline: var(--gutter); } /* !important: styles.css pins .home .inr at 1800px */

/* On desktops the logo has a column of its own, the rail, as on the old
   mwi.com: the menu and every section start to the right of it, and the
   narrower centred columns (FAQs, the fold) centre on the page column. The
   bar is as wide as a section with the rail added, so the two line up at
   every width. */
@media (min-width: 1201px) {
  :root { --rail: clamp(10rem, 4rem + 7vw, 13rem); }
  .site-container .tp-br .inr { max-width: calc(var(--maxw) + var(--rail)) !important; grid-template-columns: var(--rail) minmax(0, 1fr); }
  .site-container .tp-br .inr > .mn-menu { margin-left: 0; margin-right: 0; }
  .site-container section > .inr,
  .site-container section.logos > .pad,
  .site-container section.ab-split > .wrap,
  .site-container section.abx-sec > .abx-inr,
  .site-container header.bnr > .pad,
  .site-container header.bnr > .wrap,
  .site-container header.ab-hero > .wrap,
  .site-container nav.crumbs > .inr,
  .site-container nav.ind-jump > .inr,
  .author-page .site-container .site-inner > .wrap,
  .site-container .site-inner > .cat-nav,
  .site-container .cs-wrap,
  .blog-archive .site-container .site-inner > .content-sidebar-wrap,
  .single-post .site-container .site-inner > .content-sidebar-wrap,
  .site-container footer.ftr > .inr { padding-left: calc(var(--gutter) + var(--rail)) !important; }
  .site-container footer.ftr > .inr { max-width: var(--maxw) !important; }
}
body.home .ab-split.hm-center .big { margin-top: var(--sp-3); }

/* The team's "Meet the team" button: the same gap above it as every other
   section's button. */
body.home .hm-team .abx-act { margin-top: var(--sp-5); }

/* ---- The home pages' vertical rhythm (all three sites) -------------------
   One spacing system, so every section and every element in it sits the same
   distance from its neighbours:
   - between any two sections, whatever their backgrounds, one --sec-y: each
     section keeps half of it above and below its content, so two neighbours
     always sit one --sec-y apart, and content inside a coloured band sits
     half of it from the band's edge;
   - inside a section: eyebrow to heading and heading to intro --sp-3; the
     heading block to what follows it, and that to the section's button, --sp-5. */
body.home .ab-hero { padding-bottom: calc(var(--sec-y) / 2); }
body.home main > section { padding-top: calc(var(--sec-y) / 2) !important; padding-bottom: calc(var(--sec-y) / 2) !important; }
body.home main > section :is(.eyebrow, .abx-eyebrow) { margin-top: 0 !important; margin-bottom: var(--sp-3) !important; }
body.home main > section > .inr > .txt { margin-bottom: var(--sp-5); }
body.home main > section > .inr > .txt > .lede { margin-bottom: 0; }
body.home .ab-split .side h2 { margin-bottom: 0; }
body.home .ab-split .body > :first-child { margin-top: var(--sp-3); }
body.home .ab-split .body > p + p { margin-top: var(--sp-3); }
body.home .ab-split .hm-band { margin-top: var(--sp-5); }
body.home .ab-split .hm-band .hm-more { margin-top: var(--sp-5); }
body.home .ab-cta h2 { margin-bottom: var(--sp-3); }
body.home main > :is(.accordions, .collapsible) > .inr > .ttl { margin-bottom: var(--sp-5); }

/* An article card's picture meets the white panel under it in a straight
   line: only its top corners are rounded, with the card's own. */
.posts .post .featured-image, .posts .post .featured-image img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---- Team portraits: a quiet frame holds the space while a photo loads ---- */
.abx-person img { background-color: rgba(128, 128, 128, .14); }
/* The name sits clear of the photo and close to the role it goes with. */
.abx-people .abx-person h3 { margin-top: var(--sp-3); line-height: 1.2; }
.abx-people .abx-person .abx-role { margin-top: 4px; }

/* ---- No line ends on one or two words: headings balance their lines, text avoids a short last line ---- */
.site-container :is(h1, h2, h3, h4) { text-wrap: balance; }
.site-container :is(p, li, dd, figcaption, blockquote) { text-wrap: pretty; }
.site-container :is(.txt, .abx-head, .sec-head) > p { text-wrap: balance; }

/* ---- Hero headlines: the full width once there's no picture beside them, so they fit on two lines ---- */
.bnr .pad.grd:not(:has(.img)) .txt, .bnr .inr.grd:not(:has(.img)) .txt { max-width: none; }
@media (min-width: 993px) {
  body.home .ab-hero > .wrap:not(:has(.img)) { grid-template-columns: minmax(0, 1fr); }
  body.home .ab-hero > .wrap:not(:has(.img)) .lede { max-width: 60ch; }
}
body.home main > section.ab-split.bordered .hm-actions { margin-top: var(--sp-5); }
@media (min-width: 1201px) {
  .bnr h1.fit { font-size: clamp(60px, 5.2vw, 96px) !important; }
}

/* ---- The closing call to action lines up with the menu: text from its left edge, button at its right ---- */
body.home .site-container section.ab-cta > .wrap { padding-left: 0; padding-right: 0; }
@media (min-width: 1201px) {
  body.home .site-container section.ab-cta > .wrap { padding-left: var(--rail); }
}

/* ---- Footer call to action as a button ---- */
.site-container .ftr .head .talk.btn { border-bottom: 0; text-decoration: none; justify-self: end; align-self: center; }
@media (max-width: 768px) { .site-container .ftr .head .talk.btn { justify-self: start; } }

/* ---- "Read more" under The Details is a button ---- */
.site-container .collapsible .toggle { list-style: none; margin-top: var(--sp-4); }
.site-container .collapsible .toggle::-webkit-details-marker { display: none; }
.site-container .collapsible .toggle .toggle-link.btn { border-bottom: 0; text-decoration: none; text-transform: none; letter-spacing: normal; cursor: pointer; }

/* ---- Article cards: the picture without its MWI masthead (cropped off the top), the excerpt, then a button ---- */
.posts .post .post-link { display: flex; flex-direction: column; height: 100%; }
.posts .post .featured-image { aspect-ratio: 1200 / 440; overflow: hidden; }
.posts .post .featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 90%; }
.posts .post .post-content { display: flex; flex-direction: column; flex: 1; }
.posts .post .post-excerpt { margin-bottom: var(--sp-4); }
.posts .post .post-content .btn { margin-top: auto; align-self: flex-start; }
.posts .post .post-link:hover .btn { background: #110f0f; color: var(--gold); }

/* ---- Article header: no picture, so one column; the byline joins the facts row across the full width ---- */
.single-post .content .entry-header.art-lede { grid-template-columns: minmax(0, 1fr); }
.single-post .content .entry-header.art-lede > .facts { grid-column: 1 / -1; grid-row: auto; margin-top: var(--sp-4); }
.single-post .art-lede .fact.by .byl { display: flex; align-items: center; gap: 12px; }
.single-post .art-lede .fact.by .byl img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.single-post .art-lede .fact.by .nm { display: block; color: #fff; font-weight: 700; font-size: var(--t-small); text-decoration: none; }
.single-post .art-lede .fact.by .nm:hover { color: var(--gold); }
.single-post .art-lede .fact.by .rl { display: block; color: var(--gold); font-size: var(--t-small); }
.art-related.posts .grd { margin-top: var(--sp-4); }

/* ---- Case study cards on an industry page: the button sits a content gap below, centered like the home page ---- */
body.page .hm-work .hm-actions { margin-top: var(--sp-5); display: flex; justify-content: center; }

/* ---- Touch targets on phones: footer links and phone/email links get a taller hit area without moving anything ---- */
@media (max-width: 992px) {
  .site-container .ftr .cols ul a,
  .site-container .ftr .cols .lbl a { display: inline-block; padding-block: 6px; margin-block: -6px; }
  .site-container main a[href^="tel:"],
  .site-container main a[href^="mailto:"] { padding-block: 9px; }
}

/* ---- Contact page on phones and tablets: the form comes straight after the intro, the "what happens next" steps after it ---- */
@media (max-width: 992px) {
  .ct-hero > .inr { display: flex; flex-direction: column; row-gap: 0; }
  .ct-hero .ct-say { display: contents; }
  .ct-hero .ct-direct { order: 1; margin-top: var(--sp-5); }
  .ct-hero .ct-steps { order: 2; margin-top: var(--sp-5); }
}
@media (max-width: 992px) {
  /* In the column the intro's margins no longer overlap, so only the bottom ones count. */
  .ct-hero .ct-say > :is(small, h1, p) { margin-top: 0; }
}
