*, *::before, *::after { 
	position: relative; margin: 0; padding: 0; box-sizing: border-box; max-width: 100%; background-clip: padding-box; background-repeat: no-repeat; line-height: calc(1em + 0.5rem); }


:root {
	--dark:		63,42,85;
	--light:	#9a999a;
	--medium:	#005B56;
	--grey:		#222;
    --blue:     hsl(214, 45%, 37%);
	--darkblue:	#071F2E;
	--luegradient: radial-gradient(circle, rgba(38, 66, 86, 1) 0%, rgba(7, 31, 46, 1) 100%);
	--gold:		#ffb100;
	--body-copy: 20px;
	--hover:	all .2s ease-in-out;
	--scale:	scale(1.1);
}

@font-face {
	font-family: 'Crimson';
	font-style: normal;
	src:url(/wp-content/themes/jcf2026/misc/crimson.woff2) format('woff2'),
	url(//wp-content/themes/jcf2026/misc/crimson.woff) format('woff');
	font-display: swap;
}
@font-face {
	font-family: 'Crimson Italic';
	font-style: normal;
	src:url(/wp-content/themes/jcf2026/misc/crimson-italic.woff2) format('woff2'),
	url(/wp-content/themes/jcf2026/misc/crimson-italic.woff) format('woff');
	font-display: swap;
}

html {
	margin: 0;
    padding: 0; 
    -moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	hanging-punctuation: first allow-end last;
	interpolate-size: allow-keywords;
	scrollbar-gutter: stable;
	tab-size: 2;
	word-break: break-word;
}

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { min-height: 100px; background: var(--blue); border-radius: 10px; }


body { 
	margin: 0;
    padding: 0;
	min-block-size: 100svh;
	font: normal 20px/1.5 Crimson, sans-serif;
	color: #222;
	hanging-punctuation: first last;
	text-rendering: optimizeSpeed;
	overflow-x: hidden;
	overflow-y: scroll;
	scroll-behavior: smooth;
}

body {
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.inner, .inner > div {
	margin: 0 auto;
	width: min(1200px, 100% - 4rem);
}

.inner-750-solo,
.inner-750 > div {
	margin: 0 auto;
	width: min(750px, 100% - 2rem);
}

.darkblue {
	padding: 4rem 1rem;
	background: var(--bluegradient);
	color: #fff; 

	& h2 { background: none; color: #fff; }
}

.white {
	background: none;
	color: #fff;
}

body.id-6 iframe { border-radius: 5px; }

/* Layout */

.flex { 				display: flex; }
.flex-row, .fr { 		flex-direction: row; }
.flex-column, .fc { 	flex-direction: column; }
.justify-center, .jc { 	justify-content: center; }
.justify-around, .ja { 	justify-content: space-around; }
.justify-between, .jb { justify-content: space-between; }
.justify-end, .je { 	justify-content: flex-end; }
.align-center, .ac { 	align-items: center; }
.align-start, .as { 	align-items: flex-start; }
.flex-wrap, .fw { 		flex-wrap: wrap; }
.gap1 { gap: 1rem; }
.gap2 { gap: 2rem; }

.twins > * { width: 48%; }
.twins > div:has(img:only-child) { width: fit-content; }
.triplets > div { width: 33%; }
.quads > div { width: 25%; }




header:not(.title) {
	padding: .75rem 2rem; 
	background: var(--darkblue);
	border-bottom: 3px solid var(--gold);
	
	& section {
		display: flex; 
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		margin: 0 auto;
		width: 1000px;
	}

    & h1 { 
		margin: 0; 
		color: var(--blue);
		font-weight: 900;
	}
    
	& .top-nav, .top-nav li {
		list-style-type: none; 
		display: flex; 
		align-items: center;
		flex-wrap: wrap;
		gap: 2rem;
		margin: 0; 
	}
    & a { 
        font-weight: normal 18px/1 Montserrat, sans-serif;
		color: white !important; 
        text-decoration: none;
    }
	& a:hover, .current-menu-item a { color: var(--gold) !important; }
	
	& a[href*="my-account"], a[href*="cart"] {
    	text-indent: -999999px;
		height: 32px;
		width: 32px;
    	background-image: url(/wp-content/themes/jcf2026/misc/account.svg);
    	background-position: center;
    	background-repeat: no-repeat;
    	background-size: contain;
	}
	& a[href*="cart"] { background-image: url(/wp-content/themes/jcf2026/misc/cart.svg); }
	
}

body.id-6 h1:not(header h1) {
	display: none;
}

body.id-6 .pagination {
	display: none;
}

main {
	margin: 0 auto; 
	padding: 0; 
	width: 1000px; max-width: 100%;
}

body.id-6 main {
	width: 100%;
}

.current-book, 
.about-zorkon {
    padding: 4rem; 
    background: #eee url(/wp-content/uploads/tdoz-bg.jpg) center / cover no-repeat;
}

.current-book > div:first-child {
    width: fit-content;
}

#sg .current-book { align-items: flex-start; }

/* Override Gutenberg flex-item defaults for this row */
.current-book.is-layout-flex > * {
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	flex-basis: auto !important;
	width: auto !important;
}

.desc {
  max-width: 550px;
}

.bar {
    margin: 0; 
	padding: 2rem;
    background: var(--bluegradient);
}

.bar.center {
	padding: 4rem;
	font: normal 2rem/1.5 Crimson, serif;
	color: #fff;
	text-wrap: pretty;
}

.bar.center p {
	margin: 0 auto;
	width: 700px;
}

.bar.center p:last-child {
	margin-top: 1rem; 
	font-style: italic;
	font-size: 2rem;
	text-align: right;
}

#testimonials .wp-block-group__inner-container {
	display: grid;
	background: var(--bluegradient);
}

#testimonials .testimonial {
	grid-area: 1 / 1;
	align-content: center;
	margin: 0;
	opacity: 0;
	transition: opacity 2s ease;
}

#testimonials .testimonial.is-active {
	opacity: 1;
}

