/* pinnaclefundingnetwork.com: video cards and video notes (Website HQ, 2026-11-10).
   Built to the PFN Brand Guide: white canvas, navy as the one accent, Montserrat, base-8 spacing, no gradients.
   The player box keeps 16:9 with padding-top rather than aspect-ratio (aspect-ratio rendered unevenly in some Chrome builds).
   The player frame comes from youtube-nocookie.com, which netlify.toml's Content-Security-Policy frame-src allows (11/10).
   The play button sits at 34% from the top, in the open navy above each thumbnail's headline and left of James. */

/* ---- the card on an article page: a small thumbnail beside its title; it opens to full width when played ---- */
.pfn-video { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: center; margin: 32px 0 40px; padding: 16px; border: 1px solid var(--mid-grey, #E5E5E0); border-radius: var(--radius, 8px); background: var(--white, #FFFFFF); scroll-margin-top: 96px; }
.pfn-video.is-playing { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pfn-video .pfn-video-body { min-width: 0; }
.pfn-video .pfn-video-over { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy, #162265); line-height: 1.4; margin: 0 0 8px; }
.pfn-video .pfn-video-title { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text-primary, #0A0A0A); margin: 0 0 8px; }
.pfn-video .pfn-video-text { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary, #6B6B6B); margin: 0 0 8px; }
.pfn-video .pfn-video-more { font-size: 0.8rem; font-weight: 600; line-height: 1.4; margin: 0; }
.pfn-video .pfn-video-more a { border-bottom: 1px solid var(--mid-grey, #E5E5E0); }
.pfn-video .pfn-video-more a:hover { border-bottom-color: var(--navy, #162265); }

/* ---- the player box, shared by the card and the homepage band ---- */
.pfn-video-media { position: relative; display: block; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; border-radius: 4px; background: var(--navy, #162265); }
.pfn-video-media img, .pfn-video-media iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; display: block; }
.pfn-video-media img { object-fit: cover; transition: transform 400ms ease; }
.pfn-video-play { position: absolute; left: 50%; top: 34%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--white, #FFFFFF); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); transition: transform 200ms ease; }
.pfn-video-play::after { content: ""; position: absolute; left: 19px; top: 15px; width: 0; height: 0; border-left: 14px solid var(--navy, #162265); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
a.pfn-video-media:hover img { transform: scale(1.03); }
a.pfn-video-media:hover .pfn-video-play, a.pfn-video-media:focus-visible .pfn-video-play { transform: scale(1.08); }
a.pfn-video-media:focus-visible { outline: 2px solid var(--navy, #162265); outline-offset: 3px; }

/* ---- the homepage band: text beside a modest player ---- */
.pfn-video-band { scroll-margin-top: 96px; }
.pfn-video-band .pfn-vb-row { display: grid; grid-template-columns: minmax(0, 1fr) 448px; gap: 64px; align-items: center; }
.pfn-video-band .section-desc { margin-bottom: 24px; }
.pfn-video-band .pfn-vb-links { font-size: 0.875rem; font-weight: 600; margin: 0; }
.pfn-video-band .pfn-vb-links a { border-bottom: 1px solid var(--mid-grey, #E5E5E0); }
.pfn-video-band .pfn-vb-links a:hover { border-bottom-color: var(--navy, #162265); }
.pfn-video-band .pfn-vb-sep { color: var(--text-muted, #999999); margin: 0 8px; }
.pfn-video-band .pfn-vb-caption { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-secondary, #6B6B6B); margin: 16px 0 0; }

/* ---- a section that holds only a card (the foreign national page) ---- */
.pfn-video-section { padding: 48px 0 16px; }
.pfn-video-section .pfn-video { margin: 0; }

/* ---- the notes from the video ---- */
.pfn-video-notes { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--mid-grey, #E5E5E0); }
.pfn-video-notes h2 { scroll-margin-top: 96px; }
.pfn-video-notes > h2:first-child { margin-top: 0; }
.pfn-video-notes-section { padding-top: 48px; }
.pfn-video-notes-section .pfn-video-notes { margin-top: 0; padding-top: 0; border-top: 0; }
.pfn-video-notes .pfn-notes-intro { font-size: 0.875rem; color: var(--text-secondary, #6B6B6B); line-height: 1.6; margin-bottom: 8px; }
.pfn-video-notes .pfn-jump { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; color: var(--navy, #162265); border: 1px solid var(--mid-grey, #E5E5E0); border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.pfn-video-notes .pfn-jump:hover { border-color: var(--navy, #162265); }

@media (max-width: 980px) {
  .pfn-video-band .pfn-vb-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pfn-video-band .pfn-vb-media { max-width: 560px; }
}
@media (max-width: 640px) {
  .pfn-video { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px; }
  .pfn-video-section { padding: 32px 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfn-video-media img, .pfn-video-play { transition: none; }
  a.pfn-video-media:hover img { transform: none; }
}
