/* BPG Site Style - Help Centre (BetterDocs) on phones.
 * The article card and the shelf/category pages were boxed in by several layers of
 * padding (about 70% of a phone's width). On phones the white card now runs to
 * about 97% of the screen, with the text about 90%.
 */
@media (max-width: 767px) {
	/* Article pages */
	body.bpg-help .betterdocs-single-wrapper {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
	body.bpg-help .betterdocs-single-wrapper .betterdocs-content-wrapper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.bpg-help #betterdocs-single-main.betterdocs-content-area {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
	body.bpg-help .betterdocs-entry-content .betterdocs-toc {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
	body.bpg-help .betterdocs-entry-content .bpg-tip {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	/* Help Centre home, shelves and category pages (Elementor archive template):
	   the shortcode box was set to 70% width at every screen size. */
	body.bpg-help .elementor-location-archive .elementor-widget-shortcode:has(.bpg-help-hero) {
		width: 100% !important;
		max-width: 100% !important;
		--container-widget-width: 100%;
	}
	body.bpg-help .elementor-location-archive .e-con:has(.bpg-help-hero) > .e-con-inner {
		padding-inline: 6px !important;
	}
}
