:root {
	--pageWidth:                  1200px;
	--navWidth:                   80px;
	--adColWidth:                 224px;
	--headerHeightMax:            200px;
	--headerLogoHeightMax:        90px;
	--headerLogoWidthMax:         110px;
	--headerLogoHeightMin:        30px;
	--headerLogoWidthtMin:        40px;
	--shrink-size:                1;
	--footerHeigth:               auto;
	--HeaderSize:                 6rem;
	--fontSizeBigger:             2.6rem;
	--fontSizeBig:                2.2rem;
	--fontSize:                   2.0rem;
	--fontSizeSmall:              1.8rem;
	--fontSizeSmaller:            1.6rem;

	--customerColor:            #dcb188;
	--customerColor1:           #43413F;
	--customerColor2:           #8ca12a;
	--customerColor3:           #2e4a99;
	--customerColor4:           #5A101F;
	--customerColor5:           #802638;
	--customerColor6:           #C3232F;

	--variantColor1:            #212121;
	--variantColor2:            #312D2B;
	--variantColor3:            #43413F;
	--variantColor4:            #dcb188;
	--variantColor5:            #fef2ea;

	--headerBgColor:            #fff;
	--navBgColor:                 var(--variantColor1);
	--iconColor:                  var(--customerColor5);
	--iconMenuColor:              var(--customerColor);
	--iconShareColor:             var(--customerColor);
	--iconPrevNextColor:          var(--customerColor);
	--headLinkColor:              #000;
	--menuHeadColor:              var(--customerColor1);
	--menuTextColor:            #fff;
	--menuLinkColor:            #fff;
	--tocPartColor:               var(--customerColor);
	--tocLinkColor:             #fff;
	--contentHeaderColor:         var(--variantColor2);
	--contentLeadColor:           var(--variantColor2);
	--contentQuoteColor:          var(--customerColor5);
	--contentTextColor:           var(--variantColor2);
	--contentTextColorLight:      var(--variantColor3);
	--contentTextColorDark:       var(--variantColor1);
	--contentLinkColor:           var(--customerColor3);
	--contentBoxBgColor:          var(--variantColor5);
	--contentBoxTextColor:        var(--variantColor1);
	--contentBoxBgColorB:         transparent;
	--contentBoxTextColorB:       var(--variantColor1);
	--contentBoxBgColorC:         var(--customerColor1);
	--contentBoxTextColorC:       var(--variantColor1);
	--contentBoxBgColorF:         var(--variantColor5);
	--contentBoxTextColorF:       var(--variantColor1);

	--footerBgColor:              var(--variantColor1);
	--footerTextColor:            var(--variantColor5);

	--canvasText:                 Aeonik, sans-serif;
	--contentText:                Aeonik, sans-serif;
	--contentHeading:             Aeonik, sans-serif;
	--contentSans:                Aeonik, sans-serif;
	--contentSerif:               'Noto Serif', serif;
	--contentBoxText:             Aeonik, sans-serif;
	--contentQuoteText:           'Noto Serif', serif;
	--dividor:                  #666;

	--main-color:                 #b5ddec;
	--complementary-color:        #b5ddec;
	--complementarylight-color:   #b5ddec;
	--complementarylighter-color: #b5ddec;
	--tablehead-color:            #b5ddec;
	--tableborder-color:          #b5ddec;
	--tablestripe-color:          #b5ddec;

	--str-advertisement: 'advertisement:';
}


html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0;}
ul{list-style:none;}
button,input,select,textarea{margin:0;}
html{box-sizing:border-box;min-height: 100%;font-size: 62.5%;}
*,*:before,*:after{box-sizing:inherit;}
img,embed,iframe,object,audio,video{max-width:100%;}
iframe{border:0;}
table{border-collapse:collapse;border-spacing:0;}
td,th{padding:0;text-align:left;}
:focus:not(:focus-visible) {outline:none;}

@font-face {
	font-family: 'Aeonik';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('../font/Aeonik.woff2') format('woff2');
}
@font-face {
	font-family: 'Aeonik';
	font-style: italic;
	font-weight: normal;
	font-display: swap;
	src: url('../font/AeonikItalic.woff2') format('woff2');
}
@font-face {
	font-family: 'Aeonik';
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: url('../font/AonikBold.woff2') format('woff2');
}
@font-face {
	font-family: 'Aeonik';
	font-style: italic;
	font-weight: bold;
	font-display: swap;
	src: url('../font/AeonikBoldItalic.woff2') format('woff2');
}

@font-face {
	font-family: 'Noto Serif';
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('../font/Noto\ Serif.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Noto Serif';
	font-style: italic;
	font-weight: 100 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('../font/Noto\ Serif\ Italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html.menuOpen,
html.menuOpen body {
	overflow: hidden;
	height: 100%;
}
body {
	font-size: 14px;
	font-size: 1.4rem;
	font-family: var(--canvasText);
	line-height: 1.4;
}
a {
	text-decoration: none;
	color: var(--contentLinkColor);
}
sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}
sub { top: 0.4em; }

/* icons */
svg.icon {
	display: inline-block;
	width: 25px;
	height: 25px;
	fill: var(--iconColor);
	vertical-align: text-top;
	&.huge {
	width: 48px;
	height: 48px;
	}
	&.large {
	width: 36px;
	height: 36px;
	}
	&.small {
	width: 14px;
	height: 14px;
	}
}
button .icon {
	cursor: pointer;
}
button:focus,
svg.icon:focus,
a:focus {
	outline: var(--customerColor) dotted 1px;
}

#maingrid {
	display: grid;
	grid-template-columns: var(--navWidth) minmax(0, 1fr) minmax(300px, var(--pageWidth)) minmax(0, 1fr) 320px;
	grid-template-rows: var(--headerHeightMax) 1fr var(--footerHeigth);
	grid-gap: 0 0;
	grid-template-areas:
		"nav header header header header"
		"nav . main . aside"
		"nav footer footer footer footer"
	;
	background-color: #fff;
	& > nav#maiNav {
		grid-area: nav;
	}
	& > header {
	grid-area: header;
	}
	& > main {
		grid-area: main;
	}
	& > aside{
		grid-area: aside;
			& .stick {
			position: sticky;
			top: 40px;
			margin: 40px 0 0 30px;
		}
	}
	& > footer {
		grid-area: footer;
	}
}

