:root {
  --jb-navy-deep: #07182a;
  --jb-navy: #12304b;
  --jb-navy-soft: #315873;
  --jb-teal: #147d83;
  --jb-teal-bright: #18a7a9;
  --jb-cyan-soft: #dff4f1;
  --jb-teal-light: #b4dedb;
  --jb-gold: #c69b3b;
  --jb-gold-light: #eddaa6;
  --jb-ink: #20384a;
  --jb-muted: #697681;
  --jb-ivory: #f1ece3;
  --jb-paper: #f8f6f1;
  --jb-white: #fff;
  --jb-line: rgba(9, 33, 61, .14);
  --jb-shell: min(1180px, calc(100% - 64px));
  --jb-reading: min(760px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jb-paper);
  color: var(--jb-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.menu-is-open { overflow: hidden; }
::selection { background: rgba(212, 173, 69, .34); color: var(--jb-navy-deep); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--jb-teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--jb-navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--jb-gold); outline-offset: 4px; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  color: var(--jb-navy);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
}
h1 { font-size: clamp(2.65rem, 4.35vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 3.05vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.75vw, 1.62rem); }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote, table { margin-top: 0; margin-bottom: 1.45em; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--jb-white);
  color: var(--jb-navy);
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(circle at 78% 0%, rgba(24,167,169,.14), transparent 28%), linear-gradient(100deg, #07192c, #08273a);
  box-shadow: inset 0 -2px 0 rgba(24,167,169,.2);
}
.admin-bar .site-header { top: 0; }
.header-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--jb-shell);
  margin: 0 auto;
  padding: 7px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  color: #afc0cd;
  font-family: "Manrope", Arial, sans-serif;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.header-topline span { display: inline-flex; align-items: center; gap: 9px; }
