/* WMG v4.7 — subject-matched, varied photographic offer cards. */
/* Homepage paths: preserve the category icons and text overlays. */
.wmg-path-grid .wmg-path-card:nth-child(1){background:linear-gradient(165deg,rgba(5,26,45,.65),rgba(3,16,30,.96)),url('wmg-offer-live.jpg') center/cover no-repeat}
.wmg-path-grid .wmg-path-card:nth-child(2){background:linear-gradient(165deg,rgba(5,26,45,.66),rgba(3,16,30,.96)),url('wmg-offer-technology.jpg') center/cover no-repeat}
.wmg-path-grid .wmg-path-card:nth-child(3){background:linear-gradient(165deg,rgba(5,26,45,.66),rgba(3,16,30,.96)),url('wmg-offer-partnership.jpg') center 46%/cover no-repeat}
.division-grid .division-card:nth-child(1){background:linear-gradient(180deg,rgba(2,17,32,.20),rgba(3,17,31,.60) 42%,rgba(2,13,25,.96)),url('wmg-offer-discovery.jpg') center/cover no-repeat}
.division-grid .division-card:nth-child(2){background:linear-gradient(180deg,rgba(2,17,32,.22),rgba(3,17,31,.68) 42%,rgba(2,13,25,.96)),url('wmg-offer-traffic.jpg') center/cover no-repeat}
.division-grid .division-card:nth-child(3){background:linear-gradient(180deg,rgba(2,17,32,.24),rgba(3,17,31,.68) 42%,rgba(2,13,25,.96)),url('wmg-offer-ai.jpg') center/cover no-repeat}

