/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ---- Header refinements ---- */

/* Sticky header must match static header exactly: lock nav letter-spacing,
   no transition wobble at the stick point. */
.fusion-header-wrapper.fusion-is-sticky .fusion-main-menu > ul > li > a {
	letter-spacing: 1.5px !important;
}
.fusion-header-wrapper.fusion-is-sticky .fusion-header {
	transition: none !important;
}

/* Menu links highlight amber on hover (static and sticky). */
.fusion-main-menu > ul > li > a:hover,
.fusion-header-wrapper.fusion-is-sticky .fusion-main-menu > ul > li > a:hover {
	color: #e8a33d !important;
}

/* SVG logo: explicit render size (WP stores no dims for SVG attachments). */
.fusion-logo img {
	height: 60px;
	width: auto;
}

/* Logo: crossfade to amber variant on hover. */
.fusion-logo .fusion-logo-link {
	position: relative;
	display: inline-block;
}
.fusion-logo .fusion-logo-link img {
	transition: opacity 0.15s ease;
}
.fusion-logo .fusion-logo-link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("/wp-content/uploads/2026/07/joel-lindley-comedy-logo-amber.svg") no-repeat left center / contain;
	opacity: 0;
	transition: opacity 0.15s ease;
	pointer-events: none;
}
.fusion-logo .fusion-logo-link:hover img {
	opacity: 0;
}
.fusion-logo .fusion-logo-link:hover::after {
	opacity: 1;
}

/* Nav links: exact same off-white as the logo. */
.fusion-main-menu > ul > li > a,
.fusion-header-wrapper.fusion-is-sticky .fusion-main-menu > ul > li > a {
	color: #f5f2ec;
}

/* No default page padding — sections own their spacing. */
#main {
	padding-top: 0;
	padding-bottom: 0;
}

/* Prometheus Shorts: brand accent. */
.pshorts-grid,
.pshorts-overlay {
	--pshorts-accent: #e8a33d;
	--pshorts-radius: 6px;
}

/* Social icon rows: rest off-white, hover amber (matches nav + logo). */
.fusion-social-networks a:hover {
	color: #e8a33d !important;
}

/* ---- Forms: brand theme (Fluent Forms + The Newsletter plugin) ---- */
.fluentform .ff-el-form-control,
.tnp-form input[type="text"],
.tnp-form input[type="email"],
.tnp-form select {
	background: #121212;
	border: 1px solid #2a2a2e;
	color: #f5f2ec;
	border-radius: 4px;
}
.fluentform .ff-el-form-control::placeholder,
.tnp-form input::placeholder {
	color: #a8a396;
}
.fluentform .ff-el-form-control:focus,
.tnp-form input:focus {
	border-color: #e8a33d;
	outline: none;
	box-shadow: none;
}
.fluentform .ff-el-input--label label {
	color: #f5f2ec;
}
.fluentform .ff-btn-submit,
.tnp-form .tnp-submit,
.tnp-form input[type="submit"] {
	background: #e8a33d !important;
	border: 0 !important;
	color: #121212 !important;
	font-weight: 600;
	border-radius: 4px;
	transition: background 0.15s ease, color 0.15s ease;
}
.fluentform .ff-btn-submit:hover,
.tnp-form .tnp-submit:hover,
.tnp-form input[type="submit"]:hover {
	background: #b8433a !important;
	color: #f5f2ec !important;
}

/* Newsletter band: centered, constrained form */
#newsletter .tnp-form {
	max-width: 560px;
	margin: 0 auto;
	text-align: left;
}
#newsletter .tnp-field {
	margin-bottom: 12px;
}

/* Stage-shot banner */
.jl-banner {
	background-size: cover !important;
}

/* Banner: dark scrim for text legibility over the stage shot */
.jl-banner {
	position: relative;
}
.jl-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	/* Radial scrim: image clear at its center, fading to black at the
	   edges — blends the photo into the pure-black side bars and gives the
	   lower text a dark bed. */
	background: radial-gradient(ellipse 62% 55% at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.92) 100%);
}
.jl-banner > * {
	position: relative;
	z-index: 1;
}

/* Form focus + dropdown states: no white flash, no blue highlight */
.fluentform .ff-el-form-control:focus,
.fluentform select.ff-el-form-control:focus,
.tnp-form input:focus,
.tnp-form select:focus {
	background: #121212 !important;
	color: #f5f2ec !important;
	border-color: #e8a33d !important;
}
.fluentform select.ff-el-form-control,
.fluentform select.ff-el-form-control option,
.tnp-form select option {
	background-color: #1c1c1e;
	color: #f5f2ec;
}
.fluentform,
.tnp-form {
	accent-color: #e8a33d;
}

