/* Riftfall site: home page (video + newest post + short updates) and the standalone Wiki layout. 2026-10-22 */

/* ------------------------------------------------------------ shared */
.rf-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 5px;
	vertical-align: middle;
}

.rf-tag {
	display: inline-block;
	padding: 1px 7px;
	border: 1px solid;
	border-radius: 2px;
	font-size: 0.66rem;
	font-weight: bold;
	letter-spacing: 0.04em;
	line-height: 1.5;
	text-transform: uppercase;
	white-space: nowrap;
}

.rf-tag-server { color: #86b4ff; border-color: #2f4a78; background: #101a2b; }
.rf-tag-client { color: #8fe0a8; border-color: #2f6b45; background: #0f2017; }
.rf-tag-web { color: #e6b96f; border-color: #6b5328; background: #221a0d; }

.rf-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.rf-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border: 1px solid #3b414b;
	background: rgba(17, 20, 28, 0.95);
	color: #d4d8e2;
	font-size: 0.86rem;
	font-weight: bold;
}

.rf-btn:hover {
	border-color: #c9a25b;
	color: #f0c56a;
}

.rf-btn-primary {
	border-color: #c9a25b;
	background: #3a2d12;
	color: #f5d58f;
}

.rf-btn-primary:hover {
	background: #4b3a17;
	color: #fff0c4;
}

.rf-section-title {
	margin: 26px 0 12px;
	padding: 0 12px;
	color: #e4c98a;
	font-size: 1.1rem;
}

.rf-section-title i {
	margin-right: 6px;
	color: #d1a233;
}

.rf-back {
	margin: 4px 0 20px;
}

/* ------------------------------------------------------------ home: newest player strip sits right under the logo */
.page_index .riftfall-newest-player,
.leftPane > .riftfall-newest-player {
	margin: 0 0 20px;
}

/* ------------------------------------------------------------ home: video + latest post */
.rf-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	margin: 0 0 24px;
	border: 1px solid #443b4d;
	border-top: 3px solid #c9a25b;
	background: rgba(10, 12, 18, 0.95);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.rf-feature > .rf-cta {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px 18px;
	border-top: 1px solid #312d36;
	background: rgba(17, 20, 28, 0.6);
}

.rf-feature-novideo {
	grid-template-columns: minmax(0, 1fr);
}

.rf-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.rf-video-frame iframe,
.rf-video-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.rf-feature-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px 22px 18px;
}

.rf-feature-body .riftfall-kicker i {
	margin-right: 4px;
}

.rf-feature-body h2 {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.25;
}

.rf-feature-body h2 a {
	color: #f3f0e8;
}

.rf-feature-body h2 a:hover {
	color: #f0c56a;
}

.rf-feature-text {
	position: relative;
	max-height: 10.5em;
	overflow: hidden;
	color: #b9bdc8;
	line-height: 1.55;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
	mask-image: linear-gradient(180deg, #000 70%, transparent);
}

.rf-feature-text .youtube {
	display: none;
}

.rf-feature-lead {
	margin: 0;
	color: #b9bdc8;
	line-height: 1.55;
}

.rf-feature-meta {
	margin: 10px 0 0;
	color: #858c9c;
	font-size: 0.8rem;
}

/* ------------------------------------------------------------ home: short update list */
.rf-whatsnew {
	margin: 0 0 24px;
	border: 1px solid #35313b;
	background: rgba(10, 12, 18, 0.94);
}

.rf-whatsnew-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 18px;
	border-bottom: 1px solid #312d36;
}

.rf-whatsnew-head h2 {
	margin: 0;
	color: #f0ede5;
	font-size: 1.1rem;
}

.rf-whatsnew-head h2 i {
	margin-right: 6px;
	color: #d1a233;
}

.rf-whatsnew-head a {
	font-size: 0.85rem;
}

.rf-whatsnew-entry {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid #2a2730;
}

.rf-whatsnew-entry:last-child {
	border-bottom: 0;
}

.rf-whatsnew-meta time {
	display: block;
	margin-bottom: 6px;
	color: #9aa0ae;
	font-size: 0.8rem;
}

.rf-whatsnew-entry h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.35;
}

.rf-whatsnew-entry h3 a {
	color: #ece7d8;
}

