/* ==========================================================================
   FINBANK DESIGN SYSTEM
   Modern Green FinTech & Personal Finance Platform
   Domain: finbank22.com | Contact: admin@finbank22.com
   ========================================================================== */

:root {
  /* Brand Palette */
  --fb-primary-green: #5cd335;
  --fb-bright-lime: #dbfc3c;
  --fb-lime-light: #ecfd7d;
  --fb-lime-hover: #c9ef24;
  --fb-deep-forest: #113622;
  --fb-forest-card: #133c27;
  --fb-forest-darker: #0d2819;
  --fb-mint-surface: #d8f8be;
  --fb-mint-gradient-top: #e4fad5;
  --fb-mint-gradient-bottom: #bef1a4;
  --fb-soft-cream: #f4fbf0;
  --fb-pure-white: #ffffff;
  
  /* Text & Contrast */
  --fb-text-hero: #ffffff;
  --fb-text-hero-sub: #b7e8cd;
  --fb-text-dark: #0f3420;
  --fb-text-body: #1c422c;
  --fb-text-muted: #4a6f58;
  --fb-text-light: #eaf8ef;
  
  /* UI Gradients */
  --fb-page-bg: linear-gradient(135deg, #5ecf36 0%, #4ec429 45%, #3cb41b 100%);
  --fb-hero-bg: radial-gradient(circle at 75% 20%, #1a4931 0%, #113824 55%, #0c2719 100%);
  --fb-card-mint-bg: linear-gradient(180deg, #dcf8cc 0%, #bcf29f 100%);
  --fb-card-glass: rgba(235, 253, 224, 0.85);
  
  /* Radii */
  --fb-radius-hero: 36px;
  --fb-radius-card: 28px;
  --fb-radius-pill: 9999px;
  --fb-radius-inner: 16px;
  --fb-radius-sm: 10px;

  /* Shadows */
  --fb-shadow-hero: 0 24px 50px -12px rgba(9, 36, 19, 0.35);
  --fb-shadow-card: 0 16px 32px -8px rgba(16, 56, 28, 0.15);
  --fb-shadow-btn: 0 8px 20px -4px rgba(18, 54, 27, 0.2);
  --fb-shadow-floating: 0 20px 40px -10px rgba(8, 30, 16, 0.3);

  /* Fonts */
  --fb-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fb-font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--fb-font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--fb-page-bg);
  min-height: 100vh;
  color: var(--fb-text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding: 20px 24px 40px;
}

@media (max-width: 768px) {
  body {
    padding: 12px 12px 30px;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Master Layout Container */
.fb-container {
  max-width: 1360px;
  margin: 0 auto;
}

/* ==========================================================================
   NAVIGATION BAR (Matches screenshot: logo + centered dark pill + lime CTA)
   ========================================================================== */
.fb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 24px;
  position: relative;
  z-index: 100;
}

.fb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fb-brand-logo {
  height: 42px;
  width: auto;
}

/* Centered Floating Pill Navigation */
.fb-nav-pill-wrapper {
  background: rgba(17, 54, 34, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--fb-radius-pill);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -5px rgba(10, 35, 18, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}

.fb-nav-link {
  color: #d1f3db;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--fb-radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.fb-nav-link:hover,
.fb-nav-link.active {
  color: #0d2c1b;
  background: var(--fb-bright-lime);
}

/* Top Action Buttons */
.fb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.fb-btn-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fb-bright-lime);
  color: #0c2918;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--fb-radius-pill);
  box-shadow: 0 8px 18px rgba(14, 46, 25, 0.2);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.fb-btn-pill-cta:hover {
  background: #f1ff7a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14, 46, 25, 0.3);
}

.fb-btn-search-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 54, 34, 0.9);
  color: #d1f3db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fb-btn-search-trigger:hover {
  background: var(--fb-bright-lime);
  color: #0c2918;
}

/* Mobile Hamburger */
.fb-mobile-toggle {
  display: none;
  background: rgba(17, 54, 34, 0.92);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.fb-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION (Two-column layout matching reference image)
   ========================================================================== */
.fb-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Left Hero Card: Deep Forest Green */
.fb-hero-card-left {
  background: var(--fb-hero-bg);
  border-radius: var(--fb-radius-hero);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--fb-shadow-hero);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-hero-content-wrapper {
  position: relative;
  z-index: 5;
  max-width: 580px;
}

.fb-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--fb-text-hero);
  margin-bottom: 20px;
}

.fb-hero-title span {
  display: block;
}

.fb-hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fb-text-hero-sub);
  margin-bottom: 34px;
  max-width: 480px;
}

