/* CTAs for blog editor + reader — scoped to .flowres-cta-block */
:root {
  --flowres-cta-yellow: #ffa802;
  --flowres-cta-yellow-dk: #e09500;
  --flowres-cta-dark: #3d3541;
  --flowres-cta-light: #f5f6f3;
  --flowres-cta-white: #ffffff;
  --flowres-cta-dark-60: rgba(61, 53, 65, 0.6);
}

.flowres-cta-block {
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin: 1.75rem auto;
  font-family: "Lexend Deca", sans-serif;
}

.flowres-cta-block *,
.flowres-cta-block *::before,
.flowres-cta-block *::after {
  box-sizing: border-box;
}

.flowres-cta-block.cta-1 {
  background: var(--flowres-cta-dark);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.flowres-cta-block.cta-1 .blob {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 168, 2, 0.16) 0%, transparent 68%);
  top: -70px;
  right: 20px;
  pointer-events: none;
}

.flowres-cta-block.cta-1 .ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 168, 2, 0.18);
  top: -40px;
  right: 90px;
  pointer-events: none;
}

.flowres-cta-block.cta-1 .text {
  position: relative;
  z-index: 1;
}

.flowres-cta-block.cta-1 .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flowres-cta-yellow);
  margin-bottom: 10px;
}

.flowres-cta-block.cta-1 h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--flowres-cta-white) !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

.flowres-cta-block.cta-1 p {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.65 !important;
  max-width: 380px !important;
}

.flowres-cta-block.cta-1 .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--flowres-cta-yellow);
  color: var(--flowres-cta-dark);
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-1 .btn:hover {
  background: var(--flowres-cta-yellow-dk);
  transform: translateY(-2px);
}

.flowres-cta-block.cta-2 {
  background: var(--flowres-cta-yellow);
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.flowres-cta-block.cta-2::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  bottom: -80px;
  right: -50px;
  pointer-events: none;
}

.flowres-cta-block.cta-2::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  bottom: -20px;
  right: 70px;
  pointer-events: none;
}

.flowres-cta-block.cta-2 .text {
  position: relative;
  z-index: 1;
}

.flowres-cta-block.cta-2 .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 53, 65, 0.55);
  margin-bottom: 10px;
}

.flowres-cta-block.cta-2 h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--flowres-cta-dark) !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

.flowres-cta-block.cta-2 p {
  font-size: 13.5px !important;
  color: rgba(61, 53, 65, 0.7) !important;
  line-height: 1.65 !important;
  max-width: 380px !important;
}

.flowres-cta-block.cta-2 .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--flowres-cta-dark);
  color: var(--flowres-cta-white);
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-2 .btn:hover {
  background: #2e2833;
  transform: translateY(-2px);
}

.flowres-cta-block.cta-3 {
  background: var(--flowres-cta-white);
  border: 1.5px solid #eaeae8;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.flowres-cta-block.cta-3 .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 168, 2, 0.1);
  border: 1px solid rgba(255, 168, 2, 0.28);
  border-radius: 100px;
  padding: 4px 13px;
  font-size: 11px;
  font-weight: 600;
  color: #c47c00;
  margin-bottom: 12px;
}

.flowres-cta-block.cta-3 h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--flowres-cta-dark) !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

.flowres-cta-block.cta-3 p {
  font-size: 13.5px !important;
  color: var(--flowres-cta-dark-60) !important;
  line-height: 1.65 !important;
  max-width: 380px !important;
}

.flowres-cta-block.cta-3 .btn {
  flex-shrink: 0;
  background: var(--flowres-cta-yellow);
  color: var(--flowres-cta-dark);
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-3 .btn:hover {
  background: var(--flowres-cta-yellow-dk);
  transform: translateY(-2px);
}

.flowres-cta-block.cta-4 {
  background: var(--flowres-cta-light);
  padding: 36px 44px;
}

.flowres-cta-block.cta-4 .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flowres-cta-yellow-dk);
  margin-bottom: 10px;
}

.flowres-cta-block.cta-4 h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--flowres-cta-dark) !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

.flowres-cta-block.cta-4 p {
  font-size: 13.5px !important;
  color: var(--flowres-cta-dark-60) !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
  max-width: 500px !important;
}

.flowres-cta-block.cta-4 .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.flowres-cta-block.cta-4 .chip {
  background: var(--flowres-cta-white);
  border: 1px solid rgba(61, 53, 65, 0.1);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--flowres-cta-dark);
  display: flex;
  align-items: center;
  gap: 7px;
}

