@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,620;9..144,700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --fx-navy: #0b1f33;
  --fx-navy-2: #14324f;
  --fx-teal: #0f9d8e;
  --fx-teal-2: #0b7d72;
  --fx-gold: #c4a35a;
  --fx-ink: #1b2430;
  --fx-muted: #5c6b7a;
  --fx-line: #e4ebf2;
  --fx-paper: #ffffff;
  --fx-wash: #f3f6f9;
  --fx-cream: #f7f4ee;
  --fx-radius: 18px;
  --fx-shadow: 0 18px 40px rgba(11, 31, 51, 0.08);
  --global-palette1: #0f9d8e;
  --global-palette2: #0b7d72;
  --global-palette3: #0b1f33;
  --global-palette4: #1b2430;
  --global-palette8: #f3f6f9;
  --global-palette9: #ffffff;
  --global-palette-btn-bg: #0b1f33;
  --global-body-font-family: "Outfit", system-ui, sans-serif;
  --global-heading-font-family: "Fraunces", Georgia, serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--fx-wash);
  color: var(--fx-ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
h1, h2, h3, h4, .entry-title, .site-title {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
  color: var(--fx-navy);
  line-height: 1.15;
}
a { color: var(--fx-teal-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fx-navy); }

/* Header */
#masthead,
.site-header,
.site-main-header-wrap,
.site-header-row-container-inner {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
}
#masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--fx-line);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.04);
}
.site-main-header-inner-wrap { min-height: 74px; }
.custom-logo { display: none !important; }
.site-branding .site-title-wrap { display: flex !important; }
.site-title {
  display: flex !important;
  margin: 0;
  font-size: 1.35rem !important;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.site-title a {
  color: var(--fx-navy) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-title a::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--fx-teal), #5ee1d1);
  box-shadow: 0 0 0 4px rgba(15, 157, 142, 0.16);
}
.header-navigation .header-menu-container .header-menu > li > a {
  color: var(--fx-navy) !important;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 10px 14px !important;
}
.header-navigation .header-menu-container .header-menu > li > a:hover {
  color: var(--fx-teal) !important;
}

/* Homepage: break out of boxed layout */
.home .content-area { margin: 0 !important; }
.home .entry-hero,
.home .entry-header,
.home .entry-title,
.home .title-container,
.home .entry-hero-container,
.home.page .title-container { display: none !important; }
.home .entry-content-wrap { padding: 0 !important; }
.home .entry.single-entry {
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.home .content-container.site-container,
.home .content-width-normal .content-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.fx-shell { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.fx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(15, 157, 142, 0.28), transparent 55%),
    linear-gradient(120deg, #0b1f33 0%, #12344f 55%, #0b7d72 130%);
  color: #fff;
  padding: 72px 0 64px;
  margin: 0 0 8px;
}
.fx-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 420px;
  height: 420px;
  border-radius: 40px;
  background: url("https://fx4biz.com/wp-content/uploads/2026/08/fx4biz-hero.png") center/cover;
  opacity: 0.22;
  transform: rotate(8deg);
  filter: saturate(0.7);
  pointer-events: none;
}
.fx-hero .fx-shell { position: relative; z-index: 1; max-width: 760px; }
.fx-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ee7df;
  margin-bottom: 16px;
}
.fx-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 620;
  margin: 0 0 16px;
  max-width: 14ch;
}
.fx-hero p {
  color: #d7ece9;
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 38rem;
  margin: 0 0 28px;
}
.fx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff !important;
  color: var(--fx-navy) !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none !important;
}
.fx-btn:hover { transform: translateY(-1px); }
.fx-btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
}

