/* Public page rules formerly emitted in PHP <style> tags. Static only;
 * content hashes are derived from this canonical stylesheet. */

/* archive: extracted from wp-content/themes/bigboom/archive-software.php */
body.rfj-software-archive-page .topics-discover-page {
	padding-top: 24px;
}

.rfj-software-archive-hero {
	padding: 16px 0 20px;
}

.rfj-software-archive-hero__panel {
	display: block;
	padding: 12px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.rfj-software-archive-hero__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .68fr);
	gap: 28px;
	align-items: center;
	min-height: 176px;
}

.rfj-software-archive-hero__main {
	min-width: 0;
}

.rfj-software-archive-hero h1 {
	margin: 0;
	color: #1d1d1f;
	font-size: clamp(30px, 2.7vw, 38px);
	font-weight: 750;
	letter-spacing: -.035em;
	line-height: 1.2;
}

.rfj-software-archive-hero__desc {
	max-width: 740px;
	margin: 16px 0 0;
	color: #6e6e73;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.rfj-software-archive-hero__visual {
	justify-self: end;
	width: min(100%, 470px);
	height: 184px;
	color: #4388e8;
}

.rfj-software-archive-hero__visual svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.rfj-software-archive-hero__aside {
	display: block;
	min-width: 0;
	margin-top: 18px;
	padding: 15px 18px 10px;
	border: 1px solid #e7ebf1;
	border-radius: 16px;
	background: rgba(255, 255, 255, .82);
}

.rfj-software-archive-hero__aside-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 5px;
}

.rfj-software-archive-hero__aside-head h2 {
	margin: 0;
	color: #1d1d1f;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.rfj-software-archive-hero__category-all {
	flex: 0 0 auto;
	color: #667085;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.rfj-software-archive-hero__category-all:hover {
	color: #344054;
	text-decoration: none;
}

.rfj-software-archive-hero__category-all span {
	margin-left: 3px;
	font-size: 17px;
}

.rfj-software-archive-hero__category-empty {
	margin: 14px 4px 10px;
	color: #6e6e73;
	font-size: 13px;
	line-height: 1.5;
}

.rfj-software-archive-hero__category-empty a {
	color: #475569;
	font-weight: 600;
	text-decoration: none;
}

.rfj-software-archive-hero__category-empty a:hover {
	color: #1d1d1f;
	text-decoration: underline;
}

.rfj-software-archive-hero__category-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 4px;
}

.rfj-software-archive-hero__category {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 9px;
	min-width: 0;
	min-height: 126px;
	padding: 12px 6px 9px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: transparent;
	color: #252b33;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.rfj-software-archive-hero__category-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #f1f5f9;
	color: #64748b;
}

.rfj-software-archive-hero__category:nth-child(8n + 1) .rfj-software-archive-hero__category-icon {
	background: var(--rfj-red-fff0f0);
	color: var(--rfj-red-e35b5b-e72526);
}

.rfj-software-archive-hero__category:nth-child(8n + 2) .rfj-software-archive-hero__category-icon {
	background: #edf5ff;
	color: #4388e8;
}

.rfj-software-archive-hero__category:nth-child(8n + 3) .rfj-software-archive-hero__category-icon {
	background: #f3edff;
	color: #8660d9;
}

.rfj-software-archive-hero__category:nth-child(8n + 4) .rfj-software-archive-hero__category-icon {
	background: #eaf8fb;
	color: #26a6c4;
}

.rfj-software-archive-hero__category:nth-child(8n + 5) .rfj-software-archive-hero__category-icon {
	background: #edf4ff;
	color: #4286df;
}

.rfj-software-archive-hero__category:nth-child(8n + 6) .rfj-software-archive-hero__category-icon {
	background: var(--rfj-red-fff2e9-4fd689);
	color: var(--rfj-red-e58b4c-0c5779);
}

.rfj-software-archive-hero__category:nth-child(8n + 7) .rfj-software-archive-hero__category-icon {
	background: #ecf8ef;
	color: #46a86b;
}

.rfj-software-archive-hero__category:nth-child(8n) .rfj-software-archive-hero__category-icon {
	background: #f2efff;
	color: #8163d5;
}

.rfj-software-archive-hero__category-icon svg,
.rfj-software-archive-hero__category-icon img {
	width: 34px;
	height: 34px;
}

.rfj-software-archive-hero__category-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfj-software-archive-hero__category-icon img {
	display: block;
	object-fit: contain;
}