.fb-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fb-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fb-bright-lime);
  color: #0c2918;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: var(--fb-radius-pill);
  box-shadow: 0 10px 24px rgba(12, 41, 24, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-btn-hero-primary:hover {
  background: #f1ff7a;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 41, 24, 0.45);
}

.fb-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--fb-radius-pill);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.fb-btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--fb-bright-lime);
}

/* Floating 3D FinBank Card Visual inside Left Card */
.fb-hero-card-art-container {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 380px;
  pointer-events: none;
  z-index: 2;
  animation: floatSoft 6s ease-in-out infinite alternate;
}

@keyframes floatSoft {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(-1.5deg); }
}

/* Right Hero Card: Mint Soft Surface with Phone Mockup */
.fb-hero-card-right {
  background: var(--fb-soft-cream);
  border-radius: var(--fb-radius-hero);
  padding: 24px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--fb-shadow-card);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.fb-phone-mockup-wrapper {
  position: relative;
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
}

.fb-phone-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.fb-hero-card-right:hover .fb-phone-mockup-img {
  transform: scale(1.02);
}

.fb-hero-caption-card {
  padding-top: 14px;
}

.fb-hero-caption-text {
  font-size: 15px;
  font-weight: 600;
  color: #174a2c;
  line-height: 1.45;
}

/* ==========================================================================
   FOUR FEATURE CARDS BENEATH HERO (Matching reference image layout & icons)
   ========================================================================== */
.fb-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.fb-feature-card {
  background: var(--fb-card-mint-bg);
  border-radius: var(--fb-radius-card);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--fb-shadow-card);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 380px;
}

.fb-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -10px rgba(12, 45, 22, 0.22);
  border-color: rgba(255, 255, 255, 0.95);
}

.fb-feature-card-header {
  margin-bottom: 12px;
}

.fb-feature-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--fb-text-dark);
  letter-spacing: -0.5px;
}

.fb-feature-icon-box {
  width: 130px;
  height: 130px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.fb-feature-card:hover .fb-feature-icon-box {
  transform: scale(1.08) translateY(-4px);
}

.fb-feature-card-body {
  margin-top: auto;
}

.fb-feature-description {
  font-size: 14.5px;
  color: var(--fb-text-body);
  line-height: 1.5;
  margin-bottom: 18px;
}

.fb-btn-card-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fb-deep-forest);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--fb-radius-pill);
  box-shadow: 0 6px 14px rgba(11, 40, 20, 0.2);
  transition: all 0.2s ease;
}

.fb-btn-card-details:hover {
  background: #092113;
  color: var(--fb-bright-lime);
  transform: translateX(4px);
}

/* ==========================================================================
   HOMEPAGE SECTION SHELL (White / Light Mint Content Blocks)
   ========================================================================== */
.fb-section-card {
  background: #ffffff;
  border-radius: var(--fb-radius-hero);
  padding: 48px;
  margin-bottom: 30px;
  box-shadow: var(--fb-shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.fb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.fb-section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #176538;
  background: #e2fbd3;
  padding: 6px 14px;
  border-radius: var(--fb-radius-pill);
  margin-bottom: 10px;
}

.fb-section-heading {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fb-text-dark);
}

.fb-section-subheading {
  font-size: 16px;
  color: var(--fb-text-muted);
  max-width: 600px;
  margin-top: 6px;
}

.fb-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: #11572c;
  padding: 8px 16px;
  border-radius: var(--fb-radius-pill);
  background: #eafbe0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fb-view-all-link:hover {
  background: var(--fb-deep-forest);
  color: #ffffff;
}

/* ==========================================================================
   POPULAR FINANCIAL TOOLS & INTERACTIVE MINI CALCULATORS
   ========================================================================== */
