/* Only the lexicon preview; original theme components and variables retained. */
#km-lexique .lex-intro{max-width:680px;margin:20px 0 0}
#km-lexique .lex-tools{display:grid;grid-template-columns:1.6fr 1fr auto;gap:24px;align-items:end;padding:30px;background:var(--tj-color-theme-bg,#eaeae5);border:1px solid var(--tj-color-border-1,#ddd);border-radius:12px}
#km-lexique .lex-tools label{display:block;margin-bottom:10px;font-weight:500}
#km-lexique .lex-tools input,#km-lexique .lex-tools select{width:100%;min-height:54px;border:1px solid var(--tj-color-border-1,#ddd);border-radius:8px;padding:12px 16px;background:var(--tj-color-common-white,#fff);color:var(--tj-color-heading-primary,#111);font:inherit}
#km-lexique .lex-alphabet{display:flex;flex-wrap:wrap;gap:6px;margin:26px 0}
#km-lexique .lex-alphabet a,#km-lexique .lex-alphabet span{min-width:36px;min-height:40px;padding:8px;text-align:center;border-radius:6px}
#km-lexique .lex-alphabet a:hover,#km-lexique .lex-alphabet [aria-current]{background:var(--tj-color-heading-primary,#111);color:var(--tj-color-common-white,#fff)}
#km-lexique .lex-alphabet span{color:#777}
#km-lexique .lex-results{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}
#km-lexique .lex-card{height:100%;display:flex;flex-direction:column}
#km-lexique .lex-card .service-inner,#km-lexique .lex-card .service-content{display:flex;flex-direction:column;flex:1}
#km-lexique .lex-card .service-icon{font-size:30px;font-weight:500}
#km-lexique .lex-card .title{font-size:24px;line-height:1.3}
#km-lexique .lex-domain{font-size:13px;margin-bottom:12px}
#km-lexique .lex-card .desc{flex:1;text-align:left}
#km-lexique .lex-card .tj-text-btn{align-self:flex-start;margin-top:12px}
#km-lexique .lex-related{padding-left:20px}
#km-lexique .lex-related li{margin:16px 0}
#km-lexique .lex-source{text-decoration:underline;color:inherit}
#km-lexique a:focus-visible,#km-lexique button:focus-visible,#km-lexique input:focus-visible,#km-lexique select:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:767px){#km-lexique .lex-tools{grid-template-columns:1fr;padding:20px;gap:16px}#km-lexique .lex-tools button{justify-self:start}#km-lexique .lex-alphabet{gap:2px}#km-lexique .lex-alphabet a,#km-lexique .lex-alphabet span{min-width:36px;min-height:44px}}

#km-lexique .lex-alphabet a{color:var(--tj-color-heading-primary,#111)} #km-lexique .lex-alphabet a:hover,#km-lexique .lex-alphabet a[aria-current]{color:var(--tj-color-common-white,#fff)}