.rfj-software-archive-hero__category-name {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 38px;
	overflow-wrap: anywhere;
}

.rfj-software-archive-hero__category:hover {
	border-color: #e7ebf1;
	background: #fafbfc;
	color: #1d1d1f;
	text-decoration: none;
	transform: translateY(-2px);
}

.rfj-software-archive-hero__category:focus-visible,
.rfj-software-archive-hero__category-all:focus-visible {
	outline: 3px solid rgba(100, 116, 139, .28);
	outline-offset: 3px;
}

.rfj-software-archive-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 20px;
}

.rfj-software-archive-hero__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 0 25px;
	border: 1px solid #e1e4e8;
	border-radius: 999px;
	background: #f4f5f7;
	color: #343a43;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.rfj-software-archive-hero__action svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfj-software-archive-hero__action svg .rfj-software-archive-hero__history-center {
	fill: currentColor;
	stroke: none;
}

.rfj-software-archive-hero__action.rfj-software-archive-hero__action--store svg {
	width: 20px;
	height: 12px;
	stroke: none;
}

.rfj-software-archive-hero__action:hover {
	border-color: #d5d9df;
	background: #e9ebef;
	color: #252b33;
	text-decoration: none;
}

.rfj-software-archive-hero__action:focus-visible {
	outline: 3px solid rgba(100, 116, 139, .28);
	outline-offset: 3px;
}

@media (min-width: 769px) and (max-width: 1100px) {
	.rfj-software-archive-hero__intro {
		grid-template-columns: minmax(0, 1fr) 280px;
	}
	.rfj-software-archive-hero__category-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.rfj-software-archive-hero__category {
		min-height: 116px;
	}
}

.rfj-software-archive-page .topics-app-row-copy small,
.rfj-software-archive-page .topics-rank-purchase-note {
	display: block;
	margin-top: 6px;
	color: var(--rfj-red-legacy-brand);
	font-size: 12px;
	font-weight: 800;
}

.rfj-software-archive-page .topics-app-view-btn {
	min-width: 76px;
}

.rfj-software-archive-page .topics-app-row-copy .topics-app-row-context {
	margin-top: 5px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
}

@media (max-width: 768px) {
	.rfj-software-archive-hero {
		padding: 8px 0 12px;
	}

	.rfj-software-archive-hero__panel {
		display: block;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.rfj-software-archive-hero__intro {
		display: block;
		min-height: 0;
	}

	.rfj-software-archive-hero__visual {
		display: none;
	}

	.rfj-software-archive-hero h1 {
		font-size: 24px;
		letter-spacing: -.025em;
		line-height: 1.25;
	}

	.rfj-software-archive-hero__desc {
		margin: 9px 0 0;
		font-size: 13px;
		line-height: 1.55;
	}

	.rfj-software-archive-hero__aside {
		display: block;
		margin-top: 15px;
		padding: 12px 7px 7px;
		border-radius: 14px;
	}

	.rfj-software-archive-hero__aside-head {
		margin: 0 4px 5px;
	}

	.rfj-software-archive-hero__aside-head h2 {
		font-size: 16px;
	}

	.rfj-software-archive-hero__category-all {
		font-size: 12px;
	}

	.rfj-software-archive-hero__category-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2px;
	}

	.rfj-software-archive-hero__category {
		gap: 7px;
		min-height: 100px;
		padding: 9px 2px 7px;
		border-radius: 10px;
		font-size: 11px;
		line-height: 1.25;
	}

	.rfj-software-archive-hero__category-icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}

	.rfj-software-archive-hero__category-icon svg,
	.rfj-software-archive-hero__category-icon img {
		width: 26px;
		height: 26px;
	}

	.rfj-software-archive-hero__category-name {
		min-height: 34px;
	}

	.rfj-software-archive-hero__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 14px;
	}

	.rfj-software-archive-hero__action {
		min-width: 0;
		min-height: 44px;
		padding: 0 8px;
		gap: 5px;
		font-size: 13px;
		white-space: normal;
		line-height: 1.3;
	}

	.rfj-software-archive-hero__action svg {
		width: 16px;
		height: 16px;
	}

}
@media (max-width: 360px) {
	.rfj-software-archive-hero__category {
		font-size: 10px;
	}
	.rfj-software-archive-hero__action {
		font-size: 12px;
	}
}

