/* Native Elementor news widget, retaining the established homepage card layout. */
.wofff-home .wh-news-live{grid-column:1/-1;width:100%}
.wofff-home .wh-news-live .elementor-posts-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.wofff-home .wh-news-live .elementor-post{min-width:0;display:flex;flex-direction:column;gap:0}
.wofff-home .wh-news-live .elementor-post__thumbnail__link{margin-bottom:20px!important;width:100%;background:#f0f0ee}
.wofff-home .wh-news-live .elementor-post__thumbnail{padding-bottom:62.5%!important}
.wofff-home .wh-news-live .elementor-post__thumbnail img{width:100%;height:100%;object-fit:contain!important}
.wofff-home .wh-news-live .elementor-post__text{display:flex;flex-direction:column}
.wofff-home .wh-news-live .elementor-post__meta-data{order:1;font:12px/1.5 Roboto,Arial,sans-serif;color:#595959;text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px}
.wofff-home .wh-news-live .elementor-post__title{order:2;font:500 24px/1.25 Roboto,Arial,sans-serif;margin:0 0 14px;color:#151515}
.wofff-home .wh-news-live .elementor-post__title a{color:inherit;text-decoration:none}
.wofff-home .wh-news-live .elementor-post__title a:hover{text-decoration:underline}
.wofff-home .wh-news-live .elementor-post__read-more{order:3;align-self:flex-start;font:500 15px/1.4 Roboto,Arial,sans-serif;color:#151515;text-decoration:underline;text-underline-offset:5px;display:inline-flex;align-items:center;min-height:44px}
.wofff-pages .wp-programme-ready{padding:0!important;background:transparent;min-height:0;display:block}
.wofff-pages .wp-programme-ready .elementor-widget-shortcode{width:100%;margin-bottom:18px}
.wofff-home .wm-programme-download{font:16px/1.6 Roboto,Arial,sans-serif}
.wofff-home .wp-year .elementor-heading-title a{text-decoration:underline;text-underline-offset:5px}
.wofff-home .elementor-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;align-items:center}
.wofff-home .elementor-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;margin:0!important}
.wofff-home a[aria-current="page"]{font-weight:600;text-decoration:underline;text-underline-offset:5px}
@media(max-width:850px) and (min-width:651px){.wofff-home .wh-news-live .elementor-posts-container{gap:24px}.wofff-home .wh-news-live .elementor-post__title{font-size:21px}}
@media(max-width:650px){.wofff-home .wh-news-live .elementor-posts-container{grid-template-columns:1fr;gap:37px}.wofff-home .wh-news-live .elementor-post__title{font-size:23px}.wofff-home .wh-news-live .elementor-post__thumbnail{padding-bottom:62.5%!important}}

/* Approved News lead image retains the complete 16:10 photograph. */
.wofff-home .ws-news-hero-media{width:100%;align-self:center;min-width:0}
.wofff-home .ws-news-lead-image{width:100%}
.wofff-home .ws-news-lead-image img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Match the 16:10 news artwork and retain complete text instead of zooming it. */
.wofff-pages .wp-posts .elementor-post__thumbnail{padding-bottom:62.5%!important}
.wofff-home :is(.wp-posts,.wh-news-live) .elementor-post__thumbnail img{width:100%!important;height:100%!important;object-fit:contain!important;transform:translate(-50%,-50%)!important}

/* Supplied WOFFF27 homepage artwork: retain the complete 16:10 composition. */
.wofff-home .wh-festival-artwork{width:100%;align-self:center;min-width:0}
.wofff-home .wh-festival-artwork .elementor-widget-image{width:100%}
.wofff-home .wh-festival-artwork img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Supplied cinema-audience photograph, preserving the complete composition. */
.wofff-home .wh-september-photo{width:100%;align-self:center;min-width:0}
.wofff-home .wh-september-photo .elementor-widget-image{width:100%}
.wofff-home .wh-september-photo img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Supplied Moving Pictures photograph, retaining the full 4:3 composition. */
.wofff-home .wh-moving-image{width:100%;align-self:center;min-width:0}
.wofff-home .wh-moving-image .elementor-widget-image{width:100%}
.wofff-home .wh-moving-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}

/* Supplied Virgin Atlantic image, retaining the full 4:3 composition. */
.wofff-home .wh-virgin-image{width:100%;align-self:center;min-width:0}
.wofff-home .wh-virgin-image .elementor-widget-image{width:100%}
.wofff-home .wh-virgin-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}

