/* =========================================================================
   SwapMeet Cards — footer, inner pages, blog (动态), responsive
   ========================================================================= */

/* -------------------------------------------------------------------------
   Fluid typography — the Figma artboard is 1440px wide, so every fixed
   size is expressed as a vw-relative clamp with the 1440 value as the cap.
   ---------------------------------------------------------------------- */
.smc-hero__title {
	font-size: clamp(34px, 4.12vw, 59.32px);
}

.smc-hero__desc {
	font-size: clamp(16px, 1.545vw, 22.25px);
}

.smc-h2 {
	font-size: clamp(26px, 2.883vw, 41.52px);
}

.smc-h2--lg {
	font-size: clamp(24px, 2.575vw, 37.08px);
}

.smc-process .smc-h2 {
	font-size: clamp(24px, 2.678vw, 38.56px);
}

.smc-quote__title {
	font-size: clamp(26px, 2.987vw, 43.01px);
}

.smc-quote__desc {
	font-size: clamp(16px, 1.339vw, 19.28px);
}

.smc-factory__chip {
	font-size: clamp(15px, 1.545vw, 22.25px);
}

.smc-btn {
	font-size: clamp(16px, 1.339vw, 19.28px);
}

/* =========================================================================
   09 页脚 Footer
   ========================================================================= */
.smc-footer {
	background: var(--smc-white);
	padding: 19.28px 0 22.25px;
}

.smc-footer__top {
	display: flex;
	align-items: flex-start;
	gap: 70px;
}

.smc-footer__logo {
	flex: 0 0 auto;
	padding-top: 5.93px;
}

.smc-footer__logo img {
	width: 207.62px;
	height: auto;
}

.smc-footer__cols {
	display: grid;
	grid-template-columns: 250.6px 226.9px minmax(0, 1fr);
	flex: 1 1 auto;
	min-width: 0;
}

.smc-footer__col h4 {
	margin: 0 0 5.24px;
	color: var(--smc-navy);
	font-size: 14.09px;
	font-weight: 700;
	line-height: 1.2;
}

.smc-footer__links li a,
.smc-footer__links li span {
	display: block;
	padding: 1.88px 0;
	color: var(--smc-footer-link);
	font-size: 13.35px;
	line-height: 1.25;
}

.smc-footer__links li a:hover {
	color: var(--smc-crimson);
}

.smc-footer__lang {
	margin-left: auto;
	flex: 0 0 auto;
	padding-top: 11.86px;
}

.smc-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 18.92px;
}

.smc-footer__bottom p {
	margin: 0;
	color: var(--smc-muted-2);
	font-size: 11.86px;
	line-height: 1.3;
}

.smc-footer__note {
	text-align: right;
}

/* =========================================================================
   Inner pages — 栏目页
   ========================================================================= */
.smc-pagehero {
	background: var(--smc-bg);
	padding: 26px 0 42px;
}

.smc-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--smc-muted);
	font-size: 13px;
}

.smc-crumbs a {
	color: var(--smc-muted);
}

.smc-crumbs a:hover {
	color: var(--smc-crimson);
}

.smc-crumbs span[aria-hidden] {
	color: var(--smc-border-2);
}

.smc-pagehero__title {
	font-size: clamp(30px, 3.74vw, 53.86px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	max-width: 18ch;
}

.smc-pagehero__lead {
	margin: 14px 0 0;
	max-width: 62ch;
	color: var(--smc-body);
	font-size: clamp(15px, 1.339vw, 19.28px);
	line-height: 1.45;
}

.smc-pagehero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

.smc-pagebody {
	padding: 46px 0 60px;
}

.smc-pagebody__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	gap: 72px;
	align-items: start;
}

.smc-pagebody--full .smc-pagebody__grid {
	grid-template-columns: minmax(0, 1fr);
}

/* Prose — matches the Figma body ramp */
.smc-prose {
	max-width: 76ch;
	color: var(--smc-body);
	font-size: 17.05px;
	line-height: 1.62;
}

.smc-prose > * + * {
	margin-top: 1.05em;
}

.smc-prose h2 {
	margin-top: 1.9em;
	font-size: clamp(22px, 1.98vw, 28.5px);
	line-height: 1.25;
}

.smc-prose h3 {
	margin-top: 1.6em;
	font-size: clamp(18px, 1.48vw, 21.3px);
}

.smc-prose ul {
	margin: 1.05em 0 0;
	padding: 0;
}

.smc-prose ul li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 0.5em;
}

.smc-prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	background: var(--smc-crimson);
	border-radius: 50%;
}

