/* DISFF49 staging page only. No global Divi selectors are changed here. */
.cinergies-disff49-page {
	background-color: #ece9e4;
	background-image: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)), url('/wp-content/mu-plugins/disff49-background.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}

.cinergies-disff49-page h1,
.cinergies-disff49-page h2,
.cinergies-disff49-page h3,
.cinergies-disff49-page h4,
.cinergies-disff49-page h5,
.cinergies-disff49-page h6 {
	background: transparent;
}

.cinergies-disff49-page .cinergies-disff49-main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 5vw 5rem;
	background-color: transparent !important;
}

.cinergies-disff49-page .cinergies-disff49-article > * {
	box-sizing: border-box;
}

.cinergies-disff49-page .disff49-hero {
	margin: 0 calc(50% - 50vw) 3rem;
	width: 100vw;
}

.cinergies-disff49-page .disff49-hero img {
	display: block;
	width: 100%;
	height: auto;
}

.cinergies-disff49-page .disff49-intro,
.cinergies-disff49-page .disff49-schedule,
.cinergies-disff49-page .disff49-online,
.cinergies-disff49-page .disff49-films,
.cinergies-disff49-page .disff49-footer-note {
	margin: 0 auto 4rem;
}

.cinergies-disff49-page .disff49-intro h1 {
	margin: 0 0 1rem;
}

.cinergies-disff49-page .disff49-film-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.cinergies-disff49-page .disff49-film-card {
	background: #f5f3ef;
	color: #202020;
	padding: 1.25rem;
	border: 1px solid #ded8d2;
}

.cinergies-disff49-page .disff49-film-card img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.cinergies-disff49-page .disff49-film-card h2 {
	margin-top: 0;
}

.cinergies-disff49-page .disff49-film-card a {
	color: #e02b20;
}

.cinergies-disff49-page .disff49-schedule {
	box-sizing: border-box;
	padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
	background: #f5f3ef;
	color: #202020;
	border: 1px solid #ded8d2;
}

.cinergies-disff49-page .disff49-schedule table {
	width: 100%;
	border-collapse: collapse;
}

.cinergies-disff49-page .disff49-schedule th,
.cinergies-disff49-page .disff49-schedule td {
	padding: .85rem .65rem;
	border-bottom: 1px solid rgba(255,255,255,.25);
	text-align: left;
	vertical-align: top;
}

.cinergies-disff49-page .disff49-schedule th {
	font-weight: 700;
}

.cinergies-disff49-page .disff49-online {
	box-sizing: border-box;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 2rem clamp(1.25rem, 4vw, 3rem);
	background: #202020;
	color: #f2f0ed;
	border-left: 4px solid #e02b20;
}

.cinergies-disff49-page .disff49-online h2 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.cinergies-disff49-page .disff49-online-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1rem;
	margin: 1.5rem 0 1rem;
}

.cinergies-disff49-page .disff49-button {
	display: inline-block;
	padding: .7rem 1rem;
	background: #e02b20;
	color: #fff;
	text-decoration: none;
}

.cinergies-disff49-page .disff49-button:hover,
.cinergies-disff49-page .disff49-button:focus-visible {
	background: #fff;
	color: #202020;
}

.cinergies-disff49-page .disff49-button-secondary {
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.cinergies-disff49-page .disff49-intro .disff49-button-secondary {
	background: #e02b20;
	box-shadow: none;
	color: #fff;
}

.cinergies-disff49-page .disff49-online-meta {
	margin-bottom: 0;
	font-size: .9em;
}

.cinergies-disff49-page .disff49-online a:not(.disff49-button) {
	color: #e02b20;
}

@media (max-width: 767px) {
	.cinergies-disff49-page .cinergies-disff49-main {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.cinergies-disff49-page .disff49-film-grid {
		grid-template-columns: 1fr;
	}
	.cinergies-disff49-page .disff49-schedule {
		overflow-x: auto;
	}
}

/* The film-page additions are scoped to the three local DISFF49 drafts. */
.cinergies-film-hero-section {
	position: relative;
	overflow: hidden;
}

.cinergies-film-page .cinergies-film-hero img {
	display: block;
	width: 100%;
	height: auto;
}

/* The Divi row defaults to an 80% content width. Keep the film hero full-bleed. */
.cinergies-film-hero-section .cinergies-film-hero-row {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}

.cinergies-film-hero-section .cinergies-film-hero-row .et_pb_column {
	width: 100% !important;
	margin: 0 !important;
}

.cinergies-film-hero-section .cinergies-film-hero-row .et_pb_image,
.cinergies-film-hero-section .cinergies-film-hero-row .et_pb_image_wrap {
	width: 100% !important;
	margin: 0 !important;
}

.cinergies-film-hero-section .cinergies-film-hero-overlay {
	position: absolute !important;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	z-index: 5;
	pointer-events: none;
}

.cinergies-hero-laurel-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: .75rem 1rem;
	max-width: 1180px;
	margin: 0 auto;
	padding: .55rem 5vw;
	background: rgba(0, 0, 0, .54);
}

.cinergies-hero-laurel-row img {
	display: block;
	width: auto;
	height: clamp(42px, 5.5vw, 78px);
	max-width: 26%;
	object-fit: contain;
	object-position: center;
}

.cinergies-film-overview-copy p:not(.cinergies-film-eyebrow),
.cinergies-film-overview-copy p:not(.cinergies-film-eyebrow) * {
	font-weight: 400 !important;
}

.cinergies-film-gallery .cinergies-film-still img {
	display: block;
	width: 100%;
	height: auto;
}

.cinergies-film-page .cinergies-film-eyebrow,
.cinergies-film-page .cinergies-film-subtitle {
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Production project-template cleanup, scoped to the three DISFF49 films. */
.cinergies-disff49-project-page #main-content,
.cinergies-disff49-project-page #left-area,
.cinergies-disff49-project-page #left-area > article,
.cinergies-disff49-project-page .entry-content,
.cinergies-disff49-project-page #main-content .et_pb_section.cinergies-film-page {
	background-color: #000 !important;
}

.cinergies-disff49-project-page #left-area {
	width: 100% !important;
	padding-right: 0 !important;
}

.cinergies-disff49-project-page #left-area > article > .et_main_title,
.cinergies-disff49-project-page #left-area > article > img,
.cinergies-disff49-project-page #left-area > article > .et_project_meta,
.cinergies-disff49-project-page #left-area > article > .nav-single {
	display: none !important;
}

.cinergies-disff49-project-page #left-area > article > .entry-content,
.cinergies-disff49-project-page .cinergies-film-hero-section {
	width: 100% !important;
	max-width: none !important;
}

.cinergies-disff49-project-page .cinergies-film-hero-section {
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* The global Divi footer's Pages widget is unnecessary on these film pages. */
.cinergies-disff49-project-page .et_pb_text_0_tb_footer {
	display: none !important;
}

@media (max-width: 767px) {
	.cinergies-film-hero-section .cinergies-film-hero-overlay {
		bottom: 0;
	}
	.cinergies-hero-laurel-row {
		justify-content: flex-start;
		gap: .5rem .75rem;
		padding: .4rem 1rem;
	}
	.cinergies-hero-laurel-row img {
		height: clamp(28px, 9vw, 48px);
		max-width: 42%;
	}
	.cinergies-film-gallery .et_pb_column {
		width: 50% !important;
		margin-right: 0 !important;
		margin-bottom: 1rem;
	}
}