.rf-whatsnew-entry h3 a:hover {
	color: #f0c56a;
}

.rf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.rf-chips li {
	padding: 3px 9px;
	border: 1px solid #3b414b;
	background: #11141c;
	color: #aeb4c2;
	font-size: 0.78rem;
}

/* ------------------------------------------------------------ wiki: hero bar */
.wiki-hero {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 30px 0 14px;
	padding: 14px 20px;
	border: 1px solid #443b4d;
	border-top: 3px solid #c9a25b;
	background: rgba(10, 12, 18, 0.96);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.wiki-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	flex: none;
	color: #f3f0e8;
}

.wiki-brand img {
	width: 32px;
	height: 32px;
}

.wiki-brand strong {
	display: block;
	font-size: 1.3rem;
	line-height: 1.1;
}

.wiki-brand small {
	display: block;
	margin-top: 3px;
	color: #8f96a6;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wiki-search {
	position: relative;
	flex: 1;
	min-width: 0;
	margin: 0;
}

.wiki-search > i {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	color: #8f96a6;
	pointer-events: none;
}

.wiki-search input {
	box-sizing: border-box;
	width: 100%;
	padding: 11px 40px 11px 40px;
	border: 1px solid #3b414b;
	background: #0b0d13;
	color: #e6e8ee;
	font-size: 0.95rem;
}

.wiki-search input:focus {
	border-color: #c9a25b;
	outline: 0;
}

.wiki-search button {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	padding: 6px 8px;
	border: 0;
	background: transparent;
	color: #9aa0ae;
}

.wiki-search button:hover {
	color: #f0c56a;
}

.wiki-back {
	flex: none;
	font-size: 0.85rem;
}

/* ------------------------------------------------------------ wiki: shell, sidebar, content */
.wiki-shell {
	display: grid;
	grid-template-columns: 262px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin-bottom: 26px;
}

.wiki-nav-toggle {
	display: none;
}

.wiki-sidebar {
	position: sticky;
	top: 12px;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 8px 0 12px;
	border: 1px solid #35313b;
	background: rgba(10, 12, 18, 0.96);
}

.wiki-nav-group {
	margin: 14px 18px 6px;
	color: #8f96a6;
	font-size: 0.68rem;
	font-weight: bold;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.wiki-nav-group:first-child {
	margin-top: 8px;
}

.wiki-sidebar ul {
	margin: 0;
	padding: 0;
}

.wiki-sidebar li a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 8px 18px 8px 15px;
	border-left: 3px solid transparent;
	color: #c4c9d4;
	font-size: 0.92rem;
}

.wiki-sidebar li a i {
	width: 18px;
	color: #7d8494;
	text-align: center;
}

.wiki-sidebar li a:hover {
	background: #141720;
	color: #f0c56a;
}

.wiki-sidebar li a.is-active {
	border-left-color: #c9a25b;
	background: #171a22;
	color: #f0c56a;
	font-weight: bold;
}

.wiki-sidebar li a.is-active i,
.wiki-sidebar li a:hover i {
	color: #d1a233;
}

.wiki-sidebar-foot {
	margin: 14px 18px 4px;
	padding-top: 12px;
	border-top: 1px solid #2a2730;
	color: #858c9c;
	font-size: 0.78rem;
	line-height: 1.5;
}

.wiki-main {
	min-width: 0;
	min-height: 560px;
	padding: 6px 32px 32px;
	border: 1px solid #35313b;
	background: rgba(10, 12, 18, 0.94);
	color: #d9dbe3;
}

.wiki-main .library-section {
	scroll-margin-top: 12px;
}

.wiki-js .wiki-page[hidden] {
	display: none;
}

.wiki-js .wiki-page {
	border-top: 0;
	animation: wiki-in 0.18s ease-out;
}

@keyframes wiki-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

.wiki-main code,
.wiki-note code {
	padding: 1px 5px;
	border: 1px solid #2b3a35;
	background: #0f1a16;
}

/* ------------------------------------------------------------ wiki: overview page */
.wiki-welcome h1 {
	margin: 4px 0 12px;
	color: #f3f0e8;
	font-size: 2rem;
	line-height: 1.15;
}

.wiki-welcome > p:last-child {
	max-width: 820px;
	margin: 0;
	color: #b5b9c4;
	line-height: 1.65;
}

