/*
Theme Name: YiLongCloud
Theme URI: https://www.yilongcloud.com/
Author: YiLongCloud
Author URI: https://www.yilongcloud.com/
Description: YiLongCloud corporate website theme with protected legacy WordPress permalinks and dedicated React presentation routes.
Version: 2.0.1
Requires at least: 6.7
Tested up to: 6.7.1
Requires PHP: 7.4
Text Domain: yilongcloud
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ylc-background: #ffffff;
	--ylc-foreground: #0f172a;
	--ylc-muted: #64748b;
	--ylc-border: #e2e8f0;
	--ylc-primary: #18af82;
	--ylc-surface: #f8fafc;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ylc-background);
	color: var(--ylc-foreground);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	line-height: 1.7;
}

a {
	color: var(--ylc-primary);
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #ffffff;
	color: #0f172a;
	font-weight: 700;
	text-decoration: none;
}

.ylc-site-header,
.ylc-site-footer {
	background: #ffffff;
	border-color: var(--ylc-border);
	border-style: solid;
	border-width: 0 0 1px;
}

.ylc-site-footer {
	border-width: 1px 0 0;
}

.ylc-container {
	width: min(var(--ylc-container, 1120px), calc(100% - 32px));
	margin-inline: auto;
}

.ylc-site-header__inner,
.ylc-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.ylc-site-title {
	display: inline-flex;
	align-items: center;
	color: var(--ylc-foreground);
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

.ylc-site-title img,
.ylc-site-title .custom-logo {
	display: block;
	width: auto;
	max-height: 38px;
}

.ylc-site-nav {
	margin-left: auto;
}

.ylc-primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ylc-primary-menu a {
	color: var(--ylc-foreground);
	text-decoration: none;
}

.ylc-primary-menu a:hover,
.ylc-primary-menu a:focus,
.ylc-header-link:hover,
.ylc-header-link:focus {
	color: var(--ylc-primary);
}

.ylc-header-actions,
.ylc-service-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.ylc-header-link {
	color: var(--ylc-foreground);
	font-weight: 600;
	text-decoration: none;
}

.ylc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 22px;
	border: 1px solid var(--ylc-primary);
	border-radius: 9px;
	background: var(--ylc-primary);
	color: #ffffff;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ylc-button:hover,
.ylc-button:focus {
	background: #12966f;
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(24, 175, 130, 0.22);
	transform: translateY(-1px);
}

.ylc-button--small {
	min-height: 40px;
	padding: 8px 17px;
	font-size: 0.92rem;
}

.ylc-button--secondary {
	border-color: #9ccfc0;
	background: #ffffff;
	color: #087555;
}

.ylc-button--secondary:hover,
.ylc-button--secondary:focus {
	background: #eaf8f3;
	color: #087555;
}

.ylc-content {
	min-height: 60vh;
	padding-block: 64px;
}

.ylc-article,
.ylc-page-header,
.ylc-no-results {
	max-width: 860px;
	margin-inline: auto;
}

.ylc-entry-title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.2;
}

.ylc-entry-meta {
	color: var(--ylc-muted);
	font-size: 0.9rem;
}

.ylc-post-list {
	display: grid;
	gap: 18px;
}

.ylc-post-card {
	position: relative;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid var(--ylc-border);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 32px rgba(15, 23, 42, 0.045);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ylc-post-card:hover {
	border-color: #acdccc;
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.075);
	transform: translateY(-2px);
}

.ylc-post-card__topline,
.ylc-post-card__categories,
.ylc-post-card__footer a {
	display: flex;
	align-items: center;
}

.ylc-post-card__topline {
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 13px;
}

.ylc-post-card__topline time {
	flex: 0 0 auto;
	color: var(--ylc-muted);
	font-size: 0.82rem;
}

.ylc-post-card__categories {
	flex-wrap: wrap;
	gap: 7px;
}

.ylc-post-card__categories a {
	padding: 4px 10px;
	border-radius: 999px;
	background: #eaf8f3;
	color: #087555;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.ylc-post-card__header {
	margin: 0;
}

.ylc-post-card .ylc-entry-title {
	margin: 0;
	font-size: clamp(1.22rem, 2.4vw, 1.58rem);
	line-height: 1.4;
}

.ylc-post-card .ylc-entry-title a {
	color: var(--ylc-foreground);
	text-decoration: none;
}

.ylc-post-card .ylc-entry-title a:hover,
.ylc-post-card .ylc-entry-title a:focus,
.ylc-post-card__footer a:hover,
.ylc-post-card__footer a:focus {
	color: #087555;
}

.ylc-post-card .ylc-entry-summary {
	margin-top: 12px;
	color: var(--ylc-muted);
}

.ylc-post-card .ylc-entry-summary p {
	margin: 0;
}

.ylc-post-card__footer {
	margin-top: 20px;
}

.ylc-post-card__footer a {
	width: fit-content;
	gap: 7px;
	color: #0c8b67;
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
}

.ylc-pagination {
	margin-top: 40px;
	overflow-x: auto;
	padding: 3px 3px 8px;
}

.ylc-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 8px;
}

.ylc-pagination .page-numbers {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 7px 12px;
	border: 1px solid var(--ylc-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--ylc-foreground);
	text-decoration: none;
}

.ylc-pagination .current {
	border-color: var(--ylc-primary);
	background: var(--ylc-primary);
	color: #ffffff;
}

.ylc-pagination a:hover,
.ylc-pagination a:focus {
	border-color: #8fcfbb;
	background: #effaf6;
	color: #087555;
}

.ylc-site-main input[type="search"] {
	width: min(100%, 420px);
	padding: 10px 12px;
	border: 1px solid var(--ylc-border);
	border-radius: 8px;
}

.ylc-site-main input[type="submit"] {
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--ylc-primary);
	color: #ffffff;
	cursor: pointer;
}

body.yilongcloud-spa .ylc-site-header,
body.yilongcloud-spa .ylc-site-footer,
body.yilongcloud-spa > .screen-reader-text {
	display: none;
}

body.yilongcloud-spa #wpadminbar {
	z-index: 99999;
}

#yilongcloud-app {
	min-height: 100vh;
}

.ylc-content-shell {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	padding-top: 80px;
}

.ylc-content-shell > .ylc-site-main {
	width: 100%;
	flex: 1 0 auto;
}

#yilongcloud-content-footer {
	margin-top: auto;
}

.ylc-archive-page {
	background: #f7faf9;
}

.ylc-archive-hero {
	border-bottom: 1px solid #dcece7;
	background:
		radial-gradient(circle at 80% 8%, rgba(24, 175, 130, 0.16), transparent 35%),
		linear-gradient(135deg, #f1faf7 0%, #ffffff 64%);
}

.ylc-archive-hero__inner {
	max-width: 960px;
	padding-block: clamp(58px, 7vw, 86px);
	text-align: center;
}

.ylc-archive-title {
	margin: 10px 0 0;
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.ylc-archive-description {
	max-width: 720px;
	margin: 18px auto 0;
	color: var(--ylc-muted);
	font-size: 1rem;
}

.ylc-archive-description > :first-child {
	margin-top: 0;
}

.ylc-archive-description > :last-child {
	margin-bottom: 0;
}

.ylc-archive-content {
	padding-block: clamp(46px, 6vw, 76px);
}

.ylc-archive-content__inner {
	max-width: 980px;
}

.ylc-archive-toolbar {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.ylc-archive-toolbar h2 {
	margin: 5px 0 0;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.25;
}

.ylc-archive-toolbar > span {
	flex: 0 0 auto;
	padding: 6px 12px;
	border: 1px solid #cfe6de;
	border-radius: 999px;
	background: #ffffff;
	color: #47655d;
	font-size: 0.84rem;
}

.ylc-page-hero,
.ylc-article-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid #dcece7;
	background:
		radial-gradient(circle at 82% 18%, rgba(24, 175, 130, 0.17), transparent 34%),
		linear-gradient(135deg, #f2fbf8 0%, #ffffff 58%, #f5f8fb 100%);
}

.ylc-page-hero__inner,
.ylc-article-hero__inner {
	max-width: 900px;
	padding-block: clamp(70px, 9vw, 118px);
	text-align: center;
}

.ylc-page-hero h1,
.ylc-article-hero h1 {
	max-width: 920px;
	margin: 8px auto 20px;
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.ylc-page-hero p:not(.ylc-eyebrow) {
	max-width: 720px;
	margin: 0 auto;
	color: var(--ylc-muted);
	font-size: 1.08rem;
}

.ylc-eyebrow {
	margin: 0;
	color: #0c8b67;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ylc-section {
	padding-block: clamp(64px, 8vw, 104px);
}

.ylc-section--muted {
	background: var(--ylc-surface);
}

.ylc-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ylc-contact-card,
.ylc-sidebar-card,
.ylc-help-empty {
	padding: 30px;
	border: 1px solid var(--ylc-border);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
}

.ylc-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #eaf8f3;
	color: #087555;
	font-size: 0.9rem;
	font-weight: 900;
}

.ylc-contact-card h2 {
	margin: 20px 0 8px;
	font-size: 1.35rem;
}

.ylc-contact-card p {
	margin: 0 0 18px;
	color: var(--ylc-muted);
}

.ylc-contact-link,
.ylc-help-card__more {
	font-weight: 750;
	text-decoration: none;
}

.ylc-contact-service-grid {
	display: grid;
	grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 42px;
}

.ylc-contact-service-grid h2 {
	margin: 8px 0 0;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1.2;
}

.ylc-section-heading {
	max-width: 720px;
	margin: 0 auto 36px;
	text-align: center;
}

.ylc-section-heading h2,
.ylc-kaihu-actions h2 {
	margin: 8px 0 0;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1.2;
}

.ylc-kaihu-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ylc-kaihu-step {
	padding: 30px;
	border: 1px solid var(--ylc-border);
	border-radius: 18px;
	background: #ffffff;
}

.ylc-kaihu-step > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #eaf8f3;
	color: #087555;
	font-size: 0.85rem;
	font-weight: 850;
}

.ylc-kaihu-step h3 {
	margin: 22px 0 10px;
	font-size: 1.22rem;
	line-height: 1.35;
}

.ylc-kaihu-step p,
.ylc-kaihu-actions p {
	color: var(--ylc-muted);
}

.ylc-kaihu-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 42px;
}

.ylc-kaihu-actions > div:first-child {
	max-width: 720px;
}

.ylc-service-links a {
	padding: 12px 18px;
	border: 1px solid var(--ylc-border);
	border-radius: 9px;
	background: #ffffff;
	color: var(--ylc-foreground);
	font-weight: 650;
	text-decoration: none;
}

.ylc-help-search {
	display: flex;
	width: min(680px, 100%);
	margin: 34px auto 0;
	padding: 7px;
	border: 1px solid #cfe6de;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.ylc-help-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 0;
	outline: 0;
	font: inherit;
}

.ylc-help-search button {
	padding: 10px 24px;
	border: 0;
	border-radius: 8px;
	background: var(--ylc-primary);
	color: #ffffff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.ylc-help-layout,
.ylc-article-layout {
	display: grid;
	grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	padding-block: clamp(58px, 7vw, 92px);
}

.ylc-help-sidebar {
	align-self: start;
	position: sticky;
	top: 96px;
}

.ylc-help-sidebar h2,
.ylc-sidebar-card h2 {
	margin: 0 0 16px;
	font-size: 1rem;
}

.ylc-help-sidebar ul,
.ylc-sidebar-card ul,
.ylc-latest-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ylc-help-sidebar a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: #334155;
	text-decoration: none;
}

.ylc-help-sidebar a:hover,
.ylc-help-sidebar a:focus,
.ylc-help-sidebar a.is-active {
	background: #eaf8f3;
	color: #087555;
}

.ylc-help-sidebar a span {
	color: var(--ylc-muted);
	font-size: 0.84rem;
}

.ylc-help-results__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.ylc-help-results__header h2 {
	margin: 7px 0 0;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	line-height: 1.2;
}

.ylc-help-results__header > span,
.ylc-help-card__meta,
.ylc-article-meta {
	color: var(--ylc-muted);
	font-size: 0.86rem;
}

.ylc-help-list {
	display: grid;
	gap: 18px;
}

.ylc-help-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--ylc-border);
	border-radius: 16px;
	background: #ffffff;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ylc-help-card--with-media {
	grid-template-columns: 220px minmax(0, 1fr);
}

.ylc-help-card:hover {
	border-color: #a9d9c9;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
	transform: translateY(-2px);
}

.ylc-help-card__media {
	min-height: 100%;
	background: #edf4f2;
}

.ylc-help-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ylc-help-card__body {
	padding: 24px;
}

.ylc-help-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ylc-help-card__meta span {
	color: #087555;
	font-weight: 700;
}

.ylc-help-card h3 {
	margin: 8px 0;
	font-size: 1.28rem;
	line-height: 1.35;
}

.ylc-help-card h3 a {
	color: var(--ylc-foreground);
	text-decoration: none;
}

.ylc-help-card__excerpt,
.ylc-help-card__excerpt p {
	margin: 0 0 12px;
	color: var(--ylc-muted);
}

.ylc-help-contact {
	padding-block: 56px;
	background: #0c2f28;
	color: #ffffff;
}

.ylc-help-contact__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.ylc-help-contact h2 {
	max-width: 720px;
	margin: 8px 0 0;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.25;
}

.ylc-help-contact .ylc-eyebrow {
	color: #66e0bc;
}

.ylc-breadcrumbs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	color: var(--ylc-muted);
	font-size: 0.85rem;
}

.ylc-breadcrumbs a {
	color: #087555;
	text-decoration: none;
}

.ylc-article-hero__inner {
	max-width: 980px;
	padding-block: clamp(52px, 7vw, 84px);
}

.ylc-article-hero h1 {
	margin-bottom: 22px;
	font-size: clamp(2rem, 4.6vw, 3.25rem);
	line-height: 1.2;
}

.ylc-article-hero .ylc-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.ylc-article-hero .ylc-eyebrow a:hover,
.ylc-article-hero .ylc-eyebrow a:focus {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ylc-article-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
}

.ylc-article-content-area {
	background: #f7faf9;
}

.ylc-article-layout {
	grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
	align-items: start;
	gap: clamp(24px, 4vw, 42px);
	max-width: 1160px;
	padding-block: clamp(44px, 6vw, 72px);
}

.ylc-article-layout > .ylc-article {
	max-width: none;
	margin: 0;
}

.ylc-help-article {
	min-width: 0;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--ylc-border);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.055);
	font-size: 1.03rem;
	line-height: 1.85;
}

.ylc-article-featured {
	margin: 0 0 36px;
}

.ylc-article-featured img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

.ylc-entry-content h2,
.ylc-entry-content h3,
.ylc-entry-content h4 {
	margin-top: 1.9em;
	margin-bottom: 0.7em;
	color: #12231f;
	line-height: 1.3;
}

.ylc-entry-content h2 {
	font-size: clamp(1.45rem, 2.5vw, 1.8rem);
}

.ylc-entry-content h3 {
	font-size: clamp(1.22rem, 2vw, 1.45rem);
}

.ylc-entry-content p,
.ylc-entry-content ul,
.ylc-entry-content ol {
	margin-top: 0;
	margin-bottom: 1.3em;
}

.ylc-entry-content a {
	color: #087555;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ylc-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.ylc-entry-content pre,
.ylc-entry-content table,
.ylc-entry-content blockquote {
	overflow-x: auto;
}

.ylc-entry-content pre {
	padding: 18px;
	border-radius: 10px;
	background: #0f172a;
	color: #e2e8f0;
}

.ylc-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

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

.ylc-entry-content blockquote {
	margin-inline: 0;
	padding: 14px 20px;
	border-left: 4px solid var(--ylc-primary);
	background: #f3faf7;
}

.ylc-article-taxonomy {
	margin-top: 42px;
	padding-top: 26px;
	border-top: 1px solid var(--ylc-border);
}

.ylc-article-taxonomy h2 {
	margin: 0 0 13px;
	color: #48645c;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ylc-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ylc-tag-list a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid #cfe6de;
	border-radius: 999px;
	background: #eaf8f3;
	color: #087555;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.ylc-tag-list a:hover,
.ylc-tag-list a:focus {
	border-color: #74c6ad;
	background: #dcf4ec;
}

.ylc-post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 30px;
}

.ylc-post-navigation__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--ylc-border);
	border-radius: 14px;
	background: #fbfdfc;
	color: var(--ylc-foreground);
	line-height: 1.45;
	text-decoration: none;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ylc-post-navigation__item:hover,
.ylc-post-navigation__item:focus {
	border-color: #94d2bf;
	background: #effaf6;
	color: #087555;
	transform: translateY(-1px);
}

.ylc-post-navigation__item > span:nth-child(2),
.ylc-post-navigation__item--next > span:first-child {
	min-width: 0;
}

.ylc-post-navigation__item small,
.ylc-post-navigation__item strong {
	display: block;
}

.ylc-post-navigation__item small {
	margin-bottom: 3px;
	color: var(--ylc-muted);
	font-size: 0.76rem;
	font-weight: 650;
}

.ylc-post-navigation__item strong {
	overflow: hidden;
	font-size: 0.9rem;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ylc-post-navigation__item--next {
	grid-column: 2;
	justify-content: flex-end;
	text-align: right;
}

.ylc-article-sidebar {
	display: grid;
	gap: 18px;
	position: sticky;
	top: 104px;
}

.ylc-sidebar-card {
	padding: 22px;
	border-radius: 16px;
	box-shadow: 0 10px 34px rgba(15, 23, 42, 0.04);
}

.ylc-sidebar-card h2 {
	position: relative;
	margin-bottom: 17px;
	padding-left: 12px;
	color: #172e27;
	font-size: 1rem;
	line-height: 1.4;
}

.ylc-sidebar-card h2::before {
	position: absolute;
	top: 0.18em;
	bottom: 0.18em;
	left: 0;
	width: 3px;
	border-radius: 999px;
	background: var(--ylc-primary);
	content: "";
}

.ylc-sidebar-card li,
.ylc-sidebar-card a {
	color: #334155;
	font-size: 0.92rem;
	text-decoration: none;
}

.ylc-category-tree li + li {
	margin-top: 4px;
}

.ylc-category-tree a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 8px;
	background: #f7faf9;
	font-weight: 650;
}

.ylc-category-tree a::before {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #9fbab1;
	content: "";
	flex: 0 0 auto;
}

.ylc-category-tree a:hover,
.ylc-category-tree a:focus,
.ylc-category-tree .current-cat > a,
.ylc-category-tree .current-cat-parent > a {
	background: #eaf8f3;
	color: #087555;
}

.ylc-category-tree .current-cat > a::before,
.ylc-category-tree .current-cat-parent > a::before {
	background: var(--ylc-primary);
}

.ylc-category-tree .children {
	margin: 6px 0 0 12px;
	padding-left: 10px;
	border-left: 1px solid #dcebe6;
}

.ylc-category-tree .children a {
	background: transparent;
	font-size: 0.86rem;
	font-weight: 580;
}

.ylc-sidebar-card--latest li + li {
	margin-top: 13px;
	padding-top: 13px;
	border-top: 1px solid #edf2f0;
}

.ylc-sidebar-card--latest a {
	display: -webkit-box;
	overflow: hidden;
	font-weight: 680;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ylc-sidebar-card--latest a:hover,
.ylc-sidebar-card--latest a:focus {
	color: #087555;
}

.ylc-sidebar-card--latest time {
	display: block;
	margin-top: 5px;
	color: var(--ylc-muted);
	font-size: 0.75rem;
}

.ylc-popular-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ylc-popular-tags li {
	margin: 0;
}

.ylc-popular-tags a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 5px 9px 5px 11px;
	border: 1px solid #d7e8e2;
	border-radius: 999px;
	background: #f7faf9;
	color: #31584c;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.25;
}

.ylc-popular-tags a:hover,
.ylc-popular-tags a:focus {
	border-color: #74c6ad;
	background: #eaf8f3;
	color: #087555;
}

.ylc-popular-tags small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding-inline: 5px;
	border-radius: 999px;
	background: #e4f1ed;
	color: #607a72;
	font-size: 0.67rem;
}

.ylc-sidebar-card--accent {
	border-color: #bfe3d7;
	background: linear-gradient(145deg, #effaf6, #ffffff);
}

.ylc-sidebar-card--accent p {
	color: var(--ylc-muted);
}

.ylc-legacy-floating-tools {
	display: none !important;
}

.ylc-floating-tools {
	position: fixed;
	bottom: var(--ylc-floating-bottom, 120px);
	z-index: 70;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.ylc-floating-tools--right {
	right: 18px;
}

.ylc-floating-tools--left {
	left: 18px;
}

.ylc-floating-tool {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 9px 12px;
	border: 1px solid color-mix(in srgb, var(--ylc-floating-color) 28%, #ffffff);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
	color: #0f172a;
	font: inherit;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ylc-floating-tool:hover,
.ylc-floating-tool:focus-visible {
	border-color: var(--ylc-floating-color);
	box-shadow: 0 10px 32px color-mix(in srgb, var(--ylc-floating-color) 20%, transparent);
	color: var(--ylc-floating-color);
	transform: translateY(-2px);
}

.ylc-floating-tool svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	fill: var(--ylc-floating-color);
}

.ylc-floating-tool span,
.ylc-floating-tool strong,
.ylc-floating-tool small {
	display: block;
}

.ylc-floating-tool strong {
	font-size: 0.82rem;
}

.ylc-floating-tool small {
	margin-top: 2px;
	color: #64748b;
	font-size: 0.7rem;
}

.ylc-floating-tools--cards .ylc-floating-tool {
	width: 188px;
}

.ylc-floating-tools--compact .ylc-floating-tool,
.ylc-floating-tools--icons .ylc-floating-tool {
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
}

.ylc-floating-tools--compact .ylc-floating-tool > span {
	position: absolute;
	top: 50%;
	width: max-content;
	max-width: 240px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #0f172a;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
	color: #ffffff;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%);
	transition: opacity 0.18s ease;
}

.ylc-floating-tools--right.ylc-floating-tools--compact .ylc-floating-tool > span {
	right: calc(100% + 10px);
}

.ylc-floating-tools--left.ylc-floating-tools--compact .ylc-floating-tool > span {
	left: calc(100% + 10px);
}

.ylc-floating-tools--compact .ylc-floating-tool:hover > span,
.ylc-floating-tools--compact .ylc-floating-tool:focus-visible > span {
	opacity: 1;
}

.ylc-floating-tools--compact .ylc-floating-tool small {
	color: #cbd5e1;
}

.ylc-floating-tools--icons .ylc-floating-tool > span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ylc-mobile-menu {
	display: none;
}

.ylc-related-posts {
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px solid var(--ylc-border);
}

.ylc-related-posts > h2 {
	margin: 0 0 12px;
	color: #172e27;
	font-size: 1.2rem;
}

.ylc-related-posts__list {
	margin: 0;
	padding-left: 1.25rem;
}

.ylc-related-posts__list li {
	padding-left: 3px;
	color: var(--ylc-primary);
}

.ylc-related-posts__list li + li {
	border-top: 1px solid #edf2f0;
}

.ylc-related-posts__list li::marker {
	color: var(--ylc-primary);
}

.ylc-related-posts__list a {
	display: block;
	padding: 10px 2px;
	color: #253d36;
	font-size: 0.96rem;
	font-weight: 620;
	line-height: 1.55;
	text-decoration: none;
}

.ylc-related-posts__list a:hover,
.ylc-related-posts__list a:focus-visible {
	color: var(--ylc-accent, #087555);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ylc-article-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding: 13px 15px;
	border-radius: 10px;
	background: #f4faf8;
}

.ylc-article-share button {
	padding: 7px 12px;
	border: 1px solid #b9e0d3;
	border-radius: 8px;
	background: #ffffff;
	color: var(--ylc-accent, #087555);
	cursor: pointer;
}

.ylc-tool-notice {
	position: fixed;
	left: 50%;
	bottom: 32px;
	z-index: 100001;
	padding: 10px 16px;
	border-radius: 999px;
	background: #0f172a;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
	color: #ffffff;
	font-size: 14px;
	transform: translateX(-50%);
}

.ylc-site-footer {
	background: #081d19;
	color: #b8ccc6;
}

.ylc-site-footer__main {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
	gap: 42px;
	padding-block: 58px;
}

.ylc-footer-brand p {
	max-width: 330px;
}

.ylc-footer-column {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 10px;
}

.ylc-footer-column h2 {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 0.95rem;
}

.ylc-footer-column a {
	color: #b8ccc6;
	font-size: 0.9rem;
	text-decoration: none;
}

.ylc-footer-column a:hover,
.ylc-footer-column a:focus {
	color: #66e0bc;
}

.ylc-site-footer__bottom {
	padding-block: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ylc-site-footer__bottom p {
	margin: 0;
	font-size: 0.84rem;
}

.ylc-noscript {
	max-width: 760px;
	margin: 120px auto;
	padding: 24px;
	border: 1px solid var(--ylc-border);
	border-radius: 12px;
	background: var(--ylc-surface);
}

@media (max-width: 900px) {
	.ylc-article-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.ylc-article-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		position: static;
	}
}

@media (max-width: 720px) {
	#yilongcloud-content-header > div.fixed.right-0,
	.ylc-floating-tools {
		display: none;
	}

	.ylc-has-mobile-floating .ylc-floating-tools {
		display: grid;
	}

	.ylc-mobile-menu {
		position: fixed;
		inset: auto 0 0;
		z-index: 80;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid #e2e8f0;
		background: #ffffff;
		box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	}

	.ylc-mobile-menu a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		min-width: 0;
		min-height: 58px;
		padding: 6px 3px;
		background: var(--ylc-mobile-bg, #ffffff);
		color: var(--ylc-mobile-text, #475569);
		font-size: 10px;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
	}

	.ylc-mobile-menu svg {
		width: 20px;
		height: 20px;
		fill: currentColor;
	}

	.ylc-has-mobile-menu {
		padding-bottom: calc(58px + env(safe-area-inset-bottom));
	}

	.ylc-article-share {
		align-items: flex-start;
		flex-direction: column;
	}

	.ylc-site-header__inner,
	.ylc-site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 18px;
	}

	.ylc-site-nav {
		width: 100%;
		margin-left: 0;
	}

	.ylc-primary-menu {
		gap: 10px 16px;
	}

	.ylc-header-actions {
		width: 100%;
	}

	.ylc-contact-grid,
	.ylc-contact-service-grid,
	.ylc-kaihu-grid,
	.ylc-help-layout,
	.ylc-article-layout,
	.ylc-article-sidebar,
	.ylc-site-footer__main {
		grid-template-columns: minmax(0, 1fr);
	}

	.ylc-archive-hero__inner {
		padding-block: 46px;
	}

	.ylc-archive-toolbar,
	.ylc-post-card__topline {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.ylc-archive-toolbar > span {
		align-self: flex-start;
	}

	.ylc-help-article {
		padding: 22px 18px;
		border-radius: 16px;
	}

	.ylc-kaihu-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.ylc-help-sidebar,
	.ylc-article-sidebar {
		position: static;
	}

	.ylc-help-sidebar ul {
		display: flex;
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.ylc-help-sidebar li {
		flex: 0 0 auto;
	}

	.ylc-help-card--with-media {
		grid-template-columns: minmax(0, 1fr);
	}

	.ylc-help-card__media {
		max-height: 220px;
	}

	.ylc-help-results__header,
	.ylc-help-contact__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.ylc-help-search {
		align-items: stretch;
		flex-direction: column;
	}

	.ylc-post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.ylc-post-navigation__item--next {
		grid-column: auto;
	}

	.ylc-pagination .nav-links {
		justify-content: flex-start;
	}
}
