/* Opt-in block controls. The normal Stackable design is preserved when disabled. */
.fws-choice-accent-olive { --fws-choice-accent:#62673e; }
.fws-choice-accent-blue { --fws-choice-accent:#3d6579; }
.fws-choice-accent-teal { --fws-choice-accent:#4a6e6e; }
.fws-choice-accent-navy-blue { --fws-choice-accent:#002e5b; }
.fws-choice-accent-terracotta { --fws-choice-accent:#a23626; }
.fws-choice-accent-gold { --fws-choice-accent:#896018; }
.fws-choice-accent-orange { --fws-choice-accent:#855c11; }
.fws-choice-accent-red { --fws-choice-accent:#a51d2d; }
.fws-choice-accent-dark-brown { --fws-choice-accent:#32200c; }
.fws-choice-accent-black { --fws-choice-accent:#000000; }
.fws-choice-type-card {
  --fws-choice-ink:#32200c;
  --fws-choice-detail:var(--fws-choice-accent,#62673e);
  --fws-choice-fill:#fcfaf6;
  --fws-choice-line:#e4d9ce;
  --fws-choice-stroke:var(--fws-choice-detail);
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  padding:22px;
  background:var(--fws-choice-fill);
  color:var(--fws-choice-ink);
  border:1px solid var(--fws-choice-line);
  border-radius:12px;
  transition:box-shadow 220ms,transform 220ms;
}
.fws-choice-type-card :is(h2,h3,h4,.stk-block-icon,.wp-block-heading) { color:var(--fws-choice-detail); }
.fws-choice-type-card p { color:var(--fws-choice-ink); }
.fws-choice-type-card a { color:var(--fws-choice-detail); text-underline-offset:.2em; }
.fws-choice-type-card.fws-choice-border-left { border-inline-start:4px solid var(--fws-choice-stroke); }
.fws-choice-type-card.fws-choice-border-top { border-block-start:4px solid var(--fws-choice-stroke); }
.fws-choice-type-card.fws-choice-border-thin { border:1px solid var(--fws-choice-stroke); }
.fws-choice-type-card.fws-choice-border-thick { border:3px solid var(--fws-choice-stroke); }
.fws-choice-type-card.fws-choice-border-double { border:3px double var(--fws-choice-stroke); }
.fws-choice-type-card.fws-choice-border-tint { background:color-mix(in srgb,var(--fws-choice-detail) 8%,var(--fws-choice-fill)); }
.fws-choice-type-card.fws-choice-surface-inverse {
  --fws-choice-ink:#fff;
  --fws-choice-detail:#fff;
  --fws-choice-fill:var(--fws-choice-accent,#62673e);
  --fws-choice-line:var(--fws-choice-fill);
  --fws-choice-stroke:var(--fws-choice-fill);
  padding:24px;
}
.fws-choice-type-card.fws-choice-surface-inverse::before {
  content:"";
  position:absolute;
  inset:5px;
  pointer-events:none;
  border-radius:5px;
}
.fws-choice-surface-inverse.fws-choice-border-left::before { border-inline-start:4px solid #fff; }
.fws-choice-surface-inverse.fws-choice-border-top::before { border-block-start:4px solid #fff; }
.fws-choice-surface-inverse.fws-choice-border-thin::before { border:1px solid #fff; }
.fws-choice-surface-inverse.fws-choice-border-thick::before { border:3px solid #fff; }
.fws-choice-surface-inverse.fws-choice-border-double::before { border:3px double #fff; }
.fws-choice-surface-inverse.fws-choice-border-tint { background:var(--fws-choice-fill); }
.fws-choice-surface-inverse.fws-choice-border-tint::before { border:1px solid #ffffff80; }
.fws-choice-type-card :is(.stk-block-content,.stk-container):has(.fws-choice-card-hit) { position:static; }
.fws-choice-type-card .fws-choice-card-hit::after { content:""; position:absolute; z-index:2; inset:0; border-radius:inherit; }
.fws-choice-type-card .wp-block-stackable-icon .stk--svg-wrapper .stk--inner-svg svg:last-child,
.fws-choice-type-card .wp-block-stackable-icon .stk--svg-wrapper .stk--inner-svg svg:last-child :is(g,path,rect,polygon,ellipse) {
  fill:var(--fws-choice-detail) !important;
}
.fws-choice-type-card:focus-within { box-shadow:0 6px 16px #32200c25; }
.wp-block-stackable-button.fws-choice-type-button .stk-button {
  box-sizing:border-box;
  min-height:48px;
  padding:8px 18px;
  background:#fff !important;
  border:2px solid var(--fws-choice-accent,#62673e) !important;
  border-radius:999px;
  color:var(--fws-choice-accent,#62673e) !important;
}
.wp-block-stackable-button.fws-choice-type-button .stk-button__inner-text { color:inherit !important; }
.wp-block-stackable-button.fws-choice-type-button .stk-button.stk--hover-effect-darken::before { opacity:0; }
:is(.fws-choice-type-card,.fws-choice-type-button) a:focus-visible {
  outline:3px solid #f3c95e;
  outline-offset:3px;
  box-shadow:0 0 0 2px #32200c;
}
.fws-choice-type-checklist .stk-block-icon-list-item {
  border:1px solid transparent;
  border-radius:8px;
  padding:8px 10px;
  transition:background-color 220ms,border-color 220ms,transform 220ms;
}
.fws-choice-type-checklist .stk-block-icon-list-item__content { align-items:flex-start; }
.fws-choice-type-checklist .stk-block-icon-list-item .stk--svg-wrapper { display:none; }
.fws-choice-type-checklist .stk-block-icon-list-item__content::before {
  --fws-check-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  content:"";
  display:inline-block;
  flex:0 0 22px;
  height:22px;
  margin-inline-end:10px;
  background:var(--fws-choice-accent,#62673e);
  mask:var(--fws-check-shape) center / contain no-repeat;
}
.fws-choice-check-inverse .stk-block-icon-list-item__content::before {
  --fws-check-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Ccircle cx='12' cy='12' r='11' fill='white'/%3E%3Cpath d='m7 12 3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='11' mask='url(%23m)'/%3E%3C/svg%3E");
}
@media (hover:hover) and (pointer:fine) {
  .fws-choice-type-card:hover { box-shadow:0 6px 16px #32200c25; }
  .wp-block-stackable-button.fws-choice-type-button .stk-button:hover { background:color-mix(in srgb,var(--fws-choice-accent,#62673e) 9%,white) !important; }
  .fws-choice-type-checklist .stk-block-icon-list-item:hover {
    border-color:var(--fws-choice-accent,#62673e);
    background:color-mix(in srgb,var(--fws-choice-accent,#62673e) 6%,#fcfaf6);
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .fws-choice-type-card:hover { transform:translateY(-3px); }
  .fws-choice-type-checklist .stk-block-icon-list-item:hover { transform:translateY(-2px); }
}
@media (prefers-reduced-motion:reduce) {
  .fws-choice-type-card,.fws-choice-type-checklist .stk-block-icon-list-item { transition:none; }
}
