/*
Theme Name: Void
Author: The Digital Guy
Author URI: https://thedigitalguy.uk
Description: A custom theme built by The Digital Guy.
Version: 2025.09.09 */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html {
	scroll-behavior: smooth;
}

body {
	line-height: 1;
}

a {
	text-decoration-skip-ink: auto;
}

a[href^="tel"] {
	color: inherit;
	text-decoration: none;
}

button {
	outline: 0;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

q {
	display: inline;
	font-style: italic;
}

q:before {
	content: '"';
	font-style: normal;
}

q:after {
	content: '"';
	font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
	appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}

input[type="search"] {
	appearance: textfield;
	-webkit-appearance: textfield;
}

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

th,
td {
	padding: 2px;
}

big {
	font-size: 120%;
}

small,
sup,
sub {
	font-size: 80%;
}

sup {
	vertical-align: super;
}

sub {
	vertical-align: sub;
}

dd {
	margin-left: 20px;
}

kbd,
tt {
	font-family: courier;
	font-size: 12px;
}

ins {
	text-decoration: underline;
}

del,
strike,
s {
	text-decoration: line-through;
}

dt {
	font-weight: bold;
}

address,
cite,
var {
	font-style: italic;
}

article,
aside,
details,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.screen-reader-text:focus {
	background-color: #f7f7f7;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #007acc;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}



/***************************************************************
# Tags
***************************************************************/

html,
body {
	line-height: 1.4;
	font-family: 'Poppins', sans-serif;
	overflow: auto;
}

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

figure {
	display: inline-block;
	margin: 1rem 0;
}

figcaption {
	font-size: 0.875rem;
	opacity: 0.875;
	text-align: center;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	font-family: "Cormorant Garamond", serif;
	margin: 2em 0 0.5em;
	line-height: 1.3;
	color: var(--castgold);
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
	margin-top: 0;
}

h1 {
	font-size: clamp(1.8rem, 5vw, 2.4rem);
}

h2 {
	font-size: clamp(1.6rem, 4.8vw, 2rem);
}

h3 {
	font-size: clamp(1.4rem, 4.6vw, 1.8rem);
}

h4 {
	font-size: clamp(1.2rem, 4.4vw, 1.6rem);
}

h5 {
	font-size: clamp(1rem, 4.2vw, 1.4rem);
}

p {
	margin-bottom: 1em;
	line-height: 1.6;
}

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

a {
	color: var(--castgold);
}

*::selection {
	background: #6e562b;
}

pre {
	font-family: monospace;
}

pre,
blockquote {
	background: rgba(0, 0, 0, 0.05);
	padding: 1em;
	margin: 1rem 0;
}

ol,
ul {
	margin: 1em 0;
	margin-left: 1em;
	line-height: 1.6;
}

ol li,
ul li {
	margin: 0.5rem 0;
}

strong {
	font-weight: bold;
}

em,
i {
	font-style: italic;
}

code {
	display: inline-block;
	background: rgba(0, 0, 0, 0.05);
	font-family: monospace;
	padding: 0.5em 1em;
}

mark {
	background: gold;
}

table {
	text-align: left;
}

table th {
	background: rgba(0, 0, 0, 0.02);
	font-weight: bold;
}

table th,
table td {
	padding: 0.5rem 1rem;
}



/***************************************************************
# Structure
***************************************************************/

.container {
	margin: 0 auto;
	padding-left: 5%;
	padding-right: 5%;
}

.container--sm {
	max-width: 55rem;
}

.container--md {
	max-width: 70rem;
}

.container--lg {
	max-width: 85rem;
}

.container--xl {
	max-width: 100rem;
}

.section-margin {
	margin-top: clamp(1rem, 10vw, 8rem);
	margin-bottom: clamp(1rem, 10vw, 8rem);
}

.section-padding {
	padding-top: clamp(1rem, 10vw, 8rem);
	padding-bottom: clamp(1rem, 10vw, 8rem);
}

@media (min-width: 32rem) {
	.container {
		padding-left: 3rem;
		padding-right: 3rem;
	}


}

@media (min-width: 64rem) {
	.site-container {
		display: flex;
		column-gap: 3rem;
		align-items: start;
	}

	.site-container main {
		flex: 1;
	}

	.site-container aside {
		width: 20rem;
		padding-left: 3rem;
		border-left: 1px solid gainsboro;
		min-height: 32rem;
	}
}

/***************************************************************
# Typography
***************************************************************/

.page-title {
	margin: 3rem 0;
	text-align: center;
}

.page-title h1 {
	color: var(--castgold);
	word-wrap: break-word;
	margin: 0;
}

.sublink {
	color: var(--rangedust);
	font-weight: bold;
	text-decoration: none;
	font-size: 0.875rem;
}

a.sublink::after {
	display: inline-block;
	content: ">";
	margin-left: 0.5em;
	transform: scaleX(0.6);
	font-weight: bold;
	line-height: 1;
}

a.sublink:hover {
	text-decoration: underline;
}


/***************************************************************
# Helpers
***************************************************************/

.background--primary {
	background: var(--castgold);
}

.background--secondary {
	background: var(--rangedust);
}

.background--tertiary {
	background: var(--castgold);
}

.text--white {
	color: white;
}


/***************************************************************
# Header
***************************************************************/

#header {
	background: var(--castgold);
	color: white;
	padding: 1rem 0;
}

.header__row {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	align-items: center;
}

.header__name {
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-family: "Cormorant Garamond", serif;
}

.header a {
	color: inherit;
	text-decoration: none;
}

.header__menu .menu {
	display: flex;
	flex-flow: wrap;
	margin: 0;
	padding: 0;
	list-style-type: none;
	justify-content: center;
}

.header__menu .menu-item {
	position: relative;
	margin: 0;
}

.header__menu .menu>.menu-item::after {
	display: block;
	content: "";
	position: absolute;
	top: 100%;
	left: 0%;
	width: 100%;
	height: 0.2rem;
	background: var(--castgold);
	transition: all 0.4s ease;
	opacity: 0;
	transform: scaleX(0);
}

.header__menu .menu>.menu-item:hover::after {
	transform: scaleX(0.8);
	opacity: 1;
}

.header__menu .menu>.menu-item>a {
	display: block;
	padding: 0.5em 1em;
}

.header__menu .menu>.menu-item:first-child {
	margin-left: 0;
}

.header__menu .menu>.menu-item:last-child {
	margin-right: 0;
}

.header__menu .sub-menu {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 0%;
	margin: 0;
	padding: 0;
	list-style: none;
	background: rgba(236, 236, 236, 0.7);
	width: 16rem;
	z-index: 1;
	transition: all 0.4s ease;
	transform: translate3D(0, -5%, 0);
	border-radius: 0.25rem;
	backdrop-filter: blur(0.5rem);
	border-bottom: 0.25rem solid var(--rangedust);
}

.header__menu .sub-menu .sub-menu {
	top: 0%;
	left: 100%;
	transform: translate3D(-5%, 0, 0);
}

.header__menu .sub-menu>.menu-item:hover {
	background: rgba(0, 0, 0, 0.1);
}

.header__menu .sub-menu>.menu-item a {
	display: block;
	padding: 0.5rem 1rem;
}

.header__menu .menu-item:hover>.sub-menu {
	visibility: visible;
	transform: translate3D(0, 0, 0);
	opacity: 1;
}

.header__menu .menu-item-has-children>a::after {
	display: inline-block;
	content: ">";
	margin-left: 0.5em;
	transform: scaleX(0.6);
	font-weight: bold;
}

.header__button {
	width: 2.5rem;
	height: auto;
	cursor: pointer;
	fill: currentColor;
}


/* Responsive */

.header__col--menu {
	display: none;
}

.header__col--button {
	display: block;
}

@media (min-width: 64rem) {

	.header__col--menu {
		display: block;
	}

	.header__col--button {
		display: none;
	}


}

/***************************************************************
# Footer
***************************************************************/

#footer {
	background: var(--castgold);
	color: white;
	padding: 2rem 0;
	text-align: center;
}