nav#maiNav {
	background-color: var(--navBgColor);
	color: var(--menuTextColor);
	& .stick {
		position: sticky;
		top: 50px;
		z-index: 666;
		a {
			color: var(--menuLinkColor);
			&:hover {
				text-decoration: underline;
			}
		}
		& input[type="checkbox"] {
			width: 1px;
			height: 1px;
			visibility: hidden;
		}
		& label {
			display: flex;
			flex-direction: column;
			flex-wrap: nowrap;
			align-content: center;
			align-items: center;
			user-select: none;
			margin: 10px 0 90px 0;
			cursor: pointer;
			& svg {
				fill: var(--customerColor2);
				margin: 0 8px;
			}
			&.toggleMenu {
				& .icon.cross {
					display: none;
				}
				& div {
					font-size: var(--fontSize);
				}
			}
			&.toggleToc div.vertical {
				padding-top: 1em;
				writing-mode: vertical-rl;
				text-transform: uppercase;
				font-size: 28px;
				font-weight: 200;
				& span {
				color: var(--customerColor2);
				}
			}
			&.toggleToc div.normal {
				display: none;
				font-size: var(--fontSize);
			}
		}
	}
	& #toggleMenu:checked {
		&~ label.toggleMenu svg {
			&.icon.bars {
				display: none;
			}
			&.icon.cross {
				display: unset;
			}
		}
		&~ #sidemenu {
			display: unset;
		}
	}
	& #toggleToc:checked {
		&~ label.toggleToc svg {
			transform: rotate(180deg);
		}
		~ #menu {
			display: unset;
		}
	}
	& #sidemenu,
	& #menu {
		position: fixed;
		top: 0;
		left: var(--navWidth);
		display: none;
		width: calc(100vw - 50px);
		height: 100vh;
		padding: 5%;
		background-color: var(--variantColor2);
		font-size: var(--fontSizeSmall);
		overflow-y: auto;
		& > button {
			position: fixed;
			top: 40px;
			right: 40px;
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 1em;
			padding: 10px;
			border: none;
			background-color: transparent;
			color: var(--variantColor5);
			& svg {
				fill: var(--variantColor5);
			}
		}
		& > h2 {
			margin-bottom: 2em;
			text-transform: uppercase;
			font-size: 28px;
			font-weight: 200;
			& span {
				color: var(--customerColor2);
			}
		}
		& ul {
			column-width: 333px;
			column-gap: 20px;
			& h2 {
				margin-bottom: .25em;
				font-size: 1.8rem;
				font-weight: 600;
				color: var(--customerColor2);
			}
			& > li {
				break-inside: avoid-column;
				&:has(.mobile){
					display: none;
				}
				& img {
					width: 150px
				}
			}
			& ul {
				margin: 0 0 1.5em 2rem;
				list-style-type: disc;
				color: var(--customerColor2);
				& li {
					margin-bottom: .25em;
				}
			}
		}
	}
}
#maingrid > header {
	display: grid;
	grid-template-columns: subgrid;
	grid-template-areas: ". static . fixed";
	border-bottom: 1px solid #000;
	& nav {
		display: flex;
		align-items: center;
		& a {
			padding-top: 26px;
			font-size: 2.2rem;
			font-weight: 300;
			color: var(--headLinkColor);
			line-height: 1;
			&:hover {
				text-decoration: underline;
			}
		}
		& h1 {
			flex-grow: 1;
			& a {
				margin-left:0 !important;
				& svg {
					width: 100%;
					max-width: 500px;
				}
			}
		}
		&.static {
			grid-area: static;
			justify-content: flex-start;
			padding-left: 40px;
			& a {
				margin: 0 0 0 2em;
			}
		}
		&.fixed {
			grid-area: fixed;
			justify-content: space-evenly;
			& .logo {
				& img {
					min-width: 175px;
				}
			}
		}
	}
	& .text {
		font-size: 0;
	}
}
#maingrid > main {
	display: grid;
	align-content: start;
	margin: 40px 0;
	padding: 0 40px;
	border-right: 1px solid var(--variantColor2);
	&.frontpage {
		display: grid;
		grid-template-columns: repeat(9, 1fr);
		grid-template-rows: auto;
		gap: 40px 0;
		& ul.articles {
			display: contents;
			& li {
				grid-template-columns: subgrid;
				gap: 0 20px;
				&.advertisement {
					display: none;
					padding-top: 40px;
					border-top: 1px solid var(--dividor);
					& img {
						display: block;
						aspect-ratio: unset;
						max-width: 300px;
						margin: 0 auto;
					}
				}
				& a {
					display: contents;
					color: var(--contentTextColor);
					& img {
						aspect-ratio: 1 / 1;
						object-fit: cover;
						width: 100%;
					}
					& .theme  {
						position: relative;
						margin-top: 2em;
						padding-left: 1.25em;
						font-size: 1.7rem;
						text-transform: uppercase;
						&::before {
							position: absolute;
							top: 9px;
							left: 0;
							content: '•';
							font-size: 4rem;
							line-height: 0;
							color: var(--customerColor6);
						}
					}
					& h2 {
						margin: .25em 0 .5em 0;
						font-size: 5rem;
						line-height: 1.2;
					}
					& .lead p,
					& p {
						font-size: 2.5rem;
					}
					& em {
						font-style: normal;
						&.strong {
							font-weight: 600;
						}
						&.italic {
							font-style: italic;
						}
						&.underline {
							text-decoration: underline;
						}
					}
					&:hover {
						& h2 {
							text-decoration: underline;
						}
					}
				}
				&:nth-child(1) {
					grid-column: 1 / 10;
					grid-row: 1 / 2;
					display: grid;
					padding-bottom: 40px;
					border-bottom: 2px solid var(--variantColor1);
					& img {
						grid-column: 5 / 10;
						grid-row: 1 / 2;
					}
					& .text {
						grid-column: 1 / 5;
						grid-row: 1 / 2;
						align-self: center;
						& .theme {
							margin-top: 0;
						}
					}
				}
				&:nth-child(2) {
					grid-column: 1 / 6;
					grid-row: 2 / 4;
				}
				&:nth-child(4) {
					grid-column: 7 / 10;
					grid-row: 2 / 3;
				}
				&:nth-child(5) {
					grid-column: 7 / 10;
					grid-row: 3 / 4;
				}
				&:nth-child(n+4) {
					& img {
						aspect-ratio: 16 / 9;
					}
					& h2 {
						font-size: 2rem;
					}
					& .lead p,
					& p {
						font-size: 1.8rem;
					}
				}
			}
		}
		& section.issues {
			grid-column: 1 / -1;
			grid-row: 4 / 5;
			padding: 20px;
			background-color: var(--variantColor5);
			border: 1px solid var(--variantColor1);
			border-width: 1px 0;
			& h2 {
				margin-bottom: .5em;
				font-weight: 300;
				font-size: 5rem;
			}
			& ul {
				display: grid;
				grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
				gap: 20px;
				& a {
					& img {
						filter: saturate(.7) blur(.5px);
					}
					&:hover {
						img {
							filter: saturate(1) blur(0);
						}
					}
				}
			}
		}
		& section.more {
			grid-column: 1 / -1;
			display: block;
			margin: 0 20px;
			& h2 {
				grid-column: 1 / -1;
				position: relative;
				margin: .5em 0;
				padding-left: .75em;
				font-weight: 300;
				font-size: 5rem;
				&::before {
					position: absolute;
					top: 50%;
					left: -.075em;
					content: '•';
					font-size: 8rem;
					line-height: 0;
					color: var(--customerColor6);
				}
			}
			& ul {
				display: grid;
				grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
				gap: 40px;
				& li {
					& a {
						color: #000;
						& h2 {
							padding: 0;
							font-weight: 600;
							font-size: revert;
							&::before {
								all: unset;
							}
						}
						&:hover {
							& h2 {
								text-decoration: underline;
							}
						}
					}
				}
			}
			& a.morestuff {
				display: block;
				text-align: right;
				margin: 2em 0 0;
				&:hover {
					text-decoration: underline;
				}
			}
		}
	}
	&.issue {
		grid-template-columns: 40% 60%;
			grid-template-areas:
			"feature toc"
		;
		gap: 0px 40px;
		& section {
			& h2 {
				margin-bottom: 1em;
				font-size: 2.8rem;
				font-weight: 300;
				text-transform: uppercase;
				& span {
				}
			}
			&#feature {
				& h2 {
					margin-bottom: 0;
					padding: .5em 0;
				}
				& h3 {
					display: none;
					margin: 1em 0 .5em;
					padding-top: 1em;
					border-top: 2px solid var(--variantColor1);
					font-size: 4.2rem;
					font-weight: 300;
				}
				& a {
					color: var(--contentTextColor);
					& img {
						aspect-ratio: 16 / 9;
						object-fit: cover;
						filter: saturate(.7) blur(.5px);
					}
					&:hover {
						& img {
							overflow: hidden;
							filter: saturate(1) blur(0);
						}
						h4 {
							text-decoration: underline;
						}
					}
				}
				& .theme  {
					position: relative;
					margin-top: .5em;
					padding-left: 1.25em;
					font-size: 1.7rem;
					text-transform: uppercase;
					&::before {
						position: absolute;
						top: 9px;
						left: 0;
						content: '•';
						font-size: 4rem;
						line-height: 0;
						color: var(--customerColor5);
					}
				}
				& h4 {
					margin-bottom: .25em;
					font-size: 2.8rem;
					font-weight: 600;
				}
				& p {
					margin-bottom: 2em;
					font-size: 1.8rem;
				}
				&:has(ul > li) {
					& h3 {
						display: block;
					}
				}
			}
			&#toc {
				margin-right: 40px;
				padding: 40px;
				background-color: var(--variantColor5);
				& h3 {
					font-size: 1.8rem;
					color: var(--customerColor5);
				}
				& ul {
					margin-bottom: 1em;
					& ul {
						list-style-type: disc;
						margin-left: 1.2em;
						color: var(--customerColor3);
						& li {
							margin-top: .5em;
							font-size: 1.8rem;
							& a {
								color: var(--contentTextColor);
								&:hover {
									text-decoration: underline;
								}
							}
						}
					}
				}
			}
		}
	}
	&.year {
		& nav {
			grid-column: 1 / -1;
			& ul {
				display: grid;
				grid-template-columns: repeat(auto-fill, 4em);
				gap: 20px;
				margin: 0 0 2em 0;
				& li {
					font-size: var(--fontSizeBig);
					text-align: center;
					&.active {
						font-weight: bold;
					}
					& a {
						color: var(--contentTextColor);
						&:hover {
							text-decoration: underline;
						}
					}
				}
			}
		}
		& section.issues {
			grid-column: 1 / -1;
			grid-row: 4 / 5;
			padding: 20px;
			background-color: var(--variantColor5);
			border: 1px solid var(--variantColor1);
			border-width: 1px 0;
			& a {
				color: var(--contentTextColor);
				& h2 {
					margin-bottom: .5em;
					font-weight: 300;
					font-size: 5rem;
				}
				& img {
					filter: saturate(.7) blur(.5px);
				}
			}
			& ul {
				display: grid;
				grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
				gap: 20px;
				& a:hover {
					& h2 {
						text-decoration: underline;
					}
					& img {
						filter: saturate(1) blur(0);
					}
				}
				& a.pdf {
					display: flex;
					align-items: end;
					cursor: pointer;
					&:hover {
						text-decoration: underline;
						cursor: pointer;
					}
				}
			}
		}
	}
	&.article, &.page {
		position: relative;
		&::before {
			position: absolute;
			top: 0;
			left: 16%;
			width: 2px;
			height: 100%;
			content: '';
			background-color: var(--variantColor4);
		}
		& #content {
			display: block;
			position: relative;
			margin-left: 25%;
			& blockquote.var-a {
				z-index: 6;
				float: left;
				width: 25%;
				margin-left: -25%;
				padding-right: 40px;
				background-color: #fff;
				border-top: 18px solid #fff;
				&:not(.var-a) {
					float: unset;
					width: unset;
					margin-left: unset;
					padding-right: unset;
				}
			}
			& .persons,
			& aside {
				z-index: 6;
				float: left;
				width: 25%;
				margin-left: -25%;
				padding-right: 40px;
				background-color: #fff;
				border-top: 18px solid #fff;
				& .person {
					padding: 1em 0;
					background-color: #fff;
					& figure {
						display: block;
						margin: 0;
						padding: 0;
						width: 100%;
					}
					& .name {
						font-weight: 600;
						& p {
							hyphens: auto;
						}
					}
				}
			}
			& aside {
				line-height: 1;
			}
			& .person,
			& .persons p,
			& .person p {
				line-height: normal;
				font-size: var(--fontSizeSmaller);
				color: var(--contentTextColorLight);
				& .address {
					display: flex;
					flex-wrap: wrap;
				}
			}
			& .person p {
				margin: .5em 0;
			}
			& .theme,
			& h1 {
				margin-left: -25%;
				background-color: #fff;
			}
			& div.box.var-a {
				background-color: #fff;
			}
			& div.box.var-a,
			& details.var-a {
				margin-left: -25%;
			}
			& div.box.var-b {
				border-color: var(--variantColor4);
				background-color: var(--variantColor5);
			}
			& blockquote.var-a {
				z-index: 6;
				margin-top: -1.45em;
				background-color: #fff;
			}
			& .poem {
				& .verse {
					margin: 1em 0 1em 2em;
				}
				& .origin {
					text-align: right;
					font-style: italic;
					& p {
						font-size: var(--fontSizeSmall);
					}
				}
				& p {
					margin: 0;
					font-family: var(--contentSerif);
				}
			}
			& .meta .theme  {
				z-index: 6;
				position: relative;
				padding: .5em 0 0 1.25em;
				background-color: #fff;
				font-size: 1.7rem;
				text-transform: uppercase;
				& a {
					color: var(--contentTextColor);
				}
				&::before {
					position: absolute;
					top: 18px;
					left: 0;
					content: '•';
					font-size: 4rem;
					line-height: 0;
					color: var(--customerColor6);
				}
			}
			details {
				z-index: 6;
				padding: 0;
				border: none;
				background-color: var(--variantColor5);
				& summary {
					position: relative;
					background-color: var(--variantColor4);
					&::before {
						position: absolute;
						top: 2px;
						left: 0;
						width: 40px;
						height: 40px;
						content: '+';
						background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M458.8,90.8L91.4,458.3c-5.2,5.2-13.8,5.2-19,0l-17.7-17.7c-5.2-5.2-5.2-13.8,0-19L422,54.1c5.2-5.2,13.8-5.2,19,0l17.7,17.7c5.2,5.2,5.2,13.8,0,19Z"/>	<path d="M91.3,54.1l367.5,367.5c5.2,5.2,5.2,13.8,0,19l-17.7,17.7c-5.2,5.2-13.8,5.2-19,0L54.6,90.9c-5.2-5.2-5.2-13.8,0-19l17.7-17.7c5.2-5.2,13.8-5.2,19,0Z"/></svg>') no-repeat center center;
						background-size: 70%;
						color: transparent;
						rotate: 45deg;
					}
					& > :is(h2, h3, h4, h5, h6) {
						display: inline-block;
						margin-left: 3em;
						font-size: var(--fontSizeBigger);
						font-weight: 600;
						font-style: normal;
					}
					& > * {
						display: inline;
						margin: 0;
						padding: .25em .5em;
					}
					&::marker {
						content: '';
					}
				}
				&[open] {
					& summary {
						&::before {
							content: '-';
							rotate: 0deg;
							background-size: 80%;
						}
					}
				}
				& .container {
					margin: 20px;
					border-bottom: 20px solid var(--variantColor5);
					& p {
						margin: 0;
						padding: .5em 1em;
					}
					& :is(h2, h3, h4, h5, h6) {
						margin: 0;
						padding: .5em .8em;
					}
					& ul,
					& ol {
						margin-left: 2.8em;
					}
					& figure {
						padding: 0;
						background-color: transparent;
					}
				}
			}
			& .component {
				margin-bottom: 2em;
				padding: 0 1em 1em;
				border: 1px solid var(--variantColor3);
				&>:is(h2, h3, h4, h5, h6) {
					font-size: calc(var(--fontSize) * 1.8);
				}
			}
			& .lPromp {
				display: block;
				clear: both;
				position: relative;
				margin: 1em 0 3em -25%;
				padding-left: 25%;
				text-align: center;
				&::before {
					position: absolute;
					top: -400px;
					left: 0;
					width: 100%;
					height: 400px;
					content: '';
					background: linear-gradient(0deg, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 100%);
				}
				& .big {
					display: block;
					font-size: var(--fontSizeBigger);
				}
				& .normal {
					font-size: var(--fontSize);
				}
			}
		}
	}
	&.search,
	&.theme {
		& .partitle {
			margin: 20px 0 2rem;
			font-size: var(--fontSizeSmall);
			font-weight: 700;
			text-transform: uppercase;
			color: var(--tocPartColor);
		}
		& nav {
			& form {
				& .inbit {
					display: flex;
					margin: 20px 0;
					padding-bottom: 2px;
					border: 1px solid var(--dividor);
					border-width: 0 0 1px 0;
					& input {
						width: calc(100% - 52px);
						padding: 5px;
						background-color: transparent;
						border: none;
						font-size: var(--fontSize);
						color: var(--contentTextColor);
						outline: none;
						&::placeholder {
							color: var(--contentTextColor);
						}
					}
					& button {
						background: none;
						border: none;
						font-size: 0;
						color: transparent;
						& .icon {
							fill: var(--customerColor);
						}
					}
				}
				& .filter {
					margin-bottom: 20px;
					& ul {
						display: flex;
						justify-content: space-between;
						gap: 10px;
						& li {
							flex-grow: 1;
							padding: 3px 5px 1px 5px;
							text-align: center;
							background-color: var(--customerColor);
							text-transform: uppercase;
							&:has(input:checked),
							&:hover {
								background-color: var(--customerColor4);
								color: #fff;
								text-shadow: 0px 0px 0px #000;
							}
							& input {
								position: fixed;
								opacity: 0;
								pointer-events: none;
							}
							& label {
								display: block;
								cursor: pointer;
							}
						}
					}
				}
			}
		}
		& #result {
			h1 {
				font-size: var(--HeaderSize);
			}
				& nav.filter {
					display: flex;
					flex-wrap: wrap;
					justify-content: space-between;
					gap: 10px;
					padding: 20px 0;
					&.search {
						display: block;
					}
					& > h1 {
						flex-grow: 1;
					}
					& > ul {
						display: contents;
						& li {
							flex-grow: 1;
							margin-top: 0;
							padding: 3px 5px 1px 5px;
							background-color: var(--variantColor4);
							border-radius: 3px;
							text-align: center;
							text-transform: uppercase;
							& a,
							& label {
								margin-bottom: 0;
								padding: 0;
								color: #000;
								&::before {
									display: none;
								}
							}
							&:has(input:checked),
							&.active,
							&:hover {
								background-color: var(--customerColor4);
								& a {
									color: #fff;
								}
								& .count {
									color: #ccc;
								}
							}
							& .count {
								font-size: 80%;
								color: #333;
							}
						}
					}
				}
			.paginator {
				display: flex;
				margin: 30px 0;
				padding: 10px 0;
				border: 1px solid var(--dividor);
				border-width: 1px 0;
				font-size: var(--fontSizeBig);
				font-family: var(--contentSans);
				& span {
					flex-grow: 2;
					display: block;
					text-align: center;
					text-decoration: none;
					color: var(--contentTextColor) !important;
					&.previous,
					&.next {
						flex-grow: 1;
						align-content: center;
						font-size: 0;
					}
					&.current {
						font-weight: 600;
					}
				}
			}
			& > a {
				display: block;
				margin: 0;
				padding: 2em 6em;
				border-top: 1px solid var(--variantColor4);
				background-color: var(--variantColor5);
				color: #000;
				& h2 {
					display: flex;
					justify-content: space-between;
					font-size: calc(var(--fontSize) * 1.4);
					& .issue {
						font-size: var(--fontSizeSmall);
						font-weight: 300;
					}
				}
				& .context {
					font-size: var(--fontSize);
				}
				& .author {
					font-size: var(--fontSizeSmall);
				}
				&:hover {
					h2 {
						text-decoration: underline;
					}
				}
			}
		}
	}
}


