body.single-artisan {
  --la-profile-accent: #ed1745;
  --la-profile-accent-dark: #c90d35;
  --la-profile-ink: #282d31;
  --la-profile-muted: #687078;
  --la-profile-line: #e4e0db;
  --la-profile-paper: #f5f2ed;
  overflow-x: clip;
}

.single-artisan .wp-block-post-title,
.single-artisan .entry-title,
.single-artisan .wp-block-post-featured-image {
  display: none;
}

/* Retire les éléments éditoriaux ajoutés par Avada autour des fiches artisans. */
.single-artisan .fusion-meta-info,
.single-artisan .fusion-sharing-box,
.single-artisan .about-author {
  display: none !important;
}

.single-artisan main,
.single-artisan .wp-block-post-content,
.single-artisan .entry-content {
  max-width: none;
}

.la-artisan-profile,
.la-artisan-profile *,
.la-artisan-profile *::before,
.la-artisan-profile *::after {
  box-sizing: border-box;
}

.la-artisan-profile {
  color: var(--la-profile-ink);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(24px, 4vw, 58px) clamp(18px, 4vw, 52px) 80px;
}

/*
 * Les thèmes blocs ajoutent souvent les métadonnées, la navigation entre
 * articles et des suggestions autour du contenu. La fiche artisan est une
 * landing page autonome : on conserve l’en-tête et le pied de page du site,
 * mais on retire ces éléments éditoriaux uniquement sur ce type de contenu.
 */
.la-artisan-profile-page main > .wp-block-group:first-child > :not(.entry-content),
.la-artisan-profile-page main > :not(:first-child) {
  display: none !important;
}

