/* ══════════════════════════════════════════════════════════════════
   NursingExpert — front-design.css
   Homepage redesign layer (loaded ONLY on the front page).
   Scoped under .fp to avoid touching the rest of the site.
   ══════════════════════════════════════════════════════════════════ */

.fp {
  --fp-primary:      #2563EB;
  --fp-primary-dark: #1D4ED8;
  --fp-primary-50:   #EFF6FF;
  --fp-primary-100:  #DBEAFE;
  --fp-navy:         #0F172A;
  --fp-navy-light:   #1E293B;
  --fp-teal:         #0D9488;
  --fp-teal-100:     #CCFBF1;
  --fp-teal-600:     #0D9488;
  --fp-green-100:    #DCFCE7;
  --fp-green-600:    #16A34A;
  --fp-amber-400:    #FBBF24;
  --fp-gray-50:      #F9FAFB;
  --fp-gray-100:     #F3F4F6;
  --fp-gray-200:     #E5E7EB;
  --fp-gray-500:     #6B7280;
  --fp-gray-600:     #4B5563;
  --fp-gray-700:     #374151;
  --fp-radius:       16px;
  --fp-radius-sm:    10px;
  --fp-font:         'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-family: var(--fp-font);
  color: var(--fp-gray-700);
  overflow-x: hidden;
}
.fp *, .fp *::before, .fp *::after { box-sizing: border-box; }
.fp img { max-width: 100%; height: auto; display: block; }
.fp a { text-decoration: none; }
.fp h1, .fp h2, .fp h3 { font-family: var(--fp-font); color: var(--fp-navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.fp ul { list-style: none; margin: 0; padding: 0; }
.fp svg { display: block; }

.fp-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.fp-section { padding: 64px 0; }
@media (min-width: 1024px) { .fp-section { padding: 100px 0; } }
.fp-eyebrow { color: var(--fp-primary); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.fp-h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; }
@media (min-width: 1024px) { .fp-h2 { font-size: 2.5rem; } }
.fp-lead { color: var(--fp-gray-500); max-width: 640px; }
.fp-center { text-align: center; margin: 0 auto; }
.fp-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.fp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .92rem; padding: 14px 30px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  line-height: 1; white-space: nowrap;
}
.fp-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.fp-btn-primary { background: var(--fp-primary); color: #fff; box-shadow: 0 10px 25px -8px rgba(37,99,235,.5); }
.fp-btn-primary:hover { background: var(--fp-primary-dark); color: #fff; transform: translateY(-1px); }
.fp-btn-outline { background: #fff; border-color: var(--fp-gray-200); color: var(--fp-gray-700); }
.fp-btn-outline:hover { border-color: var(--fp-primary); color: var(--fp-primary); }
.fp-btn-white-outline { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.fp-btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.fp-btn-block { width: 100%; }

/* ── HERO ─────────────────────────────────────────────────────── */
.fp-hero { position: relative; overflow: hidden; background: linear-gradient(135deg,#f8fafc 0%,#ffffff 50%,#f0f9ff 100%); padding: 48px 0; }
@media (min-width: 1024px) { .fp-hero { padding: 88px 0; } }
.fp-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .fp-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.fp-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--fp-primary-50); color: var(--fp-primary); padding: 7px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; margin-bottom: 22px; }
.fp-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fp-primary); }

.fp-hero-h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 20px; }
@media (min-width: 640px)  { .fp-hero-h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .fp-hero-h1 { font-size: 3.5rem; line-height: 1.08; } }
.fp-hero-h1 span { color: var(--fp-primary); }

.fp-hero-sub { font-size: 1.05rem; color: var(--fp-gray-500); max-width: 480px; margin-bottom: 28px; }

.fp-hero-checks { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 30px; }
@media (min-width: 480px) { .fp-hero-checks { grid-template-columns: 1fr 1fr; } }
.fp-check-item { display: flex; align-items: center; gap: 10px; }
.fp-check-ico { width: 20px; height: 20px; border-radius: 50%; background: var(--fp-green-100); color: var(--fp-green-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fp-check-ico svg { width: 12px; height: 12px; }
.fp-check-item span { font-size: .9rem; font-weight: 600; color: var(--fp-gray-700); }

.fp-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.fp-hero-media { position: relative; display: none; }
@media (min-width: 1024px) { .fp-hero-media { display: block; } }
.fp-hero-media-inner { position: relative; height: 520px; border-radius: 28px; overflow: hidden; }
.fp-hero-media-inner img.fp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.fp-hero-media-inner .fp-hero-nurse-wrap { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.fp-hero-media-inner img.fp-hero-nurse { height: 500px; width: auto; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 25px 50px rgba(37,99,235,.2)); }

.fp-float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.15); padding: 14px 16px; border: 1px solid var(--fp-gray-100); z-index: 3; animation: fpFloat 3s ease-in-out infinite; }
.fp-float-1 { top: 32px; left: 8px; }
.fp-float-2 { bottom: 100px; right: 8px; animation-delay: 1s; }
@keyframes fpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fp-float-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--fp-navy); }
.fp-float-stat-lbl { font-size: .82rem; color: var(--fp-gray-500); font-weight: 600; }
.fp-float-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin-top: 8px; }
.fp-float-bars span { width: 8px; border-radius: 3px 3px 0 0; background: #86EFAC; }
.fp-float-bars span:last-child { background: var(--fp-primary); }
.fp-float-2-row { display: flex; align-items: center; gap: 10px; }
.fp-float-2-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--fp-green-100); color: var(--fp-green-600); display: flex; align-items: center; justify-content: center; }
.fp-float-2-ico svg { width: 18px; height: 18px; }

