/* Post-action CTA bar — shared across /tools/ pages */
.tool-post-cta {
  margin-top: 12px;
  padding: 14px 16px;
  border-top: 1px solid #d9e2ea;
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
  text-align: center;
}

.tool-post-cta[hidden] {
  display: none !important;
}

.tool-post-cta__label {
  margin: 0 0 10px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #5c6f82;
  line-height: 1.45;
}

.tool-post-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

.tool-post-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #cfd8e1;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font-family: Manrope, system-ui, sans-serif;
}

.tool-post-cta__btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.tool-post-cta__btn--whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.tool-post-cta__btn--callback {
  background: #f45f58;
  border-color: #f45f58;
  color: #fff;
}

.tool-post-cta__btn--callback:hover {
  background: #d94a44;
  border-color: #d94a44;
  color: #fff;
}

.tool-post-cta__btn--call {
  background: #061a31;
  border-color: #061a31;
  color: #fff;
}

.tool-post-cta__btn--call:hover {
  background: #0b2947;
  border-color: #0b2947;
  color: #fff;
}

.tool-post-cta__btn--whatsapp {
  background: #fff;
  border-color: #25d366;
  color: #128c7e;
}

.tool-post-cta__btn--whatsapp:hover {
  background: #eaf7f1;
  color: #0d6e58;
}

/* Desktop/tablet: hide call, two equal buttons side by side */
@media (min-width: 768px) {
  .tool-post-cta__actions {
    flex-direction: row;
    align-items: stretch;
    max-width: 480px;
  }

  .tool-post-cta__btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .tool-post-cta__btn--call {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .tool-post-cta__actions {
    max-width: 320px;
  }

  .tool-post-cta__btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .tool-post-cta {
    padding: 12px 14px;
  }

  .tool-post-cta__actions {
    max-width: 100%;
  }
}

.light-theme-page .tool-post-cta {
  margin-top: 20px;
  border: 1px solid #dfe6ed;
  border-radius: 4px;
}
