/* Gig detail page — match BandApp reference layout. */

/* Hide only the WP page title (“Gig”) inside main content — never site header/footer. */
body.bandapp-is-gig-detail .site-main > .page-header,
body.bandapp-is-gig-detail main > .page-header,
body.bandapp-is-gig-detail .site-main > article > .entry-header,
body.bandapp-is-gig-detail .site-main .entry-title:not(.bandapp-gig-detail__title),
body.bandapp-is-gig-detail .page-content > .post > h2.entry-title,
body.bandapp-is-gig-detail .bandapp-gigs-cal {
	display: none !important;
}

.bandapp-gig-detail,
.bandapp-gig-detail * {
	box-sizing: border-box;
}

.bandapp-gig-detail {
	--bandapp-gig-text: #1c2340;
	--bandapp-gig-muted: #7b849f;
	--bandapp-gig-border: #e6e9f2;
	--bandapp-gig-blue: #2a3283;
	--bandapp-gig-purple: #b5579d;
	--bandapp-gig-nav: #2a3283;
	--bandapp-gig-gradient: linear-gradient(110deg, #2a3283 0%, #b5579d 100%);
	font-family: "Barlow", system-ui, sans-serif;
	color: var(--bandapp-gig-text);
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0.5rem 0 2rem;
}

.bandapp-gig-detail__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem 0.7rem;
	margin: 0 0 1rem;
}

.bandapp-gig-detail__nav-sep {
	color: var(--bandapp-gig-nav);
	opacity: 0.7;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	user-select: none;
}

.bandapp-gig-detail__back {
	display: inline-flex !important;
	align-items: center;
	gap: 0.4rem;
	margin: 0 !important;
	color: var(--bandapp-gig-nav) !important;
	-webkit-text-fill-color: var(--bandapp-gig-nav) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	text-decoration: none !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.bandapp-gig-detail__back:hover {
	text-decoration: underline !important;
}

.bandapp-gig-detail__hero {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background: linear-gradient(120deg, #2a1f5e 0%, #3a2a7a 45%, #5a3a90 100%);
	color: #fff;
	margin-bottom: 1.15rem;
	min-height: 260px;
}

.bandapp-gig-detail__hero--cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--bandapp-gig-cover);
	background-size: cover;
	background-position: center;
	filter: saturate(1.05);
	transform: scale(1.04);
}

.bandapp-gig-detail__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(28, 18, 70, 0.88) 0%, rgba(58, 35, 120, 0.72) 48%, rgba(90, 45, 140, 0.55) 100%);
}

.bandapp-gig-detail__hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	padding: 1.6rem 1.7rem;
}

.bandapp-gig-detail__logo-card {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1;
	max-width: 180px;
	padding: 0.85rem;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.bandapp-gig-detail__logo,
.bandapp-gig-detail__logo--fallback {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: block;
	background: #111827;
}

.bandapp-gig-detail__logo--fallback {
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 800;
	font-size: 1.6rem;
}

.bandapp-gig-detail__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: rgba(140, 90, 220, 0.95);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 0.65rem;
}

.bandapp-gig-detail__title {
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: clamp(1.55rem, 3vw, 2.15rem) !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	border: 0 !important;
	background: none !important;
}

.bandapp-gig-detail__meta {
	list-style: none;
	margin: 0 0 1.1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.bandapp-gig-detail__meta li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.95rem;
	font-weight: 500;
}

.bandapp-gig-detail__meta-icon {
	display: inline-flex;
	margin-top: 0.1rem;
	color: #fff;
	opacity: 0.95;
	flex-shrink: 0;
}

.bandapp-gig-detail__tickets {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.25rem !important;
	border-radius: 999px !important;
	background: var(--bandapp-gig-gradient) !important;
	background-image: var(--bandapp-gig-gradient) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: 0 10px 24px rgba(42, 50, 131, 0.28);
}

.bandapp-gig-detail__tickets:hover,
.bandapp-gig-detail__tickets:focus {
	filter: brightness(1.06);
	color: #fff !important;
	text-decoration: none !important;
}