/* ── STATS BAR ────────────────────────────────────────────────── */
.fp-stats { background: var(--fp-navy); padding: 34px 0; }
.fp-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 1024px) { .fp-stats-grid { grid-template-columns: repeat(4,1fr); gap: 32px; } }
.fp-stat { display: flex; align-items: center; gap: 14px; justify-content: center; }
.fp-stat-ico { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fp-stat-ico svg { width: 24px; height: 24px; }
.fp-stat-num { font-size: 1.4rem; font-weight: 800; color: #fff; }
@media (min-width: 1024px) { .fp-stat-num { font-size: 1.6rem; } }
.fp-stat-lbl { font-size: .78rem; color: #94A3B8; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.fp-services-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px)  { .fp-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fp-services-grid { grid-template-columns: repeat(4,1fr); } }
.fp-svc-card { background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); padding: 26px; transition: all .25s ease; }
.fp-svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -14px rgba(0,0,0,.12); border-color: var(--fp-primary-100); }
.fp-svc-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.fp-svc-ico svg { width: 24px; height: 24px; }
.fp-svc-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.fp-svc-card p { font-size: .88rem; color: var(--fp-gray-500); line-height: 1.6; margin-bottom: 16px; }
.fp-svc-link { color: var(--fp-primary); font-size: .86rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s; }
.fp-svc-link:hover { gap: 9px; color: var(--fp-primary-dark); }
.fp-svc-link svg { width: 14px; height: 14px; }
.fp-center-cta { text-align: center; margin-top: 42px; }

/* ── PRICING ──────────────────────────────────────────────────── */
.fp-pricing { background: linear-gradient(135deg,#f0fdfa 0%,#ecfeff 50%,#f0f9ff 100%); }
.fp-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .fp-pricing-grid { grid-template-columns: 1fr 1fr; } }
.fp-card { background: #fff; border-radius: var(--fp-radius); box-shadow: 0 10px 40px -12px rgba(0,0,0,.1); border: 1px solid var(--fp-gray-100); padding: 26px; }
@media (min-width: 1024px) { .fp-card { padding: 34px; } }
.fp-form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 480px) { .fp-form-row { grid-template-columns: 1fr 1fr; } }
.fp-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--fp-gray-700); margin-bottom: 8px; }
.fp-field select, .fp-select {
  width: 100%; background: var(--fp-gray-50); border: 1px solid var(--fp-gray-200); border-radius: 10px;
  padding: 12px 14px; font-size: .9rem; color: var(--fp-gray-700); font-family: var(--fp-font);
}
.fp-field select:focus { outline: none; border-color: var(--fp-primary); box-shadow: 0 0 0 3px var(--fp-primary-100); }

