/* ========================================
   RESET
======================================== */

/* ========================================
   SINGLE SHOW — BOOT LOCK (NO FOUC)
======================================== */

body.show-booting .show-layout {
	opacity: 0;
	pointer-events: none;
}

/* Lock sidebar & player dimensions BEFORE paint */
body.show-booting .show-sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
}

body.show-booting .scap-waveform {
	height: 120px; /* reserve final height */
}

/* Disable transitions during boot */
body.show-booting * {
	transition: none !important;
	animation: none !important;
}

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Prevent font size inflation */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
	list-style: none;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;
}

a {
	text-decoration: none !important;
	outline: none;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
	line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}

.site-branding {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 5px 0;
}

.site-title {
	margin: 0;
	text-transform: uppercase;
	font-weight: 200;
}

.main-navigation {
	position: relative;
	width: 100%;
	height: 100%;
	margin-top: 48px;
}

.main-navigation ul {
	display: flex;
	flex-direction: column;
}

.main-navigation a {
	line-height: 1.25em;
	font-weight: 100;
	font-family: "Nunito Sans", sans-serif;
	text-transform: lowercase;
	font-size: 22px;
	font-weight: 400;
	white-space: nowrap;
}

/* ========================================
   SHOW PAGE — PREVENT FOUC
======================================== */

/* Hide show page until CSS is ready */
body.show-css-pending .show-layout {
	visibility: hidden;
}

/* Reveal when ready */
body.show-css-ready .show-layout {
	visibility: visible;
}

/* ========================================
   COMMON STYLES
======================================== */

body {
	background-color: #f4f6f4;
}

li {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	text-align: justify;
	color: #0a121f;
	font-family: "Nunito Sans", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
}