.wiki-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 14px;
	padding: 0;
}

.wiki-facts li {
	padding: 12px 14px;
	border: 1px solid #35313b;
	background: #11141c;
}

.wiki-facts strong {
	display: block;
	color: #f0c56a;
	font-size: 1.05rem;
}

.wiki-facts span {
	display: block;
	margin-top: 3px;
	color: #8f96a6;
	font-size: 0.78rem;
}

.wiki-latest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 8px;
	padding: 13px 16px;
	border: 1px solid #3b414b;
	border-left: 3px solid #c9a25b;
	background: #14161d;
	color: #cbd0da;
}

.wiki-latest:hover {
	border-color: #c9a25b;
	background: #191c25;
}

.wiki-latest-label {
	flex-basis: 100%;
	color: #9aa0ae;
	font-size: 0.74rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wiki-latest strong {
	color: #f0ede5;
}

.wiki-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.wiki-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 15px 16px;
	border: 1px solid #35313b;
	background: #11141c;
	color: #b5b9c4;
}

.wiki-card i {
	color: #d1a233;
	font-size: 1.3rem;
}

.wiki-card strong {
	color: #ece7d8;
	font-size: 1rem;
}

.wiki-card span {
	font-size: 0.85rem;
	line-height: 1.5;
}

.wiki-card:hover {
	border-color: #c9a25b;
	background: #171a22;
	transform: translateY(-2px);
}

/* ------------------------------------------------------------ wiki: updates */
.wiki-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.wiki-filter button {
	padding: 6px 12px;
	border: 1px solid #3b414b;
	background: #0b0d13;
	color: #cbd0da;
	font-size: 0.82rem;
	font-weight: bold;
}

.wiki-filter button:hover,
.wiki-filter button.is-active {
	border-color: #c9a25b;
	color: #f0c56a;
}

.wiki-filter button.is-active {
	background: #1a1710;
}

.upd-entry {
	margin: 0 0 12px;
	border: 1px solid #35313b;
	background: #0e1118;
}

.upd-entry > summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 13px 16px;
	background: #14161d;
	cursor: pointer;
	list-style: none;
}

.upd-entry > summary::-webkit-details-marker {
	display: none;
}

.upd-entry > summary::before {
	content: "\f105";
	width: 10px;
	color: #d1a233;
	font-family: FontAwesome;
}

.upd-entry[open] > summary::before {
	content: "\f107";
}

.upd-entry > summary time {
	color: #9aa0ae;
	font-size: 0.8rem;
	white-space: nowrap;
}

.upd-entry > summary strong {
	flex: 1 1 260px;
	color: #f0ede5;
	font-size: 1rem;
}

.upd-group {
	padding: 4px 18px 2px;
}

.upd-group h3 {
	margin: 14px 0 8px;
	color: #e4c98a;
	font-size: 0.98rem;
}

.upd-group .wiki-bullets {
	max-width: none;
	margin-bottom: 10px;
	padding-left: 18px;
}

.upd-group .wiki-bullets li {
	margin-bottom: 6px;
}

.upd-group .rf-tags {
	margin-right: 4px;
}

.upd-group .rf-tag {
	padding: 0 5px;
	font-size: 0.6rem;
}

.wiki-more {
	margin: 0 0 18px;
}

.wiki-more > summary {
	display: inline-block;
	margin-bottom: 12px;
	padding: 8px 14px;
	border: 1px solid #3b414b;
	background: #0b0d13;
	color: #cbd0da;
	cursor: pointer;
	font-size: 0.86rem;
	font-weight: bold;
}

.wiki-more > summary:hover {
	border-color: #c9a25b;
	color: #f0c56a;
}

/* ------------------------------------------------------------ wiki: search results */
.wiki-results[hidden] {
	display: none;
}

.wiki-results {
	padding: 22px 0 6px;
}

.wiki-results > h2 {
	margin: 0 0 6px;
	color: #f0ede5;
	font-size: 1.3rem;
}

.wiki-results > p {
	margin: 0 0 16px;
	color: #9aa0ae;
}

.wiki-hit-group {
	margin: 0 0 14px;
	border: 1px solid #35313b;
	background: #0e1118;
}

