/* A Book of Colors marketing page */

.cb-page {
  padding-bottom: 80px;
}

.cb-intro {
  display: flex;
  justify-content: center;
  padding: 8px 0 40px;
}

.cb-download {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cb-download:hover {
  opacity: 0.85;
}

.cb-download--soon {
  color: var(--w-muted);
  background: transparent;
  cursor: default;
}

.cb-download--soon:hover {
  border-color: var(--w-border, rgba(240,235,224,0.15));
}

.cb-slideshow {
  margin: 16px auto 24px;
  max-width: 48%;
}

@media (max-width: 640px) {
  .cb-slideshow {
    max-width: none;
  }
  .cb-slideshow .post-slides {
    height: 400px;
  }
  .cb-slideshow .post-slide img {
    height: 400px;
    width: auto;
    max-width: none;
    margin: 0 auto;
  }
}

.cb-slideshow .post-slideshow-prev,
.cb-slideshow .post-slideshow-next {
  border: none;
  color: var(--w-cream);
}

.cb-slideshow .post-slideshow-prev:hover,
.cb-slideshow .post-slideshow-next:hover {
  border-color: transparent;
  color: var(--w-cream);
  opacity: 0.7;
}

.post-slideshow-counter {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--w-muted);
  text-align: center;
  margin: 12px 0 40px;
}

.cb-headline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--w-cream);
  margin: 0;
}

.cb-gesture-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.cb-gesture {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--w-cream);
}

.cb-gesture-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--w-border, rgba(240,235,224,0.15));
  border-radius: 50%;
  font-size: 14px;
  color: var(--w-cream);
}

/* Support form — mirrors the contact form layout in work-section colors */
.cb-page .contact-form .form-label {
  color: var(--w-cream);
}

.cb-page .contact-form .form-input,
.cb-page .contact-form .form-textarea {
  color: var(--w-cream);
  border-bottom-color: rgba(240, 235, 224, 0.4);
}

.cb-page .contact-form .form-input:focus,
.cb-page .contact-form .form-textarea:focus {
  border-bottom-color: var(--w-cream);
}

.cb-page .contact-form .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--w-dim) 50%),
                    linear-gradient(135deg, var(--w-dim) 50%, transparent 50%);
  background-position: right 2px top 18px, right 8px top 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 24px;
}

.cb-page .contact-form .form-select option {
  color: var(--ink);
  background: var(--bg);
}

.cb-page .contact-form .form-submit {
  color: var(--w-cream);
  border-color: var(--w-cream);
}

.cb-page .contact-form .form-submit:hover {
  background: var(--w-cream);
  color: var(--w-bg, #171717);
}

.cb-page .form-success {
  color: var(--w-dim);
}

.cb-page .form-error {
  color: #f28a8a;
}