.flowres-cta-block.cta-4 .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flowres-cta-yellow);
  flex-shrink: 0;
}

.flowres-cta-block.cta-4 .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--flowres-cta-dark);
  color: var(--flowres-cta-white);
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-4 .btn:hover {
  background: #2e2833;
  transform: translateY(-2px);
}

.flowres-cta-block.cta-5 {
  display: grid;
  grid-template-columns: 1fr 200px;
  border-radius: 20px;
  overflow: hidden;
}

.flowres-cta-block.cta-5 .left {
  background: var(--flowres-cta-dark);
  padding: 36px 36px;
}

.flowres-cta-block.cta-5 .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.flowres-cta-block.cta-5 h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--flowres-cta-white) !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

.flowres-cta-block.cta-5 p {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.48) !important;
  line-height: 1.65 !important;
}

.flowres-cta-block.cta-5 .right {
  background: var(--flowres-cta-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 28px;
}

.flowres-cta-block.cta-5 .right .icon {
  font-size: 28px;
  line-height: 1;
}

.flowres-cta-block.cta-5 .btn {
  background: var(--flowres-cta-dark);
  color: var(--flowres-cta-white);
  font-family: "Lexend Deca", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  display: block;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-5 .btn:hover {
  background: #2e2833;
  transform: translateY(-2px);
}

.flowres-cta-block.cta-5 .hint {
  font-size: 10.5px;
  color: rgba(61, 53, 65, 0.6);
  text-align: center;
  line-height: 1.4;
}

.flowres-cta-block.cta-6 {
  background: var(--flowres-cta-white);
  border-left: 4px solid var(--flowres-cta-yellow);
  border-radius: 14px;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 18px rgba(61, 53, 65, 0.07);
}

.flowres-cta-block.cta-6 h2 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--flowres-cta-dark) !important;
  margin-bottom: 4px !important;
}

.flowres-cta-block.cta-6 p {
  font-size: 13px !important;
  color: var(--flowres-cta-dark-60) !important;
  line-height: 1.55 !important;
}

.flowres-cta-block.cta-6 .actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.flowres-cta-block.cta-6 .btn-primary {
  background: var(--flowres-cta-yellow);
  color: var(--flowres-cta-dark);
  font-family: "Lexend Deca", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.flowres-cta-block.cta-6 .btn-primary:hover {
  background: var(--flowres-cta-yellow-dk);
  transform: translateY(-1px);
}

.flowres-cta-block.cta-6 .btn-ghost {
  font-family: "Lexend Deca", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--flowres-cta-dark);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(61, 53, 65, 0.4);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.flowres-cta-block.cta-6 .btn-ghost:hover {
  opacity: 0.55;
}

.flowres-cta-block .arr {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .flowres-cta-block.cta-1,
  .flowres-cta-block.cta-2,
  .flowres-cta-block.cta-3,
  .flowres-cta-block.cta-6 {
    flex-direction: column;
    align-items: flex-start;
  }

  .flowres-cta-block.cta-5 {
    grid-template-columns: 1fr;
  }

  .flowres-cta-block.cta-5 .right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 24px 28px;
  }

  .flowres-cta-block.cta-6 .actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* reader.php sets .blog a { color !important } — restore CTA button colors */
.blog .flowres-cta-block a,
.blog .flowres-cta-block a:hover {
  border-bottom: none !important;
}

.blog .flowres-cta-block.cta-1 .btn {
  color: var(--flowres-cta-dark) !important;
}

.blog .flowres-cta-block.cta-2 .btn {
  color: var(--flowres-cta-white) !important;
}

.blog .flowres-cta-block.cta-3 .btn {
  color: var(--flowres-cta-dark) !important;
}

.blog .flowres-cta-block.cta-4 .btn {
  color: var(--flowres-cta-white) !important;
}

.blog .flowres-cta-block.cta-5 .btn {
  color: var(--flowres-cta-white) !important;
}

.blog .flowres-cta-block.cta-6 .btn-primary {
  color: var(--flowres-cta-dark) !important;
}

.blog .flowres-cta-block.cta-6 .btn-ghost {
  color: var(--flowres-cta-dark) !important;
  border-bottom: 1.5px solid rgba(61, 53, 65, 0.4) !important;
}
