/* FBTops editorial archive. Kadence retains the native loop and pagination. */
body.blog,
body.category,
body.single-post,
body.page:not(.home) {
  --fbt-ink: #1a2230;
  --fbt-soft: #4a5568;
  --fbt-line: #e3e8ef;
  --fbt-brand: #16507b;
  --fbt-green: #1a7f4b;
  --fbt-alt: #f6f8fb;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.blog .entry-hero-container,
.blog .entry-hero,
.blog .archive-header {
  display: none;
}
.fbtops-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 58px;
  background: linear-gradient(135deg, #f8fbfd, #eef6f5);
  border-bottom: 1px solid var(--fbt-line);
}
.fbtops-blog-hero::after {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -220px;
  border: 1px solid rgba(22, 80, 123, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(22, 80, 123, .035), 0 0 0 92px rgba(22, 80, 123, .025);
  content: "";
}
.fbtops-blog-hero__inner { position: relative; z-index: 1; max-width: 1140px; }
.fbtops-blog-hero__eyebrow { margin: 0 0 10px; color: var(--fbt-brand); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fbtops-blog-hero h1 { max-width: 720px; margin: 0 0 12px; color: var(--fbt-ink); font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -.035em; }
.fbtops-blog-hero p { max-width: 640px; margin: 0; color: var(--fbt-soft); font-size: 18px; }
.fbtops-blog-hero__featured { display: grid; gap: 4px; max-width: 680px; margin: 28px 0 24px; padding: 16px 18px; border: 1px solid #cde0e9; border-radius: 12px; background: rgba(255,255,255,.78); color: var(--fbt-ink); box-shadow: 0 8px 24px rgba(16,40,66,.05); }
.fbtops-blog-hero__featured:hover { color: var(--fbt-brand); text-decoration: none; border-color: var(--fbt-brand); }
.fbtops-blog-hero__featured span { color: var(--fbt-green); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fbtops-blog-hero__featured strong { font-size: 16px; line-height: 1.35; }
.fbtops-essential-title { margin: 30px 0 12px; color: var(--fbt-ink); font-size: 14px; letter-spacing: .01em; }
.fbtops-essential-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 1000px; margin-bottom: 20px; }
.fbtops-essential-card { display: flex; flex-direction: column; gap: 5px; min-height: 132px; padding: 17px 18px; border: 1px solid #cde0e9; border-radius: 12px; background: rgba(255,255,255,.82); color: var(--fbt-ink); text-decoration: none; box-shadow: 0 8px 24px rgba(16,40,66,.05); transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.fbtops-essential-card:hover { transform: translateY(-3px); color: var(--fbt-brand); border-color: var(--fbt-brand); box-shadow: 0 12px 26px rgba(16,40,66,.1); text-decoration: none; }
.fbtops-essential-card span { color: var(--fbt-green); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fbtops-essential-card strong { font-size: 16px; line-height: 1.3; }
.fbtops-essential-card small { margin-top: auto; color: var(--fbt-soft); font-size: 12px; line-height: 1.4; }
.fbtops-essential-card strong,.fbtops-essential-card small { text-decoration: none; }
.fbtops-blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtops-blog-filters a { padding: 7px 11px; border: 1px solid var(--fbt-line); border-radius: 999px; background: #fff; color: var(--fbt-soft); font-size: 13px; font-weight: 600; }
.fbtops-blog-filters a:hover { color: var(--fbt-brand); border-color: var(--fbt-brand); text-decoration: none; }
.blog .content-container.site-container, .category .content-container.site-container { max-width: 1140px; padding-top: 54px; padding-bottom: 72px; }
.fbtops-latest-header { margin: 0 0 26px; }
.fbtops-latest-header p { margin: 0 0 7px; color: var(--fbt-green); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.fbtops-latest-header h2 { margin: 0; color: var(--fbt-ink); font-size: clamp(25px,3vw,34px); letter-spacing: -.025em; }
.blog #archive-container, .category #archive-container { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; padding: 0; }
.blog #archive-container > li, .category #archive-container > li { height: 100%; margin: 0; border: 1px solid var(--fbt-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(16,40,66,.05), 0 10px 28px rgba(16,40,66,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog #archive-container > li:hover, .category #archive-container > li:hover { transform: translateY(-4px); border-color: #b7ccdc; box-shadow: 0 14px 32px rgba(16,40,66,.12); }
.blog #archive-container .entry-content-wrap, .category #archive-container .entry-content-wrap { display: flex !important; flex-direction: column !important; min-height: 100%; padding: 24px; }
.blog #archive-container .fbtops-insight-preview, .category #archive-container .fbtops-insight-preview { display: block; aspect-ratio: 16 / 9; margin: -24px -24px 20px; overflow: hidden; border-bottom: 1px solid var(--fbt-line); background: #f6f9fb; }
.blog #archive-container .fbtops-insight-preview img, .category #archive-container .fbtops-insight-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .25s ease; }
.blog #archive-container > li:hover .fbtops-insight-preview img, .category #archive-container > li:hover .fbtops-insight-preview img { transform: scale(1.025); }
.blog #archive-container .entry, .category #archive-container .entry { display: flex; flex-direction: column; width: 100%; height: 100%; }
.blog #archive-container .entry-title, .category #archive-container .entry-title { margin-top: 4px; color: var(--fbt-ink); font-size: 21px; line-height: 1.25; }
.blog #archive-container .entry-title a, .category #archive-container .entry-title a { color: inherit; }
.blog #archive-container .entry-title a:hover, .category #archive-container .entry-title a:hover { color: var(--fbt-brand); }
.blog #archive-container .entry-summary, .category #archive-container .entry-summary { color: var(--fbt-soft); font-size: 15px; }
.blog #archive-container .entry-footer, .category #archive-container .entry-footer { margin-top: auto; }
.blog #archive-container .entry-taxonomies, .category #archive-container .entry-taxonomies { margin-bottom: 12px; }
.blog #archive-container .entry-taxonomies a, .category #archive-container .entry-taxonomies a { color: var(--fbt-green); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog .pagination, .category .pagination { margin-top: 36px; }
.blog .pagination .page-numbers, .category .pagination .page-numbers { min-width: 40px; min-height: 40px; border: 1px solid var(--fbt-line); border-radius: 8px; color: var(--fbt-brand); font-weight: 700; }
.blog .pagination .page-numbers.current, .category .pagination .page-numbers.current { border-color: var(--fbt-brand); background: var(--fbt-brand); color: #fff; }
@media (min-width: 700px) { .blog #archive-container, .category #archive-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog #archive-container, .category #archive-container { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .fbtops-essential-grid { grid-template-columns: 1fr 1fr; } .fbtops-essential-card:last-child { grid-column: 1/-1; } }
@media (max-width: 699px) { .fbtops-blog-hero { padding: 52px 0 42px; } .fbtops-blog-hero p { font-size: 16px; } .fbtops-essential-grid { grid-template-columns: 1fr; } .fbtops-essential-card:last-child { grid-column: auto; } .blog .content-container.site-container, .category .content-container.site-container { padding-top: 38px; } }
@media (prefers-reduced-motion: reduce) { .blog #archive-container > li, .category #archive-container > li, .blog #archive-container .fbtops-insight-preview img, .category #archive-container .fbtops-insight-preview img { transition: none; } }

/* Single guide: editorial reading measure and clear evidence checklists. */
.single-post #primary { margin-top: 36px; margin-bottom: 56px; }
body.single-post .content-container.site-container { max-width: 1140px; padding-top: 0; padding-bottom: 0; }
.single-post .entry.content-bg { border: 1px solid var(--fbt-line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(16,40,66,.07); }
.single-post .entry-content-wrap { padding: clamp(30px,4vw,50px); }
.single-post .entry-header { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--fbt-line); }
.single-post .entry-taxonomies a { color: var(--fbt-green); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.single-post .entry-title { max-width: 800px; color: var(--fbt-ink); font-size: clamp(32px,4.8vw,48px); line-height: 1.1; letter-spacing: -.035em; }
.single-post .entry-content { margin-top: 28px; color: var(--fbt-soft); font-size: 17px; line-height: 1.75; }
.single-post .entry-content > p:first-child { color: var(--fbt-ink); font-size: 20px; line-height: 1.65; }
.single-post .entry-content h2 { margin-top: 42px; color: var(--fbt-ink); font-size: 27px; line-height: 1.25; letter-spacing: -.02em; }
.single-post .entry-content ul,
.single-post .entry-content ol { margin: 20px 0 28px; padding: 20px 24px 20px 48px; border: 1px solid var(--fbt-line); border-radius: 12px; background: var(--fbt-alt); }
.single-post .entry-content li { margin: 8px 0; padding-left: 4px; }
.single-post .post-navigation { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--fbt-line); }
@media (max-width: 699px) { .single-post #primary { margin-top: 18px; margin-bottom: 36px; } .single-post .entry-content-wrap { padding: 26px 20px; } .single-post .entry-header { margin-bottom: 26px; padding-bottom: 20px; } .single-post .entry-content { margin-top: 24px; } .single-post .entry-content > p:first-child { font-size: 18px; } }

/* Static pages (legal / contact): quiet editorial reading layout. */
body.page:not(.home) .entry-hero.page-hero-section { padding: 44px 0 0; }
body.page:not(.home) .entry-hero .hero-container { max-width: 860px; }
body.page:not(.home) .entry-header.page-title { display: block; min-height: 0; margin: 0; padding: 0 24px; text-align: left; }
body.page:not(.home) .entry-header.page-title .entry-title { color: var(--fbt-ink); font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -.03em; text-align: left; }
body.page:not(.home) #primary { margin-top: 20px; margin-bottom: 64px; }
body.page:not(.home) .content-container.site-container { max-width: 860px; padding-top: 0; padding-bottom: 0; }
body.page:not(.home) .entry.content-bg { background: transparent; border: 0; box-shadow: none; }
body.page:not(.home) .entry-content-wrap { padding: 0 24px; }
body.page:not(.home) .entry-content { color: var(--fbt-soft); font-size: 16.5px; line-height: 1.75; }
body.page:not(.home) .entry-content > p:first-child { color: var(--fbt-ink); font-size: 18px; line-height: 1.7; }
body.page:not(.home) .entry-content h2 { margin: 36px 0 12px; color: var(--fbt-ink); font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
body.page:not(.home) .entry-content a { color: var(--fbt-brand); font-weight: 650; }
body.page:not(.home) .entry-content ul { margin: 18px 0 24px; padding: 18px 22px 18px 44px; border: 1px solid var(--fbt-line); border-radius: 12px; background: var(--fbt-alt); }
body.page:not(.home) .entry-content li { margin: 7px 0; padding-left: 4px; }
@media (max-width: 699px) { body.page:not(.home) .entry-hero.page-hero-section { padding-top: 26px; } body.page:not(.home) .entry-header.page-title { padding: 0 18px; } body.page:not(.home) .entry-content-wrap { padding: 0 18px; } body.page:not(.home) #primary { margin-bottom: 44px; } }

/* Cornerstone guide components. */
.single-post .entry-content h3 { margin-top: 30px; color: var(--fbt-ink); font-size: 20px; letter-spacing: -.015em; }
.single-post .entry-content .guide-toc { margin: 22px 0 6px; padding: 16px 20px; border: 1px solid var(--fbt-line); border-radius: 12px; background: var(--fbt-alt); }
.single-post .entry-content .guide-toc p { margin: 0 0 8px; color: var(--fbt-ink); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.single-post .entry-content .guide-toc ul { margin: 0; padding: 0; border: 0; background: transparent; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; }
.single-post .entry-content .guide-toc li { margin: 3px 0; padding: 0; font-size: 14px; }
.single-post .entry-content .guide-toc a { color: var(--fbt-brand); text-decoration: none; }
.single-post .entry-content .guide-toc a:hover { text-decoration: underline; }
.single-post .entry-content .guide-verified { margin: 26px 0; padding: 14px 16px; border: 1px solid #bfe0cd; border-left: 4px solid var(--fbt-green); border-radius: 10px; background: #f2faf5; color: #33584a; font-size: 13.5px; line-height: 1.55; }
.single-post .entry-content .guide-verified strong { color: #14563a; }
.single-post .entry-content .guide-warning { margin: 26px 0; padding: 16px 18px; border: 1px solid #ead4ac; border-left: 4px solid #b7791f; border-radius: 10px; background: #fffaf0; color: #6b4a10; font-size: 15.5px; line-height: 1.6; }
.single-post .entry-content .guide-warning strong { color: #8b5c17; }
.single-post .entry-content .guide-table { overflow-x: auto; margin: 24px 0; border: 1px solid var(--fbt-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(16,40,66,.05); }
.single-post .entry-content .guide-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.single-post .entry-content .guide-table th { background: #f7fafc; color: var(--fbt-ink); text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.single-post .entry-content .guide-table th, .single-post .entry-content .guide-table td { padding: 12px 14px; border-bottom: 1px solid var(--fbt-line); color: var(--fbt-soft); vertical-align: top; }
.single-post .entry-content .guide-table td:first-child { color: var(--fbt-ink); font-weight: 600; }
.single-post .entry-content .guide-table tr:last-child td { border-bottom: 0; }
.single-post .entry-content figure.svg-fig { margin: 26px 0; padding: 16px; border: 1px solid var(--fbt-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 26px rgba(16,40,66,.06); }
.single-post .entry-content figure.svg-fig img { display: block; width: 100%; height: auto; }
.single-post .entry-content figure.svg-fig figcaption { margin-top: 10px; color: #7b8794; font-size: 12px; text-align: center; }
.single-post .entry-content details { margin: 0 0 10px; padding: 0 16px; border: 1px solid var(--fbt-line); border-radius: 10px; background: #fff; }
.single-post .entry-content details summary { cursor: pointer; position: relative; padding: 14px 28px 14px 0; list-style: none; font-weight: 600; color: var(--fbt-ink); }
.single-post .entry-content details summary::-webkit-details-marker { display: none; }
.single-post .entry-content details summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 20px; color: var(--fbt-brand); }
.single-post .entry-content details[open] summary::after { content: "\2013"; }
.single-post .entry-content details p { margin: 0 0 14px; font-size: 15px; }
.single-post .entry-content .guide-cta { margin: 36px 0 8px; padding: 28px 24px; border-radius: 14px; background: radial-gradient(520px 220px at 80% -20%, #1b5c8c, #0f2a41); color: #dbe6f0; text-align: center; }
.single-post .entry-content .guide-cta .guide-cta-title { margin: 0 0 8px; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.single-post .entry-content .guide-cta p { max-width: 58ch; margin: 0 auto 18px; color: #b9c9d8; font-size: 14.5px; }
.single-post .entry-content .guide-cta .guide-cta-btn { display: inline-block; padding: 13px 26px; border-radius: 10px; background: #1a7f4b; color: #fff; font-weight: 700; text-decoration: none; }
.single-post .entry-content .guide-cta .guide-cta-btn:hover { background: #15693e; }
.single-post .entry-content .guide-cta small { display: block; margin-top: 13px; color: #8ba1b5; font-size: 11.5px; }
.single-post .entry-content .guide-template { margin: 26px 0; overflow: hidden; border: 1px solid #c7d7e2; border-radius: 14px; background: #0f2033; box-shadow: 0 12px 28px rgba(16,40,66,.12); }
.single-post .entry-content .guide-template-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #273f55; }
.single-post .entry-content .guide-template-head strong { color: #fff; font-size: 13px; }
.single-post .entry-content .guide-copy-btn { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #4f6d86; border-radius: 8px; background: #183c59; color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.single-post .entry-content .guide-copy-btn:hover,.single-post .entry-content .guide-copy-btn.is-copied { border-color: #52bd86; background: #175d3b; }
.single-post .entry-content .guide-template pre { max-height: 620px; margin: 0; padding: 20px; overflow: auto; background: #0f2033; color: #d7e3ed; white-space: pre-wrap; word-break: break-word; font: 13px/1.65 Consolas,Monaco,monospace; }
.single-post .entry-content .guide-template-note { margin: 0; padding: 11px 18px; border-top: 1px solid #273f55; color: #8fa5b8; font-size: 11px; }
.single-post .entry-content .guide-security { margin: 26px 0; padding: 18px 20px; border: 1px solid #c7dce8; border-left: 4px solid #2f78a8; border-radius: 10px; background: #f3f8fb; color: #405b6d; font-size: 14px; }
.single-post .entry-content .guide-security strong { color: #16507b; }
.single-post .entry-content .guide-answer { margin: 24px 0; padding: 18px 20px; border: 1px solid #bfd9e8; border-radius: 12px; background: #f2f8fb; color: #31576e; font-size: 15px; line-height: 1.65; }
.single-post .entry-content .guide-answer strong { color: #16507b; }
.single-post .entry-content .guide-formula { margin: 24px 0; padding: 20px; border-radius: 12px; background: #102a41; color: #e5eef5; text-align: center; font: 700 15px/1.6 Inter,Arial,sans-serif; }
.single-post .entry-content .guide-formula small { display: block; margin-top: 8px; color: #9eb2c4; font-size: 11.5px; font-weight: 400; }
.single-post .entry-content .guide-sources { margin: 30px 0; padding: 20px 22px; border: 1px solid var(--fbt-line); border-radius: 12px; background: #f7fafc; }
.single-post .entry-content .guide-sources h2,.single-post .entry-content .guide-sources h3 { margin-top: 0; }
.single-post .entry-content .guide-sources ol { margin: 14px 0 0; padding: 0 0 0 22px; border: 0; background: transparent; }
.single-post .entry-content .guide-sources li { margin: 9px 0; color: var(--fbt-soft); font-size: 13px; }
.single-post .entry-content .guide-sources a { font-weight: 650; }
.single-post .entry-content .guide-change-log { margin: 24px 0; padding: 16px 18px; border-left: 4px solid #71869a; border-radius: 8px; background: #f5f7f9; color: #536577; font-size: 13px; }
.single-post .entry-content .guide-change-log strong { color: var(--fbt-ink); }
@media (max-width: 699px) { .single-post .entry-content .guide-toc ul { grid-template-columns: 1fr; } .single-post .entry-content .guide-table table { min-width: 560px; } }