.fb-calc-interactive-card {
  background: linear-gradient(145deg, #f7fef4 0%, #ebfae5 100%);
  border-radius: var(--fb-radius-card);
  padding: 32px;
  border: 1.5px solid #d4f2c5;
}

.fb-calc-nav-tabs {
  display: flex;
  gap: 8px;
  background: #e0f5d4;
  padding: 6px;
  border-radius: var(--fb-radius-pill);
  width: fit-content;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.fb-calc-tab {
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--fb-radius-pill);
  color: #1a4a2b;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.fb-calc-tab.active {
  background: var(--fb-deep-forest);
  color: var(--fb-bright-lime);
  box-shadow: 0 4px 12px rgba(10, 36, 18, 0.2);
}

.fb-calc-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}

.fb-calc-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.fb-calc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fb-calc-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-calc-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  color: #174227;
}

.fb-calc-val-pill {
  font-family: var(--fb-font-mono);
  background: #ffffff;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid #c7e8b6;
  font-size: 13.5px;
  font-weight: 700;
  color: #0d361b;
}

.fb-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #c3e9b1;
  outline: none;
  cursor: pointer;
}

.fb-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fb-deep-forest);
  border: 3px solid var(--fb-bright-lime);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.1s ease;
}

.fb-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Calculator Result Panel */
.fb-calc-result-panel {
  background: var(--fb-deep-forest);
  border-radius: 24px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--fb-shadow-floating);
  position: relative;
  overflow: hidden;
}

.fb-calc-result-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a4e1bc;
  font-weight: 700;
  margin-bottom: 6px;
}

.fb-calc-big-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--fb-bright-lime);
  line-height: 1.1;
  margin-bottom: 20px;
}

.fb-calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.fb-calc-breakdown-row:last-child {
  border-bottom: none;
}

.fb-calc-breakdown-val {
  font-weight: 700;
  color: #ffffff;
}

.fb-btn-full-calc {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fb-bright-lime);
  color: #0c2918;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: var(--fb-radius-pill);
  transition: all 0.2s ease;
}

.fb-btn-full-calc:hover {
  background: #f1ff7a;
}

/* Calculator Hub Grid (6 calculators) */
.fb-calc-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.fb-calc-card {
  background: #f8fdf6;
  border: 1px solid #d4f2c5;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.fb-calc-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #72db44;
  box-shadow: 0 12px 24px -6px rgba(17, 56, 30, 0.12);
}

.fb-calc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e2fcd3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.fb-calc-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 6px;
}