/* Supplied Virgin Atlantic film stills retain their full 16:10 composition. */
.elementor .wp-film-still{width:100%;min-width:0}
.elementor .wp-film-still .elementor-widget-image{width:100%}
.elementor .wp-film-still img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Show the complete onboard entertainment screen at its original proportions. */
.elementor .wp-onboard-image{width:100%;align-self:center;min-width:0}
.elementor .wp-onboard-image .elementor-widget-image{width:100%}
.elementor .wp-onboard-image img{display:block;width:100%;height:auto;object-fit:contain}

/* Approved Virgin Atlantic lead photograph retains its full 16:10 composition. */
.elementor .wp-virgin-lead{width:100%;align-self:center;min-width:0}
.elementor .wp-virgin-lead .elementor-widget-image{width:100%}
.elementor .wp-virgin-lead img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Festival audience photograph retains its complete 4:3 composition. */
.elementor .wp-festival-audience{width:100%;align-self:center;min-width:0}
.elementor .wp-festival-audience .elementor-widget-image{width:100%}
.elementor .wp-festival-audience img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}

/* WOFFF27 festival lead artwork displays in full, including the submission banner. */
.elementor .wp-festival-lead{width:100%;align-self:center;min-width:0}
.elementor .wp-festival-lead .elementor-widget-image{width:100%}
.elementor .wp-festival-lead img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Recent festival artwork retains full 16:10 proportions without a height cap. */
.elementor .wp-recent-festival-image{width:100%;min-width:0}
.elementor .wp-recent-festival-image .elementor-widget-image{width:100%}
.elementor .wp-recent-festival-image img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}

/* Film credits remain attached to the artwork in native image captions. */
.elementor .wp-recent-festival-image figure{margin:0}
.elementor .wp-recent-festival-image figcaption{margin:10px 0 0;padding:0;text-align:left;font:400 14px/1.5 Roboto,Arial,sans-serif;color:#595959;overflow-wrap:break-word}
@media(min-width:651px){.elementor .wp-recent-festival-image figcaption{min-height:42px}}

/* Annual festival archives: editable content gaps and complete artwork. */
.wofff-annual-archive .wa-missing{width:100%;min-width:0;border:1px dashed #aaa;background:#faf8f2;padding:20px!important;gap:8px!important}
.wofff-annual-archive .wa-missing .elementor-widget-heading .elementor-heading-title{font:500 12px/1.5 Roboto,Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.08em;color:#595959}
.wofff-annual-archive .wa-missing .elementor-widget-text-editor{font-size:16px;line-height:1.6}
.wofff-annual-archive .wa-jump-wrap{padding-bottom:8px!important}
.wofff-annual-archive .wp-links nav{gap:8px 24px}
.wofff-annual-archive .wa-lead-image{width:100%;align-self:center;min-width:0}
.wofff-annual-archive .wa-lead-image .elementor-widget-image{width:100%}
.wofff-annual-archive .wa-lead-image img{width:100%;height:auto;display:block;aspect-ratio:8/5;object-fit:contain}
.wofff-annual-archive .wa-lead-image figure{margin:0}
.wofff-annual-archive .wa-lead-image figcaption{font:400 14px/1.5 Roboto,Arial,sans-serif;color:#595959;text-align:left;margin-top:10px}
.wofff-annual-archive .wp-award em{font-style:italic}
.wofff-annual-archive .wa-year-nav{margin-top:14px}
.wofff-annual-archive .wp-programme-ready{width:100%;min-width:0}
@media(max-width:650px){.wofff-annual-archive .wa-missing{padding:16px!important}.wofff-annual-archive .wp-award em{overflow-wrap:anywhere}}
