/*
# ------------------ BEGIN LICENSE BLOCK ------------------
#
# This file is part of PluXml : https://www.pluxml.org
#
# Package:		theme.css
# Copyright (c) 2017-2019 PluXml
# Authors		Stephane F., Pedro "P3ter" CADETE., Thomas "sudwebdesign" Ingles.
# Licensed under the GPL license.
# See http://www.gnu.org/licenses/gpl.html
#
# ------------------- END LICENSE BLOCK -------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Inter:wght@400;600;700&display=swap');

:root {
	/* "Bare-Metal Orchestrator" Color Palette */
	--bg-deep: #0F172A;
	--text-primary: #E2E8F0;
	--text-muted: #94A3B8;
	--accent-cyan: #06B6D4;
	--accent-green: #10B981;
	--font-mono: 'Fira Code', monospace;
	--font-sans: 'Inter', sans-serif;

	/* High Contrast Connected Nodes Pattern for verification */
	--svg-pattern: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2306B6D4' stroke='%2306B6D4' stroke-width='0.5' fill-opacity='0.4' stroke-opacity='0.6'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3Ccircle cx='80' cy='30' r='1.5'/%3E%3Ccircle cx='50' cy='70' r='1.5'/%3E%3Cline x1='20' y1='20' x2='80' y2='30'/%3E%3Cline x1='20' y1='20' x2='50' y2='70'/%3E%3Cline x1='80' y1='30' x2='50' y2='70'/%3E%3C/g%3E%3C/svg%3E");

	--header-height: 7rem;
	--header-padding-top: 1.3rem;
	--bg-height: 250px;
}

body {
	background-color: var(--bg-deep);
	background-image: var(--svg-pattern);
	background-attachment: fixed;
	color: #FFFFFF;
	/* High contrast white for main text */
	font-family: var(--font-sans);
	font-size: 1.7em;
	line-height: 1.8em;
	/* Slightly increased for readability */
	margin: 0;
	padding-top: var(--header-height);
	-webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

.heading-small {
	font-size: 2rem;
}

.header {
	background-color: #0F172A;
	/* Solid background to ensure nothing shows through */
	border-bottom: 1px solid rgba(6, 182, 212, 0.2);
	padding-top: var(--header-padding-top);
	height: var(--header-height);
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

.header a {
	color: var(--accent-cyan);
}

.header a:hover {
	color: var(--accent-green);
	text-decoration: none;
}

.logo {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-height);
}

.header-photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--accent-cyan);
	box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.logo-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.logo h1,
.logo h1 a {
	font-family: var(--font-mono);
	font-size: 2.8rem;
	/* Slightly reduced to fit photo */
	line-height: 1.2em;
	letter-spacing: -1px;
	font-weight: bold;
	margin: 0;
	color: var(--text-primary);
}

.logo h1 a:hover {
	color: var(--accent-cyan);
	text-decoration: none;
}

.breadcrumb-container {
	margin-bottom: 4rem;
	opacity: 0.8;
}

.bg {
	display: none !important;
}

.nav {
	text-align: right;
	padding-top: 0;
}

ul.menu {}

.menu>li {
	font-size: 1.5rem;
	margin-left: .5rem;
}

.menu a {
	border-bottom: 3px solid transparent;
}

.menu a:hover {
	border-bottom: 3px solid #222;
}

.menu>li>span {
	cursor: default;
}

.menu>li ul {
	/* sub menu */
	position: absolute;
	padding: 0;
	line-height: 2.8rem;
	z-index: 10;
}

.menu>li:last-of-type ul {
	right: 0;
}

.menu>li:not(:hover) ul {
	/* hide sub menu */
	display: none;
}

.menu ul li {
	display: block;
	margin: 0;
	padding: 0 1rem;
	background-color: var(--bg-deep);
	text-align: left;
}

.menu .sub-menu {
	overflow-y: auto;
}

.menu .sub-menu li {
	padding: 0 0.35rem;
}

.menu .sub-menu li:last-of-type {
	padding-bottom: 0.35rem;
}

.menu>li span::before {
	/* \/ menu */
	content: '\25bc';
	padding-right: 0.5rem;
}

ul.menu .noactive:hover,
ul.menu .active span,
ul.menu span.active,
ul.menu li.active a,
ul.menu a.active,
ul.menu li span:hover,
ul.menu li a:hover {
	/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	color: #000 !important;
	text-decoration: none;
}

ul.menu li span,
ul.menu li a {
	/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	display: inline-block;
	padding-left: .35rem;
	padding-right: .35rem;
	width: 100%;
	/*	cursor: pointer;*/
	background-color: transparent;
	border-radius: 1px;
	color: var(--accent-cyan);
	white-space: nowrap;
}

ul.menu li span a,
ul.menu li a span {
	/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	white-space: nowrap;
	display: inline;
	margin-right: -.35rem;
	padding-left: 0;
}

ul.menu li.noactive a,
ul.menu a.noactive {
	/*	background-color: rgba(255,255,255,.55);*/
	border-radius: 1px;
	color: #258fd6;

}

