
	/* Page Organization: */

/* Html ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	html {
		overflow-y:scroll; }

/* ____________________________________________________________________________/ }}}1 */
/* Body (contains: ¹ top-panel, ² page-title, ³ content) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	body {
		display: flex;
		flex-direction: column;
		align-items: center;
  		justify-content: center;

		color: #222;
		font-size: 125%;
		font-family: monospace;
		line-height: 1.2;
		background-color: #EEE;
		margin: 0 auto; }

/* ____________________________________________________________________________/ }}}1 */
/* > Top Panel ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

/*
	<header> .site-top-panel
	<nav> .site-nav
		<div> .logo-and-checkbox-container
			<a> .logo
			<input type="checkbox"/>
		<ul> .main-menu
			<li>
				<a>
			<li>
				<a>
			...
*/

/* ■ Desktop ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{2 */

	.site-top-panel {
		display: flex;
		align-items: center;
  		justify-content: center;
		background: #CCC;
		border-bottom: 2px solid #AAA;
		width: 100%;

		.site-nav {
			display: flex;
			align-items: center;
			justify-content: space-between;
			width: 100%;
			max-width: 52rem;
			margin-left: 1rem;
			margin-right: 1rem;

			a.logo {
				display: inline-block;
				white-space: nowrap;
				color: #444;
				font-weight: bold;
				background: #aaa;
				border-radius: 10px;
				text-decoration: none;
				margin-top: 0.25rem;
				margin-bottom: 0.25rem;
				padding: 0.5rem; }

			a.logo:hover {
				background: #ddd;
				text-decoration: underline; } 

			input {
				display: none; }

			.main-menu {
				display: flex;
				list-style: none;
				margin: 0;
				padding: 0; }

			ul li a {
				color: #444;
				display: flex;
				text-decoration: none;
				font-weight: bold;
				padding: 0.5rem 0.75rem;
				margin-top: 0.25rem;
				margin-bottom: 0.25rem;
				border-radius: 10px; }

			ul li a:hover {
				background: #ddd;
				text-decoration: underline #444; } } }

/* _______________________________________________________________________/ }}}2 */
/* ■ Mobile ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{2 */

	@media screen and (max-width: 30rem) {

		.site-top-panel {

			.site-nav {
				display: flex;
				flex-direction: column;

				.logo-and-checkbox-container {
					display: flex;
					flex-direction: row; 
					margin-top: 3px;
					margin-bottom: 3px;
					justify-content: space-between;
					min-width: 200px;
					width: 100%;

					input {
						border: solid 10px black;
						width: 30px;
						height: 30px;
						margin: 5px;
						display: block; }

					input::before {
						position: absolute;
						font-family: monospace;
						transform: translateX(-42px);
						color: #444;
						content: "Show Menu↓"} }

				.main-menu {
					display: none; }

				ul li a {
					padding: 0.5rem 0.75rem;
					margin: 0rem;
					border-radius: 10px; }

				.logo-and-checkbox-container:has(input:checked) ~ .main-menu {
					width: 100%;
					border-top: 2px solid #444;
					margin: 10px;
					margin-bottom: 2px;
					margin-top: 5px;
					display: flex;
					justify-content: center;
					align-items: center;
					flex-direction: column; } } } }

/* _______________________________________________________________________/ }}}2 */

/* ____________________________________________________________________________/ }}}1 */
/* > Breadcrumbs ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	body #breadcrumbs {
		display: flex;
		justify-content: left;
		margin: 0.5rem;
		font-size: 0.7rem;
		font-style: italic;
		width: 100%;
		max-width: 53rem;
		flex-wrap: wrap;
  		justify-content: left;
		align-items: left;

		ul {
		  list-style: none; /* Remove default list styling */
		  padding: 0;
		  margin: 0;
		  display: flex; /* Display list items in a row */
		}

		li {
		  display: flex;
		  align-items: center;
		}

		li:first-child {
		  display: none;
		}

		li:last-child {
		  visibility: hidden;
		}

		li:not(:last-child):not(:nth-last-child(2))::after {
		  content: " ▹ ";
		  padding: 0 0.25rem; /* Optional: spacing around the separator */
		}
	}
	

/* ____________________________________________________________________________/ }}}1 */
/* > Page Title ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.page-title {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 50rem;
  		justify-content: center;
		align-items: center;

		h1 {
			background: none;
			width: 100%;
			max-width: 80%;
			padding: 0.5rem 0rem;
			text-align: center;
			margin: 0.8rem 0rem;
			border-bottom: 3px solid; }

		h2 {
			border: none;
			background: none;
			font-size: 1rem;
			font-style: italic;
			width: 100%;
			max-width: 80%;
			text-align: center;
			font-weight: 200;
			margin: 1rem 0rem;
			margin-top: 0rem; } }

/* ____________________________________________________________________________/ }}}1 */
/* > Content ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.content {
		background-color: #FFF;
	  	border: 1px solid #AAA;
		width: -webkit-fill-available;
		max-width: 50rem;
	  	border-radius: 10px;
		margin-top: 1rem;
		margin-left: 1rem;
		margin-right: 1rem;
	  	padding: 1rem;

		> *:first-child {
			margin-top: 0rem; } }


	@media screen and (max-width: 30rem) {

		.content {
			margin-left: 0rem;
			margin-right: 0rem;
			border-radius: 0px;
			border: none;
			border-top: 1px solid #AAA;
			border-bottom: 1px solid #AAA; } }

/* ____________________________________________________________________________/ }}}1 */

	/* Entities: */

/* Headers h1..h6 ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.content { 

		h1 {
			border-bottom: 4px solid;
			background-color: #CCC;
			padding-left: 0.4rem; }

		h2,h3,h4,h5,h6 {
			border-bottom: 2px solid;
			background-color: #DDD;
			padding-left: 0.4rem; }

		h1:before {
			content: "§ ";
			font-size: 0.8rem;
			vertical-align: 90%; }

		h2:before {
			content: "§§ ";
			font-size: 0.7rem;
			vertical-align: 55%; }

		h3:before {
			content: "§§§ ";
			font-size: 0.6rem;
			vertical-align: 50%; } }


/* ____________________________________________________________________________/ }}}1 */
/* Lists ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	ul {
		padding-left: 1.2rem; }

	ol {
		padding-left: 1.67rem; }


	li {
		padding-left: 0rem;
		margin-bottom: 0.2rem;
		margin-top: 0.2rem; }

/* ____________________________________________________________________________/ }}}1 */
/* Links ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	a {
		text-decoration: #CCF underline;
		color: #11D; }

	a:hover {
		text-decoration: underline;
		background: #DDDDFF;
		border-radius: 3px; }

/* ____________________________________________________________________________/ }}}1 */
/* Blockquotes ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	blockquote {
		border-left: 2px solid #777;
		padding-left: 0.5rem;
		border-radius: 5px;
		background-color: #EEE;
		margin-left: 1px;
		margin-right: 0rem;
		padding-right: 0.5rem;

		> *:first-child {
			padding-top: 0.3rem; }

		> *:last-child {
			padding-bottom: 0.3rem; } 


		blockquote {
			background-color: #DDD; }

		details summary {
			background: #DDD }

		.fig-block figure {
			background-color: #DDD;
			border-color: #BBB; } }

/* ____________________________________________________________________________/ }}}1 */
/* [Shortcode] Collapsible (via <details>/<summary>) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

/*	<details>
		<summary>
		<div class="details-content>
			<p>
			<img>
			..

	• summary is «header» and is always visible
	• details hides everything after <summary> when collapsed
*/

	details[open] {}
	/* display: flex; */

	details {
		margin-top: 1rem;
		margin-bottom: 1rem;

		summary {
			background: #EEE;
			padding-left: 0.5rem;
			padding-right: 0.5rem;
			width: fit-content;
			border-bottom: 2px solid #AAA;
			border-radius: 5px; }

		.details-content {
			border-left: 3px solid #222;
			padding-left: 1rem;
			margin-left: 0.25rem;
			margin-top: 0rem;
			padding-top: 0.01rem;
			padding-bottom: 0.01rem;
			border-radius: 0px 0px 5px 5px; } 

		summary:hover {
			cursor: pointer;
			color: #777; 

			+ .details-content {
				border-left: 3px solid #777; } } }


/* ____________________________________________________________________________/ }}}1 */
/* [Shortcode] Callout ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */
/*
	<div id="callout">
		<div id="emoji">
	  	<div id="content">
*/

	.callout {
		display: flex;
		flex-direction: row;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		margin-top: 1rem;
		margin-bottom: 1rem;
		border: solid 2px lightgray;
		border-radius: 5px;

		.callout-emoji {
			padding-left: 0.5rem;
			padding-right: 0.5rem; }

		.callout-content {
			flex: 1;
			padding-left: 0.5rem; } }

/* ____________________________________________________________________________/ }}}1 */
/* [Shortcode] Columns ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.columns-container {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0rem 1rem;
		padding: 0rem;
		margin: -1rem 0rem;
	}

/*
	.columns-container > .column:not(:first-child) {
		border-left: dashed 2px #CCC;
		padding-left: 0.5rem;
	}
*/

    .columns-container .column {
        flex: 1 3;
        margin: 0rem 0rem;
        padding: 0rem;
        min-width: 200px;
        max-width: 100%;
    }

/* ____________________________________________________________________________/ }}}1 */
/* Folder (via <details>/<summary>) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

/*	<details class="folder">
		<summary>
		<div class="details-content>
			<p>
			<img>
			..

	• summary is «header» and is always visible
	• details hides everything after <summary> when collapsed
*/
	details.folder {
		margin-top: 1rem;
		margin-bottom: 1rem;

		summary {
			background: #EEA;
			padding-left: 0.5rem;
			padding-right: 0.5rem;
			width: fit-content;
			border-bottom: 2px solid #AA6;
			border-radius: 5px;
		}

		summary::marker {
			content: "📁";
		}

		summary:hover::marker {
			content: "🗁";
		}

		.details-content {
			border-left: 3px solid #222;
			padding-left: 1rem;
			margin-left: 0.25rem;
			margin-top: 0rem;
			padding-top: 0.01rem;
			padding-bottom: 0.01rem;
			border-radius: 0px 0px 5px 5px;
		} 

		summary:hover {
			cursor: pointer;
			color: #777; 

			+ .details-content {
				border-left: 3px solid #777;
			}
		}
	}


/* ____________________________________________________________________________/ }}}1 */

/* Table ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	table:not(.lntable) {
		align-items: center;
  		justify-content: center;

		th {
			border-bottom: 1px solid;
			padding: 0.2rem 0.5rem;
			background-color: #DDD; }

		td {
			background-color: #EEE;
			padding: 0.2rem 0.3rem; } }


/* ____________________________________________________________________________/ }}}1 */
/* Pre(formated) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.content > pre code {
		background-color: #e7e;
		padding: 0.2rem 0.5rem;
		border-radius: 5px; }

/* ____________________________________________________________________________/ }}}1 */
/* Code Inline ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	code:not(pre code) {
		display: inline-block;
		background-color: #dff;
		border-radius: 3px;
		border: 1px solid #9bb;
		padding-left: 0.2rem;
		padding-right: 0.2rem; }


/* ____________________________________________________________________________/ }}}1 */
/* Code Block (langs syntax coloring) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	div.chroma {
		background-color: #dff;
		margin-right: 0.5rem;
	}

	tr > .lntd:first-child {
		background-color: #add;
		border-right: 1px solid #699;
		padding: 0.2rem 0.4rem;
	}

	pre.chroma {
		margin: 0rem;
	}

	code.language-hy[data-lang="hy"],
	code.language-python[data-lang="python"],
	code.language-haskell[data-lang="haskell"],
	code.language-mathematica[data-lang="mathematica"] {
		/* hy and python: */
		.k  {color: #339; font-weight: bold;} ;		/* head-keywords */
		.nb {color: #838; font-weight: bold;} ;		/* keywords */
		.p  {color: #579; } ;						/* parenthesis? */
		.nf {color: #518; font-weight: bold;} ;		/* methods? */
		.kd {color: #753; } ;						/* local vars? */
		.nv {color: #753; } ;						/* local vars? */
		.s ,
		.s1,
		.s2 {color: #667; } ;						/* strings */
		.mi {color: #931; font-weight: bold;} ;		/* numbers */
		.o  {color: #937; font-weight: bold;} ;		/* operators? */
		.c  {color: #373; font-style: italic;};		/* comments */
		/* haskell: */
		.sc {colro: #667; } ;						/* single-character string */
		.se {color: #967; } ;						/* string-escape */
		.kt {color: #339; font-weight: bold;} ;		/* ? */
		.kr {color: #339; font-weight: bold;} ;		/* ? */
		.nf {color: #838; font-weight: bold;} ;		/* ? */
		.ow {color: #935; font-weight: bold;} ;		/* ? */
		.c1 {color: #373; font-style: italic;};		/* comments */
	}

/* ____________________________________________________________________________/ }}}1 */

/* [Render-Hook] Images ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

/*Image (via pups-render-hook):
	
	<div class="fig-block"
		<a> is rendered if image is made clickable via md
			<figure>
				<img alt=... title=...>
				<figcaption>
					<p>


*/

	li > .fig-block {
		justify-content: left;
		margin: 0.2rem 0rem;
	}

	.fig-block {
		display: flex;
  		justify-content: center;
		align-items: center;
		margin: 0px;
		padding: 0px;
		margin: 1rem 0rem;

		a:hover {
			
			figure {
				background: #DDDDFF;
				border-left: 2px solid #11D;
				border-right: 2px solid #11D; 

					figcaption p {
						text-decoration: #CCF underline;
						color: #11D; } } } 

		figure {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			border-left: 2px solid #CCC;
			border-right: 2px solid #CCC;
			background-color: #EEE;
			border-radius: 5px;
			width: fit-content;
			padding: 0.4rem;
			margin: 0rem 0rem;

			img {
				max-width: 100%;
				border-radius: 3px; }

			figcaption p {
				margin-top: 0.4rem;
				margin-bottom: 0rem;
				font-style: italic;
				color: #888;
				text-align: center; } } }

/* ____________________________________________________________________________/ }}}1 */
/* [Shortcode] Video (via <video>/<source>) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

/*	<div class="vid-block"
  		<div class="vid-and-caption-container"
			<video class="video-de-shortcode">
				<source src=...>
				text when vid-load error
			<div class="vid-caption">
*/

	.vid-block {
		display: flex;
		width: 100%;
		flex-direction: column;
		align-items: center;
  		justify-content: center;

		.vid-and-caption-container {
			border-left: 2px solid #CCC;
			border-right: 2px solid #CCC;
			border-radius: 5px;
			background-color: #EEE;
			padding: 0.4rem;
			margin: 0rem 0rem;
			width: fit-content;

			video {
				width: fit-content;
				width: 100%;
				height: auto;
				display: flex;
				justify-content: center;
				align-items: center;
				margin: 1rem 0rem;
				max-width: 100%;
				border-radius: 0px;
				padding: 0rem;
				margin: 0rem; }

			.vid-caption {
				margin-top: 0.4rem;
				margin-bottom: 0rem;
				font-style: italic;
				color: #888;
				text-align: center; }} }


/* ____________________________________________________________________________/ }}}1 */
/* [Shortcode] pdf embed ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	embed[type="application/pdf"] {
		width: 100%;
		height: 45rem;
		border: 2px solid #444;
		border-radius: 5px; }

/* ____________________________________________________________________________/ }}}1 */

	/* Other */

/* [JS] Katex ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	.katex {
		font-size: 1.0em; }

/* ____________________________________________________________________________/ }}}1 */
/* youtube ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\ {{{1 */

	/* not working lol */
	iframe {
		border: 1px solid #999; }

/* ____________________________________________________________________________/ }}}1 */