.fp-pages-counter { display: flex; align-items: center; justify-content: space-between; background: var(--fp-gray-50); border: 1px solid var(--fp-gray-200); border-radius: 10px; padding: 10px 14px; }
.fp-pages-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--fp-gray-200); background: #fff; font-size: 1.1rem; font-weight: 700; color: var(--fp-primary); cursor: pointer; line-height: 1; }
.fp-pages-btn:hover { background: var(--fp-primary-50); }
.fp-pages-count { font-size: .86rem; font-weight: 700; color: var(--fp-navy); text-align: center; }
.fp-pages-note { font-size: .72rem; color: var(--fp-gray-500); text-align: center; }

.fp-price-row { display: flex; align-items: center; justify-content: space-between; background: var(--fp-primary-50); border-radius: 12px; padding: 16px; margin: 18px 0; }
.fp-price-label { font-size: .84rem; color: var(--fp-gray-500); }
.fp-price-val { font-size: 1.6rem; font-weight: 800; color: var(--fp-primary); }
.fp-price-val small { font-size: .8rem; font-weight: 500; color: var(--fp-gray-500); }
.fp-price-old { font-size: .74rem; color: #9CA3AF; text-decoration: line-through; text-align: right; }
.fp-price-off { font-size: .74rem; color: var(--fp-green-600); font-weight: 700; text-align: right; }

.fp-policy h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.fp-policy p { font-size: .9rem; color: var(--fp-gray-600); line-height: 1.7; margin-bottom: 14px; }
.fp-policy-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.fp-policy-item { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--fp-gray-700); }
.fp-policy-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--fp-teal-100); color: var(--fp-teal-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fp-policy-ico svg { width: 15px; height: 15px; }
.fp-policy-more { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--fp-gray-100); }
.fp-inline-link { display: inline-flex; align-items: center; gap: 6px; color: var(--fp-primary); font-weight: 700; font-size: .88rem; }
.fp-inline-link svg { width: 14px; height: 14px; }

/* ── HOW WE WORK ──────────────────────────────────────────────── */
.fp-steps { display: grid; grid-template-columns: 1fr; gap: 34px; position: relative; }
@media (min-width: 768px) { .fp-steps { grid-template-columns: repeat(3,1fr); gap: 30px; } }
.fp-step { position: relative; text-align: center; }
.fp-step-num { width: 64px; height: 64px; border-radius: 18px; background: var(--fp-teal-100); border: 4px solid #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 1.5rem; font-weight: 800; color: var(--fp-teal-600); position: relative; z-index: 2; }
.fp-step-card { background: var(--fp-gray-50); border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); padding: 28px 22px; }
.fp-step-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--fp-primary-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.fp-step-ico svg { width: 22px; height: 22px; color: var(--fp-primary); }
.fp-step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.fp-step-card p { font-size: .86rem; color: var(--fp-gray-500); line-height: 1.6; }

/* ── WRITERS & TESTIMONIALS CAROUSELS ────────────────────────── */
.fp-carousel { position: relative; }
.fp-car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--fp-gray-200); box-shadow: 0 6px 16px -4px rgba(0,0,0,.15); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 5; color: var(--fp-gray-700); }
@media (min-width: 768px) { .fp-car-btn { display: flex; } }
.fp-car-btn:hover { border-color: var(--fp-primary); color: var(--fp-primary); }
.fp-car-btn svg { width: 18px; height: 18px; }
.fp-car-prev { left: -6px; }
.fp-car-next { right: -6px; }
@media (min-width: 1024px) { .fp-car-prev { left: -20px; } .fp-car-next { right: -20px; } }
.fp-car-viewport { overflow: hidden; padding: 8px 2px; }
.fp-car-track { display: flex; gap: 22px; transition: transform .45s ease; }