.fb-calc-card-desc {
  font-size: 13.5px;
  color: var(--fb-text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.fb-calc-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #11572c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   EXPLORE BANKING & CATEGORIES HUB
   ========================================================================== */
.fb-category-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fb-cat-tile {
  background: linear-gradient(135deg, #f7fdf5 0%, #edf9e7 100%);
  border: 1.5px solid #d6f2c7;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.fb-cat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #62db3b;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fb-cat-tile:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #55cf2e;
  box-shadow: 0 14px 28px -8px rgba(14, 52, 26, 0.15);
}

.fb-cat-tile:hover::before {
  opacity: 1;
}

.fb-cat-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fb-cat-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: #d8f7c2;
  color: #145227;
  padding: 4px 10px;
  border-radius: 12px;
}

.fb-cat-icon {
  font-size: 26px;
}

.fb-cat-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 8px;
}

.fb-cat-desc {
  font-size: 13.5px;
  color: var(--fb-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.fb-cat-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.fb-sublink-pill {
  font-size: 11.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #d2ebd0;
  padding: 3px 8px;
  border-radius: 8px;
  color: #1a4f2c;
  transition: all 0.2s ease;
}

.fb-sublink-pill:hover {
  background: var(--fb-deep-forest);
  color: #ffffff;
  border-color: var(--fb-deep-forest);
}

/* ==========================================================================
   FEATURED & LATEST FINANCE ARTICLES
   ========================================================================== */
.fb-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fb-article-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dff2d6;
  box-shadow: 0 8px 20px rgba(10, 36, 18, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.fb-article-card:hover {
  transform: translateY(-5px);
  border-color: #72db44;
  box-shadow: 0 16px 32px -8px rgba(14, 52, 26, 0.14);
}

.fb-article-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  background: #eef9e8;
  overflow: hidden;
}

.fb-article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fb-article-card:hover .fb-article-thumb {
  transform: scale(1.05);
}

.fb-article-cat-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17, 54, 34, 0.9);
  color: var(--fb-bright-lime);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.fb-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fb-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--fb-text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.fb-article-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--fb-text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.fb-article-excerpt {
  font-size: 14px;
  color: var(--fb-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.fb-article-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #eef7eb;
}

.fb-article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbf8be;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #113824;
}

.fb-author-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #174227;
}

.fb-read-more-btn {
  font-size: 13px;
  font-weight: 800;
  color: #11572c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   WHY FINBANK? (TRUST & VALUE PILLARS)
   ========================================================================== */
.fb-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fb-why-card {
  background: #f7fdf4;
  border: 1.5px solid #d4f2c5;
  border-radius: 22px;
  padding: 26px 22px;
  text-align: left;
  transition: all 0.2s ease;
}

.fb-why-card:hover {
  background: #ffffff;
  border-color: #55cf2e;
}

.fb-why-num {
  font-size: 13px;
  font-weight: 900;
  color: #1a6331;
  background: #dcf8cc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.fb-why-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 8px;
}

.fb-why-text {
  font-size: 14px;
  color: var(--fb-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SEO CONTENT SECTION (Section 37 requirement)
   ========================================================================== */
.fb-seo-content-article {
  max-width: 960px;
  margin: 0 auto;
  color: #1d432e;
  line-height: 1.75;
  font-size: 15.5px;
}

.fb-seo-content-article h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin: 28px 0 12px;
}

.fb-seo-content-article p {
  margin-bottom: 16px;
}

.fb-seo-content-article ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.fb-seo-content-article li {
  margin-bottom: 8px;
}

/* ==========================================================================
   NEWSLETTER SIGNUP (Get Better With Money)
   ========================================================================== */
.fb-newsletter-box {
  background: var(--fb-hero-bg);
  border-radius: var(--fb-radius-card);
  padding: 44px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
  box-shadow: var(--fb-shadow-hero);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fb-newsletter-text {
  max-width: 560px;
}

.fb-newsletter-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 10px;
}

.fb-newsletter-desc {
  font-size: 15px;
  color: #bce9d0;
  line-height: 1.5;
}

.fb-newsletter-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px;
  border-radius: var(--fb-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 440px;
}

.fb-newsletter-input {
  background: transparent;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 14.5px;
  flex-grow: 1;
}

.fb-newsletter-input::placeholder {
  color: #9cd3b4;
}

.fb-newsletter-btn {
  background: var(--fb-bright-lime);
  color: #0c2918;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--fb-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fb-newsletter-btn:hover {
  background: #f1ff7a;
}

/* ==========================================================================
   FINANCIAL DISCLAIMER BANNER
   ========================================================================== */
.fb-disclaimer-box {
  background: #edfbe6;
  border: 1.5px solid #c9ecb7;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fb-disclaimer-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.fb-disclaimer-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #124021;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fb-disclaimer-text {
  font-size: 13px;
  color: #275239;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER (Multi-column layout per Section 28)
   ========================================================================== */
.fb-footer {
  background: var(--fb-deep-forest);
  border-radius: var(--fb-radius-hero);
  padding: 56px 48px 32px;
  color: #ffffff;
  box-shadow: var(--fb-shadow-floating);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.fb-footer-brand-desc {
  font-size: 14.5px;
  color: #b7e3cc;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.fb-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ffffff;
}

.fb-footer-contact-link {
  color: var(--fb-bright-lime);
  font-weight: 700;
}

.fb-footer-col-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
}

.fb-footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fb-footer-link {
  font-size: 14px;
  color: #b7e3cc;
  transition: all 0.2s ease;
}

.fb-footer-link:hover {
  color: var(--fb-bright-lime);
  transform: translateX(4px);
}

.fb-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.fb-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fb-footer-legal-link {
  font-size: 13px;
  color: #9eccb4;
}

.fb-footer-legal-link:hover {
  color: #ffffff;
}

.fb-footer-copyright {
  font-size: 13px;
  color: #8bbfa3;
}

/* ==========================================================================
   SEARCH MODAL / DRAWER
   ========================================================================== */
.fb-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 16, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

.fb-search-overlay.active {
  display: flex;
}

.fb-search-modal {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid #d4f2c5;
}

.fb-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3faf0;
  border: 2px solid #6edc41;
  border-radius: var(--fb-radius-pill);
  padding: 8px 18px;
  margin-bottom: 20px;
}

.fb-search-input {
  width: 100%;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--fb-text-dark);
}

.fb-search-close-btn {
  background: #e2fad5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  color: #123e23;
}

.fb-search-results {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fb-search-result-item {
  padding: 12px 16px;
  border-radius: 14px;
  background: #f8fcf6;
  border: 1px solid #e2f4dd;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fb-search-result-item:hover {
  background: #eafbe1;
  border-color: #6edc41;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.fb-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--fb-deep-forest);
  z-index: 1001;
  padding: 30px 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.fb-mobile-drawer.open {
  right: 0;
}

.fb-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.fb-drawer-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fb-drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb-drawer-link {
  color: #d1f3db;
  font-size: 17px;
  font-weight: 700;
  display: block;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.fb-drawer-link:hover, .fb-drawer-link.active {
  background: var(--fb-bright-lime);
  color: #0c2918;
}

.fb-drawer-cta {
  margin-top: auto;
  text-align: center;
  background: var(--fb-bright-lime);
  color: #0c2918;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--fb-radius-pill);
}

.fb-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
}

.fb-mobile-backdrop.open {
  display: block;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (320px, 375px, 414px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1200px) {
  .fb-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-category-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-hero-title {
    font-size: 44px;
  }
}

@media (max-width: 992px) {
  .fb-nav-pill-wrapper {
    display: none; /* Collapses to mobile hamburger */
  }
  .fb-mobile-toggle {
    display: flex;
  }
  .fb-hero-grid {
    grid-template-columns: 1fr;
  }
  .fb-hero-card-left {
    padding: 40px 32px;
    min-height: 420px;
  }
  .fb-hero-card-art-container {
    opacity: 0.55;
    right: -60px;
    bottom: -40px;
  }
  .fb-calc-body-grid {
    grid-template-columns: 1fr;
  }
  .fb-calc-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-newsletter-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .fb-newsletter-form {
    max-width: 100%;
  }
  .fb-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .fb-features-grid {
    grid-template-columns: 1fr;
  }
  .fb-hero-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }
  .fb-hero-card-left {
    padding: 32px 20px;
  }
  .fb-hero-card-art-container {
    display: none; /* Ensure crisp readability on small mobile screens */
  }
  .fb-articles-grid {
    grid-template-columns: 1fr;
  }
  .fb-category-pills-grid {
    grid-template-columns: 1fr;
  }
  .fb-calc-hub-grid {
    grid-template-columns: 1fr;
  }
  .fb-why-grid {
    grid-template-columns: 1fr;
  }
  .fb-section-card {
    padding: 28px 20px;
  }
  .fb-footer {
    padding: 36px 20px 24px;
  }
  .fb-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .fb-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CATEGORY & HUB PAGES
   ========================================================================== */
.fb-category-hero {
  background: var(--fb-hero-bg);
  border-radius: var(--fb-radius-hero);
  padding: 48px;
  color: #ffffff;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--fb-shadow-hero);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fb-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #a4deb8;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.fb-breadcrumbs a {
  color: #d1f3db;
  transition: color 0.2s;
}

.fb-breadcrumbs a:hover {
  color: var(--fb-bright-lime);
}

.fb-breadcrumbs-sep {
  opacity: 0.6;
}

.fb-category-hero-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.15;
}

.fb-category-hero-desc {
  font-size: 17px;
  color: #b7e8cd;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.fb-category-stats-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fb-stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fb-stat-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--fb-bright-lime);
}

.fb-stat-label {
  font-size: 13px;
  color: #a4deb8;
}

/* Sub-category filter pills */
.fb-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.fb-filter-pill {
  padding: 8px 18px;
  border-radius: var(--fb-radius-pill);
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  color: var(--fb-text-dark);
  border: 1.5px solid #d4f2c5;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fb-filter-pill:hover,
.fb-filter-pill.active {
  background: var(--fb-deep-forest);
  color: var(--fb-bright-lime);
  border-color: var(--fb-deep-forest);
}

/* ==========================================================================
   ARTICLE & BLOG POST LAYOUT (Two-column: Main + Sidebar)
   ========================================================================== */
.fb-article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-bottom: 30px;
  align-items: start;
}

.fb-article-main {
  background: #ffffff;
  border-radius: var(--fb-radius-hero);
  padding: 48px;
  box-shadow: var(--fb-shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.fb-post-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef7eb;
}

.fb-post-cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #dcf8cc;
  color: #12421f;
  padding: 6px 14px;
  border-radius: var(--fb-radius-pill);
  margin-bottom: 14px;
}

.fb-post-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--fb-text-dark);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.fb-post-lead {
  font-size: 18px;
  color: #275239;
  line-height: 1.6;
  margin-bottom: 20px;
}

.fb-post-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--fb-text-muted);
}

.fb-byline-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--fb-text-dark);
}

