/*
Theme Name: Gun Hiding
Theme URI: https://www.gunhiding.com
Author: ID Millworks
Author URI: https://www.shopidmillworks.com
Description: Block theme for GunHiding.com — handcrafted gun concealment shelves and mantels by ID Millworks. Checkout happens in the ID Millworks Shopify store.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gunhiding
*/

/* Small refinements theme.json can't express. */

html { scroll-behavior: smooth; }

.wp-site-blocks > header { position: sticky; top: 0; z-index: 50; }

.gh-eyebrow {
	letter-spacing: .18em;
	text-transform: uppercase;
	font-size: .78rem;
	font-weight: 600;
}

.gh-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	transition: transform .15s ease, box-shadow .15s ease;
}
.gh-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(28,27,25,.08); }

.gh-photo {
	border-radius: 6px;
	background:
		linear-gradient(135deg, rgba(255,255,255,.06), rgba(0,0,0,.18)),
		repeating-linear-gradient(90deg, #6b4423 0 6px, #74492a 6px 14px, #633f20 14px 22px);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}
.gh-photo p { margin: 0; padding: .6rem .8rem; color: #f4efe6; font-size: .8rem; opacity: .85; }

.gh-steps { counter-reset: gh-step; list-style: none; padding-left: 0; }
.gh-steps > li { counter-increment: gh-step; position: relative; padding-left: 3rem; margin-bottom: 1.25rem; }
.gh-steps > li::before {
	content: counter(gh-step);
	position: absolute; left: 0; top: 0;
	width: 2rem; height: 2rem; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--wp--preset--color--brass); color: var(--wp--preset--color--ink);
	font-weight: 700; font-size: .9rem;
}

.gh-note {
	border-left: 4px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--cream);
	padding: 1rem 1.25rem;
}

.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }

.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--wp--preset--color--line); padding: .6rem .8rem; text-align: left; }
.wp-block-table thead th { background: var(--wp--preset--color--cream); }

:where(a):focus-visible, :where(button):focus-visible { outline: 2px solid var(--wp--preset--color--brass); outline-offset: 2px; }

@media (max-width: 781px) {
	.gh-hide-mobile { display: none !important; }
}

.gh-plain-list { list-style: none; padding-left: 0; }
.gh-plain-list li { margin-bottom: .45rem; }
.gh-plain-list a { text-decoration: none; }
.gh-plain-list a:hover { text-decoration: underline; }
