b, strong { font-weight: 700; }

body.transparent-header:not(.scrolled) header.site-header {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.header-menu-desktop-hamburger #header .nav-menu-handle {
	height: 64px;
	margin: 0;
	overflow: visible;
	width: 64px;
}

body.header-menu-desktop-hamburger #header .nav-menu-handle svg {
	height: 64px;
	margin: 0;
	overflow: visible;
	width: 64px;
}

body.transparent-header header.site-header .widget {
	font-weight: 500 !important;
}

main {
	overflow: visible; /* WHY doesn't overflow-y work here? I am losing my f*ing mind over this!!!! */
}

main a, main a:visited {
	color: var(--wp--preset--color--neutral-x-light);
}

main a:hover, main a:active, main a:focus {
	color: var(--wp--preset--color--foreground);
	text-decoration: underline;
}

main .has-text-color a:not(.wp-block-button__link), main .has-text-color a:not(.wp-block-button__link):visited {
	color: inherit;
	text-decoration: underline;
}

main .has-text-color a:not(.wp-block-button__link):hover, main .has-text-color a:not(.wp-block-button__link):active, main .has-text-color a:not(.wp-block-button__link):focus {
	color: var(--wp--preset--color--foreground);
	text-decoration: underline;
}

main button,
main input[type=button],
main input[type=reset],
main input[type=submit],
main a.button,
main a.wp-block-button__link,
#footer a.wp-block-button__link
{
	background: var(--wp--preset--color--secondary);
	text-transform: uppercase;
}

main button:focus,
main button:hover,
main input[type=button]:focus,
main input[type=button]:hover,
main input[type=reset]:focus,
main input[type=reset]:hover,
main input[type=submit]:focus,
main input[type=submit]:hover,
main a.button:focus,
main a.button:hover,
main a.wp-block-button__link:focus,
main a.wp-block-button__link:hover,
#footer a.wp-block-button__link:focus,
#footer a.wp-block-button__link:hover
{
	background: var(--wp--preset--color--primary) !important;
}

main ul { padding-left: 1.2em; }

footer.site-footer { margin-top: 0; margin-block-start: 0; }

#footer a {
	color: var(--wp--preset--color--secondary);
	font-style: italic;
}

.r3423-contact-info { display: block; }

#footer .r3423-contact-info-logo { max-width: 240px; margin-bottom: 0.1rem; }

.wp-block-acf-contact-info { display: block; max-width: 240px; }

ul.wp-block-acf-logo-grid li > *, ul.wp-block-acf-logo-grid li > a > * { margin: 0 !important; }

ul.wp-block-acf-logo-grid li > a > p { font-style: italic; }

/* Interactive map SVG */
.tikh-map--wrapper {}

.tikh-map--wrapper svg .tikh-map--svg--unit {
	fill: transparent;
}

.tikh-map--wrapper svg .tikh-map--svg--unit:hover {
	cursor: pointer;
	fill: rgba(255,105,0,0.5);
}

.tikh-map--wrapper ul.tikh-map--list {
	display: grid;
	gap: 0 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	list-style: none;
	padding: 0;
	width: 100%;
}

.tikh-map--wrapper ul.tikh-map--list > li:nth-of-type(1) {
	grid-column-start: 1;
	grid-row-start: 1;
	grid-row-end: 3;
}

.tikh-map--wrapper ul.tikh-map--list > li:nth-of-type(2) {
	grid-column-start: 2;
	grid-row-start: 1;
	grid-row-end: 2;
}

.tikh-map--wrapper ul.tikh-map--list > li:nth-of-type(3) {
	grid-column-start: 2;
	grid-row-start: 2;
	grid-row-end: 3;
}

.tikh-map--wrapper ul.tikh-map--list h3 {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--medium-plus);
	text-transform: uppercase;
}

.tikh-map--wrapper ul.tikh-map--list ul {
	padding: 0;
	width: 100%;
}

.tikh-map--wrapper ul.tikh-map--list ul li {
	border-bottom: 1px solid var(--wp--preset--color--neutral-light);
	display: flex;
	font-weight: 600;
	gap: 1rem;
	justify-content: space-between;
	line-height: 1.5rem;
	padding: 0.5rem 0;
	width: 100%;
}

.tikh-map--list--occupied, .tikh-map--list--occupied a {
	color: var(--wp--preset--color--foreground) !important;
}

.tikh-map--list--available, .tikh-map--list--available a {
	color: var(--wp--preset--color--neutral-light) !important;
	text-transform: uppercase;
}

.tikh-map--list--unit, .tikh-map--list--unit a {
	color: var(--wp--preset--color--secondary) !important;
	font-variant-numeric: tabular-nums !important;
}

.tikh-unit--status {
	background: var(--wp--preset--color--foreground);
	font-weight: bold;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--80) var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
	position: absolute; top: 0; right: 0;
}

