
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--base: #FAFAF8;--wp--preset--color--contrast: #1B1464;--wp--preset--color--accent-1: #161690;--wp--preset--color--accent-2: #f01942;--wp--preset--color--accent-3: #0B0828;--wp--preset--color--accent-4: #000000;--wp--preset--color--accent-5: #ffffff;--wp--preset--color--accent-6: #F2F2EE;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 0.875rem;--wp--preset--font-size--medium: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.185), 1.125rem);--wp--preset--font-size--large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.37), 1.375rem);--wp--preset--font-size--x-large: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.37), 2rem);--wp--preset--font-size--xx-large: clamp(2.15rem, 2.15rem + ((1vw - 0.2rem) * 1.259), 3rem);--wp--preset--font-family--manrope: Manrope, sans-serif;--wp--preset--font-family--fira-code: "Fira Code", monospace;--wp--preset--font-family--source-serif-4: "Source Serif 4", Georgia, serif;--wp--preset--font-family--source-sans-3: "Source Sans 3", -apple-system, sans-serif;--wp--preset--font-family--inter: Inter, sans-serif;--wp--preset--spacing--20: 10px;--wp--preset--spacing--30: 20px;--wp--preset--spacing--40: 30px;--wp--preset--spacing--50: clamp(30px, 5vw, 50px);--wp--preset--spacing--60: clamp(30px, 7vw, 70px);--wp--preset--spacing--70: clamp(50px, 7vw, 90px);--wp--preset--spacing--80: clamp(70px, 10vw, 140px);--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:root { --wp--style--global--content-size: 1200px;--wp--style--global--wide-size: 1400px; }:where(body) { margin: 0; }.wp-site-blocks { padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom); }.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 1.2rem; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; }:root { --wp--style--block-gap: 1.2rem; }:root :where(.is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.is-layout-flow) > *{margin-block-start: 1.2rem;margin-block-end: 0;}:root :where(.is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.is-layout-constrained) > *{margin-block-start: 1.2rem;margin-block-end: 0;}:root :where(.is-layout-flex){gap: 1.2rem;}:root :where(.is-layout-grid){gap: 1.2rem;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{background-color: var(--wp--preset--color--base);color: #333333;font-family: var(--wp--preset--font-family--source-sans-3);font-size: var(--wp--preset--font-size--large);font-style: normal;font-weight: 400;letter-spacing: -0.1px;line-height: 1.4;--wp--style--root--padding-top: 0px;--wp--style--root--padding-right: var(--wp--preset--spacing--50);--wp--style--root--padding-bottom: 0px;--wp--style--root--padding-left: var(--wp--preset--spacing--50);}a:where(:not(.wp-element-button)){color: currentColor;font-family: var(--wp--preset--font-family--source-sans-3);}:root :where(a:where(:not(.wp-element-button)):hover){text-decoration: none;}h1, h2, h3, h4, h5, h6{font-family: var(--wp--preset--font-family--source-serif-4);font-style: normal;font-weight: 700;letter-spacing: -0.1px;line-height: 1.125;}h1{font-size: var(--wp--preset--font-size--xx-large);}h2{font-size: var(--wp--preset--font-size--x-large);}h3{font-size: var(--wp--preset--font-size--large);}h4{font-size: var(--wp--preset--font-size--medium);}h5{font-size: var(--wp--preset--font-size--small);letter-spacing: 0.5px;}h6{font-size: var(--wp--preset--font-size--small);font-weight: 700;letter-spacing: 1.4px;text-transform: uppercase;}:root :where(.wp-element-button, .wp-block-button__link){background-color: var(--wp--preset--color--contrast);border-width: 0;color: var(--wp--preset--color--base);font-family: inherit;font-size: var(--wp--preset--font-size--medium);font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: 1rem;padding-right: 2.25rem;padding-bottom: 1rem;padding-left: 2.25rem;text-decoration: none;text-transform: inherit;}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent);border-color: transparent;color: var(--wp--preset--color--base);}:root :where(.wp-element-button:focus, .wp-block-button__link:focus){outline-color: var(--wp--preset--color--accent-4);outline-offset: 2px;}:root :where(.wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption){font-size: var(--wp--preset--font-size--small);line-height: 1.4;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-base-color{color: var(--wp--preset--color--base) !important;}.has-contrast-color{color: var(--wp--preset--color--contrast) !important;}.has-accent-1-color{color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-color{color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-color{color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-color{color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-color{color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-color{color: var(--wp--preset--color--accent-6) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-base-background-color{background-color: var(--wp--preset--color--base) !important;}.has-contrast-background-color{background-color: var(--wp--preset--color--contrast) !important;}.has-accent-1-background-color{background-color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-background-color{background-color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-background-color{background-color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-background-color{background-color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-background-color{background-color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-background-color{background-color: var(--wp--preset--color--accent-6) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-base-border-color{border-color: var(--wp--preset--color--base) !important;}.has-contrast-border-color{border-color: var(--wp--preset--color--contrast) !important;}.has-accent-1-border-color{border-color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-border-color{border-color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-border-color{border-color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-border-color{border-color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-border-color{border-color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-border-color{border-color: var(--wp--preset--color--accent-6) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-xx-large-font-size{font-size: var(--wp--preset--font-size--xx-large) !important;}.has-manrope-font-family{font-family: var(--wp--preset--font-family--manrope) !important;}.has-fira-code-font-family{font-family: var(--wp--preset--font-family--fira-code) !important;}.has-source-serif-4-font-family{font-family: var(--wp--preset--font-family--source-serif-4) !important;}.has-source-sans-3-font-family{font-family: var(--wp--preset--font-family--source-sans-3) !important;}.has-inter-font-family{font-family: var(--wp--preset--font-family--inter) !important;}
/* Fonts are no longer loaded here. Source Serif 4 and Source Sans 3 are
   registered as real font families in Global Styles (post 8) and served as
   @font-face from the jsDelivr @fontsource CDN. Verified 19 Aug 2026: every
   font request on the live page goes to jsDelivr, none to Google. The old
   @import was a chained round trip and is gone. Do not reinstate it. */

/* ============================================================================
   KLUG — SITE STYLESHEET
   Rebuilt 18 Aug 2026. Replaces ~828 lines of accumulated patches.

   STRUCTURE
   1.  Design tokens
   2.  Typography & buttons
   3.  Header & desktop navigation
   4.  Mobile navigation overlay
   5.  Announcement banner (.klug-ab)
   6.  Promotional banner (.klug-promo-*)
   7.  Cover blocks / service cards
   8.  Global mobile padding
   9.  Testimonials
   10. Page-specific overrides
   11. Dark cover text contrast

   CONVENTIONS
   - Brand values live in tokens (section 1). Change them there, not inline.
   - !important is used only where it must beat WordPress core block styles
     or the GoDaddy DesignSetGo builder.
   - Page-ID selectors are labelled with the page they target. WordPress does
     not emit slug classes for pages, so IDs remain the only stable hook.
============================================================================ */


/* ============================================================================
   1. DESIGN TOKENS
============================================================================ */

:root {
  /* Brand palette — previously four near-identical navies were in use
     (#1B1464, #1a1a5e, #1a1a6e, #191970). Unified to one. */
  --klug-navy:        #1B1464;
  --klug-red:         #F01942;
  --klug-gold:        #E8C84A;
  --klug-white:       #ffffff;
  --klug-grey-100:    #f0f0f0;

  /* Alpha values on navy/white, for shadows and overlays */
  --klug-navy-a18:    rgba(27, 20, 100, 0.18);
  --klug-navy-a22:    rgba(27, 20, 100, 0.22);
  --klug-white-a06:   rgba(255, 255, 255, 0.06);
  --klug-white-a12:   rgba(255, 255, 255, 0.12);
  --klug-white-a30:   rgba(255, 255, 255, 0.30);
  --klug-white-a40:   rgba(255, 255, 255, 0.40);

  /* Spacing */
  --klug-gutter-mobile: 20px;

  /* Type */
  --klug-line-height-body: 1.8;

  /* Motion */
  --klug-transition-fast: 0.2s ease;
  --klug-transition-base: 0.3s ease;

  /* Elevation */
  --klug-shadow-card:  0 8px 30px rgba(0, 0, 0, 0.12);
  --klug-shadow-btn:   0 6px 20px var(--klug-navy-a22);
  --klug-shadow-photo: 0 8px 32px var(--klug-navy-a18);

  /* Text shadow used for white type over photography */
  --klug-text-shadow-on-image: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* ============================================================================
   2. TYPOGRAPHY & BUTTONS
============================================================================ */

.entry-content p,
.wp-block-group p {
  line-height: var(--klug-line-height-body);
}

.wp-block-button__link {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--klug-shadow-btn);
}

/* Headings inside cards must not break mid-word. WordPress core sets
   word-break: break-word on columns and cover blocks, which hyphenates
   service card titles awkwardly on narrow screens. */
