/*
Theme Name: Blank Canvas
Theme URI: https://example.com/blank-canvas
Author: You
Description: A minimal, lightweight blank-canvas theme with centered header and footer menus and GeneratePress-style Customizer options (layout, colors, typography, header, menu, footer, blog) plus per-page switches to hide the header, footer or title.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blank-canvas
Tags: blank, one-column, custom-menu, custom-logo, custom-colors, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bc-bg);
	color: var(--bc-text);
	font-family: var(--bc-body-font);
	font-size: var(--bc-body-size);
	line-height: var(--bc-line-height);
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--bc-link); }
a:hover, a:focus { color: var(--bc-link-hover); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--bc-heading-font);
	font-weight: var(--bc-heading-weight);
	color: var(--bc-heading);
	line-height: 1.25;
	margin: 1.5em 0 .5em;
}
h1 { font-size: 2.2em; } h2 { font-size: 1.8em; } h3 { font-size: 1.45em; }
p { margin: 0 0 1.5em; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	background: #fff; color: #000; padding: 12px 20px; z-index: 100000;
	top: 6px; left: 6px; position: fixed; box-shadow: 0 0 4px rgba(0,0,0,.4);
}

/* ---------- Container ---------- */
.bc-container {
	width: 100%;
	max-width: var(--bc-site-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.site-content { padding-top: var(--bc-content-padding); padding-bottom: var(--bc-content-padding); }
.site-content.is-full-width { max-width: none; padding-left: 0; padding-right: 0; }
.is-full-width .entry-content > * { max-width: none; }
.alignwide { max-width: 1400px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.is-full-width .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

/* ---------- Header ---------- */
.site-header {
	background: var(--bc-header-bg);
	color: var(--bc-header-text);
	padding-top: var(--bc-header-padding);
	padding-bottom: var(--bc-header-padding);
}
.site-branding { text-align: var(--bc-header-text-align); }
.site-title { margin: 0; font-size: 1.8em; line-height: 1.2; }
.site-title a { color: var(--bc-header-text); text-decoration: none; }
.site-description { margin: .25em 0 0; font-size: .9em; opacity: .75; }
.custom-logo { max-height: 90px; width: auto; }

/* ---------- Navigation ---------- */
.main-navigation { margin-top: 1em; }
.main-navigation ul, .footer-navigation ul { list-style: none; margin: 0; padding: 0; }
#primary-menu { display: flex; flex-wrap: wrap; justify-content: var(--bc-header-justify); }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: .55em var(--bc-menu-spacing);
	color: var(--bc-menu-link);
	font-size: var(--bc-menu-size);
	text-transform: var(--bc-menu-transform);
	text-decoration: none;
}
.main-navigation a:hover, .main-navigation a:focus,
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a { color: var(--bc-menu-link-hover); }
.main-navigation .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 99;
	min-width: 200px; background: var(--bc-header-bg); box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu a { padding: .6em 1em; }
.bc-menu-toggle {
	display: none; margin: 0 auto; padding: .6em 1.2em; cursor: pointer;
	background: transparent; border: 1px solid currentColor; color: var(--bc-menu-link);
	font: inherit; font-size: var(--bc-menu-size);
}

/* ---------- Content ---------- */
.entry { margin-bottom: 3em; }
.entry-title { margin-top: 0; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-meta { font-size: .85em; opacity: .7; margin-bottom: 1.2em; }
.post-thumbnail { margin: 0 0 1.2em; }
.entry-content > :first-child { margin-top: 0; }
.page-header { margin-bottom: 2em; }
.page-title { margin-top: 0; }
.pagination, .navigation.posts-navigation { margin: 2em 0; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: .3em .7em; }
.comments-area { margin-top: 3em; }
.comment-list { list-style: none; padding-left: 0; }
.comment-list .children { list-style: none; padding-left: 1.5em; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	width: 100%; max-width: 100%; padding: .6em .8em; border: 1px solid #ccc; font: inherit;
}
button, input[type="submit"] { padding: .6em 1.2em; cursor: pointer; font: inherit; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--bc-footer-bg);
	color: var(--bc-footer-text);
	padding-top: var(--bc-footer-padding);
	padding-bottom: var(--bc-footer-padding);
	text-align: var(--bc-footer-text-align);
}
.site-footer a { color: var(--bc-footer-link); }
.site-footer a:hover, .site-footer a:focus { color: var(--bc-footer-link-hover); }
#footer-menu { display: flex; flex-wrap: wrap; justify-content: var(--bc-footer-justify); gap: .4em 1.5em; margin-bottom: 1em; }
.site-info { font-size: .9em; }
.site-info p { margin: 0; }