#footer a {
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

.footer__row {
	display: flex;
	flex-flow: column;
	gap: 1em;
}

#footer .menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column;
	justify-content: center;
	gap: clamp(.5em, 5vw, 1em);
}

#footer .menu .menu-item {
	margin: 0;
}

@media(min-width: 32rem) {

	#footer .menu {
		flex-flow: row;
	}

}


/***************************************************************
# Posts
***************************************************************/

.post-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-gap: 2rem;
}

.post-grid__item {
	border: 1px solid gainsboro;
	border-radius: 0.25rem;
	padding: 5%;
}

.post-grid__item header {
	margin-bottom: 1rem;
}

.post-grid__item img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

.post-grid .entry-title {
	margin: 1rem 0;
	color: var(--castgold);
	word-wrap: anywhere;
}

.post-grid .entry-title a {
	color: inherit;
	text-decoration: none;
}

/* Entry */

.entry-meta {
	font-size: 0.875rem;
	color: var(--rangedust);
}

.entry-image {
	display: block;
	margin: 2rem 0;
}

.entry-footer {
	margin-top: 2rem;
	clear: both;
}

.entry-footer>span {
	display: block;
	margin: 0.5rem 0;
}

.entry-footer>span a {
	display: inline-block;
	color: white;
	text-decoration: none;
	background: var(--castgold);
	padding: 0.1rem 0.5rem;
	border-radius: 0.6rem;
	font-size: 0.875rem;
	margin: 0.2em;
}

