/*
Theme Name: 机架仪表 Rack Meter
Theme URI: https://zhujiceping.org/
Description: 机房机架仪表风格子主题 —— 磷光绿指示灯、信号橙告警、单体机位编号；把每条优惠读成一行机架单元。
Author: zhuye
Template: dameiti
Version: 1.0.0
Text Domain: rackmeter
*/

/* ============================================================
   0. 令牌
   ============================================================ */
:root {
	--rm-bg: #080b09;
	--rm-bg-2: #0b0f0c;
	--rm-panel: #0f1511;
	--rm-panel-2: #121a15;
	--rm-line: #223027;
	--rm-line-soft: #1a241d;
	--rm-lime: #b8ff5c;
	--rm-lime-dim: #7fae3f;
	--rm-orange: #ff6a1f;
	--rm-text: #d9e6db;
	--rm-muted: #81937f;
	--rm-faint: #5c6b5e;
	--rm-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
	--rm-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

/* ============================================================
   1. 底板
   ============================================================ */
html { background: var(--rm-bg); }

body {
	background-color: var(--rm-bg);
	background-image:
		linear-gradient(rgba(120, 160, 120, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(120, 160, 120, .045) 1px, transparent 1px),
		radial-gradient(1200px 640px at 50% -8%, rgba(184, 255, 92, .07), transparent 62%);
	background-size: 32px 32px, 32px 32px, 100% 100%;
	background-attachment: fixed;
	color: var(--rm-text);
	font-family: var(--rm-sans);
}

::selection { background: var(--rm-lime); color: #0a0e0b; }

a { color: var(--rm-text); }
a:hover { color: var(--rm-lime); }

body button,
body input[type="submit"],
body input[type="reset"],
body input[type="button"] {
	background-color: var(--rm-lime);
	color: #0a0e0b;
	border: none;
	font-family: var(--rm-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.container { width: 1120px; }

/* ============================================================
   2. 顶栏 / 机耳
   ============================================================ */
.top-bar {
	height: 34px;
	padding: 0;
	background: #080b09 !important;
	border-bottom: 1px solid var(--rm-line-soft);
	box-shadow: none;
	position: relative;
}

.top-bar:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: repeating-linear-gradient(90deg, var(--rm-lime) 0 26px, #0c110e 26px 34px);
	box-shadow: 0 0 12px rgba(184, 255, 92, .25);
}

.top-bar .header-right { line-height: 34px; }

.top-bar .header-right li a {
	color: var(--rm-muted);
	font: 10px/1 var(--rm-mono);
	letter-spacing: .18em;
	text-transform: uppercase;
}

.top-bar .header-right li a:hover { color: var(--rm-lime) !important; }

.rm-rail {
	position: absolute;
	left: 12px;
	top: 9px;
	font: 9px/1 var(--rm-mono);
	letter-spacing: .16em;
	color: var(--rm-lime-dim);
	white-space: nowrap;
}

.rm-rail:before {
	content: "● ";
	color: var(--rm-lime);
}


.site-header {
	background-color: rgba(10, 14, 11, .96) !important;
	border-bottom: 1px solid var(--rm-line);
	box-shadow: none !important;
	height: 78px;
	line-height: 1;
	position: relative;
	z-index: 60;
	backdrop-filter: blur(6px);
}

.site-header:after {
	content: "RACK A · 19IN · 42U";
	position: absolute;
	right: 22px;
	bottom: 2px;
	font: 9px/1 var(--rm-mono);
	letter-spacing: .18em;
	color: var(--rm-faint);
	pointer-events: none;
}

@media (max-width: 959px) {
	.site-header:after { display: none; }
}

.site-header .container {
	display: flex;
	align-items: center;
	height: 78px;
	gap: 18px;
	position: relative;
}

.site-branding {
	float: none !important;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 78px;
}

.site-branding #logo {
	float: none;
	height: auto;
	line-height: 0;
	display: block;
	flex: none;
	position: relative;
}

.site-branding #logo img {
	width: 44px;
	height: 44px;
	max-height: none;
	object-fit: contain;
	padding: 5px;
	background: #0d130f;
	border: 1px solid var(--rm-line);
	box-shadow: inset 0 0 0 1px rgba(184, 255, 92, .08), 0 0 18px rgba(184, 255, 92, .12);
}

#logo:after {
	content: "RACK·METER";
	position: absolute;
	left: 62px;
	top: 22px;
	font: 600 15px/1 var(--rm-mono);
	letter-spacing: .3em;
	color: #eaf7e6;
	white-space: nowrap;
	text-shadow: 0 0 12px rgba(184, 255, 92, .35);
}

.site-desc {
	float: none;
	position: static;
	border-left: 1px solid var(--rm-line);
	margin: 0 0 0 132px;
	padding: 0 0 0 14px;
	color: var(--rm-faint);
	font: 10px/1.5 var(--rm-mono);
	letter-spacing: .18em;
	text-transform: uppercase;
}

.site-title { float: none; }

.site-title a {
	font: 600 20px/1 var(--rm-mono);
	letter-spacing: .2em;
	color: #eaf7e6 !important;
}

.site-desc .line1,
.site-desc .line2 { line-height: 1.6 !important; }

.site-desc .line1.no-line2:before { content: "主机测评 / HOSTING REVIEW"; }
.site-desc .line2:before { content: "云资源 · 优惠情报台"; }

.site-header #primary-nav {
	float: none !important;
	margin-left: auto !important;
	margin-right: 54px !important;
}

#primary-menu { float: none; }

#primary-menu li { line-height: 1; }

#primary-menu li a,
#primary-menu li a:hover {
	color: var(--rm-text) !important;
	background: #0e1511;
	border: 1px solid var(--rm-line);
	font: 11px/1 var(--rm-mono);
	letter-spacing: .22em;
	text-transform: uppercase;
	padding: 9px 16px 8px;
	display: inline-block;
	position: relative;
}