.fb-post-featured-hero {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #f0faf0;
  box-shadow: 0 10px 24px -6px rgba(16, 56, 28, 0.1);
}

/* Table of Contents Box */
.fb-toc-box {
  background: linear-gradient(135deg, #f7fdf5 0%, #ebfae4 100%);
  border: 1.5px solid #d0f0c0;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 36px;
}

.fb-toc-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-toc-list a {
  font-size: 14.5px;
  color: #17522d;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.fb-toc-list a:hover {
  color: #0b2d17;
  transform: translateX(4px);
  text-decoration: underline;
}

/* Article Typography */
.fb-article-body-content {
  font-size: 17px;
  line-height: 1.75;
  color: #1a422b;
}

.fb-article-body-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin: 40px 0 16px;
  letter-spacing: -0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef7ea;
}

.fb-article-body-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin: 28px 0 12px;
}

.fb-article-body-content p {
  margin-bottom: 20px;
}

.fb-article-body-content ul,
.fb-article-body-content ol {
  margin: 0 0 24px 24px;
}

.fb-article-body-content li {
  margin-bottom: 10px;
}

/* Callout Box (Tips, Important, Warning) */
.fb-callout {
  border-radius: 16px;
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.6;
}

.fb-callout-info {
  background: #f2fcf0;
  border-left: 5px solid #5ecf36;
  color: #123e20;
}

