/* Approved image frames, v4.4.2. Ratios describe the image, not its caption. */
#pryd-stitch-page .pryd-hero { height: auto; min-height: 0; }
#pryd-stitch-page .pryd-hero-track { height: auto; align-items: flex-start; }
#pryd-stitch-page .pryd-hero-slide { height: auto; min-width: 0; }
#pryd-stitch-page .pryd-hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
#pryd-stitch-page .pryd-hero-media .pryd-hero-image { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0; }
#pryd-stitch-page .pryd-hero .pryd-slider-dots { position: relative; inset: auto; transform: none; padding: 16px; }
#pryd-stitch-page .pryd-hero-copy { max-height: 90%; overflow-y: auto; }

#pryd-stitch-page .pryd-pilot-hero.has-background-image { padding: 0; background-color: var(--pryd-navy); background-image: none !important; }
#pryd-stitch-page .pryd-pilot-hero.has-background-image::after { display: none; }
#pryd-stitch-page .pryd-page-banner { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
#pryd-stitch-page .pryd-page-banner img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: var(--pryd-hero-position, center); }
#pryd-stitch-page .pryd-page-banner::after { content: ''; position: absolute; inset: 0; background: var(--pryd-hero-overlay, rgba(7,20,38,.18)); pointer-events: none; }
#pryd-stitch-page .pryd-pilot-hero.has-background-image > .pryd-container { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: 960px; padding: 40px; overflow-y: auto; }
#pryd-stitch-page .pryd-pilot-hero.has-background-image > .pryd-container p { margin: 0 auto; }

#pryd-stitch-page .pryd-founder-card,
#pryd-stitch-page .pryd-founder-page-grid { align-items: center; }
#pryd-stitch-page .pryd-founder-media,
#pryd-stitch-page .pryd-founder-page-media { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 4; align-self: center; }
#pryd-stitch-page .pryd-founder-media img,
#pryd-stitch-page .pryd-founder-page-photo { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; object-fit: cover; }
#pryd-stitch-page .pryd-founder-copy blockquote,
#pryd-stitch-page .pryd-founder-page-quote blockquote { white-space: pre-line; }
#pryd-stitch-page .pryd-product-story-grid > div > p { white-space: pre-line; }

#pryd-stitch-page .pryd-about-grains img,
#pryd-stitch-page .pryd-science-image img,
#pryd-stitch-page .pryd-article-section-media img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; }
#pryd-stitch-page .pryd-science-classification-media { position: relative; aspect-ratio: 4 / 3; min-height: 0; }
#pryd-stitch-page .pryd-science-classification-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0; object-fit: contain; }
#pryd-stitch-page .pryd-chart-image { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: contain; }
#pryd-stitch-page .pryd-article-image img,
#pryd-stitch-page .pryd-article-featured img { width: 100%; height: auto !important; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }
#pryd-stitch-page .pryd-product-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#pryd-stitch-page .pryd-account-product-list img { width: 86px; height: auto !important; aspect-ratio: 3 / 2; object-fit: contain; }

/* Keep mobile text readable without changing the image's approved ratio. */
@media (max-width: 719px) {
	#pryd-stitch-page .pryd-hero-copy { position: relative; inset: auto !important; transform: none; width: 100%; max-width: none; max-height: none; border-radius: 0; border: 0; margin: 0; padding: 24px; }
	#pryd-stitch-page .pryd-pilot-hero.has-background-image > .pryd-container { position: relative; inset: auto; padding: 32px 26px; }
	#pryd-stitch-page .pryd-pilot-hero.has-background-image::before { display: none; }
}
