:root {
	--cf-bg: #ffffff;
	--cf-text: #111111;
	--cf-muted: #4b5563;
	--cf-border: #d9dde2;
	--cf-accent: #f1f1f1;
	--cf-page-gutter: 20px;
	--cf-page-gutter-mobile: 14px;
	--cf-card-hover-shadow: 0 14px 28px rgba(17, 17, 17, 0.12);
	--cf-card-shadow-space: 14px;
}

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

a {
	color: var(--cf-text);
	text-decoration: none;
}

html {
	width: 100%;
	overflow-x: hidden;
	scrollbar-gutter: auto;
}

body.calculators-fast-child {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--cf-text);
	background: var(--cf-bg);
	line-height: 1.45;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

#page.cf-site {
	min-height: 100vh;
	background: var(--cf-bg);
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.site-content {
	overflow-x: visible;
}

.site-main {
	overflow: visible;
}

.ast-container {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--cf-page-gutter), env(safe-area-inset-left)) !important;
	padding-right: max(var(--cf-page-gutter), env(safe-area-inset-right)) !important;
}

.cf-header {
	background: #ffffff;
	border-bottom: 1px solid var(--cf-border);
	position: fixed !important;
	top: 0 !important;
	left: 0;
	right: 0;
	width: 100%;
	transform: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 1500;
}

.cf-header-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	gap: 22px;
}

.cf-brand-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex-shrink: 0;
}

.cf-logo {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.015em;
	color: #000000;
	white-space: nowrap;
}

.cf-menu-toggle,
.cf-theme-toggle,
.cf-header-search button {
	color: var(--cf-text);
}

.cf-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.cf-menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.cf-header-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 560px;
	min-width: 260px;
	min-height: 40px;
	width: 100%;
	max-width: 560px;
	margin-left: 24px;
	margin-right: 24px;
}

.cf-header-search input {
	width: 100%;
	height: 40px;
	border: 1px solid var(--cf-accent);
	border-radius: 9999px;
	background: var(--cf-accent);
	padding: 0 52px 0 18px;
	font-size: 16px;
	line-height: 1;
	color: #4a4a4a;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.cf-header-search button {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.cf-desktop-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-shrink: 0;
}

.cf-desktop-nav a {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.1;
	color: var(--cf-text);
}

.cf-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--cf-border);
	border-radius: 9999px;
	background: #ffffff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.cf-theme-toggle-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}

.cf-header-mobile-theme-toggle {
	display: none;
}

.cf-menu-overlay[hidden] {
	display: none !important;
}

.site-content > .ast-container {
	padding-top: calc(68px + 34px);
	padding-bottom: 40px;
	padding-left: max(var(--cf-page-gutter), env(safe-area-inset-left)) !important;
	padding-right: max(var(--cf-page-gutter), env(safe-area-inset-right)) !important;
}

.home .entry-content > *:first-child {
	margin-top: 0;
}

.calculators-fast-hero {
	padding: 8px 0 10px;
}

.calculators-fast-hero h1,
.home .entry-content > .wp-block-group:first-child h1,
.home .entry-content > .wp-block-cover:first-child h1,
.home .elementor > .elementor-section:first-child h1.elementor-heading-title {
	margin: 0 auto 16px;
	max-width: 1100px;
	text-align: center;
	font-weight: 700;
	font-size: clamp(52px, 5.2vw, 60px);
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #111111;
}

.calculators-fast-hero p,
.home .entry-content > .wp-block-group:first-child p,
.home .entry-content > .wp-block-cover:first-child p,
.home .elementor > .elementor-section:first-child .elementor-widget-text-editor p {
	margin: 0 auto;
	max-width: 980px;
	text-align: center;
	color: #4d5562;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.58;
}

.calculators-fast-grid-section {
	overflow: visible;
	padding-left: var(--cf-card-shadow-space);
	padding-right: var(--cf-card-shadow-space);
	margin-left: calc(var(--cf-card-shadow-space) * -1);
	margin-right: calc(var(--cf-card-shadow-space) * -1);
}

.calculators-fast-grid,
.home .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
.home .entry-content .wp-block-post-template.is-layout-grid,
.home .elementor .elementor-widget-posts .elementor-posts-container,
.home .elementor .elementor-widget-loop-grid .e-loop-container,
.archive .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
.archive .entry-content .wp-block-post-template.is-layout-grid,
.archive .elementor .elementor-widget-posts .elementor-posts-container,
.archive .elementor .elementor-widget-loop-grid .e-loop-container {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px !important;
	padding: 0;
	margin: 30px 0 0;
	list-style: none;
}

