/*
 * TSJF — child theme styles.
 * 1. Fonts  2. Colours  3. Site-wide (moved from Customizer → Additional CSS, 27/10/2026)
 * 4. Event page  5. Prevendite buttons  6. Forms and reCAPTCHA
 * Fonts of the legal pages (point 7) are fixed in the content: ops/release/tsjf-release-1.php
 */

/* 1. Fonts — WOFF2 from the theme; "block" avoids the flash of a fallback font (offer, point 1). */
@font-face {
	font-family: "JazzGothic Book";
	src: url("../fonts/jazz-gothic-book.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: "JazzGothic Compressed";
	src: url("../fonts/jazz-gothic-demi-compressed.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: block;
}
/* ITC Franklin Gothic Std Book Extra Compressed: the light twin of the compressed face, for
   the time next to the date (Nicola, 04/11). Not preloaded: used only for the time. */
@font-face {
	font-family: "JazzGothic Book Compressed";
	src: url("../fonts/jazz-gothic-book-compressed.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: "JazzGothic Demi";
	src: url("../fonts/jazz-gothic-demi.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: block;
}

/* 2. Colours — orange of the logo, #EC6C23 (D16). */
:root {
	--tsjf-orange: #ec6c23;
	--tsjf-black: #000;
	--tsjf-footer-bg: #f4f0f1;
}

/* 3. Site-wide (from Customizer → Additional CSS) -------------------------------------- */
.qodef-section-title.qodef-title-decoration--enabled .qodef-m-title span,
.qodef-conference-event-table-list .qodef-e-title,
.qodef-image-with-text .qodef-m-title {
	text-decoration-line: none;
}
.qodef-section-title .qodef-e-decorated {
	color: var(--tsjf-orange);
}
.qodef-conference-event-table-list .qodef-e:hover .qodef-e-title,
.qodef-conference-speaker-list.qodef-item-layout--split-horizontal.qodef-skin--light .qodef-e-title,
.qodef-video-button .qodef-m-play-circle {
	color: #fff;
}
/* Event lists (Home, Agenda): date bold in the condensed face, time lighter, as in the
   printed programme (Nicola, 03/11). Date 40 px (Matt, 03/11), 35 px up to 768 px. */
.qodef-conference-event-table-list .qodef-e-date {
	font-family: "JazzGothic Compressed", sans-serif;
	font-size: 40px;
	line-height: 40px;
	font-weight: 500;
	color: var(--tsjf-black);
}
.qodef-conference-event-table-list .qodef-e-time {
	font-family: "JazzGothic Book Compressed", sans-serif;
	font-size: 35px;
	line-height: 35px;
	font-weight: 400;
	margin-top: 2px;
}
@media only screen and (max-width: 768px) {
	.qodef-conference-event-table-list .qodef-e-date {
		font-size: 35px;
		line-height: 35px;
	}
	.qodef-conference-event-table-list .qodef-e-time {
		font-size: 30px;
		line-height: 30px;
	}
}
.qodef-conference-event-table-list .qodef-e-inner {
	padding: 20px 0;
}
.qodef-video-button .qodef-m-play-text {
	font-family: "JazzGothic Compressed", sans-serif;
	font-size: 80px;
	text-decoration-line: none;
	text-transform: uppercase;
}
.elementor-20674 .elementor-element.elementor-element-035cc33 .elementor-heading-title {
	font-family: "JazzGothic Compressed", sans-serif;
}

/* Newsletter form (light skin) */
.qodef-contact-form-7 .qodef-form-wrapper.qodef-skin--light :is(input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea),
.rs-layer .qodef-form-wrapper.qodef-skin--light :is(input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea) {
	border-color: var(--tsjf-black);
	color: var(--tsjf-black);
}
.qodef-contact-form-7 .qodef-form-wrapper.qodef-skin--light .qodef-button,
.rs-layer .qodef-form-wrapper.qodef-skin--light .qodef-button {
	background-color: transparent;
	color: var(--tsjf-black);
}
:is(input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=date], textarea, select),
body .select2-container--default :is(.select2-selection--single, .select2-selection--multiple) {
	background-color: transparent;
}
:is(input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=date], textarea, select):focus,
body .select2-container--default :is(.select2-selection--single, .select2-selection--multiple):focus {
	color: var(--tsjf-black);
	background-color: transparent;
	border-color: transparent;
}
label {
	color: var(--tsjf-black);
}
.wpcf7-list-item {
	margin: 20px 0 0;
}
.qodef-theme-button,
button[type=submit]:not(.qodef-search-form-button),
input[type=submit] {
	background-color: transparent;
}

/* Header */
#qodef-page-header {
	background-color: #fff;
}
#qodef-page-header .qodef-header-logo-link.qodef-height--not-set img {
	max-height: 50px;
}
/* SVG logo (Conflux "SVG Path" source, 05/11): same size as the PNG it replaces (55 × 50 px),
   coloured by the header skin through currentColor; no stroke (the theme adds one). */
