/*
Theme Name: Ross Heating & Cooling
Theme URI: https://boiseheatingair.com
Author: The Dealio
Description: Block theme for Ross' Heating & Cooling (Boise, ID). Recreates the original boiseheatingair.com design with core blocks.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
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: rossheating
*/

/* ── Page background (light graph-paper grid, like the original) ───────── */
body {
	background: #f0f0f0 url(assets/img/grid.png) center top / 2400px auto repeat;
}
/* sections butt up against each other like the original */
.wp-site-blocks > * + *,
.wp-block-post-content > * + *,
main > .wp-block-post-content {
	margin-block-start: 0;
}
.wp-site-blocks {
	background: transparent;
}
.rhc-white {
	background: #fff;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.rhc-header {
	background: rgba(255, 255, 255, 0.55);
}
.rhc-header .wp-block-site-logo img {
	width: 130px;
	height: auto;
}
.rhc-header .wp-block-navigation {
	color: var(--wp--preset--color--red);
}
.rhc-header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--red);
	padding: 0.25rem 0.5rem;
	border-bottom: 2px solid transparent;
}
.rhc-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	border-bottom-color: var(--wp--preset--color--red);
	text-decoration: none;
}
.rhc-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--red);
	color: #fff;
	border-radius: 3px;
}
.rhc-header .wp-block-navigation__submenu-container {
	border: 1px solid rgba(255, 32, 23, 0.5) !important;
	min-width: 230px !important;
}
.rhc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.6rem 0.9rem;
}
.rhc-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--red) !important;
	color: #fff !important;
}
.rhc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
}
.rhc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #fff;
	font-size: 1.25rem;
}