.fb-callout-tip {
  background: #fffbe6;
  border-left: 5px solid #facc15;
  color: #713f12;
}

.fb-callout-warn {
  background: #fff1f2;
  border-left: 5px solid #f43f5e;
  color: #881337;
}

/* Comparison Tables */
.fb-table-container {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 16px;
  border: 1px solid #d7f0cb;
}

.fb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.fb-table th {
  background: var(--fb-deep-forest);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  white-space: nowrap;
}

.fb-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef7eb;
  color: #194028;
}

.fb-table tr:nth-child(even) td {
  background: #f9fdf8;
}

.fb-table tr:hover td {
  background: #eefbe8;
}

/* Author Box at Bottom of Article */
.fb-author-card {
  background: linear-gradient(135deg, #f7fdf5 0%, #edf9e7 100%);
  border: 1.5px solid #d4f2c5;
  border-radius: 20px;
  padding: 28px;
  margin: 40px 0 30px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.fb-author-big-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--fb-deep-forest);
  color: var(--fb-bright-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid #d4f2c5;
}

.fb-author-info-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 4px;
}

.fb-author-info-role {
  font-size: 13.5px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 8px;
}

.fb-author-info-bio {
  font-size: 14px;
  color: var(--fb-text-muted);
  line-height: 1.5;
}