/* taxonomy: extracted from wp-content/themes/bigboom/taxonomy-function.php */
/* 功能分类各板块保留主标题，移除重复的小标题，避免标题层级冗余。 */
.rfj-taxonomy-page--function .rfj-taxonomy-section__heading > div > span {
	display: none;
}

.rfj-taxonomy-page--function .rfj-taxonomy-section__heading h2,
.rfj-taxonomy-page--function .rfj-taxonomy-filter__head h2 {
	margin-top: 0;
}

.rfj-taxonomy-page--function .rfj-taxonomy-hero h1 {
	margin-top: 0;
}

@media (max-width: 768px) {
	.rfj-taxonomy-page--function #industry-cases .rfj-taxonomy-post-grid,
	.rfj-taxonomy-page--function .rfj-taxonomy-company-grid,
	.rfj-taxonomy-page--function #industry-rankings .rfj-taxonomy-compact-grid {
		align-items: stretch;
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		margin-right: -12px;
		margin-left: -12px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		padding: 4px 12px 18px;
		scroll-padding-inline: 12px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		width: calc(100% + 24px);
	}

	.rfj-taxonomy-page--function #industry-cases .rfj-taxonomy-post-grid::-webkit-scrollbar,
	.rfj-taxonomy-page--function .rfj-taxonomy-company-grid::-webkit-scrollbar,
	.rfj-taxonomy-page--function #industry-rankings .rfj-taxonomy-compact-grid::-webkit-scrollbar {
		display: none;
	}

	.rfj-taxonomy-page--function #industry-cases .rfj-taxonomy-post-grid > * {
		box-sizing: border-box;
		flex: 0 0 68%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.rfj-taxonomy-page--function .rfj-taxonomy-company-grid > a {
		box-sizing: border-box;
		flex: 0 0 42%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.rfj-taxonomy-page--function #industry-rankings .rfj-taxonomy-compact-grid > div {
		box-sizing: border-box;
		flex: 0 0 72%;
		min-width: 0;
		padding: 0 10px;
		border: 1px solid #eaecf0;
		border-radius: 10px;
		background: #fff;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.rfj-taxonomy-page--function #industry-rankings .rfzj_ranking_card--compact {
		min-height: 88px;
		padding: 10px 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.rfj-taxonomy-page--function #industry-rankings .rfj-taxonomy-compact-grid > div:only-child {
		flex-basis: 100%;
	}

	.rfj-taxonomy-page--function #industry-cases .rfj-taxonomy-post-grid > *:only-child,
	.rfj-taxonomy-page--function .rfj-taxonomy-company-grid > a:only-child {
		flex-basis: 100%;
	}
}

/* video: extracted from wp-content/themes/bigboom/page-videos.php */
.video-latest-section-title {
    margin: 0 0 1.25rem;
}

.video-list-page .post-load-more {
    margin-bottom: 40px;
}

/* search: extracted from wp-content/themes/bigboom/page-search.php */
#search-page-navbar-collapse .nav .rfj-search-ai-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 3px 8px;
        padding: 5px 10px;
        border: 1px solid #e7e3f6;
        border-radius: 10px;
        background: #f6f4fc;
        color: #65588a;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        text-decoration: none;
    }
    #search-page-navbar-collapse .rfj-search-ai-link .rfj-nav-avatar {
        flex: 0 0 24px;
        border-radius: 50%;
        object-fit: contain;
    }
    #search-page-navbar-collapse .rfj-search-ai-link:hover {
        border-color: #d4c9ef;
        background: #eee9f9;
        color: #57457f;
    }
    #search-page-navbar-collapse .rfj-search-ai-link:focus-visible {
        outline: 2px solid #8b77b9;
        outline-offset: 3px;
    }
    #search-page-navbar-collapse {
        overflow-x: auto;       /* 超出时允许横向滚动 */
        overflow-y: hidden;     /* 不要出现纵向滚动条 */
        white-space: nowrap;    /* 不换行 */
        -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
    }

    #search-page-navbar-collapse .nav {
        display: inline-flex;   /* 横向布局 */
        flex-wrap: nowrap;      /* 禁止换行 */
    }
    #search-page-navbar-collapse .nav li {
        float: none;            /* 取消默认浮动 */
        display: inline-block;  /* 横向排列 */
    }
    /* 隐藏滚动条（兼容 PC 和移动端） */
    #search-page-navbar-collapse::-webkit-scrollbar {
        display: none;
    }
    #search-page-navbar-collapse {
        -ms-overflow-style: none;  /* IE/Edge */
        scrollbar-width: none;     /* Firefox */
    }

