:root {
	--cm4h-navy: #0f172a;
	--cm4h-navy-soft: #172554;
	--cm4h-green: #16a34a;
	--cm4h-green-dark: #0f8d3d;
	--cm4h-blue: #2563eb;
	--cm4h-blue-soft: #eff6ff;
	--cm4h-text: #0f172a;
	--cm4h-muted: #475569;
	--cm4h-border: rgba(148, 163, 184, 0.22);
	--cm4h-surface: #ffffff;
	--cm4h-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
	--cm4h-shadow-soft: 0 16px 40px rgba(37, 99, 235, 0.09);
	--cm4h-radius: 28px;
}

body.cm4h-homepage-template.cm4h-hide-theme-header .site-header,
body.cm4h-homepage-template.cm4h-hide-theme-header #masthead,
body.cm4h-homepage-template.cm4h-hide-theme-header .page-header,
body.cm4h-homepage-template.cm4h-hide-theme-header .header-widget,
body.cm4h-homepage-template.cm4h-hide-theme-header .site-logo,
body.cm4h-homepage-template.cm4h-hide-theme-header .main-navigation {
	display: none !important;
}

body.cm4h-homepage-template.cm4h-hide-theme-footer .site-footer,
body.cm4h-homepage-template.cm4h-hide-theme-footer #colophon,
body.cm4h-homepage-template.cm4h-hide-theme-footer .footer-widgets,
body.cm4h-homepage-template.cm4h-hide-theme-footer #generate-footer,
body.cm4h-homepage-template.cm4h-hide-theme-footer .generate-back-to-top {
	display: none !important;
}

.cm4h-shell {
	color: var(--cm4h-text);
	background:
		radial-gradient(circle at 10% 10%, rgba(34, 197, 94, 0.16), transparent 28%),
		radial-gradient(circle at 92% 15%, rgba(59, 130, 246, 0.14), transparent 24%),
		linear-gradient(180deg, #f7fbff 0%, #ffffff 22%, #f8fbff 100%);
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

.cm4h-container {
	width: min(var(--cm4h-container-width, 1240px), calc(100% - 32px));
	margin: 0 auto;
}

.cm4h-main {
	padding-bottom: 72px;
}

.cm4h-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: linear-gradient(120deg, rgba(15, 23, 42, 0.97), rgba(23, 37, 84, 0.93));
	backdrop-filter: blur(18px);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
}

.cm4h-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 88px;
}

.cm4h-brand {
	display: flex;
	align-items: center;
	gap: 18px;
}

.cm4h-brand__text,
.cm4h-brand__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.cm4h-brand__logo img {
	max-height: 42px;
	width: auto;
}

.cm4h-brand__text {
	color: #fff;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.cm4h-nav {
	justify-self: center;
}

.cm4h-nav__list {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cm4h-nav__list li {
	margin: 0;
}

.cm4h-nav__list a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
	padding: 10px 12px;
	border-radius: 999px;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.cm4h-nav__list .current-menu-item > a,
.cm4h-nav__list a:hover,
.cm4h-nav__list a:focus-visible {
	color: #fff;
	background: rgba(34, 197, 94, 0.18);
	transform: translateY(-1px);
}

.cm4h-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cm4h-footer {
	padding: 40px 0 28px;
	background: linear-gradient(160deg, #0f172a, #172554 65%, #1e3a8a 130%);
	color: #fff;
}

.cm4h-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.75fr) minmax(220px, 0.8fr);
	gap: 28px;
	align-items: start;
}

.cm4h-footer__logo {
	margin-bottom: 18px;
}

.cm4h-footer__logo img {
	max-height: 42px;
	width: auto;
}

.cm4h-footer__brand p,
.cm4h-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	line-height: 1.7;
}

.cm4h-footer__links h2,
.cm4h-footer__actions h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 1.18rem;
	letter-spacing: -0.03em;
}

.cm4h-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.cm4h-footer-nav li {
	margin: 0;
}

.cm4h-footer-nav a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	font-weight: 600;
}

