refactor(styles): move component-specific CSS into Astro component style blocks

Relocates HomeHero, HomeServicesIntro, HomeBenefits, HomeSkills,
HomeInsurance, HomeEsa, and HomeDirector styles from the global
components.css into each component's own <style> block. Removes the
now-empty 480px media query and trims the 760px media query to only
global rules. Build verified at 97 pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-09 16:56:41 -07:00
co-authored by Claude Sonnet 4.6
parent 1eeb5a6820
commit 626f1b7f37
8 changed files with 72 additions and 39 deletions
@@ -3,6 +3,21 @@ import type { ServicesIntroSection } from '../../types/home-sections';
interface Props { section: ServicesIntroSection }
const { section } = Astro.props;
---
<style>
.services-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.feature-grid--intro { grid-template-columns: .75fr 1.25fr; }
.feature-grid--reverse { grid-template-columns: 1.25fr .75fr; }
.gear-photo { justify-self: center; max-width: 270px; }
.gear-photo-right { outline-color: #dce0e5; }
.two-column-list { columns: 2; }
@media (max-width: 760px) {
.services-grid { gap: 2rem; }
.services-grid .feature-grid { grid-template-columns: 1fr; }
.feature-grid > .gear-photo-right { grid-row: 3; }
.two-column-list { columns: 1; }
}
</style>
<section class="section services-intro">
<div class="container services-grid">
<div class="feature-grid feature-grid--intro">