.header-topline span::before { width: 18px; height: 1px; flex: 0 0 auto; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold)); content: ""; }
.header-topline a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid rgba(224,184,76,.22); border-radius: 999px; background: rgba(255,255,255,.025); color: #f1d982; font-family: "Manrope",Arial,sans-serif; font-size: .72rem; font-weight: 750; letter-spacing: .095em; text-decoration: none; }
.header-topline a::before { width: 5px; height: 5px; border-radius: 50%; background: var(--jb-teal-light); box-shadow: 0 0 0 3px rgba(69,196,198,.1); content: ""; }
.header-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  width: var(--jb-shell);
  margin: 0 auto;
}
.site-branding { flex: 0 0 auto; }
.site-brand-link { display: block; }
.site-logo { display: block; width: 222px; max-height: 62px; object-fit: contain; object-position: left center; }
.primary-navigation { margin-left: auto; }
.primary-menu, .primary-menu ul, .footer-menu { padding: 0; margin: 0; list-style: none; }
.primary-menu { display: flex; align-items: center; gap: 25px; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
  position: relative;
  display: block;
  padding: 29px 0;
  color: rgba(255,255,255,.76);
  font-size: .79rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.primary-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--jb-teal-bright), var(--jb-gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-menu > li:hover > a, .primary-menu > li:focus-within > a, .primary-menu > .current-menu-item > a, .primary-menu > .current-menu-ancestor > a { color: #fff4cf; }
.primary-menu > li:hover > a::after, .primary-menu > li:focus-within > a::after, .primary-menu > .current-menu-item > a::after, .primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-menu > .menu-item-has-children > a { padding-right: 16px; }
.primary-menu > .menu-item-has-children > a::before { position: absolute; top: 50%; right: 0; color: var(--jb-gold); content: "⌄"; transform: translateY(-55%); }
.primary-menu .sub-menu {
  position: absolute;
  z-index: 110;
  top: calc(100% - 7px);
  left: 50%;
  display: grid;
  width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-top: 2px solid var(--jb-gold);
  background: rgba(6,21,41,.985);
  box-shadow: 0 28px 65px rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); visibility: visible; }
.primary-menu .sub-menu li { min-width: 0; }
.primary-menu .sub-menu a {
  display: block;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid transparent;
  color: var(--jb-white);
  font-family: "Inter", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus-visible { border-color: rgba(212,173,69,.25); background: rgba(255,255,255,.045); color: var(--jb-white); }
.primary-menu > li:last-child > a {
  padding: 11px 17px;
  border: 1px solid rgba(111,221,216,.46);
  border-radius: 10px;
  color: var(--jb-white);
  background: linear-gradient(135deg, rgba(24,167,169,.16), rgba(211,165,46,.09));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.primary-menu > li:last-child > a::after { display: none; }
.primary-menu > li:last-child > a:hover { border-color: var(--jb-gold); background: linear-gradient(135deg, rgba(24,167,169,.27), rgba(211,165,46,.17)); }
.menu-toggle { display: none; }

.page-hero, .archive-hero, .article-hero {
  position: relative;
  overflow: hidden;
  color: var(--jb-white);
  background:
    radial-gradient(circle at 85% 12%, rgba(22,139,153,.19), transparent 27%),
    radial-gradient(circle at 16% 92%, rgba(212,173,69,.09), transparent 28%),
    linear-gradient(125deg, var(--jb-navy-deep), #0a2946);
}
.page-hero::after, .archive-hero::after, .article-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--jb-teal), var(--jb-gold) 52%, transparent); content: ""; opacity: .75; }
.page-hero__inner, .archive-hero__inner, .article-hero__inner { position: relative; z-index: 1; width: var(--jb-shell); margin: 0 auto; padding: clamp(74px, 9vw, 124px) 0; }
.page-hero h1, .archive-hero h1, .article-hero h1 { max-width: 920px; color: var(--jb-white); }
.page-hero__lead, .archive-hero__lead, .article-hero__lead { max-width: 720px; color: #bdccd8; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--jb-gold-light);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 1px; flex: 0 0 auto; background: currentColor; content: ""; opacity: .72; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 27px; color: #8ea5b7; font-size: .72rem; }
.breadcrumbs a { color: var(--jb-gold-light); text-decoration: none; }
.breadcrumbs span[aria-current="page"] { overflow: hidden; max-width: 55ch; text-overflow: ellipsis; white-space: nowrap; }

.site-main { min-height: 50vh; }
.embedded-layout-page { min-height: 0; overflow: clip; }
.embedded-layout-article, .embedded-page-content { width: 100%; }
.embedded-page-content::after { display: table; clear: both; content: ""; }
.embedded-page-content > .wpb-content-wrapper > .vc_section,
.embedded-page-content > .wpb-content-wrapper > .vc_row:not(.vc_row-full-width) { right: auto !important; left: 0 !important; width: 100% !important; max-width: none !important; margin-top: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
.embedded-page-content > .wpb-content-wrapper > .vc_section { padding-top: 0 !important; }
.embedded-page-content > .wpb-content-wrapper > .vc_section:first-child,
.embedded-page-content > .wpb-content-wrapper > .vc_row:first-child { padding-top: 0 !important; }
.embedded-page-content > .wpb-content-wrapper > .vc_section:first-child {
  overflow: hidden;
  background: transparent !important;
}
.embedded-page-content > .wpb-content-wrapper > .vc_section:first-child > .vc_row:first-child { position: relative; z-index: 1; }
.embedded-page-content > .wpb-content-wrapper > .vc_section > .vc_row > .wpb_column.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
.embedded-page-content > .wpb-content-wrapper > .vc_section:first-child > .vc_row:first-child > .wpb_column.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper { padding-top: clamp(30px,3.2vw,42px); }
.service-page .embedded-page-content > .wpb-content-wrapper > .vc_section:first-child > .vc_row:first-child {
  border-bottom: 1px solid transparent;
  background:
    radial-gradient(circle at 88% 8%, rgba(24,167,169,.11), transparent 29%),
    radial-gradient(circle at 7% 92%, rgba(198,155,59,.07), transparent 25%),
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(90deg,rgba(24,167,169,.55),rgba(198,155,59,.45),transparent) border-box !important;
}
.expertise-page .embedded-page-content > .wpb-content-wrapper > .vc_section:first-child > .vc_row:first-child {
  background:
    radial-gradient(circle at 85% 5%, rgba(24,167,169,.15), transparent 30%),
    linear-gradient(110deg,#06203a,#073761) !important;
}
.embedded-page-content div[style*="max-width: 1120px"][style*="padding: 66px 24px"] { padding-top: 42px !important; padding-bottom: 42px !important; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] { display: grid !important; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; align-items: stretch; justify-content: center; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"]:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"] { display: flex !important; width: 100% !important; min-width: 0 !important; height: 100% !important; flex-direction: column; margin: 0 !important; border-color: rgba(9, 96, 111, .17) !important; border-top: 3px solid var(--jb-teal) !important; border-radius: 18px 6px 18px 6px !important; box-shadow: 0 17px 38px rgba(9, 33, 61, .075) !important; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"] > :last-child { margin-bottom: 0; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"]:nth-child(4):last-child { grid-column: auto; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"]:nth-child(3n+2) { border-top-color: var(--jb-gold) !important; }
.embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"]:nth-child(3n) { border-top-color: var(--jb-navy-soft) !important; }
.embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) > div { min-height: 170px; border-bottom: 1px solid rgba(0,43,85,.09) !important; }
.embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) > div:nth-child(odd) { border-right: 1px solid rgba(0,43,85,.09); }
.embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) > div:nth-last-child(-n+2) { border-bottom: 0 !important; }
.embedded-page-content .wpb_text_column { margin-bottom: 0; }
.embedded-page-content a[href*="envoyer-un-message"] { border-radius: 10px !important; background: #e2b53e !important; color: var(--jb-navy-deep) !important; }
.content-shell { width: var(--jb-shell); margin: 0 auto; padding: clamp(68px, 8vw, 112px) 0; }
.reading-shell { width: var(--jb-reading); margin: 0 auto; padding: clamp(64px, 8vw, 105px) 0; }
.singular-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(48px, 7vw, 90px); width: var(--jb-shell); margin: 0 auto; padding: clamp(68px, 8vw, 112px) 0; align-items: start; }
.entry-content { min-width: 0; color: #344357; }
.entry-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p, .entry-content li { line-height: 1.82; }
.entry-content h2 { margin-top: 1.75em; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.entry-content h3 { margin-top: 1.65em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .55em; }
.entry-content strong { color: var(--jb-navy); }
.entry-content blockquote {
  margin: 2.2em auto;
  padding: 28px 32px;
  border-left: 3px solid var(--jb-gold);
  background: linear-gradient(135deg, #f4efe6, #edf4f3);
  color: var(--jb-navy);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.7;
}
.entry-content table { width: 100%; border-collapse: collapse; background: var(--jb-white); }
.entry-content th, .entry-content td { padding: 13px 15px; border: 1px solid var(--jb-line); text-align: left; }
.entry-content th { background: var(--jb-navy); color: var(--jb-white); }
.entry-content img { border-radius: 16px 5px 16px 5px; }
.entry-content figcaption { margin-top: 8px; color: var(--jb-muted); font-size: .75rem; text-align: center; }
.entry-content .wp-block-button__link, .button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.entry-content .wp-block-button__link:hover, .button:hover { transform: translateY(-2px); }
.button--gold, .entry-content .wp-block-button__link { background: var(--jb-gold); color: var(--jb-navy-deep); }
.button--gold:hover, .entry-content .wp-block-button__link:hover { background: #dfb950; color: var(--jb-navy-deep); }
.entry-featured { width: var(--jb-shell); margin: -52px auto 0; position: relative; z-index: 2; }
.entry-featured img { display: block; width: 100%; max-height: 680px; object-fit: cover; box-shadow: 0 24px 75px rgba(6,21,41,.15); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; color: #9fb0be; font-size: .75rem; }
.entry-meta a { color: var(--jb-gold-light); }
.entry-sidebar { position: sticky; top: 35px; padding: 26px; border-top: 3px solid var(--jb-gold); border-radius: 18px 5px 18px 5px; background: linear-gradient(145deg, #eef4f3, #f7f3eb); }
.entry-sidebar h2 { font-size: 1.05rem; }
.entry-sidebar p { color: var(--jb-muted); font-size: .82rem; }

.archive-shell { width: var(--jb-shell); margin: 0 auto; padding: clamp(68px, 8vw, 112px) 0; }
.blog-hub { background: #f7f6f2; }
.blog-hub__hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background:
    radial-gradient(circle at 87% 16%, rgba(42, 174, 177, .18), transparent 27%),
    radial-gradient(circle at 8% 86%, rgba(215, 171, 56, .12), transparent 24%),
    linear-gradient(112deg, #f7f3e9, #f4f8f7 65%, #eaf6f6);
}
.blog-hub__hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--jb-teal) 16%, var(--jb-gold) 58%, transparent 92%); content: ""; opacity: .42; }
.blog-hub__hero-inner { width: var(--jb-shell); margin: 0 auto; padding: 34px 0 38px; }
.blog-hub__hero .breadcrumbs { margin-bottom: 17px; color: #687b8c; }
.blog-hub__hero .breadcrumbs a { color: #0b777f; }
.blog-hub__intro { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr); gap: clamp(34px,7vw,90px); align-items: end; }
.blog-hub__intro .eyebrow { margin-bottom: 11px; }
.blog-hub__hero h1 { max-width: 760px; margin-bottom: 0; color: var(--jb-navy); font-size: clamp(2.3rem,4vw,3.8rem); }
.blog-hub__lead { max-width: 600px; margin-bottom: 4px; padding-left: 26px; border-left: 2px solid rgba(20,125,131,.28); color: #506476; font-size: clamp(.96rem, 1.45vw, 1.1rem); }
.blog-hub__section-heading .eyebrow { color: #0d7d84; }
.blog-hub__latest { padding-top: 38px; }
.blog-hub__section-heading { margin-bottom: 27px; }
.blog-hub__section-heading h2 { color: var(--jb-navy); font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--jb-line); border-radius: 20px 6px 20px 6px; background: var(--jb-white); box-shadow: 0 16px 40px rgba(9,33,61,.07); }
.post-card__image { display: block; overflow: hidden; aspect-ratio: 1.56; background: #e8eeef; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__image img { transform: scale(1.025); }
.post-card__body { padding: 28px; }
.post-card__meta { margin-bottom: 13px; color: var(--jb-teal); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-card h2 { font-size: 1.25rem; line-height: 1.3; }
.post-card h2 a { color: var(--jb-navy); text-decoration: none; }
.post-card p { color: var(--jb-muted); font-size: .86rem; }
.post-card__link { color: var(--jb-teal); font-size: .76rem; font-weight: 800; }
.pagination { margin-top: 45px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination ul.page-numbers li { margin: 0; }
.pagination a, .pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--jb-line); background: var(--jb-white); color: var(--jb-navy); text-decoration: none; white-space: nowrap; }
.pagination .current { border-color: var(--jb-gold); background: var(--jb-gold); }

.jbe-faq { max-width: 920px; margin: 28px auto 0; border-top: 1px solid var(--jb-line); }
.embedded-page-content .wpb_wrapper:has(> .jbe-faq) { max-width: 920px; margin-right: auto; margin-left: auto; }
.embedded-page-content .wpb_wrapper:has(> .jbe-faq) > h2:first-child { margin: 0 !important; color: var(--jb-navy) !important; font: 600 clamp(1.7rem,2.7vw,2.5rem)/1.15 "Manrope",Arial,sans-serif !important; letter-spacing: -.035em !important; text-align: left !important; }
.jbe-faq__item { border-bottom: 1px solid var(--jb-line); background: rgba(255,255,255,.76); }
.jbe-faq__item summary { display: flex; min-height: 68px; cursor: pointer; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; color: var(--jb-navy); font-family: "Manrope", Arial, sans-serif; font-size: .95rem; font-weight: 700; list-style: none; }
.jbe-faq__item summary::-webkit-details-marker { display: none; }
.jbe-faq__item summary span { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.jbe-faq__item summary span::before, .jbe-faq__item summary span::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: var(--jb-teal); content: ""; transform: translate(-50%,-50%); transition: transform .2s ease; }
.jbe-faq__item summary span::after { transform: translate(-50%,-50%) rotate(90deg); }
.jbe-faq__item[open] summary span::after { transform: translate(-50%,-50%) rotate(0); }
.jbe-faq__answer { padding: 0 22px 22px; color: #4e6274; }
.jbe-faq__answer p, .jbe-faq__answer li { line-height: 1.75; }
.jbe-legacy-card { height: 100%; padding: 28px; border: 1px solid var(--jb-line); border-radius: 18px 6px 18px 6px; background: var(--jb-white); box-shadow: 0 16px 38px rgba(9,33,61,.07); }
.jbe-legacy-card h3 { color: var(--jb-navy); font-size: 1.15rem; }
.jbe-legacy-card p { color: var(--jb-muted); }
.jbe-legacy-card a { color: var(--jb-teal); font-size: .76rem; font-weight: 800; }

/* Native editorial pages created by the reviewed refonte tool. */
.jbe-native-page { color: #344a5d; background: #fff; }
.jbe-native-shell { width: var(--jb-shell); margin-right: auto; margin-left: auto; }
.jbe-native-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(14,113,121,.16); background: radial-gradient(circle at 88% 12%,rgba(42,174,177,.18),transparent 27%),radial-gradient(circle at 8% 86%,rgba(215,171,56,.13),transparent 24%),linear-gradient(116deg,#f8f4ea,#f4f8f6 62%,#e7f5f4); }
.jbe-native-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold),transparent); content: ""; opacity: .62; }
.jbe-native-hero__grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(285px,.55fr); gap: clamp(44px,7vw,96px); padding-top: clamp(64px,7vw,98px); padding-bottom: clamp(64px,7vw,98px); align-items: center; }
.jbe-native-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; color: #0b7e84; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jbe-native-kicker::before { width: 22px; height: 1px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold)); content: ""; }
.jbe-native-hero h1 { max-width: 920px; margin-bottom: 20px; color: var(--jb-navy); font-size: clamp(2.65rem,5.35vw,5rem); font-weight: 600; letter-spacing: -.065em; line-height: .99; }
.jbe-native-hero h1 em { color: #0b7780; font-style: normal; }
.jbe-native-lead { max-width: 790px; margin-bottom: 18px; color: #203f58; font-size: clamp(1.08rem,1.7vw,1.32rem); font-weight: 500; line-height: 1.58; }
.jbe-native-hero__text { max-width: 780px; color: #566b7b; line-height: 1.75; }
.jbe-native-actions { display: flex; flex-wrap: wrap; gap: 17px 23px; align-items: center; margin-top: 30px; }
.jbe-native-text-link { padding: 12px 1px 8px; border-bottom: 1px solid rgba(13,125,132,.38); color: var(--jb-navy); font-size: .78rem; font-weight: 800; text-decoration: none; }
.jbe-native-hero__aside { position: relative; overflow: hidden; padding: 29px; border: 1px solid rgba(9,33,61,.13); border-radius: 22px 7px 22px 7px; background: rgba(255,255,255,.72); box-shadow: 0 22px 50px rgba(9,33,61,.09); backdrop-filter: blur(12px); }
.jbe-native-hero__aside::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold)); content: ""; }
.jbe-native-hero__aside ul { margin: 0; padding: 0; list-style: none; }
.jbe-native-hero__aside li { padding: 15px 0; border-top: 1px solid rgba(9,33,61,.1); color: #43596b; line-height: 1.48; }
.jbe-native-hero__aside li:first-child { border-top: 0; }
.jbe-native-hero__aside strong { display: block; margin-bottom: 2px; color: var(--jb-navy); font-family: "Manrope",Arial,sans-serif; font-size: 1.08rem; }
.jbe-native-page--signature .jbe-native-hero { background: radial-gradient(circle at 88% 12%,rgba(35,177,178,.22),transparent 27%),radial-gradient(circle at 7% 88%,rgba(220,171,52,.16),transparent 25%),linear-gradient(118deg,#f8f4e9,#f3f9f7 58%,#e2f4f3); }
.jbe-native-section { padding: clamp(72px,8vw,112px) 0; }
.jbe-native-section + .jbe-native-section { border-top: 1px solid rgba(9,33,61,.06); }
.jbe-native-section--soft { background: linear-gradient(125deg,#f4f7f9,#fbfaf6); }
.jbe-native-section--related { background: #f7f5ef; }
.jbe-native-section h2 { max-width: 900px; margin-bottom: 22px; color: var(--jb-navy); font-size: clamp(2rem,4.25vw,3.7rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.08; }
.jbe-native-prose { max-width: 920px; }
.jbe-native-prose p { color: #40586b; font-size: 1rem; line-height: 1.82; }
.jbe-native-prose p + p { margin-top: 17px; }
.jbe-native-cards { display: grid; gap: 20px; margin-top: 42px; align-items: stretch; }
.jbe-native-cards--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.jbe-native-cards--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.jbe-native-cards--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.jbe-native-card { position: relative; min-width: 0; height: 100%; overflow: hidden; padding: 29px; border: 1px solid rgba(9,33,61,.11); border-radius: 21px 7px 21px 7px; background: rgba(255,255,255,.91); box-shadow: 0 17px 43px rgba(9,33,61,.07); }
.jbe-native-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold)); content: ""; opacity: .8; }
.jbe-native-card__label { margin-bottom: 15px; color: #b5891c !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jbe-native-card h3 { margin: 0 0 13px; color: var(--jb-navy); font-size: 1.17rem; line-height: 1.32; }
.jbe-native-card > p:not(.jbe-native-card__label), .jbe-native-card li { color: #4d6273; font-size: .88rem; line-height: 1.69; }
.jbe-native-card ul { margin: 16px 0 0; padding-left: 17px; }
.jbe-native-steps { display: grid; max-width: 1050px; margin: 43px 0 0; padding: 0; border-top: 1px solid rgba(9,33,61,.13); list-style: none; }
.jbe-native-steps li { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 24px; padding: 27px 0; border-bottom: 1px solid rgba(9,33,61,.13); }
.jbe-native-steps li > span { color: #b5891c; font-family: "Manrope",Arial,sans-serif; font-size: 1.08rem; font-weight: 700; }
.jbe-native-steps h3 { margin: 0 0 7px; color: var(--jb-navy); font-size: 1.15rem; }
.jbe-native-steps p { max-width: 830px; margin: 0; color: #4b6172; line-height: 1.73; }
.jbe-native-note { max-width: 920px; margin-top: 38px; padding: 26px 29px; border-left: 4px solid var(--jb-teal); border-radius: 7px 18px 18px 7px; background: linear-gradient(105deg,#eef7f6,#f9f5e9); }
.jbe-native-note strong { display: block; margin-bottom: 7px; color: var(--jb-navy); font-family: "Manrope",Arial,sans-serif; }
.jbe-native-note p { margin: 0; color: #465d70; line-height: 1.72; }
.jbe-native-related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-top: 35px; }
.jbe-native-related a { display: flex; min-height: 155px; flex-direction: column; justify-content: space-between; gap: 22px; padding: 25px; border: 1px solid rgba(9,33,61,.12); border-radius: 19px 6px 19px 6px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease; }
.jbe-native-related a:hover { transform: translateY(-3px); box-shadow: 0 19px 38px rgba(9,33,61,.09); }
.jbe-native-related strong { color: var(--jb-navy); font-family: "Manrope",Arial,sans-serif; font-size: 1.05rem; }
.jbe-native-related span { color: #5a6e7d; font-size: .83rem; line-height: 1.55; }
.jbe-native-faq-layout { display: grid; grid-template-columns: minmax(250px,.6fr) minmax(0,1.4fr); gap: clamp(40px,7vw,92px); align-items: start; }
.jbe-native-faq-layout h2 { font-size: clamp(2rem,3.4vw,3.2rem); }
.jbe-native-faq-intro { max-width: 38rem; margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.jbe-native-faq-layout .jbe-faq { width: 100%; max-width: none; margin-top: 0; }
.jbe-native-final { padding: clamp(72px,8vw,105px) 0; color: #fff; background: radial-gradient(circle at 82% 10%,rgba(24,167,169,.22),transparent 28%),linear-gradient(122deg,#071a2d,#0b3151); text-align: center; }
.jbe-native-final .jbe-native-kicker { justify-content: center; color: #e6c260; }
.jbe-native-final h2 { max-width: 850px; margin-right: auto; margin-left: auto; color: #fff; font-size: clamp(2rem,4vw,3.45rem); }
.jbe-native-final > div > p:not(.jbe-native-kicker) { max-width: 710px; margin-right: auto; margin-left: auto; color: #bdccd7; line-height: 1.72; }
.jbe-native-final .button { margin-top: 19px; }

.contact-page { background: #f7f6f2; }
.contact-page__hero { position: relative; overflow: hidden; background: radial-gradient(circle at 84% 12%, rgba(31,163,168,.2), transparent 29%), linear-gradient(125deg, var(--jb-navy-deep), #0a2946); }
.contact-page__hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--jb-teal), var(--jb-gold) 58%, transparent); content: ""; opacity: .75; }
.contact-page__hero-inner { width: var(--jb-shell); margin: 0 auto; padding: 48px 0 54px; }
.contact-page__hero h1 { max-width: 820px; color: var(--jb-white); }
.contact-page__hero p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; color: #bdccd8; }
.contact-page__promises { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.contact-page__promises li { padding: 7px 12px; border: 1px solid rgba(237,218,166,.28); border-radius: 999px; color: #e9d99f; font-size: .72rem; font-weight: 700; }
.contact-page__promises li::before { margin-right: 7px; color: var(--jb-teal-bright); content: "✓"; }
.contact-page__shell { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr); gap: clamp(30px, 5vw, 58px); width: var(--jb-shell); margin: 0 auto; padding: 58px 0 70px; align-items: start; }
.contact-page__form, .contact-page__aside { border: 1px solid rgba(9,33,61,.1); background: rgba(255,255,255,.9); box-shadow: 0 20px 50px rgba(9,33,61,.07); }
.contact-page__form { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 46px); border-radius: 24px 8px 24px 8px; }
.contact-page__form::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold),transparent); content: ""; }
.contact-page__form .eyebrow, .contact-page__aside .eyebrow { color: #0d7d84; }
.contact-page__form h2 { margin-bottom: 30px; color: var(--jb-navy); font-size: clamp(1.65rem, 3vw, 2.4rem); }
.contact-page__aside { position: sticky; top: 28px; padding: 32px; border-top: 4px solid var(--jb-gold); border-radius: 18px 5px 18px 5px; }
.contact-page__aside h2 { color: var(--jb-navy); font-size: 1.35rem; }
.contact-page__aside > p { color: var(--jb-muted); }
.contact-page__aside ul { margin: 28px 0; padding: 0; list-style: none; }
.contact-page__aside li { padding: 16px 0; border-top: 1px solid var(--jb-line); color: #44596b; font-size: .86rem; }
.contact-page__aside li span { display: block; margin-bottom: 4px; color: var(--jb-teal); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-page__aside a { color: var(--jb-navy); font-weight: 700; text-decoration: none; }
.contact-page__note { padding: 14px 16px; border-radius: 10px; background: #eef5f4; font-size: .76rem; }
.contact-page .wpcf7 .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin: 0; }
.contact-page .wpcf7 [class*="col-"] { width: auto; padding: 0; }
.contact-page .wpcf7 input[type="text"], .contact-page .wpcf7 input[type="email"], .contact-page .wpcf7 input[type="tel"], .contact-page .wpcf7 input[type="url"], .contact-page .wpcf7 select, .contact-page .wpcf7 textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #d6dfe4; border-radius: 9px; background: #fbfcfc; color: var(--jb-navy); font: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-page .wpcf7 textarea { min-height: 150px; resize: vertical; }
.contact-page .wpcf7 input:focus, .contact-page .wpcf7 select:focus, .contact-page .wpcf7 textarea:focus { outline: 0; border-color: var(--jb-teal); background: var(--jb-white); box-shadow: 0 0 0 3px rgba(24,167,169,.12); }
.contact-page .wpcf7 .form-row { margin-bottom: 14px; }
.contact-page .wpcf7 .form-row p { margin-bottom: 0; }
.contact-page .wpcf7 .wpcf7-checkbox { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.contact-page .wpcf7 .wpcf7-list-item { display: flex; min-height: 43px; align-items: center; margin: 0; padding: 8px 10px; border: 1px solid #dce5e8; border-radius: 9px; background: #f8faf9; color: #41566a; font-size: .75rem; line-height: 1.25; }
.contact-page .wpcf7 .wpcf7-list-item label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.contact-page .wpcf7 .wpcf7-list-item-label { margin-left: 7px; }
.contact-page .wpcf7 input[type="checkbox"] { accent-color: var(--jb-teal); }
.contact-page .wpcf7 input[type="submit"] { width: 100%; min-height: 54px; padding: 0 24px; border: 0; border-radius: 10px; background: linear-gradient(135deg,#e0b13b,#f0cd68); color: var(--jb-navy-deep); box-shadow: 0 12px 24px rgba(198,155,59,.2); font-weight: 800; cursor: pointer; }

.site-closing-cta {
  padding: clamp(76px, 9vw, 110px) 32px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--jb-white);
  background: radial-gradient(circle at 50% 0%, rgba(22,139,153,.18), transparent 32%), linear-gradient(125deg, var(--jb-navy-deep), #0a2946);
  text-align: center;
}
.site-closing-cta .eyebrow { justify-content: center; }
.site-closing-cta h2 { max-width: 850px; margin-right: auto; margin-left: auto; color: var(--jb-white); }
.site-closing-cta > p:not(.eyebrow) { max-width: 700px; margin-right: auto; margin-left: auto; color: #b7c7d4; }
.site-closing-cta small { display: block; margin-top: 18px; color: #8fa7b9; font-size: .7rem; }
body:not(.home) .site-closing-cta {
  position: relative;
  padding-top: clamp(66px,8vw,94px);
  padding-bottom: clamp(66px,8vw,94px);
  border-top: 0;
  color: var(--jb-navy);
  background:
    radial-gradient(circle at 88% 15%,rgba(24,167,169,.18),transparent 27%),
    radial-gradient(circle at 11% 83%,rgba(198,155,59,.15),transparent 27%),
    linear-gradient(120deg,#f8f3e7,#ecf7f5 58%,#e2f4f3);
}
body:not(.home) .site-closing-cta::after { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--jb-teal),var(--jb-gold),var(--jb-teal)); content: ""; }
body:not(.home) .site-closing-cta .eyebrow { color: #0d7d84; }
body:not(.home) .site-closing-cta h2 { color: var(--jb-navy); }
body:not(.home) .site-closing-cta > p:not(.eyebrow) { color: #4d6476; }
body:not(.home) .site-closing-cta small { color: #61798a; }
body:not(.home) .site-closing-cta .button--gold { background: linear-gradient(135deg,#d6a32e,#efc85c); box-shadow: 0 14px 30px rgba(198,155,59,.26); }
.site-footer { padding: 72px max(32px, calc((100vw - 1180px) / 2)) 28px; color: #aebdca; background: #071727; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: clamp(28px, 4vw, 52px); }
.footer-identity .site-logo { width: 210px; }
.footer-identity p { max-width: 285px; margin-top: 25px; color: #8197aa; font-size: .78rem; }
.footer-grid h2 { margin-bottom: 18px; color: var(--jb-white); font-size: .83rem; font-weight: 600; letter-spacing: -.01em; }
.footer-menu li { margin: 7px 0; }
.footer-menu a { color: #9baebb; font-size: .78rem; text-decoration: none; }
.footer-menu a:hover { color: var(--jb-white); }
.footer-bottom { display: flex; gap: 25px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #71889c; font-size: .7rem; }
.footer-bottom span { margin-right: auto; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 11px 24px; justify-content: flex-end; }

/* Pages juridiques et documents longs. */
.jbe-document-page .page-hero__inner {
  padding: clamp(42px, 5vw, 68px) 0;
}
.jbe-document-page .page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 4.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.jbe-document-page .reading-shell {
  width: min(880px, calc(100% - 48px));
  padding: clamp(38px, 5vw, 62px) 0 clamp(70px, 8vw, 100px);
}
.jbe-document-page .entry-content > * { max-width: 880px; }
.jbe-document-page .entry-content > :first-child { margin-top: 0; }
.jbe-document-page .entry-content .vc_row:first-child,
.jbe-document-page .entry-content .vc_section:first-child,
.jbe-document-page .entry-content .vc_column-inner:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.jbe-document-page .entry-content h2 {
  margin: 2.1em 0 .72em;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.18;
}
.jbe-document-page .entry-content h3 {
  margin: 1.8em 0 .65em;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
}
.jbe-document-page .entry-content p,
.jbe-document-page .entry-content li { line-height: 1.78; }

/* Articles: une lecture plus compacte, sans sacrifier la respiration. */
.single-post .article-hero__inner { padding: clamp(40px, 5vw, 64px) 0 clamp(58px, 7vw, 82px); }
.single-post .article-hero .breadcrumbs { margin-bottom: 18px; }
.single-post .article-hero .eyebrow { margin-bottom: 12px; }
.single-post .article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.15rem, 3.8vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.single-post .entry-meta { margin-top: 22px; }
.single-post .entry-featured {
  width: min(1080px, calc(100% - 64px));
  margin: -30px auto 0;
  overflow: hidden;
  border: 1px solid rgba(9, 42, 69, .16);
  border-radius: 20px 7px 20px 7px;
  background: var(--jb-white);
  box-shadow: 0 22px 60px rgba(6, 21, 41, .14);
}
.single-post .entry-featured img { max-height: 560px; box-shadow: none; }
.single-post .reading-shell {
  width: min(790px, calc(100% - 48px));
  padding: clamp(38px, 5vw, 58px) 0 clamp(70px, 8vw, 100px);
}
.single-post .entry-content > * { max-width: 790px; }
.single-post .entry-content p { margin-top: 0; margin-bottom: 1.35em; line-height: 1.78; }
.single-post .entry-content h2 {
  margin: clamp(40px, 5vw, 56px) 0 16px;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.single-post .entry-content h3 { margin: 36px 0 14px; line-height: 1.22; }
.single-post .entry-content h2 + p,
.single-post .entry-content h3 + p { margin-top: 0; }
.single-post .entry-content figure { margin-top: 34px; margin-bottom: 34px; }
.entry-content .jbe-table-shell {
  position: relative;
  width: 100%;
  margin-top: 34px;
  margin-bottom: 46px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(10, 66, 82, .15);
  border-radius: 24px 8px 24px 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 188, 195, .12), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), #fbf7ed);
  box-shadow: 0 22px 56px rgba(7, 34, 56, .1);
}
.entry-content .jbe-table-shell::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jb-teal), var(--jb-gold) 68%, transparent);
  content: "";
}
.single-post .entry-content > .jbe-table-shell {
  width: min(1030px, calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.entry-content .jbe-table-scroll {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(7, 42, 66, .11);
  border-radius: 16px 5px 16px 5px;
  background: var(--jb-white);
  scrollbar-color: var(--jb-teal) rgba(16, 55, 79, .08);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.entry-content .jbe-table-scroll::-webkit-scrollbar { height: 9px; }
.entry-content .jbe-table-scroll::-webkit-scrollbar-track { background: rgba(16, 55, 79, .08); }
.entry-content .jbe-table-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #edf2f1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jb-teal), var(--jb-gold));
}
.entry-content .jbe-table-scroll:focus-visible {
  outline: 3px solid rgba(24, 167, 169, .28);
  outline-offset: 4px;
}
.entry-content .jbe-table-scroll table {
  display: table;
  width: 100%;
  min-width: 820px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--jb-white);
  font-size: .94rem;
}
.entry-content .jbe-table-scroll th,
.entry-content .jbe-table-scroll td {
  padding: 17px 15px;
  border: 0;
  border-right: 1px solid rgba(9, 52, 75, .1);
  border-bottom: 1px solid rgba(9, 52, 75, .1);
  text-align: left;
  vertical-align: top;
  line-height: 1.58;
}
.entry-content .jbe-table-scroll th:last-child,
.entry-content .jbe-table-scroll td:last-child { border-right: 0; }
.entry-content .jbe-table-scroll thead th {
  background: linear-gradient(135deg, #0d2c46, #174660);
  color: var(--jb-white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.45;
}
.entry-content .jbe-table-scroll thead th:first-child { border-radius: 14px 0 0; }
.entry-content .jbe-table-scroll thead th:last-child { border-radius: 0 4px 0 0; }
.entry-content .jbe-table-scroll tbody td { background: rgba(255, 255, 255, .96); }
.entry-content .jbe-table-scroll tbody tr:nth-child(even) td { background: #f4f8f7; }
.entry-content .jbe-table-scroll tbody tr:hover td { background: #edf7f4; }
.entry-content .jbe-table-scroll tbody tr:last-child td { border-bottom: 0; }
.entry-content .jbe-table-scroll tbody td:first-child {
  color: var(--jb-teal);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.entry-content .jbe-table-scroll caption {
  padding: 18px 16px;
  color: var(--jb-navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  caption-side: top;
}
.entry-content .jbe-table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 3px 4px 11px;
  color: #4d6d7b;
  font-family: "Manrope", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.entry-content .jbe-table-shell.is-scrollable .jbe-table-scroll-hint { display: flex; }
.entry-content .jbe-table-scroll-hint svg { width: 20px; height: 12px; color: var(--jb-teal); }
.entry-content .jbe-table-shell figcaption {
  margin: 11px 5px 1px;
  color: var(--jb-muted);
}
/* CSS-only fallback before the small enhancement script runs. */
.single-post .entry-content .wp-block-table:not(.jbe-table-shell) {
  max-width: 100%;
  margin-top: 34px;
  margin-bottom: 46px;
  overflow-x: auto;
  border: 1px solid rgba(10, 66, 82, .15);
  border-radius: 20px 7px 20px 7px;
  box-shadow: 0 18px 46px rgba(7, 34, 56, .09);
}
.single-post .entry-content .wp-block-table:not(.jbe-table-shell) table { min-width: 820px; margin: 0; }
.single-post #ez-toc-container,
.single-post .ez-toc-container {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  margin: 28px 0 12px;
  padding: 29px 30px 27px !important;
  border: 1px solid rgba(9, 67, 83, .15) !important;
  border-radius: 20px 7px 20px 7px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 188, 195, .13), transparent 35%),
    linear-gradient(135deg, #f2f8f7, #fbf7ed) !important;
  box-shadow: 0 18px 45px rgba(7, 34, 56, .08) !important;
}
.single-post #ez-toc-container::before,
.single-post .ez-toc-container::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jb-teal), var(--jb-gold) 68%, transparent);
  content: "";
}
.single-post .ez-toc-title-container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.single-post .ez-toc-title { color: var(--jb-navy); font-family: "Manrope", Arial, sans-serif; font-size: 1.05rem; font-weight: 750; letter-spacing: -.015em; }
.single-post .ez-toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 17px 0 0 !important; padding: 0 !important; list-style: none !important; }
.single-post .ez-toc-list li { position: relative; margin: 0; padding-left: 23px !important; line-height: 1.45; }
.single-post .ez-toc-list li::before { position: absolute; top: 1em; left: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--jb-gold); content: ""; transform: translateY(-50%); }
.single-post .ez-toc-list a { display: block; padding: 7px 0 8px; border-bottom: 1px solid rgba(9, 67, 83, .1); color: #214d65; font-size: .87rem; font-weight: 600; text-decoration: none; }
.single-post .ez-toc-list a:hover { color: var(--jb-teal); }
.single-post .ez-toc-title-toggle { display: flex; align-items: center; }
.single-post .ez-toc-btn {
  position: relative;
  display: grid !important;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(10, 91, 101, .22) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 5px 14px rgba(7, 34, 56, .06);
}
.single-post .ez-toc-btn > * { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.single-post .ez-toc-btn::before {
  width: 14px;
  height: 10px;
  background: repeating-linear-gradient(to bottom, var(--jb-teal) 0 2px, transparent 2px 4px);
  content: "";
}
.single-post .ez-toc-btn:hover { border-color: var(--jb-teal) !important; background: #fff !important; }

.not-found { width: var(--jb-reading); margin: 0 auto; padding: clamp(90px, 13vw, 170px) 0; text-align: center; }
.not-found strong { display: block; color: var(--jb-gold); font-family: "Manrope", Arial, sans-serif; font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 600; line-height: 1; }
.not-found p { color: var(--jb-muted); }
.search-form { display: flex; max-width: 620px; margin: 28px auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--jb-line); background: var(--jb-white); }
.search-submit { min-height: 50px; padding: 0 18px; border: 0; background: var(--jb-gold); color: var(--jb-navy-deep); font-weight: 800; }

@media (max-width: 1100px) {
  :root { --jb-shell: min(100% - 48px, 1180px); }
  .site-header { position: relative; z-index: 100; }
  .menu-toggle { display: flex; width: 70px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.025); color: var(--jb-white); font-size: .72rem; font-weight: 700; }
  .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 16px; height: 1px; background: currentColor; content: ""; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::before { position: absolute; top: -5px; }
  .menu-toggle i::after { position: absolute; top: 5px; }
  .primary-navigation { position: absolute; top: calc(100% + 10px); right: max(24px, calc((100vw - 1180px) / 2)); left: auto; display: block; width: min(420px, calc(100vw - 48px)); max-height: calc(100dvh - 110px); overflow-y: auto; border: 1px solid rgba(255,255,255,.13); border-radius: 18px 7px 18px 7px; background: linear-gradient(145deg, #071b30, #092840); box-shadow: 0 22px 55px rgba(2,13,25,.38); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; visibility: hidden; }
  .menu-is-open .primary-navigation { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .primary-menu { display: block; width: 100%; margin: 0; padding: 13px 18px 18px; }
  .primary-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .primary-menu > li > a, .primary-menu > li:last-child > a { padding: 13px 8px; border: 0; border-radius: 0; font-size: .92rem; }
  .primary-menu > li:last-child { margin-top: 10px; border-bottom: 0; }
  .primary-menu > li:last-child > a { justify-content: center; border: 1px solid rgba(61, 190, 193, .42); border-radius: 11px; background: linear-gradient(135deg, rgba(24,167,169,.18), rgba(211,165,46,.08)); }
  .primary-menu > li > a::after { display: none; }
  .primary-menu .sub-menu { position: static; display: none; width: auto; grid-template-columns: 1fr; padding: 0 0 12px 14px; border: 0; background: transparent; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
  .primary-menu .submenu-is-open > .sub-menu { display: grid; }
  .primary-menu .sub-menu a { min-height: 0; padding: 9px 12px; color: #aabac8; }
  .primary-menu .sub-menu a:hover { color: var(--jb-white); }
  .singular-layout { grid-template-columns: 1fr; }
  .entry-sidebar { position: static; max-width: 760px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-identity { grid-column: 1 / -1; }
  .blog-hub__intro { grid-template-columns: 1fr; gap: 20px; }
  .blog-hub__lead { max-width: 760px; }
  .contact-page__shell { grid-template-columns: 1fr; }
  .contact-page__aside { position: static; }
  .jbe-native-cards--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  :root { --jb-shell: calc(100% - 36px); }
  body { font-size: 15.5px; }
  .header-topline { display: none; }
  .header-shell { min-height: 72px; }
  .site-logo { width: 182px; }
  .primary-navigation { right: 18px; width: min(380px, calc(100vw - 36px)); }
  .primary-menu { padding: 11px 16px 16px; }
  .primary-menu > li > a, .primary-menu > li:last-child > a { padding-top: 12px; padding-bottom: 12px; }
  .page-hero__inner, .archive-hero__inner, .article-hero__inner { padding: 66px 0 72px; }
  .jbe-document-page .page-hero__inner { padding: 38px 0 44px; }
  .jbe-document-page .page-hero h1 { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .jbe-document-page .reading-shell { width: calc(100% - 36px); padding: 34px 0 70px; }
  .post-grid { grid-template-columns: 1fr; }
  .embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] { grid-template-columns: 1fr; }
  .embedded-page-content div[style*="text-align: center"][style*="font-size: 0"]:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .embedded-page-content div[style*="text-align: center"][style*="font-size: 0"] > div[style*="display: inline-block"]:nth-child(4):last-child { grid-column: auto; }
  .embedded-page-content > .wpb-content-wrapper > .vc_section > .vc_row > .wpb_column.vc_col-sm-12 > .vc_column-inner > .wpb_wrapper { width: calc(100% - 36px); }
  .embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) > div { min-height: 0; border-right: 0 !important; border-bottom: 1px solid rgba(0,43,85,.09) !important; }
  .embedded-page-content div[style*="border-radius: 22px"][style*="overflow: hidden"]:has(> div:nth-child(4):last-child) > div:last-child { border-bottom: 0 !important; }
  .blog-hub__hero-inner { padding: 28px 0 32px; }
  .blog-hub__hero h1 { font-size: clamp(2.15rem,11vw,3.1rem); }
  .blog-hub__latest { padding-top: 30px; }
  .contact-page .wpcf7 .row { grid-template-columns: 1fr; }
  .contact-page .wpcf7 .wpcf7-checkbox { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry-featured { margin-top: -30px; }
  .single-post .article-hero__inner { padding: 38px 0 58px; }
  .single-post .article-hero h1 { font-size: clamp(1.85rem, 8.6vw, 2.5rem); line-height: 1.08; }
  .single-post .entry-featured { width: calc(100% - 36px); margin-top: -20px; border-radius: 14px 5px 14px 5px; }
  .single-post .reading-shell { width: calc(100% - 36px); padding-top: 34px; }
  .single-post .entry-content h2 { margin-top: 38px; font-size: clamp(1.65rem, 7.3vw, 2.05rem); }
  .single-post #ez-toc-container, .single-post .ez-toc-container { padding: 23px 20px 21px !important; }
  .single-post .ez-toc-list { grid-template-columns: 1fr; }
  .entry-content blockquote { padding: 23px 24px; }
  .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
  .single-post .entry-content > .jbe-table-shell {
    width: calc(100vw - 24px);
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 8px;
    border-radius: 19px 6px 19px 6px;
  }
  .entry-content .jbe-table-scroll table { display: table; min-width: 760px; overflow: visible; font-size: .9rem; }
  .entry-content .jbe-table-scroll th,
  .entry-content .jbe-table-scroll td { padding: 14px 13px; }
  .jbe-native-hero__grid, .jbe-native-faq-layout { grid-template-columns: 1fr; }
  .jbe-native-hero__aside { max-width: 660px; }
  .jbe-native-cards--2, .jbe-native-cards--3, .jbe-native-cards--4, .jbe-native-related { grid-template-columns: 1fr; }
  .jbe-native-card { padding: 25px; }
  .jbe-native-steps li { grid-template-columns: 46px minmax(0,1fr); gap: 14px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-identity { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom span { width: 100%; }
  .footer-legal { justify-content: flex-start; }
  .site-closing-cta { padding-right: 18px; padding-left: 18px; }
  .contact-page .wpcf7 .wpcf7-checkbox { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