.la-artisan-profile-page main > .wp-block-group:first-child,
.la-artisan-profile-page main > .wp-block-group:first-child > .entry-content {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

.la-profile-breadcrumbs {
  color: var(--la-profile-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.la-profile-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.la-profile-breadcrumbs a:hover {
  color: var(--la-profile-accent);
}

.la-profile-hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.la-profile-intro {
  min-width: 0;
}

.la-profile-kicker {
  color: var(--la-profile-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.la-artisan-profile .la-profile-title {
  color: var(--la-profile-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.3vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.la-artisan-profile .la-profile-title--long-word {
  font-size: clamp(34px, 3vw, 46px);
}

.la-artisan-profile .la-profile-title--compact {
  font-size: clamp(30px, 2.7vw, 40px);
}

.la-profile-title::after {
  background: var(--la-profile-accent);
  content: "";
  display: block;
  height: 3px;
  margin-top: 16px;
  width: 76px;
}

.la-profile-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.la-profile-status {
  border: 1px solid var(--la-profile-line);
  border-radius: 999px;
  color: #535b62;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.la-profile-status--verified,
.la-profile-status--open {
  background: #edf7f1;
  border-color: #b9ddc6;
  color: #17663a;
}

.la-profile-tagline {
  color: #4e555a;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  margin: 24px 0;
  max-width: 600px;
  text-wrap: pretty;
}

.la-profile-contact-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.la-profile-contact-list li {
  align-items: start;
  color: var(--la-profile-muted);
  display: flex;
  font-size: 14px;
  gap: 11px;
  line-height: 1.45;
}

.la-profile-contact-list svg {
  color: var(--la-profile-accent);
  flex: 0 0 18px;
  height: 18px;
  margin-top: 1px;
  width: 18px;
}

.la-profile-contact-icon {
  color: var(--la-profile-accent);
  flex: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
  text-align: center;
}

.la-profile-contact-list a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.la-profile-contact-list a:hover {
  color: var(--la-profile-accent);
}

.la-profile-taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.la-profile-taxonomies a,
.la-profile-taxonomies span {
  background: #fff;
  border: 1px solid var(--la-profile-line);
  border-radius: 999px;
  color: #4e555a;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  text-decoration: none;
}

.la-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 540px;
}

.la-profile-button {
  align-items: center;
  border: 1px solid var(--la-profile-accent);
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  line-height: 1.2;
  min-height: 54px;
  padding: 0 18px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.la-profile-button svg {
  fill: none;
  flex: 0 0 20px;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.la-profile-button--primary {
  background: var(--la-profile-accent);
  color: #fff;
}

.la-profile-button--secondary {
  background: #fff;
  color: var(--la-profile-accent-dark);
}

.la-profile-button--quote {
  background: var(--la-profile-accent);
  box-shadow: 0 10px 24px rgba(237, 23, 69, 0.2);
  color: #fff;
  grid-column: 1 / -1;
  min-height: 60px;
}

.la-profile-button--phone {
  background: var(--la-profile-accent-dark);
  border-color: var(--la-profile-accent-dark);
  color: #fff;
}

.la-profile-button--directions {
  background: #fff;
  border-color: #d8d2ca;
  color: var(--la-profile-accent-dark);
}

.la-profile-button--quote + .la-profile-button:last-of-type {
  grid-column: 1 / -1;
}

.la-profile-button--quote:hover {
  background: var(--la-profile-accent-dark);
  border-color: var(--la-profile-accent-dark);
  box-shadow: 0 12px 28px rgba(42, 45, 48, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

.la-profile-button--phone:hover {
  background: #111315;
  border-color: #111315;
  color: #fff;
  transform: translateY(-2px);
}

.la-profile-button--directions:hover,
.la-profile-button--secondary:hover {
  background: #f6f2ed;
  border-color: var(--la-profile-accent);
  color: var(--la-profile-accent);
  transform: translateY(-2px);
}

.la-profile-button--primary:hover {
  background: var(--la-profile-accent-dark);
  border-color: var(--la-profile-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.la-profile-button:active {
  transform: translateY(0) scale(0.98);
}

.la-profile-actions-note {
  color: var(--la-profile-muted);
  font-size: 12px;
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.la-profile-button:focus-visible,
.la-profile-social a:focus-visible,
.la-profile-gallery button:focus-visible {
  outline: 3px solid rgba(237, 23, 69, 0.3);
  outline-offset: 3px;
}

.la-profile-social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.la-profile-social a {
  align-items: center;
  background: #31363a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  width: 38px;
}

.la-profile-social a:hover {
  background: var(--la-profile-accent);
}

.la-profile-social .la-profile-website {
  background: #fff;
  border: 1px solid #d8d2ca;
  border-radius: 6px;
  color: var(--la-profile-accent-dark);
  gap: 9px;
  height: 46px;
  padding: 0 15px;
  width: auto;
}

.la-profile-website svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 19px;
}

.la-profile-website .la-profile-website-external {
  height: 15px;
  margin-left: 2px;
  opacity: 0.65;
  width: 15px;
}

.la-profile-social .la-profile-website:hover {
  background: var(--la-profile-accent-dark);
  border-color: var(--la-profile-accent-dark);
  color: #fff;
}

.la-profile-logo {
  align-items: center;
  background: #fff;
  border: 1px solid #e1dcd5;
  display: flex;
  height: 88px;
  justify-content: center;
  margin-bottom: 22px;
  padding: 10px;
  width: 132px;
}

.la-profile-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.la-profile-gallery-wrap,
.la-profile-gallery {
  min-width: 0;
}

.la-profile-gallery-wrap > h2 {
  color: var(--la-profile-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 15px;
}

.la-profile-gallery-stage {
  aspect-ratio: 16 / 10;
  background: #ddd8d0;
  border: 1px solid #d8d4ce;
  overflow: hidden;
  position: relative;
}

.la-profile-slide {
  height: 100%;
  inset: 0;
  margin: 0;
  position: absolute;
  width: 100%;
}

.la-profile-slide[hidden] {
  display: none;
}

.la-profile-slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.la-profile-gallery-placeholder {
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(237, 23, 69, 0.2), transparent 35%),
    linear-gradient(145deg, #eee9e1, #d5cec4);
  color: #7d756b;
  display: flex;
  font-family: Georgia, serif;
  font-size: clamp(48px, 8vw, 100px);
  height: 100%;
  justify-content: center;
}

.la-profile-gallery-controls {
  align-items: stretch;
  border: 1px solid #d8d4ce;
  border-top: 0;
  display: grid;
  grid-template-columns: 82px 1fr 82px;
  min-height: 46px;
}

.la-profile-gallery-controls button {
  background: #fff;
  border: 0;
  color: #34383b;
  cursor: pointer;
  font-size: 25px;
}

.la-profile-gallery-controls button:first-child {
  border-right: 1px solid #d8d4ce;
}

.la-profile-gallery-controls button:last-child {
  border-left: 1px solid #d8d4ce;
}

.la-profile-gallery-controls button:hover {
  background: var(--la-profile-paper);
}

.la-profile-gallery-counter {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  justify-content: center;
}

.la-profile-thumbnails {
  display: grid;
  gap: 8px;
  grid-auto-columns: 82px;
  grid-auto-flow: column;
  margin-top: 9px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.la-profile-thumbnail {
  aspect-ratio: 1;
  background: #ddd8d0;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.la-profile-thumbnail.is-active {
  border-color: var(--la-profile-accent);
}

.la-profile-thumbnail img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.la-profile-trust {
  border-bottom: 1px solid var(--la-profile-line);
  border-top: 1px solid var(--la-profile-line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(44px, 7vw, 86px) 0 0;
  padding: 22px 0;
}

.la-profile-trust div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.la-profile-trust p {
  margin: 0;
}

.la-profile-trust strong {
  display: block;
  font-size: 14px;
}

.la-profile-trust span {
  color: var(--la-profile-muted);
  font-size: 12px;
}

.la-profile-trust b {
  color: var(--la-profile-accent);
  font-size: 22px;
}

.la-profile-main {
  display: grid;
  gap: clamp(36px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-top: clamp(42px, 6vw, 72px);
}

.la-profile-content h2,
.la-profile-sidebar h2,
.la-profile-contact h2 {
  color: var(--la-profile-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.la-profile-description {
  color: #535a60;
  font-size: 17px;
  line-height: 1.75;
  max-width: 68ch;
}

.la-profile-description > :first-child {
  margin-top: 0;
}

.la-profile-description > :last-child {
  margin-bottom: 0;
}

.la-profile-section {
  border-top: 1px solid var(--la-profile-line);
  margin-top: 38px;
  padding-top: 30px;
}

.la-profile-section h3 {
  font-size: 20px;
  margin: 0 0 16px;
}

.la-profile-section > p,
.la-profile-generated-intro {
  color: #535a60;
  font-size: 16px;
  line-height: 1.75;
}

.la-profile-generated-intro {
  font-weight: 600;
  margin: 0 0 18px;
}

.la-profile-skill-list,
.la-profile-benefits ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.la-profile-skill-list li,
.la-profile-benefits li {
  align-items: center;
  color: #4b5258;
  display: flex;
  font-size: 15px;
  gap: 11px;
}

.la-profile-skill-list li::before,
.la-profile-benefits li::before {
  align-items: center;
  background: #fdebf0;
  border-radius: 50%;
  color: var(--la-profile-accent);
  content: "✓";
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 12px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
}

.la-profile-practical dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.la-profile-practical dl > div {
  border-bottom: 1px solid var(--la-profile-line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(120px, .35fr) 1fr;
  padding: 13px 0;
}

.la-profile-practical dt {
  font-size: 13px;
  font-weight: 800;
}

.la-profile-practical dd {
  color: var(--la-profile-muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.la-profile-practical a {
  color: var(--la-profile-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.la-profile-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.la-profile-chip-list span,
.la-profile-chip-list a {
  background: var(--la-profile-paper);
  color: #4b5258;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
}

.la-profile-sidebar-card {
  background: var(--la-profile-paper);
  padding: 26px;
  position: sticky;
  top: 24px;
}

.la-profile-more-artisans {
  align-items: center;
  background: var(--la-profile-paper);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: clamp(54px, 8vw, 96px);
  padding: clamp(28px, 5vw, 52px);
}

.la-profile-more-artisans p {
  color: var(--la-profile-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.la-profile-more-artisans h2 {
  color: var(--la-profile-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0;
}

.la-profile-more-artisans > div > span {
  color: var(--la-profile-muted);
  display: block;
  margin-top: 10px;
}

.la-profile-more-artisans > a {
  align-items: center;
  background: var(--la-profile-accent);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  text-decoration: none;
}

.la-profile-more-artisans > a:hover {
  background: var(--la-profile-accent-dark);
  color: #fff;
}

.la-profile-open-state {
  color: #17663a;
  font-size: 13px;
  font-weight: 800;
  margin: -10px 0 18px;
}

.la-profile-open-state.is-closed {
  color: #8c3b39;
}

.la-profile-hours-unavailable {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd7cf;
  display: flex;
  gap: 12px;
  padding: 15px;
}

.la-profile-hours-unavailable svg {
  fill: none;
  flex: 0 0 22px;
  height: 22px;
  stroke: var(--la-profile-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.la-profile-hours-unavailable strong {
  color: var(--la-profile-ink);
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.la-profile-hours-unavailable p {
  color: var(--la-profile-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.la-profile-hours {
  display: grid;
  gap: 8px 18px;
  grid-template-columns: auto 1fr;
  margin: 0;
}

.la-profile-hours dt {
  font-size: 13px;
  font-weight: 800;
}

.la-profile-hours dd {
  color: var(--la-profile-muted);
  font-size: 13px;
  margin: 0;
  text-align: right;
}

.la-profile-sidebar-cta {
  border-top: 1px solid #d9d3cb;
  margin-top: 22px;
  padding-top: 20px;
}

.la-profile-sidebar-cta .la-profile-button {
  width: 100%;
}

.la-profile-contact {
  background: #302d2a;
  color: #fff;
  margin-top: clamp(54px, 8vw, 96px);
  padding: clamp(28px, 5vw, 56px);
}

.la-profile-contact h2 {
  color: #fff;
}

.la-profile-contact > p {
  color: #d8d1c9;
  margin: -7px 0 24px;
}

.la-profile-contact .la-public-form {
  background: #fff !important;
  color: var(--la-profile-ink);
  margin: 0;
}

.la-profile-contact .la-public-form h2 {
  display: none;
}

.la-profile-contact .la-public-form button {
  background: var(--la-profile-accent);
  border-radius: 3px;
}

@media (max-width: 920px) {
  .la-profile-hero,
  .la-profile-main {
    grid-template-columns: 1fr;
  }

  .la-profile-gallery-wrap {
    order: -1;
  }

  .la-profile-sidebar-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .la-artisan-profile {
    padding-inline: 16px;
  }

  .la-artisan-profile .la-profile-title {
    font-size: clamp(32px, 10vw, 40px);
  }

  .la-profile-trust {
    grid-template-columns: 1fr;
  }

  .la-profile-gallery-controls {
    grid-template-columns: 64px 1fr 64px;
  }

  .la-profile-actions {
    grid-template-columns: 1fr;
  }

  .la-profile-button--quote,
  .la-profile-actions-note {
    grid-column: auto;
  }

  .la-profile-button {
    width: 100%;
  }

  .la-profile-contact {
    margin-inline: -16px;
  }

  .la-profile-practical dl > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .la-profile-more-artisans {
    align-items: stretch;
    flex-direction: column;
  }

  .la-profile-more-artisans > a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .la-profile-button {
    transition: none;
  }
}