.fp-writer-card { flex-shrink: 0; width: 100%; background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); padding: 56px 22px 24px; position: relative; margin-top: 28px; }
@media (min-width: 640px)  { .fp-writer-card { width: calc(50% - 11px); } }
@media (min-width: 1024px) { .fp-writer-card { width: calc(33.333% - 15px); } }
.fp-writer-avatar { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.2); object-fit: cover; }
.fp-writer-card h3 { font-size: 1.05rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.fp-stars { display: flex; justify-content: center; gap: 2px; margin-bottom: 16px; }
.fp-stars svg { width: 15px; height: 15px; color: var(--fp-amber-400); }
.fp-writer-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--fp-gray-100); border-bottom: 1px solid var(--fp-gray-100); margin-bottom: 18px; }
.fp-writer-metrics div { text-align: center; }
.fp-writer-metrics div:first-child { border-right: 1px solid var(--fp-gray-100); }
.fp-metric-num { font-size: 1.15rem; font-weight: 800; color: var(--fp-navy); }
.fp-metric-lbl { font-size: .72rem; color: var(--fp-gray-500); line-height: 1.3; }
.fp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fp-tag { background: #E0F2FE; color: #0369A1; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600; }

.fp-testimonial-card { flex-shrink: 0; width: 100%; background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); padding: 24px; transition: box-shadow .2s; }
@media (min-width: 640px)  { .fp-testimonial-card { width: calc(50% - 11px); } }
@media (min-width: 1024px) { .fp-testimonial-card { width: calc(25% - 17px); } }
.fp-testimonial-card:hover { box-shadow: 0 14px 32px -14px rgba(0,0,0,.15); }
.fp-testimonial-card p { font-size: .88rem; color: var(--fp-gray-600); line-height: 1.65; margin: 14px 0 20px; }
.fp-t-author { display: flex; align-items: center; gap: 10px; }
.fp-t-avatar { width: 40px; height: 40px; border-radius: 50%; }
.fp-t-name { font-weight: 700; font-size: .87rem; color: var(--fp-navy); }
.fp-t-loc { font-size: .74rem; color: var(--fp-gray-500); }

/* ── WHY CHOOSE US ────────────────────────────────────────────── */
.fp-why-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .fp-why-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; } }
.fp-why-img-wrap { position: relative; max-width: 340px; margin: 0 auto; }
.fp-why-img-bg { position: absolute; inset: 0; background: var(--fp-primary-100); border-radius: 24px; transform: rotate(3deg); opacity: .5; }
.fp-why-img { position: relative; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25); width: 100%; object-fit: cover; }
.fp-why-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.fp-why-item { display: flex; align-items: flex-start; gap: 10px; }
.fp-why-item span { font-weight: 600; color: var(--fp-gray-700); font-size: .95rem; }

/* ── CTA BANNER ───────────────────────────────────────────────── */
.fp-cta { background: linear-gradient(90deg,#0F172A 0%,#1E3A5F 50%,#0F172A 100%); padding: 46px 0; position: relative; overflow: hidden; }
.fp-cta-flex { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 26px; text-align: center; position: relative; z-index: 2; }
@media (min-width: 1024px) { .fp-cta-flex { flex-direction: row; text-align: left; } }
.fp-cta-flex h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
@media (min-width: 1024px) { .fp-cta-flex h2 { font-size: 1.8rem; } }
.fp-cta-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #BFDBFE; font-size: .9rem; }
@media (min-width: 1024px) { .fp-cta-note { justify-content: flex-start; } }
.fp-cta-note svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Accessibility / motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fp-float-card { animation: none; }
  .fp-car-track { transition: none; }
}

/* ── Print ─────────────────────────────────────────────────────*/
@media print { .fp-hero-media, .fp-car-btn, .fp-float-card { display: none !important; } }

/* ══════════════════════════════════════════════════════════════════
   SINGLE POST TEMPLATE
   Reuses the homepage's blue/navy design language (fp-primary,
   fp-navy, fp-gray scale) so post pages feel like one site with
   the front page instead of a separate teal/rose skin.
   ══════════════════════════════════════════════════════════════════ */

/* Post hero */
.fp-wrap-narrow { max-width: 1100px; }
.fp-post-hero { background: linear-gradient(135deg,#f8fafc 0%,#ffffff 55%,#eff6ff 100%); padding: 30px 0 24px; border-bottom: 1px solid var(--fp-gray-100); }
.fp-crumb { font-size: .8rem; color: var(--fp-gray-500); margin-bottom: 18px; }
.fp-crumb a { color: var(--fp-gray-500); }
.fp-crumb a:hover { color: var(--fp-primary); }
.fp-crumb .sep { margin: 0 8px; color: var(--fp-gray-200); }
.fp-crumb .current { color: var(--fp-gray-700); font-weight: 600; }

.fp-post-cat { display: inline-flex; align-items: center; gap: 7px; background: var(--fp-primary-50); color: var(--fp-primary); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }

.fp-post-title { font-size: clamp(1.45rem,2.8vw,2.05rem); font-weight: 800; color: var(--fp-navy); line-height: 1.22; letter-spacing: -.02em; max-width: 780px; margin-bottom: 16px; }

.fp-post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--fp-gray-500); }
.fp-post-meta .who { display: flex; align-items: center; gap: 9px; }
.fp-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--fp-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; flex-shrink: 0; }
.fp-post-meta .name { color: var(--fp-gray-700); font-weight: 700; }
.fp-post-meta .dot { color: var(--fp-gray-200); }