.calculators-fast-grid > *,
.home .entry-content .wp-block-query .wp-block-post-template.is-layout-grid > li,
.home .entry-content .wp-block-post-template.is-layout-grid > li,
.home .elementor .elementor-widget-posts .elementor-post,
.home .elementor .elementor-widget-loop-grid .e-loop-item,
.archive .entry-content .wp-block-query .wp-block-post-template.is-layout-grid > li,
.archive .entry-content .wp-block-post-template.is-layout-grid > li,
.archive .elementor .elementor-widget-posts .elementor-post,
.archive .elementor .elementor-widget-loop-grid .e-loop-item {
	display: flex;
	flex-direction: column;
	min-height: 170px;
	padding: 14px;
	border: 1px solid var(--cf-border) !important;
	border-left: 1px solid var(--cf-border) !important;
	border-right: 1px solid var(--cf-border) !important;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px var(--cf-border);
	position: relative;
	contain: layout paint style;
	content-visibility: auto;
	contain-intrinsic-size: 170px;
}

.calculators-fast-grid h2,
.calculators-fast-grid h3,
.home .entry-content .wp-block-post-title,
.home .elementor .elementor-post__title,
.archive .entry-content .wp-block-post-title,
.archive .elementor .elementor-post__title {
	margin: 0 0 7px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #111111;
}

.home .entry-content .wp-block-post-title a,
.home .elementor .elementor-post__title a,
.archive .entry-content .wp-block-post-title a,
.archive .elementor .elementor-post__title a {
	color: inherit;
}

.calculators-fast-grid p,
.home .entry-content .wp-block-post-excerpt__excerpt,
.home .elementor .elementor-post__excerpt p,
.archive .entry-content .wp-block-post-excerpt__excerpt,
.archive .elementor .elementor-post__excerpt p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #5b6472;
}

.calculators-fast-grid .wp-block-button,
.home .entry-content .wp-block-buttons,
.home .entry-content .wp-block-post-excerpt,
.home .elementor .elementor-post__read-more-wrapper,
.archive .entry-content .wp-block-buttons,
.archive .entry-content .wp-block-post-excerpt,
.archive .elementor .elementor-post__read-more-wrapper {
	margin-top: auto;
	display: flex;
	justify-content: center;
}

.calculators-fast-grid .wp-block-button__link,
.calculators-fast-grid .cf-card-button,
.home .entry-content .wp-block-button__link,
.home .entry-content .wp-block-post-excerpt__more-link,
.home .elementor .elementor-post__read-more,
.home .elementor .elementor-button,
.archive .entry-content .wp-block-button__link,
.archive .entry-content .wp-block-post-excerpt__more-link,
.archive .elementor .elementor-post__read-more,
.archive .elementor .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 24px;
	border-radius: 9999px;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.calculators-fast-grid .cf-card-button {
	margin-top: auto;
	align-self: center;
	min-width: 176px;
}

.cf-share-toggle {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	top: calc(68px + 64px);
	transform: none;
	width: 62px;
	min-width: 62px;
	height: 62px;
	padding: 0;
	border: 1px solid #d7e0ea;
	border-radius: 9999px;
	background: #ffffff;
	color: #111111;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(10, 16, 26, 0.24);
	z-index: 1200;
}

html[data-cf-theme="dark"] {
	color-scheme: dark;
	--cf-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

html[data-cf-theme="dark"] body.calculators-fast-child,
html[data-cf-theme="dark"] #page.cf-site {
	background: #0f141b;
	color: #e6ebf2;
}

html[data-cf-theme="dark"] .cf-header {
	background: #121a24;
	border-color: #2d3746;
}

html[data-cf-theme="dark"] .cf-logo,
html[data-cf-theme="dark"] .cf-desktop-nav a,
html[data-cf-theme="dark"] .cf-menu-toggle,
html[data-cf-theme="dark"] .cf-theme-toggle,
html[data-cf-theme="dark"] .cf-header-search button {
	color: #f8fafc;
}

html[data-cf-theme="dark"] .cf-theme-toggle,
html[data-cf-theme="dark"] .cf-header-search input {
	background: #1a2431;
	border-color: #334155;
}

html[data-cf-theme="dark"] .cf-header-search input {
	color: #e6ebf2;
}

html[data-cf-theme="dark"] .calculators-fast-grid > *,
html[data-cf-theme="dark"] .home .entry-content .wp-block-query .wp-block-post-template.is-layout-grid > li,
html[data-cf-theme="dark"] .home .entry-content .wp-block-post-template.is-layout-grid > li,
html[data-cf-theme="dark"] .home .elementor .elementor-widget-posts .elementor-post,
html[data-cf-theme="dark"] .home .elementor .elementor-widget-loop-grid .e-loop-item,
html[data-cf-theme="dark"] .archive .entry-content .wp-block-query .wp-block-post-template.is-layout-grid > li,
html[data-cf-theme="dark"] .archive .entry-content .wp-block-post-template.is-layout-grid > li,
html[data-cf-theme="dark"] .archive .elementor .elementor-widget-posts .elementor-post,
html[data-cf-theme="dark"] .archive .elementor .elementor-widget-loop-grid .e-loop-item {
	background: #121a24;
	border: 1px solid #2f3c4e !important;
	border-left: 1px solid #2f3c4e !important;
	border-right: 1px solid #2f3c4e !important;
	box-shadow: inset 0 0 0 1px #2f3c4e;
}