/* FAQ Accordion Component */
.fb-faq-accordion {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb-faq-item {
  border: 1.5px solid #d6f2c7;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fdf7;
  transition: all 0.2s ease;
}

.fb-faq-header {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 16px;
  color: var(--fb-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.fb-faq-header:hover {
  background: #eefae7;
}

.fb-faq-icon {
  font-size: 18px;
  color: #175e33;
  transition: transform 0.2s ease;
}

.fb-faq-item.open .fb-faq-icon {
  transform: rotate(180deg);
}

.fb-faq-content {
  padding: 0 20px 18px;
  display: none;
  font-size: 14.5px;
  color: #244d34;
  line-height: 1.6;
}

.fb-faq-item.open .fb-faq-content {
  display: block;
}

/* ==========================================================================
   ARTICLE SIDEBAR (Desktop)
   ========================================================================== */
.fb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.fb-sidebar-widget {
  background: #ffffff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--fb-shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.fb-widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef7eb;
}

.fb-sidebar-calc-cta {
  background: var(--fb-hero-bg);
  border-radius: 24px;
  padding: 28px 24px;
  color: #ffffff;
  box-shadow: var(--fb-shadow-hero);
  text-align: center;
}

.fb-sidebar-calc-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--fb-bright-lime);
  margin-bottom: 8px;
}

.fb-sidebar-calc-desc {
  font-size: 13.5px;
  color: #bcebd0;
  line-height: 1.5;
  margin-bottom: 18px;
}

.fb-popular-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fb-popular-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.fb-popular-num {
  font-size: 18px;
  font-weight: 900;
  color: #5ecf36;
  width: 28px;
  flex-shrink: 0;
}

.fb-popular-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fb-text-dark);
  line-height: 1.35;
  transition: color 0.2s;
}

.fb-popular-link:hover {
  color: #1a7538;
}

/* ==========================================================================
   CONTACT FORM & POLICY PAGES
   ========================================================================== */
.fb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.fb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fb-text-dark);
}

.fb-form-input, .fb-form-textarea {
  background: #f5fcf2;
  border: 1.5px solid #c9ecb7;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--fb-text-dark);
  transition: border-color 0.2s;
}

.fb-form-input:focus, .fb-form-textarea:focus {
  border-color: #3cb41b;
  background: #ffffff;
}

.fb-policy-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: #1a422b;
}

.fb-policy-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--fb-text-dark);
  margin: 32px 0 12px;
}

.fb-policy-body p {
  margin-bottom: 16px;
}

.fb-policy-body ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.fb-policy-body li {
  margin-bottom: 8px;
}

/* Author directory grid */
.fb-authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .fb-article-layout {
    grid-template-columns: 1fr;
  }
  .fb-contact-grid {
    grid-template-columns: 1fr;
  }
  .fb-authors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fb-category-hero {
    padding: 32px 20px;
  }
  .fb-category-hero-title {
    font-size: 30px;
  }
  .fb-article-main {
    padding: 28px 20px;
  }
  .fb-post-title {
    font-size: 26px;
  }
  .fb-author-card {
    flex-direction: column;
    text-align: center;
  }
  .fb-authors-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   WORDPRESS ENGINE ENHANCEMENTS & COMPATIBILITY
   ========================================================================== */
.fb-nav-menu-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fb-nav-menu-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.fb-nav-menu-list li a {
  color: #d1f3db;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--fb-radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.fb-nav-menu-list li a:hover,
.fb-nav-menu-list li.current-menu-item a,
.fb-nav-menu-list li.current_page_item a {
  color: #0d2c1b;
  background: var(--fb-bright-lime);
}

.fb-drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-drawer-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fb-drawer-nav-list li a {
  display: block;
  padding: 12px 18px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
}

.fb-drawer-nav-list li a:hover,
.fb-drawer-nav-list li.current-menu-item a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fb-bright-lime);
}

.navigation.pagination,
.fb-pagination-wrapper {
  margin-top: 36px;
  text-align: center;
}

.nav-links,
.fb-pagination-wrapper {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #d4f2c5;
  color: #165b30;
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--fb-forest-green);
  color: var(--fb-bright-lime);
  border-color: var(--fb-forest-green);
}

.page-numbers.dots {
  background: transparent;
  border: none;
  color: #558367;
}

.fb-sidebar-search-form {
  display: flex;
  gap: 8px;
}