.fx-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  padding: 22px 0 8px;
}
.fx-topics a {
  background: #fff;
  border: 1px solid var(--fx-line);
  color: var(--fx-navy);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
.fx-topics a:hover { border-color: var(--fx-teal); color: var(--fx-teal); }

.fx-section { padding: 28px 0 12px; }
.fx-section h2 {
  font-size: 1.85rem;
  margin: 8px 0 22px;
}
.fx-lede { color: var(--fx-muted); margin: -8px 0 28px; max-width: 40rem; }

.fx-featured {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  margin-bottom: 36px;
}
.fx-feature-main,
.fx-feature-side a {
  background: #fff;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.fx-feature-main { padding: 36px 34px 32px; min-height: 280px; background:
  linear-gradient(180deg, #fff 40%, #eef8f6);
}
.fx-feature-main:hover,
.fx-feature-side a:hover {
  transform: translateY(-3px);
  box-shadow: var(--fx-shadow);
}
.fx-feature-main h3 { font-size: 2rem; margin: 10px 0 12px; }
.fx-feature-main p { color: var(--fx-muted); font-size: 1.05rem; }
.fx-feature-side { display: flex; flex-direction: column; gap: 18px; }
.fx-feature-side a { padding: 22px 22px 18px; flex: 1; }
.fx-feature-side h3 { font-size: 1.2rem; margin: 8px 0 0; }

.fx-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-teal-2);
  background: rgba(15, 157, 142, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}
.fx-pill.bank { color: #215387; background: #e8f0fa; }
.fx-pill.invest { color: #8a6a1f; background: #f8efd6; }

.fx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}
.fx-card {
  background: #fff;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 24px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
.fx-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--fx-teal);
}
.fx-card.bank::before { background: #2b6cb0; }
.fx-card.invest::before { background: var(--fx-gold); }
.fx-card:hover { transform: translateY(-4px); box-shadow: var(--fx-shadow); }
.fx-card h3 { font-size: 1.22rem; margin: 12px 0 10px; }
.fx-card p { color: var(--fx-muted); margin: 0 0 16px; flex: 1; font-size: 0.98rem; }
.fx-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fx-navy);
}
.fx-card:hover .fx-more { color: var(--fx-teal); }

/* Inner pages */
.page .entry-title, .single .entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.single .entry-taxonomies, .single .posted-on { color: var(--fx-muted); }
.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content h2 { margin-top: 1.6em; }
.entry.single-entry {
  border-radius: 20px;
  box-shadow: var(--fx-shadow);
  border: 1px solid var(--fx-line);
}
.fx-note {
  background: #eef8f6;
  border-left: 4px solid var(--fx-teal);
  padding: 14px 16px;
  margin: 22px 0;
  border-radius: 0 12px 12px 0;
}
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--fx-line); padding: 10px 8px; text-align: left; }
.wp-block-button__link, .button, button[type="submit"] {
  background: var(--fx-navy) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

/* Guides archive page */
.page-id-12 .entry-content .wp-block-latest-posts { display: none; }

/* Footer */
.site-footer {
  background: var(--fx-navy) !important;
  color: #c9d6e2;
  margin-top: 20px;
}
.site-footer a { color: #9ee7df; }
.site-bottom-footer-wrap,
.site-footer-row-container-inner,
.site-bottom-footer-inner-wrap {
  background: transparent !important;
}
.fx-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 18px 0 8px;
}
.fx-foot h4 { color: #fff; font-size: 1rem; margin: 0 0 10px; font-family: Outfit, sans-serif; letter-spacing: 0; }
.fx-foot p, .fx-foot li { color: #b9c7d4; font-size: 0.92rem; }
.fx-foot ul { list-style: none; margin: 0; padding: 0; }
.fx-foot li { margin: 0 0 6px; }
.fx-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 18px; padding-top: 14px; font-size: 0.82rem; color: #8ea0b3; }

.loop-entry {
  border: 1px solid var(--fx-line) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.loop-entry .entry-title a { text-decoration: none; color: var(--fx-navy); }
.loop-entry:hover { box-shadow: var(--fx-shadow) !important; }

@media (max-width: 900px) {
  .fx-featured, .fx-grid, .fx-foot { grid-template-columns: 1fr; }
  .fx-hero { padding: 52px 0 46px; }
  .fx-hero::after { display: none; }
  .fx-hero h1 { max-width: none; }
}