/* Dropdown option highlight: amber instead of browser blue.
   (box-shadow inset is the Chrome/Firefox trick — native popups on
   macOS/iOS ignore option styling entirely.) */
.fluentform select.ff-el-form-control option:hover,
.fluentform select.ff-el-form-control option:focus,
.fluentform select.ff-el-form-control option:active,
.tnp-form select option:hover {
	background: #e8a33d !important;
	color: #121212 !important;
	box-shadow: 0 0 10px 100px #e8a33d inset !important;
}
.fluentform select.ff-el-form-control option:checked,
.tnp-form select option:checked {
	background: #2a2a2e !important;
	color: #f5f2ec !important;
	box-shadow: 0 0 10px 100px #2a2a2e inset !important;
}

/* Customizable <select> (Chromium base-select mode): makes the actual
   dropdown popup styleable — dark panel, amber hover, no browser blue.
   Browsers without support fall back to the native popup. */
.fluentform select.ff-el-form-control,
.tnp-form select {
	appearance: base-select;
}
.fluentform select.ff-el-form-control::picker(select),
.tnp-form select::picker(select) {
	appearance: base-select;
	background: #1c1c1e;
	border: 1px solid #2a2a2e;
	border-radius: 4px;
	padding: 4px 0;
}
.fluentform select.ff-el-form-control option,
.tnp-form select option {
	padding: 9px 14px;
	background: #1c1c1e;
	color: #f5f2ec;
}
.fluentform select.ff-el-form-control option:hover,
.fluentform select.ff-el-form-control option:focus,
.tnp-form select option:hover,
.tnp-form select option:focus {
	background: #e8a33d;
	color: #121212;
}
.fluentform select.ff-el-form-control option:checked,
.tnp-form select option:checked {
	background: #2a2a2e;
	color: #f5f2ec;
}

/* base-select closed-button layout: selected text left, chevron right,
   single row (stops the picker icon wrapping underneath). */
.fluentform select.ff-el-form-control,
.tnp-form select {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.fluentform select.ff-el-form-control selectedcontent,
.tnp-form select selectedcontent {
	flex: 1;
	min-width: 0;
}
.fluentform select.ff-el-form-control::picker-icon,
.tnp-form select::picker-icon {
	color: #a8a396;
	flex: none;
}

/* More breathing room between section headings and their content. */
.fusion-title.fusion-title-size-two {
	margin-bottom: 36px !important;
}

/* Tour widget on the one-pager: no footer / View All link (all dates shown). */
.pte-static-footer {
	display: none;
}

/* ---- Mobile header (<=800px, the header break point) ----
   Header carries no vertical padding; the row does. Hamburger absolutely
   centered against the row. Specificity + !important needed: Avada base
   CSS sets position:relative on the icons at equal specificity and loads
   after this stylesheet. */
@media (max-width: 800px) {
	.fusion-header {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.fusion-header .fusion-row {
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.fusion-header .fusion-logo {
		margin: 0 !important;
	}
	/* Anchor to the header BAR (10px padding + 60px logo = 80px tall,
	   center at 40px), not 50% of the row — the expanded dropdown lives
	   inside the row, so a percentage would drag the icon down when open. */
	.fusion-header .fusion-mobile-menu-icons {
		position: absolute !important;
		top: 40px !important;
		right: 0 !important;
		transform: translateY(-50%) !important;
		margin-top: 0 !important;
		z-index: 2;
	}
	.fusion-header .fusion-mobile-menu-icons a {
		display: inline-flex;
		align-items: center;
		float: none;
	}
}

/* No element drags (logo/poster ghost-drags feed the same stuck-drag quirk). */
img, svg {
	-webkit-user-drag: none;
	user-drag: none;
}

/* ---- Buttons: one style everywhere, matched to the contact form submit
   (amber fill, dark text, 600 weight, 4px radius; red + off-white hover). */
.fusion-button,
.fusion-button.button-default,
.pte-tickets-button,
.pte-rsvp-button,
.pte-event-list a.pte-tickets-button {
	background: #e8a33d !important;
	border: 0 !important;
	color: #121212 !important;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-weight: 600;
	border-radius: 4px !important;
	text-transform: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.fusion-button:hover,
.pte-tickets-button:hover,
.pte-rsvp-button:hover {
	background: #b8433a !important;
	color: #f5f2ec !important;
}

/* Videos-section social icons: amber at rest, red on hover
   (overrides the global off-white-to-amber hover for this instance). */
#videos .fusion-social-networks a {
	color: #e8a33d !important;
}
#videos .fusion-social-networks a:hover {
	color: #b8433a !important;
}

/* Contact-section social icons: amber at rest, red on hover (match videos). */
#contact .fusion-social-networks a {
	color: #e8a33d !important;
}
#contact .fusion-social-networks a:hover {
	color: #b8433a !important;
}

