/**
 * TechBBQ Ticket Info — Terms & Eligibility (Buy Tickets page).
 *
 * Figma: 6415:34247 (mobile), 6412:34147 (tablet), 5083:39804 (desktop)
 * Breakpoints (mobile-first): mobile (base), tablet 768+, desktop 1024+, wide screen 1440+.
 */

.techbbq-ticket-info {
	--techbbq-ticket-info-layout-gap: 48px;
	--techbbq-ticket-info-content-gap: var(--techbbq-space-2);
	--techbbq-ticket-info-paragraph-gap: 12px;
	--techbbq-ticket-info-toggle-gap: 10px;
	--techbbq-ticket-info-content-padding-right: 0;

	padding-top: var(--techbbq-section-space-small);
	padding-bottom: 72px;
	background-color: var(--techbbq-bg-main);
}

.techbbq-ticket-info__inner {
	display: flex;
	flex-direction: column;
}

.techbbq-ticket-info__layout {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-ticket-info-layout-gap);
	width: 100%;
}

.techbbq-ticket-info__header {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-section-eyebrow-title-gap);
	margin: 0;
}

.techbbq-ticket-info__title {
	margin: 0;
	color: var(--techbbq-content-primary);
	text-align: left;
}

.techbbq-ticket-info__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--techbbq-ticket-info-content-gap);
	min-width: 0;
	padding-right: var(--techbbq-ticket-info-content-padding-right);
}

.techbbq-ticket-info__visible,
.techbbq-ticket-info__expanded {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-ticket-info-paragraph-gap);
}

.techbbq-ticket-info__paragraph {
	margin: 0;
	color: var(--techbbq-content-secondary);
}

.techbbq-ticket-info__paragraph a {
	background-image: var(--techbbq-gradient-accent-1);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-decoration: underline;
	text-decoration-color: var(--techbbq-content-accent-1);
	text-underline-offset: 2px;
}

.techbbq-ticket-info__paragraph a:hover,
.techbbq-ticket-info__paragraph a:focus-visible {
	text-decoration-color: var(--techbbq-content-accent-3);
}

.techbbq-ticket-info__expanded[hidden] {
	display: none;
}

.techbbq-ticket-info__toggle {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	align-self: flex-start;
	gap: var(--techbbq-ticket-info-toggle-gap);
	width: auto;
	max-width: max-content;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-m-size);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: left;
	color: var(--techbbq-btn-secondary-content);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* Beat Hello reset.css button / [type=button] defaults and hover fill. */
button.techbbq-ticket-info__toggle,
[type="button"].techbbq-ticket-info__toggle {
	border: 0;
	background-color: transparent;
}

button.techbbq-ticket-info__toggle:hover,
button.techbbq-ticket-info__toggle:focus,
button.techbbq-ticket-info__toggle:active,
[type="button"].techbbq-ticket-info__toggle:hover,
[type="button"].techbbq-ticket-info__toggle:focus,
[type="button"].techbbq-ticket-info__toggle:active {
	border-color: transparent;
	background-color: transparent;
	color: var(--techbbq-content-primary);
	text-decoration: none;
}

.techbbq-ticket-info__toggle:focus-visible {
	outline: 2px solid var(--techbbq-content-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.techbbq-ticket-info__toggle-text {
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 2px;
	transition: text-decoration-color 0.2s ease;
}

.techbbq-ticket-info__toggle:hover .techbbq-ticket-info__toggle-text,
.techbbq-ticket-info__toggle:focus-visible .techbbq-ticket-info__toggle-text {
	text-decoration-color: var(--techbbq-content-accent-1);
}

.techbbq-ticket-info__toggle-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--techbbq-content-primary);
	transition: transform 0.2s ease;
}

.techbbq-ticket-info__toggle-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.techbbq-ticket-info__icon-fallback {
	font-size: 12px;
	line-height: 1;
}

.techbbq-ticket-info.is-expanded .techbbq-ticket-info__toggle-icon {
	transform: rotate(180deg);
}

/* ── Tablet (768–1023) — Figma 6412:34147 ───────────────────── */
@media (min-width: 768px) {
	.techbbq-ticket-info {
		--techbbq-ticket-info-layout-gap: var(--techbbq-space-7);
		--techbbq-ticket-info-content-gap: var(--techbbq-space-3);

		padding-bottom: var(--techbbq-space-10);
	}
}

@media (min-width: 1024px) {
	.techbbq-ticket-info {
		--techbbq-ticket-info-layout-gap: var(--techbbq-space-10);
		--techbbq-ticket-info-content-padding-right: 60px;

		padding-bottom: 88px;
	}

	.techbbq-ticket-info__layout {
		flex-direction: row;
		align-items: flex-start;
	}

	.techbbq-ticket-info__header,
	.techbbq-ticket-info__content {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* ── Wide screen (1440+) ─────────────────────────────────────── */
@media (min-width: 1440px) {
	.techbbq-ticket-info {
		padding-bottom: var(--techbbq-section-space-large);
	}
}