.testimonial {
    margin: 0; 
	padding: 2rem;
}

.testimonial p {
	margin: 0 auto;
	width: 77ch;
	font-size: 28px;
	line-height: 1.5;
	font-family: Crimson, sans-serif;
	color: #fff;
	text-align: center;
	text-wrap: balance;
	animation: testimonial-fade 2s ease-in forwards;
}

.testimonial p:last-child {
	margin-top: 1rem; 
	font-size: 1.5rem;
	color: #ccc;
	text-align: right;
	text-transform: uppercase;
}

.book-2::before,
.book-3::before {
	content: '2';
	display: inline-flex; 
	justify-content: center;
	align-items: center;
	margin: 0 1rem 0 0;
	padding: 0;
	height: 2rem;
	width: 2rem;
	background-color: var(--gold);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--darkblue);
	border-radius: 100%;
}

.book-3::before {
	content: '3';
}

.author {
    padding: 4rem;
    background-color: #fff;
}

.coming-soon {
    margin: 0 0 1rem; 
	padding: 1rem;
	background-color: #fff;
	color: var(--blue);
    border: 1px solid;
	
	& h3 { 
		margin-bottom: 0; 
		background: none;
		color: var(--blue);
	}
	
	& p:last-child { margin-bottom: 0; }
}


.home-contact h3 { background: none; color: #fff; }


.signup {
    padding: 4rem 1rem;
    background-color: #999;
}

.desc {
    display: flex;
    flex-direction: column;

    & .tag { 
        margin: 0 0 -8px; 
        font-size: .9rem;
		font-family: Montserrat, sans-serif;
        text-transform: uppercase;
    }

    & h2 { 
        margin: 0 0 1.5rem; 
        font-size: 3rem;
        letter-spacing: -2px;
    }
    
    & p { 
        margin: 0 0 1rem; 
        line-height: 1.5;
    }

    & p.btn { margin-top: 1rem; }
}

footer { 
	background: var(--darkblue);

    & .copy {
		margin: 0;
		padding: 3rem 1rem;
		font-size: .7rem;
		color: #fff;
		text-align: center;
		text-transform: uppercase; 
		
		& .copy a { text-decoration: none; }
}
}

a[href="/wp-admin/"] {
    color: #fff;
	text-decoration: none;
    border: 0;
}

.btn {
    display: flex;
    margin-top: 2rem;
}

.btn a,
#sg .frm_button_submit {
    padding: 1rem 2rem;
    background-color: var(--blue);
    font-size: .85rem;
	font-family: Montserrat, sans-serif;
    color: #fff;
	text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
	transition: all .15s ease-in-out;
	&:hover { color: var(--gold); }
}


