/*-------------------------------------------------------------------------*/
/* Armory: Page layout
/*-------------------------------------------------------------------------*/
body.page-armory-active .section-page {
	padding: 3rem 0 4rem;
}

.page-armory .page-body {
	max-width: 100%;
}

.page-armory .page-subbody {
	padding: 0 !important;
}

/*-------------------------------------------------------------------------*/
/* Armory: Landing hero
/*-------------------------------------------------------------------------*/
.armory-landing {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 1rem 2rem;
}

/*-------------------------------------------------------------------------*/
/* Armory: Search shell card
/*-------------------------------------------------------------------------*/
.armory-shell {
	position: relative;
	width: 100%;
	max-width: 840px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 1.1rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid rgba(190, 160, 118, .24);
	border-radius: 24px;
	background:
		radial-gradient(420px 180px at 50% 0%, rgba(78, 111, 137, .12), transparent 68%),
		linear-gradient(180deg, rgba(17, 14, 12, .92), rgba(10, 10, 12, .96));
	-webkit-box-shadow: 0 28px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
	box-shadow: 0 28px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.armory-shell::before {
	content: '';
	position: absolute;
	top: 14px;
	right: 14px;
	bottom: 14px;
	left: 14px;
	border: 1px solid rgba(201, 172, 127, .12);
	border-radius: 18px;
	pointer-events: none;
}

/*-------------------------------------------------------------------------*/
/* Armory: Logo + kicker
/*-------------------------------------------------------------------------*/
.armory-logo {
	width: min(390px, 72vw);
	height: auto;
	display: block;
	-webkit-filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55));
	filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55));
}

.armory-kicker {
	margin: -.2rem 0 0;
	color: rgba(225, 210, 186, .8);
	font-family: var(--font-family-tertiary);
	font-size: .88rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-align: center;
}

.armory-note {
	margin: .2rem 0 0;
	color: rgba(220, 205, 180, .7);
	font-family: var(--font-family-tertiary);
	font-size: .8rem;
	text-align: center;
}

/*-------------------------------------------------------------------------*/
/* Armory: Search form
/*-------------------------------------------------------------------------*/
.armory-search-wrap {
	position: relative;
	width: 100%;
	max-width: 720px;
}

.armory-search-form {
	border: 1px solid rgba(196, 163, 113, .24);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(11, 11, 14, .92), rgba(17, 13, 11, .9));
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 18px 36px rgba(0, 0, 0, .24);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 18px 36px rgba(0, 0, 0, .24);
	overflow: hidden;
	-webkit-transition: border-color .2s;
	-o-transition: border-color .2s;
	transition: border-color .2s;
}

.armory-search-form:focus-within {
	border-color: rgba(214, 184, 136, .48);
}

/* Input row */
.armory-search-top {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: .8rem;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: .8rem;
}

.armory-search-input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	color: #f3eadb;
	font-family: var(--font-family-tertiary);
	font-size: clamp(1rem, 2vw, 1.15rem);
	letter-spacing: .02em;
	padding: .45rem .35rem .45rem .6rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.armory-search-input::-webkit-search-cancel-button,
.armory-search-input::-webkit-search-decoration {
	display: none;
}

.armory-search-input::-webkit-input-placeholder { color: rgba(212, 196, 172, .52); }
.armory-search-input::-moz-placeholder            { color: rgba(212, 196, 172, .52); }
.armory-search-input:-ms-input-placeholder        { color: rgba(212, 196, 172, .52); }
.armory-search-input::placeholder                 { color: rgba(212, 196, 172, .52); }

.armory-search-submit {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid rgba(196, 163, 113, .34);
	border-radius: 14px;
	background: -webkit-linear-gradient(bottom, rgba(33, 29, 25, .96), rgba(67, 55, 38, .9));
	background: -o-linear-gradient(bottom, rgba(33, 29, 25, .96), rgba(67, 55, 38, .9));
	background: linear-gradient(180deg, rgba(67, 55, 38, .9), rgba(33, 29, 25, .96));
	color: #f8e8cb;
	font-family: var(--font-family-nav);
	font-size: .86rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: .9rem 1.2rem;
	cursor: pointer;
	white-space: nowrap;
	-webkit-transition: border-color .18s ease, -webkit-transform .18s ease;
	transition: border-color .18s ease, -webkit-transform .18s ease;
	-o-transition: border-color .18s ease, transform .18s ease;
	transition: border-color .18s ease, transform .18s ease;
}

.armory-search-submit:hover {
	border-color: rgba(227, 197, 150, .6);
	color: #fff0d3;
	-webkit-transform: translateY(-1px);
	-ms-transform: translateY(-1px);
	transform: translateY(-1px);
}

