/* Channel CTA — minimal, neutral, dark+light auto via prefers-color-scheme */
.cta-channel {
  font-family: inherit;
  line-height: 1.45;
  margin: 1.25rem 0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.20);
  color: inherit;
}
.cta-channel--pre {
  margin-top: 0;
}
.cta-channel--post {
  background: rgba(46, 160, 67, 0.07);
  border-color: rgba(46, 160, 67, 0.25);
}
.cta-channel__msg {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.95rem;
  color: inherit;
}
.cta-channel__msg a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-channel__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: #229ED9;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}
.cta-channel__btn:hover, .cta-channel__btn:focus-visible {
  background: #1B83B4;
  color: #fff;
}
.cta-channel--footer {
  position: relative;
  margin: 2rem 0 0;
  padding: 10px 18px;
  justify-content: center;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(127, 127, 127, 0.15);
  border-radius: 0;
}
.cta-channel--footer .cta-channel__btn {
  background: transparent;
  color: #229ED9;
  padding: 6px 10px;
  font-weight: 500;
}
.cta-channel--footer .cta-channel__btn:hover {
  background: rgba(34, 158, 217, 0.10);
  color: #1B83B4;
}
@media (max-width: 480px) {
  .cta-channel { padding: 12px; }
  .cta-channel__msg { font-size: 0.9rem; }
  .cta-channel__btn { padding: 8px 12px; font-size: 0.88rem; }
}
@media (prefers-color-scheme: dark) {
  .cta-channel { background: rgba(34, 158, 217, 0.12); border-color: rgba(34, 158, 217, 0.30); }
  .cta-channel--post { background: rgba(46, 160, 67, 0.10); border-color: rgba(46, 160, 67, 0.30); }
}


/* fix mobile touch targets — WCAG 44px minimum */
@media (max-width: 700px) {
  .cta-channel__btn, .cta-channel__link {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
  }
  .cta-channel__msg a {
    min-height: 24px;
    display: inline-block;
    padding: 4px 0;
  }
}
