@import "https://assets.elements.dev/assets/app/shared/styles/page.1e55b09d07a60454.css";

/*
 * <ContentCta> styles. Unlike the video-end overlay, this block sits on
 * the page background in both themes, so everything here is tokens.
 */

.content-cta {
  margin: 28px 0 0;
}

.content-cta-subscribe {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
}

.content-cta-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.content-cta-row {
  display: flex;
  gap: 8px;
}

.content-cta-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.content-cta-input::placeholder { color: var(--ink-faint); }
.content-cta-input:focus {
  outline: none;
  border-color: var(--accent);
}

.content-cta-go {
  flex-shrink: 0;
  height: 42px;
}

/* Stack at phone width: side by side, the field loses too much of the
   address to read back what was typed. */
@media (max-width: 520px) {
  .content-cta-subscribe { padding: 20px; }
  .content-cta-row { flex-direction: column; }
  .content-cta-go { width: 100%; }
}