.wp-block-column h2,
.wp-block-column h3,
.wp-block-column h4,
.wp-block-column .wp-block-heading,
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3,
.wp-block-cover .wp-block-cover__inner-container h4,
.wp-block-cover .wp-block-cover__inner-container .wp-block-heading {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

/* Tighten the gap between a leadership name and the title beneath it */
.wp-block-columns .wp-block-column h3 {
  margin-top: 0;
  margin-bottom: 4px;
}


/* ============================================================================
   3. HEADER & DESKTOP NAVIGATION
============================================================================ */

/* Compact nav links so the full menu fits on one line alongside the CTA */
.wp-block-navigation .wp-block-navigation-item a {
  font-size: 0.88rem;
  padding: 0.3rem 0.5rem;
}

/* The header CTA button must not shrink or wrap */
header .wp-block-buttons,
.wp-block-template-part .wp-block-buttons {
  flex-shrink: 0;
}

header .wp-block-button__link,
.wp-block-template-part .wp-block-button__link {
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Header must stack above the announcement banner so dropdowns are not
   clipped by it. Banner z-index is set in section 5. */
header,
header.wp-block-group,
header.wp-block-group.alignfull,
.wp-block-template-part,
.wp-block-template-part > header {
  position: relative;
  z-index: 100;
}


/* ============================================================================
   4. MOBILE NAVIGATION OVERLAY
   Single breakpoint at 781px (WordPress's mobile boundary).
   The previous stylesheet split these rules across 781px and 768px blocks,
   so screens 769–781px wide got a different menu to phones. Now consistent.

   NOTE: the submenu open/close behaviour depends on JavaScript adding a
   .submenu-open class (defined elsewhere, likely Code Snippets).
   Do not rename .submenu-open.
============================================================================ */

@media (max-width: 781px) {

  /* --- Hamburger open button: custom three-bar icon --- */
  .wp-block-navigation__responsive-container-open,
  button.wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--klug-white-a40);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background var(--klug-transition-fast),
                border-color var(--klug-transition-fast),
                transform var(--klug-transition-fast);
  }

  .wp-block-navigation__responsive-container-open:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.06);
  }

  /* Replace the core SVG with three CSS bars */
  .wp-block-navigation__responsive-container-open svg {
    display: none;
  }

  .wp-block-navigation__responsive-container-open::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 13px;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--klug-white);
    box-shadow: 0 6px 0 var(--klug-white), 0 12px 0 var(--klug-white);
  }

  /* --- Open overlay --- */
  .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--klug-navy) !important;
    color: var(--klug-white);
    padding: 60px 30px 40px !important;
  }

  /* --- Close button: fixed top-right, always visible --- */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10000;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--klug-white);
    cursor: pointer;
    transition: transform 0.25s ease;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close:hover {
    transform: rotate(90deg) scale(1.06);
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close svg {
    width: 28px;
    height: 28px;
    fill: var(--klug-white);
    stroke: var(--klug-white);
  }

  /* --- Menu list --- */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content,
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0 !important;
    width: 100%;
    padding-top: 0;
  }

  /* Top-level items */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container > .wp-block-navigation-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    text-align: center;
    border-bottom: 1px solid var(--klug-white-a12);
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
    display: inline;
    color: var(--klug-white) !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color var(--klug-transition-fast);
  }

  .wp-block-navigation__responsive-container.is-menu-open a:hover {
    color: var(--klug-gold) !important;
  }

  /* --- Submenu toggle (tappable arrow) --- */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-submenu__toggle,
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-icon {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    vertical-align: middle;
    border: 1px solid var(--klug-white-a30);
    border-radius: 4px;
    background: transparent;
    color: var(--klug-white);
    cursor: pointer;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-submenu__toggle svg,
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-icon svg {
    width: 10px;
    height: 10px;
    fill: var(--klug-white);
    transition: transform var(--klug-transition-base);
  }

  /* --- Submenu: closed by default, opened by the .submenu-open JS class --- */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container {
    display: none !important;
    flex-direction: column;
    position: static !important;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    background: var(--klug-white-a06);
    border: none;
    box-shadow: none;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item.has-child.submenu-open > .wp-block-navigation__submenu-container {
    display: flex !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item.has-child.submenu-open .wp-block-navigation-submenu__toggle svg,
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item.has-child.submenu-open .wp-block-navigation__submenu-icon svg {
    transform: rotate(180deg);
  }

  /* Submenu items */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container > .wp-block-navigation-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid var(--klug-white-a06);
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 0.95rem;
    opacity: 0.85;
  }
}


/* ============================================================================
   5. ANNOUNCEMENT BANNER (.klug-ab)
   Full-bleed scrolling ticker. Markup is injected outside this stylesheet.
   Previously defined three times with two competing animations; the 50s
   GPU-composited version was the one actually winning, so that is what
   remains here.
============================================================================ */

.klug-ab {
  position: relative;
  left: 0;
  z-index: 5;
  width: 100vw;
  max-width: 100vw;
  /* Break out of the theme's constrained content container */
  margin-left: calc(-1 * var(--wp--style--root--padding-left));
  margin-right: calc(-1 * var(--wp--style--root--padding-right));
  overflow: hidden;
  /* Promote to its own GPU layer: prevents sub-pixel blur while scrolling */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.klug-ab .klug-ab-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: klug-ab-scroll 50s linear infinite;
}

.klug-ab .klug-ab-track,
.klug-ab .klug-ab-track * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Enters at the right edge, exits fully past the left edge */
@keyframes klug-ab-scroll {
  0%   { transform: translate3d(100vw, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .klug-ab .klug-ab-track {
    animation: none;
    transform: none;
  }
}


/* ============================================================================
   6. PROMOTIONAL BANNER (.klug-promo-*)
============================================================================ */

.klug-promo-banner {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.klug-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}

.klug-promo-text {
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

.klug-promo-sep {
  display: inline-block;
  margin: 0 14px;
  font-weight: 300;
  opacity: 0.4;
}

.klug-promo-cta {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 3px;
  background: var(--klug-white);
  color: var(--klug-navy) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background var(--klug-transition-fast), transform var(--klug-transition-fast);
}

.klug-promo-cta:hover {
  background: var(--klug-red);
  color: var(--klug-white) !important;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .klug-promo-banner { font-size: 0.82rem; }
  .klug-promo-inner  { flex-direction: column; gap: 10px; text-align: center; }
  .klug-promo-sep    { display: none; }
}


/* ============================================================================
   7. COVER BLOCKS / SERVICE CARDS
   White type over photography. Core sets heading links to the theme link
   colour (dark navy), which is unreadable on a dark image — hence the
   overrides below. See also section 11.
============================================================================ */

.wp-block-cover h1 a,
.wp-block-cover h2 a,
.wp-block-cover h3 a,
.wp-block-cover h3 a:visited {
  color: var(--klug-white) !important;
  text-decoration: none !important;
  text-shadow: var(--klug-text-shadow-on-image);
}

.wp-block-cover h2 a:hover,
.wp-block-cover h3 a:hover {
  color: #f0f0f0 !important;
  text-decoration: underline !important;
}

.wp-block-cover .wp-block-cover__inner-container p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Deepen the overlay on light-classed covers so white text stays legible */
.wp-block-cover.is-light .wp-block-cover__background,
.wp-block-cover.is-light::before {
  opacity: 0.55 !important;
  transition: opacity var(--klug-transition-base);
}

.wp-block-cover.is-light:hover .wp-block-cover__background,
.wp-block-cover.is-light:hover::before {
  opacity: 0.65 !important;
}

@media (max-width: 781px) {
  .wp-block-cover.is-light .wp-block-cover__background,
  .wp-block-cover.is-light::before {
    opacity: 0.6 !important;
  }

  .wp-block-cover .wp-block-cover__inner-container h3 a {
    font-size: 1.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
  }

  .wp-block-cover .wp-block-cover__inner-container .wp-block-heading,
  .wp-block-cover .wp-block-cover__inner-container h3,
  .wp-block-cover .wp-block-cover__inner-container h4 {
    font-size: 1.1rem;
    line-height: 1.35;
  }
}

/* Homepage service headings sit on a light background, not an image,
   so they take brand navy rather than white. */
.home .wp-block-column h3 a,
.home .wp-block-group h3 a {
  color: var(--klug-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.home .wp-block-column h3 a:hover {
  color: var(--klug-red) !important;
  text-decoration: underline !important;
}


/* ============================================================================
   8. GLOBAL MOBILE PADDING
   Twenty Twenty-Five only applies global padding to blocks carrying
   .has-global-padding. Full-width groups without it run edge-to-edge on
   phones, which reads as broken. This restores a consistent side gutter.
============================================================================ */

@media (max-width: 781px) {

  .wp-block-group.alignfull:not(.has-global-padding),
  .wp-block-group.alignwide:not(.has-global-padding) {
    padding-left: var(--klug-gutter-mobile) !important;
    padding-right: var(--klug-gutter-mobile) !important;
    box-sizing: border-box;
  }

  .entry-content > .wp-block-heading,
  .entry-content > .wp-block-paragraph,
  .entry-content > .wp-block-list,
  .entry-content > .wp-block-columns:not(.alignfull):not(.alignwide) {
    padding-left: var(--klug-gutter-mobile) !important;
    padding-right: var(--klug-gutter-mobile) !important;
    box-sizing: border-box;
  }

  /* Children of an already-padded group must not double up */
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-heading,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-paragraph,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-columns,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Cover backgrounds stay full-bleed; only their inner text is inset */
  .wp-block-cover.alignfull,
  .wp-block-cover.alignwide {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wp-block-cover .wp-block-cover__inner-container {
    padding-left: var(--klug-gutter-mobile) !important;
    padding-right: var(--klug-gutter-mobile) !important;
    box-sizing: border-box;
  }
}


/* ============================================================================
   9. TESTIMONIALS (.testimonial-cards)
   Equal-height cards with the avatar pinned to the bottom.
============================================================================ */

.testimonial-cards .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* The spacer absorbs slack so avatars align across cards of differing length */
.testimonial-cards .wp-block-spacer {
  flex-grow: 1;
}

.testimonial-cards .wp-block-image {
  flex-shrink: 0;
  width: 50px !important;
  min-width: 50px;
  max-width: 50px;
}

.testimonial-cards .wp-block-image img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}


/* ============================================================================
   10. PAGE-SPECIFIC OVERRIDES
   Each block names the page it targets. WordPress emits page-id-* on <body>
   but no slug class, so IDs are the only stable hook available.
============================================================================ */

/* --- Blog index (page 89) ------------------------------------------------ */
/* The horizontal snap-scrolling carousel that used to live here has been
   removed. It forced .wp-block-post-template to display:flex with 350px fixed
   items and overflow-x:auto, which silently overrode the Query Loop grid in
   section 26 - twelve posts rendered as one sideways-scrolling row. The
   Insights index is now a normal grid; see section 26. */


/* --- Case Studies (page 175) --------------------------------------------- */

.page-id-175 h2 {
  padding-left: 1rem;
  border-left: 4px solid var(--klug-red);
}

.page-id-175 .wp-block-list li {
  margin-bottom: 0.5rem;
}

.page-id-175 .wp-block-image img {
  border-radius: 8px;
  transition: transform var(--klug-transition-base);
}

.page-id-175 .wp-block-image img:hover {
  transform: scale(1.02);
}

/* Uniform 16:9 crop so case study images line up regardless of source ratio */
.page-id-175 .wp-block-image.size-large figure,
.page-id-175 figure.wp-block-image.size-large {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.page-id-175 .wp-block-image.size-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --- About Us (page 187) — leadership section ---------------------------- */
/* Text left, portrait right, natural aspect ratio (not cropped square). */

.page-id-187 .klug-leader-photo,
.page-id-187 .klug-leader-col,
.page-id-187 .wp-block-column:last-child:has(.klug-leader-photo) {
  flex: 0 0 30%;
  width: auto;
  max-width: none;
  align-self: flex-start;
}

.page-id-187 .klug-leader-photo img,
.page-id-187 .klug-leader-col .wp-block-image img,
.page-id-187 .wp-block-column:last-child .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

.page-id-187 .wp-block-group p,
.page-id-187 .wp-block-column p {
  text-align: left;
}

.page-id-187 .wp-block-columns.are-vertically-aligned-top {
  align-items: flex-start;
}

@media (max-width: 599px) {
  .page-id-187 .klug-leader-photo {
    margin: 1.5rem auto 0;
  }
}

/* Circular headshots (Twenty Twenty-Five "rounded" image style) */
.wp-block-image.is-style-rounded img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--klug-navy);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--klug-shadow-photo);
}

@media (max-width: 599px) {
  .wp-block-columns:has(.is-style-rounded) {
    flex-direction: column;
    align-items: center;
  }

  .wp-block-columns:has(.is-style-rounded) .wp-block-column:first-child {
    display: flex;
    justify-content: center;
    flex-basis: auto;
    width: 100%;
    margin-bottom: 24px;
  }

  .wp-block-columns:has(.is-style-rounded) .wp-block-column:last-child {
    flex-basis: auto;
    width: 100%;
    text-align: left;
  }
}


/* --- Contact Us (page 153) — form layout --------------------------------- */
/* NOTE: these rules previously targeted .page-id-196 (Asset Management) under
   a comment reading "Contact page form spacing", so the contact form never
   received them and Asset Management picked up a width constraint it did not
   want. Corrected to 153. */

/* NOTE (18 Aug 2026): this previously read `.page-id-153 .wp-block-group`,
   which caught EVERY group on the contact page - including the new section
   heads and tiles - and shrink-wrapped them to 640px centred. Now scoped to
   the form itself, which is the only thing that wanted a narrow measure. */

body.page-id-153 .wp-block-jetpack-contact-form,
body.page-id-153 .wpforms-container {
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
}

body.page-id-153 .wp-block-jetpack-contact-form .wp-block-jetpack-field,
body.page-id-153 .wpforms-field {
  margin-bottom: 1.25rem;
}

body.page-id-153 .wp-block-jetpack-contact-form .wp-block-jetpack-field input,
body.page-id-153 .wp-block-jetpack-contact-form .wp-block-jetpack-field textarea {
  padding: 0.75rem 1rem;
}

body.page-id-153 .wp-block-jetpack-contact-form .wp-block-jetpack-button {
  margin-top: 1rem;
}


/* --- Asset Management (page 196) ----------------------------------------- */
/* Releases the 640px container the GoDaddy AI builder left on this page. */

.page-id-196 .wp-block-group,
.page-id-196 .wp-block-columns,
.page-id-196 .wpforms-container {
  max-width: none !important;
}


/* ============================================================================
   11. DARK COVER TEXT CONTRAST  (added 18 Aug 2026, after visual QA)
   The GoDaddy "DesignSetGo" builder injects a high-specificity !important
   rule setting cover text to var(--dsgo-text-color), which resolves to #333
   or brand navy. On covers WordPress has classed as dark (no .is-light) that
   left headings and body copy nearly invisible against the overlay —
   confirmed on Strategic Advisory, Transactions, Finance and PropTech.

   Rather than fight the builder with ever-heavier overrides, we set its own
   variable to white inside dark covers. The variable is redeclared on every
   descendant because the builder sets it on intermediate .has-background
   wrappers, which would otherwise win by proximity.
============================================================================ */

.wp-block-cover:not(.is-light) .wp-block-cover__inner-container,
.wp-block-cover:not(.is-light) .wp-block-cover__inner-container * {
  --dsgo-text-color: #ffffff !important;
}

/* Outline buttons have a transparent background, so on a dark cover their
   text and border must be light. Solid-fill buttons are left alone. */
.wp-block-cover:not(.is-light) .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--klug-white) !important;
  border-color: var(--klug-white) !important;
}

/* ============================================================================
   12. TYPOGRAPHIC SYSTEM & COMPOSITION  (added 18 Aug 2026)

   Audit of the live homepage found the scale had collapsed:
     H1 48 / H2 32 / H3 22 / body 22  -> H3 and body were identical, so the
     third level of hierarchy did no work. Body ran at weight 300, dropping to
     11-14px at weight 300 inside the navy panel, which was hard to read.
     Only two body sizes existed (22 and 14) with nothing in between.

   This section establishes a proper scale, restores a readable body weight,
   and fixes two composition problems: short left-hand columns leaving large
   dead space beside long right-hand lists, and the closing call-to-action
   being set at sub-heading size.
============================================================================ */

/* --- Scale ---------------------------------------------------------------- */

h1,
.wp-block-post-title {
  font-size: clamp(2.75rem, 4.6vw, 3.5rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.022em !important;
  font-weight: 600 !important;
}

h2 {
  font-size: clamp(1.9rem, 2.9vw, 2.4rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.016em !important;
  font-weight: 600 !important;
}

/* H3 previously matched body size exactly; now separated by size and weight */
h3 {
  font-size: 1.3125rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.008em !important;
  font-weight: 700 !important;
}

h4 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
}

/* --- Body ----------------------------------------------------------------- */
/* 19px at weight 400. Was 22px at weight 300 - larger but frailer, and it
   forced short columns to run out of content early. */

.entry-content p,
.wp-block-group p,
.wp-block-column > p {
  font-size: 1.1875rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

li,
a {
  font-weight: 400;
}

/* Supporting copy under a card heading: smaller, but never frail */
.wp-block-column h4 + p,
.wp-block-cover h4 + p {
  font-size: 0.9375rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  opacity: 0.92;
}

/* --- Composition: sticky intro column ------------------------------------- */
/* On the "what we do / what we deliver" sections the left column holds a
   heading and two sentences while the right column runs several hundred
   pixels longer, leaving dead space. Pinning the left column keeps the
   section framing in view while the list scrolls past.
   Scoped to the pages that use this pattern rather than applied globally. */

/* Removed 2 Nov 2026: this sticky first-column rule now only matched klug-grid tile grids and the footer, so the first tile slid over the tiles below it while scrolling (782px and up). */

/* --- Composition: closing call-to-action ---------------------------------- */
/* The closing band's heading was an H3, i.e. the same size as a card title,
   with the button stranded across an empty gap. It is the conversion moment
   and should read as a section. */

.wp-block-group.is-content-justification-space-between > .wp-block-group h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.014em !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

.wp-block-group.is-content-justification-space-between > .wp-block-group p {
  font-size: 1.0625rem !important;
  opacity: 0.8;
}

/* --- Footer social icons -------------------------------------------------- */
/* Were rendering in each platform's own brand colour (Facebook blue, YouTube
   red and so on), which clashed with the navy/red palette. */

.wp-block-social-links .wp-social-link {
  background-color: transparent !important;
}

.wp-block-social-links .wp-social-link a {
  color: var(--klug-navy) !important;
}

.wp-block-social-links svg {
  fill: var(--klug-navy) !important;
}

/* ============================================================================
   13. KLUG TYPE SYSTEM  (revised 18 Aug 2026)

     Source Serif 4  — page titles and section headings (h1, h2)
     Source Sans 3   — body, headings h3-h6, navigation, buttons, tables

   WHY THIS CHANGED. The site briefly ran Playfair Display + Archivo Narrow,
   taken from the report generator. On screen they fight: Playfair is a wide,
   high-contrast didone; Archivo Narrow is a condensed, flat grotesque. They
   disagree on both width and stroke contrast. In a printed report that never
   shows, because Playfair appears once on a cover and Archivo Narrow does the
   table work pages later — they rarely touch. On a web page a serif heading
   sits directly above sans body copy on every screen, so the mismatch reads
   constantly.

   Source Serif 4 and Source Sans 3 are a designed superfamily: shared
   skeletons, matched x-heights, matched weights. They cannot clash. Both
   carry true tabular figures, which matters because Klug's documents argue
   through tables. Both ship as TTFs, so the same system works in the Word and
   PDF report generator as on the site.

   Loaded via the @import at the top of this stylesheet. NOTE: @import is
   render-blocking; if page speed becomes a concern, move font loading to a
   <link rel="preconnect"> + <link> pair enqueued from Code Snippets and
   delete the @import.
============================================================================ */

body,
.entry-content p,
.wp-block-group p,
.wp-block-column > p,
li {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
}

/* Display face — page titles only */
h1,
.wp-block-post-title {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(2.9rem, 5vw, 4rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.01em !important;
}

h2 {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-weight: 600 !important;
  font-size: clamp(2rem, 3.1vw, 2.6rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.005em !important;
}

/* Structural headings and UI take the sans */
h3,
h4,
h5,
h6,
.wp-block-navigation a,
.wp-block-button__link {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
}

.entry-content p,
.wp-block-group p,
.wp-block-column > p {
  font-size: 1.1875rem !important;
  line-height: 1.7 !important;
}

/* --- Report-system devices, available for use in content ------------------ */

/* Uppercase eyebrow label, as used above section headings in the reports */
.klug-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--klug-navy);
}

/* Navy hairline divider under a title block */
.klug-rule {
  border: 0;
  border-bottom: 3px solid #161690;
  margin: 1rem 0 2rem;
  max-width: 120px;
}

/* Bold run-in lead-in — a signature Klug prose device */
.klug-leadin { font-weight: 700; }

/* RAG status chips, matching the report matrices */
.klug-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}
.klug-status--green { background: #4A7C59; }
.klug-status--amber { background: #D4880F; }
.klug-status--red   { background: #B94A48; }

/* Table treatment carried across from the reports */
.entry-content table th {
  background: var(--klug-navy);
  color: #ffffff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  text-align: left;
}
.entry-content table td,
.entry-content table th {
  border: 1px solid #CCCCCC;
  padding: 8px 12px;
}


/* ============================================================================
   14. FULL-BLEED OVERFLOW FIX  (added 18 Aug 2026)

   The announcement banner in section 5 used width:100vw. 100vw includes the
   vertical scrollbar, so on any page with one the banner ran ~15-55px wider
   than the viewport and the whole site scrolled sideways — confirmed live at
   1022px viewport (scrollWidth 1029). Alignfull covers compounded it.

   overflow-x: clip is used rather than hidden because hidden on an ancestor
   silently disables position: sticky, which section 12 depends on.
============================================================================ */

/* NOTE (18 Aug 2026): `overflow-x: clip` was originally on BOTH html and body.
   Per the overflow spec, setting one axis to clip forces the other axis from
   `visible` to `auto`, which made <body> a scroll container. Because body never
   actually scrolls, every scroll-driven ViewTimeline in section 21 resolved
   against it and reported currentTime: null - an inactive timeline - so the
   reveal animations silently did nothing. Confirmed live. The clip now sits on
   html only, which is the real scroll container, and the horizontal-overflow
   guard still holds. */

html,
body {
  max-width: 100%;
}

.klug-ab {
  width: auto !important;
  max-width: none !important;
}

/* ============================================================================
   15. PROOF BAND  (added 18 Aug 2026)

   A row of verified figures directly under the hero. The homepage previously
   asserted independence and demonstrated nothing; advisory firms are bought on
   evidence. Numbers are set in the sans, not the serif — display serifs read as
   decoration on a figure, and these need to read as data.
============================================================================ */

.klug-statband {
  border-top: 1px solid #E3E3E0;
  border-bottom: 1px solid #E3E3E0;
}

.entry-content p.klug-stat-num,
.klug-stat-num {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: clamp(2.2rem, 4vw, 3rem) !important;
  font-weight: 600 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  color: var(--klug-navy) !important;
  margin: 0 0 0.4rem !important;
}

.entry-content p.klug-stat-cap,
.klug-stat-cap {
  font-size: 0.9375rem !important;
  line-height: 1.45 !important;
  color: #4C4C58 !important;
  margin: 0 !important;
}

/* ============================================================================
   16. HOMEPAGE COMPONENTS  (added 18 Aug 2026)

   Supports the rebuilt homepage. Principles taken from Klug's own report
   system: no gradients, no shadows, no rounded corners, no animation. Hairline
   rules and whitespace do the separating. One primary action per screen.
============================================================================ */

/* --- Hero ---------------------------------------------------------------- */

.klug-hero { background: var(--klug-navy); }

/* max-width inside a constrained layout gets auto side margins, which centres
   the block. Force the left edge so the eyebrow, headline and lede all align. */
.klug-hero h1 {
  color: #ffffff !important;
  max-width: 17ch;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-bottom: 1.6rem !important;
}

.entry-content .klug-hero p.klug-lede {
  font-size: 1.3125rem !important;
  line-height: 1.62 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 60ch;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-bottom: 2.4rem !important;
}

.klug-sechead h2,
.klug-onnavy h2 {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.klug-eyebrow--light {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* --- Section heads ------------------------------------------------------- */

.klug-sechead { max-width: 60ch; margin-bottom: 3.6rem; }

.entry-content .klug-sechead p.klug-sub {
  font-size: 1.25rem !important;
  color: var(--klug-ink-2, #4C4C58) !important;
  margin: 0 !important;
}

.klug-tint { background: #f7f7f5; }

/* --- Services grid ------------------------------------------------------- */

.klug-svc .wp-block-column > .wp-block-group {
  border-top: 1px solid #e2e2df;
  padding-top: 1.7rem;
  padding-bottom: 2rem;
  transition: border-top-color 0.15s ease;
}

.klug-svc .wp-block-column > .wp-block-group:hover {
  border-top-color: var(--klug-navy);
}

.entry-content p.klug-num {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: #666670 !important;
  margin: 0 0 0.6rem !important;
}

.klug-svc h3 {
  font-size: 1.25rem !important;
  margin: 0 0 0.4rem !important;
}

.entry-content .klug-svc p:not(.klug-num) {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* --- Numbered approach points (replaces the tick characters) ------------- */

.entry-content p.klug-bignum {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 2.125rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: var(--klug-navy) !important;
  margin: 0 0 0.9rem !important;
}

.klug-onnavy p.klug-bignum,
.klug-onnavy h3,
.klug-onnavy h2 { color: #ffffff !important; }

/* --- Case study teasers -------------------------------------------------- */

.klug-cases .wp-block-column > .wp-block-group {
  border-top: 2px solid var(--klug-navy);
  padding-top: 1.5rem;
}

.entry-content p.klug-outcome {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 2.125rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  color: var(--klug-navy) !important;
  margin: 0 0 0.7rem !important;
}

.entry-content p.klug-side {
  font-size: 0.9375rem !important;
  color: #666670 !important;
  margin: 0 0 0.5rem !important;
}

/* --- Tools --------------------------------------------------------------- */

.klug-tool {
  border: 1px solid #e2e2df;
  padding: 2rem 2rem 2.2rem;
  height: 100%;
}

/* --- Quiet announcement strip (replaces the animated banner) ------------- */

.klug-strip {
  background: #f7f7f5;
  border-bottom: 1px solid #e2e2df;
}

.entry-content .klug-strip p {
  font-size: 0.9375rem !important;
  margin: 0 !important;
  color: #4C4C58 !important;
}

.klug-strip a { color: var(--klug-navy); font-weight: 600; }

/* ============================================================================
   17. SPACING & RHYTHM  (added 18 Aug 2026)

   The block editor's blockGap was resolving to 32px on every multi-column
   layout regardless of the preset set on the block. At a 1022px viewport that
   left three service columns at 286px each with only 32px between them, which
   is what made the page read as cramped and incoherent.

   Gaps are set explicitly here, and the grids step down to two columns before
   the columns get too narrow rather than holding three all the way to the
   mobile breakpoint.
============================================================================ */

/* --- Column gaps --------------------------------------------------------- */

/* WordPress emits its own gap on .wp-container-core-columns-is-layout-*, so
   these need two classes to outrank it. */
.wp-block-columns.klug-svc,
.wp-block-columns.klug-cases,
.klug-statband .wp-block-columns.is-layout-flex,
.klug-onnavy .wp-block-columns.is-layout-flex {
  column-gap: 56px !important;
  row-gap: 0 !important;
}

/* Stacked service items within a column need breathing room between them */
.klug-svc .wp-block-column {
  row-gap: 0 !important;
}

.klug-svc .wp-block-column > .wp-block-group + .wp-block-group {
  margin-top: 34px;
}

/* --- Step down to two columns before they get too narrow ----------------- */
/* Below ~1160px three columns fall under ~300px each and the text ragged-wraps. */

@media (max-width: 1160px) and (min-width: 782px) {
  .klug-svc,
  .klug-cases,
  .klug-statband .wp-block-columns,
  .klug-onnavy .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .klug-svc > .wp-block-column,
  .klug-cases > .wp-block-column,
  .klug-statband .wp-block-columns > .wp-block-column,
  .klug-onnavy .wp-block-columns > .wp-block-column {
    flex-basis: calc(50% - 28px) !important;
    flex-grow: 0 !important;
  }

  .klug-svc,
  .klug-cases,
  .klug-statband .wp-block-columns,
  .klug-onnavy .wp-block-columns {
    row-gap: 44px !important;
  }
}

/* --- Vertical rhythm ----------------------------------------------------- */

.klug-sechead { margin-bottom: 3.4rem !important; }

.klug-sechead h2 { margin-bottom: 0.9rem !important; }

.klug-svc .wp-block-column > .wp-block-group {
  padding-top: 1.6rem;
  padding-bottom: 0;
}

/* Case teasers: even top rules, consistent internal spacing */
.klug-cases .wp-block-column > .wp-block-group {
  padding-top: 1.4rem;
}

.entry-content .klug-cases p {
  margin-bottom: 1rem !important;
}

.klug-cases h3 {
  font-size: 1.1875rem !important;
  margin: 0 0 0.6rem !important;
}

/* Approach points on navy */
.klug-onnavy h3 {
  font-size: 1.1875rem !important;
  margin: 0 0 0.6rem !important;
}

/* Tools sit flush at equal height */
.klug-tool { height: 100%; }

.klug-tint .wp-block-column { display: flex; }

/* Buttons: consistent gap between the pair in the hero */
.klug-hero .wp-block-buttons { gap: 16px !important; }

/* ============================================================================
   18. CASE STUDIES (page 175)  (added 18 Aug 2026)

   The page previously ran a dimmed photo hero and four stock photographs
   carried "Photo by ... on Pexels.com" credits under three of them, which
   reads as placeholder rather than as evidence. The imagery has been removed
   entirely: on an evidence page the numbers are the visual. Each case now
   opens with a figure row, and the five Situation/Challenge/Approach/Outcome/
   Takeaway headings are demoted to small uppercase labels so the prose reads
   as one argument rather than five stacked sections.
============================================================================ */

/* Retire the red left bar on H2 - the eyebrow now does the classification */
.page-id-175 h2 {
  padding-left: 0;
  border-left: 0;
}

/* Anchor links from the index must clear the sticky header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

/* --- Case index band ------------------------------------------------------ */

.klug-caseindex .wp-block-columns.is-layout-flex {
  column-gap: 44px !important;
  row-gap: 0 !important;
}

.entry-content .klug-caseindex p.klug-outcome {
  font-size: 1.75rem !important;
  margin: 0 0 0.35rem !important;
}

.entry-content .klug-caseindex p.klug-side {
  margin: 0 !important;
  line-height: 1.5 !important;
}

.klug-caseindex a {
  color: #4C4C58;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #c9c9c4;
}

.klug-caseindex a:hover {
  color: var(--klug-navy);
  border-bottom-color: var(--klug-navy);
}

@media (max-width: 1160px) and (min-width: 782px) {
  .klug-caseindex .wp-block-columns { flex-wrap: wrap !important; row-gap: 34px !important; }
  .klug-caseindex .wp-block-columns > .wp-block-column {
    flex-basis: calc(50% - 22px) !important;
    flex-grow: 0 !important;
  }
}

/* --- Case body ------------------------------------------------------------ */

.klug-case + .klug-case {
  border-top: 1px solid #e2e2df;
}

.klug-case h2 {
  max-width: 24ch;
  margin: 0.6rem 0 2rem !important;
}

/* Section headings demoted to labels */
.klug-case h3 {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
  color: #666670 !important;
  margin: 2.6rem 0 0.7rem !important;
}

.entry-content .klug-case p {
  max-width: 70ch;
}

/* Figure row under the title */
.wp-block-columns.klug-figrow {
  column-gap: 56px !important;
  row-gap: 26px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0.6rem;
}

.entry-content .klug-figrow p.klug-outcome {
  font-size: 2rem !important;
  margin: 0 0 0.3rem !important;
}

.entry-content .klug-figrow p.klug-side {
  margin: 0 !important;
  max-width: 30ch;
  line-height: 1.5 !important;
}

@media (max-width: 1160px) and (min-width: 782px) {
  .wp-block-columns.klug-figrow { flex-wrap: wrap !important; row-gap: 30px !important; }
  .wp-block-columns.klug-figrow > .wp-block-column {
    flex-basis: calc(50% - 28px) !important;
    flex-grow: 0 !important;
  }
}

/* Key takeaway - the one place the prose is allowed to be emphatic */
.klug-take {
  border-left: 3px solid var(--klug-navy);
  padding: 0.1rem 0 0.1rem 1.7rem;
  margin-top: 3rem !important;
}

.klug-take h3 {
  margin-top: 0 !important;
}

.entry-content .klug-take p {
  font-size: 1.25rem !important;
  line-height: 1.55 !important;
  color: #24242c !important;
  max-width: 58ch;
}

/* --- Method note ---------------------------------------------------------- */

.entry-content .klug-method p:not(.klug-eyebrow) {
  max-width: 74ch;
  font-size: 1.0625rem !important;
  color: #4C4C58 !important;
  margin: 0.8rem 0 0 !important;
}

/* --- Navy closing band on interior pages ---------------------------------- */

.klug-onnavy h2 { max-width: 20ch; margin-bottom: 1.2rem !important; }

.entry-content .klug-onnavy p.klug-lede {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 58ch;
  margin: 0 0 2.2rem !important;
}

/* ============================================================================
   19. NAVY HERO ON INTERIOR PAGES  (added 18 Aug 2026)

   The homepage hero was built first and its H1 is deliberately short, so
   section 16 caps it at 17ch. Interior page titles are longer descriptive
   sentences and need more measure. Colour is forced here rather than inline
   on each block, because the GoDaddy DesignSetGo builder sets --dsgo-text-color
   on wrappers it injects and would otherwise pull the text back to dark navy.
============================================================================ */

.klug-hero,
.klug-hero *,
.klug-onnavy,
.klug-onnavy * {
  --dsgo-text-color: #ffffff !important;
}

body:not(.home) .klug-hero h1 {
  max-width: 24ch;
}

.klug-hero h2,
.klug-hero h3,
.klug-hero li,
.klug-hero p {
  color: #ffffff !important;
}

/* Buttons sitting on navy */
.klug-hero .wp-block-button.is-style-outline .wp-block-button__link,
.klug-onnavy .wp-block-button.is-style-outline .wp-block-button__link {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}

.klug-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.klug-onnavy .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #ffffff !important;
  color: var(--klug-navy) !important;
  border-color: #ffffff !important;
}

.klug-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.klug-onnavy .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #ffffff !important;
  color: var(--klug-navy) !important;
  border: 1px solid #ffffff !important;
}

.klug-hero .wp-block-buttons,
.klug-onnavy .wp-block-buttons {
  gap: 16px !important;
}

/* ============================================================================
   20. EYEBROW SPECIFICITY FIX  (added 18 Aug 2026, after live QA)

   .klug-eyebrow was defined in section 13 with no !important, so the body
   rule `.entry-content p { font-size: 1.1875rem !important }` from section 12
   beat it: eyebrows were rendering at 19px regular instead of 12.8px uppercase
   tracked. Measured live on /finance/. Section 19's blanket white also beat
   the muted .klug-eyebrow--light. Both are corrected here at matching weight.
============================================================================ */

.entry-content p.klug-eyebrow,
.klug-hero p.klug-eyebrow,
.klug-onnavy p.klug-eyebrow {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
  margin: 0 0 1.2rem !important;
}

.entry-content p.klug-eyebrow:not(.klug-eyebrow--light) {
  color: var(--klug-navy) !important;
}

.entry-content .klug-hero p.klug-eyebrow--light,
.entry-content p.klug-eyebrow--light,
.klug-hero p.klug-eyebrow--light {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ============================================================================
   21. TILE SYSTEM & SCROLL MOTION  (added 18 Aug 2026)

   Brief: "clear and not text heavy, tiles, buttons, interactive scrolling."

   This is a deliberate evolution of the restraint rule inherited from the
   report system (sections 16-17: no cards, no shadows, no motion). A printed
   report is read linearly and cannot be scrolled; a web page is scanned. Tiles
   and reveal-on-scroll do work here that whitespace alone cannot. The restraint
   is kept where it matters - one accent colour, hairline borders, 2px radius,
   short travel distances, no gradients - so the page still reads as a firm that
   expects to be scrutinised rather than as a marketing site.

   Motion is CSS scroll-driven (animation-timeline), not JavaScript, so it works
   site-wide without touching Code Snippets. Everything is behind @supports and
   prefers-reduced-motion, so unsupported browsers get the static layout with no
   hidden content.
============================================================================ */

/* --- The tile ------------------------------------------------------------ */

.klug-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.9rem 2.1rem;
  background: #ffffff;
  border: 1px solid #e2e2df;
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.klug-tile:hover {
  border-color: var(--klug-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(27, 20, 100, 0.09);
}

/* A short red rule wipes in across the top edge on hover. The only chromatic
   event on the tile, and it is the logo colour. */
.klug-tile::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: 3px;
  background: var(--klug-red);
  transition: width 0.28s ease;
}

.klug-tile:hover::before { width: 64px; }

.klug-tile h3 {
  margin: 0 0 0.55rem !important;
  font-size: 1.1875rem !important;
}

.entry-content .klug-tile p {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  margin: 0 0 0.7rem !important;
}

.entry-content .klug-tile p:last-child { margin-bottom: 0 !important; }

/* Tile eyebrow / index number */
.entry-content .klug-tile p.klug-num {
  font-size: 0.75rem !important;
  letter-spacing: 0.16em !important;
  margin: 0 0 0.9rem !important;
}

/* Link affordance, pinned to the bottom so tiles of different length align */
.entry-content .klug-tile p.klug-tilelink {
  margin: auto 0 0 !important;
  padding-top: 1.2rem;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

.klug-tile .klug-tilelink a {
  color: var(--klug-navy);
  text-decoration: none;
  font-weight: 600;
}

.klug-tile .klug-tilelink a::after {
  content: '\00a0\2192';
  display: inline-block;
  transition: transform 0.2s ease;
}

.klug-tile:hover .klug-tilelink a::after { transform: translateX(5px); }

/* Tiles on navy */
.klug-onnavy .klug-tile,
.klug-hero .klug-tile,
.klug-tile.klug-tile--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
}

.klug-onnavy .klug-tile:hover,
.klug-tile.klug-tile--dark:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.klug-onnavy .klug-tile .klug-tilelink a,
.klug-tile--dark .klug-tilelink a { color: #ffffff; }

/* A tile that carries the existing service-grid rule must not draw two borders */
.klug-svc .wp-block-column > .wp-block-group.klug-tile,
.klug-cases .wp-block-column > .wp-block-group.klug-tile {
  border-top: 1px solid #e2e2df;
  padding-top: 2rem;
}

.klug-svc .wp-block-column > .wp-block-group.klug-tile:hover {
  border-top-color: var(--klug-navy);
}

/* --- Tile grid ----------------------------------------------------------- */
/* Equal-height columns so tiles bottom-align regardless of copy length. */

.wp-block-columns.klug-grid {
  column-gap: 28px !important;
  row-gap: 28px !important;
  align-items: stretch !important;
}

.wp-block-columns.klug-grid > .wp-block-column {
  display: flex;
  flex-direction: column;
}

.klug-svc .wp-block-column,
.klug-cases .wp-block-column {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1160px) and (min-width: 782px) {
  .wp-block-columns.klug-grid { flex-wrap: wrap !important; row-gap: 28px !important; }
  .wp-block-columns.klug-grid > .wp-block-column {
    flex-basis: calc(50% - 14px) !important;
    flex-grow: 0 !important;
  }
}

/* --- Buttons ------------------------------------------------------------- */
/* Geometry only. Colour stays with the context rules in sections 11 and 19 so
   navy-panel buttons are not overridden here. */

.wp-block-button__link {
  padding: 0.85rem 1.75rem !important;
  border-radius: 2px !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.005em;
}

/* --- Sticky in-page section navigation ----------------------------------- */

.klug-pagenav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e2e2df;
}

.entry-content .klug-pagenav p {
  margin: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1 !important;
}

.klug-pagenav a {
  display: inline-block;
  margin-right: 30px;
  padding: 15px 0;
  color: #4C4C58;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
}

.klug-pagenav a:hover {
  color: var(--klug-navy);
  border-bottom-color: var(--klug-navy);
}

@media (max-width: 781px) {
  .klug-pagenav { overflow-x: auto; white-space: nowrap; }
  .klug-pagenav a { margin-right: 22px; font-size: 0.8125rem; }
}

/* --- Pull quote ---------------------------------------------------------- */

.klug-pull {
  border-left: 3px solid var(--klug-red);
  padding-left: 1.7rem;
  margin: 2.6rem 0;
}

.entry-content .klug-pull p {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  color: #1c1c24 !important;
  max-width: 40ch;
  margin: 0 !important;
}

/* --- Scroll-driven motion ------------------------------------------------ */
/* Guarded twice: @supports so unsupported browsers never hide content, and
   prefers-reduced-motion so the effect is opt-out at OS level. The hero is
   excluded deliberately - nothing above the fold should animate in. */

@keyframes klug-reveal {
  from { opacity: 0; transform: none; }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes klug-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Motion is driven by IntersectionObserver from a script in the footer
   template part, not by CSS scroll-timelines. Scroll-driven CSS was built
   first and abandoned: on this theme the ViewTimeline reported
   currentTime: null - an inactive timeline - so every reveal silently did
   nothing while still declaring `both` fill. Diagnosed live.

   The `.klug-anim` class is added to <html> BY that script. Nothing below
   applies until it exists, so if JavaScript is blocked or fails, no content
   is ever hidden. That gate is the whole safety design - do not move these
   rules out from under it. */

/* The transition lives on the .is-in state only. If it sat on the hidden
   state instead, applying the gate class would animate every off-screen
   section from visible to invisible - a fade-OUT the visitor can see.
   Hiding must be instant; only the reveal is animated. */

.klug-anim .klug-reveal {
  opacity: 0;
  transform: none;
}

.klug-anim .klug-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.62s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.62s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Columns inside a revealed band arrive one after another rather than as a
   single slab. Two selectors because a band is sometimes the columns block
   itself (figure rows) and sometimes a group wrapping one. */

.klug-anim .klug-reveal .wp-block-columns > .wp-block-column,
.klug-anim .klug-reveal.wp-block-columns > .wp-block-column {
  opacity: 0;
  transform: none;
}

.klug-anim .klug-reveal.is-in .wp-block-columns > .wp-block-column,
.klug-anim .klug-reveal.is-in.wp-block-columns > .wp-block-column {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.klug-anim .klug-reveal.is-in .wp-block-columns > .wp-block-column:nth-child(2),
.klug-anim .klug-reveal.is-in.wp-block-columns > .wp-block-column:nth-child(2) { transition-delay: 0.09s; }

.klug-anim .klug-reveal.is-in .wp-block-columns > .wp-block-column:nth-child(3),
.klug-anim .klug-reveal.is-in.wp-block-columns > .wp-block-column:nth-child(3) { transition-delay: 0.17s; }

.klug-anim .klug-reveal.is-in .wp-block-columns > .wp-block-column:nth-child(4),
.klug-anim .klug-reveal.is-in.wp-block-columns > .wp-block-column:nth-child(4) { transition-delay: 0.25s; }

/* Reading-progress rule, pinned to the top of the viewport */
#klug-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 3px;
  background: var(--klug-red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .klug-anim .klug-reveal,
  .klug-anim .klug-reveal .wp-block-columns > .wp-block-column,
  .klug-anim .klug-reveal.wp-block-columns > .wp-block-column {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #klug-progress { display: none; }
}

/* ============================================================================
   22. SECTION ALIGNMENT & VERTICAL RHYTHM  (added 18 Aug 2026, after visual QA)

   Two faults found by looking at the page rather than the markup.

   1. ALIGNMENT. .klug-sechead carries max-width: 60ch. Inside a WordPress
      constrained layout a max-width block gets auto side margins, so every
      section head was being centred - measured live at margin-left: 116px
      while the hero H1 sat at the container's left edge. Each section
      therefore started at a different x-position to the one above it, which
      is what made the page read as a stack of unrelated blocks. Section 16
      fixed this for the h2 but not for the wrapper, so the eyebrow and the
      sub-line still drifted.

   2. RHYTHM. Bands were carrying 103.7px of padding top AND bottom, so
      consecutive sections were separated by more than 200px of white. At the
      stat band that left the proof floating away from the section beneath it.
============================================================================ */

/* --- Everything in a section starts at the same left edge ---------------- */

.entry-content .klug-sechead,
.entry-content .klug-method,
.entry-content .klug-case > .wp-block-columns {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.entry-content .klug-sechead {
  margin-bottom: 2.6rem !important;
}

.entry-content .klug-sechead h2,
.entry-content .klug-onnavy h2,
.entry-content .klug-case h2 {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* --- Band padding -------------------------------------------------------- */

.entry-content > .wp-block-group:not(.klug-hero):not(.klug-strip):not(.klug-pagenav) {
  padding-top: 76px !important;
  padding-bottom: 76px !important;
}

.entry-content > .wp-block-group.klug-statband {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

.entry-content > .wp-block-group.klug-hero {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
}

@media (max-width: 781px) {
  .entry-content > .wp-block-group:not(.klug-hero):not(.klug-strip):not(.klug-pagenav) {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
  .entry-content > .wp-block-group.klug-hero {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

/* ============================================================================
   23. GRID GEOMETRY  (added 18 Aug 2026)

   Brief: "all text boxes and tiles need to be meticulously aligned, I can't
   have any odd symmetry anywhere."

   Two faults measured on the live homepage at a 1037px viewport:

   1. ORPHAN TILES. The grids were WordPress column blocks - flexbox with a
      flex-basis of calc(50% - 28px) below 1160px. A three-column block
      therefore wrapped to 2 + 1, leaving a single tile stranded on its own
      row. Confirmed on both the services grid and the case teasers.

   2. UNEQUAL BOXES. Flex columns size to content, so a tile with two lines of
      copy sat shorter than the one beside it and the bottom edges disagreed.

   Both are solved by using an actual grid. `display: contents` on the column
   wrappers promotes the tiles themselves to grid items, so a 3x2 column
   arrangement becomes a true six-item grid that reflows evenly - without
   touching a single line of page markup. `stretch` then forces equal heights,
   and `minmax(0, 1fr)` forces mathematically equal widths.

   Breakpoints are chosen per item-count so a row is never left short:
   three-item grids step 3 -> 1 (never 2, which would orphan one), and
   four-item grids step 4 -> 2 -> 1.
============================================================================ */

.wp-block-columns.klug-svc,
.wp-block-columns.klug-cases,
.wp-block-columns.klug-grid,
.wp-block-columns.klug-figrow,
.klug-statband .wp-block-columns,
.klug-onnavy .wp-block-columns,
.klug-caseindex .wp-block-columns,
.klug-tint .wp-block-columns {
  display: grid !important;
  gap: 28px !important;
  align-items: stretch !important;
  column-gap: 28px !important;
  row-gap: 28px !important;
}

/* Flex sizing must be neutralised or it fights the grid track sizing */
.wp-block-columns.klug-svc > .wp-block-column,
.wp-block-columns.klug-cases > .wp-block-column,
.wp-block-columns.klug-grid > .wp-block-column,
.wp-block-columns.klug-figrow > .wp-block-column,
.klug-statband .wp-block-columns > .wp-block-column,
.klug-onnavy .wp-block-columns > .wp-block-column,
.klug-caseindex .wp-block-columns > .wp-block-column,
.klug-tint .wp-block-columns > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}

/* The services grid holds two items per column. Dissolving the column box
   promotes both to grid items, so six tiles lay out as six, not as three
   pairs that wrap unevenly. */
.wp-block-columns.klug-svc > .wp-block-column {
  display: contents;
}

/* --- Track counts -------------------------------------------------------- */

.wp-block-columns.klug-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Generic tile grid. Default three across; add klug-grid--2 or klug-grid--4
   to the same block for a different track count. Item counts should be a
   multiple of the track count so a row is never left short. */
.wp-block-columns.klug-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-columns.klug-grid.klug-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-columns.klug-grid.klug-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1200px) {
  .wp-block-columns.klug-grid.klug-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .wp-block-columns.klug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .wp-block-columns.klug-grid,
  .wp-block-columns.klug-grid.klug-grid--2,
  .wp-block-columns.klug-grid.klug-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.wp-block-columns.klug-cases,
.wp-block-columns.klug-figrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* The tools band holds two tiles. Running it on the three-track rule left an
   empty third cell and the row read as lopsided. */
.klug-tint .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.klug-statband .wp-block-columns,
.klug-onnavy .wp-block-columns,
.klug-caseindex .wp-block-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1200px) {
  .klug-statband .wp-block-columns,
  .klug-onnavy .wp-block-columns,
  .klug-caseindex .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .wp-block-columns.klug-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Three-item rows drop straight to one. Going via two would strand a tile. */
  .wp-block-columns.klug-cases,
  .wp-block-columns.klug-figrow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .wp-block-columns.klug-svc { grid-template-columns: minmax(0, 1fr); }
  .klug-tint .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
  .klug-statband .wp-block-columns,
  .klug-onnavy .wp-block-columns,
  .klug-caseindex .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
}

/* --- Everything in a grid is a tile, and every tile is identical ---------- */
/* Applied by selector rather than by class so no page markup has to change. */

.klug-svc .wp-block-group,
.klug-cases .wp-block-column > .wp-block-group,
.klug-tint .wp-block-column > .klug-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  padding: 1.9rem 1.8rem 2rem !important;
  background: #ffffff;
  border: 1px solid #e2e2df;
  border-top: 1px solid #e2e2df;
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.klug-svc .wp-block-group:hover,
.klug-cases .wp-block-column > .wp-block-group:hover,
.klug-tint .wp-block-column > .klug-tool:hover {
  border-color: var(--klug-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(27, 20, 100, 0.09);
}

.klug-svc .wp-block-group::before,
.klug-cases .wp-block-column > .wp-block-group::before,
.klug-tint .wp-block-column > .klug-tool::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: 3px;
  background: var(--klug-red);
  transition: width 0.28s ease;
}

.klug-svc .wp-block-group:hover::before,
.klug-cases .wp-block-column > .wp-block-group:hover::before,
.klug-tint .wp-block-column > .klug-tool:hover::before { width: 64px; }

/* The tile on navy keeps the same geometry, different surface */
.klug-onnavy .wp-block-column > .wp-block-group {
  height: 100%;
  margin: 0 !important;
}

/* Last paragraph in a tile pins to the bottom so tile feet line up */
.entry-content .klug-svc .wp-block-group p:last-child,
.entry-content .klug-cases .wp-block-group p:last-child { margin-bottom: 0 !important; }

/* Kill the old flex-era spacing between stacked service items */
.klug-svc .wp-block-column > .wp-block-group + .wp-block-group { margin-top: 0 !important; }

/* ============================================================================
   24. TILE STRETCH & COVER ALIGNMENT  (added 18 Aug 2026, after measurement)

   Two faults measured on /transactions/ at 1037px.

   1. Tiles in the SAME grid row rendered 239px and 266px tall. `height: 100%`
      on a flex child resolves against a parent whose own height is content-
      derived, so it does nothing. `flex: 1` is what actually makes the tile
      fill its stretched grid cell.

   2. Any section still built as a wp:cover sat at left: 21px while every
      constrained section sat at left: 50px - a 29px step that is exactly the
      "odd symmetry" the owner flagged. Cover inner containers do not inherit
      the theme's root padding, so they are given it explicitly here. This is a
      backstop; covers should be converted to flat navy groups where possible.
============================================================================ */

.wp-block-columns.klug-grid > .wp-block-column,
.wp-block-columns.klug-svc > .wp-block-column,
.wp-block-columns.klug-cases > .wp-block-column,
.klug-onnavy .wp-block-columns > .wp-block-column,
.klug-tint .wp-block-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column;
  justify-content: stretch;
}

.wp-block-columns.klug-grid > .wp-block-column > .klug-tile,
.wp-block-columns.klug-grid > .wp-block-column > .wp-block-group,
.klug-cases > .wp-block-column > .wp-block-group,
.klug-onnavy .wp-block-columns > .wp-block-column > .wp-block-group,
.klug-tint .wp-block-columns > .wp-block-column > .wp-block-group {
  flex: 1 1 auto;
  height: auto !important;
}

/* Cover-based sections align to the same left edge as everything else */
.entry-content .wp-block-cover > .wp-block-cover__inner-container {
  padding-left: var(--wp--style--root--padding-left) !important;
  padding-right: var(--wp--style--root--padding-right) !important;
  box-sizing: border-box;
}

@media (max-width: 781px) {
  .entry-content .wp-block-cover > .wp-block-cover__inner-container {
    padding-left: var(--klug-gutter-mobile) !important;
    padding-right: var(--klug-gutter-mobile) !important;
  }
}

/* ============================================================================
   25. FOOTER TYPOGRAPHY  (added 18 Aug 2026, after visual QA)

   The footer was running at three different sizes with no hierarchy: the
   address block and the copyright line at body size (19px), navigation links
   a step smaller, and the "Navigation" / "Follow" headings at body size in
   bold. The cause is section 12's `.wp-block-group p { font-size: 1.1875rem
   !important }`. That selector is not scoped to the article, so it also hits
   every paragraph in the footer template part and overrides WordPress's own
   `has-small-font-size` class, which the footer markup was correctly using.

   Rather than loosen the body rule and risk the article pages, the footer is
   given its own explicit scale here. A footer is reference material - it
   should sit quietly below the content, not compete with it.
============================================================================ */

footer p,
footer li,
footer a,
.wp-block-template-part footer p,
footer p.has-small-font-size,
.wp-block-group p.has-small-font-size {
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

/* Column headings become eyebrow labels, matching the rest of the system */
footer h2,
footer h3,
footer h4,
footer .wp-block-heading {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  margin: 0 0 1.1rem !important;
  color: var(--klug-navy) !important;
}

/* Navigation list: tighter, and no longer double-spaced */
footer .wp-block-navigation,
footer .wp-block-navigation ul {
  gap: 0 !important;
  display: block !important;
}

footer .wp-block-navigation .wp-block-navigation-item {
  display: block;
  margin: 0 !important;
}

footer .wp-block-navigation a {
  display: inline-block;
  padding: 5px 0 !important;
  text-decoration: none;
  color: #3a3a45 !important;
  transition: color 0.15s ease;
}

footer .wp-block-navigation a:hover {
  color: var(--klug-navy) !important;
}

/* Contact block: the address should not read louder than the nav */
footer .wp-block-column p a {
  color: #3a3a45 !important;
  text-underline-offset: 3px;
}

footer .wp-block-column p a:hover { color: var(--klug-navy) !important; }

/* Navigation links carry a 0.88rem rule from section 3 aimed at the HEADER.
   It reaches the footer too, so it is beaten here at matching specificity.
   Measured live: footer was rendering four different sizes - 15px, 14.08px,
   13px and 12.8px. The footer now has exactly two: 12.8px uppercase labels
   and 15px for everything else. Two sizes is the point; do not add a third
   for the legal line. */

footer .wp-block-navigation .wp-block-navigation-item a,
footer .wp-block-navigation .wp-block-navigation-item__content,
footer .wp-block-navigation a,
footer .wp-block-navigation li a {
  font-size: 0.9375rem !important;
}

/* The Services item carries a submenu. In the footer its toggle chevron was
   rendering on a line of its own beneath the link, reading as an orphaned
   stray glyph. The footer lists top-level pages only; the submenu is reachable
   from the header and from the Services page itself. */
footer .wp-block-navigation__submenu-icon,
footer .wp-block-navigation-submenu__toggle,
footer .wp-block-navigation__submenu-container {
  display: none !important;
}

footer .wp-block-navigation .wp-block-navigation-item.has-child {
  display: block;
}

/* Social icons sized to match the text, not the headings */
footer .wp-block-social-links .wp-social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================================================
   26. INSIGHTS INDEX (page 89)  (added 18 Aug 2026)

   The blog index was a single wp:html block carrying its own inline
   stylesheet, its own card classes, its own type scale (300-weight body,
   1.05rem titles, 11px dates) and a HAND-CODED list of twelve posts. It
   therefore looked like a different website, and any new post had to be added
   to it by hand or it simply never appeared.

   Replaced with a real Query Loop on the site's own tile component, so the
   page maintains itself and inherits the shared type scale. The old blog-card
   rules and the .page-id-89 carousel rules in section 10 are now dead; they
   are left in place only because nothing else references them and removing
   them is a separate, verifiable change.
============================================================================ */

.klug-postgrid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.klug-postgrid .wp-block-post {
  display: flex;
  margin: 0 !important;
}

.klug-postgrid .klug-tile { width: 100%; }

/* Date behaves as the tile eyebrow */
.klug-postgrid .wp-block-post-date,
.klug-postgrid .klug-postdate {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: #666670 !important;
  margin: 0 0 0.9rem !important;
}

.klug-postgrid .wp-block-post-date a {
  color: inherit !important;
  text-decoration: none;
}

.klug-postgrid .wp-block-post-title {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 1.1875rem !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.008em;
  margin: 0 0 0.6rem !important;
}

.klug-postgrid .wp-block-post-title a {
  color: var(--klug-navy) !important;
  text-decoration: none !important;
}

.klug-tile:hover .wp-block-post-title a { color: var(--klug-red) !important; }

.klug-postgrid .wp-block-post-excerpt,
.klug-postgrid .wp-block-post-excerpt__excerpt {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  color: #4C4C58 !important;
  margin: 0 !important;
}

/* Pagination, set as quiet UI rather than as body copy */
.klug-pagination {
  margin-top: 44px !important;
  gap: 10px !important;
}

.klug-pagination a,
.klug-pagination span {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #4C4C58 !important;
  text-decoration: none !important;
  padding: 6px 12px;
  border: 1px solid #e2e2df;
  border-radius: 2px;
}

.klug-pagination a:hover {
  color: var(--klug-navy) !important;
  border-color: var(--klug-navy);
}

.klug-pagination .current {
  color: #ffffff !important;
  background: var(--klug-navy);
  border-color: var(--klug-navy);
}

@media (max-width: 1000px) {
  .klug-postgrid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .klug-postgrid .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================================
   27. TRACK RECORD BAND ALIGNMENT  (added 18 Aug 2026, after visual QA)

   In the four-item track record band one heading wraps to two lines and the
   others do not, so the body paragraph beneath each one started at a
   different height across the row. Reserving two lines of heading height
   puts every body paragraph on the same baseline regardless of title length,
   which is what the owner means by no odd symmetry.
============================================================================ */

.klug-statband .wp-block-column h3 {
  min-height: 2.6em;
  margin-bottom: 0.9rem !important;
}

@media (max-width: 700px) {
  .klug-statband .wp-block-column h3 { min-height: 0; }
}

/* ============================================================================
   28. INSIGHTS GRID OVERRIDE  (added 18 Aug 2026)

   The old page-id-89 carousel rules survive somewhere in the cascade and were
   still winning against section 26 - the Query Loop rendered as one 350px-wide
   sideways-scrolling row of twelve. Measured live: display resolved to flex
   with overflow-x auto despite the grid rule. Rather than keep hunting the
   duplicate, this block beats it on specificity and explicitly unwinds every
   carousel property the old rules set.
============================================================================ */

body.page-id-89 .klug-postgrid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  flex-wrap: wrap !important;
  padding-bottom: 0 !important;
}

body.page-id-89 .klug-postgrid .wp-block-post-template > li {
  flex: 1 1 auto !important;
  max-width: none !important;
  scroll-snap-align: none !important;
}

body.page-id-89 .klug-postgrid .wp-block-post-template .wp-block-group:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 1000px) {
  body.page-id-89 .klug-postgrid .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.page-id-89 .klug-postgrid .wp-block-post-template {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ============================================================================
   29. TOP ALIGNMENT & DISCLOSURE TILES  (added 18 Aug 2026)

   1. In the track record band the first tile's heading wraps to two lines. The
      grid was centring each column's content in its cell, so that tile's "01"
      label and body sat lower than the other three. Content in a row of tiles
      must hang from the top edge, never centre.

   2. Disclosure tiles. The navy band was four paragraphs of solid copy - the
      owner's words: "text heavy and hard to read". Each point now leads with a
      one-line claim and puts the reasoning behind a native <details> toggle,
      so the band scans in seconds and still holds the full argument for anyone
      who wants it. Native <details> is used rather than scripted accordions:
      it is keyboard accessible, works with no JavaScript, and is searchable.
============================================================================ */

/* CORRECTED 18 Aug 2026. This first read `align-self: start`, which stopped
   the column stretching to its grid row - so two tiles side by side sized to
   their own content and their bottom edges disagreed (measured 277px against
   223px on the contact page). The column must STRETCH so the boxes match;
   it is the column's CONTENT that hangs from the top. Those are two different
   properties and conflating them is what broke it. */

.klug-statband .wp-block-columns > .wp-block-column,
.klug-onnavy .wp-block-columns > .wp-block-column,
.wp-block-columns.klug-grid > .wp-block-column,
.wp-block-columns.klug-svc > .wp-block-column,
.wp-block-columns.klug-cases > .wp-block-column,
.klug-tint .wp-block-columns > .wp-block-column,
.klug-caseindex .wp-block-columns > .wp-block-column {
  align-self: stretch !important;
  justify-content: flex-start !important;
}

.klug-statband .wp-block-columns > .wp-block-column > * { margin-top: 0 !important; }

/* --- Disclosure ---------------------------------------------------------- */

.wp-block-details {
  border-top: 1px solid #e2e2df;
  padding: 0;
  margin: 0;
}

.wp-block-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--klug-navy);
  transition: color 0.15s ease;
}

.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::marker { content: ''; }

.wp-block-details summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.wp-block-details[open] summary::after {
  content: '\2013';
  opacity: 1;
}

.wp-block-details summary:hover { color: var(--klug-red); }
.wp-block-details summary:hover::after { opacity: 1; }

.entry-content .wp-block-details p {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1.1rem !important;
  max-width: 62ch;
}

/* On navy */
.klug-onnavy .wp-block-details {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.klug-onnavy .wp-block-details summary {
  color: #ffffff;
}

.klug-onnavy .wp-block-details summary:hover { color: #ffffff; opacity: 0.78; }

.entry-content .klug-onnavy .wp-block-details p {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* The leading claim, sitting above the toggles */
.entry-content p.klug-claim {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 1.375rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  margin: 0 0 1.4rem !important;
  max-width: 34ch;
}

.klug-onnavy .entry-content p.klug-claim,
.entry-content .klug-onnavy p.klug-claim { color: #ffffff !important; }

/* ============================================================================
   30. ONE MEASURE  (added 18 Aug 2026)

   Owner: "I don't understand why some text is not aligned or spread across
   the page either." The fault only shows on wide screens, which is why it did
   not appear in measurement at 1037px.

   Inside a WordPress constrained layout, a child block with no explicit width
   is capped at `content-size` and given auto side margins - so it CENTRES.
   Section 22 forced .klug-sechead to margin-left: 0, which pinned the headings
   to the container's left edge. The grids underneath were never given the same
   treatment, so above the content-size breakpoint the headings sat hard left
   while every tile grid floated centred beneath them, inset by half the
   difference. Two different left edges in one section.

   Every full-section block is now pinned to the same left edge and allowed to
   run the full width of the container. One measure, top to bottom.
============================================================================ */

.entry-content .klug-sechead,
.entry-content .klug-method,
.entry-content .klug-pull,
.entry-content .wp-block-columns.klug-svc,
.entry-content .wp-block-columns.klug-cases,
.entry-content .wp-block-columns.klug-grid,
.entry-content .wp-block-columns.klug-figrow,
.entry-content .klug-statband .wp-block-columns,
.entry-content .klug-onnavy .wp-block-columns,
.entry-content .klug-caseindex .wp-block-columns,
.entry-content .klug-tint .wp-block-columns,
.entry-content .klug-postgrid,
.entry-content .klug-postgrid .wp-block-post-template,
.entry-content .wp-block-details {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
}

/* Headings and lede lines keep a readable measure, but are pinned left rather
   than centred - a max-width must never become an auto margin here. */
.entry-content .klug-sechead h2,
.entry-content .klug-sechead p,
.entry-content .klug-onnavy h2,
.entry-content .klug-case h2,
.entry-content p.klug-claim {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* ============================================================================
   31. EVERY BOX FILLS ITS CELL  (added 18 Aug 2026)

   Section 29 stretched the COLUMN to its grid row, which was the missing half
   of the fix. This is the other half: the tile inside that column must then
   fill the column. Without it a tile still sizes to its own content and the
   bottom edges disagree even though the columns match - measured on the
   contact page as 277px beside 223px.

   `height: 100%` alone is unreliable here, because it resolves against a
   parent whose height is itself set by the grid. `flex: 1 1 auto` inside a
   column-direction flex parent does not depend on that resolution, so both
   are set and the flex rule is the one that actually guarantees it.
============================================================================ */

.klug-tile,
.klug-svc .wp-block-group,
.klug-cases .wp-block-column > .wp-block-group,
.klug-onnavy .wp-block-column > .wp-block-group,
.klug-tint .wp-block-column > .klug-tool,
.klug-postgrid .klug-tile {
  flex: 1 1 auto !important;
  height: 100%;
  box-sizing: border-box;
}

/* The column is the flex context those tiles fill */
.wp-block-columns.klug-grid > .wp-block-column,
.wp-block-columns.klug-cases > .wp-block-column,
.klug-tint .wp-block-columns > .wp-block-column,
.klug-onnavy .wp-block-columns > .wp-block-column,
.klug-statband .wp-block-columns > .wp-block-column,
.klug-postgrid .wp-block-post {
  display: flex !important;
  flex-direction: column !important;
}

/* Uniform internal padding, so two tiles of different content still present
   the same text inset. Previously the service tiles, the case tiles and the
   tool tiles each carried their own padding value. */
.klug-tile,
.klug-svc .wp-block-group,
.klug-cases .wp-block-column > .wp-block-group,
.klug-tint .wp-block-column > .klug-tool {
  padding: 1.9rem 1.8rem 2rem !important;
}

/* ============================================================================
   32. INLINE LINKS ON NAVY  (added 18 Aug 2026)

   BUG: on the contact page the words "acquisition, leasing, and development"
   were invisible. They are an inline link to /services/, and that hero group
   was written without the elements.link colour attribute the other heroes
   carry, so the anchor inherited the theme's link colour - dark navy - and
   rendered navy on navy.

   Fixing it inline on that one block would leave the trap set for the next
   navy panel someone puts a link in. Any inline link inside a dark panel is
   forced light here instead, so the failure cannot recur.

   Buttons are excluded: a solid button on navy has a WHITE background, so
   forcing its label white would make it invisible in the other direction.
============================================================================ */

.klug-hero a:not(.wp-block-button__link),
.klug-onnavy a:not(.wp-block-button__link),
.entry-content .klug-hero p a,
.entry-content .klug-onnavy p a,
.entry-content .klug-hero li a,
.entry-content .klug-onnavy li a {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color 0.15s ease;
}

.klug-hero a:not(.wp-block-button__link):hover,
.klug-onnavy a:not(.wp-block-button__link):hover {
  text-decoration-color: #ffffff;
}

/* The same failure in the other direction: a link inside a light tile must
   never inherit white from a parent rule. */
.entry-content .klug-tile a:not(.wp-block-button__link),
.entry-content .klug-tint a:not(.wp-block-button__link) {
  color: var(--klug-navy);
}

.entry-content .klug-onnavy .klug-tile a:not(.wp-block-button__link) {
  color: #ffffff;
}

/* ============================================================================
   33. TWO FAULTS FOUND IN THE FULL BOX AUDIT  (added 18 Aug 2026)

   1. SERVICES GRID NOT ACTUALLY A GRID. Section 23 dissolves the column
      wrappers with `display: contents` so the six service tiles become six
      grid items and reflow as a true 3x2. Measured live, the columns were
      resolving to `flex`, so it was really three columns each stacking two
      tiles - and the tiles' top edges landed at four different heights
      (1779, 1988, 2001, 2015) with heights of 236, 209, 209, 236, 223, 223.
      That is precisely the "boxes don't line up" fault. Forced here.

   2. MUTED TEXT ON NAVY. `.klug-sub` is defined in section 16 as #4C4C58 for
      light backgrounds. The Why Klug band puts a .klug-sechead on navy, so
      that sub-line was rendering dark grey on #1B1464 - measured contrast
      about 1.6:1, effectively invisible. Same family of fault as the inline
      link in section 32: a component styled for one surface, reused on the
      other. Every muted token is therefore re-declared for dark surfaces.
============================================================================ */

.wp-block-columns.klug-svc > .wp-block-column {
  display: contents !important;
}

/* --- Muted text tokens, dark-surface variants ---------------------------- */

.entry-content .klug-onnavy p.klug-sub,
.entry-content .klug-hero p.klug-sub,
.klug-onnavy .klug-sub,
.klug-hero .klug-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}

.entry-content .klug-onnavy p.klug-num,
.entry-content .klug-onnavy p.klug-side,
.entry-content .klug-onnavy p.klug-stat-cap,
.entry-content .klug-hero p.klug-num,
.entry-content .klug-hero p.klug-side {
  color: rgba(255, 255, 255, 0.62) !important;
}

.entry-content .klug-onnavy h3,
.entry-content .klug-onnavy h4,
.entry-content .klug-onnavy li {
  color: #ffffff !important;
}

/* ============================================================================
   34. DARK-SURFACE SAFETY NET  (added 18 Aug 2026)

   Sections 32 and 33 fix light-on-dark faults for panels carrying the
   .klug-onnavy or .klug-hero class. The audit found navy panels that carry
   the brand navy as an INLINE background but no class - the Transactions
   closing CTA is one - so those rules never reached them, and any link or
   muted token inside would render dark-on-dark exactly as the contact page
   link did.

   Rather than chase class names across pages, this keys off the background
   value itself, so it holds for panels that already exist and any added
   later. Deliberately scoped to links and the muted tokens only: a blanket
   paragraph colour here would also repaint a light tile sitting inside a
   navy band.
============================================================================ */

[style*="background-color:#1B1464"] a:not(.wp-block-button__link),
[style*="background-color:#1b1464"] a:not(.wp-block-button__link) {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.entry-content [style*="background-color:#1B1464"] > .klug-sechead p.klug-sub,
.entry-content [style*="background-color:#1b1464"] > .klug-sechead p.klug-sub,
.entry-content [style*="background-color:#1B1464"] p.klug-sub,
.entry-content [style*="background-color:#1B1464"] p.klug-num,
.entry-content [style*="background-color:#1B1464"] p.klug-side {
  color: rgba(255, 255, 255, 0.72) !important;
}

.entry-content [style*="background-color:#1B1464"] p.klug-eyebrow,
.entry-content [style*="background-color:#1b1464"] p.klug-eyebrow {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ============================================================================
   35. NAVY PANELS WITHOUT THE CLASS  (added 18 Aug 2026)

   The contrast audit found the closing CTA on Strategic Advisory and Asset
   Management rendering a DARK heading and body paragraph on the navy panel -
   "Discuss your next commercial property decision" measured below 3:1 and was
   effectively unreadable. Those panels set brand navy as an inline background
   but carry no .klug-onnavy class, so sections 33 and 34 only reached their
   links and muted tokens, never the heading or the body copy.

   Blanket light text is applied here for any panel on brand navy, then the
   muted tokens are re-declared AFTER it so eyebrows and sub-lines keep their
   quieter alpha rather than being flattened to solid white. Order matters in
   this block - do not reorder it.
============================================================================ */

.entry-content [style*="background-color:#1B1464"] h1,
.entry-content [style*="background-color:#1B1464"] h2,
.entry-content [style*="background-color:#1B1464"] h3,
.entry-content [style*="background-color:#1B1464"] h4,
.entry-content [style*="background-color:#1B1464"] p,
.entry-content [style*="background-color:#1B1464"] li,
.entry-content [style*="background-color:#1b1464"] h1,
.entry-content [style*="background-color:#1b1464"] h2,
.entry-content [style*="background-color:#1b1464"] h3,
.entry-content [style*="background-color:#1b1464"] h4,
.entry-content [style*="background-color:#1b1464"] p,
.entry-content [style*="background-color:#1b1464"] li {
  color: #ffffff !important;
}

/* Re-assert the quieter tokens, after the blanket rule above */
.entry-content [style*="background-color:#1B1464"] p.klug-sub,
.entry-content [style*="background-color:#1b1464"] p.klug-sub,
.entry-content [style*="background-color:#1B1464"] p.klug-lede,
.entry-content [style*="background-color:#1b1464"] p.klug-lede {
  color: rgba(255, 255, 255, 0.80) !important;
}

.entry-content [style*="background-color:#1B1464"] p.klug-eyebrow,
.entry-content [style*="background-color:#1b1464"] p.klug-eyebrow,
.entry-content [style*="background-color:#1B1464"] p.klug-num,
.entry-content [style*="background-color:#1B1464"] p.klug-side {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ============================================================================
   36. DOUBLED GUTTER  (added 18 Aug 2026)

   Asset Management's section heads measured at x=100 while every other page
   measured x=50. Cause: those section wrappers carry WordPress's
   `has-global-padding` class, which adds a 50px inline gutter INSIDE a group
   that is already sitting inside the root container's 50px gutter. The page
   therefore ran one full gutter narrower than the rest of the site, and the
   fault was invisible in the markup because the class is applied by the
   editor, not written by hand.

   The root container already provides the gutter for these full-width
   sections, so the inner one is removed. Scoped to direct children of
   .entry-content, which is where section bands live - nested groups that
   genuinely need their own inset are untouched.
============================================================================ */

/* CORRECTED. The first version of this rule stripped the padding from EVERY
   full-width section, which broke far more than it fixed: on most pages an
   alignfull section breaks out to the viewport edge and its own global
   padding IS the page gutter. Removing it put the homepage H1 flush against
   x=0. Measured and reverted.

   The two cases differ by whether the section breaks out:
     most pages  - section starts at 0,  own 50px padding -> content at 50
     page 196    - section starts at 50, own 50px padding -> content at 100
   Only the second is doubled, so the fix is scoped to that page rather than
   applied globally. If another page ever shows the same 100px inset, add its
   ID here rather than widening the selector. */

/* Deleted 20 Aug 2026. Section 58 now gives every interior band the same
   padding, so this page-specific zeroing was the reason /asset-management/
   ran its text to the very edge of the window. */

/* ============================================================================
   37. COMPACT OUTCOME TILES  (added 18 Aug 2026)

   The figure rows on the case studies ran three large numbers per case. Four
   smaller boxed figures read as a data strip - denser, more scannable, and it
   lets each case carry more of the evidence that is already published in its
   prose rather than leaving it buried in a paragraph.

   Deliberately bordered and boxed: at this size an unboxed number stops
   reading as a discrete measurement and starts reading as a heading.
============================================================================ */

.wp-block-columns.klug-figrow {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 2.2rem !important;
}

.wp-block-columns.klug-figrow > .wp-block-column {
  border: 1px solid #e2e2df;
  border-radius: 2px;
  padding: 1.1rem 1.1rem 1.2rem !important;
  background: #fcfcfb;
  transition: border-color 0.18s ease;
}

.wp-block-columns.klug-figrow > .wp-block-column:hover {
  border-color: var(--klug-navy);
}

.entry-content .klug-figrow p.klug-outcome {
  font-size: 1.5rem !important;
  line-height: 1.05 !important;
  letter-spacing: -0.018em !important;
  margin: 0 0 0.35rem !important;
}

.entry-content .klug-figrow p.klug-side {
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  color: #5a5a66 !important;
  margin: 0 !important;
  max-width: none;
}

@media (max-width: 1100px) {
  .wp-block-columns.klug-figrow { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 600px) {
  .wp-block-columns.klug-figrow { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ============================================================================
   38. LEAD FIGURE  (added 18 Aug 2026)  — SUPERSEDES SECTION 37

   Section 37's four boxed figures per case were correct about density and
   wrong about hierarchy. Four identical tiles is the KPI-dashboard pattern
   every advisory firm uses, and it gave $1,010,016 and "57 clubs" the same
   visual weight when one is the outcome and the other is context.

   One lead figure per case, at display size, with the supporting evidence
   demoted to a single quiet run beneath it. Nothing is lost - the same
   figures appear - but the reader is told which number is the point. This is
   the hero-figure form rather than a stat row, and it matches the report
   system's habit of leading with the finding.

   Figures are set in the sans, never the serif: a display serif on a numeral
   reads as decoration, and these have to read as measurements.
============================================================================ */

.klug-leadfig {
  border-top: 3px solid var(--klug-navy);
  padding-top: 1.6rem;
  margin: 0 0 2.6rem !important;
  max-width: 62ch;
}

.entry-content p.klug-bignum-lead {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: clamp(2.6rem, 5.2vw, 3.9rem) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  color: var(--klug-navy) !important;
  margin: 0 0 0.55rem !important;
}

.entry-content p.klug-leadcap {
  font-size: 1.1875rem !important;
  line-height: 1.45 !important;
  color: #24242c !important;
  margin: 0 0 1.1rem !important;
  max-width: 48ch;
}

.entry-content p.klug-meta {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: #6a6a75 !important;
  margin: 0 !important;
  max-width: 70ch;
}

.klug-meta strong {
  color: #3a3a45;
  font-weight: 600;
}

@media (max-width: 700px) {
  .klug-leadfig { padding-top: 1.2rem; margin-bottom: 2rem !important; }
}

/* Section 37's boxed grid is retained only for any figure row not yet
   converted; it should end up unused. */

/* ============================================================================
   39. TRACK RECORD ITEMS READ AS A SET  (added 19 Aug 2026)

   The four career items were floating text of four different lengths, so the
   block read as ragged even though the columns themselves were correctly
   sized. Owner: "these tiles are all different sizes and look messy."

   Two mechanisms, and the first matters more than the second. A shared
   hairline across all four tops gives the eye one line to register, which is
   what makes a set read as deliberate; ragged bottoms then stop mattering
   because nothing is drawing attention to them. Reserving two lines of
   heading height keeps every body paragraph starting on the same baseline
   regardless of whether a title wraps.
============================================================================ */

.klug-statband .wp-block-columns > .wp-block-column {
  border-top: 1px solid #d9d9d4;
  padding-top: 1.5rem !important;
}

.klug-statband .wp-block-columns > .wp-block-column h3 {
  min-height: 2.6em;
  margin: 0 0 0.9rem !important;
}

.entry-content .klug-statband .wp-block-columns > .wp-block-column p:not(.klug-num) {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.entry-content .klug-statband p.klug-num {
  margin: 0 0 0.8rem !important;
}

@media (max-width: 700px) {
  .klug-statband .wp-block-columns > .wp-block-column h3 { min-height: 0; }
}

/* ============================================================================
   40. PREMIUM PASS  (added 19 Aug 2026)

   Owner: "visually the website looks very basic. It needs to be premium."

   Correct, and the cause is partly mine. The system was derived from Klug's
   report templates, where restraint is right because a report is read, not
   looked at. Applied to a website that carries no photography at all, the
   same restraint reads as thin rather than considered.

   Without imagery the weight has to come from typography and surface. Four
   moves: display type at genuine display scale, navy given depth instead of
   sitting flat, finer and more confident detailing, and more air. Nothing
   here adds decoration - no gradients on content, no shadows on text, no
   rounded card language. It makes the existing restraint look deliberate.
============================================================================ */

/* --- 1. Display type at real scale --------------------------------------- */

.klug-hero h1 {
  font-size: clamp(3.2rem, 6.4vw, 5.5rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.032em !important;
  font-weight: 700 !important;
  margin-bottom: 2rem !important;
}

.entry-content .klug-hero p.klug-lede {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 54ch;
}

.klug-sechead h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.022em !important;
}

/* --- 2. Depth on navy ---------------------------------------------------- */
/* A single very soft highlight from the top-left, roughly 4% lift. Enough to
   stop a large navy field reading as flat fill; not enough to be seen as a
   gradient. */

.klug-hero,
.klug-onnavy,
.entry-content [style*="background-color:#1B1464"] {
  background-image:
    radial-gradient(120% 100% at 12% 0%, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0) 58%);
  background-repeat: no-repeat;
}

/* A hairline of brand red across the top of every navy band - the one
   chromatic event, and it is the logo colour. */
.klug-hero,
.klug-onnavy {
  position: relative;
}

.klug-hero::before,
.klug-onnavy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 3px;
  background: var(--klug-red);
}

/* --- 3. Finer detailing --------------------------------------------------- */

.entry-content p.klug-eyebrow,
.klug-hero p.klug-eyebrow,
.klug-onnavy p.klug-eyebrow {
  font-size: 0.75rem !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 1.5rem !important;
}

/* Lead figures: lighter weight at large size reads as confidence, not shouting */
.entry-content p.klug-bignum-lead {
  font-size: clamp(3rem, 6vw, 4.6rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.038em !important;
}

.klug-leadfig {
  border-top-width: 2px;
  padding-top: 2rem;
}

/* Tiles: lighter border, deeper inset, slower and smaller hover travel */
.klug-tile,
.klug-svc .wp-block-group,
.klug-cases .wp-block-column > .wp-block-group {
  border-color: #e6e6e2;
  padding: 2.3rem 2.1rem 2.4rem !important;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.klug-tile:hover,
.klug-svc .wp-block-group:hover,
.klug-cases .wp-block-column > .wp-block-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(27, 20, 100, 0.07);
}

/* Table: more air, lighter rules - it is a document device, treat it as one */
.entry-content table th {
  padding: 14px 16px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

.entry-content table td {
  padding: 15px 16px !important;
  border-color: #e6e6e2 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.entry-content table tr:hover td { background: #fafaf8; }

/* --- 4. More air ---------------------------------------------------------- */

.entry-content > .wp-block-group.klug-hero {
  padding-top: 128px !important;
  padding-bottom: 128px !important;
}

.entry-content > .wp-block-group:not(.klug-hero):not(.klug-strip):not(.klug-pagenav) {
  padding-top: 104px !important;
  padding-bottom: 104px !important;
}

.entry-content .klug-sechead { margin-bottom: 4rem !important; }

@media (max-width: 781px) {
  .entry-content > .wp-block-group.klug-hero {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
  .entry-content > .wp-block-group:not(.klug-hero):not(.klug-strip):not(.klug-pagenav) {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .klug-hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem) !important; }
}

/* ===================== end of stylesheet ================================== */

/* 41. Services grid reading order.
   The six service tiles live in three WordPress columns of two.
   display:contents flattens them into the grid in DOM order, which
   filled row-major and scrambled the sequence to 01 04 02 / 05 03 06.
   Filling column-major restores 01 02 03 / 04 05 06. */
/* Column flow only holds while the grid is genuinely three tracks wide.
   The track count already steps down elsewhere in this sheet — two tracks
   at 1000px, one at 700px — and forcing column flow with two fixed rows
   below that point spills the fifth and sixth tiles into an implicit
   third column that runs off the side of the viewport. */
@media (min-width: 1001px) {
  .klug-svc {
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
  }
}

/* 45. Mobile corrections to sections 41-43.
   Two rules added for desktop did not reset cleanly on narrow screens and
   pushed content past the viewport, which is what makes a phone scroll
   sideways and feel broken. */

/* 45b. The lead figure was given width:100% and max-width:none so it could
   fill its band. The mobile override reset only the display, leaving it
   free to exceed its container. Hand the width back to the layout. */
@media (max-width: 900px) {
  .home .klug-leadfig {
    width: auto;
    max-width: 100%;
  }
  .home .klug-leadfig > .klug-leadcap,
  .home .klug-leadfig > .klug-meta {
    max-width: 100%;
  }
}

/* 45c. Nothing inside the content column may set its own width wider than
   the column. Long unbroken strings are the other common cause. */
.entry-content img,
.entry-content table {
  max-width: 100%;
}

/* 44. Insights cards: restore the headline.
   The post title was present in the query loop but rendering at
   display:none, so every card showed only a date and an excerpt with
   nothing to catch the eye. The title is the hook — it leads the card. */
.klug-tile .wp-block-post-title {
  display: block !important;
  margin: 0.5rem 0 0.6rem;
  font-size: 1.18rem;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.klug-tile .wp-block-post-title a {
  color: #1b1464;
  text-decoration: none;
}
.klug-tile .wp-block-post-title a:hover,
.klug-tile .wp-block-post-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.klug-tile .wp-block-post-excerpt__excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

/* 43. Lead figure fills its band.
   The figure, caption and supporting detail were all stacked in a narrow
   left column, leaving the right half of the track-record band empty.
   Two columns: the number and its caption on the left, the portfolio
   detail set against it on the right, baseline-aligned. */
/* Homepage only. The case studies use .klug-leadfig too, with their own
   two-column rule and their own collapse at 940px, and the base rule holds
   it to a 62ch measure. Widening it globally would have reached all of
   those. */
.home .klug-leadfig {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: 72px;
  align-items: start;
}
.home .klug-leadfig > .klug-bignum-lead { grid-column: 1; grid-row: 1; }
.home .klug-leadfig > .klug-leadcap     { grid-column: 1; grid-row: 2; max-width: none; }
.home .klug-leadfig > .klug-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: none;
  margin-top: 0;
}
@media (max-width: 900px) {
  .home .klug-leadfig {
    display: block;
  }
  .home .klug-leadfig > .klug-meta {
    margin-top: 1.25rem;
  }
}

/* 42. Hero photography.
   Auckland context imagery sits behind the navy. A horizontal gradient
   keeps the type side almost solid for contrast and lets the photograph
   carry the right-hand half, which was previously empty.
   Only Home, About and Case Studies carry a photograph — the remaining
   heroes stay plain navy so the device does not wear out. */
.klug-hero {
  background-repeat: no-repeat;
  background-position: center, center, center right;
  background-size: auto, auto, cover;
}
.home .klug-hero,
.page-id-187 .klug-hero,
.page-id-175 .klug-hero {
  background-image:
    radial-gradient(120% 100% at 12% 0%, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0) 58%),
    linear-gradient(100deg,
      rgba(27,20,100,0.975) 0%,
      rgba(27,20,100,0.945) 36%,
      rgba(27,20,100,0.66) 70%,
      rgba(27,20,100,0.46) 100%),
    var(--klug-hero-photo);
}
.home .klug-hero {
  --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-20290332-scaled.jpeg);
}
.page-id-187 .klug-hero {
  --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-20290332-scaled.jpeg);
}
.page-id-175 .klug-hero {
  --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-31168400-scaled.jpeg);
}

/* Narrow screens: the text runs the full width, so the overlay has to
   carry almost the whole frame or the headline loses contrast. */
@media (max-width: 900px) {
  .home .klug-hero,
  .page-id-187 .klug-hero,
  .page-id-175 .klug-hero {
    background-image:
      radial-gradient(120% 100% at 12% 0%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 58%),
      linear-gradient(180deg,
        rgba(27,20,100,0.965) 0%,
        rgba(27,20,100,0.93) 62%,
        rgba(27,20,100,0.80) 100%),
      var(--klug-hero-photo);
    background-position: center, center, center;
  }
  /* Serve a 900px file to phones. The desktop heroes are 2560px JPEGs and
     there is no reason to push those down a cellular connection to fill a
     390px frame. */
  .home .klug-hero {
    --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-20290332-1.jpeg);
  }
  .page-id-187 .klug-hero {
    --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-27961851-1.jpeg);
  }
  .page-id-175 .klug-hero {
    --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-31168400-1.jpeg);
  }
}


/* ============================================================================
   45. INSIGHTS — CLASSIFICATION AS THE HOOK  (added 19 Aug 2026)

   The tiles opened with a date, which tells a reader nothing about whether
   the piece is for them. The owner's note was that the cards had no hook and
   nothing to catch the eye. The category now leads the tile as a tinted chip,
   the headline follows, and the date drops to the foot of the tile where
   metadata belongs.

   These rules are deliberately NOT scoped to page 89 — the new archive
   template (wp_template "archive") uses the same tile.
============================================================================ */

.klug-postgrid .klug-tile {
  display: flex;
  flex-direction: column;
}

.klug-tilecat {
  margin: 0 0 0.85rem !important;
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

.klug-tilecat a,
.klug-tilecat a:visited {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(27, 20, 100, 0.075);
  color: var(--klug-navy) !important;
  text-decoration: none !important;
  transition: background 160ms ease, color 160ms ease;
}

.klug-tilecat a:hover,
.klug-tilecat a:focus-visible {
  background: var(--klug-navy);
  color: #ffffff !important;
}

/* A post filed under two categories renders "Leasing, Valuation". The comma
   would sit between two chips and read as a stray mark. */
.klug-tilecat .wp-block-post-terms__separator {
  visibility: hidden;
  font-size: 0;
  margin: 0 2px;
}

/* The date is metadata now. This has to beat the section 26 eyebrow
   treatment, which still applies to any post date outside a tile. */
.klug-postgrid .klug-tile .klug-postdate {
  margin: 0 !important;
  margin-top: auto !important;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(27, 20, 100, 0.1);
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none;
  color: #666670 !important;
}

/* The excerpt must not push the date off the baseline it shares with its
   neighbours — it takes the slack, the date stays pinned to the foot. */
.klug-postgrid .klug-tile .wp-block-post-excerpt {
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------------------
   Topic navigation. Reading order across a twelve-post index is a guess
   unless the reader can narrow it. The categories already existed as terms;
   this surfaces them as a filter and gives the archive pages a way back.
--------------------------------------------------------------------------- */

.klug-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--klug-border, #cccccc);
}

.klug-topics a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(27, 20, 100, 0.2);
  border-radius: 3px;
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--klug-navy);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.klug-topics a:hover,
.klug-topics a:focus-visible,
.klug-topics a.is-current {
  background: var(--klug-navy);
  border-color: var(--klug-navy);
  color: #ffffff;
}

/* The nav is static markup shared by every archive, so the current topic is
   marked from the body class WordPress already emits rather than per page. */
body.category-leasing .klug-topics a[href="/category/leasing/"],
body.category-development .klug-topics a[href="/category/development/"],
body.category-valuation .klug-topics a[href="/category/valuation/"],
body.category-opex-service-charges .klug-topics a[href="/category/opex-service-charges/"],
body.category-network-planning .klug-topics a[href="/category/network-planning/"],
body.category-disputes .klug-topics a[href="/category/disputes/"],
body.category-construction .klug-topics a[href="/category/construction/"] {
  background: var(--klug-navy);
  border-color: var(--klug-navy);
  color: #ffffff;
}

/* On an archive the "All" chip is a way back to the index, not the state. */
body.archive .klug-topics a.is-current {
  background: transparent;
  border-color: rgba(27, 20, 100, 0.2);
  color: var(--klug-navy);
}

@media (max-width: 600px) {
  .klug-topics {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 22px;
    margin-bottom: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .klug-topics::-webkit-scrollbar { display: none; }
  .klug-topics a { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------------------
   46. ARCHIVE TEMPLATE  (added 19 Aug 2026)

   Category, tag, author and date archives previously fell through to the
   stock twentytwentyfive archive.html, which rendered EVERY post's full body
   on one page behind a theme-default photograph — seven complete articles
   under a black serif "Category: Leasing". They are in the sitemap, so this
   was live, indexed and duplicating the posts themselves.

   The wp_template "archive" (post 1265) replaces it with the site's own
   navy hero, topic nav and excerpt tiles. Only the leftovers need styling.
--------------------------------------------------------------------------- */

body.archive .wp-block-query-title {
  margin: 0;
}

/* A term with no description renders an empty block that still takes rhythm. */
body.archive .wp-block-term-description:empty {
  display: none;
}

body.archive .klug-hero .wp-block-term-description p:last-child {
  margin-bottom: 0;
}

/* The stock archive put a featured image above every entry. Nothing in the
   new template requests one, but the theme's own patterns can reintroduce
   them on tag and author archives, which share this template. */
body.archive .klug-postgrid .wp-block-post-featured-image {
  display: none;
}




/* ============================================================================
   47. INTERACTIVE TOOLS  (added 19 Aug 2026)

   The lease calculators at /tools/. Namespaced under .klug-tool with its own
   --kt-* tokens, so a tool cannot inherit surprises from the page it sits on
   and cannot leak styling back out to it. The tokens mirror the site tokens
   deliberately rather than referencing them, because a tool is pasted into a
   wp:html block and has to survive on its own.

   Data-mark colours: brand navy #1B1464 fails lightness validation as a chart
   mark, so bars use the lifted step #4A43B8 from the design system, with
   #F01942 as the accent on the single quantity being argued.
============================================================================ */

.klug-tool{--kt-navy:#1B1464;--kt-navy-2:#161690;--kt-red:#F01942;--kt-grey:#666;--kt-border:#CCC;--kt-ink:#15151A;--kt-tint:rgba(27,20,100,.045);font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--kt-ink);font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
.klug-tool *,.klug-tool *::before,.klug-tool *::after{box-sizing:border-box}
.klug-tool h2,.klug-tool h3,.klug-tool h4{font-family:'Source Sans 3',-apple-system,sans-serif;color:var(--kt-navy);letter-spacing:-.006em}
.klug-tool .kt-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);margin:0 0 .6rem}
.klug-tool .kt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;border:1px solid var(--kt-border);border-radius:3px;overflow:hidden;background:#fff}
.klug-tool .kt-inputs{padding:30px 32px 34px;border-right:1px solid var(--kt-border)}
.klug-tool .kt-results{padding:30px 32px 34px;background:var(--kt-tint)}
.klug-tool fieldset{border:0;margin:0 0 22px;padding:0}
.klug-tool legend{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);padding:0;margin:0 0 14px;width:100%;border-bottom:2px solid var(--kt-navy-2);padding-bottom:7px}
.klug-tool .kt-field{margin:0 0 15px}
.klug-tool .kt-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.klug-tool label{display:block;font-size:.9375rem;font-weight:600;color:var(--kt-ink);margin:0 0 5px;line-height:1.35}
.klug-tool .kt-hint{display:block;font-size:.8125rem;font-weight:400;color:var(--kt-grey);margin-top:2px;line-height:1.4}
.klug-tool .kt-inputwrap{position:relative;display:flex;align-items:stretch}
.klug-tool .kt-pre,.klug-tool .kt-suf{display:flex;align-items:center;padding:0 10px;background:#f4f4f7;border:1px solid var(--kt-border);color:var(--kt-grey);font-size:.9375rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.klug-tool .kt-pre{border-right:0;border-radius:3px 0 0 3px}
.klug-tool .kt-suf{border-left:0;border-radius:0 3px 3px 0}
.klug-tool input[type=number],.klug-tool input[type=date],.klug-tool select{width:100%;min-width:0;padding:9px 11px;border:1px solid var(--kt-border);border-radius:3px;font-family:inherit;font-size:1rem;font-variant-numeric:tabular-nums;color:var(--kt-ink);background:#fff;-moz-appearance:textfield}
.klug-tool .kt-inputwrap input{border-radius:0}
.klug-tool .kt-inputwrap .kt-pre+input{border-radius:0 3px 3px 0}
.klug-tool .kt-inputwrap input:has(+.kt-suf){border-radius:3px 0 0 3px}
.klug-tool .kt-pre+input+.kt-suf{border-radius:0 3px 3px 0}
.klug-tool .kt-pre+input{border-left:0}
.klug-tool input:focus-visible,.klug-tool select:focus-visible,.klug-tool button:focus-visible{outline:2px solid var(--kt-navy);outline-offset:1px}
.klug-tool input[type=number]::-webkit-outer-spin-button,.klug-tool input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.klug-tool .kt-seg{display:flex;border:1px solid var(--kt-border);border-radius:3px;overflow:hidden}
.klug-tool .kt-seg label{flex:1;margin:0;text-align:center;font-size:.875rem;font-weight:600;padding:9px 6px;cursor:pointer;background:#fff;color:var(--kt-navy);border-right:1px solid var(--kt-border);transition:background .15s,color .15s}
.klug-tool .kt-seg label:last-child{border-right:0}
.klug-tool .kt-seg input{position:absolute;opacity:0;width:1px;height:1px}
.klug-tool .kt-seg input:checked+span{color:#fff}
.klug-tool .kt-seg label:has(input:checked){background:var(--kt-navy);color:#fff}
.klug-tool .kt-seg label:has(input:focus-visible){outline:2px solid var(--kt-navy);outline-offset:-2px}
.klug-tool details.kt-adv{margin:0 0 20px;border-top:1px solid var(--kt-border);padding-top:16px}
.klug-tool details.kt-adv>summary{cursor:pointer;font-size:.9375rem;font-weight:600;color:var(--kt-navy);list-style:none;display:flex;align-items:center;gap:7px;padding:2px 0}
.klug-tool details.kt-adv>summary::-webkit-details-marker{display:none}
.klug-tool details.kt-adv>summary::before{content:"+";display:inline-block;width:15px;font-weight:700;font-size:1.05rem;line-height:1}
.klug-tool details.kt-adv[open]>summary::before{content:"\2013"}
.klug-tool details.kt-adv>div{padding-top:16px}
.klug-tool .kt-headline{margin:0 0 4px;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy)}
.klug-tool .kt-big{font-size:clamp(2.5rem,5.5vw,3.4rem);font-weight:700;line-height:1;color:var(--kt-navy);font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:0}
.klug-tool .kt-bigunit{font-size:1rem;font-weight:600;color:var(--kt-grey);letter-spacing:0;margin-left:6px}
.klug-tool .kt-bigcap{margin:.55rem 0 0;font-size:.9375rem;color:var(--kt-grey);line-height:1.45}
.klug-tool .kt-rule{height:3px;background:var(--kt-navy-2);width:100px;margin:20px 0 22px;border:0}
.klug-tool dl.kt-dl{margin:0;padding:0;display:grid;grid-template-columns:1fr auto;gap:0}
.klug-tool dl.kt-dl dt{padding:10px 0;border-top:1px solid var(--kt-border);font-size:.9375rem;color:var(--kt-ink);min-width:0}
.klug-tool dl.kt-dl dd{padding:10px 0;border-top:1px solid var(--kt-border);margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:700;color:var(--kt-navy);white-space:nowrap;padding-left:14px}
.klug-tool dl.kt-dl dt.kt-em,.klug-tool dl.kt-dl dd.kt-em{border-top:2px solid var(--kt-navy-2);font-weight:700}
.klug-tool dl.kt-dl dt small{display:block;font-size:.8125rem;color:var(--kt-grey);font-weight:400;line-height:1.35;margin-top:1px}
.klug-tool .kt-chip{display:inline-block;padding:2px 10px;border-radius:3px;font-size:.8rem;font-weight:700;color:#fff;background:var(--kt-navy);letter-spacing:.02em}
.klug-tool .kt-chip--gap{background:#4A43B8}
.klug-tool table.kt-table{width:100%;border-collapse:collapse;font-size:.9375rem;font-variant-numeric:tabular-nums;margin:0}
.klug-tool table.kt-table th{background:var(--kt-navy);color:#fff;font-weight:700;text-align:right;padding:9px 12px;font-size:.875rem;white-space:nowrap}
.klug-tool table.kt-table th:first-child{text-align:left}
.klug-tool table.kt-table td{border-bottom:1px solid var(--kt-border);padding:8px 12px;text-align:right;white-space:nowrap}
.klug-tool table.kt-table td:first-child{text-align:left;font-weight:600}
.klug-tool table.kt-table tr.kt-free td{color:var(--kt-grey);font-style:italic}
.klug-tool table.kt-table tfoot td{border-top:2px solid var(--kt-navy-2);border-bottom:0;font-weight:700;color:var(--kt-navy)}
.klug-tool .kt-tablewrap{overflow-x:auto;border:1px solid var(--kt-border);border-radius:3px;margin:0}
.klug-tool .kt-bars{margin:0;padding:22px 24px;list-style:none;border:1px solid var(--kt-border);border-radius:3px;max-width:760px}
.klug-tool .kt-bars li{margin:0 0 16px}.klug-tool .kt-bars li:last-child{margin-bottom:0}
.klug-tool .kt-barlab{display:flex;justify-content:space-between;gap:12px;font-size:.9375rem;margin:0 0 5px;font-variant-numeric:tabular-nums}
.klug-tool .kt-barlab b{color:var(--kt-navy)}
.klug-tool .kt-bartrack{height:12px;background:rgba(27,20,100,.08);border-radius:2px;overflow:hidden}
.klug-tool .kt-barfill{height:100%;background:var(--kt-navy);border-radius:2px;transition:width .35s ease}
.klug-tool .kt-barfill--eff{background:#4A43B8}
.klug-tool .kt-barfill--inc{background:var(--kt-red)}
.klug-tool .kt-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
.klug-tool button.kt-btn{font-family:inherit;font-size:.9375rem;font-weight:600;padding:11px 20px;border-radius:3px;border:1px solid var(--kt-navy);background:var(--kt-navy);color:#fff;cursor:pointer;transition:background .15s,color .15s}
.klug-tool button.kt-btn--ghost{background:transparent;color:var(--kt-navy)}
.klug-tool button.kt-btn:hover{background:var(--kt-navy-2);color:#fff;border-color:var(--kt-navy-2)}
.klug-tool .kt-note{font-size:.875rem;color:var(--kt-grey);line-height:1.55;margin:22px 0 0;padding-top:16px;border-top:1px solid var(--kt-border)}
.klug-tool .kt-note b{color:var(--kt-navy)}
.klug-tool .kt-sectitle{margin:44px 0 16px}
.klug-tool .kt-sectitle h3{font-size:1.3125rem;font-weight:700;margin:0 0 4px}
.klug-tool .kt-sectitle p{margin:0;font-size:.9375rem;color:var(--kt-grey)}
.klug-tool .kt-warn{margin:14px 0 0;padding:11px 14px;border-left:3px solid #D4880F;background:rgba(212,136,15,.07);font-size:.9rem;line-height:1.5;color:var(--kt-ink)}
.klug-tool .kt-warn[hidden]{display:none}
.klug-tool .kt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:860px){
.klug-tool .kt-grid{grid-template-columns:minmax(0,1fr)}
.klug-tool .kt-inputs{border-right:0;border-bottom:1px solid var(--kt-border);padding:24px 20px 28px}
.klug-tool .kt-results{padding:24px 20px 28px}
.klug-tool .kt-row{grid-template-columns:1fr}
}
@media print{
.klug-tool .kt-actions,.klug-tool details.kt-adv{display:none}
.klug-tool .kt-grid{grid-template-columns:1fr 1fr;border-color:#999}
.klug-tool .kt-results{background:#fff}
}

/* Critical-dates tool additions */
.klug-tool table.kt-table--dates td:nth-child(2){text-align:left;font-weight:400;white-space:normal;min-width:230px}
.klug-tool table.kt-table--dates td:nth-child(3){text-align:left;white-space:normal}
.klug-tool table.kt-table td:first-child{white-space:nowrap}
.klug-tool tr.kt-past td{color:#8a8a95}
.klug-tool tr.kt-critical td{background:rgba(240,25,66,.035)}
.klug-tool tr.kt-critical td:nth-child(3) b{color:var(--kt-red)}
.klug-tool .kt-actlab{display:inline-block;font-size:.8125rem;color:var(--kt-grey);line-height:1.3}
.klug-tool .kt-est{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:2px;background:rgba(27,20,100,.08);color:var(--kt-navy);font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}
.klug-tool input[type=date]{min-height:41px}

/* Header alignment has to follow the cells it sits above. */
.klug-tool table.kt-table--dates th:nth-child(2),
.klug-tool table.kt-table--dates th:nth-child(3){text-align:left}
/* A short standing note, sized to fill the results column rather than leave it hollow. */
.klug-tool .kt-aside{margin:26px 0 0;padding:16px 18px;border-left:3px solid var(--kt-red);background:rgba(240,25,66,.035)}
.klug-tool .kt-aside p{margin:0;font-size:.9375rem;line-height:1.55;color:var(--kt-ink)}
.klug-tool .kt-asidehead{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);margin:0 0 .45rem !important}
.klug-tool .kt-aside b{color:var(--kt-navy)}

/* Tools run the full measure. Section 30 constrains .entry-content children to
   one reading measure, which is right for prose and wrong for a sixteen-row
   table of dates. */
/* (removed 19 Aug 2026: a full-measure rule that was scoped to .klug-tool and
   therefore hit the existing tile component. The calculators are .klug-calc
   and carry their own rule in section 47.) */

/* ============================================================================
   47. CALCULATORS  (added 19 Aug 2026)

   Namespaced under .klug-calc with its own --kt-* tokens. NOTE: an earlier
   version used .klug-tool, which collides with the existing tile component
   (sections 16 and 24) and caused a 15px page overflow plus content-box
   sizing. Do not reintroduce that name.

   Paragraph rules carry !important because the theme sets
   `.entry-content p, .wp-block-group p { font-size:1.1875rem !important }`,
   which otherwise flattens every figure in the results panel to body size.

   Data marks use the lifted step #4A43B8 from the design system; brand navy
   fails lightness validation as a chart colour.
============================================================================ */
.klug-calc{--kt-navy:#1B1464;--kt-navy-2:#161690;--kt-red:#F01942;--kt-grey:#666;--kt-border:#CCC;--kt-ink:#15151A;--kt-tint:rgba(27,20,100,.045);font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--kt-ink);font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
.klug-calc *,.klug-calc *::before,.klug-calc *::after{box-sizing:border-box}
.klug-calc h2,.klug-calc h3,.klug-calc h4{font-family:'Source Sans 3',-apple-system,sans-serif;color:var(--kt-navy);letter-spacing:-.006em}
.klug-calc .kt-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);margin:0 0 .6rem}
.klug-calc .kt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;border:1px solid var(--kt-border);border-radius:3px;overflow:hidden;background:#fff}
.klug-calc .kt-inputs{padding:30px 32px 34px;border-right:1px solid var(--kt-border)}
.klug-calc .kt-results{padding:30px 32px 34px;background:var(--kt-tint)}
.klug-calc fieldset{border:0;margin:0 0 22px;padding:0}
.klug-calc legend{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);padding:0;margin:0 0 14px;width:100%;border-bottom:2px solid var(--kt-navy-2);padding-bottom:7px}
.klug-calc .kt-field{margin:0 0 15px}
.klug-calc .kt-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.klug-calc label{display:block;font-size:.9375rem;font-weight:600;color:var(--kt-ink);margin:0 0 5px;line-height:1.35}
.klug-calc .kt-hint{display:block;font-size:.8125rem;font-weight:400;color:var(--kt-grey);margin-top:2px;line-height:1.4}
.klug-calc .kt-inputwrap{position:relative;display:flex;align-items:stretch}
.klug-calc .kt-pre,.klug-calc .kt-suf{display:flex;align-items:center;padding:0 10px;background:#f4f4f7;border:1px solid var(--kt-border);color:var(--kt-grey);font-size:.9375rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.klug-calc .kt-pre{border-right:0;border-radius:3px 0 0 3px}
.klug-calc .kt-suf{border-left:0;border-radius:0 3px 3px 0}
.klug-calc input[type=number],.klug-calc input[type=date],.klug-calc select{width:100%;min-width:0;padding:9px 11px;border:1px solid var(--kt-border);border-radius:3px;font-family:inherit;font-size:1rem;font-variant-numeric:tabular-nums;color:var(--kt-ink);background:#fff;-moz-appearance:textfield}
.klug-calc .kt-inputwrap input{border-radius:0}
.klug-calc .kt-inputwrap .kt-pre+input{border-radius:0 3px 3px 0}
.klug-calc .kt-inputwrap input:has(+.kt-suf){border-radius:3px 0 0 3px}
.klug-calc .kt-pre+input+.kt-suf{border-radius:0 3px 3px 0}
.klug-calc .kt-pre+input{border-left:0}
.klug-calc input:focus-visible,.klug-calc select:focus-visible,.klug-calc button:focus-visible{outline:2px solid var(--kt-navy);outline-offset:1px}
.klug-calc input[type=number]::-webkit-outer-spin-button,.klug-calc input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.klug-calc .kt-seg{display:flex;border:1px solid var(--kt-border);border-radius:3px;overflow:hidden}
.klug-calc .kt-seg label{flex:1;margin:0;text-align:center;font-size:.875rem;font-weight:600;padding:9px 6px;cursor:pointer;background:#fff;color:var(--kt-navy);border-right:1px solid var(--kt-border);transition:background .15s,color .15s}
.klug-calc .kt-seg label:last-child{border-right:0}
.klug-calc .kt-seg input{position:absolute;opacity:0;width:1px;height:1px}
.klug-calc .kt-seg input:checked+span{color:#fff}
.klug-calc .kt-seg label:has(input:checked){background:var(--kt-navy);color:#fff}
.klug-calc .kt-seg label:has(input:focus-visible){outline:2px solid var(--kt-navy);outline-offset:-2px}
.klug-calc details.kt-adv{margin:0 0 20px;border-top:1px solid var(--kt-border);padding-top:16px}
.klug-calc details.kt-adv>summary{cursor:pointer;font-size:.9375rem;font-weight:600;color:var(--kt-navy);list-style:none;display:flex;align-items:center;gap:7px;padding:2px 0}
.klug-calc details.kt-adv>summary::-webkit-details-marker{display:none}
.klug-calc details.kt-adv>summary::before{content:"+";display:inline-block;width:15px;font-weight:700;font-size:1.05rem;line-height:1}
.klug-calc details.kt-adv[open]>summary::before{content:"\2013"}
.klug-calc details.kt-adv>div{padding-top:16px}
.klug-calc .kt-headline{margin:0 0 4px;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy)}
.klug-calc .kt-big{font-size:clamp(2.5rem,5.5vw,3.4rem);font-weight:700;line-height:1;color:var(--kt-navy);font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:0}
.klug-calc .kt-bigunit{font-size:1rem;font-weight:600;color:var(--kt-grey);letter-spacing:0;margin-left:6px}
.klug-calc .kt-bigcap{margin:.55rem 0 0;font-size:.9375rem;color:var(--kt-grey);line-height:1.45}
.klug-calc .kt-rule{height:3px;background:var(--kt-navy-2);width:100px;margin:20px 0 22px;border:0}
.klug-calc dl.kt-dl{margin:0;padding:0;display:grid;grid-template-columns:1fr auto;gap:0}
.klug-calc dl.kt-dl dt{padding:10px 0;border-top:1px solid var(--kt-border);font-size:.9375rem;color:var(--kt-ink);min-width:0}
.klug-calc dl.kt-dl dd{padding:10px 0;border-top:1px solid var(--kt-border);margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:700;color:var(--kt-navy);white-space:nowrap;padding-left:14px}
.klug-calc dl.kt-dl dt.kt-em,.klug-calc dl.kt-dl dd.kt-em{border-top:2px solid var(--kt-navy-2);font-weight:700}
.klug-calc dl.kt-dl dt small{display:block;font-size:.8125rem;color:var(--kt-grey);font-weight:400;line-height:1.35;margin-top:1px}
.klug-calc .kt-chip{display:inline-block;padding:2px 10px;border-radius:3px;font-size:.8rem;font-weight:700;color:#fff;background:var(--kt-navy);letter-spacing:.02em}
.klug-calc .kt-chip--gap{background:#4A43B8}
.klug-calc table.kt-table{width:100%;border-collapse:collapse;font-size:.9375rem;font-variant-numeric:tabular-nums;margin:0}
.klug-calc table.kt-table th{background:var(--kt-navy);color:#fff;font-weight:700;text-align:right;padding:9px 12px;font-size:.875rem;white-space:nowrap}
.klug-calc table.kt-table th:first-child{text-align:left}
.klug-calc table.kt-table td{border-bottom:1px solid var(--kt-border);padding:8px 12px;text-align:right;white-space:nowrap}
.klug-calc table.kt-table td:first-child{text-align:left;font-weight:600}
.klug-calc table.kt-table tr.kt-free td{color:var(--kt-grey);font-style:italic}
.klug-calc table.kt-table tfoot td{border-top:2px solid var(--kt-navy-2);border-bottom:0;font-weight:700;color:var(--kt-navy)}
.klug-calc .kt-tablewrap{overflow-x:auto;border:1px solid var(--kt-border);border-radius:3px;margin:0}
.klug-calc .kt-bars{margin:0;padding:22px 24px;list-style:none;border:1px solid var(--kt-border);border-radius:3px;max-width:760px}
.klug-calc .kt-bars li{margin:0 0 16px}.klug-calc .kt-bars li:last-child{margin-bottom:0}
.klug-calc .kt-barlab{display:flex;justify-content:space-between;gap:12px;font-size:.9375rem;margin:0 0 5px;font-variant-numeric:tabular-nums}
.klug-calc .kt-barlab b{color:var(--kt-navy)}
.klug-calc .kt-bartrack{height:12px;background:rgba(27,20,100,.08);border-radius:2px;overflow:hidden}
.klug-calc .kt-barfill{height:100%;background:var(--kt-navy);border-radius:2px;transition:width .35s ease}
.klug-calc .kt-barfill--eff{background:#4A43B8}
.klug-calc .kt-barfill--inc{background:var(--kt-red)}
.klug-calc .kt-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
.klug-calc button.kt-btn{font-family:inherit;font-size:.9375rem;font-weight:600;padding:11px 20px;border-radius:3px;border:1px solid var(--kt-navy);background:var(--kt-navy);color:#fff;cursor:pointer;transition:background .15s,color .15s}
.klug-calc button.kt-btn--ghost{background:transparent;color:var(--kt-navy)}
.klug-calc button.kt-btn:hover{background:var(--kt-navy-2);color:#fff;border-color:var(--kt-navy-2)}
.klug-calc .kt-note{font-size:.875rem;color:var(--kt-grey);line-height:1.55;margin:22px 0 0;padding-top:16px;border-top:1px solid var(--kt-border)}
.klug-calc .kt-note b{color:var(--kt-navy)}
.klug-calc .kt-sectitle{margin:44px 0 16px}
.klug-calc .kt-sectitle h3{font-size:1.3125rem;font-weight:700;margin:0 0 4px}
.klug-calc .kt-sectitle p{margin:0;font-size:.9375rem;color:var(--kt-grey)}
.klug-calc .kt-warn{margin:14px 0 0;padding:11px 14px;border-left:3px solid #D4880F;background:rgba(212,136,15,.07);font-size:.9rem;line-height:1.5;color:var(--kt-ink)}
.klug-calc .kt-warn[hidden]{display:none}
.klug-calc .kt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:860px){
.klug-calc .kt-grid{grid-template-columns:minmax(0,1fr)}
.klug-calc .kt-inputs{border-right:0;border-bottom:1px solid var(--kt-border);padding:24px 20px 28px}
.klug-calc .kt-results{padding:24px 20px 28px}
.klug-calc .kt-row{grid-template-columns:1fr}
}
@media print{
.klug-calc .kt-actions,.klug-calc details.kt-adv{display:none}
.klug-calc .kt-grid{grid-template-columns:1fr 1fr;border-color:#999}
.klug-calc .kt-results{background:#fff}
}

/* Critical-dates tool additions */
.klug-calc table.kt-table--dates td:nth-child(2){text-align:left;font-weight:400;white-space:normal;min-width:230px}
.klug-calc table.kt-table--dates td:nth-child(3){text-align:left;white-space:normal}
.klug-calc table.kt-table td:first-child{white-space:nowrap}
.klug-calc tr.kt-past td{color:#8a8a95}
.klug-calc tr.kt-critical td{background:rgba(240,25,66,.035)}
.klug-calc tr.kt-critical td:nth-child(3) b{color:var(--kt-red)}
.klug-calc .kt-actlab{display:inline-block;font-size:.8125rem;color:var(--kt-grey);line-height:1.3}
.klug-calc .kt-est{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:2px;background:rgba(27,20,100,.08);color:var(--kt-navy);font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}
.klug-calc input[type=date]{min-height:41px}

/* Header alignment has to follow the cells it sits above. */
.klug-calc table.kt-table--dates th:nth-child(2),
.klug-calc table.kt-table--dates th:nth-child(3){text-align:left}
/* A short standing note, sized to fill the results column rather than leave it hollow. */
.klug-calc .kt-aside{margin:26px 0 0;padding:16px 18px;border-left:3px solid var(--kt-red);background:rgba(240,25,66,.035)}
.klug-calc .kt-aside p{margin:0;font-size:.9375rem;line-height:1.55;color:var(--kt-ink)}
.klug-calc .kt-asidehead{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kt-navy);margin:0 0 .45rem !important}
.klug-calc .kt-aside b{color:var(--kt-navy)}

/* The theme sets `.entry-content p, .wp-block-group p { font-size:1.1875rem
   !important; font-weight:400 !important }`, which beats every paragraph rule
   above. These are the same values, restated at the specificity needed to win. */
.klug-calc .kt-eyebrow{font-size:.8rem !important;font-weight:700 !important}
.klug-calc .kt-headline{font-size:.8rem !important;font-weight:700 !important}
.klug-calc .kt-big{font-size:clamp(2.5rem,5.5vw,3.4rem) !important;font-weight:700 !important;line-height:1 !important}
.klug-calc .kt-big .kt-bigunit{font-size:1rem !important;font-weight:600 !important}
.klug-calc .kt-bigcap{font-size:.9375rem !important;font-weight:400 !important}
.klug-calc .kt-note{font-size:.875rem !important;font-weight:400 !important}
.klug-calc .kt-sectitle p{font-size:.9375rem !important;font-weight:400 !important}
.klug-calc .kt-asidehead{font-size:.8rem !important;font-weight:700 !important}
.klug-calc .kt-aside p{font-size:.9375rem !important;font-weight:400 !important}
.klug-calc .kt-warn{font-size:.9rem !important;font-weight:400 !important}
.klug-calc .kt-tilelink{font-size:.9375rem !important}

/* ---------------------------------------------------------------------------
   Calculator gate.
--------------------------------------------------------------------------- */
.klug-calc .kt-gate{border:1px solid var(--kt-border);border-radius:3px;background:var(--kt-tint);padding:0;max-width:720px}
.klug-calc .kt-gatebox{max-width:640px;padding:34px 34px 36px}
.klug-calc .kt-gatehead{font-size:1.5rem !important;font-weight:700 !important;line-height:1.25;margin:.35rem 0 .6rem;color:var(--kt-navy)}
.klug-calc .kt-gateintro{font-size:1.0625rem !important;font-weight:400 !important;line-height:1.6;margin:0 0 22px;color:var(--kt-ink)}
.klug-calc .kt-gate input[type=text],.klug-calc .kt-gate input[type=email],.klug-calc .kt-gate input[type=tel]{width:100%;padding:9px 11px;border:1px solid var(--kt-border);border-radius:3px;font-family:inherit;font-size:1rem;color:var(--kt-ink);background:#fff}
.klug-calc .kt-gatenote{font-size:.875rem !important;font-weight:400 !important;line-height:1.55;color:var(--kt-grey);margin:6px 0 20px;padding-top:14px;border-top:1px solid var(--kt-border)}
.klug-calc .kt-gateerr{font-size:.9375rem !important;font-weight:600 !important;color:#B94A48;margin:0 0 14px}
.klug-calc .kt-gateerr[hidden]{display:none}
.klug-calc .kt-gate button.kt-btn{width:auto;min-width:220px}
.klug-calc .kt-gate button.kt-btn[disabled]{opacity:.6;cursor:default}
@media (max-width:860px){.klug-calc .kt-gatebox{padding:24px 20px 28px}}

/* Calculators run the full measure; section 30's one-measure rule is right for
   prose and wrong for a sixteen-row table of dates. */
.entry-content .klug-calc,
.klug-toolband .klug-calc{
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------------
   48. TWO CALCULATOR CORRECTIONS  (added 19 Aug 2026, after live QA)
--------------------------------------------------------------------------- */

/* The gate's submit button rendered brand red. The theme sets
   `.wp-site-blocks button[type="submit"]:not(.wp-element-button)` to accent-2,
   which outranks a plain class selector. Red is the logo mark, not a button. */
.klug-calc .kt-gate button.kt-btn,
.klug-calc button.kt-btn[type="submit"],
.wp-site-blocks .klug-calc button.kt-btn[type="submit"]:not(.wp-element-button) {
  background: var(--kt-navy) !important;
  border-color: var(--kt-navy) !important;
  color: #ffffff !important;
}
.wp-site-blocks .klug-calc button.kt-btn[type="submit"]:not(.wp-element-button):hover {
  background: var(--kt-navy-2) !important;
  border-color: var(--kt-navy-2) !important;
}

/* The critical-dates headline is a date, not a currency figure, so it is set
   smaller inline. Section 47's .kt-big carries !important to beat the theme's
   paragraph rule, which had the side effect of also beating that inline value. */
.klug-calc #kd-nextdate {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem) !important;
}


/* ---------------------------------------------------------------------------
   49. 404 TEMPLATE  (added 19 Aug 2026)

   The stock twentytwentyfive 404 used a theme photograph of a windswept tree.
   Replaced by the wp_template "404" (post 1318): navy hero and six routes.
   The routes reuse .klug-svc, but that grid normally sits inside
   .entry-content, and outside it the tiles inherit the theme's centred
   alignment.
--------------------------------------------------------------------------- */

body.error404 .klug-svc,
body.error404 .klug-svc .wp-block-group,
body.error404 .klug-svc p,
body.error404 .klug-svc h3 {
  text-align: left;
}

body.error404 .klug-svc h3 a {
  text-decoration: none;
}

body.error404 .klug-svc h3 a:hover,
body.error404 .klug-svc h3 a:focus-visible {
  color: var(--klug-red);
}


/* ============================================================================
   50. HOMEPAGE — APPROVED DIRECTION  (rebuilt 19 Aug 2026)

   Supersedes the first build and the three correction sections that followed
   it. Consolidated deliberately: stacking overrides on overrides is how the
   old stylesheet reached 130KB.

   Three structural corrections over the first attempt:

   1. ONE LEFT EDGE. Section heads previously hung a small eyebrow in a wide
      empty left column, so headings began 230px inside the margin while hero
      and body content began at it. Two competing left edges and a dead strip
      down the page. The eyebrow now sits directly above its heading and
      everything starts at the same place.

   2. ONE GRID. There were nine different column structures on one page. There
      is now a single 12-column grid; every block spans a named part of it.

   3. HIERARCHY. The figures were set larger than the section headings and
      nearly as large as the H1, which flattened the page. The scale now steps
      down cleanly: H1, then figures, then headings, then body.
============================================================================ */

.k2 {
  --k2-paper:#FAFAF8; --k2-paper-2:#F1F1ED;
  --k2-ink:#12121A; --k2-ink-2:#4C4C58; --k2-ink-3:#62626F;
  --k2-navy:#1B1464; --k2-deep:#0B0828;
  --k2-red:#F01942;
  --k2-rule:rgba(18,18,26,.14); --k2-rule-2:rgba(18,18,26,.28);
  --k2-hair:rgba(250,250,248,.18);
  --k2-pad:clamp(22px,4.4vw,72px);
  --k2-gap:clamp(16px,2vw,32px);
}
.k2 *, .k2 *::before, .k2 *::after { box-sizing:border-box; }
.k2 p { margin:0 !important; }

.k2-band { width:100%; }
.k2-in {
  max-width:1440px; margin:0 auto; padding-inline:var(--k2-pad);
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
}
/* default: every direct child spans the full grid */
.k2-in > * { grid-column:1 / -1; }

/* ---- type scale: five steps, no more ---------------------------------- */
.k2 .k2-eyebrow {
  font-family:'Source Sans 3',-apple-system,sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.19em;
  text-transform:uppercase; color:var(--k2-ink-3) !important;
  margin:0 0 14px !important; line-height:1.3 !important;
}
.k2 h1.k2-h1 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(2.6rem,7.2vw,6.4rem) !important; font-weight:700 !important;
  line-height:.94 !important; letter-spacing:-.038em; margin:0 !important;
  color:var(--k2-ink) !important;
}
.k2 h2.k2-h2 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(1.75rem,2.9vw,2.75rem) !important; font-weight:700 !important;
  line-height:1.06 !important; letter-spacing:-.028em; margin:0 !important;
  color:var(--k2-ink) !important; max-width:20ch;
}
.k2 h3.k2-h3 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:1.22rem !important; font-weight:700 !important; line-height:1.25 !important;
  letter-spacing:-.02em; margin:0 !important; color:var(--k2-ink) !important;
}
.k2 .k2-dek, .k2 .k2-lede {
  font-family:'Source Sans 3',-apple-system,sans-serif !important;
  font-weight:400 !important; color:var(--k2-ink-2) !important;
  font-size:1.0625rem !important; line-height:1.62 !important; max-width:56ch;
}
.k2 .k2-lede { font-size:1.15rem !important; line-height:1.55 !important; }
.k2 .k2-dek { margin-top:12px !important; }

/* ---- section head: one left edge --------------------------------------- */
.k2-head { margin-bottom:clamp(26px,3.2vw,46px); }
.k2-head > div:first-child { display:contents; }

/* ---- hero --------------------------------------------------------------
   Deep navy with the Auckland photograph behind it. The first build put the
   headline on paper, on the argument that the numbers should carry the page.
   In practice that gave two full screens of white before any colour arrived
   and the opening had no weight. The image returns — but the typography and
   the grid are the new ones, so this is not the old full-bleed-photo-with-a-
   centred-headline treatment.

   The gradient keeps the left two thirds near-solid so the headline holds
   contrast, and lets the photograph carry the right. */
.k2-hero {
  background-color:var(--k2-deep);
  background-image:
    linear-gradient(96deg,
      rgba(11,8,40,.97) 0%, rgba(11,8,40,.94) 34%,
      rgba(11,8,40,.72) 66%, rgba(11,8,40,.45) 100%),
    var(--k2-hero-photo);
  background-size:cover; background-position:center 55%; background-repeat:no-repeat;
  padding:clamp(56px,7.5vw,124px) 0 clamp(44px,5vw,80px);
  --k2-hero-photo:url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-20290332-scaled.jpeg);
}
.k2-hero h1.k2-h1 { color:var(--k2-paper) !important; }
.k2-hero .k2-eyebrow { color:rgba(250,250,248,.62) !important; }
.k2-hero .k2-lede { color:rgba(250,250,248,.84) !important; }
.k2-hero .k2-under { border-top-color:rgba(250,250,248,.22) !important; }
.k2-hero .k2-act a { color:var(--k2-paper) !important; border-bottom-color:var(--k2-red) !important; }

/* The track record sits on a tint so the page does not run as one unbroken
   white field between the hero and the services list. */
.k2-sec--tint { background:var(--k2-paper-2) !important; }
.k2-hero .k2-h1 { grid-column:1 / span 10; }
.k2-hero .k2-under {
  grid-column:1 / -1; margin-top:clamp(24px,3vw,42px); padding-top:22px;
  border-top:1px solid var(--k2-rule);
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  align-items:baseline; row-gap:14px;
}
.k2-hero .k2-lede { grid-column:1 / span 6; }
.k2-hero .k2-act  { grid-column:8 / span 5; }
.k2 .k2-act a {
  font-family:'Source Sans 3',sans-serif; font-size:.95rem; font-weight:700;
  color:var(--k2-navy); border-bottom:2px solid var(--k2-navy); padding-bottom:2px;
}

/* ---- sections ---------------------------------------------------------- */
.k2-sec  { background:var(--k2-paper); padding:clamp(46px,5.6vw,92px) 0; }
.k2-sec + .k2-sec { padding-top:0; }

/* ---- track record ------------------------------------------------------ */
.k2-lead {
  grid-column:1 / -1; border-top:2px solid var(--k2-ink); padding-top:26px;
  margin-bottom:clamp(22px,2.6vw,38px);
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  align-items:start; row-gap:16px;
}
.k2-lead > div { grid-column:1 / span 6; }
.k2 .k2-leadfig {
  font-family:'Source Serif 4',Georgia,serif; font-weight:700;
  font-variant-numeric:tabular-nums lining-nums; display:block;
  font-size:clamp(2.8rem,6.4vw,5.6rem); line-height:.86; letter-spacing:-.045em;
  color:var(--k2-navy);
}
.k2 .k2-leadcap {
  font-family:'Source Sans 3',sans-serif !important; font-size:1.0625rem !important;
  font-weight:400 !important; line-height:1.5 !important; color:var(--k2-ink) !important;
  max-width:36ch; margin-top:14px !important;
}
.k2 .k2-leadmeta {
  grid-column:7 / span 6;
  font-family:'Source Sans 3',sans-serif !important; font-size:.95rem !important;
  font-weight:400 !important; line-height:1.62 !important; color:var(--k2-ink-2) !important;
}
.k2-trk {
  grid-column:1 / -1; list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  border-top:1px solid var(--k2-rule); padding-top:22px;
}
.k2-trk li { grid-column:span 3; }
.k2 .k2-tn {
  font-family:'Source Sans 3',sans-serif; font-weight:700; font-size:.7rem;
  letter-spacing:.19em; color:var(--k2-ink-3); display:block; margin-bottom:10px;
}
.k2 .k2-trk p {
  font-family:'Source Sans 3',sans-serif !important; font-size:.95rem !important;
  font-weight:400 !important; line-height:1.55 !important; color:var(--k2-ink-2) !important;
  margin-top:8px !important;
}

/* ---- services ---------------------------------------------------------- */
.k2-svc { grid-column:1 / -1; border-top:1px solid var(--k2-rule); }
.k2-svc a {
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  align-items:center; padding:20px 0; border-bottom:1px solid var(--k2-rule);
  transition:background .25s;
}
.k2-svc a:hover { background:var(--k2-paper-2); }
.k2-svc .k2-ico { grid-column:1 / span 1; width:24px; height:24px; color:var(--k2-navy); }
.k2-svc .k2-ico svg { width:100%; height:100%; display:block; }
.k2 .k2-svc .k2-n {
  grid-column:2 / span 1; font-family:'Source Sans 3',sans-serif; font-weight:700;
  font-size:.7rem; letter-spacing:.19em; color:var(--k2-ink-3);
}
.k2-svc h3.k2-h3 { grid-column:3 / span 4; font-size:1.32rem !important; }
.k2 .k2-svc p {
  grid-column:7 / span 5;
  font-family:'Source Sans 3',sans-serif !important; font-size:1rem !important;
  font-weight:400 !important; line-height:1.55 !important; color:var(--k2-ink-2) !important;
}
.k2-svc .k2-arw { grid-column:12 / span 1; justify-self:end; color:var(--k2-navy); opacity:.3; transition:opacity .25s, transform .25s; }
.k2-svc a:hover .k2-arw { opacity:1; transform:translateX(5px); }
.k2-svc a:hover .k2-ico { color:var(--k2-red); }

/* ---- the record -------------------------------------------------------- */
.k2-deepband { background:var(--k2-deep); padding:clamp(50px,6vw,98px) 0; }
.k2-deepband h2.k2-h2 { color:var(--k2-paper) !important; }
.k2-deepband .k2-eyebrow { color:rgba(250,250,248,.55) !important; }
.k2-deepband .k2-dek { color:rgba(250,250,248,.7) !important; }
.k2-mon { grid-column:1 / -1; border-top:1px solid var(--k2-hair); }
.k2-mon .k2-row {
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  align-items:baseline; padding:24px 0; border-bottom:1px solid var(--k2-hair);
}
.k2 .k2-big {
  grid-column:1 / span 5;
  font-family:'Source Serif 4',Georgia,serif; font-weight:700;
  font-variant-numeric:tabular-nums lining-nums;
  font-size:clamp(2.4rem,5.2vw,4.6rem); line-height:.9; letter-spacing:-.042em;
  color:var(--k2-paper); display:flex; align-items:baseline; gap:.24em;
}
.k2 .k2-big--long { font-size:clamp(1.9rem,4vw,3.5rem); }
.k2 .k2-big i {
  font-style:normal; font-family:'Source Sans 3',sans-serif; font-size:.7rem;
  font-weight:700; letter-spacing:.19em; text-transform:uppercase; color:rgba(250,250,248,.55);
}
.k2 .k2-mon .k2-txt {
  grid-column:7 / span 6;
  font-family:'Source Sans 3',sans-serif !important; font-size:1.0625rem !important;
  font-weight:400 !important; line-height:1.55 !important;
  color:rgba(250,250,248,.82) !important;
}

/* ---- why --------------------------------------------------------------- */
.k2-why {
  grid-column:1 / -1;
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
}
.k2-why .k2-item { grid-column:span 6; padding:22px 0; border-top:1px solid var(--k2-rule); }
.k2 .k2-why .k2-mk {
  font-family:'Source Sans 3',sans-serif; font-weight:700; font-size:.7rem;
  letter-spacing:.19em; color:var(--k2-ink-3); display:block; margin-bottom:10px;
}
.k2 .k2-why p {
  font-family:'Source Sans 3',sans-serif !important; font-size:1rem !important;
  font-weight:400 !important; line-height:1.6 !important; color:var(--k2-ink-2) !important;
  margin-top:8px !important; max-width:52ch;
}

/* ---- case teasers ------------------------------------------------------ */
.k2-cases {
  grid-column:1 / -1;
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap);
  border-top:2px solid var(--k2-ink); padding-top:22px;
}
.k2-cases article { grid-column:span 4; }
.k2 .k2-cfig {
  font-family:'Source Serif 4',serif; font-weight:700; display:block;
  font-size:clamp(1.9rem,2.8vw,2.5rem); line-height:.95; letter-spacing:-.035em;
  color:var(--k2-navy); font-variant-numeric:tabular-nums;
}
.k2 .k2-cact {
  font-family:'Source Sans 3',sans-serif !important; font-size:.7rem !important;
  font-weight:700 !important; letter-spacing:.19em; text-transform:uppercase;
  color:var(--k2-ink-3) !important; display:block; margin-top:12px !important;
}
.k2-cases h3.k2-h3 { margin:8px 0 8px !important; }
.k2 .k2-cases p {
  font-family:'Source Sans 3',sans-serif !important; font-size:1rem !important;
  font-weight:400 !important; line-height:1.55 !important; color:var(--k2-ink-2) !important;
}
.k2 .k2-more {
  font-family:'Source Sans 3',sans-serif; font-size:.9rem; font-weight:700;
  color:var(--k2-navy); border-bottom:2px solid var(--k2-navy);
  display:inline-block; padding-bottom:2px; margin-top:14px;
}

/* ---- the single photograph --------------------------------------------- */
.k2-photo {
  height:clamp(180px,26vw,360px);
  background-image:linear-gradient(90deg,rgba(11,8,40,.6),rgba(11,8,40,.1) 60%,rgba(11,8,40,0)), var(--k2-photo);
  background-size:cover; background-position:center 60%;
}
.k2-photo .k2-in { height:100%; align-content:end; padding-bottom:22px; }
.k2 .k2-photocap {
  font-family:'Source Sans 3',sans-serif !important; font-size:.7rem !important;
  font-weight:700 !important; letter-spacing:.19em; text-transform:uppercase;
  color:rgba(250,250,248,.9) !important;
}

/* ---- insight feature & close ------------------------------------------- */
.k2-feat  { background:var(--k2-paper-2); padding:clamp(46px,5.6vw,88px) 0; }
.k2-close { background:var(--k2-navy);    padding:clamp(50px,6vw,96px) 0; }
.k2-feat .k2-split, .k2-close .k2-split {
  grid-column:1 / -1;
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--k2-gap); row-gap:16px;
}
.k2-feat .k2-split > div:first-child, .k2-close .k2-split > div:first-child { grid-column:1 / span 7; }
.k2-feat .k2-split > div:last-child,  .k2-close .k2-split > div:last-child  { grid-column:1 / span 7; }
.k2-feat h2.k2-h2 { font-size:clamp(1.9rem,3.6vw,3.2rem) !important; }
.k2-close h2.k2-h2 { color:var(--k2-paper) !important; font-size:clamp(2rem,4.4vw,4rem) !important; max-width:16ch; }
.k2 .k2-close p {
  font-family:'Source Sans 3',sans-serif !important; font-size:1.0625rem !important;
  font-weight:400 !important; line-height:1.6 !important; color:rgba(250,250,248,.78) !important;
  max-width:56ch;
}
.k2 .k2-btn {
  display:inline-block; margin-top:22px; background:var(--k2-paper); color:var(--k2-navy);
  font-family:'Source Sans 3',sans-serif; font-weight:700; font-size:.95rem;
  padding:14px 26px; transition:transform .2s;
}
.k2 .k2-btn:hover { transform:translateY(-2px); }

/* ---- links: underline is reserved -------------------------------------- */
.k2 a, .k2 a:hover, .k2 a *, .k2 a:hover * { text-decoration:none !important; }
.k2 .k2-act a, .k2 .k2-more { border-bottom:2px solid currentColor !important; }
.k2-svc a:focus-visible, .k2-cases a:focus-visible { outline:2px solid var(--k2-navy); outline-offset:3px; }

/* ---- reveal ------------------------------------------------------------ */
.k2-js .k2-rv { opacity:0; transform:translateY(12px);
  transition:opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.k2-js .k2-rv.k2-in-view { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .k2-js .k2-rv{opacity:1;transform:none;transition:none} }

/* ---- the container must not indent the bands --------------------------- */
body.home .entry-content.has-global-padding,
body.home .wp-block-post-content.has-global-padding { padding-left:0 !important; padding-right:0 !important; }
body.home .entry-content > .k2, body.home .k2 > .k2-band {
  max-width:none !important; width:100% !important; margin-left:0 !important; margin-right:0 !important;
}

/* ---- narrow ------------------------------------------------------------ */
@media (max-width:1000px){
  .k2-hero .k2-h1, .k2-hero .k2-lede, .k2-hero .k2-act,
  .k2-lead > div, .k2 .k2-leadmeta,
  .k2 .k2-big, .k2 .k2-mon .k2-txt,
  .k2-feat .k2-split > div, .k2-close .k2-split > div { grid-column:1 / -1 !important; }
  .k2-trk li { grid-column:span 6; }
  .k2-why .k2-item, .k2-cases article { grid-column:1 / -1; }
  .k2-svc a { grid-template-columns:28px 1fr; row-gap:6px; }
  .k2-svc .k2-ico { grid-column:1; }
  .k2 .k2-svc .k2-n { display:none; }
  .k2-svc h3.k2-h3 { grid-column:2; }
  .k2 .k2-svc p, .k2-svc .k2-arw { display:none !important; }
}


/* ============================================================================
   51. WORDMARK AND HEADER  (added 19 Aug 2026)

   Wordmark option 01: the display face tightened, red carried by a single
   full stop. Replaces the navy square image in both the header and the footer
   template parts, so it is crisp at any size, needs no asset, and inverts for
   free.

   Sits outside the .k2 namespace deliberately — the header and footer appear
   on every page, not just the homepage.
============================================================================ */

.klug-mark {
  display: inline-block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.055em;
  text-decoration: none;
  padding: 2px 0;
}

/* The header group carries `.has-background`, so the DesignSetGo builder's
   `color: var(--dsgo-text-color) !important` captures the mark and paints it
   black. Same defect as the dark covers in section 11, same fix: set the
   builder's own variable rather than escalating on top of it. */
.klug-mark,
.klug-mark:visited {
  color: #1B1464 !important;
  --dsgo-text-color: #1B1464 !important;
}
.klug-mark span,
.klug-mark:visited span {
  color: #F01942 !important;
  --dsgo-text-color: #F01942 !important;
}
.klug-mark:hover {
  color: #161690 !important;
  --dsgo-text-color: #161690 !important;
}

footer .klug-mark,
footer .klug-mark:visited {
  color: #FAFAF8 !important;
  --dsgo-text-color: #FAFAF8 !important;
  font-size: 1.5rem;
}

header .wp-block-navigation a {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #4C4C58 !important;
  letter-spacing: 0 !important;
}
header .wp-block-navigation a:hover,
header .wp-block-navigation .current-menu-item a { color: #1B1464 !important; }

header .header-cta-btn .wp-block-button__link {
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  box-shadow: none !important;
}

/* ============================================================================
   54. THE SYSTEM, APPLIED SITEWIDE  (added 20 Aug 2026)

   The homepage was rebuilt on the k2 grid, which left every other page on the
   old design and the site looking like two different products. Rather than
   rewrite twenty pages of block markup, this restyles the class names those
   pages already use — .klug-hero, .klug-sechead, .klug-tile, .klug-onnavy —
   into the same language: one left edge, the same type scale, rules instead
   of boxes, and the same navy.

   Scoped away from the homepage, which has its own section 50.
============================================================================ */

/* ---- announcement strip, in the header template part -------------------
   Scoped to the header: the case-study pages already use .klug-strip for
   their previous/next line, and an unscoped rule turned that line navy. */
header .klug-strip { background:#0B0828; }
.klug-strip-in {
  max-width:1440px; margin:0 auto; padding:9px clamp(22px,4.4vw,72px);
  display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;
  font-family:'Source Sans 3',-apple-system,sans-serif;
}
.klug-strip-in span {
  font-size:.68rem; font-weight:700; letter-spacing:.19em; text-transform:uppercase;
  color:#FAFAF8;
}
.klug-strip-in p { margin:0; font-size:.85rem; color:rgba(250,250,248,.62); }
.klug-strip-in a {
  margin-left:auto; font-size:.8rem; font-weight:700; color:#FAFAF8;
  text-decoration:none; border-bottom:2px solid #F01942; padding-bottom:1px;
}
@media (max-width:700px){
  .klug-strip-in p { display:none; }
  .klug-strip-in a { margin-left:0; }
}

/* ---- header: eight items plus a button was crowding at laptop widths --- */
header .wp-block-navigation { --wp--style--block-gap:0; }
header .wp-block-navigation ul { gap:clamp(10px,1.4vw,22px) !important; }
header .wp-block-navigation a { font-size:.86rem !important; }
header .header-cta-btn .wp-block-button__link { padding:11px 18px !important; font-size:.82rem !important; }
@media (max-width:1150px){
  header .wp-block-navigation a { font-size:.8rem !important; }
  header .header-cta-btn .wp-block-button__link { padding:10px 14px !important; }
}

/* ---- interior pages ---------------------------------------------------- */
body:not(.home) .klug-hero {
  padding-block:clamp(52px,6.5vw,104px) !important;
  background-color:#0B0828 !important;
}
body:not(.home) .klug-hero h1 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(2.2rem,5vw,4.4rem) !important; font-weight:700 !important;
  line-height:.98 !important; letter-spacing:-.032em !important;
  color:#FAFAF8 !important; max-width:19ch;
}
body:not(.home) .klug-hero .klug-lede {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.15rem !important; font-weight:400 !important; line-height:1.55 !important;
  color:rgba(250,250,248,.84) !important; max-width:56ch;
}
body:not(.home) .klug-eyebrow,
body:not(.home) .klug-eyebrow--light {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.19em !important;
  text-transform:uppercase !important; margin-bottom:14px !important;
}
body:not(.home) .klug-hero .klug-eyebrow,
body:not(.home) .klug-hero .klug-eyebrow--light { color:rgba(250,250,248,.62) !important; }
body:not(.home) .klug-eyebrow:not(.klug-eyebrow--light) { color:#62626F !important; }

/* One left edge: the section head hung its label in a wide empty column. */
body:not(.home) .klug-sechead {
  display:block !important;
  max-width:none !important;
  margin-bottom:clamp(24px,3vw,44px) !important;
}
body:not(.home) .klug-sechead h2 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(1.75rem,2.9vw,2.75rem) !important; font-weight:700 !important;
  line-height:1.06 !important; letter-spacing:-.028em !important;
  color:#12121A !important; max-width:20ch; margin:0 !important;
}
body:not(.home) .klug-sechead .klug-sub,
body:not(.home) .klug-sechead p:not(.klug-eyebrow) {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.0625rem !important; font-weight:400 !important; line-height:1.62 !important;
  color:#4C4C58 !important; max-width:56ch; margin-top:12px !important;
}

/* Tiles become rule-separated entries rather than bordered boxes. */
body:not(.home) .klug-tile {
  border:0 !important;
  border-top:1px solid rgba(18,18,26,.14) !important;
  border-radius:0 !important;
  background:transparent !important;
  padding:22px 0 26px !important;
  box-shadow:none !important;
}
body:not(.home) .klug-tile:hover { transform:none !important; box-shadow:none !important; }
body:not(.home) .klug-tile h3 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:1.22rem !important; font-weight:700 !important; line-height:1.25 !important;
  letter-spacing:-.02em !important; color:#12121A !important;
}
body:not(.home) .klug-tile p {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1rem !important; font-weight:400 !important; line-height:1.58 !important;
  color:#4C4C58 !important;
}
body:not(.home) .klug-num {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.19em !important;
  color:#62626F !important;
}

/* Navy bands match the homepage close. */
body:not(.home) .klug-onnavy {
  background-color:#1B1464 !important;
  padding-block:clamp(50px,6vw,96px) !important;
}
body:not(.home) .klug-onnavy h2 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(2rem,4.4vw,4rem) !important; font-weight:700 !important;
  line-height:1.02 !important; letter-spacing:-.03em !important;
  color:#FAFAF8 !important; max-width:16ch;
}
body:not(.home) .klug-onnavy p {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.0625rem !important; line-height:1.6 !important;
  color:rgba(250,250,248,.78) !important; max-width:56ch;
}

/* Body copy across interior pages. */
body:not(.home) .entry-content p {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.0625rem !important; line-height:1.68 !important; color:#23222C !important;
}
body:not(.home) .entry-content h2 { font-family:'Source Serif 4',Georgia,serif !important; }
body:not(.home) .entry-content h3 { font-family:'Source Serif 4',Georgia,serif !important; }

/* Page surface matches the new paper. */
body:not(.home) .wp-site-blocks { background:#FAFAF8; }

/* ---- details ----------------------------------------------------------- */
::selection { background:#1B1464; color:#FAFAF8; }
:focus-visible { outline:2px solid #1B1464; outline-offset:2px; }
html { scrollbar-color:#1B1464 #F1F1ED; }

/* Headlines should not end on a single orphaned word. */
h1, h2, .klug-lede, .k2-h1, .k2-h2 { text-wrap:balance; }
p { text-wrap:pretty; }

/* ============================================================================
   55. THE ARTICLE  (added 20 Aug 2026)

   The advice notes were the worst pages on the site: no hero, a raw featured
   image blown up to full bleed above the headline, and body copy set 130
   characters to the line. This is the article as a piece of typography —
   navy hero over the photograph, one measure, a standing rail, and the same
   left edge as everything else.
============================================================================ */

/* The theme gives cover blocks a calc(50% - 50vw) bleed, which overshoots by
   the width of the scrollbar and put a horizontal scroll on every article. */
.klug-arthero { min-height:0 !important; }
body:not(.home) main > .wp-block-cover.alignfull.klug-arthero,
body .wp-block-cover.alignfull.klug-arthero,
.wp-block-cover.klug-arthero {
  margin-left:0 !important; margin-right:0 !important;
  left:auto !important; right:auto !important;
  width:100% !important; max-width:100% !important;
}
.klug-arthero .wp-block-cover__background {
  background-color:transparent !important;
  opacity:1 !important;
  background-image:linear-gradient(96deg,
    rgba(11,8,40,.995) 0%, rgba(11,8,40,.985) 38%,
    rgba(11,8,40,.955) 72%, rgba(11,8,40,.9) 100%) !important;
}
/* The photograph is texture, not subject matter. Some of the featured images
   are signage shots that would read straight through a lighter overlay. */
.klug-arthero img.wp-block-cover__image-background {
  object-fit:cover !important; object-position:center 50% !important;
  filter:grayscale(1) contrast(.72) brightness(.8) !important;
}
.klug-artmeta { justify-content:flex-start !important; }

/* An older rule hides .wp-block-post-title sitewide (it was there to stop the
   theme printing a second title above page content). The article template now
   uses that block deliberately, so it is re-enabled where we place it. */
.klug-arthero .wp-block-post-title,
.klug-postband .klug-tile .wp-block-post-title,
.klug-postgrid .klug-tile .wp-block-post-title { display:block !important; }

/* Cover's own dim class carries an !important opacity of its own. */
.klug-arthero > span.wp-block-cover__background,
.klug-arthero > span.wp-block-cover__background.has-background-dim,
.klug-arthero > span.has-background-dim.has-background-dim-80 { opacity:1 !important; }
.klug-arthero .wp-block-cover__inner-container { width:100%; }
.klug-arthero h1 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(2.15rem,5vw,4.35rem) !important; font-weight:700 !important;
  line-height:1 !important; letter-spacing:-.033em !important;
  color:#FAFAF8 !important; max-width:20ch; margin:0 0 22px !important;
}
.klug-arthero .klug-eyebrow,
.klug-arthero .wp-block-post-terms {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.19em !important;
  text-transform:uppercase !important; color:rgba(250,250,248,.62) !important;
  margin:0 0 18px !important;
}
.klug-arthero .wp-block-post-terms a { color:rgba(250,250,248,.62) !important; text-decoration:none !important; }
.klug-arthero .wp-block-post-terms a:hover { color:#FAFAF8 !important; }
.klug-artmeta {
  gap:0 !important; align-items:baseline !important;
  border-top:1px solid rgba(250,250,248,.18); padding-top:16px; max-width:34ch;
  margin-left:0 !important; margin-right:auto !important; margin-top:26px !important;
}
.klug-artmeta > * {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.86rem !important; font-weight:400 !important;
  color:rgba(250,250,248,.72) !important; margin:0 !important;
}
.klug-artmeta > * + *::before { content:"·"; padding:0 10px; color:rgba(250,250,248,.4); }
.klug-artmeta a { color:rgba(250,250,248,.72) !important; text-decoration:none !important; }

.klug-artband { background:#FAFAF8; }
.klug-artwrap { gap:clamp(28px,4.5vw,72px) !important; align-items:flex-start !important; }

.klug-artrail { position:sticky; top:26px; }
.klug-artrail .klug-raillab {
  font-family:'Source Sans 3',sans-serif; font-size:.7rem; font-weight:700;
  letter-spacing:.19em; text-transform:uppercase; color:#62626F;
  margin:0 0 14px; padding-top:6px; border-top:2px solid #12121A;
}
.klug-artrail .klug-railtext {
  font-family:'Source Sans 3',sans-serif; font-size:.9rem; line-height:1.6;
  color:#5A5A66; margin:0 0 20px;
}
.klug-artrail .klug-railcta { margin:0 0 10px; }

/* ============================================================================
   59. THE INSIGHTS LIBRARY  (added 20 Aug 2026)

   The nav had two doors to the same idea — Advice notes and Insights — and the
   articles sat at the root of the domain with no parent, which is why they read
   as orphans. One section now, with two kinds of item inside it: open articles
   and notes you request a copy of.
============================================================================ */

.klug-notesband .klug-tile.klug-notetile {
  border-top:2px solid #12121A !important;
  padding-top:24px !important; max-width:none !important;
}
.klug-typechip {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.68rem !important; font-weight:700 !important; letter-spacing:.19em !important;
  text-transform:uppercase !important; color:#F01942 !important;
  margin:0 0 14px !important;
}
body:not(.home) .klug-notetile h3 {
  font-size:clamp(1.4rem,2.1vw,1.85rem) !important;
  font-family:'Source Serif 4',Georgia,serif !important;
  letter-spacing:-.026em !important; margin:0 0 12px !important;
}
body:not(.home) .klug-notetile p:not(.klug-typechip):not(.klug-tilelink) {
  max-width:64ch !important; font-size:1.05rem !important;
}
.klug-tilelink a {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.9rem !important; font-weight:700 !important;
  color:#1B1464 !important; text-decoration:none !important;
  border-bottom:2px solid #F01942; padding-bottom:2px; transition:color .2s;
}
.klug-tilelink a:hover { color:#F01942 !important; }
.klug-notefoot {
  font-size:.95rem !important; color:#5A5A66 !important;
  margin:26px auto 0 0 !important; max-width:64ch;
}
.klug-notefoot a { color:#1B1464 !important; }

/* ============================================================================
   60. THE PATTERN BANDS AND THE BUTTONS  (added 20 Aug 2026)

   Every service page still closed with a GoDaddy pattern band: centred type,
   an h6 eyebrow, a 600px measure and its own grey. On a site whose whole
   argument is one left edge, that band was the loudest inconsistency left.
   Buttons were also drifting — grey label text on outline buttons, a 4px
   radius here and none there, three different paddings.
============================================================================ */

/* ---- the pattern CTA band, brought onto the system --------------------- */
body:not(.home) [class*="airo-section"] {
  text-align:left !important;
  background-color:#1B1464 !important;
  padding-block:clamp(56px,6vw,88px) !important;
}
body:not(.home) [class*="airo-section"] > .wp-block-group {
  max-width:none !important; margin-left:0 !important; margin-right:0 !important;
}
body:not(.home) [class*="airo-section"] .has-text-align-center { text-align:left !important; }
body:not(.home) [class*="airo-section"] h6 {
  font-family:'Source Sans 3',sans-serif !important; font-size:.7rem !important;
  font-weight:700 !important; letter-spacing:.19em !important; text-transform:uppercase !important;
  color:rgba(250,250,248,.62) !important; margin:0 0 14px !important;
}
body:not(.home) [class*="airo-section"] h2,
body:not(.home) [class*="airo-section"] h3 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(2rem,4.4vw,3.6rem) !important; font-weight:700 !important;
  line-height:1.03 !important; letter-spacing:-.03em !important;
  color:#FAFAF8 !important; max-width:18ch !important; margin:0 0 18px !important;
}
body:not(.home) [class*="airo-section"] p {
  font-family:'Source Sans 3',sans-serif !important; font-size:1.0625rem !important;
  line-height:1.6 !important; color:rgba(250,250,248,.78) !important;
  max-width:58ch !important; margin:0 0 30px !important;
}
body:not(.home) [class*="airo-section"] .wp-block-buttons { justify-content:flex-start !important; }

/* ---- one button, two states, two surfaces ------------------------------ */
body:not(.home) .wp-block-button__link {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.9rem !important; font-weight:700 !important; line-height:1.2 !important;
  border-radius:2px !important; padding:14px 26px !important;
  text-decoration:none !important;
  transition:background-color .2s, color .2s, border-color .2s !important;
}
body:not(.home) .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  background-color:#1B1464 !important; color:#FAFAF8 !important;
  border:2px solid #1B1464 !important;
}
body:not(.home) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
  background-color:#0B0828 !important; border-color:#0B0828 !important; color:#FAFAF8 !important;
}
body:not(.home) .wp-block-button.is-style-outline > .wp-block-button__link {
  background-color:transparent !important; color:#1B1464 !important;
  border:2px solid #1B1464 !important;
}
body:not(.home) .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background-color:#1B1464 !important; color:#FAFAF8 !important;
}
/* reversed, wherever the surface is navy */
body:not(.home) .klug-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body:not(.home) .klug-onnavy .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body:not(.home) [class*="airo-section"] .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  background-color:#FAFAF8 !important; color:#1B1464 !important; border-color:#FAFAF8 !important;
}
body:not(.home) .klug-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
body:not(.home) .klug-onnavy .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
body:not(.home) [class*="airo-section"] .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
  background-color:#F01942 !important; border-color:#F01942 !important; color:#FAFAF8 !important;
}
body:not(.home) .klug-hero .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) .klug-onnavy .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) [class*="airo-section"] .wp-block-button.is-style-outline > .wp-block-button__link {
  background-color:transparent !important; color:#FAFAF8 !important; border-color:#FAFAF8 !important;
}
body:not(.home) .klug-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:not(.home) .klug-onnavy .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:not(.home) [class*="airo-section"] .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background-color:#FAFAF8 !important; color:#1B1464 !important;
}

/* Bands whose navy is an inline style rather than one of our classes — an
   outline button in one of those was rendering navy on navy, invisible. */
body:not(.home) [style*="background-color:#1B1464"] .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) [style*="background-color:#0B0828"] .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) [style*="background-color: #1B1464"] .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) .has-accent-3-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
body:not(.home) .has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
  background-color:transparent !important; color:#FAFAF8 !important; border-color:#FAFAF8 !important;
}
body:not(.home) [style*="background-color:#1B1464"] .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:not(.home) [style*="background-color:#0B0828"] .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:not(.home) .has-accent-3-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:not(.home) .has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background-color:#FAFAF8 !important; color:#1B1464 !important;
}
body:not(.home) [style*="background-color:#1B1464"] .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body:not(.home) [style*="background-color:#0B0828"] .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body:not(.home) .has-accent-3-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body:not(.home) .has-contrast-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  background-color:#FAFAF8 !important; color:#1B1464 !important; border-color:#FAFAF8 !important;
}

/* ---- tiles sitting on a navy band were being given the light-surface ink
       by section 54, so four headings on /transactions/ were near-black on
       navy and the body copy under them was unreadable. ------------------ */
body:not(.home) .klug-onnavy .klug-tile,
body:not(.home) [class*="airo-section"] .klug-tile {
  border-top-color:rgba(250,250,248,.24) !important;
}
body:not(.home) .klug-onnavy .klug-tile h2,
body:not(.home) .klug-onnavy .klug-tile h3,
body:not(.home) .klug-onnavy .klug-tile h4,
body:not(.home) [class*="airo-section"] .klug-tile h3 {
  color:#FAFAF8 !important;
}
body:not(.home) .klug-onnavy .klug-tile p,
body:not(.home) [class*="airo-section"] .klug-tile p {
  color:rgba(250,250,248,.80) !important;
}
body:not(.home) .klug-onnavy .klug-num,
body:not(.home) .klug-onnavy .klug-eyebrow,
body:not(.home) [class*="airo-section"] .klug-num {
  color:rgba(250,250,248,.58) !important;
}
body:not(.home) .klug-onnavy .klug-sub,
body:not(.home) .klug-onnavy .klug-sechead p:not(.klug-eyebrow) {
  color:rgba(250,250,248,.78) !important;
}
body:not(.home) .klug-onnavy .klug-sechead h2 { color:#FAFAF8 !important; }
body:not(.home) .klug-onnavy a:not(.wp-block-button__link) { color:#FAFAF8 !important; }

/* ============================================================================
   61. DARK SURFACES  (added 20 Aug 2026)

   Not every navy band carries a class we control. On /transactions/ the close
   was a plain group with an inline navy background, so section 54's light-
   surface ink applied inside it and the copy was near-black on navy. This
   keys off every way a dark band is expressed on this site — the class, the
   pattern wrapper, the palette class, and the inline hex.
============================================================================ */

/* Every hero and every navy band is a dark surface, whether or not the builder
   tagged it. Redefining contrast inside them catches the paragraphs that carry
   a palette class — the privacy policy's "Legal" eyebrow was navy on navy. */
body:not(.home) .klug-hero,
body:not(.home) .klug-onnavy,
body:not(.home) [class*="airo-section"] {
  --wp--preset--color--contrast:#FAFAF8;
  --wp--preset--color--accent-3:#FAFAF8;
}

body:not(.home) .klug-onnavy,
body:not(.home) .klug-hero,
body:not(.home) [class*="airo-section"],
body:not(.home) [style*="background-color:#1B1464"],
body:not(.home) [style*="background-color:#0B0828"],
body:not(.home) [style*="background-color: #1B1464"],
body:not(.home) [style*="background-color: #0B0828"],
body:not(.home) .has-accent-3-background-color,
body:not(.home) .has-contrast-background-color { color:#FAFAF8; }

body:not(.home) .klug-onnavy h2, body:not(.home) .klug-onnavy h3, body:not(.home) .klug-onnavy h4,
body:not(.home) .klug-hero h2, body:not(.home) .klug-hero h3, body:not(.home) .klug-hero h4,
body:not(.home) [class*="airo-section"] h2, body:not(.home) [class*="airo-section"] h3, body:not(.home) [class*="airo-section"] h4,
body:not(.home) [style*="background-color:#1B1464"] h2,
body:not(.home) [style*="background-color:#1B1464"] h3,
body:not(.home) [style*="background-color:#1B1464"] h4,
body:not(.home) [style*="background-color:#0B0828"] h2,
body:not(.home) [style*="background-color:#0B0828"] h3,
body:not(.home) [style*="background-color:#0B0828"] h4,
body:not(.home) .has-accent-3-background-color h2,
body:not(.home) .has-accent-3-background-color h3,
body:not(.home) .has-accent-3-background-color h4,
body:not(.home) .has-contrast-background-color h2,
body:not(.home) .has-contrast-background-color h3,
body:not(.home) .has-contrast-background-color h4 {
  color:#FAFAF8 !important;
  font-family:'Source Serif 4',Georgia,serif !important;
}
/* A 16ch measure broke the longer section headings into four ragged lines. */
body:not(.home) .klug-onnavy h2,
body:not(.home) [style*="background-color:#1B1464"] h2,
body:not(.home) [style*="background-color:#0B0828"] h2,
body:not(.home) .has-accent-3-background-color h2,
body:not(.home) .has-contrast-background-color h2 { max-width:24ch !important; }

body:not(.home) .klug-onnavy p, body:not(.home) .klug-onnavy li,
body:not(.home) .klug-hero p, body:not(.home) .klug-hero li,
body:not(.home) [class*="airo-section"] p, body:not(.home) [class*="airo-section"] li,
body:not(.home) [style*="background-color:#1B1464"] p,
body:not(.home) [style*="background-color:#1B1464"] li,
body:not(.home) [style*="background-color:#0B0828"] p,
body:not(.home) [style*="background-color:#0B0828"] li,
body:not(.home) .has-accent-3-background-color p,
body:not(.home) .has-accent-3-background-color li,
body:not(.home) .has-contrast-background-color p,
body:not(.home) .has-contrast-background-color li {
  color:rgba(250,250,248,.80) !important;
}

body:not(.home) .klug-onnavy .klug-eyebrow, body:not(.home) .klug-onnavy .klug-num,
body:not(.home) .klug-hero .klug-eyebrow, body:not(.home) .klug-hero .klug-num,
body:not(.home) [class*="airo-section"] .klug-eyebrow,
body:not(.home) [class*="airo-section"] .klug-num,
body:not(.home) [style*="background-color:#1B1464"] .klug-eyebrow,
body:not(.home) [style*="background-color:#1B1464"] .klug-num,
body:not(.home) [style*="background-color:#0B0828"] .klug-eyebrow,
body:not(.home) [style*="background-color:#0B0828"] .klug-num,
body:not(.home) .has-accent-3-background-color .klug-eyebrow,
body:not(.home) .has-contrast-background-color .klug-eyebrow {
  color:rgba(250,250,248,.62) !important;
}

body:not(.home) .klug-onnavy a:not(.wp-block-button__link),
body:not(.home) .klug-hero a:not(.wp-block-button__link),
body:not(.home) [class*="airo-section"] a:not(.wp-block-button__link),
body:not(.home) [style*="background-color:#1B1464"] a:not(.wp-block-button__link),
body:not(.home) [style*="background-color:#0B0828"] a:not(.wp-block-button__link),
body:not(.home) .has-accent-3-background-color a:not(.wp-block-button__link),
body:not(.home) .has-contrast-background-color a:not(.wp-block-button__link) {
  color:#FAFAF8 !important;
}

body:not(.home) [style*="background-color:#1B1464"] .klug-tile,
body:not(.home) [style*="background-color:#0B0828"] .klug-tile,
body:not(.home) .has-accent-3-background-color .klug-tile,
body:not(.home) .has-contrast-background-color .klug-tile {
  border-top-color:rgba(250,250,248,.24) !important;
}

/* ============================================================================
   62. THE BUILDER'S OWN VARIABLE  (added 20 Aug 2026)

   The GoDaddy builder stamps data-dsgo-inline-bg on any band with a background
   and then forces `color: var(--dsgo-text-color)` on everything inside it, at
   a specificity that beats the design system. On the tinted bands that made
   the eyebrow, the heading and the sub-line all one navy. Rather than escalate
   against it, set the builder's own variable to our ink — then re-assert the
   two colours that are meant to differ.
============================================================================ */

body:not(.home) [data-dsgo-inline-bg] { --dsgo-text-color:#12121A !important; }

/* The builder writes `color: var(--wp--preset--color--contrast) !important`
   into the band's own style attribute, which no stylesheet rule can outrank.
   The way past it is to change what that variable resolves to inside the band. */
body:not(.home) [data-dsgo-inline-bg]:not(.klug-onnavy):not(.klug-hero):not(.has-accent-3-background-color):not(.has-contrast-background-color):not([style*="background-color:#1B1464"]):not([style*="background-color:#0B0828"]) {
  --wp--preset--color--contrast:#12121A;
}
body:not(.home) .klug-onnavy[data-dsgo-inline-bg],
body:not(.home) .klug-hero[data-dsgo-inline-bg],
body:not(.home) [data-dsgo-inline-bg].has-accent-3-background-color,
body:not(.home) [data-dsgo-inline-bg].has-contrast-background-color,
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#1B1464"],
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#0B0828"] {
  --wp--preset--color--contrast:#FAFAF8;
}

/* The builder registers that property as non-inheriting, so headings inside a
   band fall back to `inherit` — i.e. to the band's own colour. Set that too. */
body:not(.home) [data-dsgo-inline-bg]:not(.klug-onnavy):not(.klug-hero):not(.has-accent-3-background-color):not(.has-contrast-background-color):not([style*="background-color:#1B1464"]):not([style*="background-color:#0B0828"]) {
  color:#12121A !important;
}
body:not(.home) .klug-onnavy[data-dsgo-inline-bg],
body:not(.home) .klug-hero[data-dsgo-inline-bg],
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#1B1464"],
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#0B0828"] {
  color:#FAFAF8 !important;
}

body:not(.home) .klug-hero[data-dsgo-inline-bg],
body:not(.home) .klug-onnavy[data-dsgo-inline-bg],
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#1B1464"],
body:not(.home) [data-dsgo-inline-bg][style*="background-color:#0B0828"],
body:not(.home) [data-dsgo-inline-bg].has-accent-3-background-color,
body:not(.home) [data-dsgo-inline-bg].has-contrast-background-color { --dsgo-text-color:#FAFAF8 !important; }

/* Re-assert, above the builder's specificity, the two things that are not ink. */
body:not(.home) .wp-site-blocks [data-dsgo-inline-bg] p.klug-eyebrow:not(.klug-eyebrow--light) {
  color:#62626F !important;
}
body:not(.home) .wp-site-blocks [data-dsgo-inline-bg] p.klug-sub,
body:not(.home) .wp-site-blocks [data-dsgo-inline-bg] .klug-tile p:not(.klug-num) {
  color:#4C4C58 !important;
}
body:not(.home) .wp-site-blocks [data-dsgo-inline-bg] p.klug-num {
  color:#62626F !important;
}
body:not(.home) .wp-site-blocks .klug-onnavy[data-dsgo-inline-bg] p.klug-eyebrow,
body:not(.home) .wp-site-blocks .klug-hero[data-dsgo-inline-bg] p.klug-eyebrow,
body:not(.home) .wp-site-blocks .klug-onnavy[data-dsgo-inline-bg] p.klug-num {
  color:rgba(250,250,248,.62) !important;
}
body:not(.home) .wp-site-blocks .klug-onnavy[data-dsgo-inline-bg] p.klug-sub,
body:not(.home) .wp-site-blocks .klug-onnavy[data-dsgo-inline-bg] .klug-tile p:not(.klug-num),
body:not(.home) .wp-site-blocks .klug-hero[data-dsgo-inline-bg] p.klug-lede {
  color:rgba(250,250,248,.80) !important;
}

/* ============================================================================
   64. FORMS  (added 20 Aug 2026)

   The Jetpack form arrived with 21px labels in #333, hairline #ddd borders and
   a 4px radius — three different conventions from the rest of the site on one
   screen. Fields now read like the rest of the system.
============================================================================ */

body:not(.home) .grunion-field-label,
body:not(.home) form label {
  display:block !important;
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.82rem !important; font-weight:700 !important;
  letter-spacing:.02em !important; line-height:1.3 !important;
  color:#4C4C58 !important; margin:0 0 8px !important;
}
body:not(.home) .grunion-label-required,
body:not(.home) .required { color:#F01942 !important; font-weight:700 !important; }

body:not(.home) input[type=text],
body:not(.home) input[type=email],
body:not(.home) input[type=tel],
body:not(.home) input[type=url],
body:not(.home) input[type=number],
body:not(.home) input[type=date],
body:not(.home) textarea,
body:not(.home) select {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1rem !important; line-height:1.5 !important;
  color:#12121A !important; background-color:#FFFFFF !important;
  border:1px solid rgba(18,18,26,.24) !important; border-radius:2px !important;
  padding:13px 14px !important; width:100% !important; max-width:100% !important;
  box-shadow:none !important;
  transition:border-color .18s, box-shadow .18s !important;
}
body:not(.home) input[type=text]:focus,
body:not(.home) input[type=email]:focus,
body:not(.home) input[type=tel]:focus,
body:not(.home) textarea:focus,
body:not(.home) select:focus {
  border-color:#1B1464 !important;
  box-shadow:0 0 0 3px rgba(27,20,100,.14) !important;
  outline:none !important;
}
body:not(.home) input::placeholder,
body:not(.home) textarea::placeholder { color:#62626F !important; opacity:1 !important; }
body:not(.home) textarea { min-height:150px !important; resize:vertical !important; }
body:not(.home) .contact-form .grunion-field-wrap,
body:not(.home) .contact-form .contact-form-field { margin-bottom:20px !important; }
body:not(.home) .contact-form { max-width:640px; }

/* ---- the tinted band was #F5F5F5, which is not one of our greys -------- */
body:not(.home) .has-base-background-color { background-color:#F2F2EE !important; }

/* ---- headings were falling back to the theme's #333 -------------------- */
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4 { color:#12121A; }

/* ---- two navies were in circulation: #1B1464 and #1A1A6E -------------- */
a.k2-more, a.k2-btn, .k2-svc a { color:#1B1464; }

/* ============================================================================
   63. THE HOMEPAGE INSIGHTS BAND  (added 20 Aug 2026)

   The homepage had a decorative photograph band carrying nothing but a
   caption, and beneath it a second band promoting a single article. Two
   sections doing almost no work between two that did. They are now one band:
   three articles, the same tile language as the rest of the site.
============================================================================ */

.k2-notes {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0 clamp(22px,3vw,48px);
}
.k2-notes article { border-top:1px solid rgba(18,18,26,.16); padding-top:22px; }
.k2-notes a { display:block; text-decoration:none; color:inherit; }
.k2-ncat {
  display:block; font-family:'Source Sans 3',sans-serif;
  font-size:.68rem; font-weight:700; letter-spacing:.19em; text-transform:uppercase;
  color:#62626F; margin-bottom:14px;
}
.k2-notes .k2-h3 {
  font-family:'Source Serif 4',Georgia,serif; font-size:1.24rem; font-weight:700;
  line-height:1.24; letter-spacing:-.022em; color:#12121A; margin:0 0 10px;
  transition:color .2s;
}
.k2-notes a:hover .k2-h3 { color:#1B1464; }
.k2-notes p {
  font-family:'Source Sans 3',sans-serif; font-size:1rem; line-height:1.58;
  color:#4C4C58; margin:0 0 16px;
}
.k2-notes .k2-more {
  display:inline-block; font-family:'Source Sans 3',sans-serif;
  font-size:.84rem; font-weight:700; color:#1B1464;
  border-bottom:2px solid #F01942; padding-bottom:2px;
}
.k2-allnotes { margin-top:clamp(30px,4vw,52px); }
.k2-allnotes .k2-more {
  display:inline-block; font-family:'Source Sans 3',sans-serif;
  font-size:.84rem; font-weight:700; color:#1B1464 !important;
  border-bottom:2px solid #F01942; padding-bottom:2px; text-decoration:none;
}

/* Three greys were in use for tinted bands: #F5F5F5, #F1F1ED and #F2F2EE.
   One now. And two navies, #1B1464 and #1A1A6E — likewise. */
.k2-sec--tint { background:#F2F2EE !important; }
.k2-close .k2-btn { color:#1B1464 !important; }

/* On-navy interior copy was mixing rgba(255,255,255,x) with rgba(250,250,248,x). */
body:not(.home) .klug-hero .klug-lede,
body:not(.home) .klug-onnavy .klug-lede { color:rgba(250,250,248,.84) !important; }

/* A table on /about-us/ was still printing in the theme's #333. */
body:not(.home) table, body:not(.home) td, body:not(.home) th {
  font-family:'Source Sans 3',sans-serif !important; color:#23222C !important;
}
/* A partner logo supplied on a white background was sitting on the navy band
   as a bare white rectangle. Give it a plate rather than let it float. */
body:not(.home) .klug-onnavy .wp-block-image img,
body:not(.home) [style*="background-color:#1B1464"] .wp-block-image img,
body:not(.home) [style*="background-color:#0B0828"] .wp-block-image img {
  background:#FAFAF8; padding:16px 22px; border-radius:2px;
  max-width:230px; max-height:92px; object-fit:contain; display:block;
}

/* Two leftovers from the old service-grid class: the numbers were being
   right-aligned, and a tile heading wrapped in a link lost the display face. */
body:not(.home) .klug-num { text-align:left !important; }
body:not(.home) .klug-tile h2 a,
body:not(.home) .klug-tile h3 a,
body:not(.home) .klug-tile h4 a { font-family:inherit !important; font-weight:inherit !important; }

/* The reading-progress bar is meaningful on an article and noise everywhere
   else — on a landing page it reads as a stray red line under the header. */
#klug-progress { display:none !important; }
body.single-post #klug-progress { display:block !important; }

/* Table heads on this site all sit on navy, so they take the reversed ink. */
body:not(.home) th {
  color:#FAFAF8 !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.14em !important;
  text-transform:uppercase !important;
}
body:not(.home) [style*="color:#4C4C58"], body:not(.home) [style*="color: #4C4C58"],
body:not(.home) [style*="color:#4C4C58"] { color:#4C4C58 !important; }
body:not(.home) .klug-tint p, body:not(.home) .klug-method p { color:#4C4C58 !important; }
body:not(.home) .klug-tint .klug-eyebrow, body:not(.home) .klug-method .klug-eyebrow { color:#62626F !important; }

/* The calculators shipped with their own grey scale — #666 on the hints,
   suffixes and prefixes, and a table head too light to read. */
body:not(.home) .kt-suf, body:not(.home) .kt-pre,
body:not(.home) .kt-hint, body:not(.home) .kt-bigunit,
body:not(.home) .kt-actlab, body:not(.home) .klug-calc .kt-note {
  color:#62626F !important; font-family:'Source Sans 3',sans-serif !important;
}
/* The calculator's table head sits on navy, so it takes the reversed ink. */
body:not(.home) .klug-calc th, body:not(.home) .kt-table th {
  color:#FAFAF8 !important; font-family:'Source Sans 3',sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.14em !important;
  text-transform:uppercase !important;
}
body:not(.home) .klug-calc td, body:not(.home) .kt-table td { color:#23222C !important; }

/* Pagination and the odd stray #4C4C58. */
body:not(.home) .page-numbers,
body:not(.home) .wp-block-query-pagination a,
body:not(.home) .wp-block-query-pagination span {
  font-family:'Source Sans 3',sans-serif !important; font-size:.9rem !important;
  color:#4C4C58 !important; text-decoration:none !important;
}
body:not(.home) .wp-block-query-pagination a:hover { color:#1B1464 !important; }
body:not(.home) .page-numbers.current,
body:not(.home) .wp-block-query-pagination-numbers .current {
  color:#FAFAF8 !important; background-color:#1B1464 !important;
  font-weight:700 !important; padding:5px 11px !important; border-radius:2px !important;
}
body:not(.home) .wp-block-query-pagination-numbers a { padding:5px 11px !important; }

/* ============================================================================
   65. THE SCALE BAND  (added 20 Aug 2026)

   The portfolios behind the advice were set as a three-column HTML table —
   Portfolio / Scale / Role — which read as a spreadsheet paste on a site whose
   whole argument is typography. Same content, set as the site already sets
   numbers: the figure leads, the portfolio names it, the role qualifies it.
============================================================================ */

.klug-scale {
  list-style:none !important; margin:0 !important; padding:0 !important;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(30px,3.4vw,54px) clamp(22px,3vw,48px);
}
.klug-scale li {
  border-top:2px solid #12121A; padding-top:20px; margin:0 !important;
}
.klug-scalefig {
  display:block;
  font-family:'Source Serif 4',Georgia,serif;
  font-size:clamp(2.4rem,4.4vw,3.6rem); font-weight:700;
  line-height:.9; letter-spacing:-.045em;
  font-variant-numeric:tabular-nums; color:#1B1464;
}
.klug-scalefig i {
  font-style:normal; font-family:'Source Sans 3',sans-serif;
  font-size:.28em; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:#62626F; margin-left:.4em;
  vertical-align:.55em;
}
body:not(.home) .klug-scale h3 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:1.1rem !important; font-weight:700 !important; line-height:1.25 !important;
  letter-spacing:-.02em !important; color:#12121A !important;
  margin:16px 0 8px !important;
}
body:not(.home) .klug-scale p {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.95rem !important; line-height:1.55 !important;
  color:#4C4C58 !important; margin:0 0 14px !important; max-width:none !important;
}
.klug-scalerole {
  display:block; font-family:'Source Sans 3',sans-serif;
  font-size:.66rem; font-weight:700; letter-spacing:.18em;
  text-transform:uppercase; color:#62626F;
}
body:not(.home) .klug-scalefoot {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.0625rem !important; line-height:1.6 !important; color:#23222C !important;
  border-top:1px solid rgba(18,18,26,.14);
  margin:clamp(34px,4vw,56px) 0 0 !important; padding-top:22px !important;
  max-width:72ch !important;
}
body:not(.home) .klug-scalefoot a {
  color:#1B1464 !important; text-decoration:none !important;
  border-bottom:1px solid rgba(27,20,100,.3); transition:color .2s, border-color .2s;
}
body:not(.home) .klug-scalefoot a:hover { color:#F01942 !important; border-bottom-color:#F01942; }
@media (max-width:1000px){ .klug-scale { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px){ .klug-scale { grid-template-columns:minmax(0,1fr); } }

/* ---- the last of the theme's #333: lists, strong, and plain links ------ */
body:not(.home) .entry-content li,
body:not(.home) .entry-content strong,
body:not(.home) .entry-content em,
body:not(.home) main li, body:not(.home) main strong {
  font-family:'Source Sans 3',sans-serif !important; color:#23222C !important;
}
body:not(.home) .entry-content li::marker { color:#F01942; }

/* Templates that render into <main> rather than .entry-content — the 404 and
   the archives — were missing the body-copy rule entirely. */
body:not(.home) main p:where(:not(.klug-eyebrow):not(.klug-num):not(.klug-lede)) {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.0625rem !important; line-height:1.68 !important; color:#23222C !important;
}
body:not(.home) .entry-content a:not(.wp-block-button__link):not(.klug-mark):not(.k2-more),
body:not(.home) main a:not(.wp-block-button__link):not(.klug-mark) {
  color:#1B1464;
}
body:not(.home) .klug-onnavy li, body:not(.home) .klug-hero li,
body:not(.home) .klug-onnavy strong, body:not(.home) .klug-hero strong {
  color:rgba(250,250,248,.84) !important;
}

/* The required marker in red on paper is 3.98:1 — under AA for small text.
   A darker red for small type, the brand red everywhere it is large. */
body:not(.home) .grunion-label-required,
body:not(.home) .required { color:#C4123A !important; }

/* A hero eyebrow carrying a palette class was rendering navy on navy. */
body:not(.home) .klug-hero p.has-text-color,
body:not(.home) .klug-hero p[class*="has-"][class*="-color"] {
  color:rgba(250,250,248,.62) !important;
}
@media (max-width:860px){ .k2-notes { grid-template-columns:minmax(0,1fr); gap:0; } }

/* ---- About: the Auckland skyline in black and white. Restored after I
       wrongly identified it as London and swapped it out. It is Auckland —
       the Sky Tower is in the left third of the frame. --------------------- */
.page-id-187 .klug-hero {
  --klug-hero-photo:url(https://klug.co.nz/wp-content/uploads/2026/08/pexels-photo-27961851.jpeg) !important;
  background-position:22% 62% !important;
}
.klug-artrail .klug-railcta a {
  font-family:'Source Sans 3',sans-serif; font-size:.86rem; font-weight:700;
  color:#1B1464; text-decoration:none; border-bottom:2px solid #F01942;
  padding-bottom:2px; transition:color .2s;
}
.klug-artrail .klug-railcta a:hover { color:#F01942; }

.klug-artcol { max-width:70ch; }
.klug-artcol .entry-content > * { max-width:100%; }
.klug-artcol p {
  font-family:'Source Sans 3',-apple-system,sans-serif !important;
  font-size:1.115rem !important; line-height:1.68 !important;
  color:#23222C !important; margin:0 0 1.35em !important; max-width:68ch;
}
.klug-artcol > p:first-child,
.klug-artcol .entry-content > p:first-child {
  font-size:1.34rem !important; line-height:1.5 !important;
  color:#12121A !important; letter-spacing:-.008em;
  margin-bottom:1.5em !important; max-width:60ch;
}
.klug-artcol h2 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(1.45rem,2.3vw,2rem) !important; font-weight:700 !important;
  line-height:1.14 !important; letter-spacing:-.026em !important;
  color:#12121A !important; margin:2.1em 0 .55em !important; max-width:24ch;
  padding-top:.55em; border-top:1px solid rgba(18,18,26,.14);
}
.klug-artcol h3 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(1.15rem,1.6vw,1.4rem) !important; font-weight:700 !important;
  line-height:1.24 !important; letter-spacing:-.02em !important;
  color:#12121A !important; margin:1.9em 0 .5em !important; max-width:28ch;
}
.klug-artcol h4 {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.72rem !important; font-weight:700 !important; letter-spacing:.18em !important;
  text-transform:uppercase !important; color:#62626F !important; margin:2em 0 .7em !important;
}
.klug-artcol a:not(.wp-block-button__link) {
  color:#1B1464 !important; text-decoration:underline !important;
  text-decoration-thickness:1px; text-underline-offset:3px;
  text-decoration-color:rgba(27,20,100,.35); transition:color .18s, text-decoration-color .18s;
}
.klug-artcol a:not(.wp-block-button__link):hover {
  color:#F01942 !important; text-decoration-color:#F01942;
}
.klug-artcol ul, .klug-artcol ol {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:1.09rem !important; line-height:1.62 !important; color:#23222C !important;
  max-width:66ch; margin:0 0 1.4em !important; padding-left:1.1em !important;
}
.klug-artcol li { margin-bottom:.5em !important; padding-left:.25em; }
.klug-artcol li::marker { color:#F01942; }
.klug-artcol blockquote {
  border:0 !important; border-left:3px solid #F01942 !important;
  margin:2em 0 !important; padding:2px 0 2px 26px !important; max-width:56ch;
}
.klug-artcol blockquote p {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:1.32rem !important; line-height:1.42 !important;
  letter-spacing:-.02em !important; color:#12121A !important;
}
.klug-artcol figure, .klug-artcol .wp-block-image { margin:2em 0 !important; }
.klug-artcol img { border-radius:0 !important; display:block; width:100%; height:auto; }
.klug-artcol figcaption {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.82rem !important; color:#62626F !important; margin-top:10px !important;
  text-align:left !important;
}
.klug-artcol table {
  font-family:'Source Sans 3',sans-serif !important; font-size:.95rem !important;
  border-collapse:collapse; width:100%; margin:2em 0;
}
.klug-artcol table th, .klug-artcol table td {
  border:0 !important; border-bottom:1px solid rgba(18,18,26,.14) !important;
  padding:11px 14px 11px 0 !important; text-align:left;
}
.klug-artcol table th {
  font-size:.7rem !important; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:#62626F !important;
  border-bottom:2px solid #12121A !important;
}
.klug-artcol hr {
  border:0 !important; border-top:1px solid rgba(18,18,26,.14) !important; margin:2.4em 0 !important;
}

@media (max-width:900px){
  .klug-artrail { position:static; }
  .klug-artrail .klug-railtext { max-width:52ch; }
  .klug-artcol { max-width:none; }
}

.klug-postnavband { background:#FAFAF8; }
.klug-postnav {
  border-top:1px solid rgba(18,18,26,.14); border-bottom:1px solid rgba(18,18,26,.14);
  padding:22px 0 24px !important; gap:26px !important;
}
.klug-postnav .post-navigation-link-previous,
.klug-postnav .post-navigation-link-next { max-width:46%; }
.klug-postnav .post-navigation-link-next { text-align:right; }
.klug-postnav a {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:1.05rem !important; font-weight:700 !important; line-height:1.28 !important;
  letter-spacing:-.018em !important; color:#12121A !important;
  text-decoration:none !important; transition:color .2s;
}
.klug-postnav a:hover { color:#1B1464 !important; }
.klug-postnav .wp-block-post-navigation-link { margin:0 !important; }
.klug-postnav .post-navigation-link__label {
  display:block; font-family:'Source Sans 3',sans-serif; font-size:.68rem;
  font-weight:700; letter-spacing:.19em; text-transform:uppercase;
  color:#62626F; margin-bottom:9px;
}

footer .klug-mark {
  font-size:1.75rem !important; line-height:1 !important;
  letter-spacing:-.055em !important; display:inline-block;
  color:#1B1464 !important; margin-bottom:18px;
}
footer .klug-mark span { color:#F01942 !important; }
footer .wp-block-group[style*="border-top-color:#FFFFFF"] { border-top-color:rgba(18,18,26,.14) !important; }
footer h3 {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.7rem !important; font-weight:700 !important; letter-spacing:.19em !important;
  text-transform:uppercase !important; color:#62626F !important; margin-bottom:16px !important;
}
footer p, footer a:not(.klug-mark), footer li {
  font-family:'Source Sans 3',sans-serif !important; font-size:.92rem !important;
  color:#4C4C58 !important;
}
/* The footer wordmark had been caught by the rule above and was rendering in
   the body sans at regular weight — a different mark from the one in the
   header. It is the same mark, set the same way, at a different size. */
footer a.klug-mark {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-weight:700 !important; letter-spacing:-.055em !important;
  line-height:1 !important; font-size:1.7rem !important;
}
footer a { text-decoration:none !important; transition:color .2s; }
footer a:hover { color:#1B1464 !important; }

/* The builder's colour override reaches into the footer too, and its variable
   was set to paper there — which is why the wordmark was invisible on a light
   footer. Set the variable per element rather than fight the rule. */
footer, footer p, footer li, footer h3 { --dsgo-text-color:#4C4C58 !important; }
footer a { --dsgo-text-color:#4C4C58 !important; }
footer a:hover { --dsgo-text-color:#1B1464 !important; }
footer .klug-mark { --dsgo-text-color:#1B1464 !important; }
footer .klug-mark span { --dsgo-text-color:#F01942 !important; }
footer h3 { --dsgo-text-color:#62626F !important; }

.klug-postband .klug-postgrid .wp-block-post-template {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:0 clamp(22px,3vw,48px) !important;
  list-style:none !important; margin:0 !important; padding:0 !important;
}
@media (max-width:860px){
  .klug-postband .klug-postgrid .wp-block-post-template {
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* ============================================================================
   56. CASE STUDIES  (added 20 Aug 2026)

   Section 54's blanket paragraph rule flattened the case-study lead figure to
   body size, so the one number each case study is built around was reading as
   a caption. This restores the lead band to the approved A2 proportions and
   puts the section headings and the body on the same left edge.
============================================================================ */

.klug-case { background:#FAFAF8; }

.klug-caseline {
  background:#FAFAF8 !important;
  border-top:1px solid rgba(18,18,26,.14);
  padding-block:20px 24px !important;
}
.klug-caseline p {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.9rem !important; color:#5A5A66 !important; margin:0 !important;
}
.klug-caseline a {
  color:#1B1464 !important; text-decoration:none !important;
  border-bottom:1px solid rgba(27,20,100,.28); transition:color .2s, border-color .2s;
}
.klug-caseline a:hover { color:#F01942 !important; border-bottom-color:#F01942; }

/* ---- the lead figure --------------------------------------------------- */
.klug-case .klug-leadfig {
  border-top:2px solid #12121A;
  padding-top:clamp(24px,3vw,34px) !important;
  margin:0 0 clamp(34px,4.5vw,62px) !important;
  display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr);
  gap:0 clamp(20px,4vw,64px); align-items:end;
  max-width:none !important;
}
body:not(.home) .entry-content .klug-case .klug-bignum-lead,
.klug-case .klug-bignum-lead {
  grid-column:1; grid-row:1; margin:0 !important;
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(3.2rem,8.5vw,7.5rem) !important; font-weight:700 !important;
  line-height:.82 !important; letter-spacing:-.05em !important;
  font-variant-numeric:tabular-nums; color:#1B1464 !important;
}
body:not(.home) .entry-content .klug-case .klug-leadcap,
.klug-case .klug-leadcap {
  grid-column:1; grid-row:2; margin:16px 0 0 !important;
  font-family:'Source Sans 3',sans-serif !important;
  font-size:clamp(1.05rem,1.4vw,1.28rem) !important; line-height:1.45 !important;
  color:#12121A !important; max-width:34ch;
}
.klug-case .klug-meta {
  grid-column:2; grid-row:1 / span 2; align-self:end; margin:0 !important;
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.98rem !important; line-height:1.6 !important;
  color:#4C4C58 !important; max-width:52ch;
}
@media (max-width:940px){
  .klug-case .klug-leadfig { grid-template-columns:minmax(0,1fr); }
  .klug-case .klug-bignum-lead,
  .klug-case .klug-leadcap { grid-column:1; }
  .klug-case .klug-meta { grid-column:1; grid-row:auto; margin-top:24px !important; }
}

/* ---- one left edge through the narrative ------------------------------- */
.klug-case > h2 {
  font-family:'Source Serif 4',Georgia,serif !important;
  font-size:clamp(1.5rem,2.4vw,2.1rem) !important; font-weight:700 !important;
  line-height:1.1 !important; letter-spacing:-.026em !important; color:#12121A !important;
  border-top:1px solid rgba(18,18,26,.14);
  padding-top:.62em !important; margin:2.1em 0 .55em !important;
  max-width:none !important; text-wrap:balance;
}
.klug-case > h2:first-of-type { margin-top:0 !important; }
body:not(.home) .entry-content .klug-case > p,
.klug-case > p {
  margin-left:0 !important; margin-right:0 !important;
  max-width:68ch !important;
  font-size:1.09rem !important; line-height:1.66 !important; color:#23222C !important;
}
body:not(.home) .entry-content .klug-case .klug-meta,
.klug-case .klug-meta { font-size:.98rem !important; }

/* ============================================================================
   57. ONE GRID  (added 20 Aug 2026)

   Interior pages were laid out with columns blocks of two, three and four,
   so a reader crossing three sections met three different column structures.
   Every band of tiles now resolves to the same twelve-column reading of the
   page: three across, one left edge, no centred half-rows.
============================================================================ */

body:not(.home) .wp-block-columns:has(> .wp-block-column > .klug-tile):not(.klug-grid--4):has(> .wp-block-column:nth-child(3)) {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(28px,3.2vw,50px) clamp(22px,3vw,48px) !important;
  align-items:start !important;
}
/* A four-item band wraps to a second row; without a row gap the fourth tile
   butted straight up against the first. */
body:not(.home) .wp-block-columns:has(> .wp-block-column > .klug-tile) > .wp-block-column > .klug-tile + .klug-tile {
  margin-top:clamp(28px,3.2vw,50px) !important;
}
body:not(.home) .wp-block-columns:has(> .wp-block-column > .klug-tile):not(.klug-grid--4):has(> .wp-block-column:nth-child(3)) > .wp-block-column {
  flex-basis:auto !important; width:auto !important; margin:0 !important;
}
@media (max-width:860px){
  body:not(.home) .wp-block-columns:has(> .wp-block-column > .klug-tile):not(.klug-grid--4):has(> .wp-block-column:nth-child(3)) {
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* ---- full-bleed bands. Some interior bands were marked alignfull but had
       their negative margin cancelled somewhere upstream, so they sat as
       inset panels with their text 100px in while everything else was 50. */
body:not(.home) .entry-content > .alignfull {
  margin-left:calc(var(--wp--style--root--padding-left) * -1) !important;
  margin-right:calc(var(--wp--style--root--padding-right) * -1) !important;
  max-width:none !important;
}

/* ============================================================================
   58. ONE LEFT EDGE, AT EVERY WIDTH  (added 20 Aug 2026)

   Two container systems were running side by side. Some bands centred their
   contents on a 1200px measure; others ran full width with 50px of padding.
   At 1286px the two edges differed by seven pixels and nobody noticed. At
   1440px they differ by sixty-three, which is what a wide monitor shows: a
   page whose sections do not line up with one another or with the header.

   Every interior band now uses the homepage's container — 1440 maximum, with
   the same fluid padding — so there is one left edge at any window width.
============================================================================ */
body:not(.home) .entry-content > .alignfull,
body:not(.home) main > .alignfull {
  --wp--style--global--content-size:1440px;
  --wp--style--global--wide-size:1440px;
  padding-left:clamp(22px,4.4vw,72px) !important;
  padding-right:clamp(22px,4.4vw,72px) !important;
}
/* Plain pages — the privacy policy, the advice note itself — have no bands at
   all, so their content was being centred on a narrow measure while every
   other page ran from the left edge. Give them the article treatment. */
body:not(.home) .entry-content > :not(.alignfull):not(.alignwide):not(.wp-block-html):not(script) {
  margin-left:0 !important; margin-right:auto !important;
  max-width:72ch !important;
}
body:not(.home) .klug-hero h1,
body:not(.home) .klug-hero .has-text-align-center,
body:not(.home) .klug-hero p { text-align:left !important; }

/* Anything inside a band that carries its own narrow measure was being
   auto-centred, so the privacy policy and the advice note sat in a column in
   the middle of the page. Keep the measure, drop the centring. */
body:not(.home) .entry-content > .alignfull > :not(.alignfull):not(.alignwide):not(.wp-block-buttons),
body:not(.home) main > .alignfull > :not(.alignfull):not(.alignwide):not(.wp-block-buttons) {
  margin-left:0 !important; margin-right:auto !important;
}

/* A group nested inside a band inherits the theme's global padding a second
   time, which put the 404 tiles and the calculator card 35px inboard of
   everything else. Bands keep their padding; anything nested loses it. */
body:not(.home) .has-global-padding .has-global-padding:not(.alignfull) {
  padding-left:0 !important; padding-right:0 !important;
}

/* Widening the container must not widen the reading measure. */
body:not(.home) .entry-content > .alignfull p:not(.klug-eyebrow):not(.klug-num):not(.klug-meta),
body:not(.home) main > .alignfull p:not(.klug-eyebrow):not(.klug-num):not(.klug-meta) {
  max-width:72ch;
}
body:not(.home) .entry-content > .alignfull > h2,
body:not(.home) main > .alignfull > h2 { max-width:26ch; }

/* ---- links inside cards were carrying the theme underline -------------- */
body:not(.home) .klug-tile h2 a,
body:not(.home) .klug-tile h3 a,
body:not(.home) .klug-tile h4 a,
body:not(.home) .klug-tile .wp-block-heading a,
body:not(.home) .klug-tile .wp-block-post-title a {
  text-decoration:none !important; color:#12121A !important;
  background-image:none !important; transition:color .2s;
}
body:not(.home) .klug-tile h2 a:hover,
body:not(.home) .klug-tile h3 a:hover,
body:not(.home) .klug-tile h4 a:hover,
body:not(.home) .klug-tile .wp-block-heading a:hover,
body:not(.home) .klug-tile .wp-block-post-title a:hover { color:#1B1464 !important; }

body:not(.home) .klug-tile p a {
  text-decoration:none !important; color:#1B1464 !important; font-weight:600;
  border-bottom:1px solid rgba(27,20,100,.3); transition:color .2s, border-color .2s;
}
body:not(.home) .klug-tile p a:hover { color:#F01942 !important; border-bottom-color:#F01942; }

/* ---- interior heroes carried a brighter navy than the homepage, so the
       photographs read washed out and blue. One overlay, one temperature. */
body:not(.home) .klug-hero { position:relative !important; isolation:isolate; }
body:not(.home) .klug-hero::before {
  content:"" !important; display:block !important;
  position:absolute !important; top:0 !important; right:0 !important;
  bottom:0 !important; left:0 !important; width:auto !important; height:auto !important;
  margin:0 !important; padding:0 !important; border:0 !important;
  z-index:0; pointer-events:none;
  background:linear-gradient(96deg,
    rgba(11,8,40,.90) 0%, rgba(11,8,40,.82) 40%,
    rgba(11,8,40,.62) 72%, rgba(11,8,40,.44) 100%);
}
body:not(.home) .klug-hero > * { position:relative; z-index:1; }

/* ---- topic chips: the active one was navy text on a navy fill ---------- */
.klug-topics { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 clamp(26px,3vw,44px); }
.klug-topics a {
  font-family:'Source Sans 3',sans-serif !important;
  font-size:.82rem !important; font-weight:600 !important; line-height:1 !important;
  color:#1B1464 !important; background:transparent !important;
  text-decoration:none !important;
  border:1px solid rgba(27,20,100,.28) !important; border-radius:2px !important;
  padding:9px 14px !important; transition:color .18s, background .18s, border-color .18s;
}
.klug-topics a:hover { border-color:#1B1464 !important; background:rgba(27,20,100,.06) !important; }
.klug-topics a[aria-current], .klug-topics a.is-active, .klug-topics a.is-current {
  color:#FAFAF8 !important; background:#1B1464 !important; border-color:#1B1464 !important;
}
.klug-topics a.is-active:hover { background:#0B0828 !important; }
.klug-case > p.klug-eyebrow { max-width:none !important; }


/* ============================================================================
   66. THE SCALE TILES LINE UP  (added 20 Aug 2026)

   Mike: "spacing here looks off and grid alignment". He was right and it was
   measurable — the role label sat wherever the copy happened to end, so across
   one row the three labels floated at 3727px, 3632px and 3632px. Tiles are
   top-aligned; the label has to be bottom-aligned or the grid reads as ragged.
============================================================================ */
.klug-scale li { display:flex; flex-direction:column; }
.klug-scale li h3 { margin-bottom:.5em; }
.klug-scale li p { flex:0 0 auto; }
.klug-scale li .klug-scalerole { margin-top:auto; padding-top:16px; }


/* ============================================================================
   67. SECTIONS THAT READ AS SECTIONS  (added 20 Aug 2026)

   Mike: "Still just reads like a dump on a page scrolling from top to bottom
   without obvious breaks or sections."

   Measured on /about-us/: the Leadership band is 1162px tall and the Scale
   band 1427px, both on transparent (= paper). That is 2,589px — nearly three
   screens — with no surface change and no rule. And .klug-tint was rendering
   at rgb(247,247,245) against paper at rgb(250,250,248): a three-point
   difference, which is invisible. The band existed but did nothing.

   Two fixes: make the tint an actual step, and open every section with a rule
   so a break is visible even where two bands share a surface.
============================================================================ */

/* ---- the tint has to be seen to be a section --------------------------- */
body:not(.home) .klug-tint,
.klug-tint { background-color:#EFEFE9 !important; }

/* ---- every section opens on a rule ------------------------------------- */
body:not(.home) .klug-sechead {
  border-top:2px solid #12121A;
  padding-top:22px !important;
}
body:not(.home) .klug-onnavy .klug-sechead,
body:not(.home) .klug-hero .klug-sechead {
  border-top-color:rgba(250,250,248,.34);
}
/* The hero states the page; it does not need a rule above its own eyebrow. */
body:not(.home) .klug-hero > .klug-eyebrow,
body:not(.home) .klug-hero > .klug-eyebrow--light { border-top:0; }

/* ---- and more air between them ----------------------------------------- */
body:not(.home) main .wp-block-group.alignfull:not(.klug-hero) {
  padding-block:clamp(60px,7vw,112px) !important;
}

/* ========================================================================
   68. THE HOMEPAGE, BROUGHT ONTO THE SAME SECTION SYSTEM
   ------------------------------------------------------------------------
   The homepage runs on the k2 grid, and every rule in section 67 is scoped
   `body:not(.home)`. So the one page most people actually see received none
   of the section work. Three faults, measured at 1286px:

     1. `.k2-sec + .k2-sec { padding-top:0 }` collapsed four consecutive
        sections into a single uninterrupted scroll. This is the specific
        rule behind "reads like a dump on a page".
     2. No band carried a rule, so a section change was signalled by nothing
        at all where two bands shared a surface.
     3. The tint was #F2F2EE — an 8-point step off the paper, where the rest
        of the site now uses an 11-point one.

   `.k2-head` is the homepage's `.klug-sechead`. Same treatment, same rule,
   same weight, so the homepage and the interior pages read as one site.
   ===================================================================== */

/* Consecutive sections keep their own top padding. */
.home .k2-sec + .k2-sec { padding-top:clamp(46px,5.6vw,92px); }

/* Every section opens on a rule, as it does everywhere else. */
.home .k2-sec .k2-head,
.home .k2-deepband .k2-head {
  border-top:2px solid #12121A;
  padding-top:24px;
}

/* On the dark bands the rule lightens rather than disappearing. */
.home .k2-deepband .k2-head { border-top-color:rgba(250,250,248,.34); }

/* The hero states the page; it does not need a rule above its own eyebrow. */
.home .k2-hero .k2-head { border-top:0; padding-top:0; }

/* One tint, sitewide. */
.home .k2-sec--tint { background:#EFEFE9 !important; }

/* ========================================================================
   69. ARTICLE TILES — ONE GUTTER
   ------------------------------------------------------------------------
   The article tiles were running two different gutters for the same content.
   The homepage band (.k2-notes) sets 39px between three 364px columns. The
   query loop that renders /insights/, the category archives and the advice
   notes (.wp-block-post-template) was inheriting 28px between three 372px
   columns — 11px tighter, on the page that shows the most tiles at once.

   At that width each column's text ends barely a third of a line-height from
   the next column's text starting, so the columns read as one crowded block
   and the leftmost sits hard against the page edge. Matched to the homepage.
   Three !important rules already target this grid at different
   specificities (.klug-postgrid, body.page-id-89, .klug-postband). Each is
   restated below so the gutter wins on all of them, not only the weakest.
   ===================================================================== */

.klug-postgrid .wp-block-post-template,
body.page-id-89 .klug-postgrid .wp-block-post-template,
.klug-postband .klug-postgrid .wp-block-post-template {
  column-gap:clamp(22px,3vw,48px) !important;
}

/* ========================================================================
   70. HOVER ON FLAT TILES — the top rule, since nothing lifts
   ------------------------------------------------------------------------
   NOTE, for whoever reads this next: an earlier rule in this sheet ALREADY
   sets `body:not(.home) .klug-tile:hover { transform:none; box-shadow:none }`,
   so the card-era lift was not still firing on interior pages. I assumed it
   was and was wrong. Only the border-top-color line below is doing new work
   — it darkens the rule on hover, which is the one affordance a flat tile
   has left. The transform/box-shadow resets are kept only so this block is
   self-contained if the earlier rule is ever removed.
   ===================================================================== */

body:not(.home) .klug-tile:hover {
  transform:none !important;
  box-shadow:none !important;
  border-top-color:#12121A !important;
}

/* ========================================================================
   71. ARTICLE TILES — A SMALL INDENT
   ------------------------------------------------------------------------
   Mike: "i would have thought a small indent would be cleaner."

   The tiles had 22px above the chip and 26px below the date against ZERO
   left and right, so each one read as an L-shaped void — generous
   vertically, nothing horizontally.

   The indent goes on the tile's padding, not its border, so the **top rule
   still spans the full column** and stays aligned to the page grid and to
   the section heading above it. Only the content moves in. That keeps the
   grid honest while giving the text somewhere to sit.

   Archive and advice-note grids only. About, Services and the rest are
   untouched — their tiles align to the grid deliberately and Mike has not
   asked for those to move.
   ===================================================================== */

body:not(.home) .klug-postgrid .klug-tile,
body.page-id-89 .klug-postgrid .klug-tile,
body:not(.home) .klug-postband .klug-postgrid .klug-tile {
  padding-left:18px !important;
  padding-right:18px !important;
}

/* ========================================================================
   72. TRUSTEDSITE BADGE — SUPPRESSED
   ------------------------------------------------------------------------
   Mike asked for the TrustedSite badge to come off the site.

   It cannot be removed from here. It is enqueued from PHP (handle
   `trustedsite-badge`, WordPress core's own `data-wp-strategy` attribute),
   and `/wp-content/mu-plugins/gd-system-plugin.php` returns 200 — GoDaddy's
   system mu-plugin is installed. **mu-plugins do not appear on the Plugins
   screen and cannot be deactivated from WordPress admin at all.** Turning
   the badge off properly is a GoDaddy hosting-dashboard setting.

   What this rule does: guarantees the badge never draws, whatever GoDaddy
   does at their end. Today the container renders EMPTY (`<div></div>` at
   92x38, bottom:-13px), so nothing is visible either way — but if GoDaddy
   ever completes certification the badge would appear without warning.
   This closes that door.

   What it does NOT do: the script still loads from cdn.trustedsite.com on
   every page, with its dns-prefetch. Removing that needs the hosting
   dashboard. Delete this section once it is off at source.
   ===================================================================== */

#trustedsite-tm-image,
#trustedsite-tm-style,
[id^="trustedsite-tm"] {
  display:none !important;
  visibility:hidden !important;
}


/* ==========================================================================
   46. MOBILE MENU CONTRAST  (added 25 Aug 2026)
   The open hamburger overlay was rendering white links on the paper
   background, so the navigation was invisible on a phone. 28 rules in this
   sheet target .wp-block-navigation__responsive-container; rather than work
   out which one wins, set BOTH the surface and the ink together, qualified
   with html body so no equal-specificity !important rule can outrank it.
   ========================================================================== */
html body .wp-block-navigation__responsive-container.is-menu-open,
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  background-color: #1B1464 !important;
  color: #ffffff !important;
}
html body .wp-block-navigation__responsive-container.is-menu-open a,
html body .wp-block-navigation__responsive-container.is-menu-open a:hover,
html body .wp-block-navigation__responsive-container.is-menu-open a:focus,
html body .wp-block-navigation__responsive-container.is-menu-open a:visited,
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
  color: #ffffff !important;
  fill: currentColor !important;
}
html body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  border-color: rgba(255, 255, 255, 0.18) !important;
}


/* ===== Photography V1 (2 Nov 2026) =====
   Home hero photo replaced; hero photos added to Transactions (222), Development (181), Asset Management (196)
   and case studies Turnover rent (1247), 58 leases (1249), Joint venture (1250).
   Rollback: delete this whole block. */
.k2-hero { --k2-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-city-street-2048x1152.jpg); }
.home .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-city-street-2048x1152.jpg); }
.page-id-222 .klug-hero, .page-id-181 .klug-hero, .page-id-196 .klug-hero, .page-id-1247 .klug-hero, .page-id-1249 .klug-hero, .page-id-1250 .klug-hero {
  background-image: radial-gradient(120% 100% at 12% 0%, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0) 58%), linear-gradient(100deg, rgba(27,20,100,0.975) 0%, rgba(27,20,100,0.945) 36%, rgba(27,20,100,0.66) 70%, rgba(27,20,100,0.46) 100%), var(--klug-hero-photo);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-id-222 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-industrial-estate-2048x1152.jpg); }
.page-id-181 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-development-crane-2048x1152.jpg); }
.page-id-196 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-retail-strip-2048x1152.jpg); }
.page-id-1247 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-large-format-retail-2048x1152.jpg); }
.page-id-1249 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-gym-floor-2048x1152.jpg); }
.page-id-1250 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-warehouse-racking-2048x1152.jpg); }
@media (max-width: 900px) {
  .home .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-city-street-2048x1152.jpg); }
  .page-id-222 .klug-hero, .page-id-181 .klug-hero, .page-id-196 .klug-hero, .page-id-1247 .klug-hero, .page-id-1249 .klug-hero, .page-id-1250 .klug-hero {
    background-image: radial-gradient(120% 100% at 12% 0%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 58%), linear-gradient(180deg, rgba(27,20,100,0.965) 0%, rgba(27,20,100,0.93) 62%, rgba(27,20,100,0.80) 100%), var(--klug-hero-photo);
  }
}
/* Lighter overlay on photo pages so the photo reads (2 Nov 2026, second pass) */
.page-id-222 .klug-hero, .page-id-181 .klug-hero, .page-id-196 .klug-hero, .page-id-1247 .klug-hero, .page-id-1249 .klug-hero, .page-id-1250 .klug-hero {
  background-image: linear-gradient(100deg, rgba(27,20,100,0.86) 0%, rgba(27,20,100,0.62) 40%, rgba(27,20,100,0.22) 75%, rgba(27,20,100,0.08) 100%), var(--klug-hero-photo);
}
.k2-hero {
  background-image: linear-gradient(96deg, rgba(11,8,40,.88) 0%, rgba(11,8,40,.66) 38%, rgba(11,8,40,.24) 72%, rgba(11,8,40,.08) 100%), var(--k2-hero-photo);
}
@media (max-width: 900px) {
  .page-id-222 .klug-hero, .page-id-181 .klug-hero, .page-id-196 .klug-hero, .page-id-1247 .klug-hero, .page-id-1249 .klug-hero, .page-id-1250 .klug-hero {
    background-image: linear-gradient(180deg, rgba(27,20,100,0.66) 0%, rgba(27,20,100,0.56) 60%, rgba(27,20,100,0.44) 100%), var(--klug-hero-photo);
    background-position: 60% center;
  }
  .k2-hero {
    background-image: linear-gradient(180deg, rgba(11,8,40,.70) 0%, rgba(11,8,40,.58) 60%, rgba(11,8,40,.46) 100%), var(--k2-hero-photo);
    background-position: 62% center;
  }
}
/* ===== end Photography V1 ===== */


/* Record band, 2 Nov 2026: four cases sat in a three-column grid (orphan card) with no gap between rows. Rollback: delete this block. */
.k2-cases { row-gap: 40px; }
@media (min-width: 1001px) and (max-width: 1279px) { .k2-cases article { grid-column: span 6; } }
@media (min-width: 1280px) { .k2-cases article { grid-column: span 3; } }
@media (max-width: 1000px) { .k2-cases { row-gap: 32px; } }


/* ===== Service page photos (2 Nov 2026) =====
   Hero photos added to Services (184), Strategic Advisory (200), Finance (194), Proptech (189).
   Same overlay as the other photo pages. Rollback: delete this whole block. */
.page-id-184 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-skyline-harbour-2048x1152.jpg); }
.page-id-200 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-city-from-hill-2048x1152.jpg); }
.page-id-194 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-office-facade-2048x1152.jpg); }
.page-id-189 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-motorway-night-2048x1152.jpg); }
.page-id-184 .klug-hero, .page-id-200 .klug-hero, .page-id-194 .klug-hero, .page-id-189 .klug-hero {
  background-image: linear-gradient(100deg, rgba(27,20,100,0.86) 0%, rgba(27,20,100,0.62) 40%, rgba(27,20,100,0.22) 75%, rgba(27,20,100,0.08) 100%), var(--klug-hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width:900px){
  .page-id-184 .klug-hero, .page-id-200 .klug-hero, .page-id-194 .klug-hero, .page-id-189 .klug-hero {
    background-image: linear-gradient(180deg, rgba(27,20,100,0.66) 0%, rgba(27,20,100,0.56) 60%, rgba(27,20,100,0.44) 100%), var(--klug-hero-photo);
    background-position: 60% center;
  }
}
/* ===== end Service page photos ===== */


/* ===== Remaining page photos (2 Nov 2026) =====
   Hero photos added to About (187), Contact (153), Insights (89), Case Studies (175), Research (177), Tools (1270),
   Effective Rent Calculator (1271), Lease Critical Dates (1278), Principal Investment (1251), Lease Audit (2548).
   Same overlay as the other photo pages. Rollback: delete this whole block. */
.page-id-89 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-glass-reflection-2048x1152.jpg); }
.page-id-153 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-harbour-bridge-night-2048x1152.jpg); }
.page-id-175 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-cbd-towers-2048x1152.jpg); }
.page-id-177 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-intersection-aerial-2048x1152.jpg); }
.page-id-187 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-heritage-building-2048x1152.jpg); }
.page-id-1251 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-city-and-harbour-2048x1152.jpg); }
.page-id-1270 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-glass-office-2048x1152.jpg); }
.page-id-1271 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-tower-detail-2048x1152.jpg); }
.page-id-1278 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-harbour-bridge-dusk-2048x1152.jpg); }
.page-id-2548 .klug-hero { --klug-hero-photo: url(https://klug.co.nz/wp-content/uploads/2026/11/klug-auckland-britomart-lane-2048x1152.jpg); }
.page-id-89 .klug-hero, .page-id-153 .klug-hero, .page-id-175 .klug-hero, .page-id-177 .klug-hero, .page-id-187 .klug-hero, .page-id-1251 .klug-hero, .page-id-1270 .klug-hero, .page-id-1271 .klug-hero, .page-id-1278 .klug-hero, .page-id-2548 .klug-hero {
  background-image: linear-gradient(100deg, rgba(27,20,100,0.86) 0%, rgba(27,20,100,0.62) 40%, rgba(27,20,100,0.22) 75%, rgba(27,20,100,0.08) 100%), var(--klug-hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width:900px){
  .page-id-89 .klug-hero, .page-id-153 .klug-hero, .page-id-175 .klug-hero, .page-id-177 .klug-hero, .page-id-187 .klug-hero, .page-id-1251 .klug-hero, .page-id-1270 .klug-hero, .page-id-1271 .klug-hero, .page-id-1278 .klug-hero, .page-id-2548 .klug-hero {
    background-image: linear-gradient(180deg, rgba(27,20,100,0.66) 0%, rgba(27,20,100,0.56) 60%, rgba(27,20,100,0.44) 100%), var(--klug-hero-photo);
    background-position: 60% center;
  }
}
/* ===== end Remaining page photos ===== */


/* Hide the lease audit banner on the lease audit page itself (2 Nov 2026). Rollback: delete this rule. */
.page-id-2548 .klug-strip { display: none; }/* Existing fixes */
footer { margin-top: 0 !important; }
.entry-content { margin-top: 0 !important; }
.woocommerce-page main { padding-bottom: 60px; padding-top: 40px; }
.coblocks-form .coblocks-field, .coblocks-form select { padding: 10px 10px; }/* Blog Carousel */
.page-id-89 .wp-block-post-template {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem !important;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #1a1a5e #f0f0f0;
}
.page-id-89 .wp-block-post-template > li {
  flex: 0 0 350px !important;
  max-width: 350px;
  scroll-snap-align: start;
}
.page-id-89 .wp-block-post-template::-webkit-scrollbar { height: 6px; }
.page-id-89 .wp-block-post-template::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.page-id-89 .wp-block-post-template::-webkit-scrollbar-thumb { background: #1a1a5e; border-radius: 3px; }
.page-id-89 .wp-block-post-template .wp-block-group {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-id-89 .wp-block-post-template .wp-block-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}
/* Case Studies Enhanced */
.page-id-175 .wp-block-image img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.page-id-175 .wp-block-image img:hover {
  transform: scale(1.02);
}
.page-id-175 .alignwide {
  transition: transform 0.3s ease;
}
.page-id-175 h2 {
  border-left: 4px solid #dc2626;
  padding-left: 1rem;
}
.page-id-175 .wp-block-list li {
  margin-bottom: 0.5rem;
}

/* === FIX 7: Contact page form spacing === */
.page-id-196 .wp-block-group,
.page-id-196 .wpforms-container,
body.page-id-196 form,
body.page-id-196 .wp-block-jetpack-contact-form {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-196 .wp-block-jetpack-contact-form .wp-block-jetpack-field,
body.page-id-196 .wpforms-field {
  margin-bottom: 1.25rem;
}

body.page-id-196 .wp-block-jetpack-contact-form .wp-block-jetpack-field input,
body.page-id-196 .wp-block-jetpack-contact-form .wp-block-jetpack-field textarea {
  padding: 0.75rem 1rem;
}

body.page-id-196 .wp-block-jetpack-contact-form .wp-block-jetpack-button {
  margin-top: 1rem;
}

/* === Promotional banner === */
.klug-promo-banner {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.klug-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
}

.klug-promo-text {
  font-weight: 400;
  opacity: 0.95;
  letter-spacing: 0.03em;
}

.klug-promo-sep {
  display: inline-block;
  margin: 0 14px;
  opacity: 0.4;
  font-weight: 300;
}

.klug-promo-cta {
  display: inline-block;
  background: #ffffff;
  color: #1B1464 !important;
  padding: 6px 18px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.klug-promo-cta:hover {
  background: #F01942;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .klug-promo-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .klug-promo-sep {
    display: none;
  }
  .klug-promo-banner {
    font-size: 0.82rem;
  }
}

/* === FIX 4: Case Studies consistent image sizing === */
.page-id-175 .wp-block-image.size-large figure,
.page-id-175 figure.wp-block-image.size-large {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
}

.page-id-175 .wp-block-image.size-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Header navigation fix === */

/* Compact nav link sizing so everything fits on one line */
.wp-block-navigation .wp-block-navigation-item a {
  font-size: 0.88rem !important;
  padding: 0.3rem 0.5rem !important;
}

/* Prevent the CTA button container from shrinking */
header .wp-block-buttons,
.wp-block-template-part .wp-block-buttons {
  flex-shrink: 0 !important;
}

/* Keep CTA button text on one line */
header .wp-block-button__link,
.wp-block-template-part .wp-block-button__link {
  white-space: nowrap !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 1rem !important;
}

/* === Asset Management page width fix === */
/* Override GoDaddy AI builder's 640px constraint on this page */
.page-id-196 .wp-block-group,
.page-id-196 .wp-block-columns,
.page-id-196 .wpforms-container {
  max-width: none !important;
}

/* Testimonial avatar alignment */
.testimonial-cards .wp-block-column {
  display: flex;
  flex-direction: column;
}
.testimonial-cards .wp-block-spacer {
  flex-grow: 1;
}

.testimonial-cards .wp-block-image {
  width: 50px !important;
  max-width: 50px !important;
  min-width: 50px !important;
  flex-shrink: 0;
}
.testimonial-cards .wp-block-image img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
}/* === Full-width announcement banner fix === */
/* Force .klug-ab to break out of the constrained layout container */
.klug-ab {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
  margin-right: calc(-1 * var(--wp--style--root--padding-right)) !important;
  position: relative !important;
  left: 0 !important;
}/* === Full-width announcement banner fix === */
/* Force .klug-ab to break out of the constrained layout container */
.klug-ab {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
  margin-right: calc(-1 * var(--wp--style--root--padding-right)) !important;
  position: relative !important;
  left: 0 !important;
}

/* === Fix scroll: text must enter from right edge and exit left edge === */
/* Override the track animation so it starts off-screen right and scrolls fully left */
.klug-ab-track {
  animation: none !important;
}
.klug-ab .klug-ab-track {
  display: flex !important;
  width: max-content !important;
  animation: klug-ab-scroll-fix 45s linear infinite !important;
  will-change: transform;
}
@keyframes klug-ab-scroll-fix {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* === Service Card Heading Contrast Fix === */
/* Fix dark blue link colour on service card headings overlaid on background images */
/* The H3 headings inside cover blocks use white text, but the anchor links override to dark blue */

/* Make all links inside cover blocks white with text shadow for contrast */
.wp-block-cover .wp-block-cover__inner-container h3 a,
.wp-block-cover .wp-block-cover__inner-container h3 a:visited,
.wp-block-cover .wp-block-cover__inner-container h3 a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Ensure paragraph text inside cover blocks is also white and readable */
.wp-block-cover .wp-block-cover__inner-container p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Strengthen the dark overlay on cover blocks used as service cards */
/* Target cover blocks that have the is-light class (which reduces the default overlay) */
.wp-block-cover.is-light .wp-block-cover__background,
.wp-block-cover.is-light::before {
  opacity: 0.55 !important;
}

/* On hover, darken the overlay slightly more for better readability */
.wp-block-cover.is-light:hover .wp-block-cover__background,
.wp-block-cover.is-light:hover::before {
  opacity: 0.65 !important;
  transition: opacity 0.3s ease;
}

/* Mobile: increase overlay strength further on smaller screens */
@media (max-width: 768px) {
  .wp-block-cover.is-light .wp-block-cover__background,
  .wp-block-cover.is-light::before {
    opacity: 0.6 !important;
  }
  
  .wp-block-cover .wp-block-cover__inner-container h3 a {
    font-size: 1.4rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
  }
}

/* ===== FIX 1: Homepage Service Card Heading Contrast on Mobile ===== */
/* On mobile, the homepage service section may show headings over images */
@media (max-width: 768px) {
  .home .wp-block-columns .wp-block-column h3 a,
  .home .wp-block-group h3 a {
    color: #1a1a6e !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }
}

/* Homepage service heading links - ensure good contrast everywhere */
.home .wp-block-column h3 a:hover {
  color: #F01942 !important;
  text-decoration: underline !important;
}



/* ===== FIX 3: Service Page Cover Block Heading Links (reinforced) ===== */
/* Ensure all cover block heading links are white on all service pages */
.wp-block-cover h3 a,
.wp-block-cover h2 a,
.wp-block-cover h1 a {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.wp-block-cover h3 a:hover,
.wp-block-cover h2 a:hover {
  color: #f0f0f0 !important;
  text-decoration: underline !important;
}


/* ===== GLOBAL MOBILE PADDING (all pages) ===== */
/* Ensures all content sections have comfortable left/right margins on mobile.
   Targets alignfull groups that lack the theme's has-global-padding class,
   and also ensures all direct entry-content children have a minimum side buffer. */
@media (max-width: 768px) {

  /* 1. Give all full-width groups without global padding a 20px side buffer */
  .wp-block-group.alignfull:not(.has-global-padding),
  .wp-block-group.alignwide:not(.has-global-padding) {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* 2. Ensure direct children of entry-content that are not full-width blocks get padding */
  .entry-content > .wp-block-heading,
  .entry-content > .wp-block-paragraph,
  .entry-content > .wp-block-list,
  .entry-content > .wp-block-columns:not(.alignfull):not(.alignwide) {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* 3. Prevent double-padding: nested headings/paragraphs inside padded groups inherit from parent */
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-heading,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-paragraph,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-columns,
  .wp-block-group.alignfull:not(.has-global-padding) .wp-block-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 4. Cover blocks: background stays full-width, but inner text gets padding */
  .wp-block-cover.alignfull,
  .wp-block-cover.alignwide {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 5. Cover block inner content needs side padding so text isn't flush against edge */
  .wp-block-cover .wp-block-cover__inner-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

}
/* ============================================================
   KLUG — IMPROVED MOBILE HAMBURGER MENU
   ============================================================ */

@media (max-width: 781px) {

  /* Style the hamburger toggle button */
  .wp-block-navigation__responsive-container-open,
  button.wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    cursor: pointer !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
    padding: 0 !important;
    position: relative !important;
  }

  .wp-block-navigation__responsive-container-open:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.8) !important;
    transform: scale(1.06) !important;
  }

  .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }

  .wp-block-navigation__responsive-container-open::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 13px !important;
    transform: translateX(-50%) !important;
    width: 20px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 6px 0 #ffffff, 0 12px 0 #ffffff !important;
    transition: all 0.3s ease !important;
  }

  .wp-block-navigation__responsive-container-close,
  button.wp-block-navigation__responsive-container-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    cursor: pointer !important;
    transition: background 0.25s ease, transform 0.25s ease !important;
    padding: 0 !important;
  }

  .wp-block-navigation__responsive-container-close:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: rotate(90deg) scale(1.06) !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    background: #1a1a5e !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 2rem !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open a {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    color: #ffffff !important;
    padding: 0.85rem 0 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open a:hover {
    color: #e8c84a !important;
  }
}

/* ============================================================
   KLUG — LEADERSHIP HEADSHOT & ABOUT PAGE STYLING
   March 2026
   ============================================================ */

/* Circular headshot with Klug navy border */
.wp-block-image.is-style-rounded img {
  border-radius: 50% !important;
  width: 200px !important;
  height: 200px !important;
  object-fit: cover !important;
  object-position: center top !important;
  box-shadow: 0 8px 32px rgba(27, 20, 100, 0.18) !important;
  border: 4px solid #1B1464 !important;
  display: block;
}

/* Leadership name title spacing */
.wp-block-columns .wp-block-column h3 {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

/* Director title badge — inline styles on the element handle this, no custom CSS needed */

/* Mobile: stack headshot above bio */
@media (max-width: 599px) {
  .wp-block-columns:has(.is-style-rounded) {
    flex-direction: column !important;
    align-items: center !important;
  }
  .wp-block-columns:has(.is-style-rounded) .wp-block-column:first-child {
    flex-basis: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 24px !important;
  }
  .wp-block-columns:has(.is-style-rounded) .wp-block-column:last-child {
    flex-basis: auto !important;
    width: 100% !important;
    text-align: left !important;
  }
}

/* General button polish */
.wp-block-button__link {
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(27, 20, 100, 0.22) !important;
}

/* Improve paragraph line height */
.entry-content p,
.wp-block-group p {
  line-height: 1.8 !important;
}


/* ============================================================
   BANNER BLUR FIX — GPU-accelerated smooth scrolling text
   Forces hardware compositing to eliminate sub-pixel blur
   ============================================================ */

/* 1. Force the banner container onto its own GPU layer */
.klug-ab {
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  perspective: 1000px !important;
  -webkit-perspective: 1000px !important;
  overflow: hidden !important;
}

/* 2. Override the existing animation with a GPU-composited version
      Uses translate3d instead of translateX to trigger hardware layer
      Rounded pixel values prevent sub-pixel rendering blur */
.klug-ab .klug-ab-track {
  will-change: transform !important;
  transform: translate3d(100vw, 0, 0) !important;
  animation: klug-banner-smooth 50s linear infinite !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  font-smooth: always !important;
}

@keyframes klug-banner-smooth {
  0%   { transform: translate3d(100vw, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* 3. Keep text crisp during animation */
.klug-ab .klug-ab-track,
.klug-ab .klug-ab-track * {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}


/* === LEADERSHIP PHOTO FIX: text left, photo right, no distortion === */
/* Photo column: constrain width, align right, no stretch */
.page-id-187 .klug-leader-photo {
  max-width: 220px !important;
  width: 220px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: block !important;
}
.page-id-187 .klug-leader-photo img,
.page-id-187 .klug-leader-col .wp-block-image img {
  width: 220px !important;
  height: 220px !important;
  max-width: 220px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 10px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
/* Prevent the column from stretching the image */
.page-id-187 .klug-leader-col,
.page-id-187 .wp-block-column:last-child:has(.klug-leader-photo) {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  align-self: flex-start !important;
}
/* On mobile: stack photo below text, centred */
@media (max-width: 599px) {
  .page-id-187 .klug-leader-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.5rem !important;
  }
}


/* === PORTRAIT PHOTO OVERRIDE: Remove all forced square dimensions === */
.page-id-187 .klug-leader-photo,
.page-id-187 .klug-leader-col,
.page-id-187 .wp-block-column:last-child:has(.klug-leader-photo) {
  max-width: none !important;
  width: auto !important;
  flex: 0 0 30% !important;
  align-self: flex-start !important;
}
.page-id-187 .klug-leader-photo img,
.page-id-187 .klug-leader-col .wp-block-image img,
.page-id-187 .wp-block-column:last-child .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: unset !important;
  border-radius: 8px !important;
  display: block !important;
}
/* === TEXT ALIGNMENT: Ensure all body text is left-aligned, not centred === */
.page-id-187 .wp-block-group p,
.page-id-187 .wp-block-column p {
  text-align: left !important;
}
/* === METHODOLOGY SECTION: Fix column alignment === */
.page-id-187 .wp-block-columns.are-vertically-aligned-top {
  align-items: flex-start !important;
}

/* ===== DESKTOP NAVIGATION DROPDOWN Z-INDEX FIX ===== */
/* Ensure the nav dropdown appears above the hero banner */
header.wp-block-group,
.wp-block-template-part > header,
header.wp-block-group.alignfull {
  position: relative !important;
  z-index: 100 !important;
}

/* ===== MOBILE NAVIGATION MENU FIX ===== */
@media (max-width: 768px) {

  /* 1. Overlay: dark navy, proper padding so Home is visible */
  .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #191970 !important;
    color: #ffffff !important;
    padding: 60px 30px 40px !important;
  }

  /* 2. Close button: visible, white, top-right */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    display: flex !important;
    color: #ffffff !important;
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10000 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 28px !important;
    height: 28px !important;
  }

  /* 3. Main menu container: vertical, centered */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    padding-top: 0 !important;
  }

  /* 4. All top-level menu items: consistent spacing, centered */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: block !important;
  }

  /* 5. Menu links: white, centered */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline !important;
  }

  /* 6. Hide native WP submenu toggle button/icon in mobile overlay (prevents the little box next to Services) */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
    display: none !important;
  }

  /* 7. Submenu: HIDDEN by default on mobile */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    display: none !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    box-shadow: none !important;
    gap: 0 !important;
  }

  /* 8. Show submenu when our JS adds the 'submenu-open' class on click */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child.submenu-open > .wp-block-navigation__submenu-container {
    display: flex !important;
  }

  /* 8b. Rotate the toggle arrow when open */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child.submenu-open .wp-block-navigation-submenu__toggle svg,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child.submenu-open .wp-block-navigation__submenu-icon svg {
    transform: rotate(180deg) !important;
  }

  /* 9. Submenu items: slightly smaller, with subtle separators */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: block !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 0.95rem !important;
    opacity: 0.85;
  }

}

/* Nav dropdown above banner */
header, .wp-block-template-part {
  position: relative;
  z-index: 20 !important;
}
.klug-ab {
  z-index: 5 !important;
}/* Existing fixes */
footer { margin-top: 0 !important; }
.entry-content { margin-top: 0 !important; }
.woocommerce-page main { padding-bottom: 60px; padding-top: 40px; }
.coblocks-form .coblocks-field, .coblocks-form select { padding: 10px 10px; }

/* ===== GLOBAL CONSISTENCY FIXES ===== */

/* Consistent section spacing */
.wp-block-group {
  scroll-margin-top: 80px;
}

/* Consistent heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  line-height: 1.2;
}

/* Primary CTA button style - filled navy */
.wp-block-button__link {
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}

/* Outline button style */
.is-style-outline .wp-block-button__link {
  border-width: 2px !important;
}

/* Consistent link colors */
.entry-content a:not(.wp-block-button__link) {
  color: #1a1a6e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):hover {
  color: #e63946;
}

/* Hide Pexels photo credits */
.wp-element-caption {
  display: none !important;
}

/* Consistent image styling */
.wp-block-image img {
  border-radius: 6px;
}

/* Consistent separator styling */
.wp-block-separator {
  border-color: #1a1a6e !important;
  opacity: 0.15 !important;
}

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Consistent card/column spacing */
.wp-block-columns {
  gap: 2rem !important;
}

/* Better blockquote styling */
.wp-block-quote {
  border-left: 4px solid #1a1a6e !important;
  padding: 1rem 1.5rem !important;
  font-style: italic;
  background: #f8f8fc;
  border-radius: 0 6px 6px 0;
}

/* Footer consistency */
footer .wp-block-social-links .wp-social-link {
  transition: transform 0.2s ease;
}
footer .wp-block-social-links .wp-social-link:hover {
  transform: scale(1.1);
}

/* Consistent section padding */
.wp-block-cover {
  min-height: 400px !important;
}

/* Navigation hover effect */
.wp-block-navigation-item a:hover {
  color: #e63946 !important;
}

/* Form input consistency */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 12px !important;
  font-size: 15px !important;
  transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: #1a1a6e !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(26,26,110,0.1) !important;
}

/* Full-width cover blocks */
.wp-block-cover.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Hide duplicate page title above hero */
.entry-header,
.wp-block-post-title {
    display: none !important;
}

/* Cover block text readability */
.wp-block-cover .wp-block-heading,
.wp-block-cover p,
.wp-block-cover h1,
.wp-block-cover h6 {
    color: #ffffff !important;
}

/* Consistent hero overlay */
.wp-block-cover .wp-block-cover__background {
    opacity: 0.6 !important;
}

/* Broader full-width cover for entry content */
.entry-content > .wp-block-cover {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Klug red tick marks - #f01942 */
img.emoji[alt="\2714"] {
    filter: invert(22%) sepia(96%) saturate(3500%) hue-rotate(330deg) brightness(100%) contrast(100%) !important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {

  /* 1. Hide header CTA button on mobile */
  .header-cta-btn {
    display: none !important;
  }

  /* 2. Hide announcement banner on mobile */
  .klug-ab {
    display: none !important;
  }

  /* 3. Hero buttons full-width on mobile */
  .wp-block-cover .wp-block-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button {
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }

  /* 4. Better section spacing on mobile */
  .entry-content > .wp-block-group {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* 5. Reduce hero heading size on mobile */
  .wp-block-cover h1,
  .wp-block-cover .wp-block-heading {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

}

/* ===== ADDITIONAL MOBILE FIXES v2 ===== */
@media (max-width: 768px) {

  /* Hide header CTA - target wp-block-buttons inside header */
  header .wp-block-buttons,
  .wp-block-template-part .wp-block-buttons {
    display: none !important;
  }

  /* Hide announcement banner - stronger selector */
  div.klug-ab {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Make Our Services button also full-width */
  .wp-block-cover .wp-block-button.is-style-outline {
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }

}

/* ===== TABLET FIXES ===== */

/* Force hamburger menu at tablet sizes */
@media (max-width: 800px) {
  .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
    display: none !important;
  }
  .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }
}

/* Tablet: cap hero button width */
@media (min-width: 601px) and (max-width: 768px) {
  .wp-block-cover .wp-block-buttons {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Shift mobile breakpoint from 768px to 600px */
@media (min-width: 601px) and (max-width: 768px) {
  /* Tablet: show header CTA again */
  header .wp-block-buttons,
  .wp-block-template-part .wp-block-buttons {
    display: flex !important;
  }
  /* Tablet: hero buttons side by side */
  .wp-block-cover .wp-block-buttons {
    flex-direction: row !important;
  }
  .wp-block-cover .wp-block-button {
    width: auto !important;
  }
  .wp-block-cover .wp-block-button__link {
    width: auto !important;
  }
}

/* Mobile: Service card headings white for readability */
@media (max-width: 600px) {
    .wp-block-cover .wp-block-heading,
    .wp-block-cover .wp-block-heading a {
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
}

/* ============================================================
   KLUG MOBILE NAVIGATION - COMPLETE FIX v3
   Dark navy hamburger lines visible on white header.
   Full-screen dark navy overlay consistent on all pages.
   ============================================================ */
@media (max-width: 781px) {

  /* 1. Force hamburger button to show on mobile */
  .wp-block-navigation__responsive-container-open,
  button.wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: 2px solid rgba(27, 20, 100, 0.3) !important;
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    padding: 0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }

  /* 2. Hover state */
  .wp-block-navigation__responsive-container-open:hover {
    background: rgba(27, 20, 100, 0.08) !important;
    border-color: rgba(27, 20, 100, 0.6) !important;
  }

  /* 3. Hide the default SVG icon */
  .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }

  /* 4. Draw three dark navy lines using pseudo-element */
  .wp-block-navigation__responsive-container-open::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    transform: translateX(-50%) !important;
    width: 20px !important;
    height: 2px !important;
    background: #1B1464 !important;
    border-radius: 2px !important;
    box-shadow: 0 7px 0 #1B1464, 0 14px 0 #1B1464 !important;
    transition: all 0.3s ease !important;
  }

  /* 5. Close button styling */
  .wp-block-navigation__responsive-container-close,
  button.wp-block-navigation__responsive-container-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    color: #ffffff !important;
    padding: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 1rem !important;
  }

  /* 6. Hide nav container by default */
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  /* 7. Full-screen dark navy overlay when open */
  .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1B1464 !important;
    overflow-y: auto !important;
    padding: 2rem !important;
  }

  /* 8. Nav links in overlay */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open a {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    color: #ffffff !important;
    padding: 0.85rem 0 !important;
    text-decoration: none !important;
  }

  /* 9. Hover colour for nav links in overlay */
  .wp-block-navigation__responsive-container.is-menu-open a:hover {
    color: #e8c84a !important;
  }
}
/* 10. Hide native WP submenu toggle button in mobile overlay (the little box next to Services) */
@media (max-width: 781px) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
    display: none !important;
  }
}

/* ===== GLOBAL CONSISTENCY FIXES ===== */

/* Consistent section spacing */
.wp-block-group {
  scroll-margin-top: 80px;
}

/* Consistent heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  line-height: 1.2;
}

/* Primary CTA button style - filled navy */
.wp-block-button__link {
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}

/* Outline button style */
.is-style-outline .wp-block-button__link {
  border-width: 2px !important;
}

/* Consistent link colors */
.entry-content a:not(.wp-block-button__link) {
  color: #1a1a6e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):hover {
  color: #e63946;
}

/* Hide Pexels photo credits */
.wp-element-caption {
  display: none !important;
}

/* Consistent image styling */
.wp-block-image img {
  border-radius: 6px;
}

/* Consistent separator styling */
.wp-block-separator {
  border-color: #1a1a6e !important;
  opacity: 0.15 !important;
}

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Consistent card/column spacing */
.wp-block-columns {
  gap: 2rem !important;
}

/* Better blockquote styling */
.wp-block-quote {
  border-left: 4px solid #1a1a6e !important;
  padding: 1rem 1.5rem !important;
  font-style: italic;
  background: #f8f8fc;
  border-radius: 0 6px 6px 0;
}

/* Footer consistency */
footer .wp-block-social-links .wp-social-link {
  transition: transform 0.2s ease;
}
footer .wp-block-social-links .wp-social-link:hover {
  transform: scale(1.1);
}

/* Consistent section padding */
.wp-block-cover {
  min-height: 400px !important;
}

/* Navigation hover effect */
.wp-block-navigation-item a:hover {
  color: #e63946 !important;
}

/* Form input consistency */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 12px !important;
  font-size: 15px !important;
  transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: #1a1a6e !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(26,26,110,0.1) !important;
}

/* Full-width cover blocks */
.wp-block-cover.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Hide duplicate page title above hero */
.entry-header,
.wp-block-post-title {
    display: none !important;
}

/* Cover block text readability */
.wp-block-cover .wp-block-heading,
.wp-block-cover p,
.wp-block-cover h1,
.wp-block-cover h6 {
    color: #ffffff !important;
}

/* Consistent hero overlay */
.wp-block-cover .wp-block-cover__background {
    opacity: 0.6 !important;
}

/* Broader full-width cover for entry content */
.entry-content > .wp-block-cover {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Klug red tick marks - #f01942 */
img.emoji[alt="\2714"] {
    filter: invert(22%) sepia(96%) saturate(3500%) hue-rotate(330deg) brightness(100%) contrast(100%) !important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {

  /* 1. Hide header CTA button on mobile */
  .header-cta-btn {
    display: none !important;
  }

  /* 2. Hide announcement banner on mobile */
  .klug-ab {
    display: none !important;
  }

  /* 3. Hero buttons full-width on mobile */
  .wp-block-cover .wp-block-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button {
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }

  /* 4. Better section spacing on mobile */
  .entry-content > .wp-block-group {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* 5. Reduce hero heading size on mobile */
  .wp-block-cover h1,
  .wp-block-cover .wp-block-heading {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

}

/* ===== ADDITIONAL MOBILE FIXES v2 ===== */
@media (max-width: 768px) {

  /* Hide header CTA - target wp-block-buttons inside header */
  header .wp-block-buttons,
  .wp-block-template-part .wp-block-buttons {
    display: none !important;
  }

  /* Hide announcement banner - stronger selector */
  div.klug-ab {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Make Our Services button also full-width */
  .wp-block-cover .wp-block-button.is-style-outline {
    width: 100% !important;
  }
  .wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }

}

/* ===== TABLET FIXES ===== */

/* Force hamburger menu at tablet sizes */
@media (max-width: 800px) {
  .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
    display: none !important;
  }
  .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }
}

/* Tablet: cap hero button width */
@media (min-width: 601px) and (max-width: 768px) {
  .wp-block-cover .wp-block-buttons {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Shift mobile breakpoint from 768px to 600px */
@media (min-width: 601px) and (max-width: 768px) {
  /* Tablet: show header CTA again */
  header .wp-block-buttons,
  .wp-block-template-part .wp-block-buttons {
    display: flex !important;
  }
  /* Tablet: hero buttons side by side */
  .wp-block-cover .wp-block-buttons {
    flex-direction: row !important;
  }
  .wp-block-cover .wp-block-button {
    width: auto !important;
  }
  .wp-block-cover .wp-block-button__link {
    width: auto !important;
  }
}

/* Mobile: Service card headings white for readability */
@media (max-width: 600px) {
    .wp-block-cover .wp-block-heading,
    .wp-block-cover .wp-block-heading a {
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
}

/* ============================================================
   KLUG MOBILE NAVIGATION - COMPLETE FIX v3
   Dark navy hamburger lines visible on white header.
   Full-screen dark navy overlay consistent on all pages.
   ============================================================ */
@media (max-width: 781px) {

  /* 1. Force hamburger button to show on mobile */
  .wp-block-navigation__responsive-container-open,
  button.wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: 2px solid rgba(27, 20, 100, 0.3) !important;
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    padding: 0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }

  /* 2. Hover state */
  .wp-block-navigation__responsive-container-open:hover {
    background: rgba(27, 20, 100, 0.08) !important;
    border-color: rgba(27, 20, 100, 0.6) !important;
  }

  /* 3. Hide the default SVG icon */
  .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }

  /* 4. Draw three dark navy lines using pseudo-element */
  .wp-block-navigation__responsive-container-open::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    transform: translateX(-50%) !important;
    width: 20px !important;
    height: 2px !important;
    background: #1B1464 !important;
    border-radius: 2px !important;
    box-shadow: 0 7px 0 #1B1464, 0 14px 0 #1B1464 !important;
    transition: all 0.3s ease !important;
  }

  /* 5. Close button styling */
  .wp-block-navigation__responsive-container-close,
  button.wp-block-navigation__responsive-container-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    color: #ffffff !important;
    padding: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 1rem !important;
  }

  /* 6. Hide nav container by default */
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  /* 7. Full-screen dark navy overlay when open */
  .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1B1464 !important;
    overflow-y: auto !important;
    padding: 2rem !important;
  }

  /* 8. Nav links in overlay */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open a {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    color: #ffffff !important;
    padding: 0.85rem 0 !important;
    text-decoration: none !important;
  }

  /* 9. Hover colour for nav links in overlay */
  .wp-block-navigation__responsive-container.is-menu-open a:hover {
    color: #e8c84a !important;
  }
}

:root :where(.wp-block-columns-is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.wp-block-columns-is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.wp-block-columns-is-layout-flow) > *{margin-block-start: var(--wp--preset--spacing--50);margin-block-end: 0;}:root :where(.wp-block-columns-is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.wp-block-columns-is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.wp-block-columns-is-layout-constrained) > *{margin-block-start: var(--wp--preset--spacing--50);margin-block-end: 0;}:root :where(.wp-block-columns-is-layout-flex){gap: var(--wp--preset--spacing--50);}:root :where(.wp-block-columns-is-layout-grid){gap: var(--wp--preset--spacing--50);}
:root :where(.wp-block-buttons-is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.wp-block-buttons-is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.wp-block-buttons-is-layout-flow) > *{margin-block-start: 16px;margin-block-end: 0;}:root :where(.wp-block-buttons-is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.wp-block-buttons-is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.wp-block-buttons-is-layout-constrained) > *{margin-block-start: 16px;margin-block-end: 0;}:root :where(.wp-block-buttons-is-layout-flex){gap: 16px;}:root :where(.wp-block-buttons-is-layout-grid){gap: 16px;}
:root :where(.wp-block-navigation){font-size: var(--wp--preset--font-size--medium);}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button))){text-decoration: none;}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover){text-decoration: underline;}
/*# sourceURL=global-styles-inline-css */