/* Four actual media experiences — no recycled abstract backgrounds. */
.portfolio-grid .portfolio-card:nth-child(1)::before{background:#081a2b url('wmg-offer-discovery.jpg') center/cover no-repeat;filter:none;opacity:1}
.portfolio-grid .portfolio-card:nth-child(2)::before{background:#081a2b url('wmg-offer-radio.jpg') center/cover no-repeat;filter:none;opacity:1}
.portfolio-grid .portfolio-card:nth-child(3)::before{background:#081a2b url('wmg-offer-live.jpg') center/cover no-repeat;filter:none;opacity:1}
.portfolio-grid .portfolio-card:nth-child(4)::before{background:#081a2b url('wmg-offer-stage.jpg') center/cover no-repeat;filter:none;opacity:1}
.platform-detail-media{background-size:cover;background-position:center}
.platform-detail-media.p-discover{background-image:url('wmg-offer-discovery.jpg')}
.platform-detail-media.p-radio{background-image:url('wmg-offer-radio.jpg')}
.platform-detail-media.p-live{background-image:url('wmg-offer-live.jpg')}
.platform-detail-media.p-stage{background-image:url('wmg-offer-stage.jpg')}
.platform-detail-media::before{background:linear-gradient(180deg,transparent 35%,rgba(4,17,31,.78))!important}

/* Six business outcomes: keep icons, replace repeated 0/1/2 stock images. */
.solution-categories>a::before{height:155px;background-position:center;background-size:cover}
.solution-categories>a:nth-child(1)::before{background-image:url('wmg-offer-traffic.jpg')}
.solution-categories>a:nth-child(2)::before{background-image:url('wmg-offer-content.jpg')}
.solution-categories>a:nth-child(3)::before{background-image:url('wmg-offer-prospect.jpg')}
.solution-categories>a:nth-child(4)::before{background-image:url('wmg-offer-webinar.jpg')}
.solution-categories>a:nth-child(5)::before{background-image:url('wmg-offer-conversion.jpg')}
.solution-categories>a:nth-child(6)::before{background-image:url('wmg-offer-ai.jpg')}
.solution-categories .cat-icon{font-size:1.4rem;margin-bottom:8px}
.owned-solutions-grid>a{overflow:hidden}
.owned-solutions-grid>a::before{content:'';display:block;flex:none;height:148px;margin:-31px -31px 20px;background-position:center;background-size:cover;border-radius:12px 12px 0 0}
.owned-solutions-grid>a:nth-child(1)::before{background-image:url('wmg-offer-traffic.jpg')}
.owned-solutions-grid>a:nth-child(2)::before{background-image:url('wmg-offer-advertising.jpg')}
.owned-solutions-grid>a:nth-child(3)::before{background-image:url('wmg-offer-ai.jpg')}
.owned-solutions-grid h3{margin-top:8px}

/* Six homepage digital properties, each with its own visual identity. */
.holding-grid>a{overflow:hidden}
.holding-grid>a::before{content:'';display:block;height:118px;margin:-1px -1px 14px;background-position:center;background-size:cover;border-radius:10px 10px 0 0}
.holding-grid>a:nth-child(1)::before{background-image:url('wmg-offer-conversion.jpg')}
.holding-grid>a:nth-child(2)::before{background-image:url('wmg-offer-traffic.jpg')}
.holding-grid>a:nth-child(3)::before{background-image:url('wmg-offer-advertising.jpg')}
.holding-grid>a:nth-child(4)::before{background-image:url('wmg-offer-ai.jpg')}
.holding-grid>a:nth-child(5)::before{background-image:url('wmg-offer-office.jpg')}
.holding-grid>a:nth-child(6)::before{background-image:url('wmg-offer-technology.jpg')}

/* Partnership categories and routes. */
.partner-card::before{height:160px;background-size:cover;background-position:center}
.partner-grid .partner-card:nth-child(1)::before{background-image:url('wmg-offer-advertising.jpg')}
.partner-grid .partner-card:nth-child(2)::before{background-image:url('wmg-offer-event.jpg')}
.partner-grid .partner-card:nth-child(3)::before{background-image:url('wmg-offer-technology.jpg')}
.partner-grid .partner-card:nth-child(4)::before{background-image:url('wmg-offer-partnership.jpg')}
.partner-route-grid>a{overflow:hidden}
.partner-route-grid>a::before{content:'';display:block;height:142px;margin:-29px -29px 18px;background-size:cover;background-position:center;border-radius:12px 12px 0 0}
.partner-route-grid>a:nth-child(1)::before{background-image:url('wmg-offer-stage.jpg')}
.partner-route-grid>a:nth-child(2)::before{background-image:url('wmg-offer-traffic.jpg')}
.partner-route-grid>a:nth-child(3)::before{background-image:url('wmg-offer-partnership.jpg')}
.partner-route-grid h3{margin-top:12px}

/* Guest participation and the venue opportunity are different experiences. */
.event-grid article:nth-child(1)::before{background-image:url('wmg-offer-event.jpg')}
.event-grid article:nth-child(2)::before{background-image:url('wmg-offer-live.jpg')}
.event-grid article:nth-child(3)::before{background-image:url('wmg-offer-publishing.jpg')}
.event-grid.event-two article:nth-child(1)::before{background-image:url('wmg-offer-partnership.jpg')}
.event-grid.event-two article:nth-child(2)::before{background-image:url('wmg-offer-traffic.jpg')}

/* Legacy standalone offer cards retain their original category icon and CTA. */
.card>.wmg-offer-photo{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center;border-radius:11px;margin:0 0 17px;background:#0b2235}
.card>.wmg-offer-photo + .tag{margin-top:0}
@media(max-width:680px){.solution-categories>a::before,.partner-card::before{height:145px}.owned-solutions-grid>a::before{height:165px}.card>.wmg-offer-photo{aspect-ratio:16/10}}

/* A consistent return path from the specialist tool pages to the corporate hub. */
.wmg-return-link{display:inline-flex;align-items:center;gap:7px;margin:0 0 18px;padding:9px 13px;border:1px solid rgba(224,189,128,.4);border-radius:999px;background:rgba(8,25,43,.66);color:#f1d29b!important;font-size:.78rem;font-weight:800;letter-spacing:.02em;text-decoration:none;transition:background .2s ease}
.wmg-return-link:hover{background:rgba(29,65,91,.85);text-decoration:underline}
.wmg-return-link:focus-visible{outline:3px solid #e8c17d;outline-offset:3px}
