:root {
	--primary: #950101;
	--muted-border-color: #3D0000;
	--font-size: 1rem;
	--primary-hover: #5e0202;
}

[data-theme="dark"] {
	background: #000;
}


::marker {
	color: var(--contrast);
}

html {
	font-size: 16px;
}

body {
	background: #000000;
}


h1,
h2,
h3,
h4,
h5 {
	margin-bottom: 0.5rem;
}


@media(max-width:768px) {

	.hide-mobile {
		display: none !important;
	}

}


@media(min-width:768px) {

	.hide-desktop {
		display: none !important;
	}

}



/*header */

.header {
	background: var(--muted-border-color);
	padding: 1rem 0;
	border-bottom: solid 1px var(--muted-border-color);
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.header-mobile-btn {
	width: 50px;
	height: 50px;
	padding: 0.4rem;
	margin: 0;
}

.header-mobile-btn img {
	width: 100%;
	height: 100%;
	filter: invert(100%)
}


.header-logo {
	margin: 0;
	padding: 0;
	font-size: 1.5rem;
	font-style: italic;
}

.header-grid {
	align-items: center;
}

.header-nav a {
	color: var(--contrast);
}

.header-nav .current a {
	color: #fff;
}


@media(min-width:768px) {

	.header {
		padding: 3rem 0;
	}

}

@media(max-width:768px) {

	.header-grid {
		flex-wrap: wrap;
	}

	.header-nav {
		display: flex;
		flex-direction: column;
		width: 100%;
		padding: 0;
		margin-right: 0 !important;
		margin-left: 0 !important;
		margin-top: 20px;
	}

	.header-nav li {
		width: 100%;
		padding: 8px 0;
		margin: 0;

	}

	.header-nav a {
		width: 100%;
		text-align: center;
		padding: 10px;
		margin: 0;
	}

	.header-nav a[role="button"] {
		margin-left: 0;
		margin-right: 0;
		padding: inherit;

	}

}


/*content and aside */


.content {
	padding: 2rem 0;
	padding-bottom: 0;
}

.content-grid {
	display: grid;
	grid-column: 1fr;
	margin: 2rem 0;
	gap: 1.3rem;
}

@media(min-width:768px) {
	.content-grid {
		grid-template-columns: 9fr 3fr;
	}
}

.content-sidebar ul::marker {
	color: #000;
}

.content-sidebar h2 {
	margin-bottom: 10px;
}


.content-title {
	padding-bottom: 1rem;
	border-bottom: solid 1px var(--muted-border-color);
}

.content-sidebar h2 {
	padding-bottom: 10px;
	border-bottom: solid 1px var(--muted-border-color);
	margin-bottom: 20px;
	display: block;
}


.content-sidebar ul {
	list-style-type: square !important;
	background: var(--primary);
	color: #fff;
	line-height: 1;
	border-radius: 5px;
	list-style-type: square;
}

@media(min-width:768px) {

	.content-sidebar {
		margin-top: 2.7rem;
	}

}

.content-main img {
	margin-bottom: 1.3rem;
	border-radius: 0.2rem;
}


.content-main nav[aria-label="breadcrumb"] li {
	padding: 0 0.5rem;
}

.content-main nav[aria-label="breadcrumb"] a {
	color: var(--muted-color);
}



/*footer */

.footer-grid {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

@media(max-width:768px) {
	.footer-grid {
		flex-direction: column;
	}
}



/*grid variant */


@media(min-width:768px) {

	.content-grid-left {
		grid-template-columns: 3fr 9fr;
	}

	.content-grid-left .content-sidebar {
		order: 1;
	}

	.content-grid-left .content-main {
		order: 2;
	}

	.content-grid-nosidebar {
		grid-template-columns: 1fr;
	}


}


.content-grid-nosidebar .content-sidebar {

	display: none;
}


.nm_tag_list a {
	color: #fff
}

.nm_tag_list {
	padding: 0;
	padding-bottom: 10px;
}

.nm_tag_list li {
	padding: 10px;
	border-bottom: dashed 1px #dddddd50;
	margin-bottom: 10px;
}

.nm_tag_list li:hover {
	border-bottom: dashed 1px #dddddd50;
}

.nm_post_meta a {
	background: var(--primary);
	padding: 5px;
	margin: 5px auto;
	color: #fff;
	border-radius: 0.3rem;
}

.nm_post_meta a:hover {
	background: var(--primary-hover);
	text-decoration: none;
}



.nm_readmore {
	display: block;
	background: var(--primary);
	border-radius: 0.3rem;
	padding: 5px;
	width: 100px;
	margin-top: 10px;
	text-align: center;
}

.nm_readmore a {
	color: #fff !important;
	text-decoration: none !important;
}

.nm_post_back{
	display: block;
	background: var(--primary);
	border-radius: 0.3rem;
	padding: 5px;
	width: 250px;
	margin-top: 10px;
	text-align: center;
}

.nm_post_back a {
	color: #fff !important;
}


 

.nm_post:not(.nm_post_single){
	display: grid;
	grid-template-columns: 2fr 8fr;
	gap:15px;
	align-items: center;
	border-bottom:solid var(--primary-hover) 1px;
	margin-bottom:10px;
}

 

.nm_post_title{
	grid-column: 1/9;
	margin-bottom: 5px;
}

.nm_post_date{
	grid-column: 1/9;
	margin: 0;
	margin-bottom: 5px;
	font-size: 14px;
}

.nm_post_meta{
	font-size:13px;
	grid-column: 1/9;
}


 .lastpost{
	display: none;
}


@media(max-width:768px){

	
	.nm_post:not(.nm_post_single){
	display: grid;
	grid-template-columns:1fr;
	gap:15px;
	align-items: center;
	border-bottom:solid var(--primary-hover) 1px;
	margin-bottom:10px;
}
	
	
.nm_post_title{
	grid-column: 1/2;
	margin-bottom: 5px;
}

.nm_post_date{
	grid-column: 1/2;
	margin: 0;
	margin-bottom: 5px;
	font-size: 14px;
}

.nm_post_meta{
	font-size:13px;
	grid-column: 1/2;
}

 
	
}

#index .lastpost{
	display: flex;
}