#maingrid > footer {
	display: flex;
	justify-content: center;
	gap: 80px;
	padding: 100px 120px 100px 40px;
	background-color: var(--footerBgColor);
	color: var(--footerTextColor);
	& a {
		color: var(--footertext-color);
		text-decoration: underline;
	}
	& .contact {
		& h2 {
			margin-bottom: 1em;
			&:last-of-type {
				margin-top: 2em;
			}
		}
		& address {
			font-style: normal;
		}
	}
	& .login {
		& form {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			grid-template-rows: auto;
			gap: .25em 40px;
			& p,
			& button,
			& .resetpwd {
				grid-column: 1 / -1;
			}
			& input {
				padding: 10px;
			}
			& button {
				padding: 10px;
				text-transform: uppercase;
				background-color: var(--customerColor2);
			}
			& .error {
				&::before {
					content: '⚠️ ';
				}
			}
			& .resetpwd {
				text-align: center;
			}
		}
	}
	& .disclaimer {
		& img {
			display: inline-block;
			height: 50px;
			margin: 1em 20px 0 0;
		}
	}
}

/* common stuff for content */
#content {
	:is(h1, h2, h3, h4, h5, h6) {
		line-height: 1.2;
		font-family: var(--contentSans);
		color: var(--contentHeaderColor);
	}
	h1 {
		font-size: var(--HeaderSize);
		&:has(+ .subtitle) {
			margin-bottom: 0;
		}
	}
	:is(h2, h3, h4, h5, h6) {
		margin-top: 1em;
		font-weight: bold;
	}
	h1 { font-size: var(--HeaderSize, 6rem); }
	h2 { font-size: calc(var(--fontSize) * 1.4); }
	h3 { font-size: calc(var(--fontSize) * 1.3); font-style: italic; }
	h4 { font-size: calc(var(--fontSize) * 1.2); }
	h5 { font-size: calc(var(--fontSize) * 1.1); }
	h6 { font-size: var(--fontSize, 1.8rem) }
	.suptitle {
		font-family: var(--contentSans);
		font-size: var(--fontSize);
		font-weight: 600;
		+ h2 {
			margin-top: 0em;
		}
	}
	.subtitle {
		margin-bottom: 1em;
		font-weight: 600;
		font-size: var(--fontSizeBigger);
	}
	.lead {
		font-family: var(--contentSans);
		p {
			font-size: var(--fontSizeBigger);
		}
	}
	p {
		margin: 1em 0;
		font-size: var(--fontSize);
		&.left { text-align: left; }
		&.center { text-align: center; }
		&.right { text-align: right; }
		&.justify { text-align: justify; }
		&.blank {
			padding-top: 1em;
		}
		&.unindented {
			margin-top: -1em;
		}
		&.question {
			margin-bottom: 0;
		}
		& em {
			font-weight: 300;
			font-style: normal;
			&.strong {
				font-weight: 600;
			}
			&.italic {
				font-style: italic;
			}
			&.underline {
				text-decoration: underline;
			}
		}
		& svg.icon.tombstone {
			width: .9em;
			height: .9em;
			vertical-align: middle;
			margin-left: .1em;
		}
	}
	sup,
	sub {
		vertical-align: baseline;
		position: relative;
		top: -0.4em;
	}
	sub { top: 0.4em; }
	a {
		color: var(--contentLinkColor);
		&:hover {
			text-decoration: underline;
		}
	}
	blockquote {
		margin: 2em 0;
		padding-right: 40px;
		color: var(--contentQuoteColor);
		line-height: 1.2;
		& p {
			font-family: var(--contentQuoteText);
			font-size: var(--fontSizeBig);
			font-style: italic;
			font-weight: 500;
		}
		& .origin p {
			text-align: right;
			font-size: var(--fontSize);
			font-family: var(--fontSerif);
		}
	}
	ol, ul {
		margin-left: 1.2em;
		list-style: initial;
		font-size: var(--fontSize);
	}
	ol {
		&.d {
			list-style: decimal;
		}
		&.a {
			list-style: lower-alpha;
		}
		&.A {
			list-style: upper-alpha;
		}
		&.i {
			list-style: lower-roman;
		}
		&.I {
			list-style: upper-roman;
		}
	}
	ul {
		&.circle {
			list-style: circle;
		}
	}
	table {
		width: 100%;
		margin: .5em 0;
		&.borderless,
		&.var-d {
			margin: 0;
			th, td {
				padding: .25em 0;
				border-width: 0;
				&:not(valign) {
					vertical-align: top;
				}
				& p {
					font-family: var(--fontSerif);
					line-height: var(--contentLineHeight);
				}
			}
		}
		caption {
			margin-bottom: 1em;
			text-align: left;
			font-style: italic;
		}
		th, td {
			vertical-align: middle;
			padding: 5px;
			border: 1px var(--tableborder-color) solid;
			font-family: var(--content-sans), sans-serif;
			font-size: 90%;
			line-height: 1.2;
			&.top {
				vertical-align: top;
			}
			&.middle {
				vertical-align: middle;
			}
			&.bottom {
				vertical-align: bottom;
			}
			& p:first-of-type {
				margin-top: 0 !important;
			}
			& p:last-of-type {
				margin-bottom: 0 !important;
			}
		}
		th {
			background-color: var(--tablehead-color);
		}
	}
	figure {
		display: grid;
		grid-template-columns: repeat(8, 1fr);
		grid-gap: 10px;
		z-index: 6;
		padding: 2em 0;
		background-color: #fff;
		&.w100 {
			&	> *   { grid-column: 1 / span 8; }
			&.var-a {
				margin-left: -25%;
			}
		}
		&.w75 > *    { grid-column: 1 / span 6; }
		&.w50 > *    { grid-column: 1 / span 4; }
		&.w25 > *    { grid-column: 1 / span 2; }
		&.w12½ > *   { grid-column: 1 / span 1; }
		&:not(.textflow) {
			&.center img {
				margin: 0 auto;
			}
			&.center.w100> *  { grid-column: 1 / span 8; /*justify-self: center;*/ }
			&.center.w75> *   { grid-column: 2 / span 6; }
			&.center.w50> *   { grid-column: 3 / span 4; }
			&.center.w25> *   { grid-column: 4 / span 2; }
			&.center.w12½> *  { grid-column: 4 / span 1; }
			&.right.w100 > *  { grid-column: 1 / span 8; justify-self: end; }
			&.right.w75 > *   { grid-column: 3 / span 6; }
			&.right.w50 > *   { grid-column: 5 / span 4; }
			&.right.w25 > *   { grid-column: 7 / span 2; }
			&.right.w12½ > *  { grid-column: 8 / span 1; }
			&.left.w75 figcaption[class^="side-"]   { grid-column: 7 / span 2 !important; grid-row: 1; }
			&.left.w50 figcaption[class^="side-"]   { grid-column: 5 / span 4 !important; grid-row: 1; }
			&.left.w25 figcaption[class^="side-"]   { grid-column: 3 / span 6 !important; grid-row: 1; }
			&.left.w12½ figcaption[class^="side-"]  { grid-column: 2 / span 7 !important; grid-row: 1; }
			&.center figcaption.full-width          { grid-column: 1 / span 8 !important; grid-row: 2; }
			&.right.w75 figcaption[class^="side-"]  { grid-column: 1 / span 2 !important; grid-row: 1; }
			&.right.w50 figcaption[class^="side-"]  { grid-column: 1 / span 4 !important; grid-row: 1; }
			&.right.w25 figcaption[class^="side-"]  { grid-column: 1 / span 6 !important; grid-row: 1; }
			&.right.w12½ figcaption[class^="side-"] { grid-column: 1 / span 7 !important; grid-row: 1; }
			figcaption.side-top { align-self: start; }
			figcaption.side-bottom { align-self: end; }
			figcaption.full-width { grid-column: 1 / span 8 !important; }
		}
		&.table {
			overflow-x: auto;
		}
		&.textflow {
			float: left;
			display: block;
			padding-top: 2em;
			margin-right: 20px;
			&.center {
				margin-left: auto;
				margin-right: auto;
				text-align: center;
			}
			&.right {
				float: right;
				margin-left: 20px;
			}
			&.w75  { width: 75%; }
			&.w50  { width: 50%; }
			&.w25  { width: 25%; }
			&.w12½ { width: 12.5%; }
		}
		h1 {
			font-size: var(--fontSizeBig);
		}
		.title {
			font-family: var(--content-sans);
		}
		figcaption {
			margin-top: .5em;
			padding-left: 2em;
			border-left: 3px solid var(--customerColor6);
			font-family: var(--content-sans), sans-serif;
			line-height: 1.2;
			p {
				margin-bottom: .5em;
				font-size: var(--fontSizeSmall);
				&:last-of-type {
					margin-bottom: 0;
				}
			}
		}
		&.right figcaption { text-align: left; }
		&.center figcaption { text-align: center; }
		.table {
			overflow-x: auto;
			overflow-y: hidden;
		}
		img {
			max-width: 100%;
		}
		& audio {
			width: 100%;
		}
		&:has(table.var-d) {
			padding-top: 0;
		}
	}
	.gallery .cssbox > a {
		font-size: 50px;
		text-decoration: none;
		color: #fff;
	}
	.box {
		margin-bottom: 1em;
		padding: 1em 1em 0;
		border: 1px solid var(--tableborder-color);
		font-family: var(--content-sans);
		&:has(figure.img) {
			display: flow-root;
		}
		&.headless {
			padding: 0 1.5em;
		}
		&.var-c {
			margin: 2em 0;
			padding: 1em 1em 0;
			border-width: 2px 0;
			border-color: var(--customerColor2);
		}
		& > :is(h2,h3,h4,h5) {
			margin-top: 0;
			font-style: normal;
			font-size: calc(var(--fontSize) * 1.4);
		}
		& p:first-child {
			margin-top: 0 !important;
		}
		& section {
			& :is(h2, h3) {
				margin-bottom: -.5em !important;
				font-weight: 400;
				font-style: italic;
			}
		}
		& > section > h2 {
			margin-top: 0;
		}
		& figure {
			background-color: transparent;
		}
	}
	& .footnote {
		cursor: pointer;
		vertical-align: text-top;
		font-family: var(--content-sans);
		font-size: var(--fontSizeSmall);
		vertical-align: top;
		& span {
			display: none;
			vertical-align: middle;
			color: var(--contentTextColorLight);
		}
		&.active {
			background-color: lightgoldenrodyellow;
			span {
				display: inline;
			}
		}
	}
	& .sourcelist {
		margin-top: 3em;
		font-family: var(--content-sans);
		font-size: var(--fontSizeSmall);
		line-height: normal;
		& ol {
			list-style: none;
		}
		& p {
			margin-bottom: .5em;
			text-indent: -1.2em;
			font-size: var(--fontSizeSmall);
			& a {
				word-break: break-all;
			}
		}
	}
	& nav.prevnext {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(4, auto);
		gap: 0 40px;
		margin: 1em 0 40px 0;
		padding-top: 1em;
		border-top: 1px solid var(--dividor);
		font-family: var(--content-sans);
		& a {
			display: contents;
			grid-template-rows: subgrid;
			grid-column: unset !important;
			font-size: var(--fontSizeSmall);
			& label {
				grid-row: 1 / 2;
				margin-left: -25px;
				& svg {
					fill: var(--contentLinkColor);
				}
			}
			& > h3 {
				grid-row: 2 / 3;
				margin: 0 0 .5em 0;
			}
			& > img {
				grid-row: 3 / 4;
				margin-bottom: .5em;
				aspect-ratio: 16 / 9;
				object-fit: cover;
				width: 100%;
				&[src*="placeholder"] {
					outline: 1px solid var(--variantColor3);
					background-color: var(--variantColor4);
					opacity: .5;
				}
			}
			& > .text {
				grid-row: 4 / 5;
				& * {
					font-size: var(--fontSizeSmaller);
					color: var(--variantColor1);
				}
			}
			&.prev > * {
				grid-column: 1 / 2 !important;
			}
			&.next > * {
				grid-column: 2 / 3 !important;
			}
			&.next {
				& label {
					margin-right: -25px;
					text-align: right;
				}
			}
			&:hover {
				& span {
					text-decoration: underline;
				}
				&.prev svg {
					animation: pullAndRelease 0.5s ease-in-out;
				}
				&.next svg {
					animation: pullAndRelease 0.5s ease-in-out reverse;
				}
			}
		}
	}
	& menu.share {
		clear: both;
		display: flex;
		justify-content: space-evenly;
		margin: 20px 0 40px 0;
		padding: 15px 0 0 0;
		& .icon {
			fill: var(--variantColor3);
			&:hover {
				fill: var(--customerColor);
			}
		}
		& a {
			margin-right: 5px;
			font-size: 0;
		}
	}
	& .advertisement {
		display: none;
	}
}
@keyframes pullAndRelease {
	0%   { transform: translateX(0); }
	33%  { transform: translateX(5px); }
	66%  { transform: translateX(-5px); }
	100% { transform: translateX(0); }
}

