/* AVA Core: sitewide UI layer (QA round 6 Oct 2026, P0 only: AVA-007 image slots). One commented block per AVA issue. */
/* AVA-007 (P0, image slots; rule "no image, no container, or a branded fallback"). No photography is placed yet, so:
   (1) slots inside cards and grids with no real image show the branded fallback (img/ava-slot-fallback.svg: brand cream
       #EDEBE1, contour rings, AVA mark; the file has no natural size, so every slot keeps its own box) instead of a flat
       black / red / tan / navy block. Placeholder uploads (Tile-Image.png, Hero-Visual.png, ig*.png, img*.png, Image.png,
       img16x9.png, Portrait-consent.png) are swapped for the same file in includes/ui-fixes.php (img.ava-slot-fb, alt="").
   (2) standalone panels with no real image are removed: hero media (deals hub 1575, 420 / 710, delivery hub 2010 and the
       area pages, local pages, brand pages, events hub, event pages), the brand story panel, the About story panel and
       the About photo row, event photo galleries and photo strips. The text column keeps its own width.
   A slot that holds a real image (an img without .ava-slot-fb) is never touched, so photos show as soon as they are added. */
html body .ava-cat__img:not(:has(img:not(.ava-slot-fb))),
html body .avc-tile__media:not(:has(img:not(.ava-slot-fb))),
html body .avds-offer__media:not(:has(img:not(.ava-slot-fb))),
html body .avc-card__media:not(:has(img:not(.ava-slot-fb))),
html body .avlp-cat__tile:not(:has(img:not(.ava-slot-fb))),
html body .avr-exp__img:not(:has(img:not(.ava-slot-fb))),
html body .avl-card__img:not(:has(img:not(.ava-slot-fb))),
html body .ave .ave-ph {
	background-color: #EDEBE1 !important;
	background-image: url(img/ava-slot-fallback.svg) !important;
	background-position: center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
html body .ave .ave-ph ~ .ave-date { background: #fff; box-shadow: 0 0 0 1px rgba(21, 21, 21, .08); }
html body .avds-hero__media:not(:has(img:not(.ava-slot-fb))),
html body .avlp-hero__visual:not(:has(img:not(.ava-slot-fb))),
html body .avb-hero__media:not(:has(img:not(.ava-slot-fb))),
html body .avb-story__media:not(:has(img:not(.ava-slot-fb))),
html body .ave .ave-hero__media:not(:has(img:not(.ava-slot-fb))):not(:has(.ave-play)),
html body .ave .ave-spotlight__media:not(:has(img:not(.ava-slot-fb))),
html body .ave .ave-photo-strip:not(:has(img:not(.ava-slot-fb))),
html body .ave .ave-gallery:not(:has(img:not(.ava-slot-fb))),
html body .avc-gallery:not(:has(img:not(.ava-slot-fb))),
html body .elementor-widget-shortcode:has(> .elementor-shortcode > .avc-gallery):not(:has(img:not(.ava-slot-fb))),
html body .elementor-1125 .elementor-element-936bef9:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-3abf517:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-081f3b6:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-2b5aae2:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-1d11e53:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-422e07c:not(:has(img:not(.ava-slot-fb))),
html body .elementor-element-67fbeaa:not(:has(img:not(.ava-slot-fb))) {
	display: none !important;
}
/* events hub: with the hero / spotlight media removed, the copy keeps a readable measure instead of running 1,240 px wide */
@media (min-width: 901px) {
	html body .ave .ave-hero:has(> .ave-hero__media):not(:has(> .ave-hero__media img:not(.ava-slot-fb))):not(:has(> .ave-hero__media .ave-play)) > .ave-hero__col,
	html body .ave .ave-spotlight:has(> .ave-spotlight__media):not(:has(> .ave-spotlight__media img:not(.ava-slot-fb))) > .ave-spotlight__col { max-width: 720px; }
}
@media (max-width: 900px) {
	/* the recap hero's "Recap" chip lives inside the media on phones; with the media removed, the copy's chip shows instead */
	html body .ave-recap:has(.ave-hero__media--recap):not(:has(.ave-hero__media--recap img:not(.ava-slot-fb))):not(:has(.ave-hero__media--recap .ave-play)) .ave-rchip.ave-d-only { display: inline-flex !important; }
}
/* FINAL-E (AVA-007 leftover): the 420 / 710 LOVE CLUB band drew its 361 x 222 px slot as a pseudo-element
   (.avds-page .avds-member::after, ava-dealsub.css) filled with flat brand red at 768 px and up. There is no image behind it,
   so it is removed like the other standalone panels; the copy keeps its own column. */
html body .avds-page .avds-member::after { display: none !important; }
/* /AVA-007 */