.wiki-hit-group > strong {
	display: block;
	padding: 10px 16px;
	background: #14161d;
	color: #e4c98a;
}

.wiki-hit {
	display: block;
	width: 100%;
	padding: 10px 16px;
	border: 0;
	border-top: 1px solid #272430;
	background: transparent;
	color: #b5b9c4;
	font-size: 0.88rem;
	line-height: 1.5;
	text-align: left;
}

.wiki-hit:hover {
	background: #171a22;
	color: #e4e6ec;
}

.wiki-hit mark {
	padding: 0 2px;
	background: #5b4516;
	color: #ffe7a8;
}

.wiki-flash {
	animation: wiki-flash 2.2s ease-out;
}

@keyframes wiki-flash {
	0%, 30% { background-color: rgba(201, 162, 91, 0.32); outline: 2px solid #c9a25b; }
	100% { background-color: transparent; outline: 2px solid transparent; }
}

/* ------------------------------------------------------------ responsive */
@media screen and (max-width: 1300px) {
	.wiki-shell { grid-template-columns: 240px minmax(0, 1fr); }
	.wiki-main { padding: 4px 24px 28px; }
}

@media screen and (max-width: 1100px) {
	.wiki-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wiki-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 940px) {
	.rf-feature { grid-template-columns: minmax(0, 1fr); }
	.rf-whatsnew-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; }

	.wiki-hero { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
	.wiki-search { order: 3; flex-basis: 100%; }
	.wiki-shell { grid-template-columns: minmax(0, 1fr); }
	.wiki-nav-toggle {
		display: flex;
		align-items: center;
		gap: 9px;
		width: 100%;
		padding: 12px 16px;
		border: 1px solid #443b4d;
		background: rgba(10, 12, 18, 0.96);
		color: #f0c56a;
		font-size: 0.95rem;
		font-weight: bold;
	}
	.wiki-sidebar { display: none; position: static; max-height: none; }
	.wiki-sidebar.is-open { display: block; }
	.wiki-main { padding: 4px 16px 24px; }
}

@media screen and (max-width: 600px) {
	.wiki-cards { grid-template-columns: minmax(0, 1fr); }
	.wiki-facts { grid-template-columns: minmax(0, 1fr); }
	.wiki-back span { display: none; }
	.rf-cta .rf-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

.wiki-welcome ~ h3 {
	margin-top: 30px !important;
}

/* ------------------------------------------------------------ home hero: logo -> video -> screenshots -> logo */
.banner.rf-hero {
	position: relative;
	height: 420px;
	overflow: hidden;
}

.rf-hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #05070d;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.rf-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.7s ease;
}

.rf-hero-video video,
.rf-hero-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	background: #000;
}

.rf-hero-photo .rf-hero-bg {
	position: absolute;
	inset: -30px;
	width: calc(100% + 60px);
	height: calc(100% + 60px);
	object-fit: cover;
	filter: blur(26px) brightness(0.5) saturate(1.15);
}

.rf-hero-photo .rf-hero-fg {
	position: relative;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
}

.rf-hero-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	max-width: 70%;
	padding: 9px 16px 10px;
	border-top: 1px solid #5b4b37;
	border-right: 1px solid #5b4b37;
	background: rgba(8, 10, 15, 0.86);
	color: #e8e4d8;
	font-size: 0.9rem;
}

.rf-hero-caption[hidden],
.rf-hero-controls[hidden] {
	display: none;
}

.rf-hero-caption a {
	margin-left: 8px;
	white-space: nowrap;
	font-size: 0.82rem;
}

.rf-hero-controls {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-top: 1px solid #5b4b37;
	border-left: 1px solid #5b4b37;
	background: rgba(8, 10, 15, 0.86);
}

.rf-hero-controls button {
	padding: 5px 8px;
	border: 0;
	background: transparent;
	color: #cbd0da;
	font-size: 0.85rem;
}

.rf-hero-controls button:hover {
	color: #f0c56a;
}

.rf-hero-dots {
	display: flex;
	gap: 6px;
	padding: 0 4px;
}

.rf-hero-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid #8c7d66;
	border-radius: 50%;
	background: transparent;
}

.rf-hero-dots button.is-active {
	background: #d1a233;
	border-color: #d1a233;
}