.cm4h-footer-nav a:hover,
.cm4h-footer-nav a:focus-visible {
	color: #fff;
}

.cm4h-footer__actions {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.cm4h-footer__bottom {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cm4h-search {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 5px 8px 5px 14px;
}

.cm4h-search input {
	border: 0;
	background: transparent;
	color: #fff;
	min-width: 150px;
	font-size: 0.95rem;
	outline: none;
	padding: 6px 0;
}

.cm4h-search input::placeholder {
	color: rgba(255, 255, 255, 0.72);
}

.cm4h-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.16);
	color: #fff;
	cursor: pointer;
}

.cm4h-search svg,
.cm4h-button svg,
.cm4h-strip__icon svg,
.cm4h-category-card__icon svg,
.cm4h-badge svg,
.cm4h-floating-icon svg,
.cm4h-newsletter__icon svg {
	width: 20px;
	height: 20px;
}

.cm4h-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 18px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cm4h-button:hover,
.cm4h-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.cm4h-button--solid {
	background: linear-gradient(135deg, var(--cm4h-green), #22c55e);
	color: #fff;
}

.cm4h-button--ghost {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(37, 99, 235, 0.2);
	color: var(--cm4h-navy);
}

.cm4h-button--outline {
	background: #fff;
	border: 1px solid rgba(37, 99, 235, 0.2);
	color: var(--cm4h-blue);
}

.cm4h-button--link {
	padding: 0;
	min-height: auto;
	color: var(--cm4h-blue);
	background: transparent;
}

.cm4h-button--small {
	min-height: 46px;
	padding-inline: 18px;
	font-size: 0.94rem;
}

.cm4h-nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: transparent;
	padding: 11px 10px;
	cursor: pointer;
}

.cm4h-nav-toggle span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: #fff;
	border-radius: 999px;
}

.cm4h-hero {
	position: relative;
	padding: 42px 0 36px;
	background-size: cover;
	background-position: center;
}

.cm4h-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	align-items: center;
	gap: 40px;
	padding: 38px 0 12px;
}

.cm4h-hero__copy {
	max-width: 620px;
}

.cm4h-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(22, 163, 74, 0.12);
	color: #0f8d3d;
	font-size: 0.98rem;
	font-weight: 700;
	margin-bottom: 26px;
}

.cm4h-hero__title {
	font-size: clamp(2.6rem, 5vw, 4.85rem);
	line-height: 0.96;
	letter-spacing: -0.055em;
	margin: 0 0 24px;
}

.cm4h-hero__title span {
	color: var(--cm4h-green);
	text-decoration: underline;
	text-decoration-thickness: 7px;
	text-decoration-color: rgba(22, 163, 74, 0.26);
	text-underline-offset: 5px;
}

.cm4h-hero__description {
	font-size: 1.23rem;
	line-height: 1.7;
	color: var(--cm4h-muted);
	margin: 0 0 34px;
	max-width: 620px;
}

.cm4h-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.cm4h-hero__visual {
	position: relative;
	min-height: 520px;
}

.cm4h-hero-card {
	position: absolute;
	inset: 36px 16px 0 44px;
	border-radius: 36px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
		radial-gradient(circle at 15% 20%, rgba(22, 163, 74, 0.18), transparent 34%);
	box-shadow: var(--cm4h-shadow);
	border: 1px solid rgba(255, 255, 255, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	overflow: hidden;
    

}

.cm4h-hero-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	
	
}

.cm4h-dashboard-illustration {
	position: relative;
	width: min(100%, 540px);
	padding: 74px 46px 40px;
}