#primary-menu li a:before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rm-lime);
	box-shadow: 0 0 8px var(--rm-lime);
	margin-right: 9px;
	vertical-align: 1px;
}

#primary-menu li a:hover {
	border-color: var(--rm-lime-dim);
	color: var(--rm-lime) !important;
	background: #121b14;
}

.site-header .header-search-icon {
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rm-line);
	background: #0e1511;
}

.site-header .search-icon .fa {
	color: var(--rm-muted);
	width: auto;
	height: auto;
	font-size: 14px;
}

.site-header .search-icon:hover .fa { color: var(--rm-lime); }

.header-search {
	top: 78px;
	background: #0d1310;
	border: 1px solid var(--rm-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
	width: 320px;
	height: auto;
	padding: 10px;
}

.header-search form {
	display: flex;
	gap: 6px;
}

.search-input {
	background: #080c09;
	border: 1px solid var(--rm-line);
	color: var(--rm-text);
	height: 36px;
	line-height: 36px;
	font-family: var(--rm-mono);
	font-size: 12px;
	letter-spacing: .08em;
}

.search-input::placeholder { color: var(--rm-faint); }

.search-input:focus {
	background: #080c09;
	border-color: var(--rm-lime-dim);
}

.search-submit {
	background: var(--rm-lime);
	color: #0a0e0b;
	height: 36px;
	padding: 0 16px;
	font-size: 11px;
	letter-spacing: .18em;
}

.header-space { height: 78px; }

.main-nav-scrolled {
	background: rgba(8, 11, 9, .98) !important;
	border-bottom: 1px solid var(--rm-lime-dim);
	box-shadow: 0 1px 0 rgba(184, 255, 92, .18), 0 14px 34px rgba(0, 0, 0, .7);
}

/* ============================================================
   3. 骨架
   ============================================================ */
.site-content { margin-top: 34px; }

#primary {
	float: left;
	width: 790px;
}

.sidebar {
	float: right;
	width: 300px;
}

.site-main {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
}

.home .site-main { background: none; }

/* ============================================================
   4. 机架单元（首页列表）
   ============================================================ */
.primary-block-10 { position: relative; }

.primary-block-10 .section-header {
	position: static;
	margin-bottom: 14px;
	background: #0c120e;
	border: 1px solid var(--rm-line);
	border-left: 3px solid var(--rm-orange);
	padding: 10px 14px;
	opacity: 1;
}

.section-header {
	position: relative;
}

.section-title,
h2.section-title,
h3.section-title {
	display: inline-block;
	margin: 0;
	font: 600 13px/1.3 var(--rm-mono);
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--rm-lime);
}

.primary-block-10 .section-header .section-title {
	height: auto;
	line-height: 1.3;
	font-size: 13px;
}

