/*
 * Shared across every Mayuri Flowers widget: the button, the intro column and the
 * tick row. Widgets depend on this via get_style_depends().
 *
 * The underscore prefix keeps it first alphabetically, which is also the order
 * Plugin::register_assets() globs them in.
 */

/* --------------------------------------------------------------- buttons -- */

.mf-hero__actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--mf-hero-btn-gap, 12px);
  margin-top: var(--mf-hero-act-gap, 32px);
}

.mf-btn {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition-property: background-color, color, transform, box-shadow;
  transition-duration: var(--mf-hero-reveal-dur, var(--mf-dur-base, 300ms));
  transition-timing-function: var(--mf-hero-reveal-ease, var(--mf-ease-out));
}
.mf-btn:hover { transform: translateY(-2px); }
.mf-btn__arrow { width: var(--mf-hero-arrow-size, 16px); height: var(--mf-hero-arrow-size, 16px); transition: transform 200ms var(--mf-ease-out); }
.mf-btn:hover .mf-btn__arrow { transform: translateX(4px); }

.mf-btn--green {
  background: var(--mf-green); color: var(--mf-ink);
  box-shadow: var(--mf-shadow-volt-rest);
}
.mf-btn--green:hover {
  background: var(--mf-dark); color: var(--mf-green);
  box-shadow: var(--mf-shadow-volt-hover);
}
.mf-btn--light {
  border: 1px solid var(--mf-hair); background: var(--mf-card); color: var(--mf-ink);
}
.mf-btn--light:hover {
  border-color: var(--mf-dark); background: var(--mf-dark); color: var(--mf-green);
  box-shadow: var(--mf-shadow-volt-light);
}
.mf-btn--dark {
  background: var(--mf-dark); color: #fff; box-shadow: var(--mf-shadow-dark-rest);
}
.mf-btn--dark:hover { background: var(--mf-green); color: var(--mf-ink); box-shadow: var(--mf-shadow-dark-hover); }


.mf-btn--sm { padding: 12px 20px; font-size: 13.5px; }

/* ----------------------------------------------------------------- intro -- */

.mf-intro__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 var(--mf-intro-eb-gap, 24px);
  font-family: var(--mf-font-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in oklch, var(--mf-intro-eb-color, var(--mf-ink)) var(--mf-intro-eb-alpha, 70%), transparent);
}
.mf-intro__rule {
  display: block; flex: none;
  height: 1px;
  width: var(--mf-intro-rule-w, 36px);
  background: var(--mf-intro-rule-color, var(--mf-green));
}

.mf-intro__heading {
  margin: 0;
  max-width: var(--mf-intro-h-measure, none);
  font-family: var(--mf-font-display);
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--mf-intro-h-color, var(--mf-ink));
  text-wrap: balance;
}

.mf-intro__standfirst {
  margin: var(--mf-intro-sf-gap, 24px) 0 0;
  max-width: var(--mf-intro-sf-measure, 34ch);
  font-size: 14.5px;
  line-height: 1.625;
  color: var(--mf-intro-sf-color, var(--mf-body));
}

.mf-intro__actions { margin-top: var(--mf-intro-cta-gap, 32px); }

/* ------------------------------------------------------------ tick rows -- */

.mf-tick { display: flex; align-items: center; gap: var(--mf-tick-gap, 14px); }
.mf-tick__badge {
  display: grid; place-items: center; flex: none;
  width: var(--mf-tick-size, 36px); height: var(--mf-tick-size, 36px);
  border-radius: 999px;
  border: 1px solid var(--mf-tick-border, var(--mf-hair));
  background: var(--mf-tick-bg, var(--mf-card));
  color: var(--mf-tick-fg, var(--mf-ink));
  transition: background-color 300ms var(--mf-ease-out), border-color 300ms var(--mf-ease-out);
}
.mf-tick__icon { width: var(--mf-tick-icon, 16px); height: var(--mf-tick-icon, 16px); }
.mf-tick:hover .mf-tick__badge {
  border-color: var(--mf-tick-border-h, var(--mf-green));
  background: var(--mf-tick-bg-h, var(--mf-green));
}
.mf-tick__label { font-size: 14px; font-weight: 500; color: var(--mf-tick-label, var(--mf-ink)); }