.cm4h-dashboard-illustration__panel {
	position: relative;
	border-radius: 24px;
	border: 12px solid #1f2937;
	background: linear-gradient(180deg, #f8fbff, #edf7ff);
	box-shadow: 0 20px 42px rgba(30, 41, 59, 0.22);
	padding: 18px 22px 26px;
}

.cm4h-dashboard-illustration__dots {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.cm4h-dashboard-illustration__dots span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #cbd5e1;
}

.cm4h-dashboard-illustration__graph {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: end;
	gap: 12px;
	min-height: 230px;
}

.cm4h-dashboard-illustration__graph span {
	border-radius: 12px 12px 0 0;
	background: linear-gradient(180deg, #60a5fa, #2563eb);
	box-shadow: inset 0 -10px 18px rgba(15, 23, 42, 0.14);
}

.cm4h-hero-note {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: grid;
	gap: 12px;
	padding: 24px 22px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--cm4h-shadow-soft);
	transform: rotate(-7deg);
}

.cm4h-hero-note strong {
	font-size: 1.25rem;
	letter-spacing: -0.04em;
}

.cm4h-floating-icon {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 24px;
	color: #fff;
	background: linear-gradient(160deg, var(--cm4h-icon-accent), color-mix(in srgb, var(--cm4h-icon-accent) 68%, #ffffff));
	box-shadow: 0 20px 35px color-mix(in srgb, var(--cm4h-icon-accent) 32%, transparent);
}

.cm4h-floating-icon--1 { top: 70px; left: 12px; }
.cm4h-floating-icon--2 { top: 24px; left: 120px; }
.cm4h-floating-icon--3 { top: 0; right: 120px; width: 92px; height: 92px; border-radius: 30px; }
.cm4h-floating-icon--4 { top: 84px; right: 16px; }
.cm4h-floating-icon--5 { top: 238px; right: -4px; width: 82px; height: 82px; border-radius: 30px; }

.cm4h-strip {
	padding: 16px 0 12px;
}

.cm4h-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--cm4h-border);
	border-radius: 30px;
	box-shadow: var(--cm4h-shadow-soft);
	overflow: hidden;
}

.cm4h-strip__item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 26px 24px;
}

.cm4h-strip__item + .cm4h-strip__item {
	border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.cm4h-strip__item h2 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
}

.cm4h-strip__item p {
	margin: 0;
	color: var(--cm4h-muted);
	font-size: 0.98rem;
	line-height: 1.5;
}

.cm4h-strip__icon {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(22, 163, 74, 0.14), rgba(96, 165, 250, 0.14));
	color: var(--cm4h-green);
}

.cm4h-section {
	padding: 62px 0 0;
}

.cm4h-section--tight {
	padding-top: 48px;
}

.cm4h-section-heading {
	margin-bottom: 30px;
}

.cm4h-section-heading.is-centered {
	text-align: center;
}

.cm4h-section__heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.cm4h-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3.1rem);
	line-height: 1.05;
	letter-spacing: -0.055em;
}

.cm4h-section-heading p {
	max-width: 650px;
	margin: 14px auto 0;
	color: var(--cm4h-muted);
	font-size: 1.08rem;
	line-height: 1.7;
}

.cm4h-section__heading-row .cm4h-section-heading p {
	margin-left: 0;
}

.cm4h-guides-grid,
.cm4h-tools-grid,
.cm4h-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.cm4h-guide-card,
.cm4h-post-card,
.cm4h-tool-card,
.cm4h-testimonial-card,
.cm4h-category-card,
.cm4h-newsletter {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--cm4h-border);
	border-radius: 28px;
	box-shadow: var(--cm4h-shadow-soft);
}

.cm4h-guide-card,
.cm4h-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cm4h-guide-card__media,
.cm4h-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #dbeafe, #eff6ff);
}

.cm4h-guide-card__media img,
.cm4h-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cm4h-guide-card__placeholder,
.cm4h-post-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(22, 163, 74, 0.12));
}

.cm4h-guide-card__badge,
.cm4h-post-card__badge,
.cm4h-pill {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cm4h-guide-card__body,
.cm4h-post-card__body {
	padding: 24px 24px 26px;
}

.cm4h-guide-card__body h3,
.cm4h-post-card__body h3,
.cm4h-tool-card h3,
.cm4h-testimonial-card h3,
.cm4h-category-card h3 {
	margin: 0 0 12px;
	font-size: 1.5rem;
	line-height: 1.12;
	letter-spacing: -0.05em;
}

.cm4h-post-card__body h3 {
	font-size: 1.3rem;
}

.cm4h-guide-card__body a,
.cm4h-post-card__body a,
.cm4h-tool-card a {
	text-decoration: none;
	color: inherit;
}

.cm4h-guide-card__body p,
.cm4h-post-card__body p,
.cm4h-tool-card p,
.cm4h-testimonial-card p,
.cm4h-category-card p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--cm4h-muted);
}