.bandapp-gig-detail__card--intro {
	margin: 0 0 1rem;
	min-height: 0;
}

.bandapp-gig-detail__card--intro .bandapp-gig-detail__about-text {
	margin: 0;
}

.bandapp-gig-detail__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
	align-items: start;
}

.bandapp-gig-detail__grid--single {
	grid-template-columns: 1fr;
}

.bandapp-gig-detail__card {
	background: #fff;
	border: 1px solid var(--bandapp-gig-border);
	border-radius: 16px;
	padding: 1.25rem 1.3rem 1.35rem;
	box-shadow: 0 8px 22px rgba(28, 35, 64, 0.04);
	min-height: 100%;
}

.bandapp-gig-detail__card--about,
.bandapp-gig-detail__card--practical {
	width: 100%;
}

.bandapp-gig-detail__practical-empty {
	margin: 0;
	color: var(--bandapp-gig-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.bandapp-gig-detail__card--lineup {
	margin-bottom: 1rem;
}

.bandapp-gig-detail__card-title {
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	color: var(--bandapp-gig-text) !important;
	border: 0 !important;
	background: none !important;
}

.bandapp-gig-detail__about-text {
	margin: 0 0 1rem;
	color: var(--bandapp-gig-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.bandapp-gig-detail__about-text p {
	margin: 0 0 0.65rem;
}

.bandapp-gig-detail__about-text p:last-child {
	margin-bottom: 0;
}

.bandapp-gig-detail__facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.bandapp-gig-detail__fact {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.bandapp-gig-detail__fact-icon {
	display: inline-flex;
	color: var(--bandapp-gig-blue);
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.bandapp-gig-detail__fact-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.bandapp-gig-detail__fact-label {
	margin: 0;
	padding: 0;
	font-weight: 800;
	font-size: 0.92rem;
	line-height: 1.3;
	color: var(--bandapp-gig-text);
}

.bandapp-gig-detail__fact-value {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--bandapp-gig-muted);
	font-size: 0.92rem;
	line-height: 1.45;
	white-space: normal;
}

.bandapp-gig-detail__fact-label + .bandapp-gig-detail__fact-value {
	margin-top: 0.12rem;
}

.bandapp-gig-detail__fact-value a {
	color: var(--bandapp-gig-blue) !important;
	-webkit-text-fill-color: var(--bandapp-gig-blue) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.bandapp-gig-detail__fact-value a:hover {
	text-decoration: underline !important;
}

.bandapp-gig-detail__lineup {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.5rem;
}

.bandapp-gig-detail__member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 110px;
}

.bandapp-gig-detail__member-avatar,
.bandapp-gig-detail__member-avatar img,
.bandapp-gig-detail__member-avatar span {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: block;
	background: #1f2937;
}

.bandapp-gig-detail__member-avatar span {
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
}

.bandapp-gig-detail__member-name {
	margin-top: 0.55rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--bandapp-gig-text);
}

.bandapp-gig-detail__member-role {
	margin-top: 0.12rem;
	color: var(--bandapp-gig-muted);
	font-size: 0.82rem;
}

.bandapp-gig-detail__follow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem 2.25rem;
	margin: 1.25rem 0 0;
	padding: 2.5rem 2.75rem;
	border-radius: 16px;
	background: linear-gradient(90deg, #2a3283 0%, #6a449c 48%, #c24aa0 100%);
	color: #fff;
	box-shadow: 0 16px 40px rgba(42, 50, 131, 0.28);
	min-height: 148px;
}

.bandapp-gig-detail__follow-copy {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	min-width: 0;
	flex: 1 1 auto;
}

.bandapp-gig-detail__follow-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #fff;
	line-height: 0;
}

.bandapp-gig-detail__follow-icon svg {
	width: 28px;
	height: 28px;
}

.bandapp-gig-detail__follow-copy strong {
	display: block;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 0.4rem;
	text-transform: none;
	letter-spacing: 0;
}

.bandapp-gig-detail__follow-copy p {
	margin: 0;
	opacity: 0.95;
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	line-height: 1.5;
	max-width: 40rem;
	font-weight: 400;
}

.bandapp-gig-detail__follow-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0.85rem 1.6rem !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #2a3283 !important;
	-webkit-text-fill-color: #2a3283 !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	white-space: nowrap;
}

.bandapp-gig-detail__follow-btn:hover,
.bandapp-gig-detail__follow-btn:focus {
	filter: brightness(0.97);
	text-decoration: none !important;
	color: #2a3283 !important;
	-webkit-text-fill-color: #2a3283 !important;
}

@media (max-width: 860px) {
	.bandapp-gig-detail__hero-inner {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.bandapp-gig-detail__logo-card {
		max-width: 140px;
	}

	.bandapp-gig-detail__grid {
		grid-template-columns: 1fr;
	}

	.bandapp-gig-detail__follow {
		flex-direction: column;
		align-items: stretch;
		padding: 2rem 1.5rem;
		gap: 1.35rem;
		min-height: 0;
	}

	.bandapp-gig-detail__follow-copy {
		align-items: flex-start;
	}

	.bandapp-gig-detail__follow-btn {
		width: 100%;
	}
}

@media (max-width: 560px) {
	.bandapp-gig-detail__lineup {
		justify-content: space-between;
	}

	.bandapp-gig-detail__member {
		width: calc(50% - 0.75rem);
	}
}

/* Register promo strip on gig detail — match homepage Elementor CTA. */
.bandapp-gig-detail .bandapp-promo-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	margin: 1.75rem 0 0;
	padding: 20px 40px;
	border-radius: 12px;
	background: linear-gradient(170deg, #2a3283 0%, #b5579d 100%);
	background-image: linear-gradient(170deg, #2a3283 0%, #b5579d 100%);
	color: #fff;
	box-shadow: none;
	min-height: 0;
	box-sizing: border-box;
}

.bandapp-gig-detail .bandapp-promo-cta__copy {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	min-width: 0;
	flex: 1 1 auto;
}

.bandapp-gig-detail .bandapp-promo-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
	line-height: 0;
	width: 144px;
	height: 144px;
}

.bandapp-gig-detail .bandapp-promo-cta__icon img {
	width: 144px;
	height: 144px;
	display: block;
	object-fit: contain;
}

.bandapp-gig-detail .bandapp-promo-cta__title {
	display: block;
	font-family: Barlow, sans-serif;
	font-size: 27px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 0.45rem;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.bandapp-gig-detail .bandapp-promo-cta__title em,
.bandapp-gig-detail .bandapp-promo-cta__band {
	font-style: italic;
	font-weight: inherit;
}

.bandapp-gig-detail .bandapp-promo-cta__body {
	margin: 0;
	opacity: 1;
	font-family: Barlow, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	max-width: 44rem;
	font-weight: 400;
	color: #e2e2e2 !important;
	-webkit-text-fill-color: #e2e2e2;
}

.bandapp-gig-detail .bandapp-promo-cta__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 12px 24px !important;
	border-radius: 7px !important;
	background: #fff !important;
	color: #2a3283 !important;
	-webkit-text-fill-color: #2a3283 !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	white-space: nowrap;
	text-align: center;
	transition: all .3s !important;
	transform: none;
}

.bandapp-gig-detail .bandapp-promo-cta__btn:hover,
.bandapp-gig-detail .bandapp-promo-cta__btn:focus {
	background: #F7B397 !important;
	filter: none;
	text-decoration: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	transform: none;
}

@media (max-width: 860px) {
	.bandapp-gig-detail .bandapp-promo-cta {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 20px;
		gap: 1.1rem;
		min-height: 0;
	}

	.bandapp-gig-detail .bandapp-promo-cta__title {
		font-size: 22px;
	}

	.bandapp-gig-detail .bandapp-promo-cta__copy {
		align-items: flex-start;
	}

	.bandapp-gig-detail .bandapp-promo-cta__icon,
	.bandapp-gig-detail .bandapp-promo-cta__icon img {
		width: 96px;
		height: 96px;
	}

	.bandapp-gig-detail .bandapp-promo-cta__btn {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}