@media screen and (max-width: 1300px) { .banner.rf-hero { height: 390px; } }
@media screen and (max-width: 1200px) { .banner.rf-hero { height: 360px; } }
@media screen and (max-width: 1100px) { .banner.rf-hero { height: 330px; } }
@media screen and (max-width: 940px) { .banner.rf-hero { height: 280px; } }
@media screen and (max-width: 600px) {
	.banner.rf-hero { height: 220px; }
	.rf-hero-caption { max-width: 100%; right: 0; bottom: 34px; border-right: 0; font-size: 0.8rem; }
	.rf-hero-controls { left: 0; justify-content: center; border-left: 0; }
}

/* ------------------------------------------------------------ wiki: sidebar sub-topics, topic cards, breadcrumbs, pager */
.wiki-sidebar li.has-sub > a::after {
	content: "\f107";
	margin-left: auto;
	color: #6d7484;
	font-family: FontAwesome;
	transition: transform 0.15s;
}

.wiki-sidebar li.has-sub.is-open > a::after {
	transform: rotate(180deg);
	color: #d1a233;
}

.wiki-sidebar li a.is-current-page {
	color: #f0c56a;
}

.wiki-sidebar .wiki-sub {
	display: none;
	margin: 0 0 6px;
	padding: 2px 0 4px;
	border-left: 1px solid #2c2931;
	margin-left: 26px;
}

.wiki-sidebar li.is-open > .wiki-sub {
	display: block;
}

.wiki-sidebar .wiki-sub li a {
	display: block;
	padding: 5px 14px 5px 14px;
	border-left: 2px solid transparent;
	margin-left: -1px;
	color: #a9afbc;
	font-size: 0.84rem;
	line-height: 1.35;
}

.wiki-sidebar .wiki-sub li a.is-active {
	border-left-color: #c9a25b;
	background: transparent;
	color: #f0c56a;
	font-weight: bold;
}

.wiki-sidebar .wiki-sub li a:hover {
	background: transparent;
	color: #f0c56a;
}

.wiki-topics-title {
	margin: 26px 0 12px !important;
}

.wiki-topic-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 8px;
}

.wiki-topic-card {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px 16px;
	border: 1px solid #35313b;
	border-left: 3px solid #5b4b37;
	background: #11141c;
	color: #b5b9c4;
}

.wiki-topic-card strong {
	color: #ece7d8;
	font-size: 0.98rem;
}

.wiki-topic-card span {
	font-size: 0.83rem;
	line-height: 1.5;
}

.wiki-topic-card:hover {
	border-color: #c9a25b;
	background: #171a22;
}

.wiki-crumbs {
	margin: 18px 0 4px;
	color: #8f96a6;
	font-size: 0.85rem;
}

.wiki-crumbs[hidden],
.wiki-pager[hidden] {
	display: none;
}

.wiki-crumbs i {
	margin: 0 6px;
}

.wiki-crumbs span {
	color: #d6d9e2;
}

.wiki-page.is-topic > h3 {
	margin: 6px 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid #3a3440;
	color: #f0ede5;
	font-size: 1.55rem;
}

.wiki-pager {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px solid #312d36;
}

.wiki-pager a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 48%;
	padding: 10px 16px;
	border: 1px solid #35313b;
	background: #11141c;
	color: #b5b9c4;
}

.wiki-pager a.next {
	margin-left: auto;
	text-align: right;
}

.wiki-pager a:hover {
	border-color: #c9a25b;
}

.wiki-pager small {
	color: #8f96a6;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wiki-pager strong {
	color: #ece7d8;
}

.wiki-pager i {
	display: none;
}

.wiki-hit em {
	margin-right: 6px;
	padding: 1px 6px;
	border: 1px solid #3b414b;
	color: #e4c98a;
	font-size: 0.74rem;
	font-style: normal;
}

@media screen and (max-width: 700px) {
	.wiki-topic-grid { grid-template-columns: minmax(0, 1fr); }
	.wiki-pager a { max-width: 100%; }
	.wiki-pager { flex-direction: column; }
}

/* the site-wide nav{} rule must not box the generated wiki navs */
.wiki-main nav.wiki-crumbs,
.wiki-main nav.wiki-pager {
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wiki-main nav.wiki-pager {
	border-top: 1px solid #312d36;
}
