/*
Theme Name: SpikedMcGrath 2025
Author: Tom McGrath
Author URI: http://www.spikedmcgrath.com/
Another attempt at web development.
This theme doesn't support comments or post thumbnails.

/* ---------------------------------------
   1.0 - Reset- standardises between browsers
--------------------------------------- */

* {
	box-sizing: border-box;
	/* A modern best practice */
}

@font-face {
	font-family: 'Montserrat';
	src: url(fonts/);
}

/* Animate media. Respect user preferences */
@media (prefers-reduced-motion: no-preference) {
	* {
		transition: color 0.2s ease, background-color 0.2s ease;
	}
}

html,
body {
	width: 100vw;
	padding: 0;
	margin: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
	padding: 0;
}

/* ---------------------------------------
   1.1 - Root - CSS Variables
--------------------------------------- */
:root {
	/* type */
	--font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
	--font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
	--font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
	--font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
	--font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
	--font-size-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
	--font-body: "Noto Sans", sans-serif;
	--font-heading: "Montserrat", sans-serif;
	--font-mono: "Lucida Console", "Courier New", monospace;
	/*  layout */
	--bg-colour: #fff;
	--bg-alt-colour: #f7f7f7;
	--text-color: #000000;
	--muted-colour: rgba(51, 51, 51, 0.7);
	--muted-colour-opaque: #333;
	--accent-colour: rgb(5, 116, 196);
	--border-colour: rgba(51, 51, 51, 0.1);
	--link-focus-colour: rgba(51, 51, 51, 0.3);
	--gap: clamp(1rem, 2vw, 2rem);
	--sidebar-width: 20%;
	--central-column-width: 80%;
	--max-width-central-column: 1200px;
	--magic-ratio: 7.6923%;
	/* icons */
	--icon_base_size: 48px;
	--icon_small_size: 1.2em;
	--icon-menu: url('icons/burger-menu.svg');
	--icon-close: url('icons/close.svg');
	--header-margin-top: 1.3em;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
	overflow-wrap: break-word;
}