nav {
	display: flex; 
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center; }

nav a {
	margin: 0; 
	padding: 1rem 2rem;
	color: #fff;
	text-decoration: none;
	border: 0;
	transition: var(--hover);
}

nav .menu a:hover {
  transform: var(--scale);
}

nav .menu:hover a:not(:hover) {
  opacity: 0.5;
}


nav a:hover { 
	color: #fff; 
}

/* WOOCOMMERCE */

#sg main:has(.woocommerce) h1 { text-align: left; }

#sg .woocommerce nav {
	justify-content: flex-start;
	
	& li { margin-bottom: 1rem; text-align: left; }
	& a { padding: 0; color: #222; text-decoration: 1px dashed #222; }
}

:not(body.id-6) h1, 
:not(body.id-6) h2 {
	margin: 2rem auto;
	text-align: center;
	font-size: 3rem;
}

body.id-6 h2 {
	margin: 0 0 1rem; 
	text-align: left;
}

.sequels em {
	color: var(--gold);
}

#sg .products {
	list-style-type: none;
	display: flex;
	justify-content: center; 
	flex-wrap: wrap; 
	gap: 2rem;
}

#sg .products li {
	display: flex; 
	flex-direction: column;
	align-items: center;
	margin: 0; 
	max-width: 300px;
}

#sg .woocommerce .products ul::after, 
#sg .woocommerce .products ul::before, 
#sg .woocommerce ul.products::after, 
#sg .woocommerce ul.products::before {
    content: none;
    display: none;
}

#sg .woocommerce .quantity .qty {
    width: 77px;
    text-align: center;
    padding: 8px;
}

/* Keep native quantity input arrows/spinners visible in Chromium browsers */
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button {
	opacity: 1 !important;
	-webkit-appearance: auto !important;
	margin: 0;
}

#sg .woocommerce ul.products li.product a img {
	margin: 0; 
	height: auto;
	width: 100%;
}

#sg .woocommerce ul.products li.product .price {
    font-weight: bold;
    margin: 0 0 1rem;
    font-size: 1rem;
	text-align: center;
}

#sg .woocommerce ul.products li.product .button {
	margin-top: auto;
}

#sg .oocommerce-notices-wrapper,
#sg .woocommerce-result-count,
#sg .woocommerce-ordering,
#sg .related.products,
#sg .product_meta,
#sg .woocommerce-product-gallery__trigger {
	display: none; 
}

#sg .woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	& .price { margin-top: auto; }
}

#sg .woocommerce ul.products li.product a.woocommerce-loop-product__link img {
	transition: all .15s linear;
}

#sg .woocommerce ul.products li.product a.woocommerce-loop-product__link:hover img {
	transform: scale(1.04);
}

#sg .woocommerce-loop-product__title {
	width: 100%;
}


p.woo-guild {
    margin: 0;
    padding: .5rem;
    font: bold 26px/1 Crimson, sans-serif;
    color: #fff;
    text-align: center;
}

.summary.entry-summary {
	display: flex; 
	flex-direction: column;
}