/* base: extracted from wp-content/themes/bigboom/software/single/base.php */
.rfj-software-single-body .rfj-software-action-switcher__tab:hover,
.rfj-software-single-body .rfj-software-action-switcher__tab:focus,
.rfj-software-single-body .rfj-software-action-switcher__tab.is-active {
	background: var(--rfj-color-bg-soft);
	color: var(--rfj-color-text);
	text-decoration: none;
}
.rfj-software-single-body .rfj-software-action-switcher__item:hover,
.rfj-software-single-body .rfj-software-action-switcher__item:focus,
.rfj-software-single-body .rfj-software-action-switcher__item.is-active {
	background: var(--rfj-color-bg-soft);
	border-color: var(--rfj-color-border);
	color: var(--rfj-color-text);
	text-decoration: none;
}

/* desktop: extracted from wp-content/themes/bigboom/software/single/desktop-index.php */
.rfj-software-single-body .rfj-gallery-container--component .rfzj_image_carousel {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.rfj-software-single-body .rfj-gallery-container--component .rfzj_image_carousel__slide {
	border: 0;
	border-radius: 8px;
	background: transparent;
}

@media (min-width: 768px) {
	.rfj-software-single-body .rfj-gallery-container--component .rfzj_image_carousel__button--prev {
		left: -20px;
	}

	.rfj-software-single-body .rfj-gallery-container--component .rfzj_image_carousel__button--next {
		right: -20px;
	}
}

/* Mobile horizontal home cards: only on the software overview; action subpages retain list layout. */
@media (max-width: 767px) {
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-card-grid--cases,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-component-grid--video,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-customer-grid {
		align-items: stretch;
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		padding: 4px 14px 18px 8px;
		scroll-padding-inline: 8px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		width: 100%;
	}

	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-card-grid--cases::-webkit-scrollbar,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-component-grid--video::-webkit-scrollbar,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-customer-grid::-webkit-scrollbar {
		display: none;
	}

	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-card-grid--cases > .rfj-single-card-grid__item,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-component-grid--video > .rfj-single-component-grid__item,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-customer-grid > .rfj-customer-grid-item {
		box-sizing: border-box;
		flex: 0 0 64%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-single-card-grid--cases > .clearfix,
	.rfj-software-single--mobile :where(.rfj-mobile-single-shell:not(.rfj-mobile-single-shell--action) ~ .rfj-mobile-single-main) .rfj-customer-grid > .clearfix {
		display: none;
	}
}

/* Shared mobile account header (user center and message center). */
@media (max-width: 699px) {
    .rfj-mobile-account-header {
        padding: max(8px, env(safe-area-inset-top)) 16px 0;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 44px;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__title,
    .rfj-mobile-account-header .rfj-message-hero__balance {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        transform: none;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__action {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        padding: 0;
        border: 1px solid #d8dadd;
        border-radius: 50%;
        background: rgba(255, 255, 255, .6);
        color: inherit;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__action .rfj-icon,
    .rfj-mobile-account-header .rfj-mobile-account-header__action .rfj-uc-icon {
        display: block;
        width: 20px;
        height: 20px;
    }

    .rfj-message-toolbar .rfj-message-search-toggle {
        display: none;
    }

    .rfj-mobile-account-header + .rfj-uc-content {
        padding-top: 16px;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__action:focus-visible {
        outline: 2px solid #3478cc;
        outline-offset: 2px;
    }

    .rfj-mobile-account-header .rfj-mobile-account-header__action:active {
        opacity: .78;
    }
}

@media (min-width: 700px) {
    .rfj-mobile-account-header .rfj-mobile-account-header__action--search {
        display: none;
    }
}

@media (max-width: 359px) {
    .rfj-mobile-account-header {
        padding-inline: 12px;
    }
}

@media (max-width: 699px) and (prefers-color-scheme: dark) {
    .rfj-mobile-account-header .rfj-mobile-account-header__action {
        border-color: #48484f;
        background: #303035;
    }
}

@media (max-width: 699px) {
    body.rfj-message-center-body .rfj-mobile-account-header .rfj-message-hero__top { display: none; }
    body.rfj-message-center-body .rfj-message-categories { margin-top: 0; }
}

