/* =========================================
   FPLF SINGLE FORM - MOBILE LAYOUT
========================================= */

@media (max-width: 779px) {

	/* =====================================
	   GENERATEPRESS WRAPPERS
===================================== */

	body.single-forms #page {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.single-forms #content {
		display: block !important;

		width: 100% !important;
		max-width: none !important;

		margin: 0 !important;
		padding: 0 20px !important;

		box-sizing: border-box !important;
	}

	body.single-forms #primary {
		float: none !important;

		width: 100% !important;
		max-width: none !important;

		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-forms #main {
		width: 100% !important;
		max-width: none !important;

		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-forms article.type-forms {
		width: 100% !important;
		max-width: none !important;

		margin: 0 !important;
		padding: 0 !important;
	}


	/* =====================================
	   TOP SECTION
===================================== */

	body.single-forms .fplf-single-top {
		width: 100% !important;
		max-width: none !important;

		min-height: 0 !important;
		height: auto !important;

		margin: 0 !important;

		/* Side spacing already comes from #content */
		padding: 28px 0 32px !important;

		box-sizing: border-box !important;
	}


	/* =====================================
	   HERO GRID
===================================== */

	body.single-forms .fplf-single-hero-grid {
		display: flex !important;
		flex-direction: column !important;

		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;

		height: auto !important;
		min-height: 0 !important;

		margin: 0 !important;
		padding: 0 !important;

		gap: 28px !important;

		align-items: stretch !important;
		justify-content: flex-start !important;
	}


	/* =====================================
	   MAIN CONTENT
===================================== */

	body.single-forms .fplf-single-main-content {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;

		height: auto !important;
		min-height: 0 !important;

		margin: 0 !important;
		padding: 0 !important;
	}


	/* =====================================
	   DOWNLOAD CARD
===================================== */

	body.single-forms .fplf-single-download-card {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;

		height: auto !important;

		margin: 0 !important;

		align-self: stretch !important;
		box-sizing: border-box !important;
	}
}

/* FPLF Result Description on Mobile */

@media (max-width: 767px) {

    .fplf-result-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .fplf-result-card > * {
        min-width: 0;
        max-width: 100%;
    }

    .fplf-result-description {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    .fplf-result-meta {
        display: none !important;
    }
}