#sg .summary.entry-summary {
	& .woocommerce-product-details__short-description { 
		order: 1; 
		padding: 1rem; 
		background: var(--bluegradient);
		color: #fff;
		text-align: center;
	}
	& h2 {
		margin: 0 0 .5rem; 
		font-weight: normal;
		font-size: 36px;
		color: var(--gold);
		}
	& .price { 
		order: 2; 
		display: block;
	    margin: 0 0 1rem 0;
	    background: var(--blue);
		font-size: 2rem;
		color: #fff;
		text-align: center;	
	    border-radius: 3px;
	}
	
	& #payment-method-message {  order: 3; margin: 0 auto; }
	& .cart { order: 2; display: flex; justify-content: center; align-items: center; }
	& .wcpay-express-checkout-wrapper { order: 2; }
}

#sg #product-137 .price { margin-bottom: 0; }
#sg [role="tabpanel"] > h2 { display: none; }
#sg #product-137 #payment-method-message.StripeElement,
#sg #product-137 .wcpay-express-checkout-wrapper { display: none; }
#sg .woocommerce div.product div.summary { margin-bottom: 0; }

.woocommerce-variation-add-to-cart {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

#sg #product-137 .summary.entry-summary {
	& .woocommerce-product-details__short-description { 
		order: 2; 
		background: none;
		}
	}

.amazon { 
	order: 3; 
	margin: 0 auto;
	padding: 1rem;
	width: fit-content; 
	background: var(--bluegradient);
	border-radius: 7px;
	cursor: pointer;
	transition: var(--hover);
	& a { color: #fff; text-decoration: none; border-bottom: 1px dashed;  }
}
.amazon:hover {
	background: var(--gold);
	& a { color: #000; }
}

[role="tablist"] { display: none; }

#sg [role="tabpanel"] h2 { text-align: left; }

.variations tr {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    font-size: 1.5rem;
	& select { padding: .125rem 3em .125rem .5rem; font-size: 18px; }
}

#sg .wc-block-grid__products { justify-content: center; }

/* empty cart */

#sg .wp-block-woocommerce-filled-cart-block * {
	font-size: 20px !important;
}

#sg .wc-block-cart__empty-cart__title.with-empty-cart-icon:before { content: none; }


/* TYPOGRAPHY */

h6 		{ font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);	letter-spacing: -0.5%; }
h5 		{ font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem); 		letter-spacing: -0.75%; }
h4 		{ font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem); 		letter-spacing: -1%; }
h3 		{ font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem); 	letter-spacing: -1.5%; }
h2 		{ font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem); 		letter-spacing: -1.75%; }
h1 		{ font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem); 		letter-spacing: -2%; }

h6 		{ letter-spacing: -0.5%; }
h5 		{ letter-spacing: -0.75%; }
h4 		{ letter-spacing: -1%; }
h3 		{ letter-spacing: -1.5%; }
h2 		{ letter-spacing: -1.75%; }
h1 		{ letter-spacing: -2%; }

h6		{ line-height: 1.5; }
h5		{ line-height: 1.4; }
h4		{ line-height: 1.3; }
h3		{ line-height: 1.2; }
h2		{ line-height: 1.1; }
h1		{ line-height: 1.0; }

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.02rem;
}
h1,
h2,
h3 {
	ackground: var(--blue);
	color: hsl(214, 45%, 37%);
	background-clip: text;
	line-height: 1.1;
	font-family: Crimson, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 /* FUTURE :heading */ {
  text-wrap: balance;
  margin-block-start: 0;
  font-variant-numeric: lining-nums;
}

h1 {
	margin: 2rem auto;
	text-align: center;
	font-size: 4rem;
}


p {
	text-wrap: pretty;
	font-variant-numeric: proportional-nums;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  inset-block-end: -0.25em;
}
sup {
  inset-block-start: -0.5em;
}

pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, monospace;
}


h1, h2, h3, h4, h5, h6 {
	margin: 0 0 2em;
	text-wrap: balance;
	overflow-wrap: break-word;
}

:is(h2, h3, h4):target, [id] {
  scroll-margin-top: var(--header-height);
  scroll-margin-top: 2rem;
}


h1, h2, h3, h4, h5, h6, p, dl, ol, ul, address {
	margin: 0 0 1lh;
	text-wrap: pretty;
	overflow-wrap: break-word;
}

