html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

:root {
	--font-colour: #ffffff;
	--bg-colour: #000000;
	--primary-colour: #000000;
	--secondary-colour: darkorange;
	--site-width: 1000px;
}

body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--font-colour, #4a4a4a);
	font-family: sans-serif;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Bebas Neue", sans-serif;
}

.wrap {
	margin: 0 auto;
	width: 100%;
	max-width: var(--site-width, 800px);
}

.wp-block-button > .wp-block-button__link {
	border-radius: 0;
}

.wp-block-button.is-style-hdbutton_primary > .wp-block-button__link {
	background-color: #000;
}

.wp-block-button.is-style-hdbutton_secondary > .wp-block-button__link {
	background-color: #222;
}

.wp-block-button:hover {
	opacity: 0.8;
}

.alignfull {
	width: 100vw !important;
	max-width: initial !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
}

.alignwide {
	width: 120%;
	position: relative;
	margin-top: 1.4rem;
	margin-right: -10%;
	margin-bottom: 1.4rem;
	margin-left: -10%;
}

.cols {
	display: grid;
	gap: 4rem;
}

.col-1-1 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
}

.col-2-1 {
	grid-template-columns: minmax(10px, 2fr) minmax(10px, 1fr);
}

.col-1-2 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 2fr);
}

.col-1-1-1 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
}

.valign {
	align-items: center;
}

#content {
	overflow-x: hidden;
}

/* HDBlocks 
- - - - - - - - - - - - - - -*/

/* HDHighlight */
.hdhighlight {
	width: 100vw;
	max-width: initial;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 2rem 0;
	background-position: bottom center;
}

.hdhighlight .hdhighlight_content {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	max-width: var(--site-width, 800px);
}

.hdhighlight .hdhighlight_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}

/* HDCallout */
.hdcallout {
	font-style: italic;
	margin-bottom: 2rm;
	padding: 2em 4em;
	text-align: center;
	transform: translate3d(-10px, -16px, 0px) rotateX(1deg) rotateZ(3deg);
	box-shadow: 24px 24px 28px -10px rgba(34, 33, 81, 0.15);
}

.hdcallout > p {
	line-height: 1.3;
	border-bottom: none;
	margin: 0;
	padding: 0;
}

/* HDAccordions */
.hdaccordion {
	margin-bottom: 0.2em;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	overflow: hidden;
	font-size: 22px;
}

.hdaccordion__title {
	outline: none;
	padding: 1rem;
	display: block;
	background: #2d2d2d;
	padding-left: 1.6rem;
	position: relative;
	cursor: pointer;
	line-height: 1;
	margin: 0;
	border-bottom: 2px solid #6f6f6f;
	position: relative;
	cursor: pointer;
	color: #fff;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	background-color: #1d1d1d;
	font-weight: normal;
	scroll-margin-top: 6rem;
	font-family: var(--heading-font);
}

.hdaccordion__title:focus {
	text-decoration: underline;
}

.hdaccordion[open] .hdaccordion__title {
	background-color: #000;
	color: #1a75bc
}

.hdaccordion__title:before {
	content: "";
	border-width: 0.4rem;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 1.25rem;
	left: 0.5rem;
	transform: rotate(0);
	transform-origin: 0.2rem 50%;
	transition: 0.25s transform ease;
}

.hdaccordion[open] > .hdaccordion__title:before {
	transform: rotate(90deg);
	border-color: transparent transparent transparent #1a75bc;
}

.hdaccordion__content {
	padding: 1rem;
}

.hdaccordion__content > p:first-child {
	margin-top: 0;
}

/* Notes */
.hd_note {
	background-color: var(--secondary-colour);
	position: relative;
	width: 20px;
	height: 20px;
	color: #000;
	display: inline-flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-size: 0.6em;
	border-radius: 50%;
	top: -3px;
	user-select: none;
	cursor: pointer;
}

.hd_note_content {
	position: absolute;
	top: calc(100% + 0.8rem);
	font-size: 1.15em;
	font-weight: 700;
	width: 300px;
	line-height: 1.4;
	background: #141414;
	border-radius: 10px;
	box-shadow: 0 0 24px 0px #000;
	color: #fff;
	padding: 1em;
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: all 0.3s cubic-bezier(0.1, 1, 0.9, 1);
	transition-property: opacity, transform;
}

.hd_note.active .hd_note_content {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	z-index: 99999;
}

.hd_note_content::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: calc(50% - 10px);
	display: block;
	border-style: solid;
	border-top-color: transparent;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #141414;
}

@media (max-width: 800px) {
	body {
		font-size: 18px;
	}

	.wrap,
	.hdhighlight_content {
		padding: 0 1rem;
	}

	.hd_note_content {
		position: fixed;
		top: 10vh;
		left: calc(50% - 150px);
	}

	.hd_note_content::after {
		display: none;
	}
}
