/* ============================================
/* ============================================
 *    EDGE HOME FINANCE - NAVY BLUE + RESPONSIVE
 *    #0A1F44 navy | #C9A84C gold | #EEF2F8 light
 *    ============================================ */

/* === NAV BACKGROUND === */
.wp-block-navigation {
	  background-color: #0A1F44 !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
	  background-color: #0A1F44 !important;
}
.wp-block-navigation a,
.wp-block-navigation-item__content {
	  color: #ffffff !important;
}
.wp-block-navigation a:hover {
	  color: #C9A84C !important;
}

/* === NAV ITEMS - prevent wrapping === */
.wp-block-navigation-item__content {
	  white-space: nowrap !important;
	  font-size: clamp(9px, 1.1vw, 14px) !important;
	  padding: 4px 6px !important;
}
.wp-block-navigation .wp-block-navigation-item {
	  white-space: nowrap !important;
}

/* === HERO WHITE BOX FIX === */
.wp-block-cover .wp-block-group,
.wp-block-cover__inner-container .wp-block-group {
	  background-color: transparent !important;
	  box-shadow: none !important;
	  border-radius: 0 !important;
	  padding: 20px !important;
}

/* === HERO TITLE NAVY BLUE === */
.wp-block-site-title,
.wp-block-site-title a,
.wp-block-site-title a:visited {
	  color: #0A1F44 !important;
	  font-size: clamp(20px, 4vw, 48px) !important;
	  white-space: nowrap !important;
}
.wp-block-site-tagline {
	  color: #0A1F44 !important;
	  font-size: clamp(12px, 2vw, 18px) !important;
}

/* === ALL HEADINGS - responsive sizes === */
h1 {
	  color: #0A1F44 !important;
	  font-size: clamp(22px, 4vw, 56px) !important;
	  line-height: 1.15 !important;
}
h2 {
	  color: #0A1F44 !important;
	  font-size: clamp(18px, 3vw, 42px) !important;
	  line-height: 1.2 !important;
}
h3 {
	  color: #0A1F44 !important;
	  font-size: clamp(15px, 2.5vw, 28px) !important;
}
h4 {
	  color: #0A1F44 !important;
	  font-size: clamp(13px, 2vw, 22px) !important;
}

/* === BUTTONS - fix vertical text + navy color === */
.wp-block-button,
.wp-block-button * {
	  writing-mode: horizontal-tb !important;
	  text-orientation: mixed !important;
}
.wp-block-button__link,
a.wp-block-button__link {
	  background-color: #0A1F44 !important;
	  color: #ffffff !important;
	  writing-mode: horizontal-tb !important;
	  text-orientation: mixed !important;
	  display: inline-flex !important;
	  align-items: center !important;
	  justify-content: center !important;
	  white-space: nowrap !important;
	  padding: 12px 20px !important;
	  font-size: clamp(11px, 1.5vw, 15px) !important;
	  font-weight: 600 !important;
	  border-radius: 6px !important;
	  border: none !important;
	  height: auto !important;
	  min-height: unset !important;
	  width: auto !important;
	  min-width: unset !important;
	  letter-spacing: 0.3px !important;
}
.wp-block-button__link:hover,
a.wp-block-button__link:hover {
	  background-color: #C9A84C !important;
	  color: #0A1F44 !important;
}

/* === BODY TEXT responsive === */
p, li, td {
	  font-size: clamp(13px, 1.5vw, 17px) !important;
	  line-height: 1.65 !important;
}

/* === GREEN -> NAVY === */
[style*="background-color:#2d6a4f"],
[style*="background-color: #2d6a4f"],
[style*="background-color:rgb(45, 106, 79)"],
[style*="background-color: rgb(45, 106, 79)"] {
	  background-color: #0A1F44 !important;
}

/* === PHONE GOLD === */
a[href^="tel"] {
	  color: #C9A84C !important;
	  font-weight: 700 !important;
}

