/**
 * Prime Academic Press — force layer v38.
 * Footer brand column:
 * - Widen first grid track (desktop).
 * - Tagline: one line (≥992px).
 * - Description: exactly two lines — first sentence, then second (≥992px each line nowrap).
 */

@media (min-width: 1200px) {
	.footer.pap-footer .pap-footer-grid {
		grid-template-columns: minmax(520px, 2.1fr) repeat(3, minmax(150px, 1fr)) !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.footer.pap-footer .pap-footer-grid {
		grid-template-columns: minmax(460px, 1.9fr) repeat(3, minmax(130px, 1fr)) !important;
	}
}

@media (min-width: 992px) {
	.footer.pap-footer .pap-footer-grid .pap-footer-col--brand .pap-footer-brand__tagline {
		white-space: nowrap !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
		hyphens: manual !important;
	}

	.footer.pap-footer .pap-footer-grid .pap-footer-col--brand .pap-footer-brand__desc {
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	.footer.pap-footer .pap-footer-grid .pap-footer-col--brand .pap-footer-brand__desc .pap-footer-desc-line {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		white-space: nowrap !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}

@media (max-width: 991px) {
	.footer.pap-footer .pap-footer-grid .pap-footer-col--brand .pap-footer-brand__desc .pap-footer-desc-line {
		display: block !important;
		white-space: normal !important;
	}
}
