@import url("/wp-content/themes/bigboom/css/rfj-red-swatches.css?v=1787855429");

.rfj-single-special-page {
	padding: 28px 0 52px;
	background: #f5f6f8;
}

.rfj-single-special-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
}

.rfj-single-special-main,
.rfj-single-special-sidebar {
	min-width: 0;
}

.rfj-single-special-header,
.rfj-single-special-content-section,
.rfj-single-special-selection,
.rfj-single-special-extra,
.rfj-single-special-comments,
.rfj-special-sidebar-section {
	border: 1px solid #e7e9ee;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(16, 24, 40, .04);
}

.rfj-single-special-header {
	overflow: hidden;
}

.rfj-single-special-header .rfzj-breadcrumb {
	margin: 0;
	padding: 14px 22px;
	border-bottom: 1px solid #edf0f4;
}

.rfj-single-special-hero {
	display: grid;
	grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 28px;
}

.rfj-single-special-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	padding: 10px;
	border-radius: 10px;
	background: #f7f8fa;
}

.rfj-single-special-cover img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* 榜单封面作为荣誉标识呈现，不再占据主视觉。 */
.rfj-single-special-hero--ranking {
	grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
	gap: 24px;
}

.rfj-single-special-hero--ranking .rfj-single-special-cover {
	min-height: 160px;
}

.rfj-single-special-hero--ranking .rfj-single-special-cover img {
	width: auto;
	max-height: 168px;
	object-fit: contain;
	transition: none;
}

.rfj-single-special-hero--ranking .rfj-single-special-cover img:hover {
	transform: none;
}

.rfj-single-special-cover__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 190px;
	border-radius: 8px;
	background: linear-gradient(135deg, #273142, #53657e);
	color: rgba(255, 255, 255, .8);
	font-size: 58px;
}

.rfj-single-special-summary h1 {
	margin: 0 0 16px;
	color: #182230;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.35;
}

.rfj-single-special-view-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin: -6px 0 16px;
}

.rfj-single-special-view-switch span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--rfj-red-fff1f0);
	color: var(--rfj-red-b42318);
	font-size: 12px;
	font-weight: 700;
}

.rfj-single-special-view-switch a {
	color: var(--rfj-text-secondary);
	font-size: 13px;
}

.rfj-single-special-status {
	margin: -6px 0 14px;
}

.rfj-single-special-taxonomies,
.rfj-single-special-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
}

.rfj-single-special-taxonomies a,
.rfj-single-special-taxonomies span {
	color: var(--rfj-text-secondary);
	font-size: 13px;
	text-decoration: none;
}

.rfj-single-special-taxonomies a:hover {
	color: var(--rfj-red-legacy-brand);
}

.rfj-single-special-meta {
	margin-top: 24px;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
}

.rfj-single-special-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 22px;
}

.rfj-single-special-header-actions .rfj-post-actions-container {
	width: auto;
	justify-content: flex-start;
	padding: 0;
	border: 0;
}

.rfj-single-special-header-actions .rfj-post-actions-container .rfj-action-buttons {
	justify-content: flex-start;
}

.rfj-single-special-consult-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 88px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid #e2e7ee;
	border-radius: 8px;
	background: #fff;
	color: var(--rfj-text-secondary);
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: all .25s ease;
}

.rfj-single-special-consult-trigger:hover,
.rfj-single-special-consult-trigger:focus {
	border-color: var(--rfj-red-legacy-brand);
	background: var(--rfj-red-fff7f7);
	color: var(--rfj-red-legacy-brand);
}

.rfj-single-special-consult-trigger .rfj-svg-icon {
	font-size: 18px;
}

.rfj-single-special-content-section,
.rfj-single-special-selection,
.rfj-single-special-extra,
.rfj-single-special-comments {
	margin-top: 20px;
	padding: 28px 30px;
}

.rfj-single-special-content {
	padding: 0;
}

