/* Brawnd CTA hierarchy: preserve filled conversion actions and editorial links.
   Only the approved secondary actions receive the shared outline treatment. */
body.brawnd-wordpress :is(
  .brawnd-service-detail-copy > .brawnd-service-detail-inner > a,
  #process .b2-inline-cta,
  #selected-work .bw-showcase-all,
  .brawnd-project-page .brawnd-project-visit
) {
  --cta-outline-ink: #f1eee7;
  --cta-outline-line: rgba(241,238,231,.44);
  --cta-outline-hover: rgba(241,238,231,.075);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--cta-outline-line) !important;
  border-radius: 9px;
  background: transparent !important;
  color: var(--cta-outline-ink) !important;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
/* Match the scroll-driven paper/ink colours in the homepage sections. */
body.brawnd-wordpress .brawnd-home-journey :is(#process .b2-inline-cta, #selected-work .bw-showcase-all) {
  --cta-outline-ink: var(--journey-ink, #30262a);
  --cta-outline-line: rgba(var(--journey-ink-rgb, 48,38,42), .40);
  --cta-outline-hover: rgba(var(--journey-ink-rgb, 48,38,42), .065);
}
body.brawnd-wordpress :is(
  .brawnd-service-detail-copy > .brawnd-service-detail-inner > a,
  #process .b2-inline-cta,
  #selected-work .bw-showcase-all,
  .brawnd-project-page .brawnd-project-visit
):is(:hover,:focus-visible) {
  background-color: var(--cta-outline-hover) !important;
  border-color: var(--cta-outline-ink) !important;
}
body.brawnd-wordpress :is(
  .brawnd-service-detail-copy > .brawnd-service-detail-inner > a,
  #process .b2-inline-cta,
  #selected-work .bw-showcase-all,
  .brawnd-project-page .brawnd-project-visit
):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
body.brawnd-wordpress :is(#process .b2-inline-cta, #selected-work .bw-showcase-all, .brawnd-project-visit) > span[aria-hidden] {
  color: inherit !important;
  display: inline-block;
  transition: transform .22s ease;
}
body.brawnd-wordpress #process .b2-inline-cta:is(:hover,:focus-visible) > span[aria-hidden] { transform: translateX(3px); }
body.brawnd-wordpress :is(#selected-work .bw-showcase-all, .brawnd-project-visit):is(:hover,:focus-visible) > span[aria-hidden] { transform: translate(3px,-3px); }

/* Keep both hero CTAs visually equal in height: no external shadow on the filled action. */
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta--primary,
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta--primary:is(:hover,:focus-visible,:active) {
  box-shadow: none !important;
}

/* Booking is secondary; retain each existing placement and width. */
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta--secondary,
body.brawnd-wordpress .brawnd-contact-panel .brawnd-contact-book,
body.brawnd-wordpress .brawnd-contact-page .brawnd-contact-page-book {
  border: 1px solid rgba(241,238,231,.44) !important;
  border-radius: 9px;
  background: transparent !important;
  color: #f1eee7 !important;
  box-shadow: none !important;
  min-height: 44px;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta--secondary:is(:hover,:focus-visible),
body.brawnd-wordpress .brawnd-contact-panel .brawnd-contact-book:is(:hover,:focus-visible),
body.brawnd-wordpress .brawnd-contact-page .brawnd-contact-page-book:is(:hover,:focus-visible) {
  background-color: rgba(241,238,231,.075) !important;
  border-color: rgba(241,238,231,.75) !important;
  color: #f1eee7 !important;
  box-shadow: none !important;
}
/* Keep the article footer an editorial text link, in the current neutral ink. */
body.brawnd-wordpress .insights-article-page .insights-article-end > a {
  color: #292325 !important;
}
@media (prefers-reduced-motion: reduce) {
  body.brawnd-wordpress :is(#process .b2-inline-cta, #selected-work .bw-showcase-all, .brawnd-project-visit, .brawnd-service-detail-copy > .brawnd-service-detail-inner > a, .hero-cta--secondary, .brawnd-contact-book, .brawnd-contact-page-book),
  body.brawnd-wordpress :is(#process .b2-inline-cta, #selected-work .bw-showcase-all, .brawnd-project-visit, .brawnd-service-detail-copy > .brawnd-service-detail-inner > a) > span[aria-hidden] {
    transition: none !important;
    transform: none !important;
  }
}

/* Give the two homepage hero actions more horizontal breathing room.
   Keep the existing height, typography, gap and centred labels. */
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta {
  padding-inline: 28px !important;
}
@media (max-width: 760px) {
  body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta {
    padding-inline: 24px !important;
  }
}

/* Text-only CTAs: keep the approved surfaces and centre their labels.
   Editorial navigation and functional icons retain their arrows. */
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta,
body.brawnd-wordpress .brawnd-service-detail-copy > .brawnd-service-detail-inner > a,
body.brawnd-wordpress #services .brawnd-service-cta,
body.brawnd-wordpress #process .b2-inline-cta,
body.brawnd-wordpress .brawnd-home-insight-all,
body.brawnd-wordpress .brawnd-contact-send {
  justify-content: center !important;
  text-align: center;
}
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta > .hero-cta-label,
body.brawnd-wordpress .b2-hero .hero-actions--dual .hero-cta:is(:hover,:focus-visible) > .hero-cta-label {
  transform: none !important;
}
body.brawnd-wordpress .b2-consultant-floater {
  width: auto;
  justify-content: center;
  padding-inline: 6px 14px;
}
body.brawnd-wordpress .b2-consultant-floater-label { flex: 0 0 auto; }
