/* Contact form - dark theme styling */
.sf-contact-form .grunion-field-label,
.sf-contact-for

/* Featured image  responsive mobile fix */
/* Override hardcoded inline height:400px on .wp-post-image */
@media (max-width: 768px) {
	  img.wp-post-image,
	  .attachment-sf-hero {
			    height: auto !important;
			    max-height: none !important;
			    width: 100% !important;
			    object-fit: contain !important;
			    object-position: center center !important;
			    margin-top: 0 !important;
			    border-radius: 4px !important;
	}
}

@media (max-width: 480px) {
	  img.wp-post-image,
	  .attachment-sf-hero {
			    height: auto !important;
			    object-fit: contain !important;
	}
}m label {
	  color: rgba(255,255,255,0.85) !important;
	  font-size: 12px !important;
	  font-weight: 600 !important;
	  letter-spacing: 0.15em !important;
	  text-transform: uppercase !important;
	  display: block !important;
	  margin-bottom: 8px !important;
}

.sf-contact-form input[type="text"],
.sf-contact-form input[type="email"],
.sf-contact-form input[type="tel"],
.sf-contact-form input[type="url"],
.sf-contact-form select,
.sf-contact-form textarea {
	  background-color: rgba(255,255,255,0.06) !important;
	  border: 1px solid rgba(201,168,76,0.35) !important;
	  border-radius: 0 !important;
	  color: #ffffff !important;
	  font-size: 15px !important;
	  padding: 14px 16px !important;
	  width: 100% !important;
	  box-sizing: border-box !important;
	  transition: border-color 0.2s ease !important;
}

.sf-contact-form input[type="text"]:focus,
.sf-contact-form input[type="email"]:focus,
.sf-contact-form input[type="tel"]:focus,
.sf-contact-form select:focus,
.sf-contact-form textarea:focus {
	  border-color: #c9a84c !important;
	  outline: none !important;
	  background-color: rgba(255,255,255,0.09) !important;
}

.sf-contact-form input::placeholder,
.sf-contact-form textarea::placeholder {
	  color: rgba(255,255,255,0.3) !important;
}

.sf-contact-form select option {
	  background-color: #0f1a30;
	  color: #ffffff;
}

.sf-contact-form textarea {
	  min-height: 130px !important;
	  resize: vertical !important;
}

.sf-contact-form .wp-block-jetpack-contact-form > div {
	  margin-bottom: 20px !important;
}

.sf-contact-form .wp-block-jetpack-button .wp-block-button__link,
.sf-contact-form input[type="submit"] {
	  background-color: #c9a84c !important;
	  color: #0f1a30 !important;
	  border: none !important;
	  border-radius: 0 !important;
	  font-size: 13px !important;
	  font-weight: 700 !important;
	  letter-spacing: 0.15em !important;
	  text-transform: uppercase !important;
	  padding: 16px 32px !important;
	  cursor: pointer !important;
	  margin-top: 8px !important;
	  transition: background-color 0.2s ease !important;
}

.sf-contact-form .wp-block-jetpack-button .wp-block-button__link:hover,
.sf-contact-form input[type="submit"]:hover {
	  background-color: #b8943d !important;
}

.contact-form-submission .contact-form-field {
	  margin-bottom: 20px;
}
}
}
}
}
}
}
}
}
}
}

/* Logo replacement - new Shield Finance lion logo */
.sf-nav__shield { background-image: url(https://theshieldfinance.com/wp-content/uploads/2026/03/shield-finance-logo.webp) !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; background-color: transparent !important; width: 60px !important; height: 60px !important; border-radius: 0 !important; box-shadow: none !important; }
.sf-nav__shield-letter { display: none !important; }
.sf-nav__wordmark { display: none !important; }
.sf-nav__logo { gap: 0 !important; }

/* ============================================
   FSE NAV LINK CONSISTENCY FIX
   ============================================ */

/* FSE nav links have inline styles: font-weight:600, color:rgba(255,255,255,0.75)
   PHP nav uses font-weight:500 and brighter white — normalize them here */
/* FSE nav ul has no .sf-nav__links class — target ul a directly, exclude CTA button */
.wp-block-template-part #sf-nav ul a:not([style*="background-color"]) {
  font-family: "DM Sans", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.84px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Active nav link gold color — FSE nav has no active class,
   so use body class + href attribute selectors */
.sf-page-about .wp-block-template-part #sf-nav a[href$="/about/"],
.sf-page-services .wp-block-template-part #sf-nav a[href$="/services/"],
.sf-page-contact .wp-block-template-part #sf-nav a[href$="/contact/"],
.blog .wp-block-template-part #sf-nav a[href$="/blog/"],
.single .wp-block-template-part #sf-nav a[href$="/blog/"] {
  color: rgb(201, 168, 76) !important;
}

/* ============================================
   BLOG ARCHIVE - DARK THEME FIX
   ============================================ */

/* Outer blog content wrapper - remove white bg */
.blog .wp-block-group.alignfull.has-background,
.archive .wp-block-group.alignfull.has-background {
  background-color: #0D1B3E !important;
}

/* Individual post cards - dark card style */
.blog .wp-block-group.has-border-color.has-background,
.archive .wp-block-group.has-border-color.has-background {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(201, 168, 76, 0.2) !important;
}

/* Post title - white on dark card */
.blog .wp-block-group.has-border-color h2,
.blog .wp-block-group.has-border-color h2 a,
.archive .wp-block-group.has-border-color h2,
.archive .wp-block-group.has-border-color h2 a {
  color: #ffffff !important;
}

/* Post excerpt - soft white */
.blog .wp-block-post-excerpt__excerpt,
.archive .wp-block-post-excerpt__excerpt {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Post date - muted white */
.blog .wp-block-post-date,
.archive .wp-block-post-date {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Pagination links */
.blog .wp-block-query-pagination a,
.blog .wp-block-query-pagination-numbers a,
.archive .wp-block-query-pagination a {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Blog post perspective cards - fix white text on light card backgrounds */
.single .his p,
.single .hers p,
.single .perspectives p {
  color: #1c1c1c !important;
}

/* Fix single blog post body bg - embedded HTML doc overrides theme dark bg */
body.single {
  background-color: #0D1B3E !important;
}
.single .wp-site-blocks,
.single .wp-block-post-content {
  background-color: #0D1B3E !important;
}

/* Single post - fix dark-on-dark text from embedded HTML doc */
.single .section-label {
  color: rgba(201, 168, 76, 0.8) !important;
}
.single .tip-content strong,
.single .coach-tips li strong {
  color: #ffffff !important;
}
.single .wp-block-group.has-border-color h2 {
  color: #ffffff !important;
}