/* CA Tarifly modern blocks — shared tokens. WoodMart-native via --wd-* with fallbacks; no fonts forced. */
.tf-block{
  /* the Tarifly Studio tokens (assets/css/block-responsive.css) with the same values as fallback */
  --tf-acc:var(--ts-acc,#fa7320);
  --tf-acc-hover:var(--ts-acc-hover,#0c0625);
  --tf-acc-soft:var(--ts-acc-soft,#fff2e8);
  --tf-link:var(--ts-link,#c35a19);
  --tf-ink:var(--ts-ink,#0d0625);
  --tf-text:var(--ts-text,#3a3f4f);
  --tf-mute:var(--ts-mute,#6a7184);
  --tf-line:var(--ts-line,rgba(13,6,37,.09));
  --tf-surface:var(--ts-band,#f5f5f7);
  --tf-r:24px; /* 1.64.1 "Pill" language of the page blocks: larger radius, flat panels, round icon chips (calculators keep the shared tokens) */
  --tf-shadow:0 0 0 1px rgba(13,6,37,.05);
  --tf-shadow-up:0 0 0 1px rgba(13,6,37,.1),0 12px 28px -18px rgba(13,6,37,.25);
  --tf-ease:var(--ts-ease,cubic-bezier(.2,.7,.2,1));
  color:var(--tf-text);box-sizing:border-box;
  margin-block:clamp(24px,3vw,40px);
  /* 1.64.0 restrained type: section titles of the page blocks are smaller than in the calculators (scoped here, the shared token stays) */
  --ts-h2:clamp(22px,1vw + 17px,30px);
}
.tf-block *,.tf-block *::before,.tf-block *::after{box-sizing:border-box}
.tf-block :is(h2,h3,h4,p,ul,ol,dl,dd){margin-block:0}
.tf-icon{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--tf-surface);color:var(--tf-ink)}
.tf-icon svg{width:24px;height:24px}
.tf-eyebrow{display:block;margin:0 0 10px;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--tf-link)}
/* one button for every modern + blog block: pill, accent fill, navy hover, no glow */
.tf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border:0;border-radius:var(--ts-r-pill,980px);font-size:16px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s,box-shadow .2s}
.tf-btn svg{width:18px;height:18px;transition:transform .2s var(--tf-ease)}
.tf-btn:hover svg{transform:translateX(2px)}
.tf-btn:focus-visible{outline:0;box-shadow:var(--ts-focus,0 0 0 4px rgba(250,115,32,.22))}
.tf-btn--primary{background:var(--tf-acc);color:#fff}
.tf-btn--primary:hover{background:var(--tf-acc-hover);color:#fff}
/* second action: hairline pill, no dark outline */
.tf-btn--ghost{background:transparent;color:var(--tf-ink);box-shadow:inset 0 0 0 1px rgba(13,6,37,.16)}
.tf-btn--ghost:hover{background:var(--tf-surface);box-shadow:inset 0 0 0 1px rgba(13,6,37,.24)}
@keyframes tf-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tf-block,.tf-block *,.tf-block *::before,.tf-block *::after{animation:none!important;transition:none!important}}
@media print{.tf-block{break-inside:avoid}}

/* Gutenberg colour / font-size supports: let the block's own text colour and size win over tokens */
.tf-block.has-text-color{--tf-ink:currentColor;--tf-text:currentColor}
.tf-faq.has-custom-font-size .tf-faq__q,.tf-faq.has-custom-font-size .tf-faq__a{font-size:1em}
.tf-faq.has-custom-font-size .tf-faq__title{font-size:1.9em}
.tf-faq[class*="has-"][class*="-font-size"] .tf-faq__q,.tf-faq[class*="has-"][class*="-font-size"] .tf-faq__a{font-size:1em}