/* Newsletter form: match the contact form field style exactly. */
.tnp-form input[type="text"],
.tnp-form input[type="email"] {
	width: 100%;
	padding: 11px 14px;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4;
}
.tnp-form label {
	color: #f5f2ec;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 5px;
	display: block;
}
.tnp-form .tnp-submit,
.tnp-form input[type="submit"] {
	padding: 12px 32px;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 16px;
}

/* Hamburger: amber while the mobile menu is open (and on tap feedback). */
.fusion-mobile-menu-icons a:hover,
.fusion-mobile-menu-icons a:active,
.fusion-mobile-menu-icons a.fusion-icon-active,
.fusion-mobile-menu-icons a[aria-expanded="true"] {
	color: #e8a33d !important;
}
.fusion-mobile-menu-icons a:hover:before,
.fusion-mobile-menu-icons a:active:before,
.fusion-mobile-menu-icons a.fusion-icon-active:before,
.fusion-mobile-menu-icons a[aria-expanded="true"]:before {
	color: #e8a33d !important;
}

/* Hamburger open state: Avada toggles .expanded on the anchor. */
.fusion-mobile-menu-icons a.expanded,
.fusion-mobile-menu-icons a.expanded:before {
	color: #e8a33d !important;
}

/* Newsletter form — real selectors (.tnp-subscription; .tnp-form was wrong). */
.tnp-subscription input[type="text"],
.tnp-subscription input[type="email"] {
	width: 100%;
	background: #121212;
	border: 1px solid #2a2a2e;
	color: #f5f2ec;
	border-radius: 4px;
	padding: 11px 14px;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4;
}
.tnp-subscription input::placeholder {
	color: #a8a396;
}
.tnp-subscription input[type="text"]:focus,
.tnp-subscription input[type="email"]:focus {
	background: #121212;
	border-color: #e8a33d;
	outline: none;
}
.tnp-subscription label {
	color: #f5f2ec;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 5px;
	display: block;
}
.tnp-subscription .tnp-field {
	margin-bottom: 12px;
}
.tnp-subscription .tnp-submit {
	background: #e8a33d !important;
	border: 0 !important;
	color: #121212 !important;
	font-family: "Inter", Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	padding: 12px 32px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.tnp-subscription .tnp-submit:hover {
	background: #b8433a !important;
	color: #f5f2ec !important;
}
#newsletter .tnp-subscription {
	max-width: 560px;
	margin: 0 auto;
	text-align: left;
}

/* One button font everywhere (plugin stylesheets load after this one). */
.fusion-button,
.pte-tickets-button,
.pte-rsvp-button,
.fluentform .ff-btn-submit,
.tnp-subscription .tnp-submit {
	font-family: "Inter", Arial, Helvetica, sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Mobile dropdown menu items: match the contact form dropdown —
   off-white on gray, black on amber when highlighted. */
.fusion-mobile-nav-holder .fusion-mobile-nav-item a {
	color: #f5f2ec !important;
	background: #1c1c1e !important;
}
.fusion-mobile-nav-holder .fusion-mobile-nav-item a:hover,
.fusion-mobile-nav-holder .fusion-mobile-nav-item a:active,
.fusion-mobile-nav-holder .fusion-mobile-nav-item a:focus,
.fusion-mobile-nav-holder .fusion-mobile-nav-item.current-menu-item > a {
	color: #121212 !important;
	background: #e8a33d !important;
}

/* Form submit buttons: right-aligned. */
.fluentform .ff-el-group.ff_submit_btn_wrapper,
.fluentform .ff_submit_btn_wrapper {
	text-align: right;
}
.tnp-subscription .tnp-field-button {
	text-align: right !important;
}

/* Text links: amber at rest, red on hover (match button/icon behavior). */
#main .fusion-text a:not(.fusion-button):not(.pte-tickets-button),
#main p a:not(.fusion-button) {
	color: #e8a33d;
}
#main .fusion-text a:not(.fusion-button):not(.pte-tickets-button):hover,
#main p a:not(.fusion-button):hover {
	color: #b8433a !important;
}

