/* Legacy article CTAs: exact sRGB pairs, same contrast in normal/hover/focus/active.
   White / #6c5ce7 = 4.8584:1; #2d3436 / #fdcb6e = 8.4201:1;
   charcoal / #fd79a8 = 5.1188:1; / #00b894 = 5.0022:1;
   charcoal / #74b9ff = 6.1147:1; / #ff7675 = 4.8913:1.
   Scope deliberately excludes embedded form and application controls. */
body.abc-studio .abc-post-content :is(
  a.wp-block-button__link, a.fasc-button, a.softlite-block-button,
  a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow
) {
  --abc-legacy-bg: #6c5ce7;
  --abc-legacy-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--abc-legacy-bg) !important;
  border-radius: 8px;
  background-color: var(--abc-legacy-bg) !important;
  background-image: none !important;
  color: var(--abc-legacy-ink) !important;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: inset 0 -2px 0 rgb(45 52 54 / .12);
  transition: transform 160ms cubic-bezier(.23,1,.32,1);
}
body.abc-studio .abc-post-content :is(a.btn-pink, a.has-pale-pink-background-color) {
  --abc-legacy-bg: #fd79a8;
  --abc-legacy-ink: #2d3436;
}
body.abc-studio .abc-post-content :is(a.btn-green, a.has-vivid-green-cyan-background-color) {
  --abc-legacy-bg: #00b894;
  --abc-legacy-ink: #2d3436;
}
body.abc-studio .abc-post-content a.btn-yellow {
  --abc-legacy-bg: #fdcb6e;
  --abc-legacy-ink: #2d3436;
}
/* Destination roles override old names without changing the links themselves. */
body.abc-studio .abc-post-content :is(
  a.wp-block-button__link, a.fasc-button, a.softlite-block-button,
  a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow
)[href*="app.kumumarket.com"] {
  --abc-legacy-bg: #fdcb6e;
  --abc-legacy-ink: #2d3436;
}
body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):is([href*="/curso/"], [href*="/curso-"], [href*="/cursos-online/"]) {
  --abc-legacy-bg: #74b9ff;
  --abc-legacy-ink: #2d3436;
}
body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):is(:hover, :focus, :active) {
  background-color: var(--abc-legacy-bg) !important;
  background-image: none !important;
  border-color: var(--abc-legacy-bg) !important;
  color: var(--abc-legacy-ink) !important;
  opacity: 1 !important;
  filter: none !important;
  text-decoration: none !important;
}
body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow) :is(span, strong, b, em, i) {
  color: inherit !important;
  text-shadow: none !important;
}
body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow)::before {
  color: inherit !important;
}
/* White separation + charcoal ring: 12.6808:1 between the two focus bands,
   including legacy article panels whose adjacent background is variable. */
body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):focus-visible {
  outline: 3px solid #2d3436 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
  transform: none !important;
  transition: none;
}
@media (hover:hover) and (pointer:fine) {
  body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):hover {
    transform: translateY(-2px);
  }
  body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):active {
    transform: scale(.98);
  }
}
@media (hover:none), (pointer:coarse), (prefers-reduced-motion:reduce) {
  body.abc-studio .abc-post-content :is(a.wp-block-button__link, a.fasc-button, a.softlite-block-button, a.btn-green, a.btn-pink, a.btn-outline, a.btn-white, a.btn-yellow):is(:hover, :active) {
    transform: none !important;
    transition: none;
  }
}
/* The disabled submit label carries useful delivery status. Keep it readable
   while preventing repeat submissions; opacity .7 previously fell to 2.56:1. */
body.abc-studio .abc-form button:disabled {
  opacity: 1;
  filter: none;
  transform: none !important;
  cursor: progress;
}