.primary-block-10 .section-title span { padding: 0; }

.section-title:before {
	content: "▮ ";
	color: var(--rm-orange);
}

.primary-block-10 .section-title:after {
	content: " / LIVE FEED";
	color: var(--rm-faint);
	font-weight: 400;
	letter-spacing: .18em;
}

.primary-block-10 .post-list {
	background: #0a0e0b;
	border: 1px solid var(--rm-line);
	border-top: 2px solid var(--rm-lime-dim);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, .5);
}

.primary-block-10 .post-big {
	background: var(--rm-panel);
	border: none;
	border-bottom: 1px solid var(--rm-line-soft);
	margin: 0;
	padding: 18px 20px 18px 74px;
	position: relative;
	box-sizing: border-box;
	transition: background .18s ease;
	counter-increment: rm-unit;
}

.primary-block-10 .post-big:last-child { border-bottom: none; }

.primary-block-10 .post-big:hover { background: #131b15; }

.primary-block-10 .post-big:before {
	content: "U" var(--u, "01");
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 54px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 18px;
	box-sizing: border-box;
	font: 11px/1 var(--rm-mono);
	letter-spacing: .06em;
	color: var(--rm-faint);
	background:
		linear-gradient(90deg, transparent 0, transparent 100%),
		repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px);
	border-right: 1px solid var(--rm-line-soft);
}

.primary-block-10 .post-big:after {
	content: "";
	position: absolute;
	left: 23px;
	top: 36px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rm-lime);
	box-shadow: 0 0 10px rgba(184, 255, 92, .8);
	animation: rm-blink 3.2s ease-in-out infinite;
}

@keyframes rm-blink {
	0%, 100% { opacity: 1; }
	52% { opacity: .35; }
}

.primary-block-10 .post-big .thumbnail-link {
	float: left;
	margin-right: 18px;
	line-height: 0;
}

.primary-block-10 .post-big img {
	float: none;
	display: block;
	width: 196px;
	margin: 0;
	border: 1px solid var(--rm-line);
	filter: saturate(.9) contrast(1.05);
	object-fit: cover;
	background: #060907;
}

.primary-block-10 .post-big .entry-title {
	font-size: 17px;
	line-height: 1.5;
	margin-bottom: 8px;
	font-weight: 600;
}

.entry-title a,
.entry-title a:visited { color: #e6f0e5; }

.entry-title a:hover { color: var(--rm-lime); }

.primary-block-10 .post-big .entry-meta {
	font-size: 11px;
	color: var(--rm-faint);
	font-family: var(--rm-mono);
	letter-spacing: .1em;
	margin-bottom: 7px;
}

.primary-block-10 .post-big .entry-meta:before {
	content: "TS ";
	color: var(--rm-orange);
}

.primary-block-10 .post-big .entry-summary {
	color: var(--rm-muted);
	font-size: 13px;
	line-height: 1.72;
}

.primary-block-10 .post-big .entry-summary p { margin: 0; }

.primary-block-10 .post-big .entry-summary p:before {
	content: "› ";
	color: var(--rm-lime-dim);
}

.entry-summary p.rm-empty { display: none; }

/* 首页空块 */
.home-primary-area .widget_ad { margin: 18px 0; }

/* ============================================================
   5. 侧栏仪表
   ============================================================ */
.sidebar .widget {
	background: var(--rm-panel);
	border: 1px solid var(--rm-line);
	padding: 20px 16px 16px;
	position: relative;
}

.sidebar .widget .widget-title,
.sidebar .widget_custom_text .widget-title {
	background: #0a0e0b !important;
	border: 1px solid var(--rm-line) !important;
	border-left: 3px solid var(--rm-orange) !important;
	color: var(--rm-orange) !important;
	font: 10px/1 var(--rm-mono);
	letter-spacing: .26em;
	text-transform: uppercase;
	width: auto;
	top: -20px;
	left: -16px;
	margin: 0 -1px 12px -0;
	padding: 6px 10px;
	display: block;
	position: relative;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .4);
}

.sidebar .widget_custom_text .widget-link { display: block; }

.sidebar .widget_custom_text {
	padding-top: 14px;
	transition: border-color .18s ease, background .18s ease;
}

.sidebar .widget_custom_text:hover {
	border-color: var(--rm-orange) !important;
	background: #141a13;
}