/* Footer social icons: amber at rest, red on hover (match the rest). */
.fusion-footer .fusion-social-networks a,
.fusion-footer-widget-area .fusion-social-networks a {
	color: #e8a33d !important;
}
.fusion-footer .fusion-social-networks a:hover,
.fusion-footer-widget-area .fusion-social-networks a:hover {
	color: #b8433a !important;
}

/* Footer text links: amber at rest, red on hover (same rule as content). */
.fusion-footer a:not(.fusion-button),
.fusion-footer-copyright-area a {
	color: #e8a33d;
}
.fusion-footer a:not(.fusion-button):hover,
.fusion-footer-copyright-area a:hover {
	color: #b8433a !important;
}

/* Tour widget: brand surfaces instead of pure black/white, softer border. */
.pte-static-widget,
.pte-scrolling-widget,
.pte-compact-widget,
.pte-event-list {
	--pte-bg-primary: #1c1c1e;
	--pte-bg-alt: #232326;
	--pte-bg-heading: #121212;
	--pte-border: transparent;
	--pte-text: #f5f2ec;
	--pte-text-muted: #a8a396;
	--pte-link-color: #e8a33d;
	--pte-btn-bg: #e8a33d;
	--pte-btn-bg-hover: #b8433a;
	--pte-btn-text: #121212;
	--pte-ticket-radius: 4px;
	border: none !important;
	border-radius: 6px;
}

/* One field spec for BOTH forms (!important: Fluent Forms CSS loads after
   this sheet and was winning the cascade on borders). */
.fluentform .ff-el-form-control,
.tnp-subscription input[type="text"],
.tnp-subscription input[type="email"] {
	background: #121212 !important;
	border: 1px solid #2a2a2e !important;
	border-radius: 4px !important;
	color: #f5f2ec !important;
	padding: 11px 14px !important;
	font-family: "Inter", Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	height: auto !important;
}
.fluentform .ff-el-form-control:focus,
.tnp-subscription input[type="text"]:focus,
.tnp-subscription input[type="email"]:focus {
	border-color: #e8a33d !important;
	outline: none !important;
	box-shadow: none !important;
}

/* ---- Hero (split layout) ---- */
.jl-hero .fusion-imageframe img {
	max-height: 540px;
	width: auto;
}
.jl-hero-buttons .fusion-button {
	margin-right: 14px;
	margin-bottom: 10px;
}

/* Kill any gap between header and first section. */
#main {
	padding-top: 0 !important;
}
#main .post-content > .fusion-fullwidth:first-child,
#main .fusion-builder-container:first-of-type {
	margin-top: 0 !important;
}
.fusion-header-wrapper,
.fusion-header {
	margin-bottom: 0 !important;
}

/* Hero focus point: his face (~40% across, ~15% down) stays in frame at
   every cover-crop. */
.jl-banner {
	background-position: 40% 32% !important;
	background-size: cover !important;
}

/* Wide desktop: cap the hero image width (zoomed out, centered, black
   bars left/right) instead of cover-zooming to fill the viewport. */
@media (min-width: 1100px) {
	.jl-banner {
		background-size: 1250px auto !important;
		background-position: center 32% !important;
		background-color: #000000 !important;
	}
}

/* Banner base: pure black behind/around the image at every width. */
.jl-banner {
	background-color: #000000 !important;
}

/* Hero text/buttons: not selectable (background feel, no text cursor). */
.jl-banner {
	user-select: none;
	-webkit-user-select: none;
}

/* Mobile dropdown: overlay page content instead of pushing it down.
   The nav holder is inside .fusion-row (position: relative), so an
   absolute position drops it out of flow, anchored under the 80px bar. */
@media (max-width: 800px) {
	.fusion-header .fusion-mobile-nav-holder {
		position: absolute;
		top: 100%;
		left: calc(50% - 50vw);
		right: calc(50% - 50vw);
		z-index: 100;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
	}
}

/* Hero credit line + tighter text-to-buttons gap. */
.jl-hero-seen {
	font-size: 16px;
	color: #a8a396;
}
.jl-banner .fusion-text p {
	margin-bottom: 0;
}
.jl-hero-buttons {
	margin-top: 14px !important;
}