.rfj-single-special-content img,
.rfj-single-special-summary-image {
	max-width: 100%;
	height: auto;
}

.rfj-single-special-qrcode {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 24px 0;
	padding: 12px;
	border-radius: 9px;
	background: #f7f8fa;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
}

.rfj-single-special-qrcode img {
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.rfj-single-special-summary-visual {
	margin-top: 24px;
	text-align: center;
}

.rfj-single-special-summary-visual .rfj-single-special-summary-image {
	display: block;
	width: auto;
	max-width: min(100%, 200px);
	margin-right: auto;
	margin-left: auto;
}

.rfj-single-special-section-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 8px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eaecf0;
}

.rfj-single-special-section-heading span {
	color: var(--rfj-red-legacy-brand);
	font-size: 13px;
	font-weight: 700;
}

.rfj-single-special-section-heading h2,
.rfj-single-special-extra h2 {
	margin: 0;
	color: #182230;
	font-size: 22px;
	font-weight: 800;
}

.rfj-single-special-entry {
	position: relative;
	padding: 30px 0;
	border-bottom: 1px solid #eaecf0;
	scroll-margin-top: 90px;
}

.rfj-single-special-entry:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rfj-single-special-entry__header a {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #182230;
	text-decoration: none;
}

.rfj-single-special-entry__header img {
	width: auto;
	height: auto;
	max-width: 132px;
	max-height: 52px;
	flex: 0 0 auto;
	object-fit: contain;
	object-position: left center;
}

.rfj-single-special-entry__header h3 {
	margin: 0;
	font-size: 23px;
	font-weight: 800;
}

.rfj-single-special-entry__body {
	margin-top: 22px;
}

.rfj-single-special-entry__body h4 {
	margin: 22px 0 8px;
	color: var(--rfj-text-primary);
	font-size: 16px;
	font-weight: 800;
}

.rfj-single-special-selected-products {
	display: grid;
	gap: 12px;
}

.rfj-single-special-selected-product {
	padding: 16px;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	background: #f9fafb;
}

.rfj-single-special-selected-product header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rfj-single-special-selected-product header img {
	width: 56px;
	height: 36px;
	object-fit: contain;
}

.rfj-single-special-selected-product header a {
	color: #182230;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
}

.rfj-single-special-selected-product__description,
.rfj-single-special-selected-product__reason {
	margin-top: 12px;
	color: var(--rfj-text-secondary);
	font-size: 14px;
}

.rfj-single-special-selected-product__description > :last-child {
	margin-bottom: 0;
}

.rfj-single-special-selected-product__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.rfj-single-special-selected-product__tags a {
	font-size: 12px;
}

.rfj-single-special-inline-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.rfj-single-special-inline-links a:not(:last-child)::after {
	margin-left: 10px;
	color: #d0d5dd;
	content: "|";
}

.rfj-single-special-entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 18px;
}

.rfj-single-special-entry__tags a {
	font-size: 13px;
}

.rfj-single-special-entry__footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 22px;
}

body .rfj-single-special-entry__footer > :is(.rfj-single-secondary-action, .rfj-single-primary-action, .rfzj_button--pill) {
	box-sizing: border-box;
	flex: 0 0 100px;
	width: 100px;
	max-width: 100px;
}

body .rfj-single-special-entry__footer > .rfj-single-secondary-action--consult {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	min-height: 34px;
	line-height: 1;
	padding: 0 18px;
}

.rfj-special-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.rfj-special-button--primary {
	border-color: var(--rfj-red-legacy-brand);
	background: var(--rfj-red-legacy-brand);
	color: #fff;
}

.rfj-special-button--secondary {
	border-color: #d0d5dd;
	background: #fff;
	color: var(--rfj-text-secondary);
}

.rfj-single-special-extra > h2 {
	margin-bottom: 20px;
}

.rfj-single-special-vote-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.rfj-single-special-vote-grid button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 16px 10px;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: #fff;
	color: var(--rfj-text-secondary);
	cursor: pointer;
}

