/* Bright!Tax CTA — intentionally understated and type-scale compatible with the site. */
.btcta-module,
.btcta-module * { box-sizing: border-box; }
.btcta-module {
  --btcta-green: #15833b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  width: 100%;
  max-width: 100%;
  padding: clamp(1.35rem, 2.2vw, 1.8rem);
  margin: 2rem 0;
  border: 1px solid #dfe8df;
  border-radius: 9px;
  background: #f7faf7;
  color: #25352b;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  box-shadow: none;
}
.btcta-module .btcta-content { flex: 1 1 auto; min-width: 0; }
.btcta-module .btcta-kicker,
.btcta-module .btcta-title,
.btcta-module .btcta-description {
  font-family: inherit;
  padding: 0;
  border: 0;
  text-transform: none;
}
.btcta-module .btcta-kicker {
  color: #426c4d;
  font-size: clamp(.875rem, .9em, .9375rem);
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .52rem !important;
}
.btcta-module .btcta-title {
  color: #1b3322;
  font-size: clamp(1.16rem, 1.75vw, 1.46rem);
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.012em;
  margin: 0 0 .35rem !important;
}
.btcta-module .btcta-description {
  color: #415348;
  /* Scales with article typography but stays within a legible 18–20px range. */
  font-size: clamp(1.125rem, 1.2em, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  margin: 0 !important;
}
.btcta-module .btcta-action { flex: 0 0 auto; min-width: 0; }
.btcta-module .btcta-button,
.entry-content .btcta-module .btcta-button,
.wp-block-post-content .btcta-module .btcta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 50px;
  max-width: 100%;
  padding: .8rem 1.25rem;
  border: 1px solid #15833b;
  border-radius: 6px;
  background: #15833b;
  color: #fff !important;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btcta-module a.btcta-button:hover,
.entry-content .btcta-module a.btcta-button:hover,
.wp-block-post-content .btcta-module a.btcta-button:hover {
  background: #10662e;
  border-color: #10662e;
  color: #fff !important;
  text-decoration: none !important;
}
.btcta-module a.btcta-button:focus-visible {
  outline: 3px solid #265fdf;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .btcta-module {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
  }
  .btcta-module .btcta-action { width: 100%; }
  .btcta-module .btcta-button,
  .entry-content .btcta-module .btcta-button,
  .wp-block-post-content .btcta-module .btcta-button { width: 100%; }
}
@media (max-width: 420px) {
  .btcta-module { padding: 1.05rem; }
  .btcta-module .btcta-title { font-size: 1.18rem; }
  .btcta-module .btcta-description { font-size: clamp(1.0625rem, 1.1em, 1.125rem); }
}
@media (max-width: 360px) {
  /* Keep short action labels on one line on narrow phones when possible. */
  .btcta-module .btcta-button,
  .entry-content .btcta-module .btcta-button,
  .wp-block-post-content .btcta-module .btcta-button { font-size: 1rem; padding-inline: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btcta-module .btcta-button { transition: none; }
}
/* Gutenberg canvas only. */
.btcta-editor-block { border: 1px dashed #c1cec2; border-radius: 8px; padding: 14px; }
.btcta-editor-block .btcta-module { margin: .5rem 0; }
.btcta-editor-controls { margin: 0 0 12px; }
.btcta-editor-controls .components-base-control { margin-bottom: 12px; }
.btcta-editor-fields { padding: 12px; border: 1px solid #dde3df; background: #fff; border-radius: 6px; }
.btcta-editor-note { font-size: 12px !important; color: #526258; margin: 6px 0 !important; }
.btcta-editor-preview .btcta-button { cursor: default; }