/* Hero buttons: center them however the builder structures the column.
   (Builder edits unwrap buttons from text blocks — wrappers become block-
   level column children. Inline-block + centered column text fixes it
   independent of markup shape.) */
.jl-banner .fusion-column-wrapper {
	/* Flex-column stacks the bare button anchors and misapplies their
	   margins as offsets; block flow + inline-block puts them side by side. */
	display: block !important;
	text-align: center;
}
.jl-banner .fusion-button {
	display: inline-block;
}



/* Mobile: videos grid + tour widget run edge-to-edge. Robust full-bleed
   (left:50% + -50vw margin centers to the viewport regardless of parent
   padding asymmetry). !important throughout: the tour plugin stylesheet
   loads after this sheet. */
@media (max-width: 700px) {
	#videos .pshorts-grid,
	#tour-dates .pte-static-widget {
		position: relative;
		width: 100vw !important;
		max-width: 100vw !important;
		left: 50%;
		margin-left: -50vw !important;
		margin-right: 0 !important;
	}
	#tour-dates .pte-static-widget {
		border-radius: 0;
	}
	/* Rows: stack date / title / venue / button vertically, centered. */
	.pte-static-item {
		grid-template-columns: 1fr !important;
		gap: 6px !important;
		justify-items: center !important;
		text-align: center !important;
	}
	.pte-static-col-date {
		text-align: center !important;
		justify-self: center !important;
	}
	.pte-static-col-right {
		justify-self: center !important;
	}
}

/* Hero buttons: never full-span (global button_span=yes makes buttons
   width-100%, forcing each onto its own row). */
.jl-banner a.fusion-button {
	display: inline-block !important;
	width: auto !important;
}

/* Justified body text in all home-page text blocks. Centered blocks
   (hero, section subheadings) keep their explicit alignment — the
   --awb-content-alignment inline var wins where set. */
.home #main .fusion-text p:not([class]) {
	text-align: justify;
}
.home #main .fusion-text[style*="content-alignment:center"] p {
	text-align: center !important;
}

/* Tour widget mobile: the plugin ships its own <=560px grid-template-AREAS
   (date+info side by side) which survived the column override. Stack all
   three areas. */
@media (max-width: 700px) {
	.pte-static-item {
		grid-template-areas: "date" "info" "actions" !important;
	}
}

/* Mobile: both form submit buttons full width. */
@media (max-width: 700px) {
	.fluentform .ff-btn-submit,
	.tnp-subscription .tnp-submit {
		width: 100% !important;
		display: block !important;
	}
}

/* Tour events: center title + venue at all widths. */
.pte-static-col-info,
.pte-static-name,
.pte-static-location {
	text-align: center !important;
}

/* Tour events fine-tuning: space under title/venue, neutral date
   placement, button back to inline-block (flex pushed it right). */
.pte-static-col-info {
	margin-bottom: 20px !important;
	justify-self: auto !important;
}
.pte-static-col-date {
	justify-self: auto !important;
}
.pte-tickets-button {
	display: inline-block !important;
}

/* THE hero button fix: Avada wraps each direct-child button in an anonymous
   block <div> — those stack regardless of the anchor styling. Make the
   wrappers themselves inline-block. */
.jl-banner .fusion-column-wrapper > div:has(> a.fusion-button) {
	display: inline-block !important;
	width: auto !important;
	/* Same breathing room as title-to-tagline (Avada title bottom margin). */
	margin-top: 20px !important;
}

/* Scroll fade-in for sections below the hero: subtle center-out
   (opacity + slight scale). JS adds .jl-anim to <html> and .jl-in per
   section; no-JS and reduced-motion users see everything immediately. */
html.jl-anim #main .fusion-fullwidth:not(.jl-banner) {
	opacity: 0;
	transform: scale(0.97);
	transition: opacity 0.7s ease, transform 0.7s ease;
	will-change: opacity, transform;
}
html.jl-anim #main .fusion-fullwidth.jl-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	html.jl-anim #main .fusion-fullwidth:not(.jl-banner) {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Narrow screens: compact hero buttons so both always share one row
   (they collectively overflowed below ~391 CSS px and wrapped). */
@media (max-width: 480px) {
	.jl-banner a.fusion-button {
		font-size: 14px !important;
		padding: 10px 18px !important;
		letter-spacing: 0 !important;
		white-space: nowrap;
	}
	.jl-banner .fusion-column-wrapper > div:has(> a.fusion-button):not(:last-child) a.fusion-button {
		margin-right: 14px !important;
	}
}
