/*
Theme Name: Clear Water Funding Source
Theme URI: https://clearwaterfundingsource.com/
Author: Clear Water Funding Source
Description: Custom responsive WordPress theme for Clear Water Funding Source business funding and lender referral pages.
Version: 20.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: clearwater-funding-source
*/

.cw-direct-apply {
  margin-top: 42px;
  padding: 42px 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.08);
}
.cw-direct-apply .wrap {
  max-width: 820px;
  margin: 0 auto;
}
.cw-direct-apply h2 {
  margin-bottom: 12px;
}
.cw-direct-apply p {
  margin-bottom: 20px;
}
.cw-direct-apply-note {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: .72;
}

.cw-product-copy h2 { margin-top: 34px; }
.cw-product-copy h2:first-child { margin-top: 0; }
.cw-product-copy h3 { margin-top: 24px; }
.cw-product-copy details { margin: 12px 0; padding: 14px 16px; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; }
.cw-product-copy summary { cursor: pointer; font-weight: 700; }
.cw-steps { padding-left: 22px; }
.cw-steps li { margin: 10px 0; }
.cw-product-cta { margin-top: 42px; padding: 28px; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; }
.cw-product-cta .btn { margin: 8px 10px 8px 0; }
.cw-disclosure { margin-top: 30px; font-size: .9rem; opacity: .8; }

/* V13: Direct lender CTA */
.cw-lender-apply {
  background: #198754 !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}
.cw-lender-apply:hover,
.cw-lender-apply:focus {
  background: #157347 !important;
  border-color: #146c43 !important;
  color: #ffffff !important;
}

/* V14: prioritize direct-lender application */
.cw-lender-primary {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 800;
  padding: 15px 24px;
}
.cw-options-secondary {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.10);
}
.cw-options-secondary h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.cw-options-btn {
  background: transparent !important;
  border: 1px solid currentColor !important;
}

/* V15 CTA hierarchy */
.cw-lender-apply,
.cw-lender-primary {
  background: #198754 !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}
.cw-lender-apply:hover,
.cw-lender-primary:hover,
.cw-lender-apply:focus,
.cw-lender-primary:focus {
  background: #157347 !important;
  border-color: #146c43 !important;
  color: #ffffff !important;
}
.cw-options-btn {
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
}
.cw-options-btn:hover,
.cw-options-btn:focus {
  background: #0b5ed7 !important;
  border-color: #0a58ca !important;
  color: #ffffff !important;
}