ol,
ul {
	list-style: none;
	margin-left: 1em;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote,
q {
	hyphens: none;
	quotes: none;
}

/* Links */
a {
	text-decoration: none;
	color: var(--accent-colour);

	&:hover,
	&:focus {
		color: var(--link-focus-colour);
		outline: 0;
	}

	&:focus {
		outline: 2px solid var(--link-focus-colour);
	}

	img {
		border: 0;
	}
}

/**
 * 3.0 Typography
 */

body,
button,
input,
select,
textarea {
	color: var(--text-color);
	font-family: var(--font-body);
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: var(--accent-colour);
	font-family: var(--font-heading);
	margin-top: var(--header-margin-top);
}

h1 a,
h2 a {
	color: var(--accent-colour);
}

p {
	margin-bottom: 1.6em;
}

b,
strong {
	font-weight: 700;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

.site-title a {
	font-family: var(--font-heading);
}

blockquote {
	border-left: 1px solid var(--muted-colour);
	color: var(--accent-colour);
	font-style: italic;
	padding-left: 0.8em;
	line-height: 1.8em;

	p {
		margin-bottom: 1.6em;
	}

	>p:last-child {
		margin-bottom: 0;
	}

	cite,
	small {
		color: var(--muted-colour-opaque);
		font-size: 1.2rem;
		line-height: 1.6;
	}

	em,
	i,
	cite {
		font-style: normal;
	}

	strong,
	b {
		font-weight: 400;
	}
}

address {
	font-style: italic;
	margin: 0 0 1.6em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: var(--font-mono);
	hyphens: none;
}

pre {
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid var(--border-colour);
	line-height: 1.2;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 0.8em;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr[title] {
	border-bottom: 1px dotted var(--border-colour);
	cursor: help;
}

mark,
ins {
	background-color: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: var(--font-size-sm);
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: var(--font-size-sm);
}

big {
	font-size: var(--font-size-lg);
}


/**
 * 4.0 Elements
 */

hr {
	background-color: var(--accent-colour);
	border: 0;
	height: 1px;
	margin-bottom: 1.6em;
}

ul,
ol {
	margin: 0 0 1.6em 1.3333em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
}

dl {
	margin-bottom: 1.6em;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 1.6em;
}

table,
th,
td {
	border: 1px solid var(--border-colour);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.6em;
	table-layout: fixed;
	/* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th,
td {
	padding: 0.4em;
}

img {
	border: 0;
	height: auto;
	max-width: 100%;
	/* vertical-align: middle; */
}

figure {
	margin: 0;
}

del {
	opacity: 0.8;
}

/* Add icons to the bottom of posts */
.cat-links:before,
.tags-links:before,
.posted-on:before,
.blog-archive-link:before {
	content: "";
	display: inline-block;
	width: var(--icon_small_size);
	height: var(--icon_small_size);
	margin-right: 0.4em;
	/* background-color: #fff9c0; */
	background-size: contain;
	vertical-align: sub;

	& ::hover{
		width: 80px;
	}
}

.cat-links:before {
	background-image: url("icons/category.svg");
}

.tags-links:before {
	background-image: url("icons/tag.svg");
}

.posted-on:before {
	background-image: url("icons/date.svg");
}

.blog-archive-link:before {
	background-image: url("icons/archive.svg");
}

a.post-edit-link {
	float: right;
	color: var(--text-color);
	opacity: 0.3;
}

/* Placeholder text color */
::placeholder {
	color: var(--muted-colour);
	font-family: "Noto Sans", sans-serif;
}


/**
 * 5.0 Forms
 */

button,
input,
select,
textarea {
	background-color: var(--bg-alt-colour);
	border-radius: 0;
	font-size: 1.2rem;
	line-height: 1.5;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
	border-radius: 0.5rem
}

button,
input {
	line-height: normal;
}

input,
textarea {
	border: 1px solid var(--border-colour);
	color: var(--muted-colour);
}

input:focus,
textarea:focus {
	background-color: #fff;
	border: 1px solid rgba(51, 51, 51, 0.3);
	color: var(--muted-colour-opaque);
}

input:focus,
select:focus {
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
	cursor: default;
	opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	appearance: button;
	background-color: var(--muted-colour-opaque);
	border: 0;
	color: #ffffff;
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 700;
	padding: 0.7917em 1.5em;
	text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: var(--muted-colour);
	outline: 0;
}

input[type="search"] {
	appearance: textfield;
	margin-bottom: 1rem;

	::-webkit-search-decoration {
		appearance: none;
	}

}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 0.375em;
	width: 100%;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

textarea a {
	color: var(--accent-colour);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	outline: 0;
}

.post-password-form {
	position: relative;

	label {
		color: var(--muted-colour);
		display: block;
		font-size: 1.2rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.5;
		text-transform: uppercase;
	}

	input[type="submit"] {
		padding: 0.7917em;
		position: absolute;
		right: 0;
		bottom: 0;
	}
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

.search-form input[type="submit"],
.widget .search-form input[type="submit"] {
	padding: 0;
}


/**
 * 6.0 Navigation
 */


/**
 * 6.1 Links
 */

a {
	text-decoration: none;
	color: #000000;

	&:hover,
	&:focus {
		color: var(--muted-colour);
	}

}


/**
 * 6.2 Menus
 */

.main-navigation {
	a {
		display: block;
		padding: 0.8em 0;
		position: relative;
		text-decoration: none;
		font-family: 'Montserrat';
	}

	ul {
		list-style: none;
		margin: 0;

		ul {
			display: none;
			margin-left: 0.8em;
		}

		.toggled-on {
			display: block;
		}
	}

	li {
		border-top: 1px solid var(--border-colour);
		position: relative;
	}

	.current_page_item>a,
	.current-menu-item>a,
	.current_page_ancestor>a {
		font-weight: 700;
	}

	.nav-menu>ul>li:first-child,
	.nav-menu>li:first-child {
		border-top: 0;
	}

	.page_item_has_children>a,
	.menu-item-has-children>a {
		padding-right: 48px;
	}

	.menu-item-description {
		color: var(--muted-colour);
		font-size: 1.2rem;
		font-weight: 400;
		line-height: 1.5;
		margin-top: 0.5em;
	}
}

.no-js .main-navigation ul ul {
	display: block;
}

.dropdown-toggle {
	background-color: transparent;
	border: 0;
	box-sizing: content-box;
	content: "";
	height: 42px;
	padding: 0;
	position: absolute;
	text-transform: lowercase;
	/* Stop screen readers to read the text as capital letters */
	top: 3px;
	right: 0;
	width: 42px;
}

.dropdown-toggle:after {
	color: var(--muted-colour-opaque);
	content: "\f431";
	font-size: 24px;
	line-height: 42px;
	position: relative;
	top: 0;
	left: 1px;
	width: 42px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background-color: var(--border-colour);
}

.dropdown-toggle:focus {
	outline: 1px solid rgba(51, 51, 51, 0.3);
}

.dropdown-toggle.toggle-on:after {
	content: "\f432";
}

.social-navigation {
	margin: var(--magic-ratio);

	ul {
		list-style: none;
		margin: 0 0 -1.6em 0;
	}

	li {
		float: left;
	}

	a {
		display: block;
		height: 3.2em;
		position: relative;
		width: 3.2em;
	}
}

.secondary-toggle {
	/* The button to toggle dropdown menu at smaller screen sizes */
	background-color: transparent;
	background: var(--icon-menu);
	color: transparent;
	border: 1px solid var(--border-colour);
	height: var(--icon_base_size);
	overflow: hidden;
	padding: 0;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
	width: var(--icon_base_size);

	&:hover,
	&:focus {
		transform: translateY(-50%) scale(1.05);
		background-color: var(--bg-alt-colour);
		border: 1px solid rgba(51, 51, 51, 0.3);
		outline: 0;
	}

	&.toggled-on {
		background-image: var(--icon-close);
	}
}

.post-navigation,
.custom-post-navigation-extras {
	background-color: var(--bg-colour);
	border-top: 1px solid var(--border-colour);
	font-weight: 700;
	padding: 0 var(--magic-ratio);
}

.post-navigation {
	a {
		display: block;
		padding: 1.5rem 0;
	}

	span {
		display: block;
	}

	.meta-nav {
		color: var(--muted-colour);
		font-size: 1.2rem;
		letter-spacing: 0.04em;
		line-height: 1.5;
		position: relative;
		text-transform: uppercase;
		z-index: 2;
		opacity: 0.8;
	}

	.post-title {
		line-height: 1.3333;
		position: relative;
		z-index: 2;
	}

	.nav-next,
	.nav-previous {
		background-position: center;
		background-size: cover;
		position: relative;
	}

	div+div {
		border-top: 1px solid var(--border-colour);
	}
}

.custom-post-navigation-extras {
	display: flex;
	justify-content: space-between;
	align-items: center;
	vertical-align: middle;
	padding-top: 1em;
}


.pagination {
	/* Appears below a single blog post */
	background-color: var(--bg-colour);
	border-top: 1px solid var(--border-colour);

	.nav-links {
		min-height: 3.2em;
		position: relative;
		text-align: center;
	}

	.current .screen-reader-text {
		position: static !important;
	}

	.page-numbers {
		display: inline-block;
		line-height: 3.2em;
		padding: 0 0.6667em;

		&.current {
			text-transform: uppercase;
		}
	}

	.current {
		display: inline-block;
		font-weight: 700;
	}

	.prev,
	.next {
		background-image: url('icons/next.svg');
		color: transparent;
		display: inline-block;
		height: 48px;
		overflow: hidden;
		padding: 0;
		margin: 0 1em;
		position: absolute;
		width: 48px;

		&:hover,
		&:focus {
			background-color: var(--muted-colour);
		}
	}

	.prev {
		left: 0;
		transform: rotate(180deg);
	}

	.next {
		right: 0;
	}
}

.image-navigation {
	color: var(--muted-colour);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;

	a {
		color: var(--muted-colour);
	}
}

.image-navigation a:hover,
.image-navigation a:focus,
.image-navigation .nav-previous:not(:empty),
.image-navigation .nav-next:not(:empty),
.image-navigation .nav-next a:after,
.image-navigation {
	padding: 0 var(--magic-ratio);
}

.image-navigation .nav-previous:not(:empty),
.image-navigation .nav-next:not(:empty) {
	margin-bottom: 2em;
}


/**
 * 7.0 Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font: bold 14px/normal "Noto Sans", sans-serif;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	font: bold 14px/normal "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}


/**
 * 8.0 Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}



/**
 * 10.0 Header
 */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid var(--border-colour);
	padding: var(--magic-ratio);
}

.site-branding {
	min-height: 2em;
	padding-right: 60px;
	position: relative;
}

.site-title {
	font-size: 1.4em;
	font-weight: 500;
	line-height: 1.3636;
	margin-bottom: 0;
}

.site-description {
	display: block;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.5;
	opacity: 0.7;
	text-align: left;
}

/**10.1 Custom header- hide on small screens**/
.custom-logo {
	display: none;
}

/**
 * 11.0 Widgets
 */

.widget {
	color: var(--muted-colour);
	hyphens: auto;
	margin: 0 auto 9.09090%;
	width: 100%;
	word-wrap: break-word;

	pre {
		line-height: 1.2;
	}

	button,
	input,
	select,
	textarea {
		font-size: 1.6rem;
		line-height: 1.5;
	}

	button,
	input {
		line-height: normal;
	}

	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		font-size: 1.2rem;
		padding: 0.7917em 1.5833em;
	}

	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"],
	input[type="search"],
	textarea {
		padding: 0.375em;
	}
}

.widget-title {
	color: var(--muted-colour-opaque);
	margin: 0 0 1.6em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.widget> :last-child {
	margin-bottom: 0;
}

.widget_calendar table {
	margin: 0;
}

.widget_calendar td,
.widget_calendar th {
	line-height: 2.3333;
	text-align: center;
	padding: 0;
}

.widget_calendar caption {
	font-weight: 700;
	margin: 0 0 1.6em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.widget_calendar tbody a {
	background-color: var(--muted-colour-opaque);
	color: #fff;
	display: block;
	font-weight: 700;
}

.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
	background-color: var(--muted-colour);
	color: #fff;
}

.widget_archive a,
.widget_categories a,
.widget_links a,
.widget_meta a,
.widget_nav_menu a,
.widget_pages a,
.widget_recent_entries a {
	border: 0;
}

.widget_archive ul,
.widget_categories ul,
.widget_links ul,
.widget_meta ul,
.widget_nav_menu ul,
.widget_pages ul,
.widget_recent_entries ul {
	list-style: none;
	margin: 0;
}

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_entries li {
	border-top: 1px solid var(--border-colour);
	padding: 0.7667em 0;
}

.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_links li:first-child,
.widget_meta li:first-child,
.widget_nav_menu li:first-child,
.widget_pages li:first-child,
.widget_recent_comments li:first-child,
.widget_recent_entries li:first-child {
	border-top: 0;
	padding-top: 0;
}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_links li:last-child,
.widget_meta li:last-child,
.widget_nav_menu li:last-child,
.widget_pages li:last-child,
.widget_recent_comments li:last-child,
.widget_recent_entries li:last-child {
	padding-bottom: 0;
}

.widget_categories .children,
.widget_nav_menu .sub-menu,
.widget_pages .children {
	border-top: 1px solid var(--border-colour);
	margin: 0.7667em 0 0 0.8em;
	padding-top: 0.7667em;
}

.widget_recent_entries .post-date {
	display: block;
}

.widget_rss ul {
	list-style: none;
	margin: 0;
}

.widget_rss li {
	margin-bottom: 1.6em;
}

.widget_rss ul:last-child,
.widget_rss li:last-child {
	margin-bottom: 0;
}

.widget_rss .rsswidget {
	border: 0;
	font-weight: 700;
}

.widget_rss .rsswidget img {
	margin-top: -4px;
}

.widget_rss .rss-date,
.widget_rss cite {
	font-size: 1.2rem;
	font-style: normal;
	display: block;
	line-height: 2;
	opacity: 0.8;
}

.textwidget> :last-child {
	margin-bottom: 0;
}

.textwidget a {
	border-bottom: 1px solid var(--muted-colour-opaque);
}

.textwidget a:hover,
.textwidget a:focus {
	border-bottom: 0;
}

.secondary {
	/* This is toggled off by default, and toggled visble in functions.js */
	display: none;
	padding: 0 var(--magic-ratio);

	&.toggled-on {
		/* Main toggle-able dropdown menu area */
		border-top: 1px solid transparent;
		border-bottom: 1px solid transparent;
		display: block;
		margin-bottom: 1em;
		background-color: var(--bg-colour);
	}
}

.widget-area {
	margin: 9.09090% auto 0;
}

.site-footer {
	font-weight: 700;
	font-size: 0.6em;
}

.FootText1 {
	margin: 0;
}

.FootText2 {
	margin: 0;
	font-weight: 400
}

.error-page {
	background-color: var(--bg-colour);
	padding: var(--magic-ratio);
}

/**
 * 12.1 Posts and pages
 */

.hentry {
	background-color: #fff;
	padding-top: 3em;
	position: relative;
}

.hentry.has-post-thumbnail {
	padding-top: 0;
}

.hentry.sticky:not(.has-post-thumbnail) {
	padding-top: calc(var(--magic-ratio) + 24px);
}

.hentry+.hentry {
	border-top: 1px solid var(--border-colour);
}

.post-thumbnail {
	/* I'm not using post thumbnails*/
	display: none;
}

.post-thumbnail img {
	display: block;
	margin: 0 auto;
}

a.post-thumbnail:hover,
a.post-thumbnail:focus {
	opacity: 0.85;
}

.entry-header {
	padding: 0 var(--magic-ratio);
}

.entry-meta {
	padding-bottom: 1.6rem;
	margin-left: var(--magic-ratio);
	color: var(--muted-colour);
}

.entry-title {
	font-size: 2.2rem;
	margin-bottom: 1rem;
	margin-top: 0.6em;
	letter-spacing: -1px;
}

.entry-content,
.entry-summary {
	padding: 0 var(--magic-ratio) 2rem;
}

.entry-content> :last-child,
.entry-summary> :last-child {
	margin-bottom: 0;
}

.entry-content,
.entry-summary,
.page-content {
	hyphens: none;
	word-wrap: normal;
	overflow: auto;
}

.entry-content h1,
.entry-summary h1,
.page-content h1 {
	font-size: 2.6rem;
	line-height: 1.1538;
	margin-top: 1.8462em;
	margin-bottom: 1em;
}

.entry-content h2,
.entry-summary h2,
.page-content h2 {
	font-size: 1.8rem;
	line-height: 1.3em;
	margin-bottom: 1em;
}

.entry-content h3,
.entry-summary h3,
.page-content h3 {
	font-size: 1.4em;
	line-height: 1.2em;
	margin-bottom: 1.2em;
}

:is(.entry-content, .entry-summary, .page-content, .comment-content) :is(h4, h5, h6) {
	font-size: 1.2em;
	line-height: 1.2;
	margin-bottom: 1em;
}

:is(.entry-content, .entry-summary, .page-content, .comment-content) :is(h5, h6) {
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

:is(.entry-content, .entry-summary, .page-content, .comment-content)> :is(h1, h2, h3, h4, h5, h6):first-child {
	margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a,
.pingback .comment-body>a {
	border-bottom: 1px solid var(--muted-colour-opaque);
}

:is(.entry-content,
	.entry-summary,
	.page-content,
	.comment-content) a:is(:hover, :focus),
.pingback .comment-body>a:is(:hover, :focus) {
	border-bottom: 0;
}

.entry-content a img,
.entry-summary a img,
.page-content a img,
.comment-content a img {
	display: block;
}

.entry-content .more-link,
.entry-summary .more-link:after {
	white-space: nowrap;
}

.entry-content .more-link:after,
.entry-summary .more-link:after {
	content: "\f429";
	font-size: 16px;
	position: relative;
	top: 5px;
}

.entry-footer {
	background-color: var(--bg-alt-colour);
	color: var(--muted-colour);
	/* font-size: 1.2rem; */
	line-height: 1.5;
	padding: 1.2em var(--magic-ratio);
	margin-bottom: 2em;
	border-bottom: 2px;

	a {
		border-bottom: 1px solid transparent;
		color: var(--muted-colour);

		&:hover {
			border-bottom: 1px solid var(--link-focus-colour);
		}

		&:hover,
		&:focus {
			color: var(--link-focus-colour);
		}
	}
}

.sticky-post {
	background-color: var(--muted-colour-opaque);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.25em 0.5em;
	position: absolute;
	top: 0;
	text-transform: uppercase;
}

.updated:not(.published) {
	display: none;
}

.sticky .posted-on {
	display: none;
}

.posted-on,
.byline,
.cat-links,
.tags-links,
.comments-link,
.entry-format,
.full-size-link {
	margin-right: 1em;
}

.comments-link,
.edit-link {
	white-space: nowrap;
}

.page-header {
	background-color: var(--bg-colour);
	border-bottom: 1px solid var(--border-colour);
	padding: 2rem var(--magic-ratio);
}

.page-title {
	font-size: 2.2em;
}

.taxonomy-description {
	color: var(--muted-colour);
	padding-top: 0.4em;

	a {
		border-bottom: 1px solid var(--muted-colour-opaque);

		&:hover,
		&:focus {
			border-bottom: 0;
		}
	}

	> :last-child {
		margin-bottom: 0;
	}
}

.page-content {
	background-color: var(--bg-colour);
	padding: var(--magic-ratio);

	> :last-child {
		margin-bottom: 0;
	}
}

.page-links {
	clear: both;
	margin-bottom: 1.3333em;

	a,
	>span {
		border: 1px solid var(--border-colour);
		display: inline-block;
		font-size: 1.2rem;
		height: 2em;
		line-height: 2;
		margin: 0 0.3333em 0.3333em 0;
		text-align: center;
		width: 2em;
	}

	a {
		background-color: var(--muted-colour-opaque);
		border-color: var(--muted-colour-opaque);
		color: #fff;

		&:hover,
		&:focus {
			background-color: var(--muted-colour);
			border-color: transparent;
			color: #fff;
		}
	}

	>.page-links-title {
		border: 0;
		color: var(--muted-colour);
		height: auto;
		margin: 0;
		padding-right: 0.5em;
		width: auto;
	}
}

.entry-attachment {
	margin-bottom: 1.6em;
}

.type-attachment .entry-title {
	hyphens: auto;
	word-wrap: break-word;
}

.entry-caption {
	color: var(--muted-colour);
	font-size: 1.2rem;
	hyphens: auto;
	line-height: 1.5;
	padding-top: 0.5em;
	word-wrap: break-word;

	> :last-child {
		margin-bottom: 0;
	}
}


/**
 * 12.2 Post Formats
 */

.blog .format-status .entry-title,
.archive .format-status .entry-title {
	display: none;
}


/**
 * 12.3 Comments- Used to be here.
 */
#comments {
	display: none;
}

/**
 * 13.0 Footer
 */

.site-info {
	color: var(--muted-colour);
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
	padding: 1em;

	a {
		border-bottom: 1px solid transparent;
		color: var(--muted-colour);

		&:hover {
			border-bottom: 1px solid var(--muted-colour-opaque);
		}

		&:hover,
		&:focus {
			color: var(--muted-colour-opaque);
		}
	}
}


/**
 * 14.0 Media
 */

.site .avatar {
	border-radius: 50%;
}

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

audio,
canvas {
	display: inline-block;
}

embed,
iframe,
object,
video {
	margin-bottom: 1.6em;
	max-width: 100%;
	vertical-align: middle;
}

p>embed,
p>iframe,
p>object,
p>video {
	margin-bottom: 0;
}

.wp-audio-shortcode,
.wp-video,
.wp-playlist.wp-audio-playlist {
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 1.6em;
}

.wp-playlist.wp-playlist {
	padding-bottom: 0;
}

.wp-playlist .wp-playlist-tracks {
	margin-top: 0;
}

.wp-playlist-item .wp-playlist-caption {
	border-bottom: 0;
	padding: 10px 0;
}

.wp-playlist-item .wp-playlist-item-length {
	top: 10px;
}


/**
 * 14.1 Captions
 */

.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;

	img[class*="wp-image-"] {
		display: block;
		margin: 0;
	}
}

.wp-caption-text {
	color: var(--muted-colour);
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}


summary {
	color: var(--accent-colour);
	margin-bottom: 0.2em;
	font-size: 1.5em;
	background-color: var(--bg-alt-colour);
	padding: 0 00.8em;
	border-radius: 1em;
}

.wp-block-details p {
	font-style: italic;
	padding: 0 2em;
	letter-spacing: 1px;
}

/**
 * 14.2 Galleries
 */

.gallery {
	margin-bottom: 1.6em;
}

.gallery-item {
	display: inline-block;
	padding: 0.3%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: var(--muted-colour);
	display: block;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


/*  */
/* Overrides- To override default or ugly wordpress styles */
/*  */

/* Remove backdrop filter from gallery images with captions */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
	backdrop-filter: none;
}



/**
 * 15.0 Media Queries for Responsive Design
 */

/* Set the layout viewport width equal to the actual device width. */
@viewport {
	width: device-width;
	zoom: 1;
}


/* Desktop */
@media screen and (min-width: 992px) {

	.site {
		margin: 0 auto;
		max-width: 100%;
	}

	#page {
		display: grid;
		grid-template-columns: var(--sidebar-width) 1fr;
		grid-template-rows: 1fr auto;
		grid-template-areas:
			"sidebar content"
			"footer footer";
		min-height: 100lvh;
		width: 100%;
	}

	#content {
		padding: 0 1.5em;
	}

	.sidebar {
		grid-area: sidebar;
		position: sticky;
		top: 0;
		background-color: var(--bg-colour);
		height: 100lvh;
		box-shadow: #00000033 0px 0px 1px 1px;
	}

	.site-description {
		text-align: center;
	}

	.site-content {
		grid-area: content;
	}

	#main {
		max-width: var(--max-width-central-column);
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer {
		grid-area: footer;
		justify-self: right;
		width: calc(100vw - var(--sidebar-width));
	}

	/** Show the logo at larger screen sizes **/
	.custom-logo {
		max-width: 220px;
		min-width: 100px;
		display: flex;
		margin-bottom: 20px;
		justify-content: center;
	}

	.secondary {
		background-color: transparent;
		display: block;
		margin: 0;
		padding: 0;
	}

	.main-navigation {
		margin: 0 20% 20%;

		a {
			padding: 0.5em 0;
		}
	}

	.widget-area {
		padding: 0 20%;
	}

	.main-navigation .page_item_has_children>a,
	.main-navigation .menu-item-has-children>a {
		padding-right: 35px;
	}

	.main-navigation .menu-item-description {
		font-size: 1.2rem;
		line-height: 1.5;
	}

	.social-navigation a {
		height: 3.2em;
	}

	.secondary-toggle {
		display: none;
	}

	.site-header {
		background-color: transparent;
		border-bottom: 0;
		padding: 2em 20%;
	}

	.site-branding {
		min-height: 0;
		padding: 0;
	}

	a.custom-logo-link {
		display: flex;
		justify-content: center;
	}

	.site-title {
		font-size: clamp(1rem, 1.5em, 2rem);
		line-height: 1.3636;
		text-align: center;
	}

	.page-content {
		display: flex;
		justify-content: center;
	}

	.entry-footer {
		margin-bottom: 0;
	}

	article,
	.post-navigation,
	.pagination,
	.page-header,
	.custom-post-navigation-extras,
	.error-page,
	.no-results.not-found {
		overflow: hidden;
		box-shadow: #00000033 0px 0px 1px 1px;
		border-radius: 8px;
		margin-top: 1.5em;
	}
}

/**--------------------------------------
 * 15.2 Large screens 2000px
 Arbitrarily chosen breakpoint.
-------------------------------------- */
@media screen and (min-width: 2000px) {
	#page {
		max-width: 2000px;
		padding-right: 5%;
	}

	.sidebar {
		max-height: calc(100vh);
	}

	.site-footer {
		max-width: calc(2000px - var(--sidebar-width));
	}
}

/** END