/*
 * FacileCheck Stage 7 — shared landing-page normalization
 * Keeps Finder and Verify visually aligned even when their modules load
 * additional styles after the theme.
 */

/* Shared header: exact same geometry and typography on every FacileCheck page. */
.fc-header,
.fc-header button,
.fc-header input,
.fc-header select,
.fc-header textarea {
  font-family: var(--fc-font) !important;
}

.fc-header {
  min-height: 79px !important;
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(223,232,242,.92) !important;
}

.fc-header .fc-container.fc-header-inner {
  width: min(1180px,calc(100% - 44px)) !important;
  min-height: 78px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

.fc-header .fc-brand {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.fc-header .fc-brand img {
  display: block !important;
  width: 230px !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
}

.fc-header .fc-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--fc-font) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  color: #40566f !important;
}

.fc-header .fc-nav > a:not(.fc-btn),
.fc-header .fc-nav-contact {
  color: #40566f !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.fc-header .fc-nav > a:not(.fc-btn):hover,
.fc-header .fc-nav-contact:hover,
.fc-header .fc-nav .fc-nav-verify {
  color: var(--fc-blue) !important;
}

/* The navigation CTA belongs to the FacileCheck blue system — never green. */
.fc-header .fc-nav .fc-btn.fc-nav-cta,
.fc-header .fc-nav a.fc-nav-cta,
.fc-header .fc-nav button.fc-nav-cta {
  min-height: 48px !important;
  padding: 13px 19px !important;
  border: 1px solid var(--fc-blue) !important;
  border-radius: 14px !important;
  background: var(--fc-blue) !important;
  background-color: var(--fc-blue) !important;
  color: #fff !important;
  font-family: var(--fc-font) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(8,118,216,.22) !important;
}

.fc-header .fc-nav .fc-btn.fc-nav-cta:hover,
.fc-header .fc-nav a.fc-nav-cta:hover,
.fc-header .fc-nav button.fc-nav-cta:hover {
  background: #066bc5 !important;
  background-color: #066bc5 !important;
  border-color: #066bc5 !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(8,118,216,.27) !important;
}

/* Finder + Verify: use one local/system font stack without external font calls. */
.fc-operational-page main,
.fc-operational-page main h1,
.fc-operational-page main h2,
.fc-operational-page main h3,
.fc-operational-page main h4,
.fc-operational-page main h5,
.fc-operational-page main h6,
.fc-operational-page main p,
.fc-operational-page main a,
.fc-operational-page main button,
.fc-operational-page main input,
.fc-operational-page main select,
.fc-operational-page main textarea,
.fc-operational-page main label,
.fc-operational-page main li,
.fc-operational-page main small,
.fc-operational-page main strong {
  font-family: var(--fc-font) !important;
}

@media (max-width:850px) {
  .fc-header { min-height: 73px !important; }
  .fc-header .fc-container.fc-header-inner {
    min-height: 72px !important;
    gap: 18px !important;
  }
  .fc-header .fc-brand img { width: 188px !important; }
  .fc-header .fc-nav > a:not(.fc-btn),
  .fc-header .fc-nav-contact { display: none !important; }
}

@media (max-width:620px) {
  .fc-header { min-height: 67px !important; }
  .fc-header .fc-container.fc-header-inner {
    width: min(100% - 28px,1180px) !important;
    min-height: 66px !important;
    gap: 12px !important;
  }
  .fc-header .fc-brand img { width: 158px !important; }
  .fc-header .fc-nav .fc-btn.fc-nav-cta,
  .fc-header .fc-nav a.fc-nav-cta,
  .fc-header .fc-nav button.fc-nav-cta {
    min-height: 42px !important;
    padding: 11px 13px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
  }
}