.smc-prose a {
	color: var(--smc-crimson);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.smc-prose img {
	border-radius: 6px;
}

/* Sidebar call-to-action on inner pages */
.smc-aside {
	position: sticky;
	top: 104px;
	padding: 26px 24px;
	background: var(--smc-surface-2);
	border-radius: var(--smc-radius-xl);
}

.smc-aside h3 {
	margin-bottom: 8px;
	font-size: 19px;
}

.smc-aside p {
	color: var(--smc-body);
	font-size: 14.5px;
}

.smc-aside .smc-btn {
	margin-top: 12px;
}

.smc-aside__list {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--smc-border-2);
}

.smc-aside__list a {
	display: block;
	padding: 6px 0;
	color: var(--smc-navy);
	font-size: 14px;
}

.smc-aside__list a:hover {
	color: var(--smc-crimson);
}

/* Child 栏目 grid */
.smc-childgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 22.25px;
	margin-top: 46px;
	padding-top: 40px;
	border-top: 1px solid var(--smc-border);
}

.smc-childcard {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.smc-childcard img {
	width: 100%;
	aspect-ratio: 311.43 / 158.68;
	object-fit: cover;
	border-radius: 3px;
	margin-bottom: 14px;
	background: var(--smc-surface-2);
}

.smc-childcard b {
	color: var(--smc-navy);
	font-size: 17.05px;
	font-weight: 700;
	line-height: 1.25;
}

.smc-childcard span {
	margin-top: 6px;
	color: var(--smc-muted);
	font-size: 14px;
	line-height: 1.45;
}

.smc-childcard .smc-linkarrow {
	margin-top: auto;
	padding-top: 12px;
	font-size: 14px;
}

.smc-childcard:hover b {
	color: var(--smc-crimson);
}

.smc-childgrid__head {
	margin-top: 46px;
	padding-top: 40px;
	border-top: 1px solid var(--smc-border);
	font-size: clamp(22px, 1.98vw, 28.5px);
}

.smc-childgrid__head + .smc-childgrid {
	margin-top: 26px;
	padding-top: 0;
	border-top: 0;
}

/* =========================================================================
   动态 — blog listing + single
   ========================================================================= */
.smc-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 22.25px;
}

.smc-post {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.smc-post__thumb {
	display: block;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--smc-surface-2);
}

.smc-post__thumb img {
	width: 100%;
	aspect-ratio: 311.43 / 158.68;
	object-fit: cover;
	transition: transform 0.3s var(--smc-ease);
}

.smc-post:hover .smc-post__thumb img {
	transform: scale(1.03);
}

.smc-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--smc-muted);
	font-size: 12.5px;
}

.smc-post__cat {
	padding: 3px 9px;
	background: var(--smc-crimson-tint);
	border-radius: 3px;
	color: var(--smc-crimson);
	font-weight: 500;
}

.smc-post__title {
	font-size: 21.3px;
	line-height: 1.28;
}

.smc-post__title a {
	color: var(--smc-navy);
}

.smc-post:hover .smc-post__title a {
	color: var(--smc-crimson);
}

.smc-post__excerpt {
	margin-top: 10px;
	color: var(--smc-body);
	font-size: 14.83px;
	line-height: 1.55;
}

.smc-post .smc-linkarrow {
	margin-top: auto;
	padding-top: 16px;
	font-size: 14.83px;
}

.smc-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
	padding-top: 34px;
	border-top: 1px solid var(--smc-border);
}

.smc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--smc-border-2);
	border-radius: 3px;
	color: var(--smc-navy);
	font-size: 14.83px;
}

.smc-pagination .page-numbers.current,
.smc-pagination .page-numbers:hover {
	background: var(--smc-crimson);
	border-color: var(--smc-crimson);
	color: #fff;
}

/* Single post / page article header */
.smc-article__hero {
	padding-bottom: 8px;
}

.smc-article__title {
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.14;
	max-width: 24ch;
}

.smc-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	color: var(--smc-muted);
	font-size: 14px;
}

.smc-article__feature {
	margin: 34px 0 0;
	border-radius: 6px;
	overflow: hidden;
}

.smc-article__feature img {
	width: 100%;
	height: auto;
}

.smc-article__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 52px;
	padding-top: 30px;
	border-top: 1px solid var(--smc-border);
}

.smc-article__nav a {
	display: block;
	padding: 18px 20px;
	background: var(--smc-surface-2);
	border-radius: 6px;
}

.smc-article__nav span {
	display: block;
	margin-bottom: 6px;
	color: var(--smc-muted);
	font-size: 12.5px;
}