.cat-list .active,
.classified-in .active {
	background-color: #6aa6ce;
	color: #fff;
}

/* ---------- Main ---------- */

.main {
	background-color: transparent;
	padding-top: 2rem;
}

.repertory {
	margin-top: 4rem;
}


/* ------- Pagination ------- */

.pagination {
	margin: 3rem 0 3rem 0;
}

.pagination a {
	background-color: var(--accent-cyan);
	border-radius: .3rem;
	color: var(--bg-deep);
	padding: .9rem .7rem;
	transition-duration: .2s;
	font-family: var(--font-mono);
	font-weight: 700;
}

.pagination a:hover {
	background-color: var(--accent-green);
	color: var(--bg-deep);
	text-decoration: none;
}

.pagination span:first-letter,
.pagination a:first-letter {
	text-transform: uppercase;
}

.p_first,
.p_prev,
.p_current,
.p_next,
.p_last {
	display: inline-block;
}


/* ------- Article ------- */

article:after {
	display: block;
	content: "";
	clear: both;
}

.article {
	background-color: rgba(15, 23, 42, 0.7);
	/* Translucent dark background */
	backdrop-filter: blur(4px);
	border: 1px solid rgba(6, 182, 212, 0.2);
	border-radius: 12px;
	padding: 3rem;
	margin-bottom: 4rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(6, 182, 212, 0.05);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.article:hover {
	border-color: rgba(6, 182, 212, 0.4);
}

.article header {
	margin-top: 2rem;
}

.article header div {
	margin: 0;
}

.article header h2,
.article header h2 a {
	font-family: var(--font-mono);
	color: var(--text-primary);
	font-size: 3.2rem;
	line-height: 1.2em;
	letter-spacing: -1px;
	font-weight: bold;
	margin: 0;
}

.article header h2 a:hover {
	color: var(--accent-cyan);
	text-decoration: none;
}

.article header small,
.comment small {
	color: #9EABB3;
}

.article header span:before,
.article header time:before,
.article footer span:before {
	padding-left: 1.5rem;
	padding-right: .3rem;
}

.article .art-date {
	font-size: 1.5rem;
	font-weight: bold;
	color: #9EABB3;
}

.article .written-by {
	font-weight: bold;
}

.article .written-by:after {
	content: '|';
	padding-left: 0;
}

.article .classified-in:after {
	content: '|';
	padding-left: 0;
}

.article img.art_thumbnail {
	padding: 30px 15px 15px 0;
	float: left;
}

.page.mode-article .article footer {
	border-top: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
}

/* ------- Comments ------- */

#form {
	border-top: 130px solid transparent;
	margin: -130px 0 0;
}

.comment {
	background-image: url('../img/user.png');
	background-repeat: no-repeat;
	margin-bottom: 2.5rem;
	padding-left: 6rem;
	border-top: 100px solid transparent;
	margin-top: -100px;
}

.comment blockquote {
	margin: 0;
	font-size: 1.3rem;
}

.type-admin {
	background-color: #F0F8FF;
	padding: .2rem .5rem;
}

.nbcom {
	background-color: #258fd6;
	border-radius: .3rem;
	color: #fff;
	padding: .4rem .6rem;
}

.nbcom:hover {
	background-color: #3a6c96;
	color: #fff;
	text-decoration: none;
}

.level-0 {
	margin-left: 0;
}

.level-1 {
	margin-left: 5rem;
}

.level-2 {
	margin-left: 10rem
}

.level-3 {
	margin-left: 15rem;
}

.level-4 {
	margin-left: 20rem;
}

.level-5,
.level-max {
	margin-left: 25rem;
}

#id_answer {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #eee;
	width: 100%;
	background: #fafafa;
	display: none;
}

.capcha-letter,
.capcha-word {
	font-weight: bold;
}

.capcha-word {
	background-color: #ddd;
	border-radius: .3rem;
	letter-spacing: .5rem;
	padding: .9rem .7rem;
	transition-duration: .2s;
}

.capcha-word:hover {
	background-color: #666;
	color: #fff;
	transition-duration: .2s;
}

/* ------- Sidebar ------- */

.aside {
	padding: 0 2rem 0 2rem;
}

.aside h3 {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 5rem;
	text-transform: uppercase;
	color: var(--accent-cyan);
	border-bottom: 1px solid rgba(6, 182, 212, 0.2);
	display: inline-block;
}

.aside ul {
	margin: 0;
}


/* --------- tags ---------- */

.aside ul.tag-list {
	list-style-type: none;
	padding: 0;
}

.aside ul.tag-list li {
	display: inline-block;
}

.aside ul.tag-list li a {
	padding: 0 0.5rem 0 0;
}

.aside ul.tag-list li a.active {
	font-weight: bold;
	background-color: #68838b;
	color: #fff;
	padding: 0 0.5rem 0 0.5rem;
}

/* https://www.w3schools.com/colors/colors_trends.asp (The 10 Hottest Fall Colors for 2016) */