/* ── Hero (cover) with the downward notch ────────────────────────────── */
.wp-block-cover.rhc-hero {
	overflow: visible;
	margin-bottom: 0;
}
.wp-block-cover.rhc-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -22px;
	transform: translateX(-50%);
	border-left: 22px solid transparent;
	border-right: 22px solid transparent;
	border-top: 22px solid #4a4434;
	z-index: 2;
}
.rhc-hero h1,
.rhc-hero h2,
.rhc-hero p {
	color: #eee;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}
.rhc-hero--page {
	min-height: 80px !important;
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
}
.rhc-hero--page::after {
	border-top-color: #3c3c38 !important;
}
.rhc-hero--page h1 {
	font-size: 1.5rem;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

/* ── Section bands ───────────────────────────────────────────────────── */
.rhc-band {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
.rhc-band + .rhc-band {
	margin-top: 0;
}
/* light grid band with inset "page fold" shadows top and bottom */
.rhc-band--grid {
	background: rgba(255, 255, 255, 0.35);
	box-shadow:
		inset 0 14px 10px -12px rgba(0, 0, 0, 0.55),
		inset 0 -14px 10px -12px rgba(0, 0, 0, 0.55);
}
/* dark carbon texture band (contact form) */
.rhc-band--texture h2,
.rhc-band--texture p {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* eyebrow line above section headings, e.g. "AFFORDABLE" */
.rhc-eyebrow {
	color: var(--wp--preset--color--red-text);
	text-transform: uppercase;
	font-size: 1.25rem;
	line-height: 1.2;
	margin-bottom: 0 !important;
}
.rhc-eyebrow + .wp-block-heading {
	margin-top: 0.25rem !important;
}

/* round icon images with a drop shadow */
.rhc-icon img {
	border-radius: 50%;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
	background: #fff;
}

/* service teaser columns on the home page */
.rhc-services h3 {
	font-size: 1.625rem;
	text-align: center;
}
.rhc-services h3 a {
	color: var(--wp--preset--color--blue);
}
.rhc-read-more a {
	color: var(--wp--preset--color--red);
	text-transform: uppercase;
	font-size: 1.125rem;
}

/* service rows on the HVAC Services page */
.rhc-service-row h2 a {
	color: var(--wp--preset--color--blue);
}

/* bullet lists in three columns */
.rhc-list li {
	margin-bottom: 0.35rem;
}

/* reviews */
.rhc-review p {
	font-size: 1.0625rem;
}
.rhc-review cite,
.rhc-review strong {
	font-style: normal;
	font-weight: 700;
}

/* phone link emphasis */
a[href^="tel:"] {
	font-weight: 700;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.rhc-footer {
	background: rgba(69, 69, 69, 0.89);
	box-shadow: inset 0 5px 50px #454545;
	color: #fff;
	font-size: 0.8125rem;
}
.rhc-footer h2 {
	color: var(--wp--preset--color--blue-light);
	font-size: 1.25rem;
}
.rhc-footer .rhc-footer-label {
	color: var(--wp--preset--color--blue-light);
	margin-bottom: 0.25rem;
}
.rhc-footer p {
	font-weight: 700;
	line-height: 1.4;
}
.rhc-footer a {
	color: #fff;
}
.rhc-footer iframe {
	display: block;
	width: 100%;
	height: 200px;
	border: 0;
}
.rhc-footer .rhc-photos {
	gap: 12px;
	justify-content: center;
}
.rhc-footer .rhc-photos figure {
	margin: 0;
}
.rhc-footer .rhc-photos img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--blue-light);
}
.rhc-footer hr {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 1rem 0;
}
.rhc-footer .rhc-keywords {
	color: var(--wp--preset--color--blue-light);
	font-weight: 400;
	font-size: 0.6875rem;
	text-align: justify;
}
.rhc-footer .rhc-copyright {
	text-align: center;
	font-size: 0.6875rem;
}
.rhc-bottom-bar {
	background: var(--wp--preset--color--red);
	color: #fff;
}
.rhc-bottom-bar a {
	color: #fff;
}

/* ── Ninja Forms (contact form on the dark band) ─────────────────────── */
.rhc-band--texture .nf-form-cont {
	max-width: 830px;
	margin: 0 auto;
}
.rhc-band--texture .nf-form-fields-required,
.rhc-band--texture .nf-field-label {
	display: none;
}
.rhc-band--texture .nf-form-content input:not([type=submit]),
.rhc-band--texture .nf-form-content textarea {
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 2px;
	color: #333 !important;
	font-family: inherit;
	font-size: 0.9375rem;
	padding: 0.75rem;
	height: auto;
}
.rhc-band--texture .nf-form-content textarea {
	height: 110px;
}
.rhc-band--texture .nf-form-content .submit-container {
	text-align: center;
}
.rhc-band--texture .nf-form-content input[type=submit] {
	background: var(--wp--preset--color--red) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 12px;
	box-shadow: 0 4px 12px 1.28px rgba(0, 0, 0, 0.3);
	font-size: 1.125rem;
	padding: 1.1rem 3rem;
	height: auto;
	cursor: pointer;
}
.rhc-band--texture .nf-form-content input[type=submit]:hover {
	background: #d90000 !important;
}
.rhc-band--texture .nf-response-msg,
.rhc-band--texture .nf-error-msg {
	color: #fff;
	font-size: 1.125rem;
	text-align: center;
}
.rhc-band--texture .nf-error-msg {
	color: #ffb3b0;
}

/* ── Small screens ───────────────────────────────────────────────────── */
@media (max-width: 781px) {
	.rhc-header .wp-block-site-logo img {
		width: 96px;
	}
	.rhc-band {
		text-align: center;
	}
	.rhc-band .rhc-list {
		text-align: left;
		display: inline-block;
	}
	.rhc-band .wp-block-buttons {
		justify-content: center;
	}
}

/* bottom red bar links */
.rhc-bottom-bar p a {
	display: inline-block;
	margin: 0.25rem 1.25rem 0.25rem 0;
	font-size: 1rem;
}
.rhc-stars {
	color: var(--wp--preset--color--blue-light);
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	margin-top: 0 !important;
}
