/* Ad slot (.ads-): a labelled paid creative. Sponsorship surface, never yellow. */
.ads-slot{position:relative;display:block;box-sizing:border-box;max-width:100%;min-width:0;background:var(--spon-bg);border:1px solid var(--spon-rule);border-radius:var(--radius-sm);overflow:hidden}
.ads-slot__label{position:absolute;top:var(--space-2);left:var(--space-2);z-index:1}
.ads-slot__link{display:block;color:inherit;text-decoration:none;max-width:100%}
.ads-slot__link:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.ads-slot__img{display:block;max-width:100%;height:auto}
.ads-slot__html{display:block;max-width:100%;overflow:hidden}
.ads-slot__body{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.ads-slot__who{font-size:var(--fs-xs);font-family:var(--mono);letter-spacing:var(--ls-label);text-transform:uppercase;color:var(--spon-ink)}
.ads-slot__cta{font-size:var(--fs-sm);font-weight:700;color:var(--text)}

/* Band: full-width wrapper for a banner placed between page sections. */
.ads-band{padding-top:var(--space-6);padding-bottom:var(--space-6)}

/* Banner: fills its container at min-height 240, the same outer size as the "Advertise here" block. */
.ads-slot--banner{width:100%;min-height:240px}
.ads-slot--banner .ads-slot__link{display:flex;min-height:240px}
.ads-slot--banner .ads-slot__img,.ads-slot--banner .ads-slot__html{width:100%;min-height:240px;object-fit:cover}

/* Vertical: fixed 300x600, shrinks on narrow screens. */
.ads-slot--vertical{width:300px}
.ads-slot--vertical .ads-slot__img,.ads-slot--vertical .ads-slot__html{width:100%;aspect-ratio:1/2;object-fit:cover}

/* Row variants: promoted event, client row, job card. */
.ads-slot--event .ads-slot__link,.ads-slot--client .ads-slot__link{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--space-3) var(--space-4);padding:var(--space-4);padding-top:var(--space-6)}
.ads-slot--event .ads-slot__img{width:96px;height:96px;object-fit:cover;border-radius:var(--radius-sm)}
.ads-slot--event .ads-slot__link{min-height:92px;box-sizing:border-box}
.ads-slot--client .ads-slot__link{min-height:72px;box-sizing:border-box}
.ads-slot--client .ads-slot__img{width:48px;height:48px;object-fit:contain}
.ads-slot--event .ads-slot__html,.ads-slot--client .ads-slot__html{grid-column:1/-1}
.ads-slot--job{min-height:88px}
.ads-slot--job .ads-slot__link{display:flex;flex-direction:column;gap:var(--space-3);padding-bottom:var(--space-4)}
.ads-slot--job .ads-slot__img,.ads-slot--job .ads-slot__html{width:100%;aspect-ratio:16/9;object-fit:cover}
.ads-slot--job .ads-slot__body{padding:0 var(--space-4)}

/* Tablet and down (board: hm-ad / vb-a at 900): live banner drops the fixed 240 and takes its creative's height. */
@media (max-width:900px){
	.ads-slot--banner,.ads-slot--banner .ads-slot__link,.ads-slot--banner .ads-slot__img,.ads-slot--banner .ads-slot__html{min-height:0}
	.ads-slot--banner .ads-slot__img{height:auto}
	.ads-slot--vertical{width:100%;max-width:300px}
}

@media (max-width:600px){
	.ads-slot--event .ads-slot__img{width:72px;height:72px}
	.ads-slot--client .ads-slot__img{width:40px;height:40px}
}

/* Client row tile (home programme list): creative thumb or "Ad" text in the programme mark. */
.ads-row__tile{--c:var(--spon-ink);overflow:hidden;background:var(--c)}
.ads-row__tile img{width:100%;height:100%;object-fit:contain;background:var(--surface)}

/* Promoted event hero (home Upcoming events, board "Home - web 1440"): dark card above the list. */
.ads-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--space-5);box-sizing:border-box;max-width:100%;margin:0 0 var(--space-4);padding:var(--space-6);background:var(--ink);border-radius:var(--radius-lg);color:var(--cream)}
.ads-hero__tile{display:grid;place-items:center;width:96px;height:96px;border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font-weight:800;font-size:var(--fs-xl)}
.ads-hero__b{min-width:0}
.ads-hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);margin:0 0 var(--space-2);font:var(--fs-label)/1.3 var(--font-mono);letter-spacing:var(--ls-label);text-transform:uppercase;color:var(--cream)}
.ads-hero__pill{padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);background:var(--yellow);font-weight:700;color:var(--ink)}
.ads-hero__t{margin:0;font-size:var(--fs-xl);font-weight:800;line-height:1.15;letter-spacing:-.02em;color:var(--cream);text-wrap:balance;overflow-wrap:anywhere}
.ads-hero__btn{flex:none;max-width:100%;background:var(--green);color:var(--ink)}
.ads-hero:focus-within{outline:2px solid var(--focus);outline-offset:2px}
@media (max-width:768px){
	.ads-hero{grid-template-columns:auto minmax(0,1fr);padding:var(--space-5);gap:var(--space-4)}
	.ads-hero__tile{width:64px;height:64px}
	.ads-hero__btn{grid-column:1/-1;justify-self:start}
}

/* Highlight + tag for sponsored list rows (promoted event row, client slot rows). */
.ads-row--event,.ss-rows>.ads-row.is-client{background:var(--spon-bg)}
.ads-tag{display:inline-block;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);background:var(--spon-rule);font:var(--fs-label)/1 var(--font-mono);letter-spacing:var(--ls-label);text-transform:uppercase;color:var(--spon-ink);vertical-align:middle}