.tag-size-1 a {
	font-size: 1.0rem;
	/* Riverside  */
	color: #4C6A92;
}

.tag-size-2 a {
	font-size: 1.2rem;
	/* Airy Blue  */
	color: #92B6D5;
}

.tag-size-3 a {
	font-size: 1.4rem;
	/* Sharkskin  */
	color: #838487;
}

.tag-size-4 a {
	font-size: 1.6rem;
	/* Bodacious */
	color: #B76BA3;
}

.tag-size-5 a {
	color: #AF9483;
	/* Warm Taupe */
	font-size: 1.8rem;
}

.tag-size-6 a {
	color: #AD5D5D;
	/* Dusty Cedar */
	font-size: 2.0rem;
}

.tag-size-7 a {
	font-size: 2.2rem;
	/* Lush Meadow */
	color: #006E51;
}

.tag-size-8 a {
	font-size: 2.4rem;
	/* Spicy Mustard */
	color: #D8AE47;
}

.tag-size-9 a {
	font-size: 2.6rem;
	/* Potter's Clay */
	color: #9E4624;
}

.tag-size-10 a {
	font-size: 2.8rem;
	/* Aurora Red */
	color: #B93A32;
}

.tag-size-11 a {
	font-size: 3.0rem;
	/* Snorkel Blue */
	color: #034F84;
}

/* ---------- Footer ---------- */

.footer {
	background: transparent;
	color: var(--text-muted);
	padding: 6rem 0;
	text-align: center;
	font-size: 1.2rem;
	border-top: 1px solid rgba(6, 182, 212, 0.1);
}

.footer p {
	margin: 0;
}

.footer a:hover {
	text-decoration: none;
}

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

	.logo {
		/* Removed pluxml-logo-black.png background */
		height: 12rem;
		padding-left: 0;
		margin-left: 0;
	}

	.heading-small {
		font-size: 3rem;
	}
}

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

	.heading-small {
		font-size: 2.5rem;
	}
}

@media (max-width: 767px) {
	.header {
		position: sticky;
		top: 0;
	}

	.header:hover .grid {
		overflow: unset
	}

	.header div.grid {
		overflow: unset;
		/* fix hidden sub-menu */
	}

	.logo {
		padding-left: 0;
		margin-left: 0;
	}

	.heading-small {
		line-height: .5;
		margin-bottom: .5rem
	}

	.header a:hover {
		color: #eee;
	}

	.header h1 * {
		font-size: 1.61rem;
	}

	.header h2 {
		font-size: 1.23rem;
	}

	.header,
	.footer {
		padding: 1rem 0;
	}

	.aside {
		padding-left: 1.5rem;
	}

	.nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 4;
		/* responsive slide is in 3 */
		height: auto;
		max-height: 80%;
		overflow-y: auto;
		text-align: left;
		margin-top: 0;
		z-index: 10;
		border-radius: 1rem;
		background-color: #fff;
	}

	.nav>.container {
		padding: 0;
	}

	ul.menu {
		padding: 0 0.5rem 0.5rem 2rem;
	}

	.menu li {
		background: #efefef;
	}

	.menu li:hover {}

	.menu>li span::before {
		/* sub menu icon */
		margin-left: -1.5rem;
	}

	.responsive-menu label {
		background-color: transparent;
		color: #333;
		font-size: 2.6rem;
		text-align: right;
	}

	.responsive-menu label:after {
		content: '\2630';
	}

	.responsive-menu label>span {
		font-size: 1.6rem;
	}

	.menu>li ul {
		position: relative !important;
		border-bottom: 0px solid transparent;
	}

	.menu>li ul li:hover {
		background-color: #fff;
	}

	.menu>li ul li:hover a {
		/*		text-decoration: underline; */
	}

	ul.menu li.active a,
	ul.menu li.active:hover,
	ul.menu li,
	ul.menu li:hover {
		background-color: #fff;
		/*		color: #000;*/
	}

	.comment {
		background-image: none;
		padding-left: 0;
	}

	.level-1 {
		margin-left: 1rem;
	}

	.level-2 {
		margin-left: 2rem;
	}

	.level-3 {
		margin-left: 3rem;
	}

	.level-4 {
		margin-left: 4rem;
	}

	.level-5,
	.level-max {
		margin-left: 5rem;
	}
}

@media (max-width: 463px) {
	.header {
		height: 7rem;
	}

	.logo {
		padding-left: 0;
		margin-left: 0;
		height: 6rem;
	}

	.heading-small {
		font-size: 3rem;
	}

	.nav {
		padding-top: 0rem;
	}

	ul.menu {
		margin: 0 0.75rem .25rem 0.25rem;
		border-radius: 1rem;
		border: #258fd6 solid 1px;
	}

	.header h1 * {
		font-size: 1.23rem;
	}

	.header h2 {
		font-size: 1rem;
	}

	.bg {
		height: 100px;
	}

	.static.group,
	.static.menu a {
		padding: 0;
	}
}