.sidebar .widget_custom_text h4 {
	color: #eaf3e6 !important;
	font: 600 17px/1.3 var(--rm-sans);
	margin: 8px 0 8px;
}

.sidebar .widget_custom_text h4:before {
	content: "▸";
	font: 10px/1 var(--rm-mono);
	color: var(--rm-lime-dim);
	margin-right: 7px;
	vertical-align: 3px;
}

.sidebar .widget_custom_text .custom-text {
	color: var(--rm-muted);
	font-size: 12.5px;
	line-height: 1.65;
}

.sidebar .widget_custom_text .custom-text:after {
	content: "";
	display: block;
	margin-top: 11px;
	height: 4px;
	background:
		linear-gradient(90deg, var(--rm-lime) 0 var(--lvl, 50%), #1b241d var(--lvl, 50%) 100%);
	border: 1px solid #1b241d;
	box-shadow: 0 0 8px rgba(184, 255, 92, .18);
}

.sidebar .widget_custom_text:nth-of-type(3n) .custom-text:after { --lvl: 88%; }
.sidebar .widget_custom_text:nth-of-type(3n+1) .custom-text:after { --lvl: 64%; }
.sidebar .widget_custom_text:nth-of-type(3n+2) .custom-text:after { --lvl: 42%; }

.sidebar .widget_custom_text .widget-link:hover .custom-text { color: var(--rm-text); }

.sidebar .widget_ad {
	background: none;
	border: none;
	padding: 0;
	margin-bottom: 12px;
}

.sidebar .widget_tabs {
	background: var(--rm-panel);
	border: 1px solid var(--rm-line);
}

.sidebar .widget_tabs .tabs { border-bottom: 1px solid var(--rm-line); }

.sidebar .widget_tabs .tabs li a {
	color: var(--rm-muted);
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .12em;
}

.sidebar .widget_tabs .tabs li.active a { color: var(--rm-lime); }

.sidebar .widget_tabs .entry-wrap a { color: var(--rm-text); }

.sidebar .widget_tabs .entry-meta { color: var(--rm-faint); }

/* ============================================================
   6. 面包屑 / 归档列表 / 搜索
   ============================================================ */
.breadcrumbs,
.single-breadcrumbs {
	background: #0c120e;
	border: 1px solid var(--rm-line);
	color: var(--rm-muted);
}

.breadcrumbs {
	border-left: 3px solid var(--rm-lime);
	padding: 0 20px;
	margin-bottom: 16px;
}

.breadcrumbs h1 { font-size: 13px; }

.breadcrumbs h1 span.title {
	padding: 14px 0;
	font: 600 13px/1 var(--rm-mono);
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--rm-lime);
}

.breadcrumbs h1 span.title:before {
	content: "CHANNEL / ";
	color: var(--rm-faint);
}

.single-breadcrumbs {
	border-top: none;
	border-bottom: 1px solid var(--rm-line);
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .04em;
	padding: 10px 14px;
}

.single-breadcrumbs a { color: var(--rm-muted); }
.single-breadcrumbs a:hover { color: var(--rm-lime); }
.single-breadcrumbs .fa { color: var(--rm-faint); }

.content-list { margin-bottom: 0; }

.content-list .posts-loop {
	background: #0a0e0b;
	border: 1px solid var(--rm-line);
	counter-reset: rm-row;
}

.content-list .hentry {
	background: var(--rm-panel);
	border-bottom: 1px solid var(--rm-line-soft);
	padding: 20px 20px 20px 76px;
	position: relative;
	transition: background .18s ease;
}

.content-list .hentry:last-child { border-bottom: none; }
.content-list .hentry:hover { background: #131b15; }

.content-list .hentry:before {
	content: "R" var(--u, "01");
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 56px;
	padding-top: 21px;
	text-align: center;
	box-sizing: border-box;
	font: 11px/1 var(--rm-mono);
	color: var(--rm-faint);
	border-right: 1px solid var(--rm-line-soft);
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px);
}

.content-list .hentry:after {
	content: "";
	position: absolute;
	left: 24px;
	top: 40px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rm-lime);
	box-shadow: 0 0 10px rgba(184, 255, 92, .75);
}

.content-list .thumbnail-link {
	float: left;
	width: 200px;
	margin: 0 20px 6px 0;
	line-height: 0;
}

