/*
Theme Name: IndustrialBid Lite
Theme URI: https://industrialbid.com
Author: Bidpath
Author URI: https://www.bidpath.com
Description: Lightweight block theme for IndustrialBid. No page builder; header, footer and a full-width content area for the AuctionHQ embed.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: industrialbid-lite
*/

/* Kill the default gap between root blocks */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Sticky header, sits under the admin bar when logged in */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.ib-header .wp-block-image { margin: 0; }
.ib-header .wp-block-image img { display: block; width: 200px; height: auto; }

.ib-nav a {
	color: #fff;
	text-decoration: none;
	transition: opacity .2s ease;
}
.ib-nav a:hover,
.ib-nav a:focus { opacity: .7; }

/* Embeds fill the content width */
.ib-main iframe { max-width: 100%; }

.ib-footer a { color: inherit; }

@media (max-width: 600px) {
	.ib-header .wp-block-image img { width: 150px; }
	.ib-nav { font-size: 15px !important; }
}

/* Footer stays at the bottom on short pages */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main, .wp-site-blocks > .ib-main { flex: 1 0 auto; }