/* Intro CTA strip (below title, mirrors the reference page's quote prompt) */
.fp-post-ctabar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--fp-primary-50); border: 1px solid var(--fp-primary-100); border-radius: var(--fp-radius-sm); padding: 13px 18px; margin: 20px 0 0; }
.fp-post-ctabar p { font-size: .85rem; font-weight: 600; color: var(--fp-navy); margin: 0; }
.fp-post-ctabar .fp-btn { padding: 9px 18px; font-size: .8rem; flex-shrink: 0; }

/* Compact trust strip (navy, echoes the homepage stats bar) */
.fp-post-trust { background: var(--fp-navy); padding: 14px 0; }
.fp-post-trust-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; text-align: center; }
@media (min-width: 768px) { .fp-post-trust-grid { grid-template-columns: repeat(4,1fr); } }
.fp-post-trust-num { font-size: 1.05rem; font-weight: 800; color: #fff; }
.fp-post-trust-lbl { font-size: .68rem; color: #94A3B8; margin-top: 1px; }

/* Two-column layout */
.fp-post-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 34px 0 0; align-items: start; }
@media (min-width: 1024px) { .fp-post-grid { grid-template-columns: 1fr 300px; } }
.fp-post-article { min-width: 0; }

.fp-post-thumb { border-radius: var(--fp-radius-sm); overflow: hidden; border: 1px solid var(--fp-gray-100); margin-bottom: 22px; box-shadow: 0 8px 28px -16px rgba(15,23,42,.15); }

/* Article typography — overrides main.css .post-body teal defaults */
.fp .post-body h2 { font-family: var(--fp-font); font-size: 1.4rem; font-weight: 800; color: var(--fp-navy); margin: 1.8em 0 .7em; border-bottom: 2px solid var(--fp-gray-100); padding-bottom: 9px; }
.fp .post-body h3 { font-family: var(--fp-font); font-size: 1.12rem; font-weight: 700; color: var(--fp-navy); margin: 1.6em 0 .55em; }
.fp .post-body p { font-size: .98rem; line-height: 1.8; color: var(--fp-gray-700); margin-bottom: 1.2em; }
.fp .post-body ul, .fp .post-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.fp .post-body li { font-size: .96rem; line-height: 1.75; color: var(--fp-gray-700); margin-bottom: .45em; }
.fp .post-body ul li::marker { color: var(--fp-primary); }
.fp .post-body a { color: var(--fp-primary); text-decoration: underline; text-underline-offset: 3px; }
.fp .post-body blockquote { border-left: 4px solid var(--fp-primary); padding: 14px 18px; margin: 1.5em 0; background: var(--fp-primary-50); border-radius: 0 8px 8px 0; font-style: italic; color: var(--fp-navy); }
.fp .post-body img { border-radius: var(--fp-radius-sm); margin: 1.5em 0; }
.fp .post-body code { background: var(--fp-primary-50); color: var(--fp-primary-dark); padding: 2px 6px; border-radius: 4px; font-size: .85em; }
.fp .post-body pre { background: var(--fp-navy); color: #e2e8f0; padding: 18px; border-radius: var(--fp-radius-sm); overflow-x: auto; margin: 1.5em 0; }

/* Mid-article CTA card */
.fp-post-cta-card { background: linear-gradient(135deg,#0F172A 0%,#1E3A5F 100%); border-radius: var(--fp-radius); padding: 24px; margin: 30px 0; position: relative; overflow: hidden; }
.fp-post-cta-card::after { content:''; position:absolute; top:-50px; right:-50px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle,rgba(37,99,235,.35) 0%,transparent 70%); pointer-events:none; }
.fp-post-cta-eyebrow { position: relative; z-index:1; display: inline-block; background: rgba(37,99,235,.2); color: #93C5FD; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.fp-post-cta-card h3 { position: relative; z-index:1; font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.fp-post-cta-list { position: relative; z-index:1; list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.fp-post-cta-list li { display: flex; align-items: center; gap: 9px; font-size: .87rem; color: rgba(255,255,255,.78); }
.fp-post-cta-list svg { width: 15px; height: 15px; color: #4ADE80; flex-shrink: 0; }
.fp-post-cta-actions { position: relative; z-index:1; display: flex; gap: 12px; flex-wrap: wrap; }

/* Tags */
.fp-post-tags { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--fp-gray-100); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fp-post-tags .lbl { font-size: .74rem; font-weight: 700; color: var(--fp-gray-500); text-transform: uppercase; letter-spacing: .07em; margin-right: 4px; }
.fp-post-tag { background: var(--fp-primary-50); color: var(--fp-primary); font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Share row */
.fp-share-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.fp-share-row .lbl { font-size: .8rem; font-weight: 700; color: var(--fp-gray-700); }
.fp-share-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--fp-gray-50); border: 1px solid var(--fp-gray-200); display: inline-flex; align-items: center; justify-content: center; color: var(--fp-gray-600); }
.fp-share-ico:hover { background: var(--fp-primary); border-color: var(--fp-primary); color: #fff; }
.fp-share-ico svg { width: 16px; height: 16px; }

/* Author box */
.fp-author-box { background: #fff; border: 1px solid var(--fp-gray-100); border-top: 4px solid var(--fp-primary); border-radius: var(--fp-radius); padding: 24px; margin-top: 34px; display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 10px 40px -18px rgba(15,23,42,.15); }
.fp-author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--fp-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.fp-author-box .role { font-size: .7rem; font-weight: 800; color: var(--fp-primary); text-transform: uppercase; letter-spacing: .07em; margin: 3px 0 8px; }
.fp-author-box p { font-size: .86rem; color: var(--fp-gray-500); line-height: 1.65; margin: 0; }

/* Prev / next nav */
.fp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.fp-post-nav a { display: block; background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius-sm); padding: 16px 18px; transition: border-color .2s; }
.fp-post-nav a:hover { border-color: var(--fp-primary); }
.fp-post-nav .lbl { font-size: .68rem; font-weight: 700; color: var(--fp-gray-500); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.fp-post-nav .title { font-size: .87rem; font-weight: 700; color: var(--fp-navy); line-height: 1.4; }
.fp-post-nav .next-cell { text-align: right; }

/* Sidebar */
.fp-post-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }
.fp-sb-widget { background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius-sm); padding: 18px; box-shadow: 0 8px 28px -20px rgba(15,23,42,.12); }
.fp-sb-title { font-size: .72rem; font-weight: 800; color: var(--fp-gray-500); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }

.fp-sb-cta { background: linear-gradient(135deg,#0F172A 0%,#1E3A5F 100%); border-radius: var(--fp-radius); padding: 24px; position: relative; overflow: hidden; }
.fp-sb-cta::after { content:''; position:absolute; top:-30px; right:-30px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle,rgba(37,99,235,.35) 0%,transparent 70%); pointer-events:none; }
.fp-sb-cta .fp-sb-title { color: #93C5FD; position: relative; z-index:1; }
.fp-sb-cta p { position: relative; z-index:1; font-size: .84rem; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 16px; }
.fp-sb-cta ul { position: relative; z-index:1; list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.fp-sb-cta li { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: rgba(255,255,255,.85); }
.fp-sb-cta li svg { width: 14px; height: 14px; color: #4ADE80; flex-shrink: 0; }
.fp-sb-cta .fp-btn { position: relative; z-index: 1; width: 100%; }

.fp-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fp-toc-list a { display: block; font-size: .82rem; font-weight: 600; color: var(--fp-gray-600); padding: 5px 0; }
.fp-toc-list a.h3 { font-size: .78rem; font-weight: 500; padding-left: 14px; border-left: 2px solid var(--fp-gray-100); }
.fp-toc-list a:hover, .fp-toc-list a.active { color: var(--fp-primary); }

.fp-sb-stat-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--fp-gray-100); }
.fp-sb-stat-row:last-child { border-bottom: none; }
.fp-sb-stat-row .lbl { font-size: .82rem; color: var(--fp-gray-500); }
.fp-sb-stat-row .num { font-size: 1.05rem; font-weight: 800; color: var(--fp-primary); }

.fp-sb-search { display: flex; gap: 8px; }
.fp-sb-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--fp-gray-200); border-radius: 999px; font-size: .85rem; background: var(--fp-gray-50); font-family: var(--fp-font); color: var(--fp-gray-700); outline: none; }
.fp-sb-search input:focus { border-color: var(--fp-primary); }
.fp-sb-search button { background: var(--fp-primary); color: #fff; border: none; padding: 10px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.fp-sb-search button:hover { background: var(--fp-primary-dark); }

.fp-sb-post { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--fp-gray-100); }
.fp-sb-post:last-child { border-bottom: none; padding-bottom: 0; }
.fp-sb-post img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.fp-sb-post .ico { width: 52px; height: 52px; border-radius: 8px; background: var(--fp-primary-50); color: var(--fp-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fp-sb-post .ico svg { width: 20px; height: 20px; }
.fp-sb-post .t { font-size: .82rem; font-weight: 700; color: var(--fp-navy); line-height: 1.4; margin-bottom: 3px; }
.fp-sb-post .d { font-size: .7rem; color: var(--fp-gray-500); }

.fp-sb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fp-sb-list li { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; }
.fp-sb-list a { color: var(--fp-navy); font-weight: 600; }
.fp-sb-list a:hover { color: var(--fp-primary); }
.fp-sb-list .count { background: var(--fp-primary-50); color: var(--fp-primary); font-size: .68rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }

/* Related posts */
.fp-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.fp-related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .fp-related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fp-related-grid { grid-template-columns: repeat(4,1fr); } }
.fp-related-card { background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); overflow: hidden; transition: all .25s ease; }
.fp-related-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(15,23,42,.15); border-color: var(--fp-primary-100); }
.fp-related-thumb { display: block; aspect-ratio: 16/10; background: var(--fp-primary-50); overflow: hidden; }
.fp-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-related-body { padding: 16px; }
.fp-related-cat { display: inline-block; background: var(--fp-primary-50); color: var(--fp-primary); font-size: .64rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 9px; }
.fp-related-title { font-size: .92rem; font-weight: 700; line-height: 1.4; color: var(--fp-navy); margin-bottom: 9px; display: block; }
.fp-related-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--fp-gray-500); padding-top: 10px; border-top: 1px solid var(--fp-gray-100); }

/* ══════════════════════════════════════════════════════════════════
   BLOG LISTING PAGE (page-blog.php)
   ══════════════════════════════════════════════════════════════════ */
.fp-blog-sub { color: var(--fp-gray-500); font-size: 1rem; max-width: 560px; margin-top: 6px; }

.fp-blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.fp-blog-filter { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--fp-gray-200); color: var(--fp-gray-700); font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.fp-blog-filter:hover { border-color: var(--fp-primary); color: var(--fp-primary); }
.fp-blog-filter.active { background: var(--fp-primary); border-color: var(--fp-primary); color: #fff; }

.fp-blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px)  { .fp-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fp-blog-grid { grid-template-columns: repeat(3,1fr); } }
.fp-blog-card { background: #fff; border: 1px solid var(--fp-gray-100); border-radius: var(--fp-radius); overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.fp-blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(15,23,42,.15); border-color: var(--fp-primary-100); }
.fp-blog-card .fp-related-thumb { aspect-ratio: 16/9; }
.fp-blog-card .fp-related-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.fp-blog-card .fp-related-title { font-size: 1rem; }
.fp-blog-card .excerpt { font-size: .83rem; color: var(--fp-gray-500); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.fp-blog-card .readmore { font-size: .8rem; font-weight: 700; color: var(--fp-primary); }

.fp-blog-empty { text-align: center; padding: 60px 20px; color: var(--fp-gray-500); }

.fp-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.fp-pagination a, .fp-pagination span.current, .fp-pagination span.dots {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--fp-gray-200); background: #fff; color: var(--fp-gray-700); font-size: .85rem; font-weight: 600;
}
.fp-pagination a:hover { border-color: var(--fp-primary); color: var(--fp-primary); }
.fp-pagination span.current { background: var(--fp-primary); border-color: var(--fp-primary); color: #fff; }
.fp-pagination span.dots { border: none; background: none; }