.content-list .thumbnail-link img {
	width: 100%;
	border: 1px solid var(--rm-line);
	filter: saturate(.9) contrast(1.05);
}

.content-list .entry-header { margin-bottom: 8px; }

.content-list .entry-title {
	font-size: 17px;
	line-height: 1.5;
	font-weight: 600;
}

.content-list .entry-meta {
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--rm-faint) !important;
}

.content-list .entry-meta .entry-date:before {
	content: "TS ";
	color: var(--rm-orange);
}

.content-list .entry-summary {
	color: var(--rm-muted);
	font-size: 13px;
	line-height: 1.7;
}

.content-list .entry-summary p { margin: 0; }

.content-list .entry-summary p:before {
	content: "› ";
	color: var(--rm-lime-dim);
}

.content-list .entry-overview { display: table; }

/* ============================================================
   7. 正文
   ============================================================ */
.single .site-main,
.page .site-main {
	background: var(--rm-panel);
	border: 1px solid var(--rm-line);
	border-top: 2px solid var(--rm-lime-dim);
	padding: 30px 32px 36px;
	box-shadow: inset 0 0 80px rgba(0, 0, 0, .35);
}

.single #primary .entry-header {
	border-bottom: 1px solid var(--rm-line);
	padding-bottom: 18px;
	text-align: left;
	margin-bottom: 22px;
}

.single #primary .entry-header:before {
	content: "UNIT INSPECTION / 机位巡检单";
	display: block;
	font: 10px/1 var(--rm-mono);
	letter-spacing: .26em;
	color: var(--rm-orange);
	margin-bottom: 13px;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.single #primary .entry-header:before {
		font-size: 9px;
		letter-spacing: .12em;
	}
}

.single h1.entry-title,
.error404 h1.entry-title,
.page h1.entry-title {
	color: #f0f7ec;
	font-size: 1.55em;
	line-height: 1.5;
	letter-spacing: .01em;
}

.single #primary .entry-meta {
	font-family: var(--rm-mono);
	font-size: 11px;
	color: var(--rm-faint);
	letter-spacing: .08em;
}

.single #primary .entry-meta .entry-date:before {
	content: "LOGGED ";
	color: var(--rm-orange);
}

.single #primary article.hentry .entry-meta a { color: var(--rm-muted); }
.single #primary article.hentry .entry-meta a:hover { color: var(--rm-lime); }

.entry-content {
	font-size: 1.06em;
	color: #c9d6c8;
	line-height: 1.95;
}

.entry-content p { margin-bottom: 1.15em; }

body.single .entry-content a,
body.page .entry-content a {
	color: var(--rm-lime);
	text-decoration: none;
	border-bottom: 1px solid rgba(184, 255, 92, .38);
}

body.single .entry-content a:hover,
body.page .entry-content a:hover {
	color: #0a0e0b;
	background: var(--rm-lime);
	border-bottom-color: var(--rm-lime);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: #eef7ea;
	margin: 1.7em 0 .7em;
	line-height: 1.4;
}

.entry-content h2:before,
.entry-content h3:before {
	content: "▮";
	color: var(--rm-orange);
	margin-right: 8px;
	font-size: .8em;
	vertical-align: 2px;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 14px 18px;
	background: #0b110d;
	border-left: 3px solid var(--rm-lime);
	color: var(--rm-muted);
}

.entry-content pre,
.entry-content code {
	font-family: var(--rm-mono);
	background: #070a08;
	border: 1px solid var(--rm-line);
	color: var(--rm-lime);
}

.entry-content pre { padding: 14px 16px; overflow: auto; margin-bottom: 1.4em; }
.entry-content code { padding: 1px 5px; font-size: .9em; }

.entry-content table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1.5em;
	font-size: .94em;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--rm-line);
	padding: 9px 12px;
	text-align: left;
}

.entry-content th {
	background: #0a0e0b;
	color: var(--rm-lime);
	font-family: var(--rm-mono);
	font-size: .9em;
	letter-spacing: .08em;
}

.entry-content img {
	border: 1px solid var(--rm-line);
	background: #060907;
}

.entry-content hr {
	border: none;
	border-top: 1px dashed var(--rm-line);
	margin: 2em 0;
}

.entry-content ul li,
.entry-content ol li { margin-bottom: .45em; }