html[data-cf-theme="dark"] .calculators-fast-hero h1,
html[data-cf-theme="dark"] .calculators-fast-grid h2,
html[data-cf-theme="dark"] .calculators-fast-grid h3 {
	color: #f1f5f9;
}

html[data-cf-theme="dark"] .calculators-fast-hero p,
html[data-cf-theme="dark"] .calculators-fast-grid p {
	color: #c7d3e3;
}

html[data-cf-theme="dark"] .cf-card-button,
html[data-cf-theme="dark"] .home .entry-content .wp-block-button__link,
html[data-cf-theme="dark"] .home .entry-content .wp-block-post-excerpt__more-link,
html[data-cf-theme="dark"] .archive .entry-content .wp-block-button__link,
html[data-cf-theme="dark"] .archive .entry-content .wp-block-post-excerpt__more-link {
	background: transparent;
	border-color: #e2e8f0;
	color: #f8fafc;
}

html[data-cf-theme="dark"] .cf-share-toggle {
	background: #ffffff;
	border-color: #d7e0ea;
	color: #111111;
}

@media (max-width: 920px) {
	.cf-header-inner {
		min-height: 62px;
	}

	.cf-logo {
		font-size: 24px;
		max-width: min(100%, calc(100vw - 140px));
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cf-desktop-nav,
	.cf-header-search {
		display: none;
	}

	.cf-header-mobile-theme-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.site-content > .ast-container {
		padding-top: calc(62px + 26px);
	}

	.calculators-fast-hero h1,
	.home .entry-content > .wp-block-group:first-child h1,
	.home .entry-content > .wp-block-cover:first-child h1,
	.home .elementor > .elementor-section:first-child h1.elementor-heading-title {
		font-size: clamp(42px, 7vw, 52px);
	}

	.calculators-fast-hero p,
	.home .entry-content > .wp-block-group:first-child p,
	.home .entry-content > .wp-block-cover:first-child p,
	.home .elementor > .elementor-section:first-child .elementor-widget-text-editor p {
		font-size: 17px;
	}

	.cf-share-toggle {
		top: calc(62px + 50px);
		width: 58px;
		min-width: 58px;
		height: 58px;
		font-size: 13px;
	}
}

@media (max-width: 900px) {
	.calculators-fast-grid,
	.home .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
	.home .entry-content .wp-block-post-template.is-layout-grid,
	.home .elementor .elementor-widget-posts .elementor-posts-container,
	.home .elementor .elementor-widget-loop-grid .e-loop-container,
	.archive .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
	.archive .entry-content .wp-block-post-template.is-layout-grid,
	.archive .elementor .elementor-widget-posts .elementor-posts-container,
	.archive .elementor .elementor-widget-loop-grid .e-loop-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	:root {
		--cf-card-shadow-space: 10px;
	}

	.ast-container {
		padding-left: max(var(--cf-page-gutter-mobile), env(safe-area-inset-left)) !important;
		padding-right: max(var(--cf-page-gutter-mobile), env(safe-area-inset-right)) !important;
	}

	.cf-header-inner {
		min-height: 58px;
		gap: 10px;
	}

	.cf-logo {
		font-size: 20px;
	}

	.site-content > .ast-container {
		padding-top: calc(58px + 22px);
		padding-left: max(var(--cf-page-gutter-mobile), env(safe-area-inset-left)) !important;
		padding-right: max(var(--cf-page-gutter-mobile), env(safe-area-inset-right)) !important;
	}

	.calculators-fast-grid,
	.home .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
	.home .entry-content .wp-block-post-template.is-layout-grid,
	.home .elementor .elementor-widget-posts .elementor-posts-container,
	.home .elementor .elementor-widget-loop-grid .e-loop-container,
	.archive .entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
	.archive .entry-content .wp-block-post-template.is-layout-grid,
	.archive .elementor .elementor-widget-posts .elementor-posts-container,
	.archive .elementor .elementor-widget-loop-grid .e-loop-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.cf-share-toggle {
		right: 14px;
		top: calc(58px + 38px);
		width: 50px;
		min-width: 50px;
		height: 50px;
		font-size: 12px;
	}
}