@media (max-width: 1600px) {
	#maingrid > main {
		&.article, &.page {
			& #content {
				& blockquote {
					p {
						font-size: 1.4vw;
					}
				}
				& nav.prevnext {
					& a {
						& > h3 {
							font-size: clamp(2rem, 1.63vw, 2.6rem);
						}
					}
				}
			}
		}
	}
}
@media (max-width: 1200px) {
	#maingrid > main {
		&.frontpage {
			& ul.articles {
				& li {
					display: block !important;
					grid-column: 1 / -1 !important;
					grid-row: unset !important;
					&.advertisement {
						display: none !important;
					}
				}
			}
		}
		&.issue {
			display: block;
			& section#toc {
				margin-right: 0;
			}
		}
		&.article,
		&.page {
			&::before {
				all: unset;
			}
		}
		&.article {
			& #content {
				margin-left: initial;
				& h1,
				& .theme,
				& .box.var-a,
				& figure.w100,
				& .lPromp {
					margin-left: initial;
				}
				& .box.var-a {
					& .container {
						margin-left: 20px;
					}
				}
				& .lPromp {
					padding-left: 0;;
				}
				& .persons,
				& blockquote {
					float: unset;
					width: unset;
					margin-top: 1em;
					margin-left: unset;
					& p {
						font-size: var(--fontSizeBig);
					}
				}
			}
		}
	}
}

