/* Funding announcement video page (/services/funding-announcement-video)
   Extends the testimonial-video page components (tv-*, problem layout). */

/* ---------- video frame + captions ---------- */
.fa-frame {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d10;
}
.fa-frame > .rs-embed { width: 100%; }
.fa-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fa-card-top .tv-head { margin-bottom: 0; }
.fa-lede { max-width: 62ch; margin: 0; color: #3c3c44; }
.fa-work-head { display: flex; flex-direction: column; gap: 16px; }
.fa-work-head > h2 { margin: 0; }
#results.results_main { padding-bottom: 96px; }

/* ---------- examples: theater + playlist ---------- */
.fa-theater { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.fa-theater_main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fa-theater_stage { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fa-theater_controls { display: none; }
.fa-theater_pane { display: none; flex-direction: column; gap: 18px; }
.fa-theater_pane.is-active { display: flex; }
.fa-playlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fa-playlist button { appearance: none; width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid rgba(17, 17, 17, .1); background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s ease, background-color .2s ease; }
.fa-playlist button:hover { border-color: rgba(17, 17, 17, .3); }
.fa-playlist button[aria-pressed="true"] { background: #0d0d10; border-color: #0d0d10; color: #fff; }
.fa-playlist img { width: 112px; height: 63px; object-fit: cover; border-radius: 8px; display: block; background: #0d0d10; }
.fa-playlist b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.fa-playlist small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #7b7b86; }
.fa-playlist button[aria-pressed="true"] small { color: rgba(255, 255, 255, .6); }

/* ---------- problem: press release vs announcement video ---------- */
/* sits where the testimonial page's visual does, without its background image */
.problem-dlider-wrap.fa-vs { background-image: none; overflow: visible; }
.fa-vs { display: flex; flex-direction: row; align-items: stretch; gap: 14px; min-width: 0; padding-top: 10px; }
.fa-vs h3 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.fa-vs dl, .fa-vs dd { margin: 0; }
.fa-vs dt { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #7b7b86; }
.fa-vs dd { margin-top: 4px; font-size: 15px; line-height: 1.4; }
.fa-vs_tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.fa-vs1_card { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 26px 24px; border-radius: 18px; }
.fa-vs1_card.is-old { border: 1px dashed rgba(17, 17, 17, .25); color: #7b7b86; }
.fa-vs1_card.is-new { background: #fff; border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 18px 40px rgba(17, 17, 17, .08); color: #111; transform: translateY(-10px); }
.fa-vs1_card.is-old .fa-vs_tag { background: rgba(17, 17, 17, .06); color: #7b7b86; }
.fa-vs1_card.is-new .fa-vs_tag { background: #2A60C4; color: #fff; }
.fa-vs1_card dl { display: flex; flex-direction: column; gap: 18px; }
.fa-vs1_card dl > div { position: relative; padding-left: 28px; }
.fa-vs1_card dl > div::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(17, 17, 17, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' stroke='%237b7b86' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.fa-vs1_card.is-new dl > div::before { background: #2A60C4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.fa-vs1_card.is-old dd { color: #7b7b86; }

/* ---------- FAQ ---------- */
.fa-faq { max-width: 860px; margin: 0 auto; }
.fa-faq_list { margin-top: 32px; border-top: 1px solid rgba(17, 17, 17, .12); }
.fa-faq details { border-bottom: 1px solid rgba(17, 17, 17, .12); }
.fa-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; }
.fa-faq summary::-webkit-details-marker { display: none; }
.fa-faq summary h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.fa-faq summary::after { content: ""; flex: 0 0 14px; width: 14px; height: 14px; background: linear-gradient(#111, #111) center / 14px 1.5px no-repeat, linear-gradient(#111, #111) center / 1.5px 14px no-repeat; transition: transform .25s ease; }
.fa-faq details[open] summary::after { transform: rotate(45deg); }
.fa-faq details > div { padding: 0 0 24px; max-width: 68ch; color: #3c3c44; }
.fa-faq details > div p { margin: 0 0 12px; }
.fa-faq details > div p:last-child { margin-bottom: 0; }
.fa-faq a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Tablet and mobile: the theater becomes a swipeable slideshow, playlist hidden */
@media (max-width: 991px) {
  .fa-theater { grid-template-columns: 1fr; }
  .fa-playlist { display: none; }
  .fa-theater_stage { flex-direction: row; gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .fa-theater_stage { padding-bottom: 6px; }
  .fa-theater_stage::-webkit-scrollbar { display: none; }
  .fa-theater_pane, .fa-theater_pane.is-active { display: flex; flex: 0 0 72%; scroll-snap-align: start; gap: 14px; }
  .fa-theater_controls { display: flex; }
}
@media (max-width: 767px) {
  .fa-theater_pane, .fa-theater_pane.is-active { flex-basis: 88%; }
  .fa-vs { flex-direction: column; }
  .fa-vs1_card.is-new { transform: none; }
  .fa-playlist button { grid-template-columns: 88px minmax(0, 1fr); }
  .fa-playlist img { width: 88px; height: 50px; }
  .fa-faq summary h3 { font-size: 18px; }
}