dd, li { 
	margin: 0 0 8px 32px; 
}

dl, ol, ul {
	padding-inline-start: 1lh; /* this is a good idea */
}

.stroked-text {
  paint-order: stroke fill;
  -webkit-text-stroke: 0.125em white;
}


img,
video,
iframe {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  border-style: none;
}



figure:has(img:only-child) {
	width: fit-content;
}


figcaption {
  contain: inline-size;
  font-size: 90%;
}

p, blockquote, q, figcaption, li {
    hanging-punctuation: first allow-end last;
}

input,
select,
textarea,
button {
  font: inherit;
  /* FUTURE: apperance: base; */
}

:disabled {
	opacity: 0.8;
	cursor: not-allowed;
}

label {
  display: block;
}
input:not(
  :where(
    [type="submit"],
    [type="checkbox"],
    [type="radio"],
    [type="button"],
    [type="reset"]
  )
) {
  inline-size: 100%;
}
button,
input:where(
  [type="submit"],
  [type="reset"],
  [type="button"]
) {
  background: CanvasText;
  color: Canvas;
  border: 1px solid transparent;
}
textarea {
  field-sizing: content;
  min-block-size: 5lh;
  inline-size: 100%;
  max-inline-size: 100%;
  resize: vertical;
}


sub,sup{
	font-size:75%;
	line-height:0;
	vertical-align:baseline;
}

sup { top: -.5em; }
sub { bottom: -.25em; }





.featured-image {
	display: none;
}

.featured-image:has(img) {
  display: block;
}

caption, figcaption {
    text-wrap: balance;
}

figcaption {
	max-inline-size: max-content;
	margin-inline: auto;
}


ul,ol,dl,dt,dd,p,figure,blockquote {
  hanging-punctuation: first last;
  text-wrap: pretty;
}



img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}


iframe[src*="youtube"],
iframe[src*="vimeo"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

pre { white-space: pre-wrap; }
hr { border: .5px solid; }
hr {
  border-style: solid;
  border-width: 1px 0 0;
  color: inherit;
  height: 0;
  overflow: visible;
  margin-block: 2.5rem;
}
blockquote { quotes: none; }
blockquote:before, blockquote:after { content: none; }


.footnotes li {
  scroll-margin-top: 1em;
}

.footnotes li:target {
  background-color: rgb(255 255 0 / 0.25);
}

.footnotes li::before {
  inset: 0;
  left: -1.5em; /* 1 */
  position: absolute;
  background-color: rgb(255 255 0 / 0.25);
  border-radius: 1em;
  corner-shape: squircle;
  z-index: -1; /* 2 */
}

.footnotes li:target::before {
  content: ''; /* 1 */
  animation: fade-out 1s 5s ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}



#skip-link {
	left: -9999px;
}

#skip-link:focus {
	display: block;
	left: auto;
	margin: 100px auto;
	padding: 4px;
	width: fit-content;
	background-color: red;
	color: #fff;
	text-decoration: none;
	outline: 2px solid transparent; 
}

/* ANCHOR LINKS */

a {
	scroll-margin-top: 3rem;
}

a:target { 
  color: red;
  background-color: yellow; 
}

:target {
  scroll-margin: 3rlh;
}

:has(:target) {
  border-color: red;
}

#top {
  position: fixed;
  right: calc(env(safe-area-inset-right) + 10px);
  bottom: calc(env(safe-area-inset-bottom) + 10px);
} /* This makes sure your fixed position element is not obscured by some devices' UI elements. use with <meta name="viewport" content="width=device-width, viewport-fit=cover" /> in head. */

/* Tables */

table {
  caption-side: bottom;
  border-collapse: collapse;
  td {
    font-size: 90%;
  }
  td,
  th {
    word-break: normal;
    border: 1px solid gray;
    padding: 0.5rem;
  }
}
[role="region"][aria-labelledby][tabindex] {
  overflow: auto;
}
caption {
  font-size: 90%;
}

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

		
/* Focus Styles - USE FOCUS-VISIBLE ONLY */

