/* ==========================================================================
   Hernando Restoration — minimal theme tweaks
   This site is built with native WordPress/Gutenberg blocks on top of the
   stock Astra theme (Cover, Columns, Heading, Paragraph, Buttons, Table,
   Separator, Spacer) — the same approach as the reference site. This file
   only sets brand colors and a few small refinements; it does not replace
   Astra's layout.
   ========================================================================== */

/* The reference site's H1 lives inside the page content itself (right
   below the hero), so Astra's automatic page-title area is hidden on
   pages this plugin manages to avoid a duplicate heading. */
body.hr-site .entry-header,
body.hr-site .page-header,
body.hr-site h1.entry-title,
body.hr-site .entry-title{ display:none !important; }

:root{
	/* Astra global color slots referenced by the generated block content
	   (has-ast-global-color-2-background-color / has-ast-global-color-5-color).
	   Setting these here recolors every hero section site-wide without
	   touching Astra's Customizer state. */
	--ast-global-color-2: #0b2a4a; /* hero overlay (navy) */
	--ast-global-color-5: #ffffff; /* hero heading text (white) */

	--hr-navy: #0b2a4a;
	--hr-teal: #1c7a8c;
	--hr-teal-dark: #145c6b;
	--hr-teal-light: #46bec8;
	--hr-ice: #eef7f8;
}

/* Brand every "Call Now" button, whether it's the hero pill style or a
   plain in-content button, without needing Astra's global button color. */
.wp-block-button__link{
	background-color: var(--hr-teal) !important;
	color: #fff !important;
}
.wp-block-button.is-style-fill .wp-block-button__link{
	background-color: var(--hr-teal-light) !important;
	color: var(--hr-navy) !important;
}
.wp-block-button__link:hover{ filter: brightness(1.08); }

/* Cover blocks used as section heroes: a guaranteed background even
   before a real photo is added via the block's own image picker. */
.wp-block-cover{
	background: linear-gradient(120deg, var(--hr-navy) 0%, #06162a 100%);
}
.wp-block-cover .wp-block-cover__inner-container{
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/* FAQ anchor heading, matching the reference site's plain heading+paragraph
   FAQ pattern (no accordion, fully indexable, fully editable). */
h4#faqs, h2#faqs{ letter-spacing: .04em; }

/* Footer copyright bar (see astra_footer_copyright filter in the main
   plugin file) */
.hr-footer-credit{ text-align: center; padding: 1rem 0; }
.hr-footer-credit a{ font-weight: 600; }