/* 文章底部 */
.single #primary .entry-footer { border-color: var(--rm-line); }

.single #primary .entry-footer .entry-like a {
	color: var(--rm-lime) !important;
	border-color: var(--rm-line) !important;
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .1em;
}

.single #primary .entry-footer .entry-sponsor span {
	color: var(--rm-orange) !important;
	border-color: var(--rm-line) !important;
	font-family: var(--rm-mono);
	font-size: 11px;
}

.entry-tags .tag-links a {
	background: #0b110d;
	border: 1px solid var(--rm-line);
	color: var(--rm-muted);
	font-family: var(--rm-mono);
	font-size: 11px;
	border-radius: 0;
}

.entry-tags .tag-links a:hover {
	background: var(--rm-lime);
	border-color: var(--rm-lime);
	color: #0a0e0b;
}

.author-box {
	background: #0b110d;
	border: 1px solid var(--rm-line);
	border-left: 3px solid var(--rm-lime-dim);
	border-radius: 0;
}

.author-box .author-meta .author-name a { color: var(--rm-text); }
.author-box .author-meta .author-desc { color: var(--rm-muted); }

#post-nav { border-top: 1px solid var(--rm-line); padding-top: 22px; }

#post-nav h4 { color: #eaf3e6; }
#post-nav span { color: var(--rm-lime); font-family: var(--rm-mono); letter-spacing: .12em; }
#post-nav .shadow { background: linear-gradient(180deg, rgba(4, 7, 5, .18), rgba(4, 7, 5, .72)); }
#post-nav .shadow:hover { background: linear-gradient(180deg, rgba(4, 7, 5, .08), rgba(4, 7, 5, .6)); }

.related-content { border-top: 1px solid var(--rm-line); padding-top: 24px; }

.related-content .section-title {
	font: 600 12px/1 var(--rm-mono);
	letter-spacing: .24em;
	color: var(--rm-lime);
	text-transform: uppercase;
}

.related-content .section-title:before { content: "▮ "; color: var(--rm-orange); }

.related-content ul li {
	color: var(--rm-muted);
	border-bottom: 1px dashed var(--rm-line-soft);
	padding: 9px 0 9px 16px;
}

.related-content ul li:before {
	background: var(--rm-lime-dim);
	border-radius: 0;
	width: 6px;
	height: 6px;
	top: 15px;
}

.related-content ul li .entry-title a { color: var(--rm-text); }
.related-content ul li .entry-title a:hover { color: var(--rm-lime); }
.related-content ul li .entry-meta,
.related-content ul li .entry-meta a { color: var(--rm-faint); font-family: var(--rm-mono); }

/* 评论 */
.comments-area { margin-top: 26px; border-top: 1px solid var(--rm-line); padding-top: 22px; }

.comments-title,
.comment-reply-title {
	font: 600 13px/1 var(--rm-mono);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--rm-lime);
}

.comments-title:before,
.comment-reply-title:before {
	background: var(--rm-orange) !important;
}

.comment-list li .comment-body {
	background: #0b110d;
	border: 1px solid var(--rm-line);
	padding: 14px 16px;
}

.comment-author a { color: var(--rm-text); }
.comment-metadata,
.comment-metadata a { color: var(--rm-faint); font-family: var(--rm-mono); font-size: 11px; }

.comment-content { color: var(--rm-muted); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: #080c09;
	border: 1px solid var(--rm-line);
	color: var(--rm-text);
	font-family: var(--rm-mono);
}

/* ============================================================
   8. 分页 / 404 / 页面
   ============================================================ */
.navigation.pagination {
	background: #0a0e0b;
	border: 1px solid var(--rm-line);
	border-top: none;
	border-radius: 0;
	padding: 4px 0;
}

.pagination .page-numbers {
	background: transparent;
	border: 1px solid var(--rm-line);
	border-radius: 0;
	color: var(--rm-muted);
	font-family: var(--rm-mono);
	font-size: 12px;
	height: 30px;
	line-height: 28px;
	margin: 6px 3px;
	padding: 0 11px;
}

.pagination .page-numbers:hover {
	background: #131b15;
	border-color: var(--rm-lime-dim);
	color: var(--rm-lime);
}

.pagination .page-numbers.current {
	background: var(--rm-lime);
	border-color: var(--rm-lime);
	color: #0a0e0b;
}

