/*
 * Frame fit for the 1440 homepage and the 320–430 mobile frames.
 * Loaded last so these measurements win over the section files.
 */

.wp-site-blocks,
.wp-block-template-part,
.wp-block-post-content {
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.wp-block-post-content {
		padding-block-start: 24px;
	}
}

.polcrm-home-hero figure,
.polcrm-home-inbox figure,
.polcrm-home-history figure,
.polcrm-home-deals figure,
.polcrm-home-cta figure {
	margin: 0;
}

@media (max-width: 1199px) {
	.polcrm-home-problem__cards,
	.polcrm-home-inbox__layout,
	.polcrm-home-history__layout,
	.polcrm-home-deals__layout,
	.polcrm-home-why__layout,
	.polcrm-home-audience__cards,
	.polcrm-home-resources__layout {
		grid-template-columns: 1fr;
	}

	.polcrm-home-inbox__facts {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.wp-block-post-content {
		display: flex;
		flex-direction: column;
	}

	.polcrm-home-capabilities,
	.polcrm-home-problem,
	.polcrm-home-day,
	.polcrm-home-inbox__visual,
	.polcrm-home-history__visual,
	.polcrm-home-deals__visual {
		display: none;
	}

	.polcrm-home-cta {
		order: 1;
	}

	.polcrm-home-resources {
		order: 2;
	}

	.polcrm-home-inbox,
	.polcrm-home-history,
	.polcrm-home-deals {
		padding-block: 28px;
	}

	.polcrm-home-inbox__facts {
		grid-template-columns: 1fr;
	}
}
