/* markdown */
code {
	background: rgba(var(--accent), 0.15);
	color: rgba(var(--accent), 1);
	padding: 0.2em 0.4em;
	border-radius: 4px;
	font-family: "Courier New", monospace;
	font-size: 1em;
	border: 1px solid rgba(var(--accent), 0.3);
}

strong {
	color: rgba(var(--accenttext), 0.8);
	font-weight: 600;
}

sub {
	font-size: 0.8em;
	color: rgba(var(--text), 0.7);
	vertical-align: sub;
}

sup {
	font-size: 0.8em;
	color: rgba(var(--text), 0.7);
	vertical-align: super;
}

pre {
	background: rgba(var(--bg), 0.8);
	border: 1px solid rgba(var(--accent), 0.2);
	border-radius: 6px;
	padding: 1em;
	overflow-x: auto;
	margin: 1em 0;
}

pre code {
	background: none;
	border: none;
	padding: 0;
	color: rgba(var(--text), 0.9);
}

blockquote {
	border-left: 4px solid rgba(var(--accent), 0.5);
	padding-left: 1em;
	margin: 1em 0;
	color: rgba(var(--text), 0.8);
	font-style: italic;
}

ul,
ol {
	padding-left: 2em;
	margin: 1em 0;
}

li {
	margin: 0.5em 0;
	color: rgba(var(--text), 0.9);
}

.post-content a {
	color: rgba(var(--accent), 1) !important;
	text-decoration: underline;
}

.post-content a:hover {
	color: rgba(var(--accenttext), 1) !important;
	text-decoration: none;
}

/* posts responsive */

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

.post-full {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 1rem;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.post-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1rem auto;
	border-radius: 8px;
}

.post-content iframe,
.post-content video {
	max-width: 100%;
	height: auto;
}

.post-content h1,
.post-content h2,
.post-content h3 {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* mobile responsive */
@media (max-width: 768px) {
	.post-full {
		padding: 0.8rem;
	}

	.navipath {
		font-size: 0.9rem;
		overflow-wrap: break-word;
	}

	h1 {
		font-size: 1.6rem;
	}
}

@media (min-width: 1200px) {
  .post-full {
    max-width: 1100px;
  }
}