.pagination .page-numbers.dots { border-color: transparent; }

/* ============================================================
   9. 页脚
   ============================================================ */
.site-footer {
	margin-top: 40px;
	border-top: 1px solid var(--rm-line);
	background:
		repeating-linear-gradient(180deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 7px),
		#080b09;
	padding-top: 40px;
	position: relative;
}

.rm-rail {
	position: absolute;
	top: 11px;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 44px);
	overflow: hidden;
	white-space: nowrap;
	font: 9px/1 var(--rm-mono);
	letter-spacing: .22em;
	color: var(--rm-faint);
	text-transform: uppercase;
}

.rm-rail:before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 9px;
	vertical-align: 0;
	background: var(--rm-lime);
	border-radius: 50%;
	box-shadow: 0 0 7px var(--rm-lime);
}

.footer-content {
	background: transparent;
	border: none;
}

.footer-partners {
	background: transparent;
	margin-bottom: 18px;
}

.footer-partners .partner-title {
	border-bottom: 1px solid var(--rm-line);
	padding: 0 0 12px 22px;
	margin-bottom: 14px;
	font: 600 12px/1 var(--rm-mono);
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--rm-lime);
}

.footer-partners .partner-title:before {
	background: var(--rm-orange) !important;
	width: 4px;
	height: 14px;
	top: 0;
	left: 0;
	border-radius: 0;
}

.footer-partners .partner-title .partner-desc {
	color: var(--rm-faint);
	font-family: var(--rm-mono);
	font-size: 10px;
	letter-spacing: .12em;
	margin-left: 12px;
}

.footer-partners .partner-title .partner-link a {
	color: var(--rm-muted);
	font-family: var(--rm-mono);
	font-size: 10px;
	letter-spacing: .1em;
}

.footer-partners .partner-title .partner-link a:hover { color: var(--rm-lime); }

.footer-partners .partner-image {
	height: 66px;
	line-height: 66px;
	border-right: 1px solid var(--rm-line-soft);
	border-bottom: 1px solid var(--rm-line-soft);
	background: #0b0f0c;
	position: relative;
	transition: background .18s ease;
}

.footer-partners .partner-image:hover { background: #121a14; }

.footer-partners .partner-image img {
	max-height: 46px;
	padding: 0 18%;
	filter: grayscale(1) brightness(1.9) contrast(.9);
	opacity: .62;
	transition: filter .18s ease, opacity .18s ease;
}

.footer-partners .partner-image:hover img {
	filter: none;
	opacity: 1;
}

.friend {
	border-top: 1px solid var(--rm-line-soft);
	padding-top: 16px;
}

.friend ul li a {
	background: #0b0f0c;
	border: 1px solid var(--rm-line-soft);
	border-radius: 0;
	color: var(--rm-muted);
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .04em;
}

.friend ul li a:hover {
	background: var(--rm-lime);
	border-color: var(--rm-lime);
	color: #0a0e0b;
}

.friend-nav li a { color: var(--rm-muted); }
.friend-nav li a:hover { color: var(--rm-lime); }

#site-bottom {
	background: #050806;
	border-top: 1px solid var(--rm-line);
	color: var(--rm-faint);
	font-family: var(--rm-mono);
	font-size: 11px;
	letter-spacing: .1em;
	padding: 18px 20px;
}

#site-bottom:before {
	content: "$ CATALOG · RACK A · 19IN · 42U — 机架仪表";
	display: block;
	font-size: 10px;
	letter-spacing: .22em;
	color: var(--rm-lime-dim);
	margin-bottom: 9px;
}

#site-bottom a { color: var(--rm-muted); }
#site-bottom a:hover { color: var(--rm-lime) !important; }