#tikh-map--tooltip {
	background: var(--wp--preset--color--background);
	border-radius: 0.5rem;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.25);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--typography--line-height--small);
	max-width: 180px;
	opacity: 0;
	padding: 1rem;
	position: fixed; top: 50%; left: 50%;
	transition: opacity 0.25s ease;
	z-index: 9;
}

#tikh-map--tooltip.active {
	opacity: 1;
}


/* Bootstrap Carousel button hover fix */
main button.carousel-control-prev,
main button.carousel-control-next,
main button.carousel-control-prev:focus,
main button.carousel-control-next:focus,
main button.carousel-control-prev:hover,
main button.carousel-control-next:hover
{ background-color: transparent !important; }


@media screen and (min-width: 783px) {

	#header .wp-block-site-logo img { height: auto !important; }

	body.header-menu-desktop-hamburger #header .menu-main-menu-container {
		background: var(--wp--preset--color--secondary);
		padding-right: 3rem; padding-left: 3rem;
	}
	
	body.header-menu-desktop-hamburger #header .menu-main-menu-container ul.menu {
		font-size: var(--wp--preset--font-size--xx-large);
		line-height: var(--wp--custom--typography--line-height--xx-large);
	}

	.wp-block-cover, .wp-block-cover-image {
		padding: calc(var(--wp--style--block-gap) * 3);
	}

	#footer .twin-ignition-interactive-icon {
		height: 150px;
		position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
		width: 150px;
	}

	#footer #footer-1 {
		display: block;
		float: right;
		margin: 0 !important;
		max-width: calc(50% - 200px);
	}

	#footer #footer-2 {
		display: block;
		margin: 0 !important;
		max-width: calc(50% - 200px);
	}
	
	#footer .wp-block-social-links {
		display: block;
	}

	#footer .wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
		background: var(--wp--preset--color--neutral-dark) !important;
	}

}

@media screen and (max-width: 1024px) and (min-width: 783px) {

	body {
		--wp--preset--font-size--large: 1.5rem;
		--wp--preset--font-size--x-large: 2rem;
		--wp--preset--font-size--xx-large: 2.75rem;
		--wp--preset--font-size--huge: 3.5rem;
		--wp--custom--typography--line-height--x-large: 1.4em;
		--wp--custom--typography--line-height--xx-large: 1.25em;
		--wp--custom--typography--line-height--huge: 1.125em;
	}

}

@media screen and (max-width: 782px) {

	body {
		--wp--preset--font-size--large: 1.25rem;
		--wp--preset--font-size--x-large: 1.5rem;
		--wp--preset--font-size--xx-large: 2rem;
		--wp--preset--font-size--huge: 2.5rem;
		--wp--custom--typography--line-height--x-large: 1.4em;
		--wp--custom--typography--line-height--xx-large: 1.25em;
		--wp--custom--typography--line-height--huge: 1.125em;
	}

	body.nav-open #header { background: var(--wp--preset--color--secondary); }
	
	body:not(.nav-open) #header .menu-main-menu-container-sidebar { display: none; }
	
	body.nav-open #header .wp-block-site-logo { visibility: hidden; }
	
	#header .menu-main-menu-container {
		background: transparent;
		padding-right: 0; padding-left: 0;
		width: 100% !important;
	}
	
	body #header .r3423-nav-menu#primary_navigation ul.menu {
		padding-left: 0 !important;
	}

	#header .menu-main-menu-container ul.menu, #header .r3423-nav-menu ul.menu a {
		font-size: var(--wp--preset--font-size--xx-large) !important;
		line-height: var(--wp--custom--typography--line-height--xx-large) !important;
	}

	.wp-block-cover, .wp-block-cover-image {
		padding: calc(var(--wp--style--block-gap));
	}

	/* Retain Media & Text columns in nested column layouts */
	/* Based on: https://nickdiego.com/disable-responsive-columns-in-gutenberg-and-other-tips/ */
	.wp-block-column .wp-block-media-text {
		display: flex;
		flex-wrap: nowrap;
	}

	/* Available space should be divided equally amongst columns. */
	.wp-block-column .wp-block-media-text > * {
		flex-basis: 0 !important;
		flex-grow: 1;
	}

	/* When columns are in a single row, add space before all except the first. */
	.wp-block-column .wp-block-media-text > *:not(:first-child) {
		margin-left: calc(var(--wp--style--block-gap) / 2);
	}

	/* Columns with an explicitly-assigned width should maintain their`flex-basis` width and not grow. */
	.wp-block-column .wp-block-media-text > *[style*="flex-basis"] {
		flex-basis: auto !important;
		flex-grow: 0;
	}
	
	.wp-block-column .wp-block-media-text > .wp-block-media-text__media {
		max-width: 90px;
	}

	.tikh-map--wrapper ul.tikh-map--list {
		display: block;
	}

	#footer .twin-ignition-interactive-icon { display: none; }
	
	#footer .wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
		background: var(--wp--preset--color--neutral-dark) !important;
	}

}