/* Secondary controls row: realm + type */
.armory-search-controls {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: .65rem;
	padding: 0 .8rem .75rem;
	border-top: 1px solid rgba(196, 163, 113, .1);
	padding-top: .65rem;
}

.armory-search-controls select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: rgba(22, 16, 10, .75);
	border: 1px solid rgba(196, 163, 113, .25) !important;
	border-radius: 10px !important;
	color: var(--color-inactive);
	font-family: var(--font-family-tertiary);
	font-size: .85rem;
	padding: .45rem .9rem;
	cursor: pointer;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	height: auto;
}

.armory-search-controls select:focus {
	outline: none;
	border-color: rgba(196, 163, 113, .55) !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/*-------------------------------------------------------------------------*/
/* Armory: Results card
/*-------------------------------------------------------------------------*/
.armory-results-outer {
	width: 100%;
	max-width: 840px;
	display: none; /* shown by search.js */
}

.armory-results-surface {
	background: rgba(15, 10, 8, .9);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 16px;
	-webkit-box-shadow: 0 28px 56px rgba(0, 0, 0, .42);
	box-shadow: 0 28px 56px rgba(0, 0, 0, .42);
	overflow: hidden;
}

.armory-results-toolbar {
	padding: .8rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: -webkit-linear-gradient(top, rgba(36, 27, 21, .82), rgba(18, 13, 10, .95));
	background: -o-linear-gradient(top, rgba(36, 27, 21, .82), rgba(18, 13, 10, .95));
	background: linear-gradient(180deg, rgba(36, 27, 21, .82), rgba(18, 13, 10, .95));
}

.armory-results-title {
	margin: 0;
	color: #efe4cf;
	font-family: var(--font-family-nav);
	font-size: .98rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.armory-results-wrap {
	padding: 0;
}

/*-------------------------------------------------------------------------*/
/* Armory: DataTables bottom bar (info + pagination)
/*-------------------------------------------------------------------------*/
.page-armory .armory-results-wrap .dataTables_wrapper .row:first-child,
.page-armory .armory-results-wrap .dataTables_wrapper > .row + .row {
	display: none !important;
}

.page-armory .armory-results-wrap .dataTables_wrapper > .row + .row + .row {
	display: block !important;
	margin: 0;
	padding: .65rem 1rem;
	border-top: 1px solid rgba(255, 255, 255, .05);
}

.page-armory .armory-results-wrap .dataTables_info {
	color: rgba(214, 205, 190, .7);
	font-family: var(--font-family-tertiary);
	font-size: .82rem;
	padding: 0;
}

.page-armory .armory-results-wrap .dataTables_paginate {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.page-armory .armory-results-wrap .dataTables_paginate .pagination {
	margin-left: auto;
	margin-right: 0;
	margin-bottom: 0;
}

/* Pagination theming */
.page-armory .armory-results-wrap .pagination .page-item .page-link {
	background-color: transparent;
	border-color: rgba(193, 154, 87, .22);
	color: var(--color-inactive);
	font-family: var(--font-family-tertiary);
	font-size: .8rem;
	-webkit-transition: border-color 180ms, color 180ms, background 180ms;
	-o-transition: border-color 180ms, color 180ms, background 180ms;
	transition: border-color 180ms, color 180ms, background 180ms;
}

.page-armory .armory-results-wrap .pagination .page-item .page-link:hover {
	background-color: rgba(193, 154, 87, .08);
	border-color: rgba(193, 154, 87, .5);
	color: var(--color-idle);
}

.page-armory .armory-results-wrap .pagination .page-item.active .page-link {
	background: -webkit-linear-gradient(315deg, var(--color-idle), var(--color-active));
	background: -o-linear-gradient(315deg, var(--color-idle), var(--color-active));
	background: linear-gradient(145deg, var(--color-idle), var(--color-active));
	border-color: transparent;
	color: #16110c;
	font-weight: 700;
}

.page-armory .armory-results-wrap .pagination .page-item.disabled .page-link {
	background-color: transparent;
	border-color: rgba(193, 154, 87, .1);
	color: var(--color-base);
	opacity: .4;
}

/*-------------------------------------------------------------------------*/
/* Responsive
/*-------------------------------------------------------------------------*/
@media screen and (max-width: 680px) {
	.armory-search-top {
		-ms-grid-columns: 1fr;
		grid-template-columns: 1fr;
	}

	.armory-search-submit {
		width: 100%;
		text-align: center;
	}

	.armory-search-controls {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
}