:focus-visible, :focus {
	outline: 2px solid red;
  	outline-offset: 2px; 
}

/* Remove the focus outline */
:focus:not(:focus-visible) {
  outline: 2px solid transparent;
}


/* Forms */

form {
	display: grid;
	gap: .5rem;
}

form label {
	font-size: var(--body-copy) !important; 
	text-box-trim: trim-both;
}

form button {
	justify-self: start;
	background-color: var(--accent);
}

form [type="checkbox"], [type="radio"] {
	accent-color: var(--accent);
}

label:has(required)::after {
	content: "(Required)";
	color: #ccc;
}

label:has(>textarea) { display:block; }

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
}

input,
textarea,
button {
  border: 1px solid gray;
}

input,
label,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
}

textarea {
	min-height: 100px;
}

button {
	-webkit-appearance: none;
    appearance: none;
	padding: 0;
	min-width: 100px;	
	background: none;
	border: none;
	border-radius: 0;
	text-align: inherit;
	box-shadow: none;
	cursor: pointer;
}



.btn {
  will-change: transform;
}


/* Utility Classes */

.red { color: #f00; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }
.center { text-align: center; }
.nomarb { margin-bottom: 0; }
.mar-b-1 { margin-bottom: 1rem; }
.pad-4-1 { padding: 4rem 1rem; }


[hidden], 
[type="hidden"], 
.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0); 
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap; 
	width: 1px;
}

[hidden] {
  display: none !important;
}
.screenreader-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
:focus-visible {
  outline-offset: 2px;
}


/* Mobile Nav */

body.menu-open {
	overflow-y: hidden;
}

.m-menu, nav.mobile {
	display: none;
}

nav.mobile {
	align-items: flex-start; 
	position: absolute; top: 0; left: -300px; z-index: 7; 
	height: 100%; 
	width: 300px;
	box-shadow: 0 0 1000px 1000px rgba(0,0,0,.5);
	overflow-y: scroll;
	overflow-x: hidden;
	transition: all .2s ease-in-out;
}

nav.mobile > div {
	width: 100%;
}

nav.mobile li {
	margin: 0 0 4px;
	padding-left: 10px;
}

nav.mobile a {
	padding: 8px 8px 8px 0;
	font-size: 14px;
}

nav.mobile .sub-menu {
	margin: 0 0 0 8px;
}

nav.mobile .sub-menu li {
	padding-left: 0;
}

nav.mobile .sub-menu a::before {
	content: '\00bb';
	margin-right: 8px;
}

nav.mobile .menu-container::-webkit-scrollbar {
    width: 12px;
}

nav.mobile .menu-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    background-color: #555;
}

nav.mobile .menu-container::-webkit-scrollbar-thumb {
    min-height: 50px;
    background-color: #fc3;
    border-radius: 24px;
    outline: 0 solid slategrey;
}

nav.mobile .menu-container {
 /* for proper scrolling */
    position: absolute; top: 0; left: 0;
	padding: 64px 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.close {
    display: grid; 
	align-items: center;
	position: fixed; top: 52px; right: 6px; z-index: 2;
	margin: 0;
    height: 36px;
    width: 36px;
    background-color: var(--grey);
    font: bold 18px/1px arial, sans-serif;
    color: #fff;
    border: 2px solid var(--grey);
    border-radius: 100%;
	transition: transform .2s ease-in-out;
    cursor: pointer;
}

.close img {
	display: block;
	margin: 0 auto;
	height: 20px;
	width: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}


@media (prefers-reduced-motion: no-preference) {
	:has(:target) {
		scroll-behavior: smooth;
		scroll-padding-top: 3rem;
	}
}

@media (prefers-reduced-transparency: reduce) {
    * { opacity: 1; }
  }

@media (max-width: 1040px) {
	nav.top { display: none; }
	.m-menu { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px; font-size: 20px; color: #fff; text-align: center; }
	nav.mobile.show { display: flex; transform: translatex(300px); }
	nav.mobile .menu li,
	nav.mobile .menu li a { display: block; width: 100%; }
}