.smc-article__nav b {
	color: var(--smc-navy);
	font-size: 16px;
	line-height: 1.3;
}

.smc-article__nav .smc-article__next {
	text-align: right;
}

.smc-article__nav .smc-article__next span,
.smc-article__nav .smc-article__next b {
	text-align: right;
}

/* =========================================================================
   Search / 404
   ========================================================================= */
.smc-empty {
	padding: 30px 0 60px;
	color: var(--smc-body);
	font-size: 17.05px;
}

.smc-searchform {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin-top: 24px;
}

.smc-searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 50px;
	padding: 0 16px;
	border: 1px solid var(--smc-border-2);
	border-radius: 3px;
	font-size: 15px;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1280px) {
	:root {
		--smc-pad: 40px;
	}

	.smc-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.smc-factory__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
	}

	.smc-custom__panel {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: 44px;
	}

	.smc-custom__head {
		grid-template-columns: 38% minmax(0, 1fr);
	}

	.smc-tabs {
		gap: 40px;
	}

	.smc-quote__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
		gap: 32px;
	}

	.smc-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.smc-pagebody__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
		gap: 44px;
	}
}

@media (max-width: 1080px) {
	.smc-factory__chip {
		font-size: 16px;
	}

	.smc-factory__play {
		width: 62px;
		height: 62px;
	}

	.smc-factory__play svg {
		width: 28px;
		height: 28px;
	}

	.smc-types__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.smc-posts,
	.smc-childgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:root {
		--smc-pad: 24px;
	}

	/* Header → hamburger + drawer (spec C) */
	.smc-nav,
	.smc-header__actions .smc-lang,
	.smc-header__actions .smc-btn--quote {
		display: none;
	}

	.smc-burger {
		display: inline-flex;
	}

	.smc-drawer {
		display: block;
		inset: 0 0 0 0;
		transform: translateX(100%);
	}

	.smc-header__inner {
		min-height: 66px;
	}

	.smc-logo img {
		width: 168px;
	}

	/* Stack every two-column band */
	.smc-hero__inner,
	.smc-factory__inner,
	.smc-custom__panel,
	.smc-quote__inner,
	.smc-pagebody__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.smc-hero__inner {
		min-height: 0;
		padding-bottom: 34px;
	}

	.smc-hero__copy {
		padding-top: 34px;
		padding-right: 0;
	}

	.smc-hero__media {
		order: -1;
	}

	.smc-hero__fan {
		display: none;
	}

	.smc-trust__inner {
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0 18px;
	}

	.smc-trust__item {
		padding: 14px 0;
	}

	.smc-trust__sep {
		width: 100%;
		height: 1px;
		margin: 0;
	}

	.smc-types {
		padding: 26px 0 40px;
	}

	.smc-types__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.smc-types__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.smc-custom__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.smc-tabs {
		justify-self: stretch;
		gap: 28px;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.smc-tab.is-active::after {
		left: -14px;
		right: -14px;
	}

	.smc-custom__panel {
		margin-top: 22px;
	}

	.smc-process__grid {
		flex-wrap: wrap;
		gap: 22px 0;
	}

	.smc-process__step {
		flex: 0 0 50%;
	}

	.smc-process__sep {
		display: none;
	}

	.smc-quote__form {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 8px;
	}

	.smc-field {
		height: auto;
		padding: 12px 14px;
		border-right: 0;
		border-bottom: 1px solid var(--smc-border);
	}

	.smc-quote__submit {
		margin: 12px 0 0;
		width: 100%;
	}

	.smc-quote__panel {
		width: 100%;
	}

	/* Footer stacks */
	.smc-footer__top {
		flex-wrap: wrap;
		gap: 28px;
	}

	.smc-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
		flex: 1 1 100%;
		order: 3;
	}

	.smc-footer__lang {
		order: 2;
		padding-top: 0;
	}

	.smc-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.smc-footer__note {
		text-align: left;
	}

	.smc-aside {
		position: static;
	}

	.smc-article__nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.smc-article__nav .smc-article__next,
	.smc-article__nav .smc-article__next span,
	.smc-article__nav .smc-article__next b {
		text-align: left;
	}
}

@media (max-width: 620px) {
	.smc-types__grid,
	.smc-posts,
	.smc-childgrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.smc-hero__actions .smc-btn {
		width: 100%;
	}

	.smc-process__step {
		flex: 0 0 100%;
	}

	.smc-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.smc-panel,
	.smc-drawer,
	.smc-btn,
	.smc-post__thumb img,
	.smc-typecard__line {
		transition: none !important;
	}
}