.rfj-single-special-vote-grid button:hover {
	border-color: var(--rfj-red-legacy-brand);
	color: var(--rfj-red-legacy-brand);
}

.rfj-single-special-vote-grid .rfj-svg-icon {
	color: #12b76a;
}

.rfj-single-special-vote-grid small {
	color: #98a2b3;
}

.rfj-single-special-more__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.rfj-single-special-more__grid .rfzj_ranking_card {
	max-width: none;
	height: 100%;
}

.rfj-single-special-video {
	width: 100%;
	max-width: 960px;
	margin-right: auto;
	margin-left: auto;
}

.rfj-single-special-video .rfzj_video_player,
.rfj-single-special-video iframe,
.rfj-single-special-video video {
	width: 100%;
	max-width: 100%;
}

.rfj-single-special-video > .embed-responsive {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}

.rfj-single-special-video > .embed-responsive iframe,
.rfj-single-special-video > .embed-responsive video,
.rfj-single-special-video > .embed-responsive embed,
.rfj-single-special-video > .embed-responsive object {
	position: absolute;
	inset: 0;
	height: 100%;
	border: 0;
}

.rfj-single-special-comments #modern-comments {
	max-width: none;
}

.rfj-special-sidebar-section {
	margin-bottom: 20px;
	padding: 20px;
}

.rfj-special-sidebar-section h2 {
	margin: 0 0 16px;
	padding-left: 11px;
	border-left: 4px solid var(--rfj-red-legacy-brand);
	color: #182230;
	font-size: 18px;
	font-weight: 800;
}

.rfj-special-sidebar-cards,
.rfj-special-sidebar-rankings {
	display: grid;
	gap: 0;
}

.rfj-special-sidebar-cards .rfzj_software_card,
.rfj-special-sidebar-cards .rfzj_company_card {
	padding: 10px 0;
}

.rfj-special-sidebar-selection .rfzj_software_card--compact {
	grid-template-columns: 42px minmax(0, 1fr) auto;
}

.rfj-special-sidebar-selection .rfzj_software_card--compact .rfzj_software_card__cta {
	display: inline-flex;
}

.rfj-special-comparison-list {
	display: grid;
	gap: 6px;
}

.rfj-special-comparison-list a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
	gap: 6px;
	align-items: center;
	padding: 11px 0;
	border-bottom: 1px solid #eef0f3;
	color: var(--rfj-text-secondary);
	font-size: 13px;
	text-align: center;
	text-decoration: none;
}

.rfj-special-comparison-list b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	font-size: 11px;
}

.rfj-single-special-mobile-controls {
	display: none;
}

.rfj-single-special-vote-modal[hidden] {
	display: none !important;
}

.rfj-single-special-vote-modal {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rfj-single-special-vote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .65);
}

.rfj-single-special-vote-modal__dialog {
	position: relative;
	z-index: 1;
	overflow: hidden;
	width: min(880px, 100%);
	max-height: calc(100vh - 40px);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.rfj-single-special-vote-modal__dialog header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eaecf0;
}

.rfj-single-special-vote-modal__dialog header h2 {
	margin: 0;
	font-size: 20px;
}

.rfj-single-special-vote-modal__dialog header button {
	border: 0;
	background: transparent;
	color: var(--rfj-text-tertiary);
	font-size: 28px;
	cursor: pointer;
}

.rfj-single-special-vote-modal__dialog > div {
	overflow: auto;
	max-height: calc(100vh - 110px);
	padding: 20px;
	text-align: center;
}

.rfj-single-special-vote-modal__dialog img {
	max-width: 100%;
	height: auto;
}

body.rfj-single-special-modal-open {
	overflow: hidden;
}

@media (max-width: 991px) {
	.rfj-single-special-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.rfj-single-special-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.rfj-special-sidebar-section {
		margin: 0;
	}
}