h1 {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 24px;
	line-height: 1.20833em;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

h2 {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 24px;
	line-height: 1.20833em;
	font-weight: 400;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

h3 {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 20px;
	line-height: 1.25em;
	font-weight: 400;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.home #primary {
	padding-top: 0;
	margin-top: 0;
}

.wp-block-accordion-item {
	border-top: 1px solid black;
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle,
.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:focus {
	background: #eceff2; /* Use a preset here. */
}

/* Accordion panel base */
.wp-block-accordion-panel {
	overflow: hidden;
	height: 0;
	opacity: 0;
	transform: translateY(-12px);
	transition:
		height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s ease,
		transform 0.35s ease;
}

.wp-block-accordion-item.is-open > .wp-block-accordion-panel {
	opacity: 1;
	transform: translateY(0);
}

/* Chevron rotation */
.wp-block-accordion-heading__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wp-block-accordion-heading__toggle::after {
	content: "";
	width: 0.6em;
	height: 0.6em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.35s ease;
	margin-left: 0.75em;
}

.wp-block-accordion-item.is-open
	> .wp-block-accordion-heading
	.wp-block-accordion-heading__toggle::after {
	transform: rotate(-135deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.wp-block-accordion-panel,
	.wp-block-accordion-heading__toggle::after {
		transition: none;
	}
}

/* ========================================
   PAGE GRID (SHOW)
======================================== */

.show-layout {
	display: flex;
	min-height: 100vh;
	max-width: 100%;
	overflow: visible;
}

.show-sidebar {
	display: flex;
	width: 33%;
	flex-shrink: 0;
	position: fixed;
	top: 0;
	height: 100vh;
	overflow: visible;
	border-right: 1px solid #e3e3e3;
	align-self: flex-start;
	will-change: transform;
	box-sizing: border-box;
	background-image: url(../../../../uploads/images/folder.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 30%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding: 40px;
}

.main-outer {
	padding-left: 33%;
	width: 100%;
}

.navigation.post-navigation {
	padding: 0 2.5%;
}

.nav-links {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 10px;
	border-top: 1px solid #e3e3e3;
}

.show-main {
	flex: 1;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	padding: 0 0 100px 0;
}

.show-player {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	padding: 50px 2.5% 0;
	position: sticky;
	background: #f4f6f4;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid #e3e3e3;
}

.show-body {
	display: grid;
	grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
	max-width: 100%;
	min-width: 0;
	overflow: visible !important;
	padding: 0 2.5% 160px;
}

.show-body > * {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.site-main {
	padding: 50px 2.5% 0;
	margin-top: 50px;
}

.site-main h1 {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 54px;
	line-height: 1.09259em;
	font-weight: 400;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.site-main h6 {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 12px;
	line-height: 1.16667em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

/* ========================================
   SHOW ITEMS
======================================== */

.show-items {
	border-right: 1px solid #e3e3e3;
}

.show-items ul {
	margin: 0;
	padding: 0;
	margin-top: 75px;
}

.show-item {
	margin-bottom: 10px;
	font-size: 14px;
	display: flex;
	align-items: flex-start;
	margin-bottom: 32px;
	flex-direction: column;
}

.show-item-label {
	display: block;
	opacity: 0.7;
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 12px;
	line-height: 1.16667em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin: 25px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	margin: 0 0 4px 0;
}

.show-item-value {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

.show-item-value a {
	color: #c3db00;
	text-decoration: none;
}

/* ========================================
   CONTENT SAFETY
======================================== */

.show-title {
	text-transform: uppercase;
	margin: 69px 0 22px;
}

.show-content {
	max-width: 100%;
	min-width: 0;
	padding-left: 60px;
}

.show-content * {
	max-width: 100%;
	box-sizing: border-box;
}

.show-content img,
.show-content video,
.show-content iframe,
.show-content embed,
.show-content object {
	max-width: 100%;
	height: auto;
}

.show-content pre,
.show-content code {
	max-width: 100%;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

:root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {
	border-radius: 20px;
}

/* ========================================
   404
======================================== */

#four-oh-four-page {
	position: relative;
	display: inline-block;
	width: 100%;
	vertical-align: top;
	padding: 60px 10%;
	text-align: center;
}

#four-oh-four-page .four-oh-four-title {
	margin: 0;
}

#four-oh-four-page .four-oh-four-button {
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 50px auto;
}

#four-oh-four-page .four-oh-four-text {
	max-width: 50%;
	text-align: center;
	display: block;
	margin: 14px auto 0;
}

.four-oh-four-button {
	background-color:#000;
	border:1px solid #2b2b2b;
	display:inline-block;
	color:#f4f6f4;
	font-family:Arial;
	font-size:17px;
	padding:10px 40px;
	text-decoration:none;
}

.four-oh-four-button:hover {
	background-color:#2b2b2b;
	color:#f4f6f4;
}
.four-oh-four-button:active {
	position:relative;
	top:1px;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {
	.show-layout {
		flex-direction: column;
	}

	.show-sidebar {
		width: 100%;
		height: auto;
		position: relative;
	}

	.show-body {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 22px;
		line-height: 1.22727em;
	}

	h2 {
		font-size: 18px;
	}

	.show-header .show-title {
		text-transform: uppercase;
		margin: 0 0 22px;
	}

	.show-header {
		width: 100%;
	}

	#masthead {
		display: block;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
	}

	.site-branding {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: calc(100% - 64px);
		padding: 20px 0 20px 5.25%;
		border: none;
		height: 100%;
		z-index: 7000001;
		background: #fff;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;

		position: fixed;
		top: 12px;
		right: 12px;

		width: 45px;
		height: 45px;

		padding: 0;
		margin: 0;

		background: transparent;
		border: 0;
		box-shadow: none;

		cursor: pointer;
		pointer-events: auto;

		z-index: 9000005;
	}

	/* Empty circle — GEOMETRY LOCKED */
	.menu-toggle::after {
		content: "";
		width: 18px;
		height: 18px;

		box-sizing: border-box;
		border-radius: 50%;
		border: 1px solid #000;
		background: transparent;

		transition:
			background-color 0.25s ease,
			border-color 0.25s ease;
	}

	/* Active = filled, NO transform */
	.main-navigation.toggled .menu-toggle::after {
		background: #000;
		border-color: #000;
	}

	/* Optional tap feedback WITHOUT movement */
	.menu-toggle:active::after {
		background: #000;
	}

	/* ===== NAV: MODAL OVERLAY + ACCORDION ===== */
	.main-navigation {
		position: relative;
		margin-top: 0;
		top: 0;
		z-index: 7000000;
	}

	/* Overlay container — NEVER hidden, only inert */
	.menu-main-container {
		position: fixed;
		inset: 0;
		z-index: 7000000;

		/* Always present so accordion can animate */
		visibility: visible;

		/* Closed = inert */
		pointer-events: none;
	}

	/* Open: overlay interactive */
	.main-navigation.toggled .menu-main-container {
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.main-navigation.toggled .menu-main-container::before {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.35s ease, visibility 0s linear 0s;
		transition-delay: 0s; /* same delay */
	}

	/* Menu panel (accordion) */
	.main-navigation ul {
		display: block;
		position: fixed;
		left: 0;
		top: 68px;
		width: 100%;

		margin: 0;
		padding: 0;

		background: #fff;
		border-bottom: 1px solid #000;

		max-height: 0;
		overflow: hidden;

		transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);

		pointer-events: none;
		z-index: 7000001;
	}

	.main-navigation.toggled ul {
		max-height: 150px;
		overflow-y: auto;
		pointer-events: auto;
	}

	/* easier tap targets */
	.main-navigation a {
		display: block;
		padding: 30px 5.25%;
	}

	.show-content .show-title {
		text-transform: uppercase;
		margin: 20px 0 22px;
	}

	.show-sidebar {
		background-image: none;
		padding: 0;
		z-index: 6000000;
		background: white;
	}

	.show-main {
		width: 100%;
		padding: 0;
	}

	.main-outer {
		padding-left: 0;
		width: 100%;
	}

	.show-body {
		display: flex;
		flex-direction: column-reverse;
		padding: 0 5.25% 70px;
	}

	.site-main {
		padding: 50px 5.25% 0;
		margin-top: 50px;
	}

	.show-items {
		border-right: none;
	}

	.show-content {
		padding-left: 0;
	}

	.show-widget {
		display: none;
	}

	.navigation.post-navigation {
		padding: 0 5.25% 70px;
	}

	.show-player {
		padding: 50px 5.25% 0;
	}
}
