/* Standard content frames: photos and missing-image artwork share one box.
   Card widths follow the layout; heights stay fixed at each screen size. */
:root{--pama-image-background:#062f21;--pama-card-image-height:240px;--pama-feature-image-height:360px;--pama-article-image-height:440px}
.featureNewsCover,.featureNewsCard:only-child .featureNewsCover,
.newsEventCardImage{box-sizing:border-box!important;display:block!important;width:100%!important;height:var(--pama-card-image-height)!important;min-height:var(--pama-card-image-height)!important;max-height:var(--pama-card-image-height)!important;aspect-ratio:auto!important;overflow:hidden!important;background:var(--pama-image-background)!important;flex:none!important}
.newsEventsFeaturedImage,.articleImageFrame{box-sizing:border-box!important;width:100%!important;height:var(--pama-feature-image-height)!important;min-height:0!important;max-height:var(--pama-feature-image-height)!important;overflow:hidden!important;background:var(--pama-image-background)!important}
.featureNewsCover img,.newsEventCardImage img,.newsEventsFeaturedImage img,.articleImageFrame img,
.storyPhoto img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;background:var(--pama-image-background)!important;box-sizing:border-box!important}
.miniStory>img{display:block!important;width:100%!important;height:var(--pama-card-image-height)!important;object-fit:contain!important;object-position:center!important;background:var(--pama-image-background)!important}
.newsArticleFull .newsArticleCover,.newsArticleCover,
.newsArticleGallery img,.newsArticleGallery figure.wide img{display:block!important;width:100%!important;height:var(--pama-article-image-height)!important;max-height:var(--pama-article-image-height)!important;object-fit:contain!important;object-position:center!important;background:var(--pama-image-background)!important}
.storyPhoto:hover img{transform:none!important}
@media(max-width:760px){:root{--pama-card-image-height:200px;--pama-feature-image-height:240px;--pama-article-image-height:280px}}


/* Consistent backing for content frames, including article styles loaded dynamically. */
html body .storyPhoto,html body .storyPhoto img,
html body .newsArticleFull .newsArticleCover,html body .newsArticleFull .newsArticleCover img,
html body .newsArticleGallery img,html body .newsArticleGallery figure.wide img,
html body .articleImageFrame,html body .articleImageFrame img,
html body img[data-pama-fallback="true"],html body img[src*="pama-nextgen-placeholder"]{background:var(--pama-image-background)!important}