#qodef-page-header .qodef-header-logo-link.qodef-source--svg-path svg,
#qodef-page-mobile-header .qodef-mobile-header-logo-link.qodef-source--svg-path svg,
.qodef-header-sticky .qodef-header-logo-link.qodef-source--svg-path svg {
	width: 55px;
	height: auto;
	stroke: none;
}
/* The sticky header has no skin: the logo would take the link colour (orange). */
.qodef-header-sticky .qodef-header-logo-link.qodef-source--svg-path,
.qodef-header-sticky .qodef-header-logo-link.qodef-source--svg-path:hover {
	color: var(--tsjf-black);
}
#qodef-page-header-inner {
	padding: 0 30px;
}
/* Transparent header over the slider (Home): a dark fade behind logo and menu, so the white
   items stay readable whatever the slide (Matt, 03/11). The sticky header is untouched. */
.qodef-header--transparent #qodef-page-header::before,
.qodef-header--transparent #qodef-page-mobile-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 180px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: 0;
}
.qodef-header--transparent #qodef-page-mobile-header::before {
	height: 130px;
}
.qodef-header--transparent #qodef-page-header-inner,
.qodef-header--transparent #qodef-page-mobile-header-inner {
	z-index: 1;
}
/* Menu dot (hover / current item): slightly larger and aligned with the label (Matt, 28/10). */
.qodef-header-navigation > ul > li > a::before {
	top: 0;
	left: -8px;
	width: 11px;
	height: 11px;
}
/* Dropdowns as wide as their longest entry, one line each ("Il pubblico e i numeri di TSJF"). */
.qodef-header-navigation ul li.qodef-menu-item--narrow ul {
	width: max-content;
	min-width: 180px;
	max-width: 420px;
}
.qodef-header-navigation ul li.qodef-menu-item--narrow ul li a {
	white-space: nowrap;
}
.qodef-header-navigation ul li.qodef-menu-item--narrow ul.qodef-drop-down--right {
	left: auto;
	right: -1px;
}
.qodef-menu-item-text {
	font-family: "JazzGothic Book", sans-serif;
	font-weight: 400;
	font-size: 16px;
}
#qodef-page-mobile-header {
	background-color: transparent;
}
#qodef-page-mobile-header-inner {
	padding: 0 20px;
}
.qodef-mobile-header-navigation {
	background-color: var(--tsjf-footer-bg);
}

/* Page */
.qodef-page-title {
	display: none;
}
#qodef-page-inner {
	position: relative;
	padding: 0;
}
.qodef-m-button {
	display: none;
}
.place-card .place-card-large {
	display: none;
}
.qodef-e-categories {
	padding: 0 0 10px;
}
.qodef--default-title {
	font-family: "JazzGothic Book", sans-serif;
}
.qodef-button {
	font-weight: 400;
}
.qodef-button.qodef-html--link,
.qodef-m-text {
	font-family: "JazzGothic Book", sans-serif;
	font-weight: 400;
}
.qodef-button.qodef-size--small {
	padding: 9px 21px 5px;
}
.qodef-text-marquee {
	background-color: var(--tsjf-orange);
}
.qodef-text-marquee .qodef-m-text {
	text-decoration-line: none;
	font-family: "JazzGothic Compressed", sans-serif;
	color: var(--tsjf-black);
	background-color: transparent;
}
.qodef-social-share.qodef-layout--text .qodef-social-network-text {
	color: var(--tsjf-orange);
}

/* Footer */
#qodef-page-footer-top-area-inner {
	padding-top: 30px;
	padding-bottom: 30px;
}
#qodef-page-footer-top-area .qodef-content-full-width {
	padding-left: 30px;
	padding-right: 30px;
}
.widget:not(.widget_conflux_core_title_widget) {
	margin: 0;
}

/* Responsive (site-wide) */
@media only screen and (max-width: 1024px) {
	.qodef-conference-event-table-list .qodef-m-heading {
		flex-direction: column;
		padding: 0;
	}
	.qodef-qi-dual-image-with-content .qodef-m-main-image {
		width: 100%;
		position: relative;
	}
	.qodef-qi-dual-image-with-content .qodef-m-second-image {
		display: none;
	}
}
@media only screen and (max-width: 768px) {
	.qodef-content-grid {
		width: 90%;
	}
}

