/* Sourcetec 2026: editorial tech/advisory layout (distinct from mortgage sibling themes). */

html { scroll-behavior: smooth; }

/* Quiet top bar: not sticky, thin rule, no broker CTA cluster */
.st-header {
  border-bottom: 1px solid var(--wp--preset--color--line, #d5dde8);
  background: #fff;
}
.st-header .wp-block-navigation {
  font-size: 0.92rem !important;
  gap: 1.5rem !important;
}
.st-header .wp-block-navigation .wp-block-navigation__container {
  gap: 1.5rem !important;
}
.st-header .wp-block-navigation a {
  font-weight: 500;
  text-decoration: none;
  color: #1a2332;
  letter-spacing: 0.01em;
}
.st-header .wp-block-navigation a:hover {
  color: #005098;
  text-decoration: none;
}
.st-header .wp-block-button__link {
  font-size: 0.88rem !important;
  padding: 0.55em 1.15em !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}
.st-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a2332;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.st-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: block;
}
.st-logo:hover { color: #005098; }
@media (max-width: 600px) {
  .st-logo span { display: none; }
  .st-logo img { height: 36px; width: 36px; }
}

/* Single-column editorial hero */
.st-hero {
  background: #fff;
  border-bottom: 1px solid #d5dde8;
}
.st-hero .st-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d8a8a;
  margin: 0 0 1.25rem;
}
.st-hero h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-weight: 650;
}
.st-hero .st-lede {
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #4a5568;
  margin-bottom: 2rem;
}
.st-hero .wp-block-buttons { gap: 12px !important; }
.st-hero .is-style-outline .wp-block-button__link {
  border-color: #005098 !important;
  color: #005098 !important;
}
.st-hero .is-style-outline .wp-block-button__link:hover {
  background: #f3f6fa !important;
}

/* Feature rows: horizontal rules + label, not floating cards */
.st-features {
  background: #f3f6fa;
}
.st-feature-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid #d5dde8;
}
.st-feature-row:last-child { border-bottom: 0; }
.st-feature-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #005098;
  margin: 0;
  padding-top: 0.2rem;
}
.st-feature-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.st-feature-body p {
  margin: 0;
  color: #4a5568;
  font-size: 1rem;
  max-width: 36rem;
}
.st-feature-link a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: #005098;
  white-space:nowrap;
}
.st-feature-link a:hover { color: #003d75; text-decoration: underline; }
@media (max-width: 781px) {
  .st-feature-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .st-feature-link { margin-top: 0.35rem; }
}

/* Soft about band: centered narrow measure */
.st-about {
  background: #fff;
}
.st-about .st-measure {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.st-about .st-measure p {
  color: #4a5568;
  font-size: 1.1rem;
}

/* Quiet CTA: light surface, ink text, primary button (not gradient navy band) */
.st-cta {
  background: #f3f6fa;
  border-top: 1px solid #d5dde8;
  border-bottom: 1px solid #d5dde8;
}
.st-cta h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.st-cta p { max-width: 36rem; margin-left: auto; margin-right: auto; color: #4a5568; }

/* Interior pages */
.st-page .wp-block-post-content { font-size: 1.05rem; max-width: 720px; }
.st-page .wp-block-post-content img { border-radius: 4px; height: auto; }
.st-page-title {
  background: #fff;
  border-bottom: 1px solid #d5dde8;
  padding-top: clamp(40px, 6vw, 72px) !important;
  padding-bottom: clamp(28px, 4vw, 40px) !important;
}
.st-page-title .wp-block-post-title {
  max-width: 28ch;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* Simple company footer */
.st-footer a { color: #fff; text-decoration: none; }
.st-footer a:hover { text-decoration: underline; color: #fff; }
.st-footer .st-flogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.st-footer .st-flogo img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #fff;
}
.st-footer .st-meta {
  opacity: 0.85;
  font-size: 0.85rem;
  line-height: 1.6;
}

.wp-block-button__link { transition: background 0.15s, border-color 0.15s, color 0.15s; }
.is-style-outline .wp-block-button__link { border-width: 1px; }

/* Collapse default section gaps */
.wp-site-blocks > * + *,
main.wp-block-group > * + * { margin-block-start: 0; }

/* Mobile nav overlay */
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start !important;
  padding-top: 40px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: flex-start !important;
  gap: 0 !important;
  width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  border-bottom: 1px solid #d5dde8;
  justify-content: flex-start !important;
  text-align: left;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
  display: block;
  padding: 14px 4px !important;
  font-size: 1.15rem;
  color: #1a2332;
  width: 100%;
}