@media (max-width: 767px) {
	body.rfj-single-special-page-body {
		padding-bottom: calc(70px + env(safe-area-inset-bottom));
	}

	.rfj-single-special-page {
		padding: 0 0 24px;
	}

	.rfj-single-special-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 20px 18px 22px;
	}

	.rfj-single-special-cover {
		min-height: 0;
	}

	.rfj-single-special-hero--ranking {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 16px;
		padding: 18px 16px 20px;
	}

	.rfj-single-special-hero--ranking .rfj-single-special-cover {
		box-sizing: border-box;
		width: 112px;
		min-height: 0;
		aspect-ratio: 1;
		padding: 4px;
	}

	.rfj-single-special-hero--ranking .rfj-single-special-cover img {
		max-width: 100%;
		max-height: 112px;
		width: auto;
		height: auto;
		object-fit: contain;
	}

	.rfj-single-special-hero--ranking .rfj-single-special-summary h1 {
		margin-bottom: 10px;
		font-size: 21px;
	}

	.rfj-single-special-hero--ranking .rfj-single-special-meta {
		gap: 6px 10px;
		margin-top: 12px;
		font-size: 12px;
	}

	.rfj-single-special-summary h1 {
		font-size: 24px;
	}

	.rfj-single-special-header-actions {
		display: none;
	}

	.rfj-single-special-content-section,
	.rfj-single-special-selection,
	.rfj-single-special-extra,
	.rfj-single-special-comments {
		margin-top: 12px;
		padding: 22px 18px;
	}

	.rfj-single-special-entry__header img {
		max-width: 100px;
		max-height: 44px;
	}

	.rfj-single-special-entry__header h3 {
		font-size: 20px;
	}

	.rfj-single-special-selected-product {
		padding: 14px;
	}

	.rfj-single-special-entry__footer {
		justify-content: stretch;
	}

	.rfj-special-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.rfj-single-special-vote-grid,
	.rfj-single-special-more__grid,
	.rfj-single-special-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.rfj-single-special-mobile-controls {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		align-items: stretch;
		box-sizing: border-box;
		min-height: calc(64px + env(safe-area-inset-bottom));
		padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
		border-top: 1px solid #e4e7ec;
		background: #fff;
		box-shadow: 0 -6px 20px rgba(16, 24, 40, .08);
	}

	.rfj-single-special-directory-open,
	.rfj-single-special-mobile-controls .software-footer-btn-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 0;
		height: 54px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--rfj-text-secondary);
		font-family: inherit;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.2;
	}

	.rfj-single-special-directory-open {
		gap: 4px;
	}

	.rfj-single-special-directory-open .icon-container svg {
		display: block;
		width: 18px;
		height: 18px;
	}

	.rfj-single-special-mobile-controls .software-footer-btn,
	.rfj-single-special-mobile-controls .rfj-favorite-mobile-btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		outline: 0;
		background: transparent;
		color: var(--rfj-text-secondary);
		font-family: inherit;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		box-shadow: none;
	}

	.rfj-single-special-mobile-controls .icon-container {
		display: flex;
		flex: 0 0 24px;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		margin: 0;
	}

	.rfj-single-special-mobile-controls .icon-container .rfj-svg-icon {
		font-size: 21px !important;
		line-height: 1;
	}

	.rfj-single-special-mobile-controls .button-label,
	.rfj-single-special-mobile-controls .like-count,
	.rfj-single-special-mobile-controls .small {
		display: block;
		min-height: 14.4px;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.2;
		white-space: nowrap;
	}

	.rfj-single-special-mobile-controls .like-btn .like-count {
		color: var(--rfj-text-secondary);
	}

	.rfj-single-special-vote-modal {
		align-items: flex-end;
		padding: 0;
	}

	.rfj-single-special-vote-modal__dialog {
		max-height: calc(100vh - 28px);
		border-radius: 16px 16px 0 0;
	}

}
