/* Content pages — About, Contact, FAQ, Privacy */

.content-site-page main {
  padding-top: 0;
}

.content-page {
  padding: 64px 0;
}

.content-page--alt {
  background: #f8fafc;
}

.content-prose {
  max-width: 820px;
  margin: 0 auto;
}

.content-prose h1,
.content-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #1f2937;
}

.content-lead {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0 0 32px;
}

.content-prose h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: #1f2937;
}

.content-prose h3,
.content-prose h4,
.content-prose h5 {
  margin: 24px 0 12px;
  color: #1f2937;
}

.content-prose p,
.content-prose li {
  line-height: 1.75;
  color: #334155;
  margin: 0 0 16px;
}

.content-prose ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.content-prose a {
  color: #2563eb;
  text-decoration: underline;
}

.content-prose img,
.content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

.content-prose .wp-caption-text {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-top: -8px;
}

/* About hero block from extracted content */
.about-page > div:first-child h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-page .tcb-styled-list,
.about-page ul.tcb-styled-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.about-page .thrv-styled-list-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* FAQ simple */
.faq-simple-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-simple-item {
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.faq-simple-item h2 {
  font-size: 1.125rem;
  margin: 0 0 12px;
  color: #1f2937;
}

.faq-simple-item p {
  margin: 0;
  line-height: 1.7;
  color: #475569;
}

/* Legal */
.legal-prose h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.legal-prose h2:first-of-type {
  border-top: none;
  margin-top: 24px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-photo {
  width: 180px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-privacy {
  font-size: 0.85rem;
  color: #64748b;
  margin: 16px 0 0;
  line-height: 1.5;
}

.contact-blog-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-blog-card {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-blog-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

/* About CTA */
.content-cta {
  padding: 56px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.content-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.content-cta h2 {
  color: #fff;
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.content-cta__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.content-cta__label {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-grid,
  .content-cta__grid,
  .contact-blog-links {
    grid-template-columns: 1fr;
  }
}

/* Imported Thrive / minimal pages */
.content-prose.thrive-import img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-prose.thrive-import .tve_image_caption,
.content-prose.thrive-import .thrv_wrapper {
  margin: 1rem 0;
}

.minimal-page {
  text-align: center;
  padding: 48px 0 64px;
}

.minimal-page h1 {
  margin-bottom: 1rem;
}

.minimal-page p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.footer__form.ck-custom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__form.ck-custom input[type="email"] {
  flex: none;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  box-sizing: border-box;
}

.footer__form.ck-custom .btn {
  width: 100%;
}

.footer__form .ck-msg {
  font-size: 0.875rem;
  margin: 0;
}

.footer__form .ck-msg--success {
  color: var(--color-accent, #f5c842);
}

.footer__form .ck-msg--error {
  color: #f87171;
}
