/**
 * Membership ticket gate / notice styling.
 * Colors fall back to the theme's TEC custom properties (see
 * wp-content/themes/gsod/style.css) so this stays in step with the site's
 * plum/saffron palette without duplicating it.
 */

.gsod-tec-ticket-gate {
	color: var( --tec-color-text-primary, #334155 );
	background: var( --tec-color-background-primary, #faf8f5 );
	border-left: 3px solid var( --tec-color-accent-primary, #781d42 );
	padding: 0.5em 0.85em;
	border-radius: 4px;
	font-weight: normal;
}

.gsod-tec-ticket-gate a {
	color: var( --tec-color-accent-primary, #781d42 );
	text-decoration: underline;
}

.gsod-tec-ticket-gate a:hover {
	color: var( --tec-color-accent-primary-hover, #5a1430 );
}

/**
 * Keeps an audience-gated ticket row looking like a normal, fully-available
 * one -- Event Tickets' own CSS fades any ticket to opacity .5 once its max
 * purchase quantity is 0 ([data-available="false"] in build/css/tickets.css),
 * which would otherwise make a "members only" ticket look broken/disabled
 * to a guest instead of simply gated behind login. The !important matches
 * core's own specificity tie-break, since load order between the two
 * stylesheets isn't guaranteed.
 */
.tribe-tickets__tickets-item[data-gsod-tec-gated="true"] {
	opacity: 1 !important;
}

