/*
 * Trade Show Card — the media-featured card surface, reused for one show.
 *
 * Only what no existing rule covers. A scheme class sets the --ftm-scheme-*
 * custom properties and nothing else; each surface paints itself
 * (.page-section in page-section's stylesheet, .tc-media-card in
 * media-featured.css). Per the 2026-07-20 scoped-remap decision the card is
 * painted by scheme roles, never by block colour presets.
 */

.tc-trade-show-card[class*='ftm-scheme-'] {
	padding: var(--wp--preset--spacing--large);
	border-radius: 4px; /* J10, as .tc-media-featured .tc-media-card; no 4px token (radius--sm is 6) */
	background-color: var(--ftm-scheme-bg);
	color: var(--ftm-scheme-text);
}

.tc-trade-show-card[class*='ftm-scheme-'] :where(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
	color: var(--ftm-scheme-heading);
}

/* Show logos vary wildly in aspect; cap the height, keep the ratio, centre it
   (the figure carries `aligncenter`). 4rem = 64px. */
.tc-trade-show-card__logo img {
	width: auto;
	max-height: 4rem;
	object-fit: contain;
}

/* breakpoint/lg — the sibling card's content inset at desktop */
@media (min-width: 64rem) {
	.tc-trade-show-card[class*='ftm-scheme-'] {
		padding: var(--wp--preset--spacing--xxlarge);
	}
}
