/**
 * Homepage Club Complete Preview parity — keeps live Coinpress/catalog/search features.
 * Header/footer chrome stay navy (owner). Content plane matches preview tokens.
 */
body.home.fsw-foundation .fswt-home-pattern {
	--club-blue: #125fc5;
	--club-blue-hover: #0e4da3;
	--club-navy: #14253d;
	--club-muted: #5f6f85;
	--club-line: #e2e8f0;
	--club-page: #f6f8fc;
	--club-pale: #edf4ff;
	--club-radius: 20px;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 28px;
	box-sizing: border-box;
}

/* —— Hero —— */
body.home.fsw-foundation .fswt-home-pattern .home-hero {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 60px;
	align-items: center;
	padding-block: 65px 54px;
}
body.home.fsw-foundation .fswt-home-pattern .eyebrow {
	color: var(--club-blue);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .2px;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}
body.home.fsw-foundation .fswt-home-pattern .eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
}
body.home.fsw-foundation .fswt-home-pattern .hero-copy h1 {
	font-size: clamp(38px, 4.5vw, 59px);
	font-weight: 850;
	letter-spacing: -1.5px;
	line-height: 1.5;
	margin: 14px 0 20px;
	color: var(--club-navy);
	max-width: none;
}
body.home.fsw-foundation .fswt-home-pattern .hero-copy h1 span {
	color: var(--club-blue);
	position: relative;
	white-space: nowrap;
}
body.home.fsw-foundation .fswt-home-pattern .hero-copy h1 span::after {
	content: "";
	position: absolute;
	height: 8px;
	background: #f9881224;
	bottom: 3px;
	left: 1px;
	right: 0;
	border-radius: 50%;
	z-index: -1;
}
body.home.fsw-foundation .fswt-home-pattern .hero-copy > .wp-block-group__inner-container > p:not(.eyebrow):not(.hero-foot),
body.home.fsw-foundation .fswt-home-pattern .hero-copy > p:not(.eyebrow):not(.hero-foot) {
	color: #5b6b80;
	max-width: 450px;
	font-size: 15px;
	line-height: 2.1;
	margin: 0;
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 27px;
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button__link {
	min-height: 50px;
	padding: 10px 20px;
	border-radius: 11px;
	font-weight: 650;
	box-shadow: none;
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button:first-child .wp-block-button__link {
	background: var(--club-blue);
	color: #fff;
	border: 1px solid transparent;
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button:first-child .wp-block-button__link:hover {
	background: var(--club-blue-hover);
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button:nth-child(2) .wp-block-button__link {
	background: transparent;
	color: var(--club-navy);
	border: 1px solid #ced8e5;
}
body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button:nth-child(2) .wp-block-button__link:hover {
	background: #edf2fa;
}
body.home.fsw-foundation .fswt-home-pattern .hero-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 23px;
	font-size: 13px;
	color: #53677f;
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-search {
	margin-top: 24px;
	max-width: 450px;
}

/* Radar / float card */
body.home.fsw-foundation .fswt-home-pattern .hero-scene {
	position: relative;
	padding: 18px 0 42px 32px;
	min-width: 0;
}
body.home.fsw-foundation .fswt-home-pattern .radar {
	border-radius: 22px;
	border: 1px solid #dce5f0;
	background: #fff;
	box-shadow: 0 25px 65px -25px #193f7d30;
	overflow: hidden;
	transform: rotate(-2deg);
}
body.home.fsw-foundation .fswt-home-pattern .radar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid #e9eef5;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
	color: var(--club-navy);
}
/* Owner: remove synthetic «نمایش نمونه» pill from market card header. */
body.home.fsw-foundation .fswt-home-pattern .radar-top::after {
	content: none;
	display: none;
}
body.home.fsw-foundation .fswt-home-pattern .radar-body {
	padding: 24px;
}
body.home.fsw-foundation .fswt-home-pattern .radar-bottom {
	padding: 12px 24px;
	border-top: 1px solid #edf1f7;
	font-size: 11px;
	color: #718096;
	background: #fbfcfe;
	margin: 0;
}
body.home.fsw-foundation .fswt-home-pattern .float-card {
	position: absolute;
	bottom: 6px;
	inset-inline-end: -5px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #dfe6f0;
	border-radius: 15px;
	padding: 16px 20px;
	box-shadow: 0 12px 30px -12px #183e6b35;
	transform: rotate(2deg);
	max-width: min(260px, calc(100% - 24px));
	z-index: 2;
}
body.home.fsw-foundation .fswt-home-pattern .float-card::before {
	content: "";
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--club-pale) center / 20px 20px no-repeat;
	/* shield */
	-webkit-mask: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23125fc5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6z'/%3E%3C/svg%3E");
}
body.home.fsw-foundation .fswt-home-pattern .float-card p {
	margin: 0;
}
body.home.fsw-foundation .fswt-home-pattern .float-card p:first-child {
	font-size: 12px;
	font-weight: 700;
	color: var(--club-navy);
}
body.home.fsw-foundation .fswt-home-pattern .float-card p:last-child {
	font-size: 10px;
	color: #75859b;
	margin-top: 4px;
}
/* Soft amber speech bubble — Complete Preview .float-label */
body.home.fsw-foundation .fswt-home-pattern .hero-scene > .float-label,
body.home.fsw-foundation .fswt-home-pattern .hero-scene::before {
	position: absolute;
	top: -10px;
	inset-inline-end: -8px;
	z-index: 3;
	background: #fff5e7;
	color: #9a570b;
	border: 1px solid #f5dfbc;
	border-radius: 12px;
	padding: 9px 14px;
	transform: rotate(4deg);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	box-shadow: 0 8px 18px -12px #9a570b55;
	white-space: nowrap;
}
body.home.fsw-foundation .fswt-home-pattern .hero-scene:not(:has(> .float-label))::before {
	content: "ابزار بهتر، دید دقیق‌تر";
}
body.home.fsw-foundation .fswt-home-pattern .hero-scene:not(:has(> .float-label))::after,
body.home.fsw-foundation .fswt-home-pattern .hero-scene > .float-label::after {
	content: "";
	position: absolute;
	bottom: -6px;
	inset-inline-start: 18px;
	width: 10px;
	height: 10px;
	background: #fff5e7;
	border-inline-start: 1px solid #f5dfbc;
	border-block-end: 1px solid #f5dfbc;
	transform: rotate(-45deg);
}
body.home.fsw-foundation .fswt-home-pattern .hero-scene > .float-label {
	display: block;
	margin: 0;
	pointer-events: none;
}
body.home.fsw-foundation .fswt-home-pattern .hero-scene > .float-label::before {
	content: none;
}

/* —— Task rail (4 paths) —— */
body.home.fsw-foundation .fswt-home-pattern .task-rail {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--club-line);
	background: #fff;
	border-radius: 16px;
	padding: 22px 8px;
	box-shadow: 0 8px 20px -18px #193f7d22;
	margin-block: 8px 0;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button {
	margin: 0;
	width: auto;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button__link {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	min-height: 94px;
	padding: 0 20px;
	border: 0 !important;
	border-inline-end: 1px solid #e9edf3 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--club-navy) !important;
	text-align: start;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.6;
	box-shadow: none !important;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button__link::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:nth-child(1) .wp-block-button__link::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6z'/%3E%3C/svg%3E");
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:nth-child(2) .wp-block-button__link::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5m0 14h16M7 14l4-5 4 3 5-7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5m0 14h16M7 14l4-5 4 3 5-7'/%3E%3C/svg%3E");
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:nth-child(3) .wp-block-button__link::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18H6zM9 7h6M9 11h1m4 0h1m-6 4h1m4 0h1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18H6zM9 7h6M9 11h1m4 0h1m-6 4h1m4 0h1'/%3E%3C/svg%3E");
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:nth-child(4) .wp-block-button__link::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6C8 3 4 4 3 4v15c4-1 7 0 9 2 2-2 5-3 9-2V4c-4-1-7 0-9 2v15'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6C8 3 4 4 3 4v15c4-1 7 0 9 2 2-2 5-3 9-2V4c-4-1-7 0-9 2v15'/%3E%3C/svg%3E");
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button__link small {
	display: block;
	font-size: 10px;
	font-weight: 500;
	color: #7d8b9d;
	line-height: 1.6;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:last-child .wp-block-button__link {
	border-inline-end: 0 !important;
}
body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button__link:hover {
	color: var(--club-blue) !important;
}

/* —— Sections —— */
body.home.fsw-foundation .fswt-home-pattern .fswt-home-section {
	margin-top: 64px;
}
body.home.fsw-foundation .fswt-home-pattern .section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
body.home.fsw-foundation .fswt-home-pattern .section-head h2 {
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.7px;
	margin: 0;
	color: var(--club-navy);
}
body.home.fsw-foundation .fswt-home-pattern .section-head p {
	font-size: 14px;
	color: var(--club-muted);
	margin: 4px 0 0;
}

/* Market panel shell */
body.home.fsw-foundation .fswt-home-pattern #home-market :is(.sph-hub-table-card, .fsw-table, .coinpress-v2, .cp-price-table, table) {
	background: #fff;
	border: 1px solid var(--club-line);
	border-radius: var(--club-radius);
	overflow: hidden;
}

/* Company / broker cards — Complete Preview / DS interior (logo+name, 2-col facts). */
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-items {
	gap: 20px;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-card,
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-card {
	background: #fff;
	border: 1px solid var(--club-line);
	border-radius: 18px;
	padding: 24px !important;
	box-shadow: none;
	transition: box-shadow .2s, transform .2s, border-color .2s;
	min-width: min(300px, 100%);
	gap: 18px;
	align-items: stretch;
}
@media (max-width: 1000px) {
	body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-items {
		gap: 14px;
	}
	body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-card,
	body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-card {
		flex: 0 0 min(340px, 90%);
		min-width: min(300px, 100%);
	}
}
@media (max-width: 650px) {
	body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-card,
	body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-card {
		flex: 0 0 min(360px, 92%);
		min-width: min(300px, 100%);
		padding: 22px !important;
	}
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-card:hover,
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-card:hover {
	box-shadow: 0 16px 52px -28px #14253d40;
	transform: translateY(-3px);
	border-color: #c8d8eb;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-identity {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-identity img {
	order: -1;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border: 1px solid #e8eef6;
	border-radius: 14px;
	background: #fff;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-identity h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--club-navy);
	min-width: 0;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	margin: 0;
	padding: 0;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-facts > div {
	display: block;
	border: 0;
	padding: 0;
	min-width: 0;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-facts > div:nth-child(n+3) {
	grid-column: 1 / -1;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-facts dt {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.7;
	color: #8a97a8;
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-facts dd {
	margin: 4px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--club-navy);
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-company-card > p {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--club-navy);
}
body.home.fsw-foundation .fswt-home-pattern #home-companies .fsw-button {
	min-height: 46px;
	border-radius: 11px;
	background: var(--club-pale);
	color: var(--club-blue);
	border: 1px solid #dce9ff;
	font-weight: 650;
	margin-top: auto;
}

/* Tools band — dark chrome matches site header (#14253d); white tool tiles like Complete Preview */
body.home.fsw-foundation .fswt-home-pattern .tools-band {
	background: #14253d !important;
	border: 1px solid #ffffff22;
	border-radius: 24px;
	color: #eef4ff;
	padding: 38px;
	display: grid;
	grid-template-columns: .9fr 1.2fr;
	gap: 36px;
	align-items: center;
	position: relative;
	overflow: hidden;
	box-shadow: none;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .eyebrow {
	color: #83b4ff !important;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .eyebrow::before {
	background: currentColor;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band h2 {
	font-size: 29px;
	font-weight: 800;
	letter-spacing: -.8px;
	line-height: 1.7;
	color: #fff !important;
	margin: 0;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .tools-intro > .wp-block-group__inner-container > p:not(.eyebrow),
body.home.fsw-foundation .fswt-home-pattern .tools-band .tools-intro > p:not(.eyebrow),
body.home.fsw-foundation .fswt-home-pattern .tools-band p {
	color: #acbdd4 !important;
	font-size: 13px;
	line-height: 1.95;
	margin: 12px 0 0;
}
body.home.fsw-foundation .fswt-home-pattern .tools-list {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .tools-list .fsw-items {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card,
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-tool-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	background: #fff !important;
	border: 1px solid #ffffff30 !important;
	border-radius: 16px !important;
	padding: 16px 18px !important;
	color: #14253d !important;
	min-height: 88px;
	text-decoration: none;
	box-shadow: none !important;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card:hover,
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-tool-card:hover {
	border-color: #9ec0f0 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .18) !important;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.65;
	color: #14253d !important;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.8;
	color: #5f6f85 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card .fsw-button {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 16px;
	color: transparent !important;
	min-height: 0;
}

/* Learning cards — pastel tops like preview */
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post {
	padding: 0;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid var(--club-line);
	background: #fff;
	display: flex;
	flex-direction: column;
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 16 / 9;
	background: linear-gradient(145deg, #edf4ff, #f3eefc);
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post:nth-child(3n+2) .wp-block-post-featured-image {
	background: linear-gradient(145deg, #fff6e8, #edf4ff);
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post:nth-child(3n) .wp-block-post-featured-image {
	background: linear-gradient(145deg, #e8f7f0, #edf4ff);
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post h3,
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt,
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt__more-link {
	padding-inline: 20px;
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post h3 {
	font-size: 16px;
	line-height: 1.7;
	margin: 16px 0 8px;
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt {
	padding-bottom: 20px;
	color: var(--club-muted);
	font-size: 13px;
}
body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt__more-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 !important;
	margin: 0 20px 16px;
	background: transparent !important;
	color: var(--club-blue) !important;
	border: 0 !important;
	font-weight: 650;
}

@media (max-width: 1100px) {
	body.home.fsw-foundation .fswt-home-pattern .home-hero {
		gap: 30px;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
@media (max-width: 900px) {
	body.home.fsw-foundation .fswt-home-pattern .task-rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		padding-block: 12px;
	}
	body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:nth-child(2) .wp-block-button__link {
		border-inline-end: 0 !important;
	}
}
@media (max-width: 650px) {
	/* Wider usable canvas — less outer/inner gutter so cards stop feeling cramped. */
	body.home.fsw-foundation .fswt-home-pattern {
		padding-inline: 10px;
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}
	body.home.fsw-foundation .fswt-home-pattern .home-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 28px 22px;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-copy {
		text-align: center;
	}
	body.home.fsw-foundation .fswt-home-pattern .eyebrow {
		justify-content: center;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-copy h1 {
		font-size: 36px;
		letter-spacing: -1.4px;
		line-height: 1.45;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-copy > .wp-block-group__inner-container > p:not(.eyebrow):not(.hero-foot),
	body.home.fsw-foundation .fswt-home-pattern .hero-copy > p:not(.eyebrow):not(.hero-foot) {
		max-width: none;
		margin-inline: auto;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-actions,
	body.home.fsw-foundation .fswt-home-pattern .hero-foot {
		justify-content: center;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-actions .wp-block-button__link {
		min-height: 48px;
		padding: 10px 16px;
	}
	body.home.fsw-foundation .fswt-home-pattern .hero-scene {
		max-width: none;
		width: 100%;
		margin-inline: auto;
		padding: 4px 4px 28px;
	}
	body.home.fsw-foundation .fswt-home-pattern .radar {
		transform: none;
		border-radius: 16px;
	}
	body.home.fsw-foundation .fswt-home-pattern .float-card {
		position: static;
		transform: none;
		margin-top: 12px;
		max-width: none;
		width: 100%;
		box-sizing: border-box;
	}
	body.home.fsw-foundation .fswt-home-pattern .task-rail {
		grid-template-columns: 1fr;
		border-radius: 16px;
	}
	body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button__link {
		border-inline-end: 0 !important;
		border-bottom: 1px solid #e9edf3 !important;
		min-height: 68px;
		padding-inline: 16px;
	}
	body.home.fsw-foundation .fswt-home-pattern .task-rail .wp-block-button:last-child .wp-block-button__link {
		border-bottom: 0 !important;
	}
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-section {
		margin-top: 32px;
	}
	body.home.fsw-foundation .fswt-home-pattern .section-head h2 {
		font-size: 22px;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band,
	body.home.fsw-foundation .fswt-home-pattern #home-tools.tools-band {
		padding: 22px 16px !important;
		border-radius: 18px;
		gap: 18px;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band h2 {
		font-size: 22px !important;
		line-height: 1.65;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band .tools-intro > .wp-block-group__inner-container > p:not(.eyebrow),
	body.home.fsw-foundation .fswt-home-pattern .tools-band p {
		font-size: 13px !important;
		line-height: 1.9;
		margin-top: 8px;
	}
	/* Single-column tiles: 8 tools stay readable instead of smashed 2×4 cells */
	body.home.fsw-foundation .fswt-home-pattern .tools-list,
	body.home.fsw-foundation .fswt-home-pattern .tools-band .tools-list .fsw-items {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 12px !important;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card {
		padding: 16px 16px !important;
		gap: 8px;
		min-height: 76px;
		border-radius: 14px !important;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card h3 {
		font-size: 15px !important;
		line-height: 1.7;
	}
	body.home.fsw-foundation .fswt-home-pattern .tools-band .fsw-card p {
		font-size: 12.5px !important;
		line-height: 1.85;
		-webkit-line-clamp: 3;
	}
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post {
		border-radius: 16px;
	}
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post h3,
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt,
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt__more-link {
		padding-inline: 14px;
	}
	body.home.fsw-foundation .fswt-home-pattern .fswt-home-posts .wp-block-post-excerpt__more-link {
		margin-inline: 14px;
	}
}
