/*
 * TSD 1.0.38: styles for the old builder "card" item (tt-card), which had no CSS before 1.0.38.
 * Seen on the Concealed Carry page mobile "Training Gear" tiles: they rendered as empty white
 * strips with white text. Background photo + colour veil + height come from the builder data.
 */
.tt-card {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	min-height: var(--tt-h, 250px); box-sizing: border-box;
	background-color: #1d1d1d; background-image: var(--tt-bg-img, none);
	background-size: cover; background-position: center; background-repeat: no-repeat;
	color: #fff;
}
.tt-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: var(--tt-bg-col, #1d1d1d); opacity: var(--tt-bg-op, .7);
	transition: opacity .5s ease;
}
.tt-card.tt-scheme-light { color: #1d1d1d; }
.tt-card__front, .tt-card__hover {
	position: relative; width: 100%; padding: 1.25rem; box-sizing: border-box; text-align: center;
	transition: opacity .5s ease;
}
.tt-card__hover {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	opacity: 0; background: rgba(25, 24, 24, .55);
}
.tt-card:has(.tt-card__hover):is(:hover, :focus-within) .tt-card__front { opacity: 0; }
.tt-card:is(:hover, :focus-within) .tt-card__hover { opacity: 1; }
.tt-card .tt-btn--border.tt-btn--basic { color: #fff; border-color: #fff; background: transparent; }
.tt-card .tt-btn--border.tt-btn--basic:is(:hover, :focus-visible) { background: #fff; color: #1d1d1d; }
.tt-card .tt-reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .tt-card::before, .tt-card__front, .tt-card__hover { transition: none; } }
