/*
Theme Name: Bear Restorations
Theme URI: https://bearrestorations.com
Author: Bear Restorations
Description: Dark, shop-floor theme for Bear Restorations with a built-in Projects section (Service and Status labels, build logs, homepage "On the bench" feed).
Version: 1.0.3
Requires at least: 6.5
Tested up to: 6.8
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: bear-restorations
*/

/* Pill labels for Service and Status terms */
.bear-pills a,
.bear-pills span.wp-block-post-terms__separator + a {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid var(--wp--preset--color--line-strong);
	color: var(--wp--preset--color--text-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	margin: 0 6px 6px 0;
}
.bear-pills .wp-block-post-terms__separator { display: none; }
.bear-pills.is-status a {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}

/* Project cards */
.bear-card {
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface);
	height: 100%;
	transition: border-color 0.15s ease;
}
.bear-card:hover { border-color: var(--wp--preset--color--line-strong); }
.bear-card .wp-block-post-featured-image { margin: 0; }
.bear-card .wp-block-post-title a { text-decoration: none; color: inherit; }

/* Filter buttons on the Projects page */
.bear-filters a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--wp--preset--color--line-strong);
	color: var(--wp--preset--color--text-soft);
	text-decoration: none;
	font-weight: 500;
}
.bear-filters a:hover { border-color: var(--wp--preset--color--text); color: var(--wp--preset--color--text); }

/* Build log timeline */
.bear-log-entry {
	border-left: 2px solid var(--wp--preset--color--line-strong);
	padding-left: 28px !important;
}

/* Header */
.wp-block-site-title a { text-decoration: none; }

/* Header logo sizing */
.bear-logo img { width: 84px; height: 56px; object-fit: cover; object-position: 50% 25%; }

/* Form fields from form plugins pick up the dark look */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
	background: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--line-strong);
	color: var(--wp--preset--color--text);
	padding: 12px 14px;
	font: inherit;
}

/* WPForms on the dark background */
.wpforms-container .wpforms-field-label { color: var(--wp--preset--color--text-soft) !important; font-weight: 500 !important; }
.wpforms-container input, .wpforms-container select, .wpforms-container textarea {
	background: var(--wp--preset--color--surface-2) !important;
	border: 1px solid var(--wp--preset--color--line-strong) !important;
	color: var(--wp--preset--color--text) !important;
	border-radius: 0 !important;
	max-width: 100% !important;
}
.wpforms-container button[type="submit"] {
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 14px 32px !important;
	height: auto !important;
	font-weight: 600 !important;
}
.wpforms-confirmation-container-full { background: var(--wp--preset--color--surface) !important; color: var(--wp--preset--color--text) !important; border-color: var(--wp--preset--color--line-strong) !important; }