/* Article sidebar rules reused, scoped to lexicon only. */
#km-lexique .tj-sidebar-widget.tj-recent-posts ul li {
            display: flex !important;
            align-items: center !important;
            column-gap: 14px !important;
            margin-bottom: 18px !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-thumb {
            width: 76px !important;
            height: 76px !important;
            min-width: 76px !important;
            max-width: 76px !important;
            flex: 0 0 76px !important;
            border-radius: 8px !important;
            overflow: hidden !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-thumb a {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-thumb a img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            aspect-ratio: 1 / 1 !important;
            display: block !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content {
            flex: 1 1 auto !important;
            min-width: 0 !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content .post-title {
            font-size: 14.5px !important;
            line-height: 1.3 !important;
            margin-bottom: 4px !important;
            font-weight: 600 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 3 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content .post-title a {
            display: inline !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content .blog-meta {
            margin-top: 0 !important;
            margin-bottom: 0 !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content .blog-meta ul {
            margin: 0 !important;
            padding: 0 !important;
            list-style: none !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-content .blog-meta ul li {
            font-size: 12px !important;
            line-height: 1.2 !important;
            color: var(--tj-color-text-body-2) !important;
          }
#km-lexique .tagcloud a {
            border-radius: 6px !important;
          }
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-thumb a.lex-initial{display:flex!important;align-items:center;justify-content:center;background:var(--tj-color-common-white,#fff);color:var(--tj-color-heading-primary,#111);font-size:26px;font-weight:500}
#km-lexique .tj-sidebar-widget.tj-recent-posts .post-thumb a.lex-initial{align-items:center!important;justify-content:center!important;text-align:center;line-height:1}

#km-lexique .service-icon svg{width:40px;height:40px;display:block} #km-lexique .lex-initial svg{width:32px;height:32px;display:block} #km-lexique .service-icon{display:flex;align-items:center;justify-content:center}

/* Definition spacing only; catalogue and shared theme unchanged. */
#km-lexique.lex-detail > .section-gap{padding-top:56px;padding-bottom:64px}
#km-lexique.lex-detail .lex-alphabet{margin-bottom:40px}
#km-lexique.lex-detail .blog-text > .sub-title{margin-bottom:12px}
#km-lexique.lex-detail .blog-text > h2{margin-top:0;margin-bottom:24px}
#km-lexique.lex-detail .blog-text > h3{margin-top:32px;margin-bottom:16px}
#km-lexique.lex-detail .tj-tags-post{margin-top:28px;margin-bottom:20px}
#km-lexique.lex-detail .tj-sidebar-widget{margin-bottom:24px}
@media(max-width:767px){#km-lexique.lex-detail > .section-gap{padding-top:32px;padding-bottom:40px}#km-lexique.lex-detail .lex-alphabet{margin-bottom:28px}}

          #km-lexique .widget-feature-item .feature-box .feature-content {
            padding: 32px 28px 22px !important;
          }
          #km-lexique .widget-feature-item .feature-box .feature-content .title {
            margin-bottom: 6px !important;
          }
          #km-lexique .widget-feature-item .feature-box .feature-content .feature-subtitle {
            display: block !important;
            font-size: 15px !important;
            font-family: var(--tj-ff-heading) !important;
            font-weight: 500 !important;
            color: var(--tj-color-text-body-2) !important;
            line-height: 1.3 !important;
            margin-bottom: 2px !important;
          }
          #km-lexique .widget-feature-item .feature-box .feature-content .feature-lawyer-name {
            display: block !important;
            font-size: 19px !important;
            font-family: var(--tj-ff-heading) !important;
            font-weight: 700 !important;
            color: var(--tj-color-heading-primary) !important;
            line-height: 1.3 !important;
            margin-bottom: 22px !important;
          }


          #km-lexique .tj-sidebar-widget.widget-cta-card {
            background: #121212 !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 14px !important;
            padding: 32px 26px 28px !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-eyebrow {
            display: block !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            letter-spacing: 0.14em !important;
            text-transform: uppercase !important;
            color: rgba(255, 255, 255, 0.65) !important;
            margin-bottom: 12px !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-title {
            color: #ffffff !important;
            font-size: 19px !important;
            font-weight: 700 !important;
            line-height: 1.35 !important;
            margin-bottom: 14px !important;
            letter-spacing: -0.01em !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-desc {
            color: rgba(255, 255, 255, 0.75) !important;
            font-size: 14px !important;
            line-height: 1.55 !important;
            margin-bottom: 24px !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            width: 100% !important;
            padding: 13px 20px !important;
            background-color: #ffffff !important;
            color: #121212 !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            border-radius: 8px !important;
            text-decoration: none !important;
            transition: all 0.25s ease !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-btn .arrow {
            display: inline-block !important;
            transition: transform 0.25s ease !important;
            font-size: 15px !important;
            line-height: 1 !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-btn:hover {
            background-color: #f5f5f5 !important;
            color: #000000 !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
          }
          #km-lexique .tj-sidebar-widget.widget-cta-card .cta-btn:hover .arrow {
            transform: translateX(3px) !important;
          }

/* Stable lexicon titles: hover must never change line wrapping. */
#km-lexique .lex-card .title a,
#km-lexique .lex-card .title a:hover,
#km-lexique .lex-card .title a:focus {
  letter-spacing: inherit;
  transition: color .2s ease;
}
#km-lexique .lex-tools .tj-primary-btn .btn-icon i.tji-search { transform: none; transition: color .2s ease; }

/* Original template service card with its detached bottom-right link. */
#km-lexique .lex-card-template .service-btn .tj-text-btn{margin-top:0}
#km-lexique .lex-card-template .service-icon{flex-shrink:0}

#km-lexique .lex-card .desc.service-list{text-align:justify; -webkit-hyphens: auto; hyphens: auto;text-justify:inter-word}

#km-lexique.lex-detail .blog-text > p:not(.sub-title){text-align:justify; -webkit-hyphens: auto; hyphens: auto;text-justify:inter-word}

/* Heading reused from the KM Legal study page. */
          #km-lexique .lex-associated-heading {
            margin-bottom: 50px;
          }
          #km-lexique .lex-associated-heading .sec-heading-inner {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 40px;
          }
          #km-lexique .lex-associated-heading .sec-title {
            max-width: 680px;
            width: 100%;
            font-size: 42px;
            line-height: 1.22;
            letter-spacing: -0.02em;
            margin-bottom: 0;
          }
          #km-lexique .lex-associated-heading .sec-action-box {
            max-width: 440px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
          }
          #km-lexique .lex-associated-heading .sec-action-box .desc {
            max-width: 100% !important;
            width: 100%;
            font-size: 15.5px;
            line-height: 1.6;
            color: var(--tj-color-text-body);
            margin-bottom: 20px;
            border-left: 2px solid var(--tj-color-theme-primary);
            padding-left: 18px;
          }
          #km-lexique .lex-associated-heading .action-btn-wrap {
            margin-top: 0;
          }
          @media (max-width: 1199px) {
            #km-lexique .lex-associated-heading .sec-title {
              max-width: 580px;
              font-size: 36px;
            }
          }
          @media (max-width: 991px) {
            #km-lexique .lex-associated-heading .sec-heading-inner {
              flex-direction: column;
              align-items: flex-start;
              gap: 24px;
            }
            #km-lexique .lex-associated-heading .sec-title {
              max-width: 100%;
              font-size: 30px;
            }
            #km-lexique .lex-associated-heading .sec-action-box {
              max-width: 100%;
            }
          }


@media(min-width:992px){#km-lexique .lex-associated-heading .sec-action-box{flex:0 0 40%}#km-lexique .lex-associated-heading .sec-heading-inner{gap:24px;flex-wrap:nowrap}#km-lexique .lex-associated-heading .sec-title{font-size:36px;flex:1;min-width:0;width:auto}}

/* Keep the eyebrow and title together as one balanced heading column. */
#km-lexique .lex-associated-heading .sec-heading-inner{align-items:center}
#km-lexique .lex-associated-title-group{flex:1;min-width:0}
#km-lexique .lex-associated-title-group .sub-title{display:block;margin-bottom:20px}
#km-lexique .lex-associated-title-group .sec-title{width:auto;max-width:none}
@media(max-width:991px){#km-lexique .lex-associated-heading .sec-heading-inner{align-items:stretch}}
#km-lexique .lex-associated-heading .action-btn-wrap{align-self:flex-end}

#km-lexique .lex-associated-heading .sec-action-box .desc{text-align:right}

#km-lexique .lex-associated-heading .sec-action-box .desc{width:fit-content;align-self:flex-end;padding-left:12px}
