/*
Theme Name: BuildPress
Theme URI: https://usebuildpress.com
Author: BuildPress
Author URI: https://usebuildpress.com
Description: An intentionally empty WordPress theme for the BuildPress base builder. It ships the document shell, a small reset and nothing else, so every header, footer and layout is yours to build. Renders no chrome of its own, which leaves BuildPress (or Elementor, or Bricks) free to own the whole page.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buildpress
Tags: custom-logo, custom-menu, featured-images, full-width-template, wide-blocks, block-styles, translation-ready, rtl-language-support
*/

/* -------------------------------------------------------------------------
 * Reset
 *
 * Deliberately tiny. The BuildPress plugin ships an equivalent base of its
 * own, so these rules are written to agree with it rather than fight it.
 * Nothing here sets a colour, a background or a spacing scale: those belong
 * to the design system, not to the theme.
 * ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.6;
}

img,
picture,
video,
canvas,
svg,
iframe,
embed,
object {
	max-width: 100%;
}

img,
video {
	height: auto;
}

/* -------------------------------------------------------------------------
 * Fallback content
 *
 * Only ever seen on views nothing else has claimed: a plain post, an
 * archive, a 404. BuildPress pages, Elementor templates and Bricks
 * templates all replace this entirely.
 * ---------------------------------------------------------------------- */

.bp-content {
	margin: 0 auto;
	max-width: var(--wp--style--global--content-size, 800px);
	padding: 2rem 1.25rem;
}

.bp-content > * + * {
	margin-top: 2rem;
}

.bp-entry-title,
.bp-list-title {
	margin: 0 0 0.5rem;
}

.bp-entry-meta {
	font-size: 0.875em;
	opacity: 0.7;
}

.bp-entry-thumbnail {
	margin: 1rem 0;
}

/* Accessibility helper, kept because core markup expects the class. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip-path: none;
	height: auto;
	left: 5px;
	top: 5px;
	padding: 15px 23px 14px;
	width: auto;
	z-index: 100000;
}