/* 4. Event page ------------------------------------------------------------------------ */
.qodef-conference-event-single.qodef-variations--split-full-width {
	padding: 0 30px 50px;
}
.qodef-conference-event-single .qodef-m-section-content {
	margin-top: 0;
}
.qodef--content h5 {
	display: none; /* "About the event" title, hidden since 2024 */
}
.qodef-m-section-content-item a {
	font-size: 16px;
	line-height: 1.4em;
}
/* Price: same look as the Prevendite buttons — font, size, padding, orange outline and text on
   white (Nicola, 05/11). Not a link, so no hover. */
.qodef-conference-event-single .qodef-m-event-price {
	display: inline-block;
	padding: 6px 31px 5px;
	font-family: "JazzGothic Book", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 15px;
	color: var(--tsjf-orange);
	background-color: transparent;
	border: 1px solid var(--tsjf-orange);
	border-radius: 27px;
}

/* Date and time: venue-line font and size (h4, 35/30 px, 30/25 px up to 768 px), "ORE" between
   them (EVT). Date bold, "ORE" and time in the light compressed face (Nicola, 04/11). */
.qodef-conference-event-single .qodef-m-date-time.qodef-h4 {
	margin: 40px 0 15px;
	font-family: "JazzGothic Compressed", sans-serif;
	font-size: 35px;
	line-height: 30px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--tsjf-black);
}
@media only screen and (max-width: 768px) {
	.qodef-conference-event-single .qodef-m-date-time.qodef-h4 {
		font-size: 30px;
		line-height: 25px;
	}
}
.qodef-conference-event-single .qodef-m-date-time .tsjf-ore,
.qodef-conference-event-single .qodef-m-date-time .tsjf-time {
	font-family: "JazzGothic Book Compressed", sans-serif;
	font-weight: 400;
}

/* "Condividi": same size as the venue line (EVT). */
.qodef-conference-event-single .qodef--social-share .qodef-m-section-title {
	margin: 0 0 10px;
}

/* Image column: CSS sticky from the first paint (offer, point 3). The theme script only
   started after every iframe had loaded, leaving a white gap under the image meanwhile. */
@media only screen and (min-width: 1025px) {
	.qodef-conference-event-single.qodef-variations--split-full-width .qodef-m-inner {
		align-items: flex-start;
	}
	.qodef-conference-event-single.qodef-variations--split-full-width .tsjf-sticky-image {
		position: sticky;
		top: var(--tsjf-sticky-top, 0px);
		align-self: flex-start;
	}
	.admin-bar .qodef-conference-event-single.qodef-variations--split-full-width .tsjf-sticky-image {
		top: calc(var(--tsjf-sticky-top, 0px) + 32px);
	}
}
@media only screen and (max-width: 768px) {
	.qodef-conference-event-single.qodef-variations--split-full-width {
		padding: 14px 20px 50px;
	}
	.qodef-conference-event-single.qodef-variations--split-full-width .qodef-m-inner {
		display: flex;
		gap: 0;
	}
}

/* Elementor columns set as "sticky" in the editor (inc/elementor.php). */
@media only screen and (min-width: 1025px) {
	.elementor-column.tsjf-sticky-column > .elementor-widget-wrap {
		position: sticky;
		top: 0;
		align-self: flex-start;
	}
	.admin-bar .elementor-column.tsjf-sticky-column > .elementor-widget-wrap {
		top: 32px;
	}
}

/* 5. Prevendite buttons (EVT, D15/D16) ----------------------------------------------- */
.tsjf-prevendite {
	margin: 0 0 30px;
}
.tsjf-prevendite .tsjf-prevendite-title {
	margin: 0 0 15px;
}
.tsjf-prevendite-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.tsjf-prevendite-buttons .qodef-button.qodef-layout--outlined {
	color: var(--tsjf-orange);
	border-color: var(--tsjf-orange);
	background-color: transparent;
	margin: 0;
}
.tsjf-prevendite-buttons .qodef-button.qodef-layout--outlined:hover,
.tsjf-prevendite-buttons .qodef-button.qodef-layout--outlined:focus-visible {
	color: #fff;
	background-color: var(--tsjf-orange);
	border-color: var(--tsjf-orange);
}

/* 6. Forms and reCAPTCHA (offer, point 6): badge hidden, Google's notice in the form. */
.grecaptcha-badge {
	visibility: hidden !important;
}
.tsjf-recaptcha-notice {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #555;
}
.tsjf-recaptcha-notice a {
	color: inherit;
	text-decoration: underline;
}