/* === FOOTER === */
footer, .site-footer {
	  background-color: #0A1F44 !important;
	  color: #ffffff !important;
}
footer a, .site-footer a { color: #C9A84C !important; }
footer p, .site-footer p { color: #d0dde8 !important; }

/* === FORM INPUTS === */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select, textarea {
	  border: 2px solid #1B3A6B !important;
	  border-radius: 6px !important;
}
input:focus, select:focus, textarea:focus {
	  outline: 2px solid #C9A84C !important;
}

/* === SEPARATORS === */
hr, .wp-block-separator {
	  border-color: #0A1F44 !important;
	  opacity: 0.12 !important;
}

/* === MOBILE - max 480px === */
@media (max-width: 480px) {
	h1 { font-size: clamp(20px, 7vw, 32px) !important; }
	h2 { font-size: clamp(17px, 6vw, 26px) !important; }
	h3 { font-size: clamp(14px, 5vw, 20px) !important; }
	
	  .wp-block-button__link,
	  a.wp-block-button__link {
			    font-size: 13px !important;
			    padding: 11px 16px !important;
			    width: 100% !important;
			    text-align: center !important;
	}
	
	  .wp-block-columns {
			    flex-direction: column !important;
	}
	  .wp-block-column {
			    width: 100%*    EDGE HOME FINANCE - NAVY BLUE COLOR SCHEME
 *    Primary: #0A1F44 (dark navy)
 *    Secondary: #1B3A6B (medium navy)
/* ============================================
 *    EDGE HOME FINANCE - NAVY BLUE THEME
 *    #0A1F44 navy | #C9A84C gold | #EEF2F8 light
 *    ============================================ */

/* === NAV - desktop & mobile === */
.wp-block-navigation,
.wp-block-navigation__responsive-container.is-menu-open {
	  background-color: #0A1F44 !important;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	  color: #ffffff !important;
}
.wp-block-navigation a {
	  color: #ffffff !important;
}
.wp-block-navigation a:hover {
	  color: #C9A84C !important;
}

/* === BUTTONS - fix vertical text + color === */
.wp-block-button__link,
a.wp-block-button__link {
	  background-color: #0A1F44 !important;
	  color: #ffffff !important;
	  writing-mode: horizontal-tb !important;
	  text-orientation: mixed !important;
	  display: inline-flex !important;
	  align-items: center !important;
	  justify-content: center !important;
	  white-space: nowrap !important;
	  padding: 12px 24px !important;
	  font-size: 14px !important;
	  font-weight: 600 !important;
	  border-radius: 6px !important;
	  border: none !important;
	  height: auto !important;
	  min-height: unset !important;
	  width: auto !important;
}
.wp-block-button__link:hover,
a.wp-block-button__link:hover {
	  background-color: #C9A84C !important;
	  color: #0A1F44 !important;
}
.wp-block-button {
	  writing-mode: horizontal-tb !important;
}

/* === REPLACE GREEN BACKGROUNDS WITH NAVY === */
[class*="has-"][class*="green"][class*="background"],
[style*="background-color:#2d6a4f"],
[style*="background-color: #2d6a4f"],
[style*="background-color:#2d5fa0"],
[style*="background-color: #2d5fa0"],
[style*="background-color:rgb(45,106,79)"],
[style*="background-color: rgb(45, 106, 79)"] {
	  background-color: #0A1F44 !important;
}

/* === HEADINGS === */
h1, h2, h3, h4 {
	  color: #0A1F44;
}

/* === PHONE NUMBER GOLD === */
a[href^="tel"] {
	  color: #C9A84C !important;
	  font-weight: 700 !important;
}

/* === FOOTER === */
.wp-block-template-part footer,
footer.wp-block-template-part,
[data-type="core/template-part"] footer {
	  background-color: #0A1F44 !important;
}
footer a { color: #C9A84C !important; }
footer p, footer li { color: #d0dde8 !important; }

/* === SUBTLE SECTION ACCENTS === */
.wp-block-separator {
	  border-color: #0A1F44 !important;
	  opacity: 0.12 !important;
}
.wp-block-quote {
	  border-left: 4px solid #0A1F44 !important;
	  background: #EEF2F8 !important;
	  padding: 20px 24px !important;
	  border-radius: 0 8px 8px 0 !important;
}

/* === FORM INPUTS === */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select, textarea {
	  border: 2px solid #1B3A6B !important;
	  border-radius: 6px !important;
}
input:focus, select:focus, textarea:focus {
	  outline: 2px solid #C9A84C !important;
	  border-color: #0A1F44 !important;
}

/* === MOBILE RESPONSIVE FIXES === */
@media (max-width: 768px) {
	  /* Ensure all blocks stack properly */
	  .wp-block-columns {
			    flex-direction: column !important;
	}
	  .wp-block-column {
			    width: 100% !important;
			    flex-basis: 100% !important;
			    margin-left: 0 !important;
			    margin-right: 0 !important;
	}
	
	  /* Fix button sizing on mobile */
	  .wp-block-button__link,
	  a.wp-block-button__link {
			    width: 100% !important;
			    text-align: center !important;
			    padding: 14px 20px !important;
			    font-size: 15px !important;
	}
	
	  /* Mobile nav hamburger color */
	  .wp-block-navigation__responsive-container-open svg,
	  .wp-block-navigation__responsive-container-open {
			    color: #ffffff !important;
			    fill: #ffffff !important;
	}
	
	  /* Fix any horizontal overflow */
	  .wp-block-group.alignfull,
	  .wp-block-cover {
			    overflow: hidden !important;
	}
	
	  /* Ensure headings don't overflow */
	  h1, h2, h3 {
			    word-break: break-word !important;
			    overflow-wrap: break-word !important;
	}
	
	  /* Section padding on mobile */
	  .wp-block-group {
			    padding-left: 16px !important;
			    padding-right: 16px !important;
			    box-sizing: border-box !important;
	}
}

/* === TABLET FIXES === */
@media (min-width: 769px) and (max-width: 1024px) {
	  .wp-block-columns {
			    flex-wrap: wrap !important;
	}
	  .wp-block-column {
			    flex-basis: 48% !important;
			    min-width: 48% !important;
			    margin-bottom: 20px !important;
	}
	  .wp-block-button__link,
	  a.wp-block-button__link {
			    padding: 12px 20px !important;
			    font-size: 14px !important;
	}
}*    Accent: #C9A84C (gold)
 *    Light blue: #EEF2F8 (subtle bg tint)
 *    ============================================ */

/* --- HEADER / NAV --- */
header, .wp-block-template-part[data-slug="header"],
.site-header, nav.wp-block-navigation {
	  background-color: #0A1F44 !important;
}

.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__content {
	  color: #ffffff !important;
}

.wp-block-navigation a:hover {
	  color: #C9A84C !important;
}

/* --- BUTTONS: replace green with navy/gold --- */
.wp-block-button__link,
.wp-element-button,
a.wp-block-button__link {
	  background-color: #0A1F44 !important;
	  color: #ffffff !important;
	  border-radius: 6px !important;
	  border: none !important;
	  writing-mode: horizontal-tb !important;
	  text-orientation: mixed !important;
}

.wp-block-button__link:hover,
a.wp-block-button__link:hover {
	  background-color: #C9A84C !important;
	  color: #0A1F44 !important;
}

/* --- FIX VERTICAL TEXT ON BUTTONS --- */
.wp-block-button .wp-block-button__link {
	  writing-mode: horizontal-tb !important;
	  text-orientation: mixed !important;
	  display: inline-block !important;
	  white-space: nowrap !important;
	  padding: 14px 28px !important;
	  font-size: 15px !important;
	  font-weight: 600 !important;
	  letter-spacing: 0.5px !important;
}

/* --- HERO SECTION --- */
.wp-block-cover, .wp-block-cover__background {
	  /* keep existing hero image, just ensure overlay is navy tinted */
}

/* Hero card / content box */
.wp-block-cover .wp-block-group,
.wp-block-cover__inner-container .wp-block-group {
	  background-color: rgba(255,255,255,0.95) !important;
	  border-radius: 12px !important;
	  padding: 40px !important;
	  box-shadow: 0 4px 24px rgba(10,31,68,0.15) !important;
}

/* --- GREEN SECTION BACKGROUNDS -> NAVY --- */
.wp-block-group[style*="background-color:#2d6a4f"],
.wp-block-group[style*="background-color: #2d6a4f"],
.wp-block-group[style*="background-color:#2d5fa0"],
.wp-block-group[style*="background-color: #2d5fa0"],
.wp-block-group[style*="background-color:green"],
.wp-block-group[style*="background:#2d6a4f"] {
	  background-color: #0A1F44 !important;
}

/* Target the green CTA banner specifically */
.wp-block-group.has-background:not(.wp-block-cover) {
	  /* Subtle light navy for section backgrounds */
}

/* --- SECTION ALTERNATING BACKGROUNDS --- */
/* Light navy tint for alternating sections */
.wp-block-group.alignfull:nth-of-type(even) {
	  background-color: #EEF2F8 !important;
}

/* --- CARDS --- */
.wp-block-column .wp-block-group,
.wp-block-columns .wp-block-group {
	  border-top: 3px solid #0A1F44 !important;
	  border-radius: 8px !important;
	  overflow: hidden !important;
}

/* --- HEADINGS --- */
h1, h2, h3 {
	  color: #0A1F44 !important;
}

/* White text on dark sections */
.has-background h1,
.has-background h2,
.has-background h3,
.has-background p {
	  color: #ffffff !important;
}

/* --- CALL FOR ESTIMATE BAR --- */
.wp-block-group.has-navy-background-color,
[style*="background-color:#0a1f44"],
[style*="background-color: #0a1f44"] {
	  background-color: #0A1F44 !important;
	  color: #C9A84C !important;
}

/* --- PHONE NUMBER ACCENT --- */
a[href^="tel"] {
	  color: #C9A84C !important;
	  font-weight: 700 !important;
}

/* --- FOOTER --- */
footer, .site-footer,
.wp-block-template-part[data-slug="footer"] {
	  background-color: #0A1F44 !important;
	  color: #ffffff !important;
}

footer a, .site-footer a {
	  color: #C9A84C !important;
}

/* --- LOAN OPTION CARDS --- */
.wp-block-column {
	  border-radius: 8px !important;
	  overflow: hidden !important;
}

/* --- SUBTLE BLUE DIVIDER ACCENTS --- */
.wp-block-separator {
	  border-color: #0A1F44 !important;
	  opacity: 0.2 !important;
}

/* --- FORM INPUTS --- */
input[type="text"],
input[type="email"],
input[type="tel"],
select, textarea {
	  border: 2px solid #1B3A6B !important;
	  border-radius: 6px !important;
	  padding: 10px 14px !important;
}

input:focus, select:focus, textarea:focus {
	  outline: 2px solid #C9A84C !important;
	  border-color: #0A1F44 !important;
}

/* --- LIGHT BLUE HIGHLIGHT SECTIONS --- */
.wp-block-group.alignfull {
	  /* Already handled per-section above */
}

/* Subtle navy left border on important blocks */
.wp-block-quote {
/* ============================================
 *    EDGE HOME FINANCE - NAVY BLUE COLOR SCHEME
 *    Primary: #0A1F44 (dark navy)
 *    Accent: #C9A84C (gold)
 *    Light: #EEF2F8 (subtle blue tint)
 *    ============================================ */
	
	/* --- NAV HEADER --- */
	header, .site-header,
	.wp-block-template-part,
	.wp-block-navigation,
	.wp-block-navigation .wp-block-navigation__responsive-container {
		  background-color: #0A1F44 !important;
	}
	.wp-block-navigation a,
	.wp-block-navigation-item__content {
		  color: #ffffff !important;
	}
	.wp-block-navigation a:hover {
		  color: #C9A84C !important;
	}
	
	/* --- BUTTONS: fix vertical text + navy color --- */
	.wp-block-button__link,
	a.wp-block-button__link,
	.wp-element-button {
		  background-color: #0A1F44 !important;
		  color: #ffffff !important;
		  writing-mode: horizontal-tb !important;
		  text-orientation: mixed !important;
		  display: inline-flex !important;
		  align-items: center !important;
		  justify-content: center !important;
		  white-space: nowrap !important;
		  padding: 12px 24px !important;
		  font-size: 14px !important;
		  font-weight: 600 !important;
		  border-radius: 6px !important;
		  border: none !important;
		  letter-spacing: 0.3px !important;
		  min-height: unset !important;
		  height: auto !important;
	}
	.wp-block-button__link:hover,
	a.wp-block-button__link:hover {
		  background-color: #C9A84C !important;
		  color: #0A1F44 !important;
	}
	
	/* --- FIX ANY ROTATED/VERTICAL BUTTON CONTAINERS --- */
	.wp-block-button {
		  writing-mode: horizontal-tb !important;
		  text-orientation: mixed !important;
	}
	
	/* --- GREEN SECTIONS -> NAVY --- */
	[style*="background-color:#2d6a4f"],
	[style*="background-color: #2d6a4f"],
	[style*="background-color:rgb(45, 106, 79)"],
	[style*="background-color: rgb(45, 106, 79)"],
	.has-forestgreen-background-color,
	.has-green-background-color {
		  background-color: #0A1F44 !important;
	}
	
	/* --- SECTION BACKGROUNDS: subtle navy tints --- */
	.wp-block-group.alignfull:not(.wp-block-cover) {
		  /* keep white by default */
	}
	
	/* --- HEADINGS color --- */
	h1, h2, h3, h4 {
		  color: #0A1F44 !important;
	}
	
	/* White headings when on dark background */
	[style*="background-color:#0A1F44"] h1,
	[style*="background-color:#0A1F44"] h2,
	[style*="background-color:#0A1F44"] h3,
	[style*="background-color:#0a1f44"] h1,
	[style*="background-color:#0a1f44"] h2,
	[style*="background-color:#0a1f44"] h3 {
		  color: #ffffff !important;
	}
	
	/* --- PHONE ACCENT --- */
	a[href^="tel"] {
		  color: #C9A84C !important;
		  font-weight: 700 !important;
	}
	
	/* --- CARD TOP BORDER ACCENTS --- */
	.wp-block-columns .wp-block-column > .wp-block-group {
		  border-top: 4px solid #0A1F44 !important;
		  border-radius: 0 0 8px 8px !important;
	}
	
	/* --- SUBTLE SECTION DIVIDERS --- */
	hr, .wp-block-separator {
		  border-color: #0A1F44 !important;
		  opacity: 0.15 !important;
	}
	
	/* --- FOOTER --- */
	footer, .site-footer {
		  background-color: #0A1F44 !important;
		  color: #ffffff !important;
	}
	footer a, .site-footer a {
		  color: #C9A84C !important;
	}
	footer p, .site-footer p {
		  color: #ccddee !important;
	}
	
	/* --- FORM FIELDS --- */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	select, textarea {
		  border: 2px solid #1B3A6B !important;
		  border-radius: 6px !important;
	}
	input:focus, select:focus, textarea:focus {
		  outline: 2px solid #C9A84C !important;
	}
	
	/* --- CALL FOR ESTIMATE BAR --- */
	.wp-block-group:has(> p:first-child) {
		  /* subtle treatment */
	}
	
	/* --- SUBTLE BLUE BACKGROUND ON ALT SECTIONS --- */
	.wp-block-group.has-light-blue-bg,
	.alignfull.has-pale-blue-background-color {
		  background-color: #EEF2F8 !important;
	}
	
	/* --- BLOCKQUOTES / CALLOUTS --- */
	.wp-block-quote {
		  border-left: 4px solid #0A1F44 !important;
		  background-color: #EEF2F8 !important;
		  padding: 20px 24px !important;
		  border-radius: 0 8px 8px 0 !important;
	}border-left: 4px solid #0A1F44 !important;
	  background-color: #EEF2F8 !important;
	  padding: 20px !important;
	  bord
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}

/* ========================================
 *    GREG HOME PAGE - GH STYLES
 *    ======================================== */
.gh{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#1a1a2e;margin:0;padding:0}
.gh-hero{display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:0 auto;padding:80px 40px;gap:60px}
.gh-hero-text{flex:1}
.gh-hero-text h1{font-size:3rem;font-weight:800;line-height:1.15;margin:0 0 16px;color:#0a1f44}
.gh-hero-text h1 span{color:#4a78be}
.gh-hero-text p{font-size:1.1rem;color:#444;line-height:1.7;margin:0 0 32px;max-width:480px}
.gh-btns{display:flex;gap:16px;flex-wrap:wrap}
.gh-btn{display:inline-block;padding:14px 28px;border-radius:6px;font-size:1rem;font-weight:700;text-decoration:none}
.gh-btn-primary{background:#0a1f44;color:#fff}
.gh-btn-outline{background:transparent;color:#0a1f44;border:2px solid #0a1f44}
.gh-hero-img{flex:1;max-width:520px}
.gh-hero-img img{width:100%;border-radius:12px;display:block}
.gh-about{background:#f9f9f9;padding:80px 40px}
.gh-about-inner{max-width:1100px;margin:0 auto;display:flex;gap:60px;align-items:flex-start}
.gh-about-text{flex:1}
.gh-about-text h2{font-size:2.2rem;font-weight:800;color:#0a1f44;margin:0 0 8px}
.gh-label{color:#4a78be;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;margin:0 0 24px;display:block}
.gh-about-text p{font-size:1rem;color:#444;line-height:1.8;margin:0 0 16px}
.gh-about-text h3{font-size:1.1rem;font-weight:700;color:#0a1f44;margin:24px 0 8px}
.gh-card{flex:0 0 280px;background:#0a1f44;color:#fff;border-radius:12px;padding:32px 24px}
.gh-card h3{font-size:1.3rem;font-weight:800;margin:0 0 12px;color:#fff}
.gh-card p{font-size:.9rem;line-height:1.7;margin:0 0 10px;opacity:.9;color:#fff}
.gh-tag{display:inline-block;background:#4a78be;border-radius:4px;padding:3px 10px;font-size:.75rem;font-weight:700;margin-bottom:16px;color:#fff}
.gh-loans{padding:80px 40px}
.gh-loans-inner{max-width:1100px;margin:0 auto}
.gh-loans h2{font-size:2.2rem;font-weight:800;color:#0a1f44;text-align:center;margin:0 0 10px}
.gh-lead{text-align:center;color:#666;font-size:1rem;margin:0 0 48px}
.gh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gh-lcard{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:28px 22px}
.gh-lcard h3{font-size:1.1rem;font-weight:700;color:#0a1f44;margin:0 0 10px}
.gh-lcard p{font-size:.92rem;color:#555;line-height:1.7;margin:0}
.gh-cta{background:#0a1f44;color:#fff;padding:80px 40px;text-align:center}
.gh-cta h2{font-size:2.2rem;font-weight:800;margin:0 0 14px;color:#fff}
.gh-cta p{font-size:1.05rem;opacity:.85;margin:0 0 32px;color:#fff}
.gh-cta-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.gh-cta .gh-btn-primary{background:#4a78be}
.gh-cta .gh-btn-outline{border-color:#fff;color:#fff}
@media(max-width:768px){
	.gh-hero,.gh-about-inner{flex-direction:column;padding:48px 24px}
	.gh-hero-img{max-width:100%}
	.gh-card{flex:none;width:100%;box-sizing:border-box}
	.gh-grid{grid-template-columns:1fr}
	.gh-hero-text h1{font-size:2rem}
	.gh-loans,.gh-cta{padding:48px 24px}
}
}