.cm4h-guide-card .cm4h-button--link {
	margin-top: 18px;
}

.cm4h-category-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.cm4h-category-card {
	position: relative;
	padding: 30px 26px 28px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.86)),
		var(--cm4h-card-background, #eff6ff);
	min-height: 238px;
	display: flex;
	flex-direction: column;
}

.cm4h-category-card__icon {
	width: 76px;
	height: 76px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--cm4h-blue);
	background: rgba(255, 255, 255, 0.76);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85);
}

.cm4h-category-card__link {
	margin-top: auto;
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--cm4h-blue);
}

.cm4h-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	align-items: center;
	gap: 28px;
	padding: 30px 34px;
	background:
		radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.22), transparent 25%),
		linear-gradient(130deg, #172554, #2563eb 52%, #22c55e 140%);
	color: #fff;
}

.cm4h-newsletter__copy {
	display: flex;
	align-items: center;
	gap: 22px;
}

.cm4h-newsletter__icon {
	flex: 0 0 auto;
	width: 86px;
	height: 86px;
	border-radius: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.14);
}

.cm4h-newsletter__copy h2 {
	margin: 0 0 10px;
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	line-height: 1.05;
	letter-spacing: -0.05em;
	color: #fff;
}

.cm4h-newsletter__copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
}

.cm4h-newsletter__form form,
.cm4h-newsletter__form .wpcf7-form,
.cm4h-newsletter__form .wpforms-container form {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cm4h-newsletter__form input[type="email"],
.cm4h-newsletter__form input[type="text"] {
	flex: 1 1 auto;
	min-height: 56px;
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(255,255,255,0.96);
	color: var(--cm4h-text);
	padding: 0 18px;
	font-size: 1rem;
}

.cm4h-post-grid {
	position: relative;
}

.cm4h-post-grid__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.cm4h-post-grid--carousel .cm4h-post-grid__track,
.cm4h-post-grid--slider .cm4h-post-grid__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.cm4h-post-grid--carousel .cm4h-post-card,
.cm4h-post-grid--slider .cm4h-post-card {
	scroll-snap-align: start;
}

.cm4h-post-card__meta {
	margin-top: 18px;
	font-size: 0.95rem;
	color: #64748b;
}

.cm4h-carousel__control {
	position: absolute;
	top: calc(50% - 22px);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.96);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
	cursor: pointer;
}

.cm4h-carousel__control--prev { left: -10px; }
.cm4h-carousel__control--next { right: -10px; }

.cm4h-tools-grid,
.cm4h-testimonial-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm4h-tool-card,
.cm4h-testimonial-card {
	padding: 26px;
}

.cm4h-tool-card__top,
.cm4h-testimonial-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.cm4h-tool-card__logo,
.cm4h-testimonial-card__photo,
.cm4h-testimonial-card__avatar {
	width: 70px;
	height: 70px;
	border-radius: 20px;
	object-fit: cover;
	background: linear-gradient(145deg, #dbeafe, #eff6ff);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--cm4h-blue);
}

.cm4h-tool-card__meta,
.cm4h-tool-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
}

.cm4h-testimonial-card__rating {
	margin-bottom: 12px;
	color: #f59e0b;
	font-size: 1.1rem;
	letter-spacing: 0.18em;
}

.cm4h-faq-list {
	display: grid;
	gap: 14px;
}

.cm4h-faq-item {
	border-radius: 22px;
	border: 1px solid var(--cm4h-border);
	background: rgba(255, 255, 255, 0.94);
	padding: 0 24px;
	box-shadow: var(--cm4h-shadow-soft);
}

.cm4h-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 6px 22px 0;
	font-size: 1.15rem;
	font-weight: 700;
}

