/* Bouton EDIT admin à côté des titres (visible uniquement si droits d'édition) */
.lb-title-with-edit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.lb-title-with-edit--inline {
  gap: var(--space-2);
}
.lb-title-with-edit .lb-pageheader__title,
.lb-title-with-edit .lb-article__title,
.lb-title-with-edit .lb-article-row__title,
.lb-title-with-edit h3,
.lb-title-with-edit .lb-pub__title {
  margin: 0;
}
.lb-title-with-edit .edit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  text-decoration: none;
  white-space: nowrap;
}
.lb-title-with-edit .edit:hover {
  color: var(--green-900);
  text-decoration: underline;
}
.lb-hero .lb-title-with-edit .edit {
  color: rgba(255, 255, 255, 0.72);
}
.lb-hero .lb-title-with-edit .edit:hover {
  color: #fff;
}
.lb-article-row__title-link {
  color: inherit;
  text-decoration: none;
}
.lb-article-row__title-link:hover {
  text-decoration: underline;
}
.lb-testimonial figcaption .edit {
  margin-left: var(--space-2);
  vertical-align: middle;
}

/* Boutons EDIT keywords */
.lb-keyword-with-edit {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-width: 100%;
}
.lb-keyword-with-edit--bare {
  display: contents;
}
.lb-keyword-with-edit--inline {
  display: inline-flex;
}
.lb-keyword-with-edit .edit,
.lb-keyword-with-edit .edit-keyword,
.lb-mark__edits .edit,
.lb-nav__item-wrap .edit,
.lb-footer__col li .edit,
.lb-hero__cta .edit,
.lb-bio__links .edit,
.lb-form__field .edit,
.lb-article__back + .edit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  text-decoration: none;
  white-space: nowrap;
}
.lb-keyword-with-edit .edit:hover,
.lb-keyword-with-edit .edit-keyword:hover,
.lb-mark__edits .edit:hover,
.lb-nav__item-wrap .edit:hover,
.lb-footer__col li .edit:hover,
.lb-hero__cta .edit:hover,
.lb-bio__links .edit:hover,
.lb-form__field .edit:hover,
.lb-article__back + .edit:hover {
  color: var(--green-900);
  text-decoration: underline;
}
.lb-hero .lb-keyword-with-edit .edit,
.lb-hero .lb-keyword-with-edit .edit-keyword,
.lb-hero .lb-hero__cta .edit {
  color: rgba(255, 255, 255, 0.72);
}
.lb-hero .lb-keyword-with-edit .edit:hover,
.lb-hero .lb-hero__cta .edit:hover {
  color: #fff;
}
.lb-mark-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.lb-mark__edits {
  display: inline-flex;
  gap: var(--space-2);
}
.lb-nav__item-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
}
.lb-footer__col li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.lb-hero__cta {
  flex-wrap: wrap;
}
.lb-bio__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}
.lb-bio__text .lb-keyword-with-edit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-width: 56ch;
}
.lb-bio__text .lb-keyword-with-edit .edit {
  flex-shrink: 0;
}
.lb-bio__portrait img + .edit {
  display: inline-block;
  margin-left: var(--space-2);
  vertical-align: middle;
}

/* EDIT au-dessus des blocs de contenu (paragraphes, bio, contact, etc.) */
.lb-doc__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.lb-doc__head:empty {
  display: none;
}
.lb-doc .edit,
.lb-bio .edit,
.lb-intro .edit,
.lb-contact__block .edit,
.lb-jurisdiction .edit,
.lb-credentials .edit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  text-decoration: none;
  white-space: nowrap;
}
.lb-doc .edit:hover,
.lb-bio .edit:hover,
.lb-intro .edit:hover,
.lb-contact__block .edit:hover,
.lb-jurisdiction .edit:hover,
.lb-credentials .edit:hover {
  color: var(--green-900);
  text-decoration: underline;
}
.lb-article__more-label {
  margin-bottom: 16px;
}

/* Liste articles : ancien markup avec lien englobant (prod legacy) */
.lb-article-row > a.lb-article-row__link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.lb-article-row > a.lb-article-row__link:hover {
  text-decoration: none;
}

/* Barre admin (front) : isoler du design tokens/site */
body.lb-site:has(#aki_adminMenuWrap) {
  padding-top: 27px;
}
#aki_adminMenuWrap {
  font-family: Century Gothic, Arial, sans-serif;
  color: #fff;
}
#aki_adminMenuWrap a {
  text-decoration: none;
  text-underline-offset: initial;
  text-decoration-thickness: initial;
  text-decoration-color: initial;
}
#aki_adminMenuWrap a:hover {
  text-decoration: none;
}