/* Responsive */

@media (min-width: 48rem) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid__item {
		padding: 1.5rem;
	}
}

@media (min-width: 72rem) {
	.post-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/***************************************************************
# Pagination
***************************************************************/

.pagination,
.woocommerce-pagination {
	margin: 2rem 0 1rem;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
	margin-right: 1rem;
	color: inherit;
	text-decoration: none;
}

.pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
	color: var(--rangedust);
	font-weight: bold;
}

.pagination a:hover,
.woocommerce-pagination a:hover {
	text-decoration: underline;
	color: var(--castgold);
}

/***************************************************************
# Comments
***************************************************************/

#comments .comments>ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#comments .comment {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #999;
}

#comments .children {
	list-style-type: none;
	margin-left: 1rem;
	padding-left: 2rem;
	border-left: 1px solid #999;
}

#comments .comment-author {
	display: flex;
	align-items: center;
}

#comments .comment-author .avatar {
	border-radius: 50%;
	overflow: hidden;
	margin-right: 0.5em;
}

#comments .comment-author .says {
	margin-left: 0.5em;
}

#comments .comment-meta,
#comments .reply {
	font-size: 0.75rem;
	margin-top: 0.5rem;
}

#comments .comment-meta {
	margin-bottom: 1rem;
}

/***************************************************************
# Forms / Input
***************************************************************/

fieldset {
	border: 1px solid black;
	padding: 1rem;
}

fieldset legend {
	padding: 0.5em;
}

label {
	font-weight: bold;
	font-size: 0.875rem;
}

textarea,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="password"],
select {
	display: block;
	width: 100%;
	border: 1px solid var(--rangedust);
	border-radius: 0.25rem;
	padding: 0.5em 1em;
	font-family: inherit;
	margin: 0.5rem 0;
}

option {
	font-family: inherit;
}

input[type="number"] {
	width: auto !important;
	border: 1px solid var(--rangedust);
	border-radius: 0.25rem;
	padding: 0.5em;
	font-family: inherit;
}

button,
.button,
a.button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
	background: var(--rangedust);
	color: white;
	font-family: inherit;
	border: 0;
	padding: 0.7em 1.5em;
	font-weight: bold;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-size: 0.875rem;
}

@media (min-width: 32rem) {

	button,
	.button,
	a.button,
	input[type="button"],
	input[type="submit"],
	input[type="reset"] {
		display: inline-block;
		width: auto;
	}
}

/* Search form */

.search-form {
	display: flex;
}

input.search-field {
	margin: 0;
	border-radius: 0.25rem 0 0 0.25rem;
	border: 1px solid #d7d7d7;
}

input.search-submit {
	padding: 0.4em 1em;
	border-radius: 0 0.25rem 0.25rem 0;
	border: none;
	width: auto;
}

/***************************************************************
# Mobile menu
***************************************************************/

