/*
Theme Name: Mindlevel Zero Neon 2025
Adapted from: https://theme.wordpress.com/themes/chunk/
Author: Mindlevel Zero
Author URI: https://mlz.blk.blue
*/

/* => Custom Fonts
----------------------------------------------- */
@font-face {
	font-family: "DepartureMono";
	src: url('../fonts/departure-mono/DepartureMono-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* => Base
----------------------------------------------- */
:root {
	/* OG colour scheme */
	--color-dark-violet: #00005e;/*#13296E;*//*#fff;*/
	--color-neon-pink: #fe019a;
	--color-neon-green: #34fe4f;
	--color-neon-cyan: #34e3fe;
	--color-bright-gray: #ddd;
	--color-medium-gray: #777;
	--color-dark-gray: #444;
	--color-off-white: #f1f1f1;

	/* Palette 2: Retro Vaporwave (lighter) */
	--retro-vaporwave-dark-blue: #1A1A40;
	--retro-vaporwave-light-gray: #D3D3F9;
	--retro-vaporwave-neon-blue: #3399FF;
	--retro-vaporwave-neon-purple: #BB55FF;
	--retro-vaporwave-neon-pink: #FF44CC;
	
	/* Palette 3: Cyber Glow (darker) */
	--cyber-glow-dark-blue: #121024;
	--cyber-glow-light-gray: #E0D9FF;
	--cyber-glow-neon-cyan: #00FFFF;
	--cyber-glow-neon-purple: #A100FF;
	--cyber-glow-neon-pink: #FF4D94;

	/* Semantic Colour Variables */
	--background: var(--cyber-glow-dark-blue);
	--foreground-text: var(--cyber-glow-light-gray);
	--link-unvisited: var(--cyber-glow-neon-cyan);
	--link-visited: var(--cyber-glow-neon-purple);
	--feature: var(--cyber-glow-neon-pink);

	--scale: 1;
	font-size: 1rem;
}

body {
	background-color: var(--background);
	color: var(--foreground-text);
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: calc(1rem * var(--scale));
	margin: 1em 2em;
}
@media screen and (max-width: 680px) {
	body {
		margin: 0.2em 1em;
	}
}

#contents {
	height: auto;
	padding-bottom: 10px;
}


/* => Header
----------------------------------------------- */
#site-title {
	color: var(--feature);
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: calc(6rem * var(--scale));
	margin: 0px;
	text-transform: uppercase;
	text-rendering: optimizeLegibility;
}
@media screen and (max-width: 680px) {
	#site-title {
		font-size: 11.2vw;
	}
}

#site-title a {
	color: var(--feature);
	letter-spacing: 1px;
	text-decoration: none;
}

#site-title a:hover {
	text-decoration: underline;
}

#site-description {
	background: var(--feature);
	border-radius: 10px;
	color: var(--background);
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 300;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 6px 10px;
	transform: rotate(-25deg);
}

#menu #header-image a {
	margin: 0;
	padding: 0;
}

/* => Menu
----------------------------------------------- */
#menu {
	border-bottom: 1px solid var(--foreground-text);
	border-top: 1px solid var(--feature);
	margin-bottom: 25px;
	padding: 10px 0 10px 10px;
}

#menu img {
	margin-bottom: 10px;
}

#menu a {
	color: var(--feature);
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	text-decoration: none;
	text-transform: uppercase;
}

#menu a:hover {
	color: var(--color-dark-gray);
}

/* Horizontalize the nav links */
nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0.5em;
	flex-wrap: wrap;
	align-items: center;
}

nav ul li {
	margin: 0 0.5em;
	padding: 0;
}

/* => Home Page
----------------------------------------------- */
.home-page .latest {
	border-bottom: 1px dashed var(--foreground-text);
	padding: 0 1rem;
	text-align: left;
}
@media screen and (max-width: 680px) {
	.home-page .latest {
		padding: 0;
	}
}

.latest .latest-header {
	text-align: center;
}
.latest .latest-header h2 {
	color: var(--feature);
	display: inline-block;
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-weight: normal;
	margin: 1.25rem 0;
	padding: 0.25rem 0.875rem;
}

/* => Content
----------------------------------------------- */
.list-entry {
	border-left: 0.1em solid var(--feature);
	padding-left: 0.5em;
	margin-bottom: 1.5em;
}

.hentry {
	height: auto;
}

.hentry .main {
	text-align: left;
}

.entry-meta {
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: calc(1rem * var(--scale));
	padding: 0px;
	text-align: left;
	text-transform: uppercase;
}

/* Horizontalize the meta */
.entry-meta ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0.5em;
	flex-wrap: wrap;
	align-items: center;
}

.entry-meta ul li {
	margin: 0;
	padding: 0;
}

.entry-meta ul li:not(:last-child)::after {
	content: "//";
	margin-left: 0.5em;
}

.entry-meta a {
	text-decoration: none;
}

.entry-meta .latest-update {
	color: var(--foreground-text);
	font-style: italic;
}

.entry-meta .word-count {
	color: var(--foreground-text);
}

.entry-title {
	color: var(--foreground-text);
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: 2rem;
	line-height: 2.4rem;
	margin: 0px 0px 15px 0px;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
}
.entry-title a {
	color: var(--link-unvisited);
	text-decoration: none;
}

.read-more {
	color: var(--feature);
	padding: 0.4rem 0;
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
}

blockquote {
	background: var(--foreground-text);
	border-left: 0.25rem solid var(--feature);
	color: var(--background);
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: 0.8rem;
	text-align: justify;
	max-width: 100%;
	padding: 0.5rem;
	margin-left: 0;
}

a {
	color: var(--link-unvisited);
	text-decoration: underline;
}

a:visited {
	color: var(--link-visited);
	text-decoration: underline;
}