.cm4h-faq-item summary::-webkit-details-marker {
	display: none;
}

.cm4h-faq-item div {
	padding: 0 0 22px;
	color: var(--cm4h-muted);
}

.cm4h-section,
.cm4h-strip,
.cm4h-hero {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.cm4h-section.is-visible,
.cm4h-strip.is-visible,
.cm4h-hero.is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

@media (max-width: 1200px) {
	.cm4h-hero__grid,
	.cm4h-newsletter,
	.cm4h-footer__grid {
		grid-template-columns: 1fr;
	}

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

	.cm4h-post-grid__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.cm4h-header__inner {
		grid-template-columns: auto auto;
		justify-content: space-between;
	}

	.cm4h-nav-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
	}

	.cm4h-nav {
		display: none;
		grid-column: 1 / -1;
		padding-bottom: 14px;
	}

	.cm4h-nav.is-open {
		display: block;
	}

	.cm4h-nav__list {
		flex-direction: column;
		align-items: flex-start;
		background: rgba(255,255,255,0.06);
		border: 1px solid rgba(255,255,255,0.08);
		padding: 14px;
		border-radius: 20px;
	}

	.cm4h-header__actions {
		justify-self: end;
	}

	.cm4h-search input {
		min-width: 110px;
	}

	.cm4h-strip__grid,
	.cm4h-guides-grid,
	.cm4h-tools-grid,
	.cm4h-testimonial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 768px) {
	.cm4h-container {
		width: min(var(--cm4h-container-width, 1240px), calc(100% - 20px));
	}

	.cm4h-header__inner {
		gap: 16px;
		min-height: 82px;
	}

	.cm4h-header__actions {
		width: 100%;
		grid-column: 1 / -1;
		justify-content: space-between;
	}

	.cm4h-button--small {
		padding-inline: 16px;
	}

	.cm4h-footer__actions {
		justify-items: stretch;
	}

	.cm4h-hero__title {
		font-size: clamp(2.3rem, 12vw, 3.8rem);
	}

	.cm4h-hero__description {
		font-size: 1.08rem;
	}

	.cm4h-hero__visual {
		min-height: 420px;
	}

	.cm4h-hero-card {
		inset: 30px 0 0;
		
	}

	.cm4h-floating-icon {
		width: 58px;
		height: 58px;
		border-radius: 18px;
	}

	.cm4h-floating-icon--3,
	.cm4h-floating-icon--5 {
		width: 66px;
		height: 66px;
		border-radius: 22px;
	}

	.cm4h-strip__grid,
	.cm4h-guides-grid,
	.cm4h-tools-grid,
	.cm4h-testimonial-grid,
	.cm4h-post-grid__track,
	.cm4h-category-grid {
		grid-template-columns: 1fr;
	}

	.cm4h-strip__item + .cm4h-strip__item {
		border-left: 0;
		border-top: 1px solid rgba(148, 163, 184, 0.16);
	}

	.cm4h-newsletter {
		padding: 24px;
	}

	.cm4h-newsletter__copy {
		flex-direction: column;
		align-items: flex-start;
	}

	.cm4h-newsletter__form form,
	.cm4h-newsletter__form .wpcf7-form,
	.cm4h-newsletter__form .wpforms-container form {
		flex-direction: column;
		align-items: stretch;
	}

	.cm4h-carousel__control {
		display: none;
	}
}

@media (max-width: 480px) {
	.cm4h-search {
		flex: 1 1 auto;
	}

	.cm4h-search input {
		min-width: 0;
		width: 100%;
	}

	.cm4h-header__actions {
		flex-wrap: wrap;
	}

	.cm4h-button,
	.cm4h-button--small {
		width: 100%;
	}

	.cm4h-hero__actions {
		flex-direction: column;
	}

	.cm4h-dashboard-illustration {
		padding: 56px 18px 18px;
	}

	.cm4h-hero-note {
		position: relative;
		left: auto;
		bottom: auto;
		margin-top: 18px;
		transform: none;
	}
}