.footer-area,
.footer-columns { background: #0a0e0b; }
.footer-area a { color: var(--rm-muted); }
.footer-area .widget-title { color: var(--rm-lime); font-family: var(--rm-mono); }

/* ============================================================
   10. 浮动件 / 弹窗
   ============================================================ */
.bottom-right .bottom-icon,
.bottom-right .icon-contact a,
.bottom-right .icon-link a {
	background: #0d1310;
	border: 1px solid var(--rm-line);
}

.bottom-right .fa { color: var(--rm-muted); }
.bottom-right .icon-link:hover .fa,
.bottom-right .icon-contact a:hover .fa { color: var(--rm-lime); }

.bottom-right span.icon-link .text,
.bottom-right a .text {
	background: #0d1310;
	border: 1px solid var(--rm-line);
	color: var(--rm-lime) !important;
	font-family: var(--rm-mono);
	font-size: 10px;
	letter-spacing: .16em;
	border-radius: 0;
}

.menu-modal,
.menu-modal-inner { background: #080b09; color: var(--rm-text); }
.modal-menu li a { color: var(--rm-text); font-family: var(--rm-mono); letter-spacing: .14em; }
.menu-top { border-bottom: 1px solid var(--rm-line); }
.toggle-text { color: var(--rm-muted); font-family: var(--rm-mono); }

.sg-popup-builder-content-html .sgpb-main-html-content-wrapper { color: #222; }

/* ============================================================
   11. 响应式
   ============================================================ */
@media only screen and (max-width: 1119px) {
	.container { width: 96%; }
	#primary { width: 68%; }
	.sidebar { width: 30%; }
	#logo:after { font-size: 14px; letter-spacing: .22em; }
}

@media only screen and (max-width: 959px) {
	.site-header { height: auto; }
	.site-header .container { height: 62px; gap: 10px; }
	.site-branding,
	.site-branding #logo { height: 62px; }
	.site-branding #logo img { width: 38px; height: 38px; }
	#logo:after { left: 52px; top: 25px; font-size: 13px; letter-spacing: .24em; }
	.site-desc { display: none; }
	.header-space { height: 62px; }
	.header-search { top: 62px; }
	.site-header .header-search-icon { top: 50%; }

	body #primary-menu {
		background: #0a0e0b !important;
		border-top: 1px solid var(--rm-line);
		padding: 0;
	}

	#primary-menu li a,
	#primary-menu li a:hover {
		border: none;
		border-bottom: 1px solid var(--rm-line-soft);
		display: block;
		padding: 13px 16px;
		background: transparent;
	}

	.content-list .hentry { padding: 16px 14px 16px 58px; }
	.content-list .hentry:before { width: 44px; }
	.content-list .hentry:after { left: 18px; top: 33px; }
	.content-list .thumbnail-link { width: 40%; margin-right: 14px; }
	.content-list .entry-title { font-size: 15px; }

	.primary-block-10 .post-big { padding: 16px 14px 16px 58px; }
	.primary-block-10 .post-big:before { width: 44px; padding-top: 16px; }
	.primary-block-10 .post-big:after { left: 18px; top: 33px; }

	.single .site-main,
	.page .site-main { padding: 22px 18px 26px; }

	.footer-partners .partner-image { width: 25%; }
}

@media only screen and (max-width: 767px) {
	#logo:after { content: "RACK·METER"; }

	.primary-block-10 .post-big .thumbnail-link {
		float: none;
		display: block;
		margin: 0 0 12px;
	}

	.primary-block-10 .post-big img {
		width: 100%;
		max-height: 170px;
	}

	.primary-block-10 .post-big { padding-left: 52px; }

	.primary-block-10 .post-big .entry-title { font-size: 15.5px; }

	.content-list .thumbnail-link {
		float: none;
		width: 100%;
		margin: 0 0 10px;
	}

	.content-list .hentry { padding-left: 52px; }

	.site-header:after { display: none; }

	.footer-partners .partner-image { width: 33.3333%; }

	#site-bottom:before { letter-spacing: .14em; }
}

@media only screen and (max-width: 479px) {
	.site-header .container { gap: 8px; }
	#logo:after { font-size: 11px; letter-spacing: .18em; left: 46px; top: 27px; }
	.site-branding #logo img { width: 34px; height: 34px; }

	.header-search { width: 100%; right: 0; }

	.primary-block-10 .post-big { padding: 14px 12px 14px 46px; }
	.primary-block-10 .post-big:before,
	.content-list .hentry:before { width: 38px; font-size: 10px; }
	.primary-block-10 .post-big:after { left: 15px; top: 30px; width: 7px; height: 7px; }

	.content-list .hentry { padding: 14px 12px 14px 46px; }
	.content-list .hentry:after { left: 15px; top: 30px; }

	.footer-partners .partner-image { width: 50%; }

	#post-nav .post-previous,
	#post-nav .post-next { width: 100%; float: none; margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.primary-block-10 .post-big:after { animation: none; }
}
