:root {
  --ksj-navy: #0e3a5c;
  --ksj-deep: #082c48;
  --ksj-ink: #172b3a;
  --ksj-gold: #c5a14a;
  --ksj-gold-light: #ead99f;
  --ksj-mist: #f4f7f9;
  --ksj-line: #dce5ea;
  --ksj-white: #fff;
  --ksj-radius: 16px;
  --ksj-shadow: 0 18px 50px rgba(8, 44, 72, .12);
  --ksj-font: Montserrat, Avenir, Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ksj-ink); background: #fff; font-family: var(--ksj-font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.ksj-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ksj-navy); text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.ksj-skip-link { position: fixed; left: 16px; top: -100px; z-index: 10000; background: #fff; color: var(--ksj-navy); padding: 12px 18px; border-radius: 8px; box-shadow: var(--ksj-shadow); }
.ksj-skip-link:focus { top: 16px; }

.ksj-site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(14,58,92,.08); transition: box-shadow .2s ease, border-color .2s ease; }
.admin-bar .ksj-site-header { top: 32px; }
.ksj-site-header.is-scrolled { box-shadow: 0 8px 28px rgba(8,44,72,.1); border-color: transparent; }
.ksj-header-inner { width: min(1440px, calc(100% - 48px)); min-height: 84px; margin: 0 auto; display: grid; grid-template-columns: 215px 1fr auto; align-items: center; gap: 24px; }
.ksj-brand a, .ksj-brand .custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.ksj-logo { display: block; width: auto; height: 58px; object-fit: contain; }
.ksj-wordmark, .ksj-footer-wordmark { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ksj-navy); text-decoration: none; line-height: 1; }
.ksj-wordmark strong, .ksj-footer-wordmark strong { font-size: 34px; letter-spacing: -.06em; }
.ksj-wordmark span, .ksj-footer-wordmark span { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ksj-primary-navigation { justify-self: end; }
.ksj-menu, .ksj-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.ksj-menu { display: flex; align-items: center; gap: 3px; }
.ksj-menu > li { position: relative; display: flex; align-items: center; }
.ksj-menu > li > a { display: block; padding: 30px 10px; color: #243746; text-decoration: none; font-size: 13px; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.ksj-menu > li > a:hover, .ksj-menu > li > a:focus, .ksj-menu > .current-menu-item > a, .ksj-menu > .current-menu-ancestor > a { color: var(--ksj-gold); }
.ksj-submenu-toggle { border: 0; background: transparent; width: 22px; height: 38px; padding: 0; margin-left: -8px; color: var(--ksj-navy); cursor: pointer; }
.ksj-submenu-toggle span { display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.ksj-menu .sub-menu { position: absolute; left: 0; top: calc(100% - 8px); min-width: 290px; max-width: 360px; padding: 10px; background: #fff; border: 1px solid var(--ksj-line); border-radius: 12px; box-shadow: var(--ksj-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.ksj-menu .sub-menu li + li { border-top: 1px solid #edf1f3; }
.ksj-menu .sub-menu a { display: block; color: var(--ksj-ink); font-size: 13px; font-weight: 600; line-height: 1.35; padding: 11px 12px; text-decoration: none; border-radius: 7px; }
.ksj-menu .sub-menu a:hover, .ksj-menu .sub-menu a:focus { color: var(--ksj-navy); background: #f3f7f9; }
.ksj-menu li:hover > .sub-menu, .ksj-menu li:focus-within > .sub-menu, .ksj-menu li.submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ksj-header-cta, .ksj-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; background: var(--ksj-gold); color: #102c40; border: 1px solid var(--ksj-gold); border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.ksj-header-cta:hover, .ksj-header-cta:focus, .ksj-button:hover, .ksj-button:focus { color: #102c40; background: #d4b45f; box-shadow: 0 10px 24px rgba(197,161,74,.28); transform: translateY(-1px); }
.ksj-button.is-outline { background: transparent; color: var(--ksj-navy); border-color: var(--ksj-navy); }
.ksj-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; border-radius: 6px; cursor: pointer; }
.ksj-menu-toggle i { display: block; height: 2px; width: 24px; margin: 5px auto; background: var(--ksj-navy); transition: transform .2s ease, opacity .2s ease; }
.ksj-menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.ksj-menu-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.ksj-menu-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.ksj-main { min-height: 50vh; }
.ksj-main.is-elementor { overflow: hidden; }
.ksj-main.is-elementor > .elementor { margin: 0; }
.ksj-page-title, .ksj-archive-header, .ksj-single-shell article > header { padding: 90px max(24px, calc((100vw - 1180px) / 2)); background: linear-gradient(135deg, var(--ksj-deep), var(--ksj-navy)); color: #fff; }
.ksj-page-title h1, .ksj-archive-header h1, .ksj-single-shell h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; letter-spacing: -.035em; }
.ksj-archive-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 90px; }
.ksj-archive-shell .ksj-archive-header { width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 56px; }
.ksj-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.ksj-post-card { overflow: hidden; background: #fff; border: 1px solid var(--ksj-line); border-radius: 14px; box-shadow: 0 12px 34px rgba(8,44,72,.08); }
.ksj-post-card img { display: block; aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.ksj-post-card > div { padding: 24px; }
.ksj-post-card h2 { margin: 5px 0 12px; font-size: 22px; line-height: 1.25; }
.ksj-post-card h2 a { color: var(--ksj-navy); text-decoration: none; }
.ksj-post-meta { color: #647783; font-size: 13px; }
.ksj-text-link { color: var(--ksj-navy); font-weight: 750; text-decoration: none; }
.ksj-eyebrow { margin: 0 0 12px; color: var(--ksj-gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ksj-single-shell article > header { width: 100%; }
.ksj-single-image, .ksj-prose { width: min(860px, calc(100% - 48px)); margin: 48px auto; }
.ksj-single-image img { border-radius: 16px; }
.ksj-prose { font-size: 18px; line-height: 1.8; }
.ksj-prose h2, .ksj-prose h3 { color: var(--ksj-navy); line-height: 1.25; margin-top: 2em; }
.ksj-prose a { color: var(--ksj-navy); }

/* Premium editorial treatment for KSJ Insights. */
body.single-post .ksj-main { background: linear-gradient(180deg,#f5f8fa 0,#fff 74%); }

.ksj-single-shell .ksj-insight-article > .ksj-article-hero {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 5% 14%,rgba(229,199,102,.14),transparent 25%),
    radial-gradient(circle at 88% 120%,rgba(106,160,193,.2),transparent 38%),
    linear-gradient(128deg,#062a45 0%,#0d3a5d 62%,#092f4e 100%);
}

.ksj-article-hero::before {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(229,199,102,.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 54px rgba(255,255,255,.018),inset 0 0 0 108px rgba(255,255,255,.014);
  content: "";
  pointer-events: none;
}

.ksj-article-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1240px,calc(100% - 48px));
  min-height: 430px;
  align-items: center;
  grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr);
  gap: clamp(38px,5vw,76px);
  margin: 0 auto;
  padding: 68px 0;
}

.ksj-article-hero__inner.is-copy-only { grid-template-columns: minmax(0,820px); justify-content: center; text-align: center; }
.ksj-article-hero__inner.is-copy-only .ksj-article-breadcrumb,
.ksj-article-hero__inner.is-copy-only .ksj-article-meta { justify-content: center; }

.ksj-article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #e4c766;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ksj-article-breadcrumb a { color: #fff; text-decoration: none; }
.ksj-article-breadcrumb a:hover,
.ksj-article-breadcrumb a:focus-visible { color: #f0d77c; }

.ksj-single-shell .ksj-article-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px,4.4vw,68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.ksj-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 650;
}

.ksj-article-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--ksj-gold); }

.ksj-article-hero__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid rgba(233,210,137,.78);
  border-radius: 22px 22px 74px 22px;
  box-shadow: 0 28px 66px rgba(0,17,29,.34);
}

.ksj-article-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg,transparent 46%,rgba(3,26,43,.82));
  pointer-events: none;
}

.ksj-article-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ksj-article-hero__media:hover img { transform: scale(1.035); }
.ksj-article-hero__media > span { position: absolute; z-index: 1; right: 22px; bottom: 19px; left: 22px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.ksj-article-layout {
  display: grid;
  width: min(1120px,calc(100% - 48px));
  align-items: start;
  grid-template-columns: 220px minmax(0,1fr);
  gap: clamp(34px,4.5vw,62px);
  margin: 0 auto;
  padding: 68px 0 100px;
}

.ksj-article-rail__inner {
  position: sticky;
  top: 112px;
  padding: 22px 20px 20px;
  border: 1px solid var(--ksj-line);
  border-top: 3px solid var(--ksj-gold);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(8,44,72,.07);
  background: rgba(255,255,255,.96);
}

.ksj-article-rail__label { margin: 0 0 13px; color: #607787; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ksj-article-rail nav { display: grid; gap: 2px; }
.ksj-article-rail nav a { position: relative; padding: 10px 4px 10px 15px; border-bottom: 1px solid #e8eef1; color: var(--ksj-navy); font-size: 12px; font-weight: 750; line-height: 1.45; text-decoration: none; transition: color .2s ease,padding-left .2s ease; }
.ksj-article-rail nav a::before { position: absolute; top: 17px; left: 0; width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--ksj-gold); }
.ksj-article-rail nav a:hover,
.ksj-article-rail nav a:focus-visible { padding-left: 19px; color: #b38728; }
.ksj-article-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #617887; font-size: 12px; font-weight: 750; text-decoration: none; }
.ksj-article-back:hover,
.ksj-article-back:focus-visible { color: var(--ksj-navy); }

.ksj-article-main {
  overflow: hidden;
  border: 1px solid rgba(14,58,92,.11);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(8,44,72,.09);
  background: #fff;
}

.ksj-article-content { padding: clamp(34px,5vw,62px); color: #263b49; font-size: 17px; line-height: 1.82; }
.ksj-article-content > p { margin: 0 0 23px; }
.ksj-article-content > p:first-child { margin-bottom: 28px; color: #163d58; font-size: clamp(19px,2vw,22px); font-weight: 520; line-height: 1.65; }
.ksj-article-content h2,
.ksj-article-content h3 { position: relative; margin: 48px 0 18px; padding-top: 17px; color: var(--ksj-navy); font-size: clamp(23px,2.8vw,31px); line-height: 1.22; letter-spacing: -.025em; scroll-margin-top: 130px; }
.ksj-article-content h2::before,
.ksj-article-content h3::before { position: absolute; top: 0; left: 0; width: 52px; height: 3px; border-radius: 999px; content: ""; background: linear-gradient(90deg,#b98e2f,#e2c875); }
.ksj-article-content ul,
.ksj-article-content ol { display: grid; gap: 11px; margin: 25px 0 34px; padding: 0; list-style: none; counter-reset: ksj-article-list; }
.ksj-article-content li { position: relative; min-height: 52px; padding: 14px 17px 14px 48px; border: 1px solid #e0e8ed; border-radius: 11px; background: linear-gradient(105deg,#f7fafb,#fff); }
.ksj-article-content li > p { margin: 0; }
.ksj-article-content ul > li::before { position: absolute; top: 21px; left: 21px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--ksj-gold); content: ""; background: var(--ksj-gold); }
.ksj-article-content ol > li { counter-increment: ksj-article-list; }
.ksj-article-content ol > li::before { position: absolute; top: 14px; left: 15px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; content: counter(ksj-article-list); color: #fff; background: var(--ksj-navy); font-size: 11px; font-weight: 800; }
.ksj-article-content a { color: var(--ksj-navy); font-weight: 700; }

.ksj-article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(28px,5vw,58px);
  color: #fff;
  background:
    radial-gradient(circle at 92% -30%,rgba(229,199,102,.22),transparent 34%),
    linear-gradient(120deg,#082c48,#0d3b5e);
}

.ksj-article-cta span { color: #e1c261; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ksj-article-cta h2 { margin: 5px 0 0; color: #fff; font-size: clamp(20px,2.5vw,28px); line-height: 1.2; }
.ksj-article-cta .ksj-button { flex: 0 0 auto; gap: 9px; }
.ksj-article-cta .ksj-button > span { color: inherit; font-size: 16px; letter-spacing: 0; transition: transform .2s ease; }
.ksj-article-cta .ksj-button:hover > span { transform: translateX(3px); }
.ksj-error-page { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0; text-align: center; }
.ksj-error-page h1 { margin: 0 0 14px; color: var(--ksj-navy); font-size: clamp(42px, 7vw, 76px); line-height: 1.05; }
.ksj-error-page > div { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

.ksj-site-footer { background: var(--ksj-deep); color: rgba(255,255,255,.76); }
.ksj-footer-inner { width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 28px; display: grid; grid-template-columns: 1.25fr .75fr 1fr .8fr 1.35fr; gap: 34px; align-items: start; }
.ksj-footer-logo-link { display: block; width: min(218px,100%); padding: 7px 10px; overflow: hidden; border: 1px solid rgba(229,199,102,.34); border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.13); }
.ksj-footer-logo-link img { display: block; width: 100%; height: auto; }
.ksj-footer-brand p { max-width: 300px; margin: 16px 0 0; font-size: 13px; line-height: 1.62; }
.ksj-footer-contact { display: grid; gap: 8px; margin-top: 16px; }
.ksj-footer-contact a { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.35; text-decoration: none; transition: color .2s ease; }
.ksj-footer-contact a:hover, .ksj-footer-contact a:focus-visible { color: var(--ksj-gold-light); }
.ksj-footer-contact .ksj-ui-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--ksj-gold-light); }
.ksj-footer-column h2 { margin: 0 0 17px; color: #fff; font-size: 15px; letter-spacing: .04em; }
.ksj-footer-column h3 { margin: 15px 0 5px; color: var(--ksj-gold-light); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ksj-footer-column ul { list-style: none; margin: 0; padding: 0; }
.ksj-footer-column li { margin: 0 0 8px; }
.ksj-footer-column a { display: block; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.45; text-decoration: none; }
.ksj-footer-column a:hover, .ksj-footer-column a:focus { color: var(--ksj-gold-light); }
.ksj-footer-office-heading { display: flex; align-items: center; gap: 9px; }
.ksj-footer-office-heading img { display: block; width: 27px; height: 18px; object-fit: cover; border: 1px solid rgba(255,255,255,.62); border-radius: 2px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.ksj-footer-office h3 { margin: 0 0 5px; }
.ksj-footer-office + .ksj-footer-office { margin-top: 15px; }
.ksj-footer-offices p { margin: 0; font-size: 12px; line-height: 1.48; }
.ksj-footer-bottom { width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 18px 76px 18px 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.ksj-footer-bottom span:last-child { display: flex; flex-wrap: wrap; gap: 18px; }
.ksj-footer-bottom a { color: rgba(255,255,255,.72); text-decoration: none; }

@media (max-width: 1240px) {
  .ksj-header-inner { width: min(100% - 32px, 1440px); grid-template-columns: 190px 1fr auto; gap: 14px; }
  .ksj-menu > li > a { padding-inline: 7px; font-size: 12px; }
  .ksj-footer-inner { grid-template-columns: 1.2fr .8fr 1fr 1fr; }
  .ksj-footer-offices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 32px; }
  .ksj-footer-offices h2 { grid-column: 1 / -1; }
  .ksj-footer-office + .ksj-footer-office { margin-top: 0; }
}

@media (max-width: 1080px) {
  .admin-bar .ksj-site-header { top: 32px; }
  .ksj-header-inner { min-height: 76px; grid-template-columns: 1fr auto auto; }
  .ksj-logo { height: 50px; }
  .ksj-menu-toggle { display: block; }
  .ksj-primary-navigation { position: fixed; inset: 76px 0 0 auto; width: min(430px, 100%); padding: 16px 22px 40px; overflow-y: auto; background: #fff; box-shadow: -14px 20px 36px rgba(8,44,72,.16); transform: translateX(105%); transition: transform .25s ease; }
  .admin-bar .ksj-primary-navigation { top: 108px; }
  .ksj-primary-navigation.is-open { transform: translateX(0); }
  .ksj-menu { display: block; }
  .ksj-menu > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--ksj-line); }
  .ksj-menu > li > a { padding: 15px 4px; font-size: 14px; }
  .ksj-submenu-toggle { width: 44px; height: 52px; margin: 0; }
  .ksj-submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg) translate(-1px,-1px); }
  .ksj-menu .sub-menu { position: static; grid-column: 1 / -1; display: none; min-width: 0; max-width: none; padding: 0 0 12px 14px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .ksj-menu li.submenu-open > .sub-menu { display: block; }
  .ksj-menu .sub-menu a { padding: 11px 8px; }
}

@media (max-width: 760px) {
  .admin-bar .ksj-site-header { top: 46px; }
  .admin-bar .ksj-primary-navigation { top: 122px; }
  .ksj-header-inner { width: calc(100% - 24px); grid-template-columns: 1fr auto; }
  .ksj-header-cta { display: none; }
  .ksj-primary-navigation { width: 100%; }
  .ksj-post-grid { grid-template-columns: 1fr; }
  .ksj-archive-shell { width: min(100% - 32px, 1180px); }
  .ksj-footer-inner { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .ksj-footer-brand, .ksj-footer-offices { grid-column: 1 / -1; }
  .ksj-footer-offices { display: block; }
  .ksj-footer-office + .ksj-footer-office { margin-top: 15px; }
  .ksj-footer-bottom { width: calc(100% - 36px); display: block; padding-right: 64px; }
  .ksj-footer-bottom span { display: block; margin-bottom: 12px; }
  .ksj-footer-bottom span:last-child { display: flex; }
  .ksj-error-page > div { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Premium shell: Investa-inspired utility bar and persistent navigation. */
.ksj-header-stack { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: none; transition: box-shadow .28s ease; }
.admin-bar .ksj-header-stack { top: 32px; }
.ksj-utility-bar { max-height: 42px; overflow: hidden; color: rgba(255,255,255,.82); background: var(--ksj-deep); transform: translate3d(0,0,0); transform-origin: top; transition: max-height .34s cubic-bezier(.22,.7,.2,1), opacity .22s ease, transform .34s cubic-bezier(.22,.7,.2,1); will-change: max-height, opacity, transform; }
.ksj-utility-inner { width: min(1320px, calc(100% - 64px)); min-height: 42px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: clamp(48px,6vw,92px); }
.ksj-utility-contact { display: flex; align-items: center; gap: 32px; min-width: 0; }
.ksj-utility-contact a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 650; text-decoration: none; transition: color .18s ease; }
.ksj-utility-contact a:hover, .ksj-utility-contact a:focus-visible { color: #fff; }
.ksj-ui-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.ksj-social-links { display: flex; align-items: center; gap: 10px; }
.ksj-social-links a { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 8px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); text-decoration: none; transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease; }
.ksj-social-links a:hover, .ksj-social-links a:focus-visible { color: #fff; transform: translateY(-2px) scale(1.04); }
.ksj-social-links a[aria-label="LinkedIn"]:hover,
.ksj-social-links a[aria-label="LinkedIn"]:focus-visible { background: #0a66c2; box-shadow: 0 7px 18px rgba(10,102,194,.35); }
.ksj-social-links a[aria-label="Facebook"]:hover,
.ksj-social-links a[aria-label="Facebook"]:focus-visible { background: #1877f2; box-shadow: 0 7px 18px rgba(24,119,242,.34); }
.ksj-social-links a[aria-label="Instagram"]:hover,
.ksj-social-links a[aria-label="Instagram"]:focus-visible { background: linear-gradient(135deg,#833ab4,#e1306c 55%,#fcb045); box-shadow: 0 7px 18px rgba(225,48,108,.32); }
.ksj-social-links .ksj-ui-icon { width: 16px; height: 16px; }
.ksj-header-stack.is-scrolled { box-shadow: 0 9px 30px rgba(8,44,72,.13); }
.ksj-header-stack.is-scrolled .ksj-utility-bar { max-height: 0; opacity: 0; transform: translate3d(0,-100%,0); }
.ksj-site-header { position: relative; top: auto; border-bottom-color: rgba(14,58,92,.08); box-shadow: none; }
.admin-bar .ksj-site-header { top: auto; }
.ksj-header-stack.is-scrolled .ksj-site-header { border-bottom-color: transparent; }
.ksj-header-inner,
.ksj-logo,
.ksj-menu > li > a { transition: min-height .34s cubic-bezier(.22,.7,.2,1), height .34s cubic-bezier(.22,.7,.2,1), padding .34s cubic-bezier(.22,.7,.2,1); }
.ksj-header-stack.is-scrolled .ksj-header-inner { min-height: 74px; }
.ksj-header-stack.is-scrolled .ksj-logo { height: 50px; }
.ksj-header-stack.is-scrolled .ksj-menu > li > a { padding-top: 25px; padding-bottom: 25px; }

/* Two-line navigation hover treatment inspired by Investa, adapted to KSJ colors. */
.ksj-menu > li > a { position: relative; }
.ksj-menu > li > a::before,
.ksj-menu > li > a::after { position: absolute; width: 0; height: 2px; content: ""; background: var(--ksj-gold); transition: width .32s ease; }
.ksj-menu > li > a::before { top: 18px; left: 10px; }
.ksj-menu > li > a::after { right: 10px; bottom: 18px; }
.ksj-menu > li > a:hover::before,
.ksj-menu > li > a:hover::after,
.ksj-menu > li > a:focus-visible::before,
.ksj-menu > li > a:focus-visible::after,
.ksj-menu > .current-menu-item > a::before,
.ksj-menu > .current-menu-item > a::after,
.ksj-menu > .current-menu-ancestor > a::before,
.ksj-menu > .current-menu-ancestor > a::after { width: calc(100% - 20px); }
.ksj-menu .sub-menu { border-top: 3px solid var(--ksj-gold); }
.ksj-menu .sub-menu a { position: relative; padding-left: 18px; transition: color .2s ease, background .2s ease, padding-left .2s ease; }
.ksj-menu .sub-menu a::before { position: absolute; left: 7px; top: 50%; width: 0; height: 1px; content: ""; background: var(--ksj-gold); transition: width .2s ease; }
.ksj-menu .sub-menu a:hover, .ksj-menu .sub-menu a:focus { padding-left: 25px; }
.ksj-menu .sub-menu a:hover::before, .ksj-menu .sub-menu a:focus::before { width: 11px; }

/* Footer social profiles and the globally available WhatsApp contact. */
.ksj-social-links.is-footer { margin-top: 16px; }
.ksj-social-links.is-footer a { border-color: rgba(255,255,255,.3); }
.ksj-floating-actions { position: fixed; z-index: 995; right: 22px; bottom: 22px; display: grid; justify-items: end; gap: 10px; }
.ksj-whatsapp-float,
.ksj-scroll-top { position: relative; display: grid; width: 52px; height: 52px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; box-shadow: 0 12px 28px rgba(8,44,72,.3); color: #fff; text-decoration: none; transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease; }
.ksj-whatsapp-float { background: #1faa59; }
.ksj-whatsapp-float:hover, .ksj-whatsapp-float:focus-visible { color: #fff; background: #158e49; box-shadow: 0 15px 34px rgba(8,44,72,.35); transform: translateY(-3px); }
.ksj-whatsapp-float .ksj-ui-icon { width: 26px; height: 26px; }
.ksj-scroll-top { width: 46px; height: 46px; border-color: rgba(197,161,74,.78); color: var(--ksj-deep); background: var(--ksj-gold); opacity: 0; visibility: hidden; transform: translateY(8px); }
.ksj-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ksj-scroll-top:hover, .ksj-scroll-top:focus-visible { color: #fff; background: var(--ksj-navy); box-shadow: 0 14px 32px rgba(8,44,72,.34); transform: translateY(-3px); }
.ksj-scroll-top .ksj-ui-icon { width: 21px; height: 21px; }
.ksj-float-tooltip { position: absolute; right: calc(100% + 10px); width: max-content; max-width: 180px; padding: 6px 9px; border-radius: 5px; color: var(--ksj-deep); background: #fff; box-shadow: 0 7px 20px rgba(8,44,72,.18); font-size: 11px; font-weight: 750; line-height: 1.2; opacity: 0; visibility: hidden; transform: translateX(5px); pointer-events: none; transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.ksj-whatsapp-float:hover .ksj-float-tooltip,
.ksj-whatsapp-float:focus-visible .ksj-float-tooltip,
.ksj-scroll-top:hover .ksj-float-tooltip,
.ksj-scroll-top:focus-visible .ksj-float-tooltip { opacity: 1; visibility: visible; transform: translateX(0); }

/* Premium article/job cards. */
.ksj-post-card { position: relative; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ksj-post-card > a { display: block; overflow: hidden; }
.ksj-post-card img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.ksj-post-card:hover { border-color: rgba(197,161,74,.72); box-shadow: 0 20px 46px rgba(8,44,72,.14); transform: translateY(-6px); }
.ksj-post-card:hover img { transform: scale(1.07); }
.ksj-job-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.ksj-job-facts li { padding: 15px 17px; border: 1px solid var(--ksj-line); border-radius: 10px; background: var(--ksj-mist); }
.ksj-job-facts small { display: block; color: #6a7e8a; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.ksj-job-facts strong { display: block; margin-top: 4px; color: var(--ksj-navy); font-size: 15px; }

@media (max-width: 1080px) {
  .ksj-utility-inner { width: min(100% - 32px,1320px); }
  .ksj-menu > li > a::before, .ksj-menu > li > a::after { display: none; }
  .ksj-menu .sub-menu { border-top: 0; }
  .ksj-header-stack:not(.is-scrolled) .ksj-primary-navigation { top: 118px; }
  .admin-bar .ksj-header-stack:not(.is-scrolled) .ksj-primary-navigation { top: 150px; }
  .ksj-header-stack.is-scrolled .ksj-primary-navigation { top: 74px; }
  .admin-bar .ksj-header-stack.is-scrolled .ksj-primary-navigation { top: 106px; }
  .ksj-article-hero__inner { grid-template-columns: minmax(0,1fr) minmax(320px,.82fr); gap: 34px; }
  .ksj-article-layout { grid-template-columns: 1fr; }
  .ksj-article-rail__inner { position: static; display: flex; align-items: center; gap: 22px; padding: 16px 18px; }
  .ksj-article-rail__label { flex: 0 0 auto; margin: 0; }
  .ksj-article-rail nav { display: flex; flex: 1; flex-wrap: wrap; gap: 5px 16px; }
  .ksj-article-rail nav a { padding: 5px 0 5px 13px; border: 0; }
  .ksj-article-rail nav a::before { top: 12px; }
  .ksj-article-rail nav a:hover,
  .ksj-article-rail nav a:focus-visible { padding-left: 13px; }
  .ksj-article-back { flex: 0 0 auto; margin: 0; }
}

@media (max-width: 760px) {
  .admin-bar .ksj-header-stack { top: 46px; }
  .ksj-utility-inner { width: calc(100% - 24px); }
  .ksj-utility-contact { width: 100%; justify-content: space-between; gap: 9px; }
  .ksj-utility-contact a { font-size: 11px; }
  .ksj-utility-contact a:first-child { display: none; }
  .ksj-utility-inner > .ksj-social-links { display: none; }
  .admin-bar .ksj-header-stack:not(.is-scrolled) .ksj-primary-navigation { top: 164px; }
  .admin-bar .ksj-header-stack.is-scrolled .ksj-primary-navigation { top: 120px; }
  .ksj-job-facts { grid-template-columns: 1fr; }
  .ksj-article-hero__inner { width: calc(100% - 28px); min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .ksj-single-shell .ksj-article-hero h1 { font-size: clamp(36px,11vw,50px); }
  .ksj-article-meta { margin-top: 19px; }
  .ksj-article-hero__media { aspect-ratio: 16/9; border-radius: 18px 18px 50px 18px; }
  .ksj-article-layout { width: calc(100% - 28px); gap: 24px; padding: 38px 0 68px; }
  .ksj-article-rail__inner { display: block; }
  .ksj-article-rail__label { margin-bottom: 9px; }
  .ksj-article-rail nav { display: grid; }
  .ksj-article-back { margin-top: 13px; }
  .ksj-article-main { border-radius: 17px; }
  .ksj-article-content { padding: 27px 22px 34px; font-size: 16px; line-height: 1.75; }
  .ksj-article-content h2,
  .ksj-article-content h3 { margin-top: 39px; }
  .ksj-article-content li { padding-right: 13px; }
  .ksj-article-cta { align-items: flex-start; flex-direction: column; padding: 27px 22px 30px; }
  .ksj-floating-actions { right: 14px; bottom: 14px; gap: 8px; }
  .ksj-whatsapp-float { width: 48px; height: 48px; }
  .ksj-whatsapp-float .ksj-ui-icon { width: 24px; height: 24px; }
  .ksj-scroll-top { width: 44px; height: 44px; }
  .ksj-float-tooltip { display: none; }
}

@media (max-width: 390px) {
  .ksj-utility-contact a:nth-child(2) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}