a:hover, a:visited:hover {
	text-decoration: none;
}

.entry-featured-image {
	max-width: 100%;
}
.entry-content p {
	line-height: 175%;
}
.entry-content img {
	max-width: 100%;
}
.entry-content a img {
	border: 10px solid #ddd;
}
.entry-content a:hover img {
	border: 10px solid #000;
}

.tag-links strong {
	background: var(--foreground-text);
	border-radius: 0.25rem;
	color: var(--background);
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: normal;
	margin-right: 4px;
	padding: 3px 6px;
}
.tag-links a {
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
}
.entry-content table {
	margin: 0 0 20px 0;
	text-align: left;
	width: 100%;
}
.entry-content tr th,
.entry-content thead th {
	color: #888;
	font-weight: normal;
	line-height: 20px;
	padding: 9px 24px;
}
.entry-content tr td {
	padding: 6px 24px;
}
.entry-content tr.alternate td {
	background: #f5f5f5;
}
.page-link a {
	background: #36bcab;
	border-radius: 26px;
	color: #000;
	font-weight: normal;
	display: inline-block;
	line-height: 26px;
	margin: 0 0 1em;
	text-align: center;
	text-decoration: none;
	width: 26px;
}
.page-link a:hover {
	color: #fff;
	text-decoration: none;
}
.page-title h2 {
	/* color: var(--feature); */
	display: inline-block;
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-weight: normal;
	margin: 0 0 20px;
	padding: 3px 14px;
}
.navigation {
	margin: 20px 0;
}
.navigation div {
	display: inline;
	margin: 0 5px;
}
.navigation div a {
	color: var(--link-unvisited);
	padding: 0.4rem 0;
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
	text-decoration: none;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* General */
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

li {
	line-height: 1.4;
}

hr {
	border: 0.075rem dashed var(--feature);
}

/* Sticky */
.sticky .main {
	background: #eee;
}
.sticky .date {
	display: none;
}
.sticky .entry-meta .comments {
	margin-top: 2px;
}

/* Page */
.page .entry-meta .comments {
	margin-top: 2px;
}


/* => Post Formats
-------------------------------------------------------------- */

/* Aside */
.format-aside .entry-title {
	display: none;
}
.format-aside .entry-content p:first-child {
	margin-top: 0;
}
/* Link */
.format-link .entry-title:after {
	content: "\2192";
	font-size: 2rem;
	padding-left: 10px;
	text-decoration: none;
}
/* Quote */
.format-quote blockquote {
	font-size: 1.1rem;
}
.format-quote blockquote p:last-child {
	margin-bottom: 0;
}
/* Chat */
.format-chat .entry-title {
	display: none;
}
.format-chat .entry-content p {
	margin: 0.5em 0;
}
.format-chat .entry-content p:nth-child(odd) {
	font-weight: bold;
}


/* => Images
-------------------------------------------------------------- */
a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	background: #eee;
	border-radius: 0.25rem;
	margin-bottom: 10px;
	max-width: 100%;
	padding: .8em;
	text-align: center;
}
.wp-caption img {
	margin: 0;
}
.wp-caption a img,
.wp-caption a:hover img {
	border: none;
}
.wp-caption .wp-caption-text {
	color: #666;
	font-size: 0.8rem;
	margin: .5em;
}

/* => Isso
----------------------------------------------- */
#isso-thread {

}
.isso-thread-heading {
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
}
.isso-postbox {

}
.isso-textarea {

}
.isso-input-wrapper > label {
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
}
.isso-input-wrapper > input {

}
/* Need important in here to override isso's CSS*/
.isso-post-action > input {
	background-color: var(--color-neon-pink) !important;
	color: var(--color-dark-violet);
	border-radius: 0.4rem !important;
	border: none !important;
	padding: 0.4rem !important;
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
	text-decoration: none;
}
/* The comments */
.isso-comment {

}
.isso-text-wrapper {

}
.isso-avatar {

}
.isso-comment-header {

}
.isso-text {

}
.isso-comment-footer {

}

/* => Footer
----------------------------------------------- */
#footer {
	border-top: 1px solid #ddd;
	clear: both;
	color: var(--color-bright-gray);
	font-family: 'DepartureMono', Georgia, Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: bold;
	height: auto;
	margin: 50px 0 30px;
	padding-top: 25px;
	text-align: center;
}
#footer a {
	color: var(--color-neon-green);
	text-decoration: none;
}

/* => Collapsible box for content notes
 * CSS from here: https://alligator.io/css/collapsible/
 */
.wrap-collabsible {
	margin-bottom: 1.2rem;
}

input[type='checkbox'] {
	display: none;
}

.lbl-toggle {
	display: block;

	font-weight: bold;
	font-family: 'DepartureMono', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
	text-align: center;

	padding: 0.5rem;

	color: var(--color-dark-violet);
	background: var(--color-neon-cyan);

	cursor: pointer;

	border-radius: 7px;
	transition: all 0.25s ease-out;
}

.lbl-toggle:hover {
	color: var(--color-off-white);
}

.lbl-toggle::before {
	content: ' ';
	display: inline-block;

	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid currentColor;
	vertical-align: middle;
	margin-right: .7rem;
	transform: translateY(-2px);

	transition: transform .2s ease-out;
}

.toggle:checked+.lbl-toggle::before {
	transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
	max-height: 0px;
	overflow: hidden;
	transition: max-height .25s ease-in-out;
}

.toggle:checked+.lbl-toggle+.collapsible-content {
	max-height: 100vh;
}

.toggle:checked+.lbl-toggle {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
	color: var(--color-bright-gray);
	border-bottom: 1px solid var(--color-neon-cyan);
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	font-size: 0.8rem;
	padding: .5rem 1rem;
}