/* Site additions on top of the recovered Bravada theme CSS.
   Forms (contact, podcast request, testimonial, donation) were previously
   JotForm / GiveWP; they are now native forms posted to the Cloudflare Worker. */

.fai-form { max-width: 720px; margin: 1.5em 0; }
.fai-form fieldset { border: 0; padding: 0; margin: 0; }
.fai-form label { display: block; font-weight: 600; margin: 1em 0 .35em; }
.fai-form label .req { color: #c0392b; }
.fai-form input[type="text"], .fai-form input[type="email"], .fai-form input[type="tel"],
.fai-form input[type="number"], .fai-form select, .fai-form textarea {
  width: 100%; box-sizing: border-box; padding: .7em .9em; border: 1px solid #cfcfcf;
  border-radius: 4px; font: inherit; background: #fff;
}
.fai-form textarea { min-height: 9em; resize: vertical; }
.fai-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fai-form .fai-check { display: flex; gap: .6em; align-items: flex-start; margin-top: 1em; font-weight: 400; }
.fai-form .fai-check input { margin-top: .3em; }
.fai-form .fai-actions { margin-top: 1.5em; }
.fai-form button, .fai-button {
  display: inline-block; background: #69b86b; color: #fff; border: 0; border-radius: 4px;
  padding: .85em 1.8em; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  text-transform: uppercase; letter-spacing: .04em;
}
.fai-form button:hover, .fai-button:hover { background: #55a457; color: #fff; }
.fai-form button[disabled] { opacity: .6; cursor: progress; }
.fai-form .fai-help { color: #666; font-size: .9em; margin: .25em 0 0; }
.fai-notice { border-left: 4px solid #69b86b; background: #f2faf2; padding: 1em 1.2em; margin: 1.5em 0; }
.fai-notice.error { border-color: #c0392b; background: #fdf1f0; }
.fai-notice[hidden] { display: none; }

/* Donation amount picker */
.fai-amounts { display: flex; flex-wrap: wrap; gap: .6em; margin-top: .4em; }
.fai-amounts label { margin: 0; }
.fai-amounts input[type="radio"] { position: absolute; opacity: 0; }
.fai-amounts span { display: inline-block; padding: .6em 1.2em; border: 2px solid #69b86b; border-radius: 4px; color: #2b7a2d; cursor: pointer; font-weight: 700; }
.fai-amounts input:checked + span, .fai-amounts span:hover { background: #69b86b; color: #fff; }
.fai-amounts input:focus-visible + span, .fai-frequency input:focus-visible { outline: 3px solid #1f5f21; outline-offset: 3px; }
.fai-form legend { display: block; font-weight: 600; margin: 1em 0 .35em; padding: 0; }
.fai-form fieldset + fieldset { margin-top: .5em; }
.fai-custom-amount { display: flex; align-items: center; gap: .5em; margin-top: .8em; }
.fai-custom-amount input { max-width: 12em; }
.fai-frequency { display: flex; gap: 1.2em; margin-top: .4em; }
.fai-frequency label { font-weight: 400; margin: 0; display: flex; gap: .4em; align-items: center; }

/* Donate landing card (GiveWP grid replacement uses give.css) */
.give-form-grid-media img { object-fit: cover; }

/* Contact page cards */
.fai-contact-card p { margin: .2em 0; }

/* Video grid on the podcast page */
.wp-block-embed iframe { max-width: 100%; }

/* Mobile menu social icon: the theme's blue is 2:1 on the teal menu background */
#mobile-menu .side-socials .socials a, #mobile-menu .side-socials .socials a::before { color: #fff; }
.fai-notice { scroll-margin-top: 6rem; }

/* Footer */
#footer-links { margin-top: .5em; font-size: .9em; }
#footer-links a { color: inherit; }

/* Placeholder pages (content not recovered from the archive) */
.fai-restoring { border: 1px dashed #bbb; padding: 1.2em 1.4em; background: #fafafa; }

@media (max-width: 640px) {
  .fai-form button, .fai-button { width: 100%; text-align: center; }
}