.mobile-menu {
	position: fixed;
	top: 0;
	left: 100%;
	width: 100%;
	background: var(--castgold);
	color: white;
	text-align: center;
	transition: transform 0.4s ease;
	height: 110%;
	font-size: 1.4rem;
	overflow: auto;
	max-width: 28rem;
	padding: 5%;
	padding-bottom: 20vh;
	z-index: 9999999;
}

.mobile-menu__button {
	border: 1px solid white;
	text-align: center;
	padding: 1em;
	cursor: pointer;
	border-radius: 0.25rem;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.875rem;
}

.mobile-menu--open {
	transform: translateX(-100%);
}

.mobile-menu a {
	color: inherit;
	text-decoration: none;
}

.mobile-menu .menu,
.mobile-menu .sub-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.mobile-menu .menu {
	font-weight: bold;
}

.mobile-menu .sub-menu {
	opacity: 0.75;
	font-size: 0.875em;
	font-weight: normal;
}

.mobile-menu .menu-item {
	margin: 1rem 0;
}

@media (min-width: 32rem) {
	.mobile-menu {
		font-size: 1rem;
	}
}

@media (min-width: 64rem) {
	.mobile-menu {
		display: none;
	}
}

/***************************************************************
# Further reading
***************************************************************/

.further-reading {
	border-top: 1px solid var(--castgold);
	padding-top: 2rem;
	margin-top: 3rem;
}

.further-reading h2 {
	margin-top: 1rem;
}

.further-reading a {
	color: inherit;
	text-decoration: none;
}

.further-reading a:hover {
	text-decoration: underline;
}

.further-reading__article {
	display: flex;
	column-gap: 1rem;
	margin: 2rem 0;
}

.further-reading__image-wrapper {
	width: 6rem;
}

.further-reading__image {
	padding-top: 100%;
	background: whitesmoke;
	position: relative;
}

.further-reading__image img {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.further-reading__text {
	flex: 1;
}

.further-reading__title {
	margin-top: 0;
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	color: inherit;
}

@media(min-width: 64rem) {
	.further-reading {
		border: none;
		padding: 0;
		margin: 0;
	}
}

/***************************************************************
# Search results
***************************************************************/

.post-search {
	padding: 2rem 0;
	word-wrap: anywhere;
}

.post-search+.post-search {
	border-top: 1px solid gainsboro;
}

.post-search__title {
	margin: 0;
}

.post-search__header {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.post-search__header:hover {
	text-decoration: underline;
}


.post-search__img {
	position: relative;
	width: 4rem;
	height: 4rem;
	background: whitesmoke;
	border-radius: 0.5rem;
	overflow: hidden;
	flex-shrink: 0;
	aspect-ratio: 1;
	object-fit: cover;
}

/***************************************************************
# WordPress
***************************************************************/

.wp-block-image {
	margin: 2rem 0;
}

.wp-post-image {
	margin: 1rem 0;
}

.wp-caption {
	max-width: 100%;
	margin: 1rem 0;
}

.wp-caption-text {
	color: rgba(0, 0, 0, 0.5);
	font-size: 0.875rem;
}

.widget-area {}

.widget-area ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}


/***************************************************************
# WooCommerce
***************************************************************/

.woocommerce .products ul li,
.woocommerce ul.products li {
	text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
	font-size: clamp(1rem, 4vw, 1.5rem);
}

.woocommerce .count {
	background: none;
}

.woocommerce-MyAccount-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column;
	gap: .5em;
}

.woocommerce-MyAccount-navigation-link {
	margin: 0;
}

.woocommerce-MyAccount-navigation-link a {
	display: block;
	background: whitesmoke;
	padding: 0.75em 1em;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation-link a:hover {
	background: gainsboro;
	color: var(--castgold);
}

.woo-container {
	display: flex;
	flex-flow: column;
	gap: clamp(1rem, 10vw, 4rem);
}

.woo-container main {
	flex: 1;
}

.woo-container aside {
	width: 20rem;
}

/* Single Product */

.woocommerce div.product div.images img {
	margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder,
.woocommerce ul.products li.product .woocommerce-placeholder {
	border: none;
}



.woocommerce-error, .woocommerce-info, .woocommerce-message {
	background-color: rgba(255,255,255,0.1);
	color: white;
}




@media(min-width: 64rem) {
	.woo-container {
		flex-flow: row;
	}

}


/*** END OF FILE ***/