@media (max-width: 960px) {
	#maingrid {
		grid-template-columns: 1fr 100px;
		grid-template-areas:
			"header nav"
			"main main"
			"footer footer"
		;
		& #maiNav {
			height: 100%;
			transition: height .25s ease;
			z-index: 666;
			&:has(input[type="checkbox"]:checked) {
				height: 100vh;
			}
			& .stick {
				position: unset;
				& label {
					margin: 0;
					& svg.icon {
						transform: rotate(180deg);
					}
				}
				& .vertical {
					display: none;
				}
				& .normal {
					display: unset;
				}
				& #sidemenu,
				& #menu {
					left: 0;
					width: calc(100vw - 100px);
					& button.menuclose {
						display: none;
					}
					& li {
						&:has(.mobile){
							display: unset;
						}
					}
				}
				& #toggleToc:checked {
					&~ label.toggleToc svg {
						transform: rotate(0deg);
					}
				}
			}
		}
		& header {
			& nav {
				& h1 {
					padding-right: 2em;
				}
				& > a {
					display: none;
				}
			}
		}
		& main {
			padding: 0 20px;
			border-right: none;
			& #content {
				h1 {
					hyphens: auto;
				}
			}
			&.frontpage {
				& ul.articles {
					& li.advertisement {
						display: block !important;
					}
				}
			}
			&.article {
				& #content {
					& .advertisement {
						display: block;
						border-top: 1px solid var(--dividor);
						& figure {
							display: block;
							& img {
								display: block;
								aspect-ratio: unset;
								max-width: 300px;
								margin: 0 auto;
							}
						}
					}
				}
			}
		}
		& > aside {
			display: none;
		}
		& > footer {
			display: block;
			padding: 20px;
			& .login {
				margin-top: 2em;
				& form {
					gap: 1em 0;
				}
			}
		}
